CN100334569C - Memory card identification method and marking equipment - Google Patents

Memory card identification method and marking equipment Download PDF

Info

Publication number
CN100334569C
CN100334569C CNB021313008A CN02131300A CN100334569C CN 100334569 C CN100334569 C CN 100334569C CN B021313008 A CNB021313008 A CN B021313008A CN 02131300 A CN02131300 A CN 02131300A CN 100334569 C CN100334569 C CN 100334569C
Authority
CN
China
Prior art keywords
card
reader
storage card
card reader
storage
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.)
Expired - Fee Related
Application number
CNB021313008A
Other languages
Chinese (zh)
Other versions
CN1485787A (en
Inventor
姜军红
竺树铭
陈钧舫
李波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB021313008A priority Critical patent/CN100334569C/en
Publication of CN1485787A publication Critical patent/CN1485787A/en
Application granted granted Critical
Publication of CN100334569C publication Critical patent/CN100334569C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention discloses a memory card identification method and marking equipment. The memory card identification method mutually matches computer screen display and LED display on a card reader. When a memory card is inserted into the card reader, an icon and information of the memory card are displayed on a computer screen; moreover, an LED on the marking equipment can also be matched for display to make a user know the memory card of current operation. The present invention prevents the undesirable effects of the loss of data and the damage of the memory card due to misoperation by the display of discs in the LED and a system which correspond to simple and obvious images, characters and a card holder of the card reader one by one to help the user accurately and rapidly use the memory card and the card reader.

Description

Storage card identification method and marking equipment
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, and jointly storage card being expanded becomes a kind of user 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 kind of portable consumer class of electronic devices 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 light emitting diode (hereinafter to be referred as LED) show the mode that matches allow the user accurately, easily each the sharp kind storage card 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 is integrated in two or four decks in order to support the work of above-mentioned several cards simultaneously, 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 sharp corresponding diagram of the title 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/O request 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 FIORDO, FIOWRO 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.FIORDO, FIOWRO 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 (5)

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, the notice card-reader driver program has card to insert, and to the type and the capacity information of card-reader driver program transmission storage card;
(5) card reader is after card-reader driver program is returned described information, and initialization finishes;
(6) card-reader driver program is given primary control program by message interface with described 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 card reader is in and extinguishes state in the described step (4); When in the card reader storage card being arranged, the LED flash in the card reader.
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 card reader 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 card reader continues flicker, till the Stop message exchange.
CNB021313008A 2002-09-24 2002-09-24 Memory card identification method and marking equipment Expired - Fee Related CN100334569C (en)

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 CN1485787A (en) 2004-03-31
CN100334569C true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
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
CN105335302B (en) * 2014-06-19 2018-03-02 北京壹人壹本信息科技有限公司 One kind storage display methods, system and intelligent terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1307281A (en) * 2000-01-24 2001-08-08 Lg电子株式会社 Relative allocation device and method for data storage card
WO2002005102A1 (en) * 2000-07-06 2002-01-17 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1307281A (en) * 2000-01-24 2001-08-08 Lg电子株式会社 Relative allocation device and method for data storage card
WO2002005102A1 (en) * 2000-07-06 2002-01-17 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

Also Published As

Publication number Publication date
CN1485787A (en) 2004-03-31

Similar Documents

Publication Publication Date Title
US20040059846A1 (en) Double interface SD flash memory card
US6681991B1 (en) Card reading device having a multi-functional connector
KR20070092685A (en) Method and apparatus for protocol selection on icc
US20100125689A1 (en) Electronic apparatus capable of receiving different types of memory cards
CN102609741B (en) A kind of method of exchanges data between mobile device and inside and outside portion storage card thereof
WO2004047111A1 (en) Data memory
CN100334569C (en) Memory card identification method and marking equipment
CN104765705A (en) Method and device for reading data stored by turned-off mobile terminal and mobile terminal
US6728812B1 (en) Portable information terminal
US7249710B2 (en) Method of dynamic icons and labels showing status of the memory card in a card reader
CN100447733C (en) Communication system, information processing device, peripheral device and communication method
US20050092846A1 (en) Simulated smartmedia/XD-picture memory card capable of using various kinds on non-volatile memory
CN105808459A (en) External equipment identification method and device, and electronic equipment
US20050173529A1 (en) Multi-card data transfer device
US20050050390A1 (en) Digital data transmitter
CN104834875A (en) Computer secondary mainboard system for physical isolation for information security and isolation method
KR100571887B1 (en) A portable memory-card backup device
KR200362446Y1 (en) Memory Card Storage Device
CN102541716A (en) Pluggable memory and quick identification method thereof
US20080074299A1 (en) Electrical signal converting system
EP1519278A1 (en) Device for transferring data between memory cards
KR100480013B1 (en) Universal Memory Card Adapter and The Interfacing Method thereof
KR20030031527A (en) method for operating control of portable data storage device having an advertising function and performing the same
US20090014521A1 (en) Card reader
CN101739257A (en) Method and device for identifying and outputting information of mobile terminal component

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

Granted publication date: 20070829

Termination date: 20200924

CF01 Termination of patent right due to non-payment of annual fee