CN1485787A - Memory card identification method and marking equipment - Google Patents
Memory card identification method and marking equipment Download PDFInfo
- Publication number
- CN1485787A CN1485787A CNA021313008A CN02131300A CN1485787A CN 1485787 A CN1485787 A CN 1485787A CN A021313008 A CNA021313008 A CN A021313008A CN 02131300 A CN02131300 A CN 02131300A CN 1485787 A CN1485787 A CN 1485787A
- Authority
- CN
- China
- Prior art keywords
- card
- storage card
- storage
- reader
- marking equipment
- 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
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a storing card identification method and marking equipment thereof which combines the computer screen display with the LED display on the card reader, when the storing card is inserted into the card reader, the logo and information for the storing card will be displayed not only on the computer screen, but also on the LED of the marking machine, which can let the user know which storing card he is using. The invention can help the user use the storage card and card-reading device accurately.
Description
Technical field
The present invention relates to a kind ofly be convenient to User Recognition and use the storage card identification method of multiple storage card and the marking equipment of implementing this method, belong to computer application field.
Background technology
Small and exquisite, the portable electronic equipment for consumption of popular in the market many profiles, for example MP3 walkman, mobile phone, palm PC etc., nearly all electronic equipment has all adopted the storage card of certain form.Many manufacturers concentrate technical advantage separately, jointly storage card are expanded to become and utilize the family platform, and it can be adapted to better in future comprise static and mobile image, and the content of multimedia such as music by the various network services distribution.Existing storage card kind is more, and wherein several storage cards of main flow comprise: MEMORY STICK, SECURE DIGITAL, COMPACT FLASH, SMART MEDIA, MULTIMEIDACARD.Support the slot of various storage cards also on various portable consumer class of electronic devices, to occur, but because a sharp portable electronic equipment for consumption is generally only supported a kind of storage card, the restriction of aspects such as storage card self-capacity and compatibility in addition, what therefore more need is being connected of realization and PC.Therefore 6 unification card reader have appearred on the market, make between each storage card and storage card and PC be connected to become possibility.
At present, the card reader that can see on the market all is a lamp, even two lamps, wherein one also is power light, basic in the course of the work not effect; And the demonstration in operating system substantially all is the acquiescence demonstration of system.The user, tends to be at a loss simultaneously again facing to two or four draw-in grooves on the card reader in the face of one or more storage cards in the hand; What duty storage card is at present also can't be learnt; Simultaneously, can't accurately differentiate a plurality of " moveable magnetic discs " that show on the computing machine on earth which correspondence be the storage card of oneself working.Therefore, to domestic consumer, discerning existing miscellaneous storage card still has certain difficulty.
Summary of the invention
The objective of the invention is to provides simple to operate, a clear and definite storage card identification method for the user, can by computer screen show and card reader on the mode that matches of light emitting diode (hereinafter to be referred as LED) demonstration allow the user accurately, easily the various storage cards on the reading card device distinguish, carry out correct operation, loss of data or the physical damage of avoiding maloperation to cause.
Another object of the present invention is to provide a kind of storage card marking equipment of implementing the said memory card identification method.
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
A kind of storage card identification method is used to make things convenient for User Recognition and uses multiple storage card, and described method comprises the steps:
(1) operating system reading card device carries out initialization, and card reader is returned its descriptor information;
(2) in the card-reader driver program inquiry card reader whether storage card is arranged;
(3) card reader detects;
(4) if do not have, then the direct initialization of card reader finishes; If have, reader identification and judge card type memory then, notice drives has card to insert, the information of transmission storage card;
(5) after card reader was returned information such as card type memory, capacity, initialization finished;
(6) driving is given primary control program by message interface with information feedback;
(7) primary control program utilizes api function that the diagram and the literal of storage card are set;
(8) operating system shows card type memory information.
A kind of storage card marking equipment comprises the Card Reader circuit that is connected with storage card, and NAND gate circuit, output buffer and light emitting diode display circuit is characterized in that:
The described Card Reader circuit that is connected with storage card connects output buffer by NAND gate circuit, described output buffer sending and receiving optical diode display circuit;
Described output buffer connects the deck feed circuit.
Storage card identification method of the present invention and marking equipment by simple and clear image and literal, with the card reader deck one to one in LED, the operating system demonstration of disk help the user to use storage card and card reader accurately and fast, prevent the adverse consequences that loss of data that maloperation brings and storage card damage.
Description of drawings
The disk that Figure 1 shows that double cassettes card reader in the operating system shows example.
Figure 2 shows that the process flow diagram of this storage card identification method.
Figure 3 shows that the process flow diagram of computer screen display routine.
Figure 4 shows that the schematic block circuit diagram of the marking equipment of implementing this storage card identification method.
Figure 5 shows that the circuit theory diagrams of an embodiment of the marking equipment of implementing this storage card identification method.
Embodiment
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
The storage card of main flow roughly has five kinds at present, adds the IBM MICRO DRIVER (small harddisk) that adopts same-interface with the CF card, and card reader can be supported the read-write of following six kinds of storage cards.These six kinds of cards are respectively MS, SM, SD, MMC, CF, MD, and wherein: MS is the abbreviation of memory stick (MEMORY STICK); SM is the abbreviation of smart media (SMART MEDIA); SD is the abbreviation of secure digital storer (SECURE DIGITAL); MMC is the abbreviation of multimedia card (MULTIMEDIA CARD); CF is the abbreviation of compact flash (COMPACT FLASH); MD is the abbreviation of small harddisk (MICRO DRIVER).
Above-mentioned various storage card form has nothing in common with each other, but some is also more close.Card reader be in order to support the work of above-mentioned several cards simultaneously, integrated two or four decks, and each deck is supported one or more storage cards wherein simultaneously.At present, in computer system, use the memory device of multiple USB interface and other interface, and most use is USB mass memory (MASS STORAGE) technology.For example flash disk, USB portable hard drive, utilize USB interface card reader and the computing machine of introducing above exactly carries out several storage cards of communication in addition.
When in computing machine, using the said equipment, show bar none all " moveable magnetic disc X " that wherein X is the expression of drive order.Because the user uses the various of equipment order and kind, and in the operating system when showing, drive of a deck correspondence normally.If card reader has two or four decks, just will demonstrate two or four " moveable magnetic disc X " in system so more, seem very chaotic, the user often forget which " moveable magnetic disc X " corresponding be oneself to be ready carrying out apparatus operating.In this case, the common operation of user is to open each equipment one by one, is distinguished by viewing content; Perhaps plug and oneself want apparatus operating, waiting system is discerned again to judge.Obviously, such operation extremely bothers.
The characteristics of storage card identification method of the present invention are LED demonstration on computer screen demonstration and the card reader is worked in coordination.When storage card inserts card reader, not only on the screen of computing machine, can show the icon and the information of this storage card, and the LED on the storage card marking equipment also can cooperate demonstration, which storage card what allow the clear and definite current operation of user is.For this reason, the present invention need solve the problem of two aspects.First problem is the demonstration of disk in the operating system, comprises diagram and literal or wherein a kind of mode; Second problem is to adopt two or four LED to represent the duty of storage card and card reader.Specify as follows below:
Figure 2 shows that the process flow diagram of this storage card identification method.Below in conjunction with this process flow diagram, the inventive method is specified as follows:
1. when not having storage card to insert in the card reader, the LED in the storage card marking equipment is in the state of knocking out, and operating system only shows two drives: " moveable magnetic disc X " " moveable magnetic disc Y "; If four draw-in grooves are arranged, may show four similar drives;
2. when storage card inserted card reader, the LED in the storage card marking equipment began flicker.By the following course of work, can realize in operating system that drive is shown as the name of the storage card of insertion.For example: when inserting the CF card, operating system is shown as accordingly: CF:(H).Remaining can show the abbreviation and the full name of storage card according to user's memory and the convenience of using:
A) when inserting card reader, at first be the identifying of operating system reading card device, the slave unit end obtains the identifying information of equipment;
B) the card reader feedback has been inserted the type of the storage card in the card reader now; In the driving of card reader, added the function of identification memory card type, detect the current storage card that has inserted by each deck relevant hardware testing circuit, simultaneously, in device descriptive information, embody;
C) after the layoutprocedure end of operating system to peripheral hardware, system has also just obtained the type of storage card in the current card reader;
D) after the identifying of operating system reading card device finishes, as if there being new storage card to insert, the same hardware detecting circuit of passing through separately detects and judgement, sends relevant information then to operating system; Operating system can obtain the card type memory in the current card reader equally;
E) information obtain in order to allow operating system show can utilize api function that operating system provides with the content that the diagram and the literal of disk is replaced as user's appointment, promptly forces label information;
3. read the card reader of single deck tape-recorder for single groove, understand in a certain order, such as, E:CF, F:SM, G:MS etc. do identification (comprising type and capacity) one by one; Draw-in groove for All-in-One, though device driver has only one, but have the order of a traversal equally at several different card type memories, the type and the capacity of the automatic identification memory card of opertaing device meeting, driver only need finish in opertaing device identification corresponding information feedback is got final product to operating system.At this moment, can force label information equally.
4. when carrying out message exchange (promptly in running order) between storage card and the computing machine, operating system can be sent instruction to the storage card marking equipment, makes LED continue flicker, till stopping work such as read-write.
The present invention is for realizing the demonstration of storage card in operating system, the built-in curing of reading card device drives changes, realized the demonstration of drive as shown in Figure 1, the demonstration that is drive is the title and the corresponding diagram of the storage card that inserts in the deck, and the user can be according to own conveniently changing of remembering.The particular flow sheet of this driving as shown in Figure 3.
Card reader is got in touch by IRP instruction set and equipment foundation after inserting storage card.So-called IRP (I/Orequest Packet) is that operating system and equipment are set up the command set of getting in touch.Utilize the GetDriverType function can obtain the type of equipment in the driving, thereby confirm whether this is a movably equipment.If then subsequently judge whether to have a plurality of interfaces.Because the driver that has can be with a plurality of interfaces, MEMORY STICK for example, SMART MEDIA etc., the driver that has can only connect an interface, for example CF.Both of these case is incomplete same when identification memory card.The driver of many interfaces need be set up PDO (physical device object, physical device object) on USB HUB.Obtaining hardwareID (hwid) has two kinds of methods, and a kind of is by the IoGetDeviceProperty function, and another kind is to order by IRP_MN_QUERY_ID.HardwareID comprises 2 partial contents, i.e. VID (voltage identification symbol) and PID (Process identifier).Can identify this according to VID and PID is any card, and by the label of SetVolumeLabel function setup storage card, this label can be arranged to the content of operating system acquiescence, also can be arranged to user's content of appointment voluntarily, promptly forces label information then.Because this label writes on the system region of storage card, so when this storage card moves on on other card reader, still show same label.
By the above-mentioned course of work, can solve the demonstration problem of disk in the operating system.Described below is to adopt two or four LED to represent the solution of the duty of storage card and card reader.
The existing six directions one card reader has been seen two draw-in grooves from outside surface, but in fact its inside have four relatively independent draw-in groove circuit, the shared CF draw-in groove of CF and MD wherein, the mmc card groove of shared four unifications of SD and MMC, two other is respectively MS draw-in groove and SM draw-in groove, respectively corresponding four the relatively independent Card Reader circuit of these four draw-in grooves.The Card Reader circuit has not just been given unnecessary details here as known technology.Problem solved by the invention is at the situation that two or four decks are arranged on the card reader, uses two or four LED to identify the duty of storage card and card reader respectively; Each LED identifies the duty of storage card in its corresponding deck.The theory diagram of the circuit that addresses this problem as shown in Figure 4.CF/MICRO DRIVER, the SM that draws from four Card Reader circuit, the identification signal of SD/MMC, MS are passed to output buffer through NAND gate circuit, connect the LED display circuit by output buffer again and show.Output buffer is connected to the deck feed circuit in addition.
Figure 5 shows that the circuit theory diagrams of an embodiment of this storage card marking equipment.Wherein FIORD0, FIOWR0 are the reading writing signal line of CF/MICRODRIVER, are used for detecting the read-write of CF/MICRO DRIVER, and its high level is effective.FIORD1, FIOWR1 are the reading writing signal line of SM, and to detect the read-write of SM, its high level is effective.FCS4 is the command signal line of SD/MMC, detects the read-write of SD/MMC, and its high level is effective.Owing to when read-write MS, be bound to use external SRAM, just can use when also having only read-write MS, the read-write that therefore detects MS has utilized the output enable signal line FRAS of SRAM, and its high level is effective.FIORD0, FIOWR0 are connected on 1,2 pin of 74HC08 chip U61A respectively, the status signal of CF/MICRO DRIVER is input to 2 pin of 74HC125 output buffer through the Sheffer stroke gate of 74HC08 and SI2301DS composition, FIORD1, FIOWR1 are connected on 4,5 pin of 74HC08 chip U61B respectively, and its output terminal 6 pin connect 12 pin of next 74HC08 chip U61D.FRAS, FCS4 connect 9,10 pin of 74HC08 chip U61C respectively, 13 pin of its output termination U61D, and 11 pin of U61D connect 5 pin of 74HC125 output buffer behind SI2301DS transistor Q62.In foregoing circuit, the NAND gate circuit that 74HC08 and SI2301DS form.1 pin of output buffer 74HC125 links to each other with the PWREN signal of card reader with 4 pin, and PWREN is the control end of deck supply voltage.LED61 and LED62 that 3 pin of 74HC125 and 6 pin connect respectively, and LED61 and LED62 meet VCC2 through resistance R 65 and R66 respectively.Because the Enable Pin signal low level of output buffer 74HC125 is effective, when the card insertion is started working, its output low level.When 1 and 2 pin of 74HC125 all are low level, 3 pin output low levels, LED61 connects, and begins to light.Another one LED also is like this.
In order more to clearly illustrate the duty of storage card, can be set as follows scheme for flickering of LED:
When inserting storage card: the LED flicker knocks out;
When storage card was in running order: LED continued flicker, waited work up to stopping read-write;
Do not have when in running order when having card or card in the deck, LED is in the state of knocking out.
Use above-mentioned LED displaying scheme can clearly point out the duty of the current storage card of user, prevent user misoperation, avoid causing data not exclusively or the losing or cause physical damage of data to storage card.
What need statement is; particular of the present invention is described in detail the present invention; for a person skilled in the art, the various conspicuous change of under the situation that does not deviate from the spirit and scope of the present invention it being carried out is all within protection scope of the present invention.
Claims (10)
1. a storage card identification method is used to make things convenient for User Recognition and uses multiple storage card, and described method comprises the steps:
(1) operating system reading card device carries out initialization, and card reader is returned its descriptor information;
(2) in the card-reader driver program inquiry card reader whether storage card is arranged;
(3) card reader detects;
(4) if do not have, then the direct initialization of card reader finishes; If have, reader identification and judge card type memory then, notice drives has card to insert, the information of transmission storage card;
(5) after card reader was returned information such as card type memory, capacity, initialization finished;
(6) driving is given primary control program by message interface with information feedback;
(7) primary control program utilizes api function that the diagram and the literal of storage card are set;
(8) operating system shows card type memory information.
2. storage card identification method as claimed in claim 1 is characterized in that:
When not having storage card in the card reader, the light emitting diode in the storage card marking equipment is in and extinguishes state in the described step (4); When in the card reader storage card being arranged, the LED flash in the storage card marking equipment.
3. storage card identification method as claimed in claim 1 is characterized in that:
After the card reader initialization finished in the described step (5), the light emitting diode in the storage card marking equipment was in and extinguishes state;
4. storage card identification method as claimed in claim 1 is characterized in that:
The diagram of the storage card described in the described step (7) and literal are the content of operating system acquiescence or the user content of appointment voluntarily.
5. storage card identification method as claimed in claim 1 is characterized in that:
When carrying out message exchange between storage card and the operating system, the light emitting diode in the storage card marking equipment continues flicker, till the Stop message exchange.
6. an enforcement comprises the Card Reader circuit that is connected with storage card as the storage card marking equipment of storage card identification method as described in claim 2 or 3 or 5, and NAND gate circuit, output buffer and light emitting diode display circuit is characterized in that:
The described Card Reader circuit that is connected with storage card connects output buffer by NAND gate circuit, described output buffer sending and receiving optical diode display circuit;
Described output buffer connects the deck feed circuit.
7. storage card marking equipment as claimed in claim 6 is characterized in that:
Described output buffer is 74HC125;
Described NAND gate circuit is formed by 74HC08 chip and SI2301DS chip serial connection.
8. storage card marking equipment as claimed in claim 6 is characterized in that:
Described storage card comprises memory stick, smart media, secure digital storer, multimedia card, compact flash, small harddisk.
9. storage card marking equipment as claimed in claim 6 is characterized in that:
The shared Card Reader circuit of described compact flash and small harddisk.
10. storage card marking equipment as claimed in claim 6 is characterized in that:
The shared Card Reader circuit of described secure digital storer and multimedia card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021313008A CN100334569C (en) | 2002-09-24 | 2002-09-24 | Memory card identification method and marking equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021313008A CN100334569C (en) | 2002-09-24 | 2002-09-24 | Memory card identification method and marking equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1485787A true CN1485787A (en) | 2004-03-31 |
CN100334569C CN100334569C (en) | 2007-08-29 |
Family
ID=34144883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021313008A Expired - Fee Related CN100334569C (en) | 2002-09-24 | 2002-09-24 | Memory card identification method and marking equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100334569C (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100343788C (en) * | 2004-09-27 | 2007-10-17 | 威盛电子股份有限公司 | Graphic replacing method and device thereof |
CN100371919C (en) * | 2004-07-16 | 2008-02-27 | 安国国际科技股份有限公司 | Improved card reader and its data transmission method |
CN100461139C (en) * | 2005-10-26 | 2009-02-11 | 威盛电子股份有限公司 | Apparatus and method for access of fast flash memory cord |
CN1790263B (en) * | 2004-12-13 | 2010-05-26 | 深圳市朗科科技股份有限公司 | Mobile memory device and its icon changing method |
CN101458670B (en) * | 2007-12-11 | 2010-10-13 | 瑞昱半导体股份有限公司 | Memory card operating system and method thereof |
CN102082871A (en) * | 2010-12-27 | 2011-06-01 | 上海华勤通讯技术有限公司 | Method for intelligently identifying T card by mobile phone |
CN103677716A (en) * | 2013-12-13 | 2014-03-26 | 广州金山网络科技有限公司 | Disk signature display method and device |
CN105335302A (en) * | 2014-06-19 | 2016-02-17 | 北京壹人壹本信息科技有限公司 | Storage display method and system and intelligent terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100367588B1 (en) * | 2000-01-24 | 2003-01-10 | 엘지전자 주식회사 | Rca allocation apparatus and method for digital data player |
US6438638B1 (en) * | 2000-07-06 | 2002-08-20 | Onspec Electronic, Inc. | Flashtoaster for reading several types of flash-memory cards with or without a PC |
CN2509652Y (en) * | 2001-12-26 | 2002-09-04 | 链达电子工业股份有限公司 | Memory card connecting base assembly and its detecting device |
-
2002
- 2002-09-24 CN CNB021313008A patent/CN100334569C/en not_active Expired - Fee Related
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100371919C (en) * | 2004-07-16 | 2008-02-27 | 安国国际科技股份有限公司 | Improved card reader and its data transmission method |
CN100343788C (en) * | 2004-09-27 | 2007-10-17 | 威盛电子股份有限公司 | Graphic replacing method and device thereof |
CN1790263B (en) * | 2004-12-13 | 2010-05-26 | 深圳市朗科科技股份有限公司 | Mobile memory device and its icon changing method |
CN100461139C (en) * | 2005-10-26 | 2009-02-11 | 威盛电子股份有限公司 | Apparatus and method for access of fast flash memory cord |
CN101458670B (en) * | 2007-12-11 | 2010-10-13 | 瑞昱半导体股份有限公司 | Memory card operating system and method thereof |
CN102082871A (en) * | 2010-12-27 | 2011-06-01 | 上海华勤通讯技术有限公司 | Method for intelligently identifying T card by mobile phone |
CN103677716A (en) * | 2013-12-13 | 2014-03-26 | 广州金山网络科技有限公司 | Disk signature display method and device |
CN105335302A (en) * | 2014-06-19 | 2016-02-17 | 北京壹人壹本信息科技有限公司 | Storage display method and system and intelligent terminal |
CN105335302B (en) * | 2014-06-19 | 2018-03-02 | 北京壹人壹本信息科技有限公司 | One kind storage display methods, system and intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN100334569C (en) | 2007-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN2602418Y (en) | Card reader for the flash memory | |
CN1313941C (en) | Method for data exchange between data handling equipment and operating system | |
CN101494086B (en) | Memory device, controller and switching method for flash memory | |
US20080034135A1 (en) | Portable device with embedded identification modules | |
CN100334569C (en) | Memory card identification method and marking equipment | |
CN101567052A (en) | System and method for issuing intelligent card with USB interface | |
US7252240B1 (en) | Memory module which includes a form factor connector | |
CN1838099A (en) | Host and apparatus with multiple communication protocol modes, apparatus with single mode and method thereof | |
CN103440334A (en) | Driver matching method and device of mobile terminal | |
US20050092846A1 (en) | Simulated smartmedia/XD-picture memory card capable of using various kinds on non-volatile memory | |
CN1338682A (en) | Electronic device, apparatus therewith and data reading-out method according to relevant application file | |
CN1889189A (en) | Partition-supporting flash storing memory device | |
US6976623B1 (en) | Flash juke box | |
US20050173529A1 (en) | Multi-card data transfer device | |
US20050050390A1 (en) | Digital data transmitter | |
CN1456957A (en) | IDE hard disc interface for supporting hot inserting and startup as inserting memory card | |
CN1435796A (en) | Memroy drive device compatible with multiple mobile memory cards | |
CN2567638Y (en) | Multifunction read-write apparatus of computer | |
US20080074299A1 (en) | Electrical signal converting system | |
CN2496063Y (en) | Non-voltability solid-state memory driver | |
CN210295085U (en) | PC hard disk interaction system based on OTG data line | |
CN2629111Y (en) | Mobile storing equipment | |
EP1519278A1 (en) | Device for transferring data between memory cards | |
CN2762226Y (en) | Multiple-in-one portable digital document storage converter | |
CN201742450U (en) | Mobile phone with A-type USB port |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070829 Termination date: 20200924 |