This application relates to the field of memory card technologies, and in particular, to a memory card, a connector, and a functional card identification method.
To meet more requirements of a user, an electronic device currently supports use of more functional cards. For example, for a mobile device that supports two cards, two card accommodation slots are disposed on a card tray of the mobile device, to accommodate both the two cards. For example, dual card dual standby may be implemented by using two SIM cards or one SIM card and one memory card.
However, when sharing is implemented between the SIM card and the memory card, how the electronic device accurately identifies a card type becomes a problem that needs to be urgently resolved.
To resolve the foregoing problem, this application provides a memory card, a connector, and a functional card identification method, to accurately and quickly identify the memory card.
A technical solution used in this application is as follows: A memory card is provided, and the memory card includes a packaging board; and a plurality of contacts disposed on one side surface of the packaging board. The plurality of contacts include a power supply contact, a grounding contact, and a detection contact. The detection contact is disposed adjacent to one of the power supply contact and the grounding contact, and is suspended or electrically connected to the other of the power supply contact and the grounding contact.
The detection contact includes a first detection contact and a second detection contact. The first detection contact is disposed adjacent to the grounding contact, and is suspended or electrically connected to the power supply contact. The second detection contact is disposed adjacent to the power supply contact, and is suspended or electrically connected to the grounding contact.
The plurality of contacts further include a functional contact. The detection contact is disposed adjacent to the power supply contact, and is suspended or electrically connected to the grounding contact, and the functional contact is disposed adjacent to the grounding contact. Alternatively, the detection contact is disposed adjacent to the grounding contact, and is suspended or electrically connected to the power supply contact, and the functional contact is disposed adjacent to the power supply contact.
An outline dimension of the packaging board matches an outline dimension of a SIM card, to share a same connector with the SIM card. When the SIM card and the memory card overlap, the detection contact on the memory card and the power supply contact or the grounding contact disposed adjacent to the detection contact are at least partially located in a projection area of a power supply contact or a grounding contact corresponding to the SIM card.
The plurality of contacts of the memory card further include a data contact that is at least partially located in the projection area.
The power supply contact or the grounding contact disposed adjacent to the detection contact is disposed at an interval from the data contact in a width direction of the memory card, and the detection contact is disposed at an interval from the power supply contact or the grounding contact disposed adjacent to the detection contact and the data contact in a length direction of the memory card, and is located outside the data contact, and the power supply contact or the grounding contact disposed adjacent to the detection contact.
The plurality of contacts of the memory card further include a first data contact, a command contact, a clock contact, and a second data contact.
The plurality of contacts are distributed in a matrix with four rows and two columns.
Another technical solution used in this application is as follows: A connector is provided, and the connector includes a plurality of contact terminals. The plurality of contact terminals include a power supply terminal, a grounding terminal, and a detection terminal. When a memory card described above is in contact with the connector through fitting, the detection terminal and the power supply terminal or the grounding terminal are respectively in contact with a detection contact on the memory card and a power supply contact or a grounding contact disposed adjacent to the detection contact.
The connector is further shared by a SIM card. When the SIM card is in contact with the connector through fitting, both the detection terminal and the power supply terminal or the grounding terminal are in contact with a power supply contact or a grounding contact corresponding to the SIM card.
There are a plurality of detection terminals, and the plurality of detection terminals correspond to detection contact settings of a plurality of different types of functional cards, to identify different types of functional cards based on detection statuses of different detection terminals.
Another technical solution used in this application is as follows: A functional card identification method is provided, a connector described above is used in the method, and the method includes: powering on a to-be-identified memory card by using a power supply terminal of the connector; determining whether the detection terminal of the connector detects an electrical signal; and identifying the functional card as a memory card or a SIM card based on a detection status of the detection terminal.
The step of identifying the functional card as a memory card or a SIM card based on a detection status of the detection terminal includes: if the detection terminal detects no electrical signal, identifying the functional card as a target memory card; or if the detection terminal detects an electrical signal, further determining whether the electrical signal detected by the detection terminal is the same as an electrical signal detected by a terminal that is disposed adjacent to the detection terminal and that is one of a power supply terminal and a grounding terminal of the connector; and if the electrical signal detected by the detection terminal is the same as the electrical signal detected by the terminal that is disposed adjacent to the detection terminal and that is one of the power supply terminal and the grounding terminal of the connector, identifying the functional card as a SIM card; or if the electrical signal detected by the detection terminal is different from the electrical signal detected by the terminal that is disposed adjacent to the detection terminal and that is one of the power supply terminal and the grounding terminal of the connector, identifying the functional card as a target memory card.
The memory card provided in this application includes the packaging board; and the plurality of contacts disposed on one side surface of the packaging board. The plurality of contacts include the power supply contact, the grounding contact, and the detection contact. The detection contact is disposed adjacent to one of the power supply contact and the grounding contact, and is suspended or electrically connected to the other of the power supply contact and the grounding contact. In the foregoing manner, a detection contact can be added specifically to identify the memory card. In this way, a potential risk of system failure caused by instability in a manner of identifying the memory card by sending an instruction by using software in the prior art is avoided, and the memory card can be quickly identified.
To describe the technical solutions in the embodiments of this application more clearly, the following briefly describes the accompanying drawings for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of this application, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
In this specification, “embodiment” means that a particular characteristic, structure, or feature described with reference to the embodiment may be included in at least one embodiment of this application. The phrase shown in various locations in this specification may not necessarily mean a same embodiment, and is not an independent or optional embodiment exclusive from another embodiment. It is explicitly and implicitly understood by a person skilled in the art that the embodiments described in this specification may be combined with another embodiment.
The plurality of contacts include a power supply contact 12a, a grounding contact 12b, and a first detection contact 12c. The first detection contact 12c is disposed adjacent to the grounding contact 12b, and is suspended or electrically connected to the power supply contact 12a.
The plurality of contacts include a power supply contact 12a, a grounding contact 12b, and a second detection contact 12d. The second detection contact 12d is disposed adjacent to the power supply contact 12a, and is suspended or electrically connected to the grounding contact 12b.
It may be understood that in the foregoing two embodiments, after the memory card 10 is powered on, the power supply contact 12a is at a high potential, the grounding contact 12b is at a low potential, and the detection contact is at a potential different from or opposite to that of an adjacent contact. In this way, the memory card can be easily identified.
Specifically, in the embodiment in
Specifically, in the embodiment in
The following provides a manner of identifying a memory card and a SIM card.
A comparison is made between the schematic structural diagrams in
A comparison is made between the schematic structural diagrams in
In the foregoing manner, the memory card provided in the embodiments includes the packaging board; and the plurality of contacts disposed on one side surface of the packaging board. The plurality of contacts include the power supply contact, the grounding contact, and the detection contact. The detection contact is disposed adjacent to one of the power supply contact and the grounding contact, and is suspended or electrically connected to the other of the power supply contact and the grounding contact. In the foregoing manner, a detection contact can be added specifically to identify the memory card. In this way, a potential risk of system failure caused by instability in a manner of identifying the memory card by sending an instruction by using software in the prior art is avoided, and the memory card can be quickly identified.
The following describes this application by using an embodiment of an NM card (Nano memory card).
The NM card includes eight contacts: a 3.3 V power supply contact (VCC), a grounding contact (GND), a clock contact (CLK), a command contact (CMD), and four data contacts (D0-D3). In this embodiment, the eight contacts are set as follows:
The eight contacts are distributed in a matrix with four rows and two columns. Contacts in the first column of the matrix are sequentially a first data contact, the command contact, the grounding contact, and a third data contact, and respectively correspond to a D1 pin, a CMD pin, a GND pin, and a D3 pin in the eMMC protocol. Contacts in the second column of the matrix are sequentially the clock contact, a second data contact, the power supply contact, and a fourth data contact, and respectively correspond to a CLK pin, a D0 pin, a VCC pin, and a D2 pin in the eMMC protocol.
The third data contact (D3) includes an extension portion, and the extension portion extends to an outside of the grounding contact (GND). The fourth data contact (D2) also includes an extension portion, and the extension portion extends to an outside of the power supply contact (VCC).
Eight contacts are distributed in a matrix with four rows and two columns. Contacts in the first column of the matrix are sequentially a first data contact, the command contact, the grounding contact, and a third data contact, and respectively correspond to a D1 pin, a CMD pin, a GND pin, and a D3 pin in the eMMC protocol. Contacts in the second column of the matrix are sequentially the clock contact, a second data contact, the power supply contact, and a fourth data contact, and respectively correspond to a CLK pin, a D0 pin, a VCC pin, and a D2 pin in the eMMC protocol.
In addition, a ninth contact is a first detection contact 12c. The grounding contact 12b disposed adjacent to the first detection contact 12c is disposed at an interval from the third data contact (D3) in a width direction of the memory card. The first detection contact 12c is disposed at an interval from the grounding contact 12b disposed adjacent to the first detection contact 12c and the third data contact (D3) in a length direction of the memory card, and is located outside the grounding contact 12b and the third data contact (D3).
In addition, the fourth data contact (D2) includes an extension portion, and the extension portion extends to an outside of the power supply contact (VCC).
Eight contacts are distributed in a matrix with four rows and two columns. Contacts in the first column of the matrix are sequentially a first data contact, the command contact, the grounding contact, and a third data contact, and respectively correspond to a D1 pin, a CMD pin, a GND pin, and a D3 pin in the eMMC protocol. Contacts in the second column of the matrix are sequentially the clock contact, a second data contact, the power supply contact, and a fourth data contact, and respectively correspond to a CLK pin, a D0 pin, a VCC pin, and a D2 pin in the eMMC protocol.
In addition, a ninth contact is a second detection contact 12d. The power supply contact 12a disposed adjacent to the second detection contact 12d is disposed at an interval from the fourth data contact (D2) in a width direction of the memory card. The second detection contact 12d is disposed at an interval from the power supply contact 12a disposed adjacent to the second detection contact 12d and the fourth data contact (D2) in a length direction of the memory card, and is located outside the power supply contact 12a and the fourth data contact (2).
In addition, the third data contact (D3) includes an extension portion, and the extension portion extends to an outside of the grounding contact 12b.
Eight contacts are distributed in a matrix with four rows and two columns. Contacts in the first column of the matrix are sequentially a first data contact, the command contact, the grounding contact, and a third data contact, and respectively correspond to a D1 pin, a CMD pin, a GND pin, and a D3 pin in the eMMC protocol. Contacts in the second column of the matrix are sequentially the clock contact, a second data contact, the power supply contact, and a fourth data contact, and respectively correspond to a CLK pin, a D0 pin, a VCC pin, and a D2 pin in the eMMC protocol.
In addition, a ninth contact is a first detection contact 12c. The grounding contact 12b disposed adjacent to the first detection contact 12c is disposed at an interval from the third data contact (D3) in a width direction of the memory card. The first detection contact 12c is disposed at an interval from the grounding contact 12b disposed adjacent to the first detection contact 12c and the third data contact (D3) in a length direction of the memory card, and is located outside the grounding contact 12b and the third data contact (D3).
In addition, a tenth contact is a second detection contact 12d. The power supply contact 12a disposed adjacent to the second detection contact 12d is disposed at an interval from the fourth data contact (D2) in a width direction of the memory card. The second detection contact 12d is disposed at an interval from the power supply contact 12a disposed adjacent to the second detection contact 12d and the fourth data contact (D2) in a length direction of the memory card, and is located outside the power supply contact 12a and the fourth data contact (D2).
In addition, only one of the first detection contact 12c and the second detection contact 12d may be used for detection, and the other may be used as another function, for example, may be used as a data contact, a command contact, or a reset contact.
In addition, in the foregoing embodiment, the pins that are in an MMC protocol and that correspond to the contacts of the NM card are described. It may be understood that the foregoing embodiment is not only applicable to the MMC protocol, but may also correspond to an SD protocol, a UFS protocol, a USB protocol, and the like.
A comparison is made between
Specifically, a length, a width, and a thickness of the packaging board are respectively 12.3 mm, 8.8 mm, and 0.7 mm, and one corner of the packaging board is provided with a bevel.
Optionally, in an embodiment, the bevel is of 45 degrees, and a width of the bevel is 1.65 mm.
It may be understood that in another embodiment, another corner of the packaging plate or a corner of each contact may be disposed beveled or rounded based on a requirement. This is not limited here.
With reference to
With reference to
With reference to
In the foregoing disposal, when two contact terminals are used to be in contact with the NM card, the two contact terminals are respectively in contact with the detection contact and the power supply contact/grounding contact, and when the same two contact terminals are used to be in contact with the SIM card, both the two contact terminals are in contact with the power supply contact or the grounding contact for subsequent card identification.
The connector 80 includes a plurality of contact terminals (not shown). The plurality of contact terminals include a power supply terminal 82a, a grounding terminal 82b, and a detection terminal (82c and/or 82d). When the memory card 10 shown in
Optionally, in an embodiment, the detection terminal specifically includes a first detection terminal 82c and a second detection terminal 82d.
Specifically,
Specifically,
Specifically,
Specifically,
Therefore, when the connector 80 is used to identify the memory card provided in this embodiment, it may be detected whether potentials of the power supply terminal 82a and the second detection terminal 82d are the same. If the potentials of the power supply terminal 82a and the second detection terminal 82d are the same, a to-be-identified card is identified as a SIM card.
If the potentials of the power supply terminal 82a and the second detection terminal 82d are different, the to-be-identified card is identified as the memory card in this embodiment. Alternatively, it may be detected whether potentials of the grounding terminal 82b and the first detection terminal 82c are the same. If the potentials of the grounding terminal 82b and the first detection terminal 82c are the same, a to-be-identified card is identified as a SIM card. If the potentials of the grounding terminal 82b and the first detection terminal 82c are different, the to-be-identified card is identified as a memory card in this embodiment.
Optionally, there are a plurality of detection terminals, and the plurality of detection terminals correspond to detection contact settings of a plurality of different types of functional cards, to identify different types of functional cards based on detection statuses of different detection terminals.
For example, the connector may include two detection terminals, and the two detection terminals may be disposed corresponding to detection contacts of two different types of memory cards. Specifically, a first detection terminal corresponds to a first-type memory card, and a second detection terminal corresponds to a second-type memory card. When the memory card is identified, if the first detection terminal detects a specified electrical signal, the memory card is identified as the first-type memory card. If the second detection terminal detects a specified electrical signal, the memory card is identified as the second-type memory card.
In addition, with reference to the NM card in
1. In
2. Software identification performed by using an inventive command to obtain card response is unreliable, and communication is easily performed without good contact, resulting in system failure. In addition, an operating voltage of the NM card is 1.8 V or 3.3 V, and an operating voltage of the SIM card is 1.8 V or 3 V. In a software identification process, there is voltage switching. If an identification error occurs, an incorrect voltage is easily used to perform an operation on the memory card or the SIM card, and there is a potential risk.
3. The pins D2 and D3 in
Step 101: Power on a to-be-identified memory card by using a power supply terminal of a connector.
It may be understood that a terminal of the connector is relatively fixed, and therefore the to-be-identified memory card can be powered on only after a matching functional card is inserted. For example, the connector in this embodiment is applicable to an NM card, a SIM card, and another card with a similar contact layout.
Specifically, the power supply terminal of the connector is in contact with a power supply contact of the functional card, and a grounding terminal of the connector is in contact with a grounding contact of the functional card.
Step 102: Determine whether a detection terminal of the connector detects an electrical signal.
Step 103: Identify the functional card as a memory card or a SIM card based on a detection status of the detection terminal.
It may be understood that based on the structures of the NM card, the SIM card, and the connector provided in the foregoing embodiments, the detection terminal corresponds to a detection contact of the NM card and a power supply contact or a grounding contact of the SIM. Therefore, identification may be performed based on differences between electrical signals of the detection contact and each of the power supply contact and the grounding contact.
Step 111: Power on a to-be-identified memory card by using a power supply terminal of a connector.
Step 112: Determine whether a detection terminal of the connector detects an electrical signal.
If no electrical signal is detected, step 113 is performed. If an electrical signal is detected, step 114 is performed.
Step 113: Identify the functional card as a target memory card.
Step 114: Determine whether the electrical signal detected by the detection terminal is the same as an electrical signal detected by a terminal that is disposed adjacent to the detection terminal and that is one of the power supply terminal and the grounding terminal of the connector.
If the electrical signal detected by the detection terminal is the same as the electrical signal detected by the terminal that is disposed adjacent to the detection terminal and that is one of the power supply terminal and the grounding terminal of the connector, step 115 is performed. If the electrical signal detected by the detection terminal is different from the electrical signal detected by the terminal that is disposed adjacent to the detection terminal and that is one of the power supply terminal and the grounding terminal of the connector, step 116 is performed.
Step 115: Identify the functional card as a SIM card.
Step 116: Identify the functional card as a target memory card.
In an embodiment in which the detection contact corresponding to the detection terminal is not connected to the power supply contact or the grounding contact, the detection contact is equivalent to being suspended. In this case, the detection terminal detects no electrical signal.
In another embodiment, for the memory card, no contact may be disposed at a position corresponding to the detection terminal. In this case, the detection terminal cannot detect any electrical signal, and the functional card is also identified as a target memory card.
In addition, in an embodiment in which the detection contact is adjacent to the power supply contact, in case of a SIM card, potentials of the detection terminal and the power supply terminal should be the same. However, in the memory card, the detection contact is connected to the grounding contact, and therefore potentials of the detection terminal and the power supply terminal are opposite.
Similarly, in an embodiment in which the detection contact is adjacent to the grounding contact, in case of a SIM card, potentials of the detection terminal and the power supply terminal should be the same. However, in the memory card, the detection contact is connected to the power supply contact, and therefore potentials of the detection terminal and the power supply terminal are opposite.
Therefore, the SIM card and the memory card can be identified by determining whether a potential of the detection contact is the same as that of the power supply contact, or whether a potential of the detection contact is the same as that of the grounding contact.
The foregoing descriptions are merely implementations of this application, and are not intended to limit the scope of this application. An equivalent structural or equivalent process alternation made by using the content of this specification and the drawings of this application, or an application of the content of this specification and drawings directly or indirectly to another related technical field shall fall within the protection scope of this application.
Number | Date | Country | Kind |
---|---|---|---|
201811565683.X | Dec 2018 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2019/096439 | 7/17/2019 | WO | 00 |