CN113052288A - SD card automatically adapting to upper computer for reading and writing and automatic adapting method thereof - Google Patents
SD card automatically adapting to upper computer for reading and writing and automatic adapting method thereof Download PDFInfo
- Publication number
- CN113052288A CN113052288A CN202110352468.7A CN202110352468A CN113052288A CN 113052288 A CN113052288 A CN 113052288A CN 202110352468 A CN202110352468 A CN 202110352468A CN 113052288 A CN113052288 A CN 113052288A
- Authority
- CN
- China
- Prior art keywords
- card
- module
- upper computer
- switching
- reading
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/077—Constructional details, e.g. mounting of circuits in the carrier
- G06K19/0772—Physical layout of the record carrier
- G06K19/07732—Physical layout of the record carrier the record carrier having a housing or construction similar to well-known portable memory devices, such as SD cards, USB or memory sticks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/073—Special arrangements for circuits, e.g. for protecting identification code in memory
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses an SD card automatically adapting to an upper computer for reading and writing, which comprises a detection module, a card reading module, a switching module and an SD card storage module, wherein the detection module, the card reading module, the switching module and the SD card storage module are arranged in the SD card; the detection module, the card reading module and the switching module are respectively connected with an SD card interface; the detection module is used for outputting a switching instruction to the switching module when the upper computer is detected to be accessed, and the switching module switches the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module. The SD card can be used without plugging, and the upper computer can directly read and write the data of the storage module of the SD card through card equipment, so that the SD card is convenient to use without plugging and without a card reader. On the other hand, the original shape structure design of the SD card is not changed, and the card inserting structure of the card equipment is not required to be changed.
Description
Technical Field
The invention belongs to the technical field of SD card data processing, and particularly relates to an SD card automatically adapting to an upper computer for reading and writing and an automatic adapting method thereof.
Background
The SD card has high security, high performance, small size, portability, and hot-pluggable advantages, and has become a storage expansion method widely used in electronic products in recent years. With the development of chip design technology in China, design research aiming at the SD card is more important.
However, the applicant has found that the existing SD card device has the following technical problems: when data of the SD card is read, the SD card needs to be taken out of the intelligent device, and a special card reader needs to be used for reading the SD card, so that the SD data reading operation of the device is complex and inconvenient for a user to use.
Disclosure of Invention
The invention aims to solve the technical problems and provides an SD card automatically adapting to an upper computer for reading and writing and an automatic adapting method thereof.
In order to solve the problems, the invention is realized according to the following technical scheme:
in a first aspect, the invention provides an SD card automatically suitable for an upper computer to read and write, which comprises a detection module, a card reading module, a switching module and an SD card storage module, wherein the detection module, the card reading module, the switching module and the SD card storage module are arranged in the SD card;
the detection module, the card reading module and the switching module are respectively connected with an SD card interface;
the detection module is used for outputting a switching instruction to the switching module when the upper computer is detected to be accessed, and the switching module switches the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module.
With reference to the first aspect, the present invention further provides a 1 st implementation manner of the first aspect, where the detecting module is configured to, when detecting access of an upper computer, specifically:
the detection module is used for detecting an upper computer with a USB: when the upper computer is accessed, the detection module detects the USB voltage of the upper computer to generate and output a switching instruction to the switching module.
With reference to the first aspect, the present invention further provides a second implementation manner of the first aspect, where the switching module is connected to the card device through the SD card interface, so that the card device can read and write data in the SD card storage module.
With reference to the first aspect, the present invention further provides an implementation manner 3 of the first aspect, where when the switching module switches the connection between the SD card storage module and the card reading module, the switching module disconnects the connection between the SD card storage module and the card using device.
In a second aspect, the invention further provides an automatic SD card adapting method for automatically adapting an upper computer to read and write, wherein a detection module, a card reading module, a switching module and an SD card storage module are arranged in the SD card; the detection module, the card reading module and the switching module are respectively connected with an SD card interface; the automatic SD card adapting method comprises the following steps:
when the detection module detects the access of the upper computer, the detection module outputs a switching instruction;
the switching instruction is used for indicating the switching module and switching the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module.
With reference to the second aspect, the present invention further provides a 1 st implementation manner of the second aspect, where the detecting module detects access of the upper computer, specifically:
the detection module is used for detecting an upper computer with a USB: when the upper computer is accessed, the detection module detects the USB voltage of the upper computer to generate and output a switching instruction to the switching module.
With reference to the second aspect, the present invention further provides a second implementation manner of the second aspect, in which the switching module is connected to the card device through the SD card interface, so that the card device can read and write data in the SD card storage module.
With reference to the second aspect, the present invention further provides a third implementation manner of the second aspect, in which when the switching module switches the connection between the SD card storage module and the card reading module, the switching module disconnects the connection between the SD card storage module and the card using device.
Compared with the prior art, the invention has the beneficial effects that:
1. the SD card is innovated, and the detection module, the card reading module and the switching module are integrated in the SD card; each functional module is connected with the SD card interface respectively to realize the required functions. The detection module is used for outputting a switching instruction to the switching module when the upper computer is detected to be accessed, and the switching module switches the SD card storage module to be connected with the card reading module so that the upper computer can read and write data of the SD card storage module.
2. The SD card can be used without plugging, and the upper computer can directly read and write the data of the storage module of the SD card through card equipment, so that the SD card is convenient to use without plugging and without a card reader. On the other hand, the original shape structure design of the SD card is not changed, and the card inserting structure of the card equipment is not required to be changed.
Drawings
Embodiments of the invention are described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a schematic diagram of the SD card automatically adapting to the upper computer for reading and writing.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
As shown in FIG. 1, the preferred structure of the SD card is automatically suitable for an upper computer to read and write.
In the present invention, the SD card, also called SD memory card, is a new generation memory device based on semiconductor flash memory, and is widely used in portable devices, such as digital cameras, tablet computers, and multimedia players, due to its excellent characteristics of small size, fast data transmission speed, hot-pluggable, etc.
The SD card is mainly divided into four parts: external pins, internal registers, an interface controller, and an internal storage medium. In terms of structure, the SD card includes a package housing, an SD card interface, and a circuit substrate within the package housing. In one implementation, the SD card interface (external pin) retains 7 pins of the MMC card, and preferably also adds 2 pins on both sides for use as data lines.
As shown in fig. 1, the invention adds a detection module, a card reading module, a switching module and an SD card storage module on a circuit substrate. The detection module, the card reading module and the switching module are respectively connected with the SD card interface. The detection module is connected with the switching module, the switching module is connected with the SD card storage module, and the switching module is connected with the card reading module.
In the invention, the detection module is used for detecting the access of the upper computer. When the upper computer is accessed, the detection module detects the access, and then the detection module outputs a switching instruction to the switching module.
In one implementation, the detection module is configured to detect a host computer with USB: when the upper computer is accessed, the detection module detects the USB voltage of the upper computer to generate and output a switching instruction to the switching module. Through detecting the constant power that USB inserted to the access of discernment host computer, convenient and fast just need not complicated discernment host computer strategy.
In the invention, two connection modes are arranged in the switching module:
the first is a read-write mode of the card using device, and the switching module is connected with the card using device through an SD card interface so that the data of the SD card storage module can be read and written by the card using device. The read-write mode of the card equipment is a normal mode, and when the upper computer is not connected, the mode is switched to keep the read-write mode of the card equipment.
The second type is a read-write mode of the upper computer, and the switching module switches the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module. Specifically, the switching instruction of the detection module is used for instructing the switching module to switch from the read-write mode of the card using device to the read-write mode of the upper computer, and switching the connection between the SD card storage module and the card reading module, so that the upper computer can read and write data of the SD card storage module.
Specifically, when the switching module uses the read-write mode of the host computer, that is, when the switching module switches the connection between the SD card storage module and the card reading module, the switching module disconnects the connection between the SD card storage module and the card using device. The switching module has and can only be in one connection mode.
The SD card of the invention has the working principle that:
when the electric equipment is not connected with the upper computer with the USB, the switching module is connected with the SD card storage module and is connected with the card equipment through the SD card interface, so that the data of the SD card storage module can be read and written by the card equipment. When the detection module detects that the upper computer with the USB is connected with the electric equipment, the detection module outputs a switching instruction, and the switching module switches the SD card storage module to be connected with the card reading module, so that the SD card can be read and written by the storage equipment identified by the upper computer, and the data of the SD card storage module can be read and written by the upper computer. And after the card equipment is disconnected from the upper computer, repeating the process.
On the other hand, the switching module is connected with the card using device in a default mode, when the USB upper computer is connected to the switching module, the signal line of the switching module captures the USB inserted electric signal, and meanwhile the switcher module switches the circuit from the default card using device connection to the USB upper computer. The automatic switching SD card is inserted into the USB for connection with the USB. After the USB is pulled out, the USB electric signal disappears. The module automatically switches back to the default card using device. Therefore, the SD card can be automatically judged whether to be inserted into the USB upper computer or not without plugging and unplugging, and the automatic switching of the circuit is realized. And the SD card is butted with different upper computer equipment.
On the other hand, the invention also provides an SD card automatic adaptation method for automatically adapting an upper computer to read and write, which is realized based on the SD card, wherein the SD card is internally provided with a detection module, a card reading module, a switching module and an SD card storage module; the detection module, the card reading module and the switching module are respectively connected with the SD card interface.
The automatic SD card adapting method comprises the following steps:
when the detection module detects the access of the upper computer, the detection module outputs a switching instruction.
In one implementation, the detection module is configured to detect a USB host computer: when the upper computer is accessed, the detection module detects the USB voltage of the upper computer to generate and output a switching instruction to the switching module.
The switching instruction is used for indicating the switching module and switching the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module.
Preferably, the switching module is connected to the card device through the SD card interface, so that the card device can read and write data in the SD card storage module. When the switching module switches the connection between the SD card storage module and the card reading module, the switching module disconnects the connection between the SD card storage module and the card using equipment.
Other structures of the SD card automatically adapting to the host computer for reading and writing are described in this embodiment with reference to the prior art.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, so that any modification, equivalent change and modification made to the above embodiment according to the technical spirit of the present invention are within the scope of the technical solution of the present invention.
Claims (8)
1. An SD card automatically suitable for an upper computer to read and write is characterized by comprising a detection module, a card reading module, a switching module and an SD card storage module which are arranged in the SD card;
the detection module, the card reading module and the switching module are respectively connected with an SD card interface;
the detection module is used for outputting a switching instruction to the switching module when the upper computer is detected to be accessed, and the switching module switches the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module.
2. The SD card capable of automatically adapting to the upper computer for reading and writing according to claim 1, wherein the detection module is used for detecting the access of the upper computer, and specifically comprises:
the detection module is used for detecting an upper computer with a USB: when the upper computer is accessed, the detection module detects the USB voltage of the upper computer to generate and output a switching instruction to the switching module.
3. The SD card capable of automatically adapting to the upper computer for reading and writing according to claim 1, wherein:
the switching module is connected with the card using device through the SD card interface so that the card using device can read and write data of the SD card storage module.
4. The SD card capable of automatically adapting to the upper computer for reading and writing according to claim 1, wherein:
when the switching module switches the connection between the SD card storage module and the card reading module, the switching module disconnects the connection between the SD card storage module and the card using equipment.
5. An SD card automatic adaptation method for automatically adapting an upper computer to read and write is characterized in that a detection module, a card reading module, a switching module and an SD card storage module are arranged in an SD card; the detection module, the card reading module and the switching module are respectively connected with an SD card interface; the automatic SD card adapting method comprises the following steps:
when the detection module detects the access of the upper computer, the detection module outputs a switching instruction;
the switching instruction is used for indicating the switching module and switching the connection between the SD card storage module and the card reading module so that the upper computer can read and write data of the SD card storage module.
6. The automatic adapting method for the SD card read/write by the automatic adapting upper computer according to claim 5, wherein the detection module detects the access of the upper computer, specifically:
the detection module is used for detecting an upper computer with a USB: when the upper computer is accessed, the detection module detects the USB voltage of the upper computer to generate and output a switching instruction to the switching module.
7. The automatic SD card adapting method for automatically adapting an upper computer to read and write according to claim 5, wherein the method comprises the following steps:
the switching module is connected with the card using device through the SD card interface so that the card using device can read and write data of the SD card storage module.
8. The automatic SD card adapting method for automatically adapting an upper computer to read and write according to claim 5, wherein the method comprises the following steps:
when the switching module switches the connection between the SD card storage module and the card reading module, the switching module disconnects the connection between the SD card storage module and the card using equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110352468.7A CN113052288B (en) | 2021-03-31 | 2021-03-31 | SD card automatically adapting to upper computer for reading and writing and automatic adapting method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110352468.7A CN113052288B (en) | 2021-03-31 | 2021-03-31 | SD card automatically adapting to upper computer for reading and writing and automatic adapting method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113052288A true CN113052288A (en) | 2021-06-29 |
CN113052288B CN113052288B (en) | 2021-11-23 |
Family
ID=76516850
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110352468.7A Active CN113052288B (en) | 2021-03-31 | 2021-03-31 | SD card automatically adapting to upper computer for reading and writing and automatic adapting method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113052288B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1538269A (en) * | 2003-04-14 | 2004-10-20 | 万国电脑股份有限公司 | Universal micro-memory card |
CN203013264U (en) * | 2012-11-06 | 2013-06-19 | 太仓市同维电子有限公司 | Device used for realizing information exchange between USB interface storage and SD card |
CN103885407A (en) * | 2014-03-11 | 2014-06-25 | 平顶山学院 | Packaged switch equipment transportation process monitor |
CN104318280A (en) * | 2014-10-27 | 2015-01-28 | 康泰医学系统(秦皇岛)股份有限公司 | Method for reading and writing SD card by upper computer via USB |
US20150091699A1 (en) * | 2012-05-30 | 2015-04-02 | Zhou Lu | Method for detecting that contactless cpu card leaves radio-frequency field |
CN205453806U (en) * | 2016-01-08 | 2016-08-10 | 上海励识电子科技有限公司 | Cell -phone protective sheath of integration intelligent card and intelligent card reader function |
CN106020515A (en) * | 2016-06-14 | 2016-10-12 | 河南工业大学 | Wireless keyboard and mouse, connection method of receiver of wireless keyboard and mouse and wireless keyboard and mouse system |
CN206147983U (en) * | 2016-06-24 | 2017-05-03 | 云南师范大学 | Wireless multimedia presentation pen of warning and gesture recognition function is forgotten in area |
-
2021
- 2021-03-31 CN CN202110352468.7A patent/CN113052288B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1538269A (en) * | 2003-04-14 | 2004-10-20 | 万国电脑股份有限公司 | Universal micro-memory card |
US20150091699A1 (en) * | 2012-05-30 | 2015-04-02 | Zhou Lu | Method for detecting that contactless cpu card leaves radio-frequency field |
CN203013264U (en) * | 2012-11-06 | 2013-06-19 | 太仓市同维电子有限公司 | Device used for realizing information exchange between USB interface storage and SD card |
CN103885407A (en) * | 2014-03-11 | 2014-06-25 | 平顶山学院 | Packaged switch equipment transportation process monitor |
CN104318280A (en) * | 2014-10-27 | 2015-01-28 | 康泰医学系统(秦皇岛)股份有限公司 | Method for reading and writing SD card by upper computer via USB |
CN205453806U (en) * | 2016-01-08 | 2016-08-10 | 上海励识电子科技有限公司 | Cell -phone protective sheath of integration intelligent card and intelligent card reader function |
CN106020515A (en) * | 2016-06-14 | 2016-10-12 | 河南工业大学 | Wireless keyboard and mouse, connection method of receiver of wireless keyboard and mouse and wireless keyboard and mouse system |
CN206147983U (en) * | 2016-06-24 | 2017-05-03 | 云南师范大学 | Wireless multimedia presentation pen of warning and gesture recognition function is forgotten in area |
Also Published As
Publication number | Publication date |
---|---|
CN113052288B (en) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2040174B1 (en) | Card-type peripheral device | |
US6813668B2 (en) | Multi-functional electronic card capable of detecting removable cards | |
TWI222564B (en) | Flashtoaster for reading several types of flash memory cards with or without a PC | |
US7809866B2 (en) | Double interface SD flash memory card | |
RU2530337C1 (en) | Usb-switch device and connection method of smart card by means of usb interface | |
TWI259406B (en) | A method and an apparatus of flash cards access | |
US20070145154A1 (en) | Interface for a removable electrical card | |
US6725291B2 (en) | Detection method used in adaptor capable of inserting various kinds of memory cards | |
CN101470584A (en) | Hard disk expansion apparatus | |
US20080126588A1 (en) | Memory card | |
CN101777033A (en) | Storage card extension device | |
JP3140192U (en) | Transmission cable for transmitting E-SATA signal and power | |
CN111143898B (en) | Data protection method for pluggable memory device | |
CN113052288B (en) | SD card automatically adapting to upper computer for reading and writing and automatic adapting method thereof | |
TWI785241B (en) | Integrated interface and electronic device with the same | |
KR20030083540A (en) | Double interface SD card | |
US20040198446A1 (en) | Mass storage for wireless communication | |
KR100746308B1 (en) | Usb card with sd card type packing and interface therefor | |
CN101094464A (en) | Device and method for handset to manage files in U disk | |
CN107341116B (en) | ARM-based PC/104 communication method and writing and reading time sequence thereof | |
CN221746870U (en) | Stored data reading device and electronic equipment | |
CN220651249U (en) | USB expansion module | |
CN218122641U (en) | Heat exchanger card supporting PCIE X32 channel of hot plug and switching device | |
CN202694272U (en) | Multifunctional keyboard | |
CN211827265U (en) | PCIE-SD card conversion circuit and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |