CN111428526A - Function card identification method and mobile device - Google Patents

Function card identification method and mobile device Download PDF

Info

Publication number
CN111428526A
CN111428526A CN201811584243.9A CN201811584243A CN111428526A CN 111428526 A CN111428526 A CN 111428526A CN 201811584243 A CN201811584243 A CN 201811584243A CN 111428526 A CN111428526 A CN 111428526A
Authority
CN
China
Prior art keywords
card
function
type
voltage
functional
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
Application number
CN201811584243.9A
Other languages
Chinese (zh)
Other versions
CN111428526B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201811584243.9A priority Critical patent/CN111428526B/en
Priority to PCT/CN2019/096433 priority patent/WO2020134037A1/en
Publication of CN111428526A publication Critical patent/CN111428526A/en
Application granted granted Critical
Publication of CN111428526B publication Critical patent/CN111428526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0052Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers connectors capable of contacting cards of different formats, e.g. memory stick and SD card readers sharing at least one connector contact and the associated signal line, e.g. both using the same signal line for input or output of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/067Record 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/07Record 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/067Record 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/07Record 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/0722Record 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 comprising an arrangement for testing the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method for identifying a function card and mobile equipment, wherein the method for identifying the function card comprises the following steps: electrifying the functional card to be identified by adopting a first voltage; identifying whether the functional card is a first type memory card or a first type identity identification card; if not, adjusting the power supply voltage of the function card to a second voltage; identifying whether the functional card is a second type memory card or a second type identity identification card; wherein the second voltage is greater than the first voltage. By the mode, the condition that the function card is damaged due to overhigh voltage can be avoided, and the identification efficiency is improved.

Description

Function card identification method and mobile device
Technical Field
The present application relates to the field of card identification technologies, and in particular, to a method for identifying a function card and a mobile device.
Background
Due to the characteristics of large storage capacity, convenience in carrying, high reading and writing speed and the like, functional cards such as memory cards, identity identification cards and the like are supported by more and more terminal devices. At present, after a function card is inserted, a terminal device loads data on the function card through an identification program to identify the function card.
Taking the example of an EMMC card, an SD card, and a SIM card, when identifying an EMMC card and an SD card, a CMD8 command and an ACMD41 command are typically employed to determine whether the SD card responds to identify the SD card. This approach requires two steps to implement, is slow, has low recognition efficiency, and is not compatible with SIM cards.
Disclosure of Invention
The application mainly provides a functional card identification method and mobile equipment, and can solve the problems that in the prior art, the functional card identification rate is low and the functional card is incompatible with an SIM card.
One mode adopted by the present application is to provide a method for identifying a function card, where the function card includes a first-type memory card, a second-type memory card, a first-type identification card, and a second-type identification card, and the method includes: electrifying the functional card to be identified by adopting a first voltage; identifying whether the functional card is a first type memory card or a first type identity identification card; if not, adjusting the power supply voltage of the function card to a second voltage; identifying whether the functional card is a second type memory card or a second type identity identification card; wherein the second voltage is greater than the first voltage.
The first type of memory card is an EMMC card, and the first type of identity recognition card is a 1.8V SIM card; the step of identifying whether the function card is a first type memory card or a first type identification card comprises the following steps: sending an initialization command of an EMMC protocol to a function card; detecting whether a command pin of the function card has a response; if there is a response, the function card is identified as an EMMC card.
The initialization command of the EMMC protocol is the CMD1 command.
The first type of memory card is an EMMC card, and the first type of identity recognition card is a 1.8V SIM card; the step of identifying whether the function card is a first type memory card or a first type identification card comprises the following steps: carrying out SIM card resetting operation on the function card; detecting whether the function card has a reset response; and if the reset response exists, identifying the function card as the 1.8V SIM card.
The second type of memory card is an SD card, and the second type of identity recognition card is a 3V SIM card; the step of identifying whether the function card is a second type memory card or a second type identification card comprises the following steps: sending an initialization command of an SD protocol to the functional card; detecting whether a command pin of the function card has a response; if there is a response, the function card is recognized as an SD card.
The initialization command of the SD protocol is a CMD8 command.
The second type of memory card is an SD card, and the second type of identity recognition card is a 3V SIM card; the step of identifying whether the function card is a second type memory card or a second type identification card comprises the following steps: carrying out SIM card resetting operation on the function card; detecting whether the function card has a reset response; and if the reset response exists, identifying the function card as the 3V SIM card.
Wherein the first voltage is 1.8V, and the second voltage is 3V.
Before an initialization command of an EMMC protocol is sent to a function card; and/or before sending the initialization command of the SD protocol to the functional card, further comprising: and sending a reset command which is common to the EMMC protocol and the SD protocol to the functional card so as to enable the functional card to be identified to enter an idle state.
Wherein, the method also comprises: and powering off the function card, and powering on the function card for the second time under the first voltage or the second voltage according to the type of the function card so as to operate the function card.
One mode adopted by the present application is to provide a mobile device, where the mobile device includes a controller and a card slot, the card slot is used for accommodating a function card and electrically connecting the function card with the controller, and the controller is used for identifying the function card by using the above method.
The identification method of the function card comprises the following steps: electrifying the functional card to be identified by adopting a first voltage; identifying whether the functional card is a first type memory card or a first type identity identification card; if not, adjusting the power supply voltage of the function card to a second voltage; identifying whether the functional card is a second type memory card or a second type identity identification card; wherein the second voltage is greater than the first voltage. By the mode, the identification process of two different voltages is carried out by utilizing the working voltages of the function cards of different types, the condition that the function cards are damaged due to overhigh voltage is avoided, the function cards of four different types can be identified, and the identification efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flowchart of a first embodiment of a method for identifying a function card provided in the present application;
fig. 2 is a schematic flowchart of a second embodiment of the identification method for a function card provided in the present application;
fig. 3 is a schematic flowchart of a third embodiment of a method for identifying a function card provided in the present application;
FIG. 4 is a schematic block diagram of an embodiment of a mobile device provided herein;
fig. 5 is a schematic structural diagram of a card holder in an embodiment of the mobile device provided in the present application.
Detailed Description
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The functional card of the present invention refers to a card-type product that is used for electronic devices such as mobile phones, digital cameras, portable computers, tablets, PDAs (personal digital assistants), etc., and that can realize functions such as storage, communication, etc. Which may include MMC cards, EMMC cards, EMCP cards, SD cards, SIM cards, and the like.
The memory card is an independent storage medium used in mobile phones, digital cameras, portable computers, MP3 and other digital products, and is generally in the form of a card, and is also called as a "memory card", which is also called as a "digital memory card", a "memory card", and the like. The embodiments of the present application mainly introduce the identification methods of the SD card and the EMMC card. The identification card is mainly used for identifying the identity of a user, such as a SIM card.
An SD Card (Secure Digital Memory Card) is a new generation of Memory devices based on semiconductor flash Memory, and has high Memory capacity, fast data transfer rate, great mobility and good security. The SD cards generally include standard SD cards and Micro SD cards.
SIM cards (Subscriber Identification Module), also called SIM identity cards, smart cards, GSM digital mobile phones must be equipped with the card to be used, SIM cards generally include standard SIM cards, Micro SIM cards and Nano SIM cards, the Micro SIM cards, also called 3FF SIM cards, the third specification SIM, size 12x15mm × 0.8mm, 52% smaller than the second SIM card specification 15x25mm × 0.8mm used in our cell phone, the Nano SIM card is a 4 standard SIM card, the Nano SIM card is one third smaller than the Micro SIM card, 60% smaller than the standard SIM card, and 15% smaller in thickness, the size 12.3mm × 8.8.8 mm × 0.7.7 mm.
The EMMC (Embedded multimedia Card) is an Embedded memory standard specification established by the MMC association and mainly for products such as mobile phones or tablet computers. One significant advantage of EMMC is the integration of a controller in the package that provides a standard interface and manages the flash memory so that the handset manufacturer can focus on other parts of the product development and shorten the time to market the product. These features are equally important to NAND vendors who wish to reduce the size of the lithography and reduce cost.
The SD card has nine pins, and is divided into two operation modes, namely an SD mode and an SPI mode. In this embodiment, the SD card mainly operates in the SD mode, and therefore the DAT3 pin of the SD card cannot be grounded, so as to prevent the SD card from being switched to the SPI mode. Specifically, the DAT3 pin of the memory card to be identified is powered up so that the DAT3 pin is in a non-grounded state.
The pins of the SD card are shown in the following table:
Figure BDA0001918694990000041
Figure BDA0001918694990000051
the EMMC comprises a NAND flash, a controller and a standard packaging interface.
The SIM card typically has 8 pins, as shown in the following table:
pin number Name (R) Function(s)
1 VCC Power supply
2 RST Reduction of position
3 CLK Clock (CN)
4 Do not provide
5 GND Ground connection
6 VPP Programming voltage
7 I/O Data of
8 Do not provide
Referring to fig. 1, fig. 1 is a schematic flow chart of a fifth embodiment of a method for identifying a function card provided by the present application, where the method includes:
step 11: and electrifying the functional card to be identified by adopting a first voltage.
It can be understood that different types of memory cards or identification cards may have different operating voltages, and some functional cards may not be driven to identify if the voltage is low, and some functional cards may be burned out if the voltage is high.
Optionally, in an embodiment, the operating voltage of the EMMC card is 3V, but the EMMC card can identify it at both 1.8V and 3V; the SIM card comprises two types, wherein the working voltage of the 1.8V SIM card is 1.8V, the working voltage of the 3V SIM card is 3V, and the working voltage of the SD card is 3V. Therefore, in step 11, the function card to be identified is specifically powered up by using a voltage of 1.8V.
Step 12: and identifying whether the functional card is a first type memory card or a first type identity identification card.
This is exemplified here by an EMMC card and a SIM card.
Optionally, the method of identifying the EMMC card or the method of identifying the SIM card may be respectively adopted, for example, whether the functional card to be identified is the EMMC card is detected first, and if not, whether the functional card is the SIM card is detected. Or, firstly, detecting whether the functional card to be identified is the SIM card, and if not, then detecting whether the functional card is the EMMC card.
Since the EMMC protocol is also used by the EMMC card, it can be identified whether the function card is an EMMC card by: sending an initialization command of an EMMC protocol to a function card; detecting whether a command pin of the function card has a response; if the response is stored, the function card is identified as the EMMC card. Specifically, the initialization command of the EMMC protocol is the CMD1 command.
Optionally, when the EMMC protocol is identified, before the CMD1 command is sent, a reset command of the EMMC protocol may be sent to the function card, so that the function card to be identified enters an idle state. Specifically, the reset command of the EMMC protocol is CMD 0.
The identification of the SIM card can be done by: carrying out SIM card resetting operation on the function card; detecting whether the function card has a reset response; and if the reset response exists, identifying the function card as the 1.8V SIM card. Specifically, the SIM card reset operation includes a cold reset and a hot reset.
And cold reset, wherein initially, all pins are at a low potential (L state), the voltage range is 0-0.4V, the VCC pin is electrified firstly and then provides VPP programming voltage (in the intelligent SIM card, VPP is useless), after the voltage of the VCC pin is stabilized for a period of time, the I/O pin is set to a receiving mode (H state) and provides a stable C L K clock signal, the RST pin needs to provide a C L K signal and then keeps L state within 400 clock cycles, and then can be set to the H state, and the I/O pin is detected to have reset response within 4000 clock cycles after the RST pin reset signal is provided.
The method comprises the steps of carrying out hot reset, wherein the hot reset is used under the condition that cold reset fails, VCC is kept in an H state in the process, a stable C L K clock signal is provided, the time for keeping a RST pin in a L state during the hot reset is at least 400 clock cycles, an I/O pin is set to be a receiving mode within 200 clock cycles before or after the RST pin is set to be a L state, and the I/O pin is detected to have reset response within 400 and 4000 clock cycles after the RST is set to be the H state.
If the judgment result in the step 12 is yes, the function card is identified as the EMMC card or the 1.8V SIM card. When the determination result of step 12 is no, step 13 is executed.
Step 13: and adjusting the power supply voltage of the function card to a second voltage.
Wherein the second voltage is 3V.
Step 14: and identifying whether the functional card is a second type memory card or a second type identity identification card.
Here exemplified by an SD card and a SIM card.
Here, the SIM card identification method or the SD card identification method may be respectively adopted, for example, whether the functional card to be identified is the SIM card is detected first, and if not, whether the functional card is the SD card is detected. Or, firstly, detecting whether the functional card to be identified is the SD card, and if not, then detecting whether the functional card is the SIM card.
The method in step 12 may be referred to for the identification of the SIM card, specifically: carrying out SIM card resetting operation on the function card; detecting whether the function card has a reset response; and if the reset response exists, identifying the function card as the 3V SIM card.
The identification mode of the SD card can adopt the following modes: sending an initialization command of an SD protocol to the functional card; detecting whether a command pin of the function card has a response; if there is a response, the function card is recognized as an SD card. Specifically, the SD card may be identified by sending CMD8 and ACMD41 commands in two steps, which is not described herein again.
Optionally, when the SD protocol is identified, before sending the CMD8 and ACMD41 commands, a reset command of the SD protocol may also be sent to the function card, so that the function card to be identified enters an idle state. Specifically, the reset command of the SD protocol is CMD 0.
In addition, after step 14, the method may further include: and powering off the function card, and powering on the function card for the second time under the first voltage or the second voltage according to the type of the function card so as to operate the function card. The secondary power-on may be determined according to the judgment result in the above step, and may specifically be 1.8V or 3V. For example, in the above identification process, if the functional card to be identified is identified as a 1.8V SIM card, the voltage of 1.8V may be used for the secondary power-on, and if the functional card to be identified is identified as a 3V SIM card, an EMMC card, or an SD card, the voltage of 3V may be used for the secondary power-on. By adopting the mode, after the functional card type is identified, the power-off restarting is carried out on the functional card, the unknown influence on the card caused by the first power-on is eliminated, then the corresponding power supply requirement is provided according to the identified card type, and the normal initialization operation is carried out on the corresponding card. In addition, because the operating voltage of the EMMC card is 3V, when the EMMC card is identified by adopting the voltage of 1.8V, the EMMC card needs to be powered off and restarted, and the EMMC card can work only by carrying out secondary power-on restart by using 3V.
Referring to fig. 2, fig. 2 is a schematic flow chart of a second embodiment of the identification method for a function card provided in the present application, where the method includes:
step 201: and electrifying the functional card to be identified by adopting a first voltage.
Step 202: and sending an initialization command of the EMMC protocol to the function card.
The initialization command of the EMMC protocol is CMD 1.
Step 203: it is detected whether a response exists in the command pin of the function card.
If there is a response, step 204 is executed, and if there is no response, step 205 is executed.
Step 204: the function card is identified as an EMMC card.
Step 205: and carrying out SIM card reset operation on the function card.
Step 206: and detecting whether the function card has a reset response.
If there is a reset response, step 207 is executed, and if there is no reset response, step 208 is executed.
Step 207: the function card is identified as a 1.8V SIM card.
Step 208: and adjusting the power supply voltage of the function card to a second voltage.
Step 209: and carrying out SIM card reset operation on the function card.
Step 210: and detecting whether the function card has a reset response.
If the reset response exists, step 211 is executed, and if the reset response does not exist, step 212 is executed.
Step 211: the function card is recognized as a 3V SIM card.
Step 212: and sending an initialization command of the SD protocol to the functional card.
The initialization command of the SD protocol is CMD 8.
Step 213: it is detected whether a response exists in the command pin of the function card.
If there is a response, step 214 is performed.
Step 214: the function card is recognized as an SD card.
Referring to fig. 3, fig. 3 is a schematic flow chart of a third embodiment of the identification method for a function card provided in the present application, where the method includes:
step 301: and electrifying the functional card to be identified by adopting a first voltage.
Step 302: and carrying out SIM card reset operation on the function card.
Step 303: and detecting whether the function card has a reset response.
If there is a reset response, step 304 is executed, and if there is no reset response, step 305 is executed.
Step 304: the function card is identified as a 1.8V SIM card.
Step 305: and sending an initialization command of the EMMC protocol to the function card.
The initialization command of the EMMC protocol is CMD 1.
Step 306: it is detected whether a response exists in the command pin of the function card.
If there is a response, step 307 is executed, and if there is no response, step 308 is executed.
Step 307: the function card is identified as an EMMC card.
Step 308: and adjusting the power supply voltage of the function card to a second voltage.
Step 309: and sending an initialization command of the SD protocol to the functional card.
The initialization command of the SD protocol is CMD 8.
Step 310: it is detected whether a response exists in the command pin of the function card.
If there is a response, step 311 is executed, and if there is no response, step 312 is executed.
Step 311: the function card is recognized as an SD card.
Step 312: and carrying out SIM card reset operation on the function card.
Step 313: and detecting whether the function card has a reset response.
If there is a reset reply, step 314 is performed.
Step 314: the function card is recognized as a 3V SIM card.
The method for identifying the function card provided by the embodiment comprises the following steps: electrifying the functional card to be identified by adopting a first voltage; identifying whether the functional card is a first type memory card or a first type identity identification card; if not, adjusting the power supply voltage of the function card to a second voltage; identifying whether the functional card is a second type memory card or a second type identity identification card; wherein the second voltage is greater than the first voltage. By the mode, the identification process of two different voltages is carried out by utilizing the working voltages of the function cards of different types, the condition that the function cards are damaged due to overhigh voltage is avoided, the function cards of four different types can be identified, and the identification efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a mobile device provided in the present application, where the mobile device 40 includes a controller 41 and a card holder 42 that can be embedded in a main body of the mobile device 40, the card holder 42 is provided with a card slot 42a, the card slot 42a is used for accommodating a function card and electrically connecting the function card with the controller 41, and the controller 41 is used for identifying different types of function cards in the manner described above.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a card holder in an embodiment of the mobile device provided in the present application, where the card holder 42 includes a first card slot 42a and a second card slot 42b, and the first card slot 42a and the second card slot 42b have the same shape, where the first card slot 42a and the second card slot 42b are used to accommodate multiple types of function cards provided in the above embodiment.
Wherein, this mobile device can be wearing equipment such as cell-phone, panel computer, intelligent wrist-watch.
In addition, the mobile device may further include a memory for storing program data, which when executed by the controller 41, implements the identification method as described above.
Embodiments of the present application may be implemented in software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (11)

1. A method for identifying a function card, wherein the function card comprises a first type memory card, a second type memory card, a first type identification card and a second type identification card, the method comprising:
electrifying the functional card to be identified by adopting a first voltage;
identifying whether the functional card is a first type memory card or a first type identity identification card;
if not, adjusting the power supply voltage of the function card to a second voltage;
identifying whether the functional card is a second type memory card or a second type identity identification card;
wherein the second voltage is greater than the first voltage.
2. The method of claim 1,
the first type of memory card is an EMMC card, and the first type of identity recognition card is a 1.8V SIM card;
the step of identifying whether the function card is a first type memory card or a first type identification card includes:
sending an initialization command of an EMMC protocol to the function card;
detecting whether a response exists in a command pin of the function card;
if there is a response, the function card is identified as an EMMC card.
3. The method of claim 2,
the initialization command of the EMMC protocol is the CMD1 command.
4. The method according to claim 1, characterized in that,
the first type of memory card is an EMMC card, and the first type of identity recognition card is a 1.8V SIM card;
the step of identifying whether the function card is a first type memory card or a first type identification card includes:
carrying out SIM card resetting operation on the function card;
detecting whether the function card has a reset response;
and if the reset response exists, identifying the function card as a 1.8V SIM card.
5. The method of claim 1,
the second type of memory card is an SD card, and the second type of identity recognition card is a 3V SIM card;
the step of identifying whether the function card is a second type memory card or a second type identification card comprises the following steps:
sending an initialization command of an SD protocol to the functional card;
detecting whether a response exists in a command pin of the function card;
and if the response exists, identifying the functional card as the SD card.
6. The method of claim 5,
the initialization command of the SD protocol is the CMD8 command.
7. The method of claim 1,
the second type of memory card is an SD card, and the second type of identity recognition card is a 3V SIM card;
the step of identifying whether the function card is a second type memory card or a second type identification card comprises the following steps:
carrying out SIM card resetting operation on the function card;
detecting whether the function card has a reset response;
and if the reset response exists, identifying the function card as a 3V SIM card.
8. The method of claim 1,
the first voltage is 1.8V, and the second voltage is 3V.
9. The method according to claim 2 or 5,
before the initialization command of the EMMC protocol is sent to the function card; and/or before the sending the initialization command of the SD protocol to the function card, further comprising:
and sending a reset command shared by the EMMC protocol and the SD protocol to the functional card so as to enable the functional card to be identified to enter an idle state.
10. The method of claim 1,
the method further comprises the following steps:
and powering off the function card, and powering on the function card for the second time under the first voltage or the second voltage according to the type of the function card so as to operate the function card.
11. A mobile device, comprising a controller and a card holder capable of being embedded in a main body of the mobile device, wherein the card holder is provided with a card slot for receiving a function card and electrically connecting the function card with the controller, and the controller is configured to identify the function card by using the method according to any one of claims 1 to 10.
CN201811584243.9A 2018-12-24 2018-12-24 Function card identification method and mobile device Active CN111428526B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811584243.9A CN111428526B (en) 2018-12-24 2018-12-24 Function card identification method and mobile device
PCT/CN2019/096433 WO2020134037A1 (en) 2018-12-24 2019-07-17 Functional card identification method and mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811584243.9A CN111428526B (en) 2018-12-24 2018-12-24 Function card identification method and mobile device

Publications (2)

Publication Number Publication Date
CN111428526A true CN111428526A (en) 2020-07-17
CN111428526B CN111428526B (en) 2022-05-31

Family

ID=71128216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811584243.9A Active CN111428526B (en) 2018-12-24 2018-12-24 Function card identification method and mobile device

Country Status (2)

Country Link
CN (1) CN111428526B (en)
WO (1) WO2020134037A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283818A (en) * 1999-08-05 2001-02-14 02麦克诺国际有限公司 Integrated PC card master controller for detecting and operating multiple expanding card
CN1490702A (en) * 2002-09-17 2004-04-21 株式会社理光 PC card controller, computer system therewith and PC card identifying method
US20050036397A1 (en) * 2003-08-15 2005-02-17 Via Technologies, Inc. Detecting device and method for determining type and insertion of flash memory card
CN1766912A (en) * 2005-09-13 2006-05-03 北京中星微电子有限公司 Process for initializing memory card
CN101986327A (en) * 2010-09-06 2011-03-16 建荣集成电路科技(珠海)有限公司 Detection pin-free method for detecting on-line and off-line conditions of secure digital/multimedia card (SD/MMC)
CN104242995A (en) * 2013-06-07 2014-12-24 中兴通讯股份有限公司 Communication processing method of information memory card, device and mobile terminal thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10025086C1 (en) * 2000-05-20 2001-12-20 Orga Kartensysteme Gmbh Process for monitoring data transmission
KR100495657B1 (en) * 2002-05-03 2005-06-16 삼성전자주식회사 Integrated circuit device with multiple communication modes and operating method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283818A (en) * 1999-08-05 2001-02-14 02麦克诺国际有限公司 Integrated PC card master controller for detecting and operating multiple expanding card
CN1490702A (en) * 2002-09-17 2004-04-21 株式会社理光 PC card controller, computer system therewith and PC card identifying method
US20050036397A1 (en) * 2003-08-15 2005-02-17 Via Technologies, Inc. Detecting device and method for determining type and insertion of flash memory card
CN1766912A (en) * 2005-09-13 2006-05-03 北京中星微电子有限公司 Process for initializing memory card
CN101986327A (en) * 2010-09-06 2011-03-16 建荣集成电路科技(珠海)有限公司 Detection pin-free method for detecting on-line and off-line conditions of secure digital/multimedia card (SD/MMC)
CN104242995A (en) * 2013-06-07 2014-12-24 中兴通讯股份有限公司 Communication processing method of information memory card, device and mobile terminal thereof

Also Published As

Publication number Publication date
CN111428526B (en) 2022-05-31
WO2020134037A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
US10394296B2 (en) Data storage device for a device accessory
US20060085583A1 (en) Multi-functional integrated circuit card module with a mixed interface
US20120079197A1 (en) Card-reading device and method for using the card-reading device to access memory card
US20070145154A1 (en) Interface for a removable electrical card
US20040219949A1 (en) Memory drive device for wirelessly accessing data
WO2013120826A1 (en) Battery management scheme for nfc
CN102970432A (en) Mobile terminal and method for controlling SIM (subscriber identity module) card hot plug
CN111522602B (en) Method for starting communication device
KR20060129804A (en) Flash memory device with mmc interface and memory system including the same
CN111428842B (en) Memory card identification method and mobile device
CN111428840B (en) Function card identification method and mobile device
CN100373404C (en) Process for initializing memory card
EP2621244B1 (en) User identification card, terminal, and related processing method
CN111428526B (en) Function card identification method and mobile device
US20100153642A1 (en) Method and system for authenticating storage device connected through intermediate converter
US9237157B2 (en) Data processing and storage device
US11380377B2 (en) Method for writing data in a memory of a contactless transponder, and corresponding contactless transponder device
CN111428841A (en) Memory card identification method and mobile device
US6826107B2 (en) High voltage insertion in flash memory cards
CN111414125A (en) Operation method of storage device and storage device
US8362880B2 (en) Method and computer program product for loading and executing program code at micro-processor
KR100968358B1 (en) Reducing Method of Loading Time of SIM Card Data when Booting of Mobile Communication Terminal
KR101172298B1 (en) Memory card for wireless communications and sd controller
US20130290602A1 (en) Data storage device
CN206431661U (en) A kind of smart card and terminal device

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