CN219738148U - External triggering type protection USB flash disk - Google Patents
External triggering type protection USB flash disk Download PDFInfo
- Publication number
- CN219738148U CN219738148U CN202320628065.5U CN202320628065U CN219738148U CN 219738148 U CN219738148 U CN 219738148U CN 202320628065 U CN202320628065 U CN 202320628065U CN 219738148 U CN219738148 U CN 219738148U
- Authority
- CN
- China
- Prior art keywords
- mcu
- flash disk
- usb flash
- usb
- pins
- 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.)
- Active
Links
- 230000001960 triggered effect Effects 0.000 claims description 8
- 239000013078 crystal Substances 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000001681 protective effect Effects 0.000 claims 2
- 230000005611 electricity Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
The embodiment of the utility model discloses an external trigger type protection USB flash disk, which comprises ase:Sub>A USB flash disk body, wherein an MCU, ase:Sub>A memory, ase:Sub>A voltage converter and ase:Sub>A USB-A type connector are integrated in the USB flash disk body, ase:Sub>A trigger unit is arranged on the USB flash disk body, and the MCU is electrically connected with the memory, the voltage converter, the USB-A type connector and the trigger unit. According to the utility model, the safety of hot plug of the USB flash disk can be realized by adding the key switch, and the data loss of the USB flash disk caused by misoperation is prevented.
Description
Technical Field
The utility model relates to the technical field of USB flash disks, in particular to an external triggering type protection USB flash disk.
Background
The U disk is a short name of USB (universal serial bus) disk, and harmonic sounds of the U disk are also called as U disk. A usb disk is one type of flash memory, and is sometimes referred to as a flash disk. The biggest difference between the USB flash disk and the hard disk is that the USB flash disk is plug and play without a physical driver, and the storage capacity of the USB flash disk is far more than that of the USB flash disk, so that the USB flash disk is convenient to carry.
However, when the USB flash disk is used, due to illegal operation, the data of the USB flash disk is very easy to be lost, and the situation that the USB flash disk cannot return is caused.
At present, a USB interface of a PC is used for supplying power to a USB flash disk in the market, when the reading and writing of data by the USB flash disk are not completed, or when a folder of the current USB flash disk is not closed, when a user uses a mouse to operate and remove the USB flash disk, an operating system of the PC prompts that a current process is running and the USB flash disk cannot be removed, i can only find a process related to the USB flash disk in a task manager, then the USB flash disk can be removed after the process is closed, if the USB flash disk is directly hot-plugged, errors of the USB flash disk data can be caused, and the USB flash disk data can be lost, so that a lot of inconvenience is brought to work undoubtedly.
Disclosure of Invention
The technical problem to be solved by the embodiment of the utility model is to provide an external triggering type protection USB flash disk, so that the safety of hot plug of the USB flash disk is improved.
In order to solve the technical problems, the embodiment of the utility model provides an external trigger type protection USB flash disk, which comprises ase:Sub>A USB flash disk body, wherein an MCU, ase:Sub>A memory, ase:Sub>A voltage converter and ase:Sub>A USB-A type connector are integrated in the USB flash disk body, ase:Sub>A trigger unit is arranged on the USB flash disk body, and the MCU is electrically connected with the memory, the voltage converter, the USB-A type connector and the trigger unit.
Further, the USB flash disk body is provided with an LED electrically connected with the MCU.
Further, pins 1, 2, 3, 4, 5, 6, 7 and 8 of the MCU are data bits of the SDIO interface and are used for performing data read-write operation on the memory; the 9 pin of the MCU is a command bit of the SDIO interface, and the MCU issues a command to the memory through the 9 pin; the 16 pins of the MCU are write protection pins; the 15 pins of the MCU are connected with the trigger unit and receive signals of the trigger unit; the 17 pins of the MCU are LED control pins, and the LED control pins are connected with LEDs.
Further, a 12MHz crystal electrically connected with the MCU is integrated in the USB flash disk body, and 10 pins of the MCU are clock signals of an SDIO interface and are used for data bit synchronization during data transmission.
Further, the triggering unit is a key or a pressure sensor.
The beneficial effects of the utility model are as follows: according to the utility model, the safety of hot plug of the USB flash disk can be realized by adding the key switch, and the data loss of the USB flash disk caused by misoperation is prevented.
Drawings
FIG. 1 is a functional block diagram of an externally triggered protection USB flash disk in accordance with an embodiment of the present utility model.
Fig. 2 is a schematic circuit diagram of an MCU according to an embodiment of the present utility model.
Fig. 3 is a circuit schematic of a memory according to an embodiment of the utility model.
Fig. 4 is ase:Sub>A schematic diagram of ase:Sub>A USB-ase:Sub>A type connector and ase:Sub>A voltage converter portion according to an embodiment of the present utility model.
Fig. 5 is a schematic diagram of a trigger unit and LED portion of an embodiment of the present utility model.
Description of the embodiments
It should be noted that, without conflict, the embodiments of the present utility model and features of the embodiments may be combined with each other, and the present utility model will be further described in detail with reference to the drawings and the specific embodiments.
In the embodiment of the present utility model, if there is a directional indication (such as up, down, left, right, front, and rear … …) only for explaining the relative positional relationship, movement condition, etc. between the components in a specific posture (as shown in the drawings), if the specific posture is changed, the directional indication is correspondingly changed.
In addition, the description of "first," "second," etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature.
Referring to fig. 1 to 5, the external trigger type protection USB disk of the embodiment of the present utility model is composed of ase:Sub>A USB disk controller (MCU), ase:Sub>A memory (eMMC), ase:Sub>A voltage converter (LDO), ase:Sub>A key, ase:Sub>A 12MHz crystal, and ase:Sub>A USB-ase:Sub>A type connector.
U disk controller (MCU): the MCU is mainly used for protocol processing, data conversion and control.
Memory (eMMC): the main function is storage.
The MCU supports the SDIO interface protocol, and the popular eMMC in the market at present basically supports the SDIO interface protocol. The 1, 2, 3, 4, 5, 6, 7 and 8 pins of the MCU are data bits of an SDIO interface, and the data bits are bidirectional and are used for performing data read-write operation on the eMMC; the 9 pin is a command bit of the SDIO interface, when the MCU performs read-write operation on the eMMC chip, the command for starting transmission can be performed by the read-write operation on the eMMC after the command is issued through the 9 pin, and the command is sent from end to end; the 10 pin is a clock signal of the SDIO interface and is used for data bit synchronization when transmitting data; the 16 pin is a write protection pin, the pin is effective low, write protection is opened at low level, and write protection is closed at high level; the 15 pin is a key interrupt pin for receiving key interrupt; the 17 pins are LED control pins, when the USB flash disk works normally, the 17 pins control the LED red lamps to be on, and when the USB flash disk is turned off, the 17 pins control the LED red lamps to be turned off.
The 12MHz crystal provides a 12MHz reference clock for the MCU chip. The 12MHz crystal is used as a reference input clock of an MCU system clock, and reference clocks of controllers such as a USB controller, an SDIO controller, an INT controller and the like in the MCU are all reference clocks provided by using the 12M crystal.
Voltage converter (LDO): the voltage converter is used for converting VBUS voltage (5V) input by the USB-A port into 3.3V voltage to supply power for the MCU and the eMMC. The LDO voltage converter provides power supply voltage for the MCU and the eMMC, and the power supply input is from ase:Sub>A USB-A type connector.
The key uses a touch key, and when a hand presses the touch key, the key sends a low-level signal to the MCU to indicate that an external interrupt event is triggered.
The LED red light plays an indicating role and is controlled by the MCU.
And (3) key pressing: and a manual key is used for triggering an interrupt signal and sending the interrupt signal to the MCU as a trigger signal for closing the file system. The key is preferably arranged in the middle of the USB flash disk body through structural streamline design. When the USB flash disk is pinched by hands, the pressure sensor can transmit pressure data to the MCU, the MCU judges whether to perform the action of pulling out the USB flash disk or not, the MCU can communicate with the PC through the USB bus to inform the PC of performing the operation of pulling out the USB flash disk, and the MCU can also automatically close a file system, so that the safe operation of pulling out the USB flash disk is realized.
USB-A type connector: the USB flash disk is connected with the PC.
The MCU is provided with an 8-bit datase:Sub>A bus and ase:Sub>A USB bus, and is connected with the PC through ase:Sub>A USB-A type connector.
The MCU is connected with the 8-bit data bus of the eMMC chip through the 8-bit data bus, and the MCU performs read-write operation on the eMMC chip through read-write control signals.
The MCU reference clock provides a 12MHz reference clock through an externally hung 12MHz crystal, and the MCU chip can output a 5MHz reference clock as the reference clock input of the eMMC chip.
An LED: indicating the working state of the USB flash disk, and lighting a red lamp: the USB flash disk is in a working state; and (3) red light is turned off: u disk closing state
After the external triggering type protection U disk is inserted into the PC, the PC supplies power for the external triggering type protection U disk through the USB-A connector, and after the PC is enumerated to the U disk through ase:Sub>A USB protocol, the MCU controls the LED red light to be lighted after the two parties establish communication.
The MCU chip of the external trigger type protection USB flash disk retrieves the basic information and the file information in the memory, sends the basic information and the file information to the PC through the USB-A connector, and prompts the discovery of new hardware and starts to install the drive program of the USB flash disk after the PC receives datase:Sub>A. After the driver is installed, the user then sees the files in the U disk storage.
When the PC is operated to set the U disk to be in ase:Sub>A read-only mode, ase:Sub>A read-only command is sent to the MCU chip through the USB-A connector, and the MCU chip controls the 16 pin of the eMMC to be in ase:Sub>A low level and enters ase:Sub>A write-protection state.
When the PC is operated to set the U disk to be in ase:Sub>A non-read-only mode, ase:Sub>A read-only command is sent to the MCU chip through the USB-A connector, and the MCU chip controls the 16 pin of the eMMC to be in ase:Sub>A high level and exits from ase:Sub>A write-protection state.
When ase:Sub>A PC user stores datase:Sub>A in the external trigger-type protection U disk, the PC sends ase:Sub>A write operation command to the MCU chip through the USB-A connector, after the MCU chip receives the write operation command, the MCU chip firstly detects the level of the 16 pins of the eMMC, and if the pins are high-level signals, the MCU chip performs write operation on the eMMC chip through an SDIO protocol. If the pin is ase:Sub>A low level signal, the MCU chip sends ase:Sub>A receipt to the PC through the USB-A connector, the eMMC is in ase:Sub>A write-protection state, and write operation is forbidden.
When ase:Sub>A PC user needs to read datase:Sub>A in the external trigger type protection USB flash disk, the PC sends ase:Sub>A read operation command to the MCU chip through the USB-A connector, and the MCU chip carries out read operation on the eMMC chip through the SDIO protocol.
When a PC user wants to pull out an external trigger type protection USB flash disk, a key for triggering the USB flash disk is arranged at the middle position of the USB flash disk through structural streamline design, key interruption is triggered when a user presses the middle position of the USB flash disk, and after the MCU detects that the key interruption is triggered, the following operation is performed:
A. the MCU terminates the current read-write operation of the eMMC chip;
B. the MCU controls the 16 pin of the eMMC chip to be low level, and the eMMC is used for entering a write-protection state;
C. the MCU sends ase:Sub>A clearing shear plate command to the PC through the USB-A connector;
D. the MCU sends and closes files and processes related to the U disk to the PC through the USB-A connector;
E. the MCU closes the file system;
F. the MCU controls the LED to be turned off through a 17-pin, so that the U disk is closed;
after the MCU finishes the operation, the PC can prompt that the current USB flash disk is removed, and the USB flash disk can be directly pulled out.
Although embodiments of the present utility model have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the spirit and scope of the utility model as defined by the appended claims and their equivalents.
Claims (5)
1. The utility model provides an outside trigger type protection USB flash disk, includes the USB flash disk body, and this internal MCU, memory, voltage converter, USB-A type connector of integrating of USB flash disk, its characterized in that is equipped with trigger unit on the USB flash disk body, MCU and memory, voltage converter, USB-A type connector, trigger unit electricity are connected.
2. The externally triggered protective usb disk of claim 1, wherein the usb disk body is provided with LEDs electrically connected to the MCU.
3. The externally triggered protection USB flash disk of claim 2, wherein pins 1, 2, 3, 4, 5, 6, 7 and 8 of the MCU are data bits of an SDIO interface, and are used for performing data read-write operation on the memory; the 9 pin of the MCU is a command bit of the SDIO interface, and the MCU issues a command to the memory through the 9 pin; the 16 pins of the MCU are write protection pins; the 15 pins of the MCU are connected with the trigger unit and receive signals of the trigger unit; the 17 pins of the MCU are LED control pins, and the LED control pins are connected with LEDs.
4. The externally triggered type protection USB flash disk of claim 3, wherein a 12MHz crystal electrically connected with the MCU is integrated in the USB flash disk body, and 10 pins of the MCU are clock signals of an SDIO interface and are used for data bit synchronization during data transmission.
5. The externally triggered protective usb disk of claim 1, wherein the trigger unit is a key or a pressure sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320628065.5U CN219738148U (en) | 2023-03-28 | 2023-03-28 | External triggering type protection USB flash disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320628065.5U CN219738148U (en) | 2023-03-28 | 2023-03-28 | External triggering type protection USB flash disk |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219738148U true CN219738148U (en) | 2023-09-22 |
Family
ID=88032710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202320628065.5U Active CN219738148U (en) | 2023-03-28 | 2023-03-28 | External triggering type protection USB flash disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219738148U (en) |
-
2023
- 2023-03-28 CN CN202320628065.5U patent/CN219738148U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109672950B (en) | Power saving circuit and power saving method based on Type-C earphone | |
JPH0997126A (en) | Extension unit and computer connectable to the unit | |
JP2892963B2 (en) | Battery powered computer | |
KR20030031255A (en) | Universal serial bus device having logical circuit for conversive and immediate USB Host reset operation | |
CN219738148U (en) | External triggering type protection USB flash disk | |
CN101369948B (en) | Communication system implementing low-power consumption | |
JP2001067156A5 (en) | Computer peripherals and their control methods, imaging devices and their control methods, and computer-readable storage media | |
CN116467761A (en) | External triggering type protection USB flash disk and control method thereof | |
CN103823767B (en) | Encrypted mobile hard disk drive case with portable power source | |
US20200363971A1 (en) | Portable storage device that is self-convertible from being a removable disk to a fixed disk and from being a fixed disk to a removable disk | |
CN1991690A (en) | USB external master-salve interface module | |
CN110908673B (en) | Digital power supply chip burning method | |
CN103135939A (en) | Access device | |
CN209388295U (en) | A kind of usb circuit and electronic equipment for realizing while charging and powering | |
CN111290717A (en) | Off-line data storage device based on Bluetooth communication | |
CN114372013B (en) | USB interface expansion circuit and terminal | |
CN101661450A (en) | New communication way between computers | |
CN201897784U (en) | Upgrading controller of electronic device | |
JP2001350548A (en) | Power control circuit of external storage device | |
CN218998072U (en) | Optical module code writing board | |
CN111414067B (en) | Computer starting method | |
CN211851305U (en) | Intelligent unlocking key | |
CN217238723U (en) | Computer control board based on Shenwei 831 processor | |
CN219392657U (en) | Circuit structure of notebook computer with wireless data confidentiality and destruction functions | |
CN220820721U (en) | Switch control circuit of intelligent door lock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |