The invention is directed, in general, to computer memory peripheral devices arid, more particularly, to a pen drive having integral file transfer capability and method of operation thereof.
“Pen drives” have become a widely used device for carrying one's computer files about. As is widely known, a pen drive, also called a “memory stick” or a “jump drive,” is a solid-state device containing nonvolatile computer memory, typically flash random-access memory (RAM), and a Universal Serial Bus (USB) port that allows external access to the nonvolatile memory.
To use the pen drive, a user connects the pen drive to a corresponding USB receptacle on a host device, typically a computer. In accordance with the USB standard (which is controlled by the USB Implementers Forum, Inc. (usb.org), the host device automatically detects that a USB device has been connected to it, determines what kind of USB device it is by means of the USB controller and, if the USB device is a pen drive (which it is in this case), treats the pen drive as a logical volume of storage, like a hard disk drive. In this manner, the user can read files from, and write files to, the pen drive.
The beauty of the pen drive is that it can be connected to a host device without having to install a driver for it or reboot the host device, disconnected from the host device without having to reboot the host device and thereafter carry it around, perhaps in one's pocket or briefcase or perhaps suspended from a lanyard about one's neck. Being solid state and packaged in a relatively small, light and durable case, pen drives are reliable, tough and very easy to carry about. For this reason, pen drives have largely displaced floppy disks and even compact disks as portable storage media.
Because the market is so large, quite a number of companies produce pen drives. As a result, pen drives are virtual commodities, with storage capacities increasing and prices decreasing almost daily. This indicates that the popularity of pen drives will continue to increase.
As portable, capacious, durable and easy to use as pen drives now are, they can still benefit from further improvement. What is needed in the art is a way to make pen drives even more flexible and powerful. Most advantageously, pen drives should be made more flexible and powerful without diminishing their portability, capacity, durability and ease of use.
To address the above-discussed deficiencies of the prior art, the invention provides, in one aspect, a pen drive. In one embodiment, the pen drive has a body and includes: (1) a nonvolatile main memory, (2) a USB port coupled to the nonvolatile main memory and including a USB plug, (3) a power source, (4) a USB host controller coupled to the nonvolatile main memory and powered by the power source, (5) a USB receptacle coupled to the USB host controller and (6) a processor coupled to the USB host controller and the nonvolatile main memory and configured to initiate a transfer of at least one user file therebetween.
In another aspect, the invention provides a method of operating a pen drive having a nonvolatile main memory, a USB port including a USB plug, a power source, a USB host controller, a USB receptacle coupled to the USB host controller and a processor. In one embodiment, the method includes: (1) employing the power source to provide power to the USB host controller and (2) initiating with the processor a transfer of at least one user file between the USB host controller and the nonvolatile main memory.
In yet another aspect, the invention provides a pen drive that includes: (1) an elongated body having opposing first and second ends, (2) a nonvolatile main memory located in the body, (3) a USB mass storage controller located in the body and coupled to the nonvolatile main memory, (4) a USB plug projecting from the first end and coupled to the USB mass storage controller, (5) a battery located in the body, (6) a USB host controller located in the body, coupled to the nonvolatile main memory and powered by the battery, (7) a USB receptacle recessed into the second end and coupled to the USB host controller and (8) a processor located in the body, coupled to the USB host controller and the nonvolatile main memory and configured to initiate a transfer of at least one user file therebetween.
The foregoing has outlined preferred and alternative features of the invention so that those skilled in the pertinent art may better understand the detailed description of the invention that follows. Additional features of the invention will be described hereinafter that form the subject of the claims of the invention. Those skilled in the pertinent art should appreciate that they can readily use the disclosed conception and specific embodiment as a basis for designing or modifying other structures for carrying out the same purposes of the invention. Those skilled in the pertinent art should also realize that such equivalent constructions do not depart from the scope of the invention.
For a more complete understanding of the invention, reference is now made to the following descriptions taken in conjunction with the accompanying drawing, in which:
Before describing technical aspects of various embodiments of a novel pen drive in detail, its use and possible advantages should be understood in nontechnical, colloquial terms. With a pen drive as described herein, a user can, for example, transfer user files automatically to or from another pen drive (of any type, including conventional pen drives) without having to do anything more than plug the two pen drives together. No computer is required to effect the transfer. No buttons need to be pushed; no computer screens need to be read; nothing needs to be plugged into a wall outlet; no email or text messages need to be sent.
This peer-to-peer file transfer capability is highly advantageous in several real-world contexts. In a work environment, a user can transfer the file(s) containing his business presentation directly to those in the audience who want an electronic copy of it. Business-related files can be directly swapped at trade shows, airports, seminar ballrooms, golf courses without having to rely on computers or other devices. In an educational environment, a teacher may pass an assignment out by transferring it directly to the students' pen drives, and students may in turn transfer their homework or projects from their pen drives directly to the teacher's. At a party, people may trade files (such as pictures or homemade audio recordings or videos) with each other as a natural part of their mingling. Those skilled in the pertinent art will understand how advantageous it is to have a pen drive that automatically transfers files without the need for further hardware or software and without compromising the portability, light weight, durability and flexibility pen drives currently afford. Those skilled in the pertinent art will also see many applications for the pen drive of the invention that may not be described herein. All such applications fall within the scope of the invention.
Having described in layman's terms some of possible uses and advantages of the invention, some embodiments will now be described.
A nonvolatile main memory 125, which in the illustrated embodiment is a flash memory, is contained within the body 105. The nonvolatile main memory 125 is configured to provide storage for user files, which may take the form of files, folders (also called “subdirectories”) or other data of interest to a user. (The nonvolatile main memory 125 may also provide storage for non-user files, such as system files and directory and formatting data.) The nonvolatile main memory 125 is advantageously of large capacity, typically greater than 100 megabytes (MB), but may be one gigabyte (GB) or larger.
A USB mass storage controller 130 is coupled to the nonvolatile main memory 125 and the USB plug 120. Together, the USB mass storage controller 130 and the USB plug 120 are regarded as a USB port. As those skilled in the pertinent art understand, the USB mass storage controller 130 is configured to communicate through the USB plug 120 to establish a logical connection with a hosting device (not shown in
The pen drive 100 of
A write-enable switch 140 is coupled to the body 105 such that it can be moved from outside of the body 105. In one position, the write-enable switch 140 allows user files to be written to the nonvolatile main memory 125. In another position, the write-enable switch 140 disallows such writing, protecting the contents of the nonvolatile main memory 125 from accidental erasure. In the illustrated embodiment, the write-enable switch 140 is a slide switch. However, this need not be the case.
The pen drive 100 of
A USB receptacle 150 recesses into the second end 115 of the body 105. The USB receptacle may be a Type A USB receptacle. The USB receptacle 150 may be of the same USB Type (Type A, Type B, etc.) as the USB plug 120. Further, the USB receptacle 150 need not be located proximate the second end 115. Instead, the USB receptacle 150 (and, for that matter, the USB plug 120) may recess into or project from any part of the body 105.
A USB host controller 155 is coupled to the USB receptacle 150 and the nonvolatile main memory 125. Together, the USB host controller 155 and the USB receptacle 150 may be regarded as a USB port. As those skilled in the pertinent art understand, the USB host controller is configured to communicate through the USB plug 120 to establish a logical connection with a hosted device (not shown in
As previously stated, the USB host controller 155 provides power to the hosted device. Accordingly, the pen drive 100 includes a power source 160, advantageously located within the body 105. In the embodiment of
Two components that may assist the processor 145 in providing its desired functions will now be described. A program memory 165 is coupled to the processor 145 and contains a control program that controls operation of the processor 145, to cause, for example, the transfer of at least one file to or from the pen drive 100. Certain functions that the processor 145 may perform will be described herein, with the understanding that many possible functions are possible without departing from the invention.
The program memory 165 may be quite small in terms of its storage capacity (perhaps on the order of kilobytes, or KB). In the embodiment of
A configuration memory 170 is likewise coupled to the processor 145. The configuration memory 170 contains configuration data that, in conjunction with the control program, controls the operation of the processor 145. The configuration memory of
The program memory 165 and configuration memory 170 may be embedded with the processor 145 on a single integrated circuit (IC) chip or may be separate ICs. In fact, many of the components of the pen drive 100 may be integrated into a single, application-specific IC (ASIC) for compactness and ease of assembly.
Though the embodiment of
Having described some embodiments of the pen drive 100, various possible modes of operation will now be described.
In the host mode of
The transfer may he a transfer from the hosted memory device 200 to the pen drive 100, a transfer from the pen drive 100 to the hosted memory device 100, or both. During the transfer, the indicator lamp (see
In the hosted mode of
In the pass-through mode of
In the illustrated embodiment, user files are not automatically transferred between the hosted memory device 200 and the nonvolatile main memory (see
In several embodiments, the pen drive further includes a configuration program executable on a host device (e.g., the host device 210) to allow a user to configure the configuration data contained in the configuration memory (see
Before describing the screen shot 300, it should be noted that the configuration program could be provided on a disk sold with the pen drive 100 or, more advantageously, stored in the pen drive, e.g., in the program memory 165 of
Turning now to the screen shot 300, under a title 310, is a list of possible configuration settings (not separately referenced). The user can select or deselect configuration settings by blackening or whitening bullets (also not separately referenced) located next to each of the configuration settings as shown. Those skilled in the art know that the spacebar or a mouse click can be used for blackening and whitening bullets.
The configuration settings illustrated in
In the GET FILES group 320, a user can first select (via a configuration setting 321) whether or not the pen drive should get any files from the hosted memory device when the pen drive is in host mode. If the user does not want the pen drive to get any files, the bullet next to the configuration setting 321 should be whitened; otherwise it should be blackened. Assuming, as shown, that the user wants the pen drive to get files, he now can configure what files and how they should be stored on the pen drive. Accordingly, the user can select (via a configuration setting 322) whether the pen drive should get only files that do not already exist on the pen drive (“new files”) or all files irrespective of their pre-existence on the pen drive. Then the user can select (via a configuration setting 323) whether the pen drive should get files only from a folder on the hosted memory device named “Shared Files.” This allows users to define a “Shared Files” folder on their pen drives from which files are shared. If the configuration setting 323 is whitened, all files are transferred from the hosted memory device, irrespective of the folder in which they may be contained.
Then the user can decide how to store the received files on the pen drive. The user can select (via a configuration setting 324) whether a new subfolder should be created for the files or whether the files should be stored in the pen drive's root folder. The former allows files to be grouped by origin, making it easier to determine from whom a file was received. The latter results in a simpler folder structure. If the former is selected, the user can then select (via a configuration setting 325) how to name the newly-created folders. Being a USB device, the hosted memory device (called “pen drive” in the configuration setting 325) has a logical name that it provides to the hosting pen drive. That name can be used as the folder name, or the pen drive can assign a unique name to the folder based upon some convention, perhaps an incrementing number. As is apparent from
In the GIVE FILES group 330, a user can first select (via a configuration setting 331) whether or not the pen drive should give any files to the hosted memory device when the pen drive is in host mode. If the user does not want the pen drive to get any files, the bullet next to the configuration setting 331 should be whitened; otherwise it should be blackened. Assuming, as shown, that the user wants the pen drive to give files, he now can configure what files and how they should be stored on the hosted memory device. Accordingly, the user can select (via a configuration setting 332) whether the pen drive should give only files from folders that have a “shared” permission, such as one named “Shared Files.” Those skilled in the pertinent art are aware that modern operating systems, such as Microsoft® Windows® XP®, allow folders to be shared by setting a “shared” permission to those folders.
Then the user can decide how to store the received files on the hosted memory device. The user can select (via a configuration setting 333) whether the pen drive should put the files in a folder on the hosted memory device named “Shared Files,” creating such a folder if it does not already exist. If the configuration setting 333 is whitened, files are put in the root folder of the hosted memory device. Alternatively, the user can select (via a configuration setting 334) whether a new subfolder should be created for the files. If the latter is selected, the user can then select (via a configuration setting 335) how to name the newly-created folders. The pen drive's logical name can be used as the folder name, or the pen drive can assign a unique name to the folder based upon some convention. As is apparent from
In the miscellaneous group 340, the user can select (via a configuration setting 341) whether, following completion of a user file transfer, the indicator lamp should be left on or turned off. The former provides a more positive indication of a successful transfer; the latter saves battery power. The user can select (via a configuration setting 342) whether or not the pen drive should operate in the pass-through mode. As is apparent from
Upon exiting the configuration program, the configuration program saves the configuration settings to the configuration memory (see
Turning now to
In a step 420, the power source is employed to provide power to the USB host controller, at which time the coupling of the hosted memory device is automatically recognized in accordance with USB standards. In a step 430, the control program is automatically invoked to cause the processor to read the configuration data from the configuration memory. In a step 440, the control program causes the processor to initiate a transfer of at least one user file between the hosted memory device (via the USB host controller) and the nonvolatile main memory of the pen drive in accordance with the configuration data.
In a step 450, the control program causes the processor to change the state of the indicator lamp (perhaps from off to blinking) to indicate that a transfer has begun. In a step 460, the transfer of at least one user file is completed, and the control program again causes the processor to change the state of the indicator lamp (perhaps from blinking to off). The method ends in an end step 470.
Although the invention has been described in detail, those skilled in the pertinent art should understand that they can make various changes, substitutions and alterations herein without departing from the scope of the invention in its broadest form.