PROCESS AND APPARATUS FOR OPERATING AK EXTERNAL DEVICE
1. Field of the Invention
The present invention relates to operation of an external device through a computer connected thereto.
2. Background of the Invention
Various devices or appliances, such as printers, SIM card readers, mobile phone, etc, can be connected to a computer for operations thereof. Conventionaliy, application softwares need to be installed on the computer for operating such devices. Furthermore, very often, dedicated hardware drivers need to be installed prior to use of the hardware as well.
Figure 1 illustrates the example of a conventional SIM card reader/writer 101, which is connected to a computer 103 through universal serial bus (hereinafter USB) interfaces 105, 107. An application software 109 and a dedicated hardware driver 111 for the SlM card reader/writer 101 need to pre- installed for operating the SIM card reader/writer 101 through the computer 103.
The requirements for installing a specific software and/or dedicated driver may not be convenient, especially since the user may need to re-install the software and/or driver whenever the computer or its operating system is upgraded or reinstalled.
OBJECT OF THE INVENTION
Therefore, it is an object of the present invention to provide a process and an apparatus, which allows a more convenient operation of an external device through a computer, or at least provide the public with a useful choice.
It is a further object of the present invention to provide a process and an apparatus, which allows a more convenient uploading ar d downloading of information onto/from a SIM card, or at least provide the public with a useful choice.
SUMMARY OF THE INVENTION
According to an aspect of present invention, in a procesέ for operating an external device through a computer without prior installa ions of a specific software or a dedicated driver onto the computer, firstly, the external device exhibits to the computer as a storage device accessible Dy the computer through its operating system without said prior installations. In response to an instruction of operating the external device, the computer creates at least a file in a memory unit of the external device. Upon detection _>f a presence of the file in the memory unit by the external device, the external device functions or is operated under the instruction.
According to a second aspect of the present invention, ύ medium, having a program recorded thereon, wherein the program makes an external device execute a procedure comprising the following steps for operating the external device through a computer without prior installations of φ specific software or a dedicated driver onto the computer, includes exhibiting the external device to the computed as a storage device accessible by the computer through its operating system without said prior installations; creating at least a file in a memory unit of the external device by the computer in response to an instruction of operatirliq the external device; and operating the external device under the instruction upon detection of a presence of the file in the memory unit by thφ external device.
According to a third aspect of the present invention, a o Dtnputer program element, which makes an external device execute a procedure comprising the following steps for operating the external device through a computer without
prior installations of a specific software or a dedicated driver onto the computer, comprising exhibiting the external device to the computer as a storage device accessible by the computer through its operating system without said prior installations; creating at least a file in a memory unit of the external device by the computer in response to an instruction of operating the external device; and operating the external device under the instrubtion upon detection of a presence of the file in the memory unit by the external device.
According to a fourth aspect of the present invention, an external device operable by a computer without prior installations of a sp ecific software or a dedicated driver onto the computer includes an interface for connecting to the computer; a memory unit; a processor for managing various component s of the external device and for communicating with the computer tirough the interface; and means, controlled by the processor, for executing an operation in accordance with an instruction from the computer; wherein the memory unit is accessible by the computer without said prior installations; wherein the processor periodically detects presence of a file in the memory unit, which file is created hy the computer in response to the instruction of operating the external device; and wherein upon detection of the presence of the file , the processor controls said means to execute the operation in Accordance with an instruction from the computer.
According to a fifth aspect of the present invention, a process for downloading information through a SlM card reader, to which the SIIMI card is inserted, comprising connecting the SIM card reader to a computer;
automatically exhibiting the SIM car reader to the computer as a storage device accessible by the computer without prior installations of a specific software or a dedicated driver onto the ;omputer; creating at least a first file in a memory unit of the SIM card reader by the computer in response to an instruction of d Dwnloading the information; upon detecting presence of the first file in the imemory unit by the SIM card reader, retrieving the information from the SIM card by the SIM card reader.
According to a six aspect of the present invention, a SlIV card reader for downloading information stored in a SIM card inserted tr erein, comprising an interface for connecting to a computer; ■ a memory unit; a processor for managing various components of the SIM card reader and for communicating with the computer Through the interface; and a reading interface, controlled by the processor, for reading the SIM card; wherein the memory unit is accessible by the computer without prior installations of a specific software or a dedicated driver onto the computer; wherein the processor periodically detocts presence of a file in the memory unit, which file is created by the cc mputer in response to the instruction of downloading the information stored in the SIM card; wherein upon detection of the presence of the file , the processor controls the reading interface to download the information from the SIM card onto the memory unit of the SIM card reader.
According to a seventh aspect of the present invention, a process for uploading information from a SIM card writer to a SIM c^rd inserted therein by using a computer, comprising connecting the SIM card writer to the computer;
automatically exhibiting the SIM car writer to t ie computer as a storage device accessible by the computer without prior installations of a specific software or a dedicated driver onto the computer; creating at least a first file in a memory unit of the SIM card writer by the computer in response to an instruction of uploading the information; upon detecting presence of the first file in the fnemory unit by the SIM card writer, retrieving the information stored i fi the SIM card writer; and uploading the retrieved information onto the S(IM card.
According to another aspect of the present invention, a SlM card writer for uploading information onto a SIM card inserted therein b|y using a computer, comprising an interface for connecting to the computer; a memory unit; a processor for managing various componentjs of the SIM card writer and for communicating with the computer through the interface; and a writing interface, controlled by the processor, for uploading information onto the SIM card; wherein the memory unit is accessible by the computer without prior installations of a specific software or a dedicated driver onto the computer such that said information can be storei i in the memory unit by the computer; wherein the processor periodicε Hy detects presence of a file in the memory unit, which file is created ty the computer in response to the instruction of uploading the infomation; wherein upon detection of the presence of the file, the processc r retrieves the stored information and controls the writing interface to upload the retrieved information onto the SIM card.
Other aspects and advantages of the invention will beccj me apparent from the following detailed description, taken in conjunction with \he accompanying
schematic drawings, which description illustrates by way of example the principles of the invention.
BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 is a block diagram illustrating operation of a coηventional SIM card reader/writer;
Figure 2 is a block diagram illustrating operation of a SIM card reader/writer according to an exemplary embodiment of the present invention;
Figure 3 is a snapshot of Windows Explorer on a personal computer useful in the present invention;
Figure 4 is a snapshot of a data editor on the computer Useful in the present invention;
Figure 5 is a flow-chart step-by-step illustrating an exemplary downloading process of the present invention;
Figure 6 is a snapshot of the data editor in the downloading process of figure 5;
Figure 7 is a flow chart step-by-step illustrating an exemplary uploading process of the present invention; and
Figure 8 is a snapshot of the data editor in the uploading process of figure 7.
DETAILED DESCRIPTION
Figure 2 illustrates an exemplary SIM card reader/writer 201 embodiment, which can be operated by a user of a personal compute " 203. The SIM card reader/writer 201 has a USB interface 205 for connecting to a corresponding USB interface 207 on the computer 203, a processor 209 for controlling
various components and hardwares of the SIM card reader/writer 201 and for communicating with the computer through the USB interfaces, 205, 207, a flash memory 211 for storing data, an application software (to be discussed in details) and a firmware, which runs on the processor 209 for controlling the SIM card reader/writer 201 , and a SIM card read/write hardware 213 for reading and writing information from and onto a SIM card 215, which is inserted into a receptacle (not shown) of the SIM card re|ader/writer 201.
In the exemplary embodiment, MS Windows 217, such as XP, 2000, and ME is used as the operating system of the computer 203, and the flash memory 211 is also formatted by a corresponding MS Windows \Jersion to be compatible with the computer 203. In other words, the flash memory 211 is provided with a standard FAT file system therein.
As generally understood in the art, MS Windows 217 ha a standard built-in driver, a Mass Storage device driver 219, which allows /IS Windows 217 to communicate with externally-connected devices via the JSB interface 207 that complies to the Mass Storage Device Class of USB Specifically, in the exemplary embodiment, as the SIM card reader/writer 231 is connected to the computer 203 through the USB interfaces, MS Windows 217 recognises the presence of this USB device and solicits communication s with the SIM card reader/writer 201 under standard USB protocol. Throug such communications, the SIM card reader/writer 201 , or mor j specifically, the flash memory 211 , is recognised as a Mass Storage-compliant device, and
MS Windows 217 will activate the built-in Mass Storage device driver that is then responsible for subsequent communications/data-e xchange with the flash memory 211 of the SIM card reader/writer 201. As a result, a File System on Removable Disk 223 will be mounted on top of this Mass Storage device driver 219 in order to provide all the Application Program Interface
(API) needed for applications of upper layer(s) to get ac ess to the files on the flash memory 211 of the SIM card reader/writer 201.
In short, by incorporating a standard FAT file system, th 5 SIM card reader/writer 201 , upon connection to the computer 203 through the USB
interfaces, automatically exhibits itself as a standard reniovable disk to the computer 203 as illustrated in the snap-shot of Windows Explorer of figure 3, without additional instalments of any softwares or drives onto the computer
203. Consequently, the application software 221 , which is physically stored in the flash memory 211 , can now run atop MS Windows on the computer 203, as generally could be understood. Furthermore, the computer 203 can now access, create, modify or delete files in the flash memorv 211.
Upon running the application software 221 on the computer 203, an , exemplary interface is shown on the computer 203 as illijistrated in; Figure 4.
Figure 5 illustrates the flowchart of downloading the information from the SlM card 215 onto the SIM card reader 201. Such information can further be manipulated by application software 221 on the computer 203 through standard operations.
In step 501 , a user (not shown) of the computer 203 solicits via manipulations on the application software 221 to start reading the content of the SIM card 215. Such manipulation is not shown in the figures but qould generally be understood by the person in the art.
Then in step 503,.the application software 221 creates a standard "DOWNLOAD.TXT" file with attributes "System" in the D rectory Entry area of the flash memory 211 by using standard Windows API C reateFile(). As could also be appreciated by the person in the art, such a file, as well as the various files discussed in the following description, complies witηi the standard FAT file system of Windows.
In step 505, the processor 209, on which the firmware πjns, periodically reads the content of the Directory Entry area of the flash memib ry 211 and detects if a file name called "DOWNLOAD.TXT" can be found. If y s, the processor 209 further checks if the file attribute of this file is "System", f both conditions are met, the processor recognises this as a valid command ram the computer 203 for the initiation of a download action from the SlM έard 215.
I hen in step 507, the processor 209 controls the SIM card read/write hardware 213 to read the content from the SIM card 215 The downloading of content from the SlM card 215 is realized according to the ETSI (European
Telecommunications Standards Institute) Specifications Digital cellular telecommunications system (Phase 2+) and Specification of the Subscriber
Identity Module - Mobile Equipment (SlM-ME) interface 5SM 11.11)". these specifications have also specified the hardware manipulations concerning the correct activation of signal pins called I/O, CLK, RST according to the signal level requirements and timing requirements and are herein enclosed by reference.
Figure 6 illustrates a snapshot of the interface of application software 221 on the computer 203 during the downloading of the content]
In step 509, the processor 209 stores the content retrieved from the SIM card 215 in a file "PHONE_BK.TXT" in the flash memory 211. When the download of the content from the SIM card 215 to the SIM card redder/writer 201 is completed, in step 511, the processor 209 creates a file ΑCK.TXT" in the flash memory 211.
In step 513, the application software 221 , which runs on the computer 203, periodically exercises the Windows API FindFirstFileQ wth an attempt to read from a file called ACK.TXT from the flash memory 211. The attempt to read this file will be successful if such a fiie exists, otherwise the attempt will fail. The transition from a read failure to a read success woul j lead to the application software 221 's awareness of the creation of ACK.TXT by the processor 209.
Upon successful detection of the ACK.TXT file, in step 5f15, the application software 221 reads the content from the flash memory 2 1 by using Windows
API ReadFileO and presents the content on the screen (not shown) of the computer 203. The downloading of the content from the SIM card 215 is now completed.
After downloading, the user may edit the content throug i the application software 221 and the edited data can be stored in the flε sh memory 211 by using Windows API WriteQ as could be understood in th 3 art.
Figure 7 illustrates the flowchart of uploading the information from the SIM card reader/writer 201 onto the SIM card 215.
In step 701 , the user (not shown) of the computer 203 solicits via manipulations on the application software 221 to start writing of the content stored in the flash memory 211 onto the SIM card 215.
Then in step 703, the application software 221 creates aj standard "UPLOAD.TXT" file with attributes "System" in the Direciory Entry area of the flash memory 211 by using standard Windows API Crea|teFiIe().
In step 705, the processor 209, on which the firmware π ns, periodically reads the content of the Directory Entry area of the flash memory 211 and detects if a file name called "UPLOAD.TXT" can be found. If yes, tie processor 209 further checks if the file attribute of this file is "System". f both conditions are met, the processor 209 recognises this as a valid command from the computer 203 for the initiation of an upload action from 1he SIM card reader/writer 201 to SIM card 215.
Then in step 707, the processor 209 retrieves the content to be uploaded from the file "PHONE_BK.TXT" in the flash memory 211 , and in step 709, the processor 209 controls the SIM card read/write hardwar 5 213 to upload the content onto the SIM card 215. The uploading of conten t onto the SIM card 215 is realized according to the ETSI (European Teleco nmunications Standards Institute) Specifications "Digital cellular telecommunications system (Phase 2+); Specification of the Subscriber Identity Modlule - Mobile Equipment (SIM-ME) interface (GSM 11.11)". These sp cificatioπs have also specified the hardware manipulations concerning the co rrect activation of signal pins called I/O, CLK, RST according to the signal level requirements and timing requirements and are herein enclosed by ref rence.
Figure 8 illustrates a snapshot of the interface of application software 221 on the computer 203 during the uploading of the content.
When the upload of the content from the SIM card reader/writer 201 onto the SIM card 215 is completed, in step 711 , the processor 2D9 creates a file "ACKTXT" in the flash memory 211.
In step 713, similarly to step 513, the application softwar e 221 , which runs on the computer 203, periodically exercises the Windows A Pl FindFirstFileQ to detect the existence of file ACK.TXT in the flash memoπ 211.
Upon successful detection of the ACK.TXT file, in step 715, the application software 221 presents to the user that the upload is corrjpleted.
Alternatives can be made to the exemplary embodiment described thereabove. For example, other computing devices such as a personal digital assistant
(PDA) can be used to replace the personal computer so long as such computing devices can recognize and operates on the £ IM card reader/writer as a removable disk without additional installations of any softwares or drivers
In addition, various operating systems and/or interfaces can be used so long as the computer may recognize and cooperate on the re ader/writer as a removable disk and operates in compliance to the standard file system of the operating system, without additional installations of any softwares or drivers.
Furthermore, instead of the flash memory 211, other typ is of memory units can also be used.
In the preceding description, the operation of a SiM card, reader/writer is described to illustrate the operation of an external devicέ through a computer without additional installations of any softwares or drive ;. A generally skilled person in the art would appreciate that operations of various external devices or appliances can also be achieved by replacing the SIM card read/write hardware 213 with other types of hardwares suitable for operating the external devices. For example, control of a radio module can eas ily be achieved based upon the fundamental concept of the present applicatior
A generally skilled person in the art would also apprecia :e that the present invention simplifies the operations of external devices or a computer or a computing device by exhibiting the external device as a raditional mass storage device, in other words, a removable disk, to the computer or a computing device such that additional installation of softivares or drivers can be avoided. Furthermore, the present invention allows c perations of or communications with the hardwares of such external de rices through file creations and operations in a memory unit of the extern* I device.