Electronic apparatus having connection means

Abstract: There is provided an electronic apparatus which also enables the data input/output apparatus to be executed at a high speed to a small electronic apparatus having a limited installation space by using an IC card interface. In an electronic apparatus in which a detachable IC card is connected to an IC card junction portion and a CPU bus of the electronic apparatus main body is connected to the IC card by the junction portion and the IC card is used as an external memory device, there is provided pseudo card means (1) having a junction portion which can be connected to the IC card junction portion of the electronic apparatus main body, and further, the pseudo card means has control means for converting the data input/output interface between the electronic apparatus and the pseudo card means and the data input/output interface between a predetermined external apparatus (11) and the pseudo card means, wherein the data input/output operation can be executed between the apparatus main body and the external device at a high speed by using the bus of the IC card through the pseudo card means connected to the IC card junction portion.

Description: BACKGROUND OF THE INVENTION Field of the Invention The invention relates to an electronic apparatus and, more particularly, to an electronic apparatus in which a detachable IC card is connected to an IC card junction portion and a CPU bus of the electronic apparatus main body is connected to the IC card by the junction portion and the IC card is used as an external memory device. Related Background Art Fig. 8 shows an external view of a conventional data processing apparatus such as a personal computer, word processor, or the like and an IC card which is used as a small external memory device for the data processing apparatus. A construction of a data processing apparatus 90 shown in Fig. 8 is used in a word processor, a personal computer, or the like and has a display 68 comprising an LCD panel or the like and a keyboard 86 as user interface means. The apparatus 90 also has an IC card 50 as an external memory device. Reference numeral 91 denotes an eject lever to remove the IC card 50. As shown in Fig. 9, a control system of the data processing apparatus 90 comprises: a CPU 65; various control circuits which are connected to a data/address bus of the CPU 65; the display 68; a power source (P/S) section 84; and the key input section 86. The IC card 50 is connected through an IC card connector 60 in a slot which is formed in the side wall of the keyboard 86 in Fig. 8. The IC card is used as a memory area to store processing data of the apparatus main body, operation data or KANJI (Chinese characters) font data which has already been stored in the card, or data of utility softwares, or the like. A plurality of read only memories (ROMs) 54 and a plurality of random access memories (RAMs) 55 are enclosed in the IC card 50 and are connected to the IC card connector 60 through a buffer 53 and a junction portion 51 by an address/data/control bus 56. The address/data/control bus of the data processing apparatus 90 and signal lines of a power source and the like are also connected from the apparatus main body to the IC card connector 60 through a buffer 62 as necessary as shown in Fig. 10. The signal is connected to the IC card 50 by the connector. To the address/data/control bus of the CPU 65, there are connected: a KANJI (or Chinese characters) ROM 69; a DMA controller 70; a RAM 82; a ROM 83; a timer 81; an I/O controller 71; a display controller 66 to control the input/output operation-. for the display 68 and keyboard 86; a key input controller 85; and the like. An external expansion bus connector 89 is provided on the rear wall (not shown in Fig. 8) of the main body. A hard disk or an external control unit can be connected to the external expansion bus connector 89 through an exclusive control board and can be used to expand the external memory or to control the apparatus. In recent years, the realization of miniaturization of the apparatus is more and more progressed. In the apparatus as mentioned above, it is becoming impossible to provide a space enough to attach both of the connector 60 for the IC memory and the external expansion bus connector 89. For instance, there are also commercially available a portable data processing apparatus and the like such as IC card system pocketbook, IC card electronic calculator, and the like having a small space only for providing a connector terminal for the IC card. On the other hand, in such an apparatus as well, a high function such as a high processing speed to input/output data from/to an external apparatus or the like is required similarly to the case of a desktop type personal computer or the like. As mentioned above, however, in recent years, it is difficult to assure an installation space of the connector to input/output for an external device. In the conventional construction, there is a case of using a countermeasure such that the control of the external device and data input/output operation are executed or the like by using a serial communication connector. This is because an installation space for the serial communication connnector is smaller than that for the external expansion bus connector since the serial communication connector has only a signal line. According to the above method, however, the high-speed input/output operation cannot be executed by the communication using the serial communication connector. Such a method can be used for only an interface with a relatively low-speed external device such as printer, analog modem, or the like. It is difficult to apply the above method to an application field such that the memory of the IC card of a small capacity is expanded by connecting an external memory or the like. Document EP-A-0 351 961 discloses an electronic circuit according to the preamble of claim 1. Such an electronic circuit can be detachably connected by a connecting means to the main body of an electronic apparatus. The electronic circuit is connected to an external device and comprises a control circuit for executing transmission and reception of information to or from the external device. It is an object of the present invention to provide an electronic circuit by means of which the data transmission between an electronic apparatus and an external device can be improved, and a method of data transmission between an external device and an electronic apparatus. According to the invention this object is accomplished by an electronic circuit according to claim 1 and by a method of data transmission between an external device and an electronic apparatus according to claim 9. The present invention will be described hereinbelow by way of example and with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a perspective view showing an external view of a data processing apparatus employing the invention; Fig. 2 is a block diagram of a control system of the apparatus of Fig. 1; Fig. 3 is a diagram of a table showing a pin arrangement of a junction portion on the pseudo IC card side; Fig. 4 is a flowchart showing the operation of the apparatus of Fig. 1; Fig. 5 is an explanatory diagram showing a data construction to distinguish between an IC card and a pseudo IC card; Fig. 6 is a block diagram showing an embodiment of a different control system of the electronic apparatus; Fig. 7 is a perspective view showing a state in which the invention is applied to an electronic camera; Fig. 8 is a perspective view showing a construction of a conventional electronic apparatus; and Fig. 9 is a block diagram showing a construction of a control system of the conventional electronic apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention will be described in detail hereinbelow on the basis of an embodiment shown in the drawings. In the following description, the same or corresponding members as those of the conventional apparatus are designated by the same reference numerals and their detailed descriptions are omitted. According to the invention, an external device (an expansion port of an external expansion memory device such as floppy disk, hard disk device, semi-conductor memory, etc., another apparatus such as computer, word processor, etc., or the like) is connected to the data processing apparatus 90 by using an IC card interface. As shown in Fig. 1, in an electronic apparatus using the invention, a pseudo IC card (second card) 1 is inserted into an IC card slot (inserting hole) and used in place of the IC card (first card) 50. The pseudo IC card 1 is constructed as a pseudo IC card section. The CPU of the data processing apparatus 90 executes the input/output operation to the same interface as the ordinary IC card 50 for the pseudo IC card 1, so that the CPU can perform the input/output operation to an external device 11. The pseudo IC card 1 has a cable 8 to execute the input/output operation to the external device 11. The cable 8 is connected to the external device 11 through connectors 9 and 10. In the above construction, since the input/output interface between the pseudo IC card 1 and the external device 11 can be executed irrespective of the data processing apparatus 90 side, it can be performed by arbitrary means such as an SCII interface or the like. Explanation will now be made hereinbelow with respect to an example in which the external device 11 is constructed as an external expansion memory device such as floppy disk, hard disk device, semiconductor memory, or the like and supplements the capacity of the IC card and data is handled as if the apparent capacity of the IC card when it is seen from the data processing apparatus 90 increased. In Fig. 2, in a manner similar to the conventional apparatus, the data processing apparatus 90 is constructed by the display 68, power source section 84, and key input section 86 and has the IC card connector 60 on the side wall of the apparatus main body at a position adjacent to the key input section. In a manner similar to the conventional apparatus, internal circuits of the data processing apparatus 90 comprise: the RAM 82 to store data or utility softwares; the timer IC 81 which is used to calculate an execution period or an operation time; the key input controller 85 to convert a key input code from the key input section 86 into a code in a form which can be easily read by the CPU 65; the display controller 66 to convert display characters sent from the CPU 65 so as to be displayed by the display 68 such as LCD or plasma display; the KANJI (or Chinese characters) ROM 69 which is referred as necessary to convert the display characters to the display 68 into KANJI; the I/O controller 71 of a communication control IC such as an RS232C or the like for communication with the outside; the DMA controller 70 to control a DMA (direct memory access) from the I/O controller 71; and the like. The apparatus of the invention differs from the conventional apparatus with respect to points that the pseudo IC card 1 is not constructed so as to use the self internal memory as in the IC card but has an external device controller 4 to control the input/output operation to the external device 11, an I/O driver 5, a mold member 6 to connect the cable 8 and the I/O driver 5, and a monitor 7 to assure the safety. A buffer 3 receives an input/output signal for the apparatus main body from a junction portion 2 and electrically protects the internal circuits. The external device controller 4 converts the signal from the buffer into a signal timing of the external device. The I/O driver 5 is provided to execute the input/output operation to the external device 11 by a predetermined interface system (SCII or the like) which can accurately perform the communication between the external device controller 4 and the external drvice 11 even when the cable 8 is long to a certain extent. Further, the monitor 7 monitors a power source voltage which is supplied from the data processing apparatus 90 to the pseudo IC card 1 through the junction portion 2 and gives a reset signal to the external device controller 4 at a time point when the power source voltage is lower than a predetermined voltage, thereby preventing a runaway of the CPU. Fig. 3 is a table diagram showing a pin arrangement of two rows of the junction portion 2 of the pseudo IC card 1 in order to connect the pseudo IC card 1 with the data processing apparatus 90. Numbers in the table indicate the pin numbers and each signal name is shown by a code which is generally used. For instance, GND indicates a ground potential; D 0 to D n denote bits of the data bus; A 0 to A n bits of the address bus; CS chip enable; and NC non-connection. The operation in the above construction will now be explained with reference to Figs. 4 and 5. Fig. 4 shows a control procedure of the data processing apparatus 90 by the CPU 65. When a power source is turned on in step S1 in Fig. 4, the CPU 65 starts the execution of the operating system software of the data processing apparatus stored in the ROM 83 and starts to check the function of each of the internal ICs. In the next step S2, directory management data stored in the head address of the IC card 50 or pseudo IC card 1 as shown in Fig. 5 is read in order to automatically discriminate whether the IC card has been connected or the pseudo IC card has been connected to the IC card connector 60. Fig. 5 shows information for the CPU 65 to handle the IC card 50 or pseudo IC card 1 as a file. Such information is stored into addresses 0 to 4 of the IC card 50 or pseudo IC card 1. As shown in the diagram, different kinds of data are stored into those addresses by the IC card 50 or pseudo IC card 1. Information (01 (hexadecimal notation) in the case where the device is an RAM card; 02 in the case of ROM card; F0 in the case of the pseudo IC card 1) indicative of the kind of IC card 50 or the distinguishment between the IC card 50 and the pseudo IC card 1 is stored into address 0. In the case of the IC card 50, words (stored in addresses 1 and 2) indicative of the number of registered files and words (stored in addresses 3 and 4) indicative of the head address of the first file are stored into subsequent addresses 1 to 4. Necessary file location information is stored into the subsequent addresses. In the case of the pseudo IC card 1, the head address of a device driver program to access to the pseudo IC card 1 stored in the ROM 83 on the apparatus main body side is stored into addresses 2 and 3. In step S2, the data indicative of the kind of device in address 0 is read and when the data kind indicates the IC card, the processing routine advances to steps S3 and S5. An ordinary IC card control driver software written in the ROM 83 is loaded into the RAM 82. The CPU 65 sequentially executes programs stored in the RAM 82 and controls a method of giving a signal to the IC card connector and handles the IC card 50 as an ROM card or an RAM card. The above operations are substantially the same as those in the conventional apparatus. On the other hand, in the case where the read directory management data indicates the pseudo IC card in step S2, step S4 follows and the device driver program for the pseudo IC card control is loaded from the ROM 83 into the RAM 82. After that, in the run of the operating system in steps S6 to S8, the CPU 65 sequentially executes the programs in the RAM 82 and changes a method of giving signals to the IC card connector 60 to a method of giving control signals according to the kind of external device which is connected. On the pseudo IC card 1 side, a high-speed communication by parallel transfer using the CPU bus is executed between the data processing apparatus 90 and the CPU 65. The external device controller 4 executes the necessary data conversion or interface conversion on the basis of the high-speed communication, thereby performing the input/output operation to the external device 11. As mentioned above, the electronic apparatus can be used for expansion of an external memory or for control of an external device by using the IC card connecting portion of the data processing apparatus 90 through the pseudo IC card 1 in which the shape, signal arrangement, and characteristics are the same as those of the IC card section. Therefore, even in a small data processing apparatus such that there is no space enough to attach a connector terminal for expansion of an external memory and only a slot (inserting hole) of an IC card can be arranged, the transmission and reception of data with an external device can be realized by the high-speed parallel data transmission using the CPU bus. In the above embodiment, the device driver program to execute the input/output operation to/from the pseudo IC card 1 is stored into the ROM 82 on the data processing apparatus 90 side. As shown in Fig. 6, however, it is also possible to construct in a manner such that an ROM 12 is provided for the pseudo IC card 1 and a device driver program to execute the interface which is peculiar to the pseudo IC card 1 is stored therein and is transferred to the RAM 82 on the apparatus main body side at the start of the program. In the above case, when it is determined that the pseudo IC card 1 is connected in the discrimination about the device in step S2 in Fig. 4, for the access procedure, the device driver program is loaded not from the RAM 82 but from the ROM 12 in the pseudo IC card 1 in step S4. According to the above construction, a device driver such that the use of the pseudo IC card 1 will not be presumed in future doesn't need to be stored into the main memory in vain. The main memory comprising the ROM and RAM on the main body side of the data processing apparatus 90 can be saved and effectively used. Since the device driver program is stored in the pseudo IC card 1, the change and maintenance of the device driver program can be also easily performed. Further, in the above embodiment, although the data processing apparatus has been considered as an electronic apparatus which handles characters such as word processor, note-shaped personal computer, electronic pocketbook, or the like, the invention is also effective for all of apparatuses using an IC card such as electronic calculator which handles numerals, facsimile apparatus which handles a video image, electronic camera, and the like. Fig. 7 shows a schematic diagram when the invention is applied to an IC card camera. Fig. 7 shows an electronic camera which stores photographed images into the IC card 50. Reference numeral 202 denotes a flash to photograph and 203 indicates a lens to photograph. The other construction of the camera mechanism is substantially the same as that of the conventional apparatus except a different point that in the control system of the camera, the portion which handles the interface of the IC card 50 is constructed as shown in Fig. 1 or 6 to thereby enable the pseudo IC card 1 as mentioned above to be connected. According to the above construction, the external device 11 can be connected through the pseudo IC card 1 in place of the IC card 50 and the number of photographed images of about tens of images can be remarkably increased. In the above embodiment, upon start of the program, the discrimination between the pseudo IC card 1 and the IC card 50 and the setting of the device driver are executed. Upon exchange of the pseudo IC card 1 and IC card 50, the discrimination about the device, the loading of the device driver, and the like can be also dynamically performed. Further, in the above embodiment, the pseudo IC card 1 and the external device are connected by using the cable. However, the cable is not an indispensable element and the pseudo IC card 1 can be also directly attached to the external device. As will be obviously understood from the above explanation, according to the invention, in an electronic apparatus in which a detachable IC card is connected to the IC card junction portion and the CPU bus of the electronic apparatus main body is connected to the IC card by the junction portion and the IC card is used as an external memory device, there is provided the pseudo card means having a junction portion which can be connected to the IC card junction portion of the electronic apparatus main body, and further, the pseudo card means has therein the control means for converting the data input/output interface between the electronic apparatus and the pseudo card means and the data input/output interface between a predetermined external device and the pseudo card means, and the data input/ output operation is executed between the electronic apparatus main body and the external device through the pseudo card means. Therefore, there is an excellent advantage such that even in a small data processing apparatus in which the connector terminal for expansion of an external memory cannot be separately attached, the data input/output operation can be executed between the apparatus main body and an external device at a high speed by using the bus of the IC card through the pseudo card means connected to the IC card junction portion.

Claims: An electronic circuit (1) which can be detachably connected by a connecting means (60) to the main body of an electronic apparatus (90); said electronic circuit (1) being connected to an external device (11) and comprising a control circuit (4) for executing transmission and reception of information to or from said external device (11); characterized in that said electronic circuit (1) is formed in an IC card; and said control circuit (4) converts the data input/output interface between the main body of said electronic apparatus (90) and said electronic circuit (1) as well as the data input/output interface between said external device (11) and said electronic circuit (1) such that the data input/output operation can be executed between the main body of said electronic apparatus (90) and said external device (11) by using a bus (56) of said IC card connected to a data/adress bus of said electronic apparatus (90). An electronic circuit according to claim 1, characterized by a memory (54, 55) for storing information transmitted to or from the main body of said electronic apparatus (90). An electronic apparatus comprising an electronic circuit (1; 50) according to any of claims 1 or 2; and discriminating means (65) for discriminating whether said electronic circuit (1; 50) has been connected. An electronic apparatus according to claim 3, characterized in that said connecting means (60) is constructed so as to permit the attachment of said IC card. An electronic apparatus according to any of claims 3 or 4, characterized by means for allowing a data input/output operation to be executed between said electronic circuit (1) and said external device (11) on the basis of a predetermined communication interface system. An electronic apparatus according to claim 3, characterized in that the main body of said electronic apparatus (90) is constructed by an electronic device which handles characters such as a wordprocessor, a personal computer or an electronic pocketnote. An electronic apparatus according to claim 3, characterized in that the main body of said electronic apparatus (90) is constructed by an electronic device which handles numerals such as an electronic calculator. An electronic apparatus according to claim 3, characterized in that the main body of said electronic apparatus (90) is constructed by an electronic device which handles a video image such as a facsimile apparatus or an electronic camera (201). A method of data transmission between an external device (11) and an electronic apparatus (90); wherein an electronic circuit (1) can be detachably connected to the main body of said electronic apparatus (90); said electronic circuit (1) being connected to said external device (11); characterized by comprising the step of converting the data input/output interface between the main body of said electronic apparatus (90) and said electronic circuit (1) as well as the data input/output interface between said external device (11) and said electronic circuit (1) such that the data input/output operation can be executed between the main body of said electronic apparatus (90) and said external device (11) by using a bus of an IC card in which said electronic circuit (1) is formed and which is connected to a data/adress bus of said electronic apparatus (90). A method according to claim 9, characterized by the step of storing information transmitted to or from the main body of said electronic apparatus (90). A method according to claim 9 or 10, characterized by the step of discriminating whether said electronic circuit (1; 50) has been connected. A method according to claim 11, characterized in that the attachment of said IC card is permitted in said discriminating step. A method according to claim 11 or 12, characterized by the step of allowing a data input/output operation to be executed between said electronic circuit (1) and said external device (11) on the basis of a predetermined communication interface system. A method according to claim 11, characterized in that the main body of said electronic apparatus (90) is constructed by an electronic device which handles characters such as a wordprocessor, a personal computer or an electronic pocketnote. A method according to claim 11, characterized in that the main body of said electronic apparatus (90) is constructed by an electronic device which handles numerals such as an electronic calculator. A method according to claim 11, characterized in that the main body of said electronic apparatus (90) is constructed by an electronic device which handles a video image such as a facsimile apparatus or an electronic camera (201).

Inventors: TAGUCHI TOMISHIGE, TAGUCHI, TOMISHIGE,, TAGUCHI, TOMISHIGE, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: G06F13
IPC codes: G06F13, G06K17, G06F9, G06F3