WO2019148434A1 - 一种电子设备 - Google Patents
一种电子设备 Download PDFInfo
- Publication number
- WO2019148434A1 WO2019148434A1 PCT/CN2018/074994 CN2018074994W WO2019148434A1 WO 2019148434 A1 WO2019148434 A1 WO 2019148434A1 CN 2018074994 W CN2018074994 W CN 2018074994W WO 2019148434 A1 WO2019148434 A1 WO 2019148434A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- card
- shrapnel
- elastic piece
- processing module
- sim card
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3816—Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods 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/0056—Methods 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 housing of the card connector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/3816—Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
- H04B1/3818—Arrangements for facilitating insertion or removal of identification devices
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/077—Constructional details, e.g. mounting of circuits in the carrier
- G06K19/0772—Physical layout of the record carrier
- G06K19/07732—Physical layout of the record carrier the record carrier having a housing or construction similar to well-known portable memory devices, such as SD cards, USB or memory sticks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/077—Constructional details, e.g. mounting of circuits in the carrier
- G06K19/07743—External electrical contacts
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods 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/0052—Methods 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/52—Testing for short-circuits, leakage current or ground faults
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
- G01R31/68—Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Definitions
- the embodiments of the present application relate to the field of terminal technologies, and in particular, to an electronic device.
- An external memory card and a nano subscriber identity module are used on the current electronic device, wherein the micro secure digital memory card (Micro SD card) is used for storage.
- the size of the Micro SD card is usually 11mm*15mm
- the size of the Nano SIM card is usually 8.8mm*12.3mm
- the difference between the two is 56mm 2 .
- the area of the Micro SD card interface is 130 mm 2 larger than the area of the Nano SIM card interface.
- a memory card having the same external dimensions as the Nano SIM card is used (for convenience of description, the memory card of the same size as the Nano SIM card is referred to as "in the embodiment”.
- the Nano memory card is compatible with the Nano SIM card and the Nano memory card through the Nano SIM card interface of the electronic device. That is, the Nano SIM card interface of the electronic device can be inserted into the Nano SIM card for user identification or a Nano memory card.
- the card inserted in the interface of the electronic device identification card is a Nano SIM card or a Nano memory card, thereby switching the circuit corresponding to the Nano SIM card or the Nano memory card to realize the user identification function or the storage function.
- the embodiment of the present application provides an electronic device for identifying a card type inserted in a card interface of an electronic device when a storage function is implemented by using a memory card having the same external dimensions as the SIM card to save space of the electronic device.
- an embodiment of the present application provides an electronic device, where the electronic device includes a card interface and a processing module; the card interface is electrically connected to the processing module; and the card interface may be inserted with a SIM card or a memory card.
- the card interface includes N shrapnels, N>1.
- the memory card is electrically connected to the processing module;
- the SIM card is electrically connected to the processing module, and the SIM card is A metal contact is electrically connected to the first elastic piece of the N elastic pieces and the one elastic piece adjacent to the first elastic piece.
- the processing module is configured to determine, according to the level state of the at least the first shrapnel, that the inserted card is a SIM card or a memory card.
- the card interface may be a Nano SIM card interface, and the SIM card inserted into the card interface may be a Nano SIM card, and the memory card inserted into the card interface may be a Nano memory card (such as an SD card) having the same shape as the Nano SIM card.
- the N pieces of the card interface are electrically connected to the processing module; when the card is inserted into the card interface, the metal contacts of the card are electrically connected to the N pieces of the card interface; the card is electrically connected to the processing module through the N pieces of the card interface.
- the electronic device includes a card interface and a processing module.
- the memory card when the card interface is inserted with the memory card, the memory card is electrically connected to the processing module to implement the storage function of the electronic device.
- the SIM card When the SIM card is inserted into the card interface, the SIM card is electrically connected to the processing module, and a metal contact in the SIM card is electrically connected to the first elastic piece of the N elastic pieces and a spring piece adjacent to the first elastic piece.
- the processing module determines that the inserted card is a SIM card or a memory card according to the level state of at least the first shrapnel.
- the short-circuit phenomenon causes the level state of the first shrapnel to be different from the default level state at this time. If the processing module determines that the level state of the first shrapnel is the default level state, it can be determined that the inserted card is a memory card, and if the processing module determines that the level state of the first shrapnel is not the default level state, the inserted card can be judged. For the SIM card.
- the SIM card inserted into the card interface can be a Nano SIM card
- the memory card inserted into the card interface can be the same SD card as the Nano SIM card.
- the memory card may be an SD card.
- the electronic device further includes a power interface, three analog switches, and six storage communication interfaces and three SIM communication interfaces connected to the processing module; wherein the power interface is used with N pieces of shrapnel
- the second elastic piece for connecting the power source is electrically connected; the first ends of the three analog switches are respectively connected with three pieces of the N pieces of the elastic pieces, and the second ends of the three analog switches are respectively switched to the six storage communication interfaces by the switching operation
- the three storage communication interfaces are connected, or are respectively connected to three SIM communication interfaces by switching operations; the first storage communication interfaces of the six communication storage interfaces except the three storage communication interfaces are connected with the first shrapnel, and the second storage
- the communication interface is connected to the fourth elastic piece of the N pieces, and the third storage communication interface is connected with the fifth piece of the N pieces.
- the power interface provides a voltage, so that the card is powered on, and the processing module determines the type of the inserted card based on the level state of the first shrapnel.
- the memory card can be an SD card
- the SIM card can be a Nano SIM card.
- the processing module is further configured to: when determining that the inserted card is a SIM card, control the second ends of the three analog switches to be respectively connected to the three SIM communication interfaces; and, in determining that the inserted card is When the card is stored, the second ends of the three analog switches are respectively connected to three storage communication interfaces.
- the card after identifying the type of the inserted card, the card can be communicatively connected with the processing module to implement the corresponding function.
- the electronic device further includes: a near field communication NFC module and an NFC analog switch.
- the first end of the NFC analog switch is connected to the fifth shrapnel, and the second end is connected to the third storage communication port or the NFC module port by a switching operation; the NFC module is used to implement the NFC function when connected with the NFC analog switch.
- an NFC function interface can be provided for an electronic device to implement an NFC function of the electronic device.
- the processing module determines a specific manner in which the inserted card is a SIM card or a memory card according to the level state of at least the first shrapnel.
- the processing module determines that the inserted card is a SIM card or a memory card
- the first elastic piece is adjacent to the second elastic piece for connecting the power source among the N elastic pieces, and the first
- the processing module determines that the inserted card is a SIM card when the first shrapnel is at a high level
- the processing module determines that the inserted card is a memory card when the first shrapnel is at a low level.
- the processing module determines when the first shrapnel is at a low level.
- the inserted card is a SIM card; when the first shrapnel is at a high level, the processing module determines that the inserted card is a memory card.
- the default level state of the first shrapnel is low.
- the first elastic piece is adjacent to the second elastic piece (VCC elastic piece), and the metal contact corresponding to the first elastic piece and the metal contact corresponding to the second elastic piece are obtained by splitting a metal contact of the SIM card, then When the SIM card is inserted into the card interface, one metal contact in the SIM card covers the first elastic piece and the second elastic piece at the same time, and the first elastic piece and the second elastic piece are short-circuited, and the level of the first elastic piece is pulled up by the second elastic piece. High level.
- the processing module determines that the first shrapnel is at a high level, it can determine that the inserted card is a SIM card.
- the default level state of the first shrapnel is high.
- the first elastic piece is adjacent to the third elastic piece (the GND spring piece), and the metal contact corresponding to the first elastic piece and the metal contact corresponding to the third elastic piece are obtained by splitting a metal contact of the SIM card, then
- a metal contact in the SIM card covers the first elastic piece and the third elastic piece at the same time, and the first elastic piece and the third elastic piece are short-circuited, and the level of the first elastic piece is pulled down by the third elastic piece.
- the processing module determines that the first shrapnel is at a low level, it can determine that the inserted card is a SIM card.
- the method may be as follows: if the default level state of the first shrapnel is low level, the processing module configuration and the first shrapnel When the default level state of the adjacent shrapnel is high, the processing module determines that the inserted card is a SIM card when the first shrapnel is at a high level; and the processing module determines that the inserted card is when the first shrapnel is at a low level.
- the processing module determines that the inserted card is a memory card.
- the default level state of the first shrapnel is low, and the default level state of the shrapnel adjacent to the first shrapnel is high. Since the metal contact corresponding to the first elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface, the SIM card is inserted. A metal contact covers the first elastic piece and the elastic piece at the same time, and the first elastic piece and the elastic piece are short-circuited, and the level of the first elastic piece is pulled high to the high level by the elastic piece.
- the processing module determines that the first shrapnel is at a high level, it can determine that the inserted card is a SIM card.
- the default level state of the first shrapnel is a high level
- the default level state of the shrapnel adjacent to the first shrapnel is a low level. Since the metal contact corresponding to the first elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface, the SIM card is inserted. A metal contact covers both the first elastic piece and the elastic piece, and the first elastic piece and the elastic piece are short-circuited, and the level of the first elastic piece is pulled down to the low level by the elastic piece.
- the processing module determines that the first shrapnel is at a low level, it can determine that the inserted card is a SIM card.
- the processing module is further configured to: according to the level state of the fourth shrapnel of the N pieces, determine that the inserted card is a SIM card or a memory card, so that the processing module can be according to the fourth shrapnel.
- the level state determines the type of card inserted, making the processing module more accurate in determining the card type.
- the processing module determines that the inserted card is a SIM card or a memory card
- the following method may be adopted: if the fourth elastic piece is adjacent to the second elastic piece for connecting the power source among the N pieces of the elastic piece, The default level state of the four shrapnel is low level, and the processing module determines that the inserted card is a SIM card when the fourth shrapnel is high level; the processing module determines that the inserted card is a memory card when the fourth shrapnel is low level.
- the processing module determines when the fourth shrapnel is low level.
- the inserted card is a SIM card; when the fourth shrapnel is at a high level, the processing module determines that the inserted card is a memory card.
- the default level state of the fourth shrapnel is low. Since the fourth elastic piece is adjacent to the second elastic piece (VCC elastic piece), and the metal contact corresponding to the fourth elastic piece and the metal contact corresponding to the second elastic piece are obtained by splitting a metal contact of the SIM card, then When the SIM card is inserted into the card interface, one metal contact in the SIM card covers the fourth elastic piece and the second elastic piece at the same time, the fourth elastic piece and the second elastic piece are short-circuited, and the level of the fourth elastic piece is pulled high by the second elastic piece. High level. When the processing module determines that the fourth shrapnel is at a high level, it can determine that the inserted card is a SIM card.
- the default level state of the fourth shrapnel is high. Since the fourth elastic piece is adjacent to the third elastic piece (GND shrapnel), and the metal contact corresponding to the fourth elastic piece and the metal contact corresponding to the third elastic piece are obtained by splitting a metal contact of the SIM card, then When the SIM card is inserted into the card interface, one metal contact in the SIM card covers the fourth elastic piece and the third elastic piece at the same time, the fourth elastic piece and the third elastic piece are short-circuited, and the level of the fourth elastic piece is pulled down by the third elastic piece. To low level. When the processing module determines that the fourth shrapnel is at a low level, it can determine that the inserted card is a SIM card.
- the processing module determines that the inserted card is a SIM card or a memory card
- the following may be specifically performed: if the default level state of the fourth shrapnel is low level, the processing module configuration and the fourth shrapnel When the default level state of the adjacent shrapnel is high, the processing module determines that the inserted card is a SIM card when the fourth shrapnel is at a high level; and the processing module determines that the inserted card is when the fourth shrapnel is at a low level.
- the processing module determines that the inserted card is a SIM card; when the fourth shrapnel is at a high level, the processing module determines that the inserted card is a memory card.
- the default level state of the fourth shrapnel is low, and the default level state of the shrapnel adjacent to the fourth shrapnel is high. Since the metal contact corresponding to the fourth elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface, the SIM card is inserted. A metal contact covers the fourth shrapnel and the shrapnel at the same time, and the fourth shrapnel is short-circuited with the shrapnel, and the level of the fourth shrapnel is raised to a high level by the shrapnel. When the processing module determines that the fourth shrapnel is at a high level, it can determine that the inserted card is a SIM card.
- the default level state of the fourth shrapnel is a high level
- the default level state of the shrapnel adjacent to the fourth shrapnel is a low level. Since the metal contact corresponding to the fourth elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface, the SIM card is inserted. A metal contact covers the fourth shrapnel and the shrapnel at the same time, and the fourth shrapnel is short-circuited with the shrapnel, and the level of the fourth shrapnel is pulled low to the low level by the shrapnel.
- the processing module determines that the fourth shrapnel changes from a high level to a low level, it can determine that the inserted card is a SIM card.
- the electronic device provided by the first aspect can also determine whether the SIM card is abnormal by detecting the level state of the spring in the card interface when the inserted card is a SIM card.
- the following describes the abnormal state detection scheme of the SIM card in detail.
- the processing module is further configured to: configure a second shrapnel of the N pieces other than the first shrapnel and connected to the power source of the N pieces of shrapnel The default level state of the first specified shrapnel of the neighbor is low.
- the processing module can detect the abnormal state of the SIM card in the following three manners.
- the processing module is further configured to: if the first shrapnel is adjacent to the second shrapnel of the N shrapnels for connecting to the power source, and the default level state of the first shrapnel is low level, then processing When the first shrapnel is at a low level and the first designated shrapnel is at a high level, the module determines that the second shrapnel is short-circuited with the first designated shrapnel, and the second shrapnel and the first shrapnel are open.
- the first shrapnel is at a low level
- the first designated shrapnel is at a high level
- the metal clip connection corresponding to the first designated shrapnel in the SIM card is caused by the error of the clip card of the SIM card.
- the metal contact corresponding to the first shrapnel is disconnected, at which time the level of the first shrapnel is low, and the level of the first designated shrapnel is high.
- the processing module determines that the second elastic piece is short-circuited with the first designated elastic piece, and the second elastic piece and the first elastic piece are open according to the level state of the first elastic piece and the first designated elastic piece.
- the processing module is further configured to: if the first shrapnel is adjacent to the second shrapnel of the N shrapnels for connecting to the power source, and the default level state of the first shrapnel is low level, then processing When the first shrapnel is at a low level and the first designated shrapnel is at a low level, the module determines that the second shrapnel is open to the first designated shrapnel, and the second shrapnel and the first shrapnel are open.
- the first shrapnel is at a low level
- the first designated shrapnel is at a low level
- the metal clip corresponding to the first designated shrapnel in the SIM card is broken due to an error of the clip card of the SIM card.
- the metal contacts corresponding to the first shrapnel are also disconnected, that is, the second shrapnel is connected to the insulating gap between the metal contacts in the SIM card, and the levels of the first shrapnel and the first designated shrapnel are both low.
- the processing module determines, according to the level state of the first elastic piece and the first designated elastic piece, that the second elastic piece and the first designated elastic piece are open, the second elastic piece and the first elastic piece are open.
- the processing module can process the abnormal state accordingly, thereby eliminating the abnormality.
- the processing module can control the power interface to be electrically connected to the first storage communication interface, and control the ground interface to be electrically connected to the second storage communication interface.
- the first storage communication interface is connected to the first elastic piece
- the second storage communication interface is connected to the fourth elastic piece of the N elastic pieces
- the fourth elastic piece and the first elastic piece are symmetrically distributed on the card interface.
- the level of the first shrapnel in the card interface can be changed to a high level, thereby realizing the SIM card to be powered on; meanwhile, the ground interface and the second interface are The storage communication interface is turned on, so that the level of the fourth shrapnel in the card interface is changed to a low level, thereby realizing the SIM card grounding.
- the processing module is further configured to: if the first shrapnel is adjacent to the second shrapnel of the N shrapnels for connecting to the power source, and the default level state of the first shrapnel is low level, the processing module When the first elastic piece is at a high level and the first designated elastic piece is at a high level, it is determined that the second elastic piece is short-circuited with the first designated elastic piece, and the second elastic piece is short-circuited with the first elastic piece.
- the first shrapnel is at a high level
- the first designated shrapnel is at a high level
- the metal clip connection corresponding to the first designated shrapnel in the SIM card is caused by the error of the clip card of the SIM card.
- the metal contacts corresponding to the first shrapnel are also connected, and the levels of the first shrapnel and the first designated shrapnel are both high.
- the processing module determines that the second elastic piece is short-circuited with the first designated elastic piece and the second elastic piece is short-circuited with the first elastic piece according to the level state of the first elastic piece and the first specified elastic piece.
- the processing module can generate the first user prompt information, and the first user prompt information is used to prompt the user that the SIM card is abnormal, that is, the user is prompted to cut the card card tolerance too much, resulting in excessive tolerance The SIM card is not available.
- the processing module is further configured to configure a default level of the second designated shrapnel of the N pieces other than the first piece and adjacent to the third piece of the N pieces in the N pieces for grounding. The status is high.
- the processing module can detect the abnormal state of the SIM card in the following three manners.
- the processing module is further configured to: if the first elastic piece is adjacent to the third elastic piece for grounding in the N pieces, and the default level state of the first elastic piece is high level, the processing module When the first shrapnel is at a high level and the second designated shrapnel is at a low level, determining that the third shrapnel is short-circuited with the second designated shrapnel, and the third shrapnel and the first shrapnel are open.
- the first shrapnel is at a high level
- the second designated shrapnel is at a low level
- the metal clip of the third shrapnel corresponding to the second designated shrapnel in the SIM card is connected due to an error of the clip card of the SIM card.
- the metal contact corresponding to the first shrapnel is disconnected, at which time the level of the first shrapnel is high level, and the level of the second designated shrapnel is low level.
- the processing module determines that the third elastic piece and the second designated elastic piece are short-circuited, and the third elastic piece and the first elastic piece are open according to the level state of the first elastic piece and the second designated elastic piece.
- the processing module is further configured to: if the first elastic piece is adjacent to the third elastic piece for grounding in the N pieces, and the default level state of the first elastic piece is high level, the processing module When the first shrapnel is at a high level and the second designated shrapnel is at a high level, determining that the third shrapnel and the second designated shrapnel are open, and the third shrapnel and the first shrapnel are open.
- the first shrapnel is at a high level
- the second designated shrapnel is at a high level, that is, the metal clip corresponding to the second designated shrapnel in the SIM card is broken due to an error of the clip card of the SIM card.
- the metal contacts corresponding to the first shrapnel are also disconnected, that is, the third shrapnel is connected to the insulating gap between the metal contacts in the SIM card, and the levels of the first shrapnel and the second designated shrapnel are both high.
- the processing module may determine, according to the level state of the first elastic piece and the second designated elastic piece, the third elastic piece and the second designated elastic piece open circuit, the third elastic piece and the first elastic piece open circuit.
- the processing module can process the abnormal state accordingly, thereby eliminating the abnormality.
- the processing module can control the power interface to be electrically connected to the first storage communication interface, and control the ground interface to be electrically connected to the second storage communication interface.
- the first storage communication interface is connected to the first elastic piece
- the second storage communication interface is connected to the fourth elastic piece of the N elastic pieces
- the fourth elastic piece and the first elastic piece are symmetrically distributed on the card interface.
- the level of the first shrapnel in the card interface can be changed to a high level, thereby realizing the SIM card to be powered on; meanwhile, the ground interface and the second interface are The storage communication interface is turned on, so that the level of the fourth shrapnel in the card interface is changed to a low level, thereby realizing the SIM card grounding.
- the processing module is further configured to: if the first elastic piece is adjacent to the third elastic piece for grounding in the N pieces, and the default level state of the first elastic piece is high level, the processing module When the first shrapnel is at a low level and the second designated shrapnel is at a low level, it is determined that the third shrapnel is short-circuited with the second designated shrapnel, and the third shrapnel is short-circuited with the first shrapnel.
- the first shrapnel is at a low level
- the second designated shrapnel is at a low level, that is, the metal clip of the third shrapnel corresponding to the second designated shrapnel in the SIM card is connected due to an error of the clipped card of the SIM card.
- the metal contacts corresponding to the first shrapnel are also connected, and the levels of the first shrapnel and the second designated shrapnel are both low.
- the processing module determines that the third elastic piece is short-circuited with the second designated elastic piece and the third elastic piece is short-circuited with the first elastic piece according to the level state of the first elastic piece and the second designated elastic piece.
- the processing module can generate the second user prompt information, and the second user prompt information is used to prompt the user that the SIM card is abnormal, that is, the user is prompted to cut the card card tolerance too much, resulting in excessive tolerance The SIM card is not available.
- an embodiment of the present application provides an electronic device, including: a card interface and a processing module; the card interface is electrically connected to the processing module; the card interface may be inserted with a SIM card or a memory card; and the card interface includes N shrapnel , N>1, when the card interface is inserted with a memory card, the memory card is electrically connected to the processing module; when the card interface is inserted with the SIM card, the SIM card is electrically connected to the processing module.
- the processing module is configured to: perform a first initialization operation on the card inserted in the card interface by using a SIM card initialization process; if the first initialization operation is successful, determine that the card inserted into the card interface is a SIM card; if the first initialization operation fails, the method is adopted.
- the memory card initialization process performs a second initialization operation on the card inserted in the card interface; if the second initialization operation is successful, it determines that the card inserted into the card interface is a memory card; if the second initialization operation fails, it is determined that there is no card insertion in the card interface. Or the card inserted in the card interface is invalid.
- the type of the inserted card can be judged by judging whether the inserted card can be initialized by the corresponding initialization operation.
- an embodiment of the present application provides an electronic device, including: a card interface and a processing module; the card interface is electrically connected to the processing module; the card interface may be inserted with a SIM card or a memory card; and the card interface includes N shrapnel , N>1, when the card interface is inserted with a memory card, the memory card is electrically connected to the processing module; when the card interface is inserted with the SIM card, the SIM card is electrically connected to the processing module.
- the processing module is configured to: perform a third initialization operation on the card inserted in the card interface by using a memory card initialization process; if the third initialization operation is successful, determine that the card inserted into the card interface is a memory card; if the third initialization operation fails, the method is adopted
- the SIM card initialization process performs a fourth initialization operation on the card inserted in the card interface; if the fourth initialization operation is successful, it determines that the card inserted into the card interface is a SIM card; if the fourth initialization operation fails, it is determined that there is no card insertion in the card interface. Or the card inserted in the card interface is invalid.
- the type of the inserted card can be judged by judging whether the inserted card can be initialized by the corresponding initialization operation.
- the type of the inserted card can be judged by judging whether the inserted card can be initialized by the corresponding initialization operation.
- FIG. 1 is a schematic diagram of the appearance of a Nano SIM card according to an embodiment of the present application.
- FIG. 2 is a schematic diagram of a metal contact distribution of an SD card of the same size as that of a Nano SIM card according to an embodiment of the present application;
- FIG. 3 is a schematic diagram of a second metal contact distribution of an SD card having the same outer dimensions as a Nano SIM card according to an embodiment of the present application;
- FIG. 4 is a schematic diagram of a third metal contact distribution of an SD card having the same external dimensions as the Nano SIM card according to an embodiment of the present application;
- FIG. 5 is a schematic diagram of a fourth metal contact distribution of an SD card having the same external dimensions as the Nano SIM card according to an embodiment of the present application;
- FIG. 6 is a schematic structural diagram of a card interface of a Nano SD card according to an embodiment of the present disclosure
- FIG. 7 is a schematic structural diagram of a system architecture according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a first electronic device according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of a first detecting circuit according to an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of a second electronic device according to an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of a third electronic device according to an embodiment of the present application.
- FIG. 12 is a schematic diagram of an abnormal state of a first SIM card according to an embodiment of the present application.
- FIG. 13 is a schematic diagram of a second SIM card abnormal state according to an embodiment of the present disclosure.
- FIG. 14 is a schematic diagram of a third SIM card abnormal state according to an embodiment of the present application.
- FIG. 15 is a schematic flowchart of performing an operation of a processing module according to an embodiment of the present disclosure.
- a memory card having the same external dimensions as the Nano SIM card is used (for convenience of description, the memory card of the same size as the Nano SIM card is referred to as "in the embodiment”.
- the Nano memory card is compatible with the Nano SIM card and the Nano memory card through the Nano SIM card interface of the electronic device. That is, the Nano SIM card interface of the electronic device can be inserted into the Nano SIM card for user identification or a Nano memory card.
- the card inserted in the interface of the electronic device identification card is a Nano SIM card or a Nano memory card, thereby switching the circuit corresponding to the Nano SIM card or the Nano memory card to realize the user identification function or the storage function.
- the shape of the Nano SIM card can be as shown in FIG.
- the Nano SIM card contains six metal contacts, each of which is used to transmit a signal, each of which is isolated by an insulating gap.
- the metal contact of the SIM card refers to a contact having a conductive area on the SIM card and having a conductive function.
- the three metal contacts on the left are used to transmit three signals of CLK, RST and VCC
- the three metal contacts on the right are used to transmit three signals of DAT, VPP and GND, three metal contacts on the left and three on the right.
- the metal contacts are isolated by GND, ie the area between the three metal contacts on the left and the three metal contacts on the right is grounded.
- each metal contact in the Nano SIM card shown in Figure 1 can be as shown in Table 1.
- CLK represents the clock signal
- the processing module transmits a clock signal to the Nano SIM card through the CLK metal contact
- the Nano SIM card operates at the timing determined by the clock signal.
- DAT is used to process data transfers between the module and the Nano SIM card.
- RST is used by the processing module to transmit a reset signal to the Nano SIM card.
- VPP is a metal contact that needs to be used in the test phase before the electronic device is shipped. After the electronic device is shipped out, if the electronic device has near field communication (NFC) function, the VPP metal contact can be used to implement the NFC function. If the electronic device does not have the NFC function, the VPP metal contacts are not used.
- VCC and GND are used to turn on the power and ground, respectively.
- the metal contacts of the Micro SD card can be defined as shown in Table 2.
- DAT0, DAT1, DAT2, and DAT3 are used for data transmission between the processing module and the Micro SD card.
- CMD is used to transmit command messages and response messages.
- CLK represents the clock signal, and the processing module transmits a clock signal to the Micro SD card through CLK, and the Micro SD card operates at the timing determined by the clock signal.
- VCC and GND are used to turn on the power and ground, respectively.
- the number of metal contacts of the Micro SD card is two more than the number of metal contacts of the Nano SIM card. Therefore, to use the SD card of the same size as the Nano SIM card (for convenience of description, hereinafter referred to as "Nano SD card") to implement the memory function, the six metal contacts of the Nano SIM card shown in Figure 1 are required. Add two metal contacts.
- a metal contact splitting scheme is adopted, that is, two metal contacts are selected from six metal contacts of the Nano SIM card, and each metal contact selected is split into two metal contacts. Point to realize the transmission of eight signals in the Nano SD card.
- Nano SD card in the embodiment of the present application has the same external dimensions as the Nano SIM card, but the metal contact definition is the same as that of the Micro SD card, as shown in Table 2.
- the correspondence between the Nano SD card signal and the Nano SIM card signal needs to be limited. That is, for a shrapnel on the card interface, what kind of signal is used to transmit the nano SIM card when the Nano SIM card is inserted in the card interface, and correspondingly, when the Nano SD card is inserted into the card interface, what signal is used for the shrapnel to transmit.
- the power domains of the Nano SD card and the Nano SIM card are both 1.8V to 3.3V, so the power signal VCC and the ground signal GND of the two cards can be shared. Therefore, it is possible to set the shrapnel for transmitting the VCC signal when the Nano SIM card is inserted, and also to transmit the VCC signal of the Nano SD card when the Nano SD card is inserted; the shrapnel for transmitting the GND signal when the Nano SIM card is inserted can be set. It is also used to transmit the GND signal of the Nano SD card when the Nano SD card is inserted. Since the Nano SD card and the Nano SIM card are powered by the same power supply, the VCC signal and the GND signal are not switched regardless of whether the Nano SIM card or the Nano SD card is inserted in the card interface.
- the transmission of the clock signals of the two cards is realized by a shrapnel time division. That is, the shrapnel for transmitting the CLK signal when the Nano SIM card is inserted can be set, and is also used to transmit the CLK signal of the Nano SD card when the Nano SD card is inserted. Since the clock signals of the Nano SD card and the Nano SIM card are different, an analog switch needs to be set to switch the two CLK signals: when the Nano SIM card is inserted, the analog switch is switched to the CLK signal of the Nano SIM card, and the analog is inserted when the Nano SD card is inserted. The switch switches to the CLK signal of the Nano SD card.
- the DAT signal of the Nano SIM card can be set to correspond to the DAT1 signal of the Nano SD card, and an analog switch is set to switch the two signals (DAT/DAT1); the RST signal of the Nano SIM card and the Nano SD card can be set.
- the DAT0 signal corresponds to and an analog switch is set to switch the two signals (RST/DAT0); the VPP signal of the Nano SIM card can be set to correspond to the CMD signal of the Nano SD card.
- an analog switch can be set to switch the two signals (VPP/CMD); if the electronic device does not have the NFC function, the VIP signal is not involved in the use of the Nano SIM card, so it is not necessary to set the simulation.
- the switch performs signal switching.
- the DAT2 signal and the DAT3 signal of the Nano SD card can be transmitted by the two metal contacts that are removed after the metal contact is split. Since the DAT2 signal and the DAT3 signal are only used by the Nano SD card, it is not necessary to set an analog switch for signal switching.
- the corresponding relationship between the Nano SD card signal and the Nano SIM card signal as described above is only an example, and the actual implementation is not limited to the above correspondence, that is, the Nano SD card signal and the Nano SIM card in the embodiment of the present application.
- the correspondence of signals is not specifically limited.
- the VCC signal of the Nano SIM card corresponds to the VCC signal of the Nano SD card
- the GND signal of the Nano SIM card corresponds to the GND signal of the Nano SD card, which is easier to implement.
- the DAT2 signal and the DAT3 signal of the Nano SD card can be transmitted by the two metal contacts that are separated by the metal contact of the Nano SIM card. Therefore, in the embodiment of the present application, it is also necessary to consider how to separate the DAT2 metal contacts and the DAT3 metal contacts of the Nano SD card.
- the correspondence relationship described in the above four points is taken as an example to illustrate the metal contact distribution of the Nano SD card.
- the metal contact distribution of the Nano SD card can be as shown in FIG. 2. It is easy to see that in Figure 2, D2 and VCC are the two metal contacts split at the position of the VCC metal contacts in the Nano SIM card shown in Figure 1, D3 and GND are the Nano shown in Figure 1. Two metal contacts split at the position of the GND metal contacts in the SIM card. In other words, the D2 metal contacts and D3 metal contacts of the Nano SD card can be separated by the VCC metal contacts of the Nano SIM card and the GND metal contacts, respectively. The DAT2 signal and the DAT3 signal of the Nano SD card can be transmitted by the two metal contacts that are separated after the split.
- the VCC signal of the Nano SIM card corresponds to the VCC signal of the Nano SD card
- the GND signal of the Nano SIM card corresponds to the GND signal of the Nano SD card
- the CLK signal of the Nano SIM card corresponds to The CLK signal of the Nano SD card
- the RST signal of the Nano SIM card corresponds to the DAT0 signal of the Nano SD card
- the DAT signal of the Nano SIM card corresponds to the DAT1 signal of the Nano SD card
- the VPP signal of the Nano SIM card corresponds to the CMD signal of the Nano SD card.
- the metal contact distribution of the Nano SD card can be as shown in FIG. It is easy to see that in Figure 3, D2 and CLK are the two metal contacts split at the position of the CLK metal contact in the Nano SIM card shown in Figure 1, D3 and DAT1 are the Nano shown in Figure 1. Two metal contacts split at the position of the DAT metal contacts in the SIM card. That is to say, the D2 metal contact and the D3 metal contact of the Nano SD card can be obtained by splitting the CLK metal contact and the DAT metal contact of the Nano SIM card, respectively.
- the DAT2 signal and the DAT3 signal of the Nano SD card can be transmitted by the two metal contacts that are separated after the split.
- the metal contact distribution of the Nano SD card can be as shown in FIG. It is not difficult to see that in Fig. 4, D2 and D0 are two metal contacts split at the position of the RST metal contact in the Nano SIM card shown in Fig. 1, and D3 and CMD are the Nano shown in Fig. 1. Two metal contacts split at the position of the VPP metal contacts in the SIM card. In other words, the D2 metal contacts and D3 metal contacts of the Nano SD card can be separated by the RST metal contacts and VPP metal contacts of the Nano SIM card, respectively. The DAT2 signal and the DAT3 signal of the Nano SD card can be transmitted by the two metal contacts that are separated after the split.
- the metal contact distribution of the Nano SD card can be as shown in FIG. It is easy to see that in Figure 5, D2 and VCC are the two metal contacts split at the position of the VCC metal contacts in the Nano SIM card shown in Figure 1, and D3 and GND are the Nano shown in Figure 1. Two metal contacts split at the position of the GND metal contacts in the SIM card. In other words, the D2 metal contacts and D3 metal contacts of the Nano SD card can be separated by the VCC metal contacts of the Nano SIM card and the GND metal contacts, respectively. The DAT2 signal and the DAT3 signal of the Nano SD card can be transmitted by the two metal contacts that are separated after the split.
- the metal contacts shown in FIG. 5 are distributed in the metal contact distribution shown in FIG. 2 in that the positional relationship between the D2 metal contacts and the VCC metal contacts is different, and the positions of the D3 metal contacts and the GND metal contacts are different. The relationship is different.
- the above four metal contact distributions are only one indication. In actual implementation, only two metal contacts in the Nano SIM card need to be split, and the two metal contacts that are split are used to transmit the Nano SD card.
- the DAT2 signal and the DAT3 signal can be used.
- the type of the memory card is not limited to the SD card in the above example.
- the memory card may also be based on a universal serial bus (USB), a high-speed peripheral component interconnect (PCIE), a universal flash storage (UFS), A memory card of an interface protocol such as a multimedia media card (MMC) or an embedded multimedia media card (EMMC).
- USB universal serial bus
- PCIE peripheral component interconnect
- UFS universal flash storage
- MMC multimedia media card
- EMMC embedded multimedia media card
- the number of metal contacts and the definition of the metal contacts of the memory card may be different from those of the SD card. Therefore, in the specific implementation process of the embodiment of the present application, reference may be made to the above-mentioned analysis method for the correspondence relationship between the metal contact splitting and the metal contact signal, and the different configurations are combined with the actual number of metal contacts and the metal contact definition. In the embodiment of the present application, only the SD card is taken as an example for description.
- the card interface of the corresponding Nano SD card can be as shown in FIG. 6 (note that FIG. 6 adopts the Bottom view, and FIG. 1 to FIG. 5, and the subsequent Figure 12 to Figure 14 are all using the Top view).
- Figure 6 is a view of the contact of the Nano SD card with the card interface.
- the card interface shown in Figure 6 contains eight metal domes distributed to transmit the eight signals of the Nano SD card.
- the embodiment of the present application relates to the concept that two shrapnels are adjacent.
- the meaning of the two elastic pieces adjacent to each other is that the two elastic pieces are located on the same side of the card interface, and the two elastic pieces are blocked by only one insulating gap.
- the VCC shrapnel, D2 shrapnel, D0 shrapnel, and CLK shrapnel are on the same side of the card interface.
- the VCC shrapnel is adjacent to the D2 shrapnel
- the D2 shrapnel is adjacent to the D0 shrapnel
- the D0 shrapnel is adjacent to the CLK shrapnel.
- the GND shrapnel, the D3 shrapnel, the CMD shrapnel, and the D1 shrapnel and the VCC shrapnel are not located on the same side of the card interface, the GND shrapnel, the D3 shrapnel, the CMD shrapnel, and the D1 shrapnel are not adjacent to the VCC shrapnel.
- the correspondence between the Nano SD card signal and the Nano SIM card signal is the same as the corresponding relationship in the foregoing example, that is, the VCC signal of the Nano SIM card corresponds to the VCC signal of the Nano SD card, and the GND signal of the Nano SIM card corresponds to the Nano SD card.
- GND signal, CLK signal of Nano SIM card corresponds to CLK signal of Nano SD card
- RST signal of Nano SIM card corresponds to DAT0 signal of Nano SD card
- DAT signal of Nano SIM card corresponds to DAT1 signal of Nano SD card
- the VPP signal corresponds to the CMD signal of the Nano SD card.
- the processing module processing module of the system comprises three switches. One end of the first switch is connected with SIM_DATA/SD_DATA1 in the card interface, and the other end is switched between the SD_DATA1 interface and the SIM_DATA interface on the processing module; the second switch One end is connected to SIM_RST/SD_DATA0 in the card interface, and the other end is switched to the SD_DATA0 interface and SIM_RST interface on the processing module; one end of the third switch is connected to SIM_CLK/SD_CLK in the card interface, and the other end is connected to SD_CLK on the processing module. Switch the connection with the SIM_CLK interface.
- the three switches are respectively connected with the interface in the SIM IO, which can realize the user identification function; when the SD chip is inserted into the card interface, the three switches are respectively connected with the interfaces in the SD IO, Implement storage capabilities.
- the electronic device further includes an NFC module.
- the NFC module is connected to the SIM_VPP/SD_CMD shrapnel in the card interface through a switch.
- the switch When the SIM card is inserted into the card interface, the switch is switched to the NFC module, and the electronic device can implement the NFC function.
- the switch When an SD card is inserted into the card interface, the switch is switched to the SD_CMD interface on the processing module, and the electronic device can implement the storage function.
- the embodiment of the present application provides an electronic device for identifying a card type inserted in a card interface of an electronic device when a storage function is implemented by using a memory card having the same external dimensions as the SIM card to save space of the electronic device.
- electronic devices include, but are not limited to, smart phones, smart watches, tablets, virtual reality (VR) devices, augmented reality (AR) devices, personal computers, handheld computers, personal digital assistants.
- FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- the electronic device 800 in FIG. 8 includes a card interface 801, a processing module 802. among them,
- the card interface 801 includes N pieces of elastic disks, N>1.
- the memory card is electrically connected to the processing module 802.
- the SIM card is electrically connected to the processing module 802.
- a metal contact in the SIM card is electrically connected to the first elastic piece of the N elastic pieces and the one elastic piece adjacent to the first elastic piece.
- the processing module 802 is configured to determine, according to the level state of the at least the first shrapnel, that the inserted card is a SIM card or a memory card.
- the processing module 802 can determine the type of the inserted card according to the level state of at least the first shrapnel. That is to say, the processing module 802 can also determine the level state of the other shrapnel when determining the type of the inserted card. The manner of determining the type of inserted card according to the level state of other shrapnel will be described later, and will not be described here.
- the card interface 801 may be a Nano SIM card interface
- the SIM card inserted into the card interface 801 may be a Nano SIM card
- the memory card inserted into the card interface 801 may be Nano SIM card has the same Nano memory card (for example, SD card).
- the N pieces of the card interface 801 have been electrically connected to the processing module 802.
- the metal contacts of the card are electrically connected to the N pieces of the card interface; the card passes through the N pieces of the card interface and the processing module 802 electrical connection.
- the processing module 802 may be a system on chip (SOC) chip, a central processing unit (CPU), an ARM (advanced RISC machine) processor, or a field programmable gate array (field programmable). Gate array (FPGA), dedicated processor and other devices with computational processing capabilities.
- SOC system on chip
- CPU central processing unit
- ARM advanced RISC machine
- FPGA Gate array
- N 8.
- the SIM card when the SIM card is inserted, a metal contact in the SIM card is electrically connected to the first elastic piece of the N elastic pieces and the elastic piece adjacent to the first elastic piece. At this time, the first elastic piece is adjacent thereto. Short between the shrapnel. That is, since the metal contacts of the SIM card and the memory card are differently distributed, the number of signals transmitted when the SIM card is inserted into the card interface 801 is smaller than the number of signals (N) transmitted when the memory card is inserted into the card interface 801.
- the D2 shrapnel on the card interface 801 is short-circuited with the adjacent VCC shrapnel, and the D3 shrapnel on the card interface 801 and the adjacent GND shrapnel Short circuit.
- both the D2 shrapnel and the D3 shrapnel can be considered as the first shrapnel.
- the first elastic piece refers to a spring piece that is only connected to the storage communication interface in the electronic device 800.
- the SD_DATA2 shrapnel and the SD_DATA3 shrapnel in FIG. 7 can be regarded as the first shrapnel, and the SIM_DATA/SD_DATA1 shrapnel, SIM_RST/SD_DATA0 shrapnel, SIM_CLK/SD_CLK shrapnel, etc. are not regarded as the first shrapnel.
- the processing module 802 determines the type (SIM card or memory card) of the inserted card according to the level state of at least the first shrapnel, and the processing module 802 may include a third state for detecting the level state of the first shrapnel.
- a detection circuit can take the form of a conventional GPIO circuit.
- the first detecting circuit includes a first PMOS, a first NMOS, and a first collecting circuit, wherein a gate of the first PMOS is connected to a gate of the first NMOS, and a drain of the first PMOS is connected to a source of the first NMOS The source of the first PMOS is connected to the power source, and the drain of the first NMOS is grounded; the gate of the first PMOS and the gate of the first NMOS are both connected to the first elastic piece; the input end of the first acquisition circuit and the first shrapnel Connected, the output of the first acquisition circuit is coupled to the processing module 802, and the first detection circuit is configured to be in an input state.
- the structure of the first detecting circuit can be as shown in FIG.
- the MOS whose source is connected to the positive terminal of the power supply can be regarded as the first PMOS, and the MOS whose drain is grounded can be regarded as the first NMOS.
- the gate of the first PMOS is connected to the gate of the first NMOS and is connected to the first elastic piece.
- the input end of the first acquisition circuit is connected to the first elastic piece, and the output end is connected to the control unit.
- the control unit may determine the card type inserted into the card interface 801 according to the detection result of the first detecting circuit, thereby controlling the switching operation of the related switch in the electronic device 800.
- the GPIO circuit can be configured as an input state or as an output state.
- the GPIO circuit can be used to detect the level state of the signal input to the circuit, and its input impedance is large (on the order of 10k ⁇ ); when the GPIO circuit is configured as an output state, the GPIO circuit can be used for configuration.
- the level state required in the circuit has a small input impedance (on the order of 100 ⁇ ).
- the first detecting circuit since the first detecting circuit is configured to detect the level state of the first shrapnel, the first detecting circuit may be configured as an input state.
- the GPIO circuit can be configured as a pull-up circuit or as a pull-down circuit.
- the default level at the connection point of the PMOS and NMOS gates in the GPIO circuit is high; when the GPIO circuit is configured as a pull-down circuit, the gates of the PMOS and NMOS in the GPIO circuit The default level at the connection point is low.
- the first detecting circuit is configured as a pull-up circuit or a pull-down circuit, and can be set according to different scenarios.
- the processing module 802 determines the type of the inserted card according to the level state of at least the first shrapnel
- the judgment may be based on: a metal contact in the SIM card when the SIM card is inserted
- a spring piece and the elastic piece adjacent to the first elastic piece are electrically connected, and then the first elastic piece and the adjacent elastic piece are short-circuited.
- This short circuit phenomenon causes the level of the first shrapnel to be different from the default level of the first shrapnel (for example, by configuring the first detecting circuit to be a pull-up circuit or a pull-down circuit).
- the processing module 802 determines that the level state of the first shrapnel is the default level state, it can be determined that the inserted card is a memory card, and if the processing module 802 determines that the level state of the first shrapnel is not the default level state, the insertion can be determined.
- the card is a SIM card.
- the first detecting circuit is set as a pull-down circuit
- the spring piece adjacent to the first elastic piece is a VCC spring piece. Then, when the SIM card is inserted into the card interface 801, the first elastic piece and the VCC elastic piece are short-circuited, and the level of the first elastic piece is pulled high to the high level by the low level configured by the pull-down circuit.
- the processing module 802 determines that the first dome is at a high level, it can determine that the inserted card is a SIM card.
- the first detecting circuit is configured as a pull-up circuit
- the spring piece adjacent to the first elastic piece is a GND shrapnel. Then, when the SIM card is inserted into the card interface 801, the first spring piece and the GND spring piece are short-circuited, and the level of the first spring piece is pulled to a low level by the high level of the pull-up circuit configuration.
- the processing module 802 determines the low level of the first shrapnel, it can determine that the inserted card is a SIM card.
- the electronic device 800 may further include: a power interface, three analog switches, six storage communication interfaces connected to the processing module 802, and three SIM communication interfaces.
- the power interface is used for electrically connecting with the second elastic piece for connecting the power source in the N pieces; the first ends of the three analog switches are respectively connected with three pieces of the N pieces, and the second ends of the three analog switches are respectively connected.
- the communication interface is connected to the first elastic piece, the second storage communication interface is connected to the fourth elastic piece of the N pieces, and the third storage communication interface is connected with the fifth piece of the N pieces.
- the electronic device 800 may further include a grounding interface for electrically connecting to the third shrapnel for grounding in the N pieces of shrapnel.
- the electronic device 800 can implement the storage function; when the three storage communication interfaces and the power supply are When the five interfaces of the interface and the ground interface are respectively communicatively connected to the five shrapnels in the card interface 801, the electronic device 800 can implement the user identification function.
- the power interface provides a voltage to cause the card to be powered up, and the processing module 802 determines the type of the inserted card based on the level state of the first shrapnel.
- the card interface includes eight shrapnels, and the first detecting circuit is connected to the first shrapnel for detecting the level state of the first shrapnel when a card is inserted in the card interface.
- the processing module includes a control unit, an SD IO, a SIM IO, a power interface, and a ground interface; the power interface is connected to the second shrapnel; the ground interface is connected to the third shrapnel; the processing module is connected to the control unit, and the control unit can be used to control three analog switches Switching operation.
- the processing module is configured to determine, according to the level state of the at least the first shrapnel, that the inserted card is a SIM card or a memory card.
- the SD IO includes six storage communication interfaces, and the SIM IO includes three SIM communication interfaces.
- the first ends of the three analog switches are respectively connected with three shrapnels of the N pieces, and the second ends of the three analog switches.
- the switching operation is respectively connected to three storage communication interfaces of the six storage communication interfaces, or respectively connected to the three SIM communication interfaces by the switching operation.
- the card interface is configured to communicate with the memory card through the eight shrapnel when the memory card is inserted; and to implement the processing module 802 by the second shrapnel, the third shrapnel, and the three shrapnel when the SIM card is inserted.
- Communicating with the SIM card wherein, when the SIM card is inserted, the first elastic piece and the fourth elastic piece are respectively short-circuited with the adjacent elastic piece. That is, the first elastic piece and the card interface are short-circuited with the elastic piece adjacent to the first elastic piece, that is, the fourth elastic piece is short-circuited with the elastic piece adjacent to the fourth elastic piece in the card interface distribution.
- an NFC module and an NFC analog switch may also be included in the electronic device.
- the first end of the NFC analog switch is connected to the fifth shrapnel, the second end of the NFC analog switch is connected to the third storage communication interface through a switching operation, or is connected to the NFC module through a switching operation; the NFC module is used to simulate with the NFC
- the NFC function is implemented when the switch is connected.
- the processing module 802 can also control the second ends of the three analog switches to be respectively connected to the three SIM communication interfaces when determining that the inserted card is a SIM card; and, when determining that the inserted card is a memory card, The second ends of the three analog switches are respectively connected to three storage communication interfaces.
- the processing module 802 can control the switching of the three analog switches through the control unit in the processing module 802.
- the processing module 802 can also control the second end of the NFC analog switch to be connected to the NFC module when determining that the inserted card is a SIM card; and, when determining that the inserted card is a memory card And controlling the second end of the NFC analog switch to be connected to the third storage communication interface.
- the card is communicably connected with the processing module 802 to implement the corresponding function.
- the processing module 802 introduces a specific implementation manner in which the inserted card is a SIM card or a memory card according to the level state of at least the first shrapnel.
- the processing module determines that the inserted card is a SIM card; and when the first shrapnel is at a low level, the processing module 802 determines that the inserted card is a memory card.
- first elastic piece adjacent to the second elastic piece can be referred to the previous explanation, that is, the first elastic piece and the second elastic piece are located on the same side of the card interface, and the first elastic piece and the second elastic piece are blocked by only one insulating gap. I will not repeat them here.
- the default level state of the first shrapnel is low.
- the first elastic piece is adjacent to the second elastic piece (VCC elastic piece), and the metal contact corresponding to the first elastic piece and the metal contact corresponding to the second elastic piece are obtained by splitting a metal contact of the SIM card, then
- VCC elastic piece VCC elastic piece
- the metal contact corresponding to the first elastic piece and the metal contact corresponding to the second elastic piece are obtained by splitting a metal contact of the SIM card, then
- one metal contact in the SIM card covers the first elastic piece and the second elastic piece at the same time, and the first elastic piece and the second elastic piece are short-circuited, and the level of the first elastic piece is pulled by the second elastic piece. High to high level.
- the processing module 802 determines that the first dome is at a high level, it can determine that the inserted card is a SIM card.
- the processing module determines that the inserted card is a SIM card; and when the first shrapnel is at a high level, the processing module 802 determines that the inserted card is a memory card.
- the default level state of the first shrapnel is high.
- the first elastic piece is adjacent to the third elastic piece (the GND spring piece), and the metal contact corresponding to the first elastic piece and the metal contact corresponding to the third elastic piece are obtained by splitting a metal contact of the SIM card, then
- a metal contact in the SIM card covers the first elastic piece and the third elastic piece at the same time, and the first elastic piece and the third elastic piece are short-circuited, and the level of the first elastic piece is pulled by the third elastic piece.
- the processing module 802 determines that the first dome is at a low level, it can determine that the inserted card is a SIM card.
- the first mode and the second mode are solutions for identifying the inserted card type in the case where the first elastic piece is adjacent to the second elastic piece (VCC elastic piece) or the third elastic piece (GND spring piece). If the spring is distributed in the card interface, the first elastic piece is not adjacent to the second elastic piece (VCC spring piece) and the third elastic piece (GND spring piece) (for example, in the metal contact distribution shown in FIG. 3, if the first The elastic piece is the elastic piece corresponding to the contact of the metal contact D2, and then the first elastic piece and the second elastic piece and the third elastic piece are not adjacent to each other. Therefore, in the embodiment of the present application, the default electric power of the elastic piece adjacent to the first elastic piece needs to be configured.
- the flat state assists the detection of the level state of the first shrapnel, so that the auxiliary processing module 802 determines the inserted card type.
- a second detection circuit can be configured for the shrapnel adjacent to the first shrapnel to configure a default level state of the shrapnel.
- the second detecting circuit is connected to the elastic pieces of the N pieces except the first elastic piece, the second elastic piece and the third elastic piece and adjacent to the first elastic piece, and the second detecting circuit is configured to be in an output state.
- the second detecting circuit can also be a GPIO circuit.
- the GPIO circuit can be configured as an input state or as an output state.
- the GPIO circuitry can be used to configure the desired level state in the circuit. Therefore, in the embodiment of the present application, the second output circuit is configured to be in an output state.
- a plurality of detecting circuits such as the foregoing first detecting circuit and second detecting circuit, and the third detecting circuit, the fourth detecting circuit, and the fifth, which may be referred to later, may be disposed.
- the specific implementation form of the detection circuit is not limited in the embodiment of the present application, as long as the detection circuit can detect the level state of the shrapnel or configure the default level state of the shrapnel.
- these detection circuits can be considered part of the processing module 802 and can also be considered as separate circuits independent of the processing module 802.
- the processing module 802 determines that the inserted card is a SIM card or a memory card according to the level state of at least the first shrapnel, and can be seen in the following manners 3 and 4.
- the processing module 802 configures the default level state of the shrapnel adjacent to the first shrapnel to be high level (exemplarily, the second detecting circuit is configured as The processing module 802 determines that the inserted card is a SIM card when the first shrapnel is at a high level; and the processing module 802 determines that the inserted card is a memory card when the first shrapnel is at a low level.
- the default level state of the first shrapnel is low, and the default level state of the shrapnel adjacent to the first shrapnel is high. Since the metal contact corresponding to the first elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface 801, the SIM card is inserted. A metal contact covers the first elastic piece and the elastic piece at the same time, and the first elastic piece and the elastic piece are short-circuited, and the level of the first elastic piece is pulled high to the high level by the elastic piece.
- the processing module 802 determines that the first dome is at a high level, it can determine that the inserted card is a SIM card.
- the processing module 802 determines that the inserted card is a SIM card when the first shrapnel is at a low level; and the processing module 802 determines that the inserted card is a memory card when the first shrapnel is at a high level.
- the default level state of the first shrapnel is a high level
- the default level state of the shrapnel adjacent to the first shrapnel is a low level. Since the metal contact corresponding to the first elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface 801, the SIM card is inserted. A metal contact covers the first elastic piece and the elastic piece at the same time, and the first elastic piece and the elastic piece are short-circuited, and the level of the first elastic piece is pulled down to the low level by the elastic piece.
- the processing module 802 determines that the first dome is at a low level, it can determine that the inserted card is a SIM card.
- the metal contacts of the memory card are distributed as shown in Figure 5, and the system architecture is shown in Figure 10. Then, if the first elastic piece is a spring piece corresponding to the D2 metal contact, when the SIM card and the memory card are respectively inserted into the card interface, the state recognized by the processing module can be as shown in Table 3.
- the state recognized by the processing module 802 can be as shown in Table 4.
- the metal contacts of the memory card are distributed as shown in Figure 3, and the system architecture is shown in Figure 10.
- the first elastic piece is a spring piece corresponding to the D2 metal contact
- a second detecting circuit may be disposed at the elastic piece corresponding to the CLK metal contact. Then, when the SIM card and the memory card are respectively inserted into the card interface in different configurations of the first detecting circuit and the second detecting circuit, the state recognized by the processing module 802 can be as shown in Table 5.
- the processing module 802 can be determined according to the level state of the first shrapnel or the level state of the other shrapnel. Therefore, in addition to detecting the level state of the first shrapnel, in the embodiment of the present application, the level state of the fourth shrapnel in the at least one shrapnel may be detected.
- the level state of the fourth shrapnel can be detected by the third detecting circuit.
- the third detecting circuit is connected to the fourth elastic piece for detecting the level state of the fourth elastic piece when the card is inserted in the card interface 801. Then, the processing module 802 can determine that the inserted card is a SIM card or a memory card according to the level state of the fourth shrapnel.
- the third detecting circuit can also be a GPIO circuit.
- the third detecting circuit can also be a GPIO circuit.
- the structure of the electronic device 800 shown in FIG. 10 can be as shown in FIG.
- the third detecting circuit is configured to enable the processing module 802 to determine the inserted card type according to the level state of the fourth shrapnel, so that the processing module 802 determines the card type more accurately.
- the fourth elastic piece when the SIM card is inserted, the fourth elastic piece is short-circuited with the adjacent elastic piece, the detection mode of the level state of the fourth elastic piece, and the processing module 802 determines the insertion card according to the level state of the fourth elastic piece.
- the type is similar. Specifically, the following four ways can be referred to.
- the processing module 802 determines the inserted card when the fourth shrapnel is at a high level. It is a SIM card; when the fourth shrapnel is at a low level, the processing module 802 determines that the inserted card is a memory card.
- the default level state of the fourth shrapnel is low. Since the fourth elastic piece is adjacent to the second elastic piece (VCC elastic piece), and the metal contact corresponding to the fourth elastic piece and the metal contact corresponding to the second elastic piece are obtained by splitting a metal contact of the SIM card, then When the SIM card is inserted into the card interface 801, one metal contact in the SIM card covers the fourth elastic piece and the second elastic piece at the same time, and the fourth elastic piece and the second elastic piece are short-circuited, and the level of the fourth elastic piece is pulled by the second elastic piece. High to high level. When the processing module 802 determines that the fourth shrapnel is at a high level, it can determine that the inserted card is a SIM card.
- the processing module 802 determines that the inserted card is when the fourth shrapnel is at a low level.
- the default level state of the fourth shrapnel is high. Since the fourth elastic piece is adjacent to the third elastic piece (GND shrapnel), and the metal contact corresponding to the fourth elastic piece and the metal contact corresponding to the third elastic piece are obtained by splitting a metal contact of the SIM card, then When the SIM card is inserted into the card interface 801, one metal contact in the SIM card covers the fourth elastic piece and the third elastic piece at the same time, the fourth elastic piece and the third elastic piece are short-circuited, and the level of the fourth elastic piece is pulled by the third elastic piece. Low to low level. When the processing module 802 determines that the fourth shrapnel is at a low level, it can determine that the inserted card is a SIM card.
- the elastic piece adjacent to the fourth elastic piece may be disposed in the embodiment of the present application.
- the default level state which assists in the detection of the level state of the fourth shrapnel.
- a fourth detection circuit can be configured for the shrapnel adjacent to the fourth shrapnel.
- the fourth detecting circuit is connected to the elastic pieces of the N pieces other than the second elastic piece, the third elastic piece and the fourth elastic piece and adjacent to the fourth elastic piece, and the fourth detecting circuit is configured to be in an output state.
- the fourth detecting circuit can also be a GPIO circuit.
- the GPIO circuit can be configured as an input state or as an output state.
- the GPIO circuitry can be used to configure the desired level state in the circuit. Therefore, in the embodiment of the present application, the fourth output circuit is configured to be in an output state.
- the processing module 802 determines that the inserted card is a SIM card or a memory card according to the level state of the fourth shrapnel, and can be seen in the following manners 3 and 4.
- the fourth detecting circuit is configured as a pull-up circuit
- the processing module 802 determines that the inserted card is a SIM card when the fourth shrapnel is at a high level; and the processing module 802 determines that the inserted card is a memory card when the fourth shrapnel is at a low level.
- the default level state of the fourth shrapnel is low, and the default level state of the shrapnel adjacent to the fourth shrapnel is high. Since the metal contact corresponding to the fourth elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface 801, the SIM card is inserted. One of the metal contacts covers the fourth shrapnel and the shrapnel at the same time, and the fourth shrapnel is short-circuited with the adjacent shrapnel, and the level of the fourth shrapnel is pulled high by the shrapnel. When the processing module 802 determines that the fourth shrapnel is at a high level, it can determine that the inserted card is a SIM card.
- the fourth detecting circuit is configured as a pull-down circuit
- the default level state of the fourth shrapnel is a high level
- the default level state of the shrapnel adjacent to the fourth shrapnel is a low level. Since the metal contact corresponding to the fourth elastic piece and the corresponding metal contact of the adjacent elastic piece are obtained by splitting a metal contact of the SIM card, when the SIM card is inserted into the card interface 801, the SIM card is inserted. One of the metal contacts covers the fourth shrapnel and the shrapnel at the same time, and the fourth shrapnel is short-circuited with the shrapnel, and the level of the fourth shrapnel is pulled low to the low level by the shrapnel.
- the processing module 802 determines that the fourth shrapnel changes from a high level to a low level, it can determine that the inserted card is a SIM card.
- the electronic device provided by the embodiment of the present application can also determine whether the SIM card is abnormal by detecting the level state of the spring in the card interface 801 when the inserted card is a SIM card. .
- the exception mentioned here usually refers to an abnormality caused by excessive tolerance of the SIM card.
- the user may cut the existing Micro SIM card and use the cut micro SIM card as a Nano SIM card. After the card is cut, the card tolerance is too large and the SIM card cannot be used.
- the following solution is provided to detect a SIM card abnormality caused by the card cutting.
- the processing module 802 is further configured to: configure a default power of the first specified shrapnel of the N pieces other than the first shrapnel and adjacent to the second shrapnel for connecting the power source in the N pieces of the shrapnel The flat state is low.
- the processing module 802 can determine the abnormal condition of the SIM card.
- a fifth detection circuit can be set for the first designated shrapnel to detect the level state of the first designated shrapnel.
- the fifth detecting circuit is connected to the first designated shrapnel of the N pieces except the first shrapnel and adjacent to the second shrapnel, and the fifth detecting circuit is configured to detect and output the level state of the first designated shrapnel.
- the fifth detecting circuit is configured as a pull-down circuit (ie, the default level state of the first designated shrapnel is low).
- the fifth detecting circuit can also be a GPIO circuit.
- the fifth detecting circuit can also be a GPIO circuit.
- the first designated elastic piece may be any one of the N elastic pieces except the first elastic piece and adjacent to the second elastic piece.
- the elastic piece corresponding to the D2 metal contact is the first elastic piece
- the elastic piece corresponding to the D0 metal contact can be regarded as the first designated elastic piece.
- the processing module 802 can detect the abnormal state of the SIM card in the following three manners.
- the processing module 802 is at the first shrapnel for the low level, the first designation When the shrapnel is at a high level, it is determined that the second shrapnel is short-circuited with the first designated shrapnel, and the second shrapnel is opened with the first shrapnel.
- the first elastic piece is adjacent to the second elastic piece, and the first designated elastic piece is also adjacent to the second elastic piece.
- a VCC metal contact for turning on the power in the SIM card covers the first elastic piece and the second elastic piece (ie, the metal contact corresponding to the first elastic piece and the second when the memory card is inserted)
- the metal contact pair corresponding to the shrapnel is the two metal contacts obtained by splitting the VCC metal contact), causing a short circuit between the first elastic piece and the second elastic piece; then, when inserting the SIM card after cutting the card, due to the SIM
- the card has a tolerance of the card, which may cause the metal contacts of the SIM card and the tabs in the card interface to be misaligned, thereby causing the level of the first tab and the first tab to be abnormal.
- the first shrapnel is at a low level, and the first designated shrapnel is at a high level, that is, the metal corresponding to the first designated shrapnel in the SIM card is caused by the error of the clipped card of the SIM card.
- the contacts are connected, and the metal contacts corresponding to the first shrapnel are disconnected.
- the level of the first shrapnel is low, and the level of the first designated shrapnel is high.
- the processing module 802 can determine that the second elastic piece is short-circuited with the first designated elastic piece, and the second elastic piece and the first elastic piece are open according to the level state of the first elastic piece and the first specified elastic piece.
- the abnormal state in the first mode can be seen in FIG. 12 .
- the SIM card includes three metal contacts on the left side and three metal contacts on the right side, D2 is the first spring piece on the card interface 801, VCC is the second spring piece on the card interface 801, and RST is on the card interface 801.
- the first specified shrapnel When the SIM card is inserted into the card interface 801, the VCC shrapnel is connected to the metal contact corresponding to the RST shrapnel in the SIM card, and the metal contact corresponding to the D2 shrapnel is disconnected.
- the shrapnel is staggered.
- the processing module 802 is at the first shrapnel for the low level, the first designation When the shrapnel is at a low level, it is determined that the second shrapnel is open to the first designated shrapnel, and the second shrapnel and the first shrapnel are open.
- the first shrapnel is at a low level
- the first designated shrapnel is at a low level
- the metal corresponding to the first designated shrapnel in the SIM card is caused by the error of the clipped card of the SIM card.
- the metal contact corresponding to the first elastic piece is also disconnected, that is, the insulation gap between the second elastic piece and the metal contact in the SIM card is connected, and the level of the first elastic piece and the first designated elastic piece are both low.
- Level The processing module 802 can determine, according to the level state of the first elastic piece and the first designated elastic piece, the second elastic piece and the first designated elastic piece open circuit, the second elastic piece and the first elastic piece open circuit.
- the abnormal state in the second mode can be seen in FIG. 13 .
- the SIM card includes three metal contacts on the left side and three metal contacts on the right side, D2 is the first spring piece on the card interface 801, VCC is the second spring piece on the card interface 801, and RST is on the card interface 801.
- the first specified shrapnel When the SIM card is inserted into the card interface 801, the metal contacts corresponding to the RST shrapnel of the VCC shrapnel and the SIM card are disconnected, and the metal contacts corresponding to the D2 shrapnel are also disconnected.
- this abnormal state of the SIM card is referred to as a "critical open circuit" in the embodiment of the present application.
- the processing module 802 is at the first shrapnel for the high level, the first designated shrapnel.
- the second elastic piece is short-circuited with the first designated elastic piece, and the second elastic piece is short-circuited with the first elastic piece.
- the first shrapnel is at a high level
- the first designated shrapnel is at a high level
- the metal corresponding to the first designated shrapnel in the SIM card is caused by the error of the clipped card of the SIM card.
- the contacts are connected, and the metal contacts corresponding to the first shrapnel are also connected.
- the levels of the first shrapnel and the first designated shrapnel are both high.
- the processing module 802 can determine that the second elastic piece is short-circuited with the first designated elastic piece and the second elastic piece is short-circuited with the first elastic piece according to the level state of the first elastic piece and the first specified elastic piece.
- the abnormal state in the third mode can be specifically seen in FIG. 14 .
- the SIM card includes three metal contacts on the left side and three metal contacts on the right side, D2 is the first spring piece on the card interface 801, VCC is the second spring piece on the card interface 801, and RST is on the card interface 801.
- the first specified shrapnel When the SIM card is inserted into the card interface 801, the VCC shrapnel is connected to the metal contact corresponding to the RST shrapnel in the SIM card, and the metal contact corresponding to the D2 shrapnel is also connected.
- this abnormal state of the SIM card is referred to as a "critical short circuit" in the embodiment of the present application.
- the processing module 802 can control the power interface to communicate with the first storage communication interface, and control the ground interface to communicate with the second storage communication interface to eliminate the above.
- the first storage communication interface is connected to the first elastic piece
- the second storage communication interface is connected to the fourth elastic piece of the N elastic pieces
- the fourth elastic piece and the first elastic piece are symmetrically distributed on the card interface.
- the level of the first shrapnel in the card interface 801 can be changed to a high level, thereby realizing the SIM card to be powered on; meanwhile, the ground interface and the second storage communication interface are Turning on, the level of the fourth shrapnel in the card interface 801 can be changed to a low level, thereby realizing the SIM card grounding.
- the general VCC metal contact and the GND metal contact are located at symmetric positions on the left and right sides.
- the VCC metal touch The point is in the third position on the left and the GND metal contact is in the third position on the right.
- the SIM card trimming tolerance is too large, not only the shrapnel adjacent to the VCC metal contact may have a level abnormality, but also the shrapnel adjacent to the GND metal contact may have a level abnormality.
- the level status of the D3 shrapnel and the VPP shrapnel may also be abnormal). Therefore, when the abnormal state is eliminated, not only the power interface needs to be electrically connected to the first storage communication interface, but also the ground interface and the second storage communication interface are required to be turned on.
- the second communication interface is selected to be electrically connected to the ground interface for the following considerations: due to the symmetry of the metal dome of the card interface, and the first shrapnel and the fourth shrapnel only transmit information for the memory card.
- the shrapnel therefore, the first shrapnel and the fourth shrapnel are usually symmetrically distributed on both sides of the card interface, such as the D2 shrapnel and the D3 shrapnel in FIG.
- the fourth elastic piece is usually adjacent to the third elastic piece (GND spring piece). Therefore, when the SIM card has a problem that the card clipping tolerance is too large and the two abnormal states are caused, the second communication interface and the ground interface may be selected to be turned on, thereby implementing the SIM card grounding.
- the processing module 802 can not be restored by the processing module 802. In this case, the processing module 802 can generate the first user prompt information, where the first user prompt information is used to prompt the user that the SIM card is abnormal, that is, prompting The user SIM card has too much tolerance, which makes the SIM card unusable.
- D2 is the first shrapnel on the card interface 801
- GND is the third shrapnel on the card interface 801
- RST is the first designated shrapnel on the card interface 801. Then, the level state of each shrapnel in the abnormal state and the normal state can be as shown in Table 6.
- a plurality of detecting circuits may be disposed in the electronic device 800 to detect the level state of different shrapnel.
- the level state of the D2 shrapnel may not accurately determine the inserted card type. For example, when a memory card is inserted in a normal state, the level of the D2 shrapnel is low, but when the SIM card is inserted and the SIM card is in an abnormal state in which the shrap is staggered or critically open, the level of the D2 shrapnel is also low. Ping, at this time, if it is judged that the inserted card is a memory card, it is obviously incorrect. That is, merely detecting the level state of the D2 shrapnel may cause the card type to be judged incorrectly.
- a detection circuit can be further disposed in the electronic device 800 to detect the level state of the RST dome.
- the processing module 802 can determine the inserted card type and the abnormal state of the SIM card in combination with the level states of the RST dome and the D2 dome.
- the processing module 802 is further configured to: configure a default level of the second designated shrapnel of the N pieces other than the first piece and adjacent to the third piece of the N pieces in the N pieces. The status is high.
- the processing module 802 can determine the abnormal condition of the SIM card.
- a sixth detection circuit can be provided for the second designated shrapnel.
- the sixth detecting circuit is connected to the second designated shrapnel of the N pieces except the first shrapnel and adjacent to the third shrapnel, and the fifth detecting circuit is configured to detect and output the level state of the second designated shrapnel.
- the sixth detecting circuit is configured as a pull-up circuit (ie, the default level state of the second designated shrapnel is a high level).
- the sixth detecting circuit can also be a GPIO circuit.
- the processing module 802 can detect the abnormal state of the SIM card in the following three manners.
- the processing module 802 is at the first elastic piece and is the second specified elastic piece. When it is low, it is determined that the third elastic piece is short-circuited with the second designated elastic piece, and the third elastic piece and the first elastic piece are open.
- the first shrapnel is at a high level
- the second designated shrapnel is at a low level, that is, the metal corresponding to the second designated shrapnel in the SIM card is caused by the error of the clipped card of the SIM card.
- the contacts are connected, and the metal contacts corresponding to the first shrapnel are disconnected.
- the level of the first shrapnel is high
- the level of the second designated shrapnel is low.
- the processing module 802 can determine that the third elastic piece and the second designated elastic piece are short-circuited, and the third elastic piece and the first elastic piece are open according to the level state of the first elastic piece and the second specified elastic piece.
- the abnormal state in the first mode can be seen in FIG. 12 .
- the SIM card includes three metal contacts on the left side and three metal contacts on the right side, D3 is the first spring piece on the card interface 801, GND is the third spring piece on the card interface 801, and VPP is the card interface 801.
- the second designated shrapnel When the SIM card is inserted into the card interface 801, the GND shrapnel is connected to the metal contact corresponding to the VPP shrapnel in the SIM card, and the metal contact corresponding to the D3 shrapnel is disconnected.
- the shrapnel is staggered.
- the processing module 802 is at the first elastic piece and is the second specified elastic piece.
- the level is high, it is determined that the third elastic piece and the second designated elastic piece are open, and the third elastic piece and the first elastic piece are open.
- the first shrapnel is at a high level
- the second designated shrapnel is at a high level, that is, the metal corresponding to the second designated shrapnel in the SIM card is caused by the error of the clipped card of the SIM card.
- the metal contact corresponding to the first elastic piece is also disconnected, that is, the insulation gap between the third elastic piece and the metal contact in the SIM card is connected, and the levels of the first elastic piece and the second designated elastic piece are high at this time.
- Level The processing module 802 can determine that the third elastic piece and the second designated elastic piece are open, the third elastic piece and the first elastic piece are open according to the level state of the first elastic piece and the second designated elastic piece.
- the abnormal state in the second mode can be seen in FIG. 13 .
- the SIM card includes three metal contacts on the left side and three metal contacts on the right side, D3 is the first spring piece on the card interface 801, GND is the third spring piece on the card interface 801, and VPP is the card interface 801.
- the second designated shrapnel When the SIM card is inserted into the card interface 801, the metal contacts corresponding to the VPP shrapnel of the GND shrapnel and the SIM card are disconnected, and the metal contacts corresponding to the D3 shrapnel are also disconnected.
- this abnormal state of the SIM card is referred to as a "critical open circuit" in the embodiment of the present application.
- the processing module 802 is at the first elastic piece and is the second designated piece. When it is low, it is determined that the third elastic piece is short-circuited with the second designated elastic piece, and the third elastic piece is short-circuited with the first elastic piece.
- the first shrapnel is at a low level
- the second designated shrapnel is at a low level, that is, the metal corresponding to the second designated shrapnel in the SIM card is caused by the error of the clipped card of the SIM card.
- the contacts are connected, and the metal contacts corresponding to the first shrapnel are also connected.
- the levels of the first shrapnel and the second designated shrapnel are both low.
- the processing module 802 can determine that the third elastic piece is short-circuited with the second designated elastic piece and the third elastic piece is short-circuited with the first elastic piece according to the level state of the first elastic piece and the second designated elastic piece.
- the abnormal state in the third mode can be specifically seen in FIG. 14 .
- the SIM card includes three metal contacts on the left side and three metal contacts on the right side, D3 is the first spring piece on the card interface 801, GND is the third spring piece on the card interface 801, and VPP is the card interface 801.
- the second designated shrapnel When the SIM card is inserted into the card interface 801, the GND shrapnel is connected to the metal contact corresponding to the VPP shrapnel in the SIM card, and the metal contact corresponding to the D3 shrapnel is also connected.
- this abnormal state of the SIM card is referred to as a "critical short circuit" in the embodiment of the present application.
- the processing module 802 can control the power interface to be electrically connected to the first storage communication interface, and control the ground interface to be electrically connected to the second storage communication interface.
- the first storage communication interface is connected to the first elastic piece
- the second storage communication interface is connected to the fourth elastic piece of the N elastic pieces
- the fourth elastic piece and the first elastic piece are symmetrically distributed on the card interface.
- the processing module 802 can generate the second user prompt information, where the second user prompt information is used to prompt the user that the SIM card is abnormal, that is, the user SIM is prompted.
- the card cut card tolerance is too large, making the SIM card unusable.
- D3 is the first shrapnel on the card interface 801
- GND is the third shrapnel on the card interface 801
- VPP is the second designated shrapnel on the card interface 801. Then, the level state of each shrapnel in the abnormal state and the normal state can be as shown in Table 7.
- a plurality of detecting circuits may be disposed in the electronic device 800 to detect the level state of different shrapnel.
- the level state of the D3 shrapnel may not accurately determine the inserted card type. For example, when a memory card is inserted in a normal state, the level of the D3 shrapnel is high, but when the SIM card is inserted and the SIM card is in an abnormal state in which the shrap is staggered or critically open, the level of the D3 shrapnel is also high. Ping, at this time, if it is judged that the inserted card is a memory card, it is obviously incorrect. That is, merely detecting the level state of the D3 shrapnel may cause the card type to be judged incorrectly.
- a detection circuit can be further provided in the electronic device 800 to detect the level state of the VPP shrapnel.
- the processing module 802 can determine the inserted card type and the abnormal state of the SIM card in combination with the level states of the VPP shrapnel and the D3 shrapnel.
- the electronic device includes a card interface and a processing module.
- the memory card when the card interface is inserted with the memory card, the memory card is electrically connected to the processing module to implement the storage function of the electronic device.
- the SIM card When the SIM card is inserted into the card interface, the SIM card is electrically connected to the processing module, and a metal contact in the SIM card is electrically connected to the first elastic piece of the N elastic pieces and the one elastic piece adjacent to the first elastic piece.
- the processing module determines that the inserted card is a SIM card or a memory card according to the level state of at least the first shrapnel.
- the short-circuit phenomenon causes the level state of the first shrapnel to be different from the default level state at this time. If the processing module determines that the level state of the first shrapnel is the default level state, it can be determined that the inserted card is a memory card, and if the processing module determines that the level state of the first shrapnel is not the default level state, the inserted card can be judged. For the SIM card.
- the type of the inserted card can also be identified by assuming-sequential trial and error: when it is detected that a card is inserted in the card holder, first assume that the inserted card is a SIM card, and read according to the SIM card initialization operation. If the card information is successfully read, it is recognized that the inserted card is a SIM card; if the reading fails, it is assumed that the inserted card is a memory card, and the card information is read according to the memory card initializing operation. If the reading is successful, it is recognized that the inserted card is a memory card; if it fails again, it is judged that no card is inserted, or the card is invalid.
- the embodiment of the present application provides an electronic device, the electronic device includes: a card interface and a processing module; the card interface is electrically connected to the processing module; the card interface can be inserted with a SIM card or a memory card; The card interface includes N shrapnels, N>1. When the card interface is inserted with a memory card, the memory card is electrically connected to the processing module; when the SIM card is inserted into the card interface, the SIM card is electrically connected to the processing module.
- the processing module is configured to: perform a first initialization operation on the card inserted in the card interface by using a SIM card initialization process; if the first initialization operation is successful, determine that the card inserted into the card interface is a SIM card; if the first initialization operation fails, the method is adopted.
- the memory card initialization process performs a second initialization operation on the card inserted in the card interface; if the second initialization operation is successful, it determines that the card inserted into the card interface is a memory card; if the second initialization operation fails, it is determined that there is no card insertion in the card interface. Or the card inserted in the card interface is invalid.
- the type of inserted card can also be identified by first initializing the memory card and then initializing the SIM.
- the embodiment of the present application provides an electronic device, including: a card interface and a processing module; the card interface is electrically connected to the processing module; the card interface may be inserted with a SIM card or a memory card; the card interface includes N shrapnel, N >1, when the card interface is inserted with a memory card, the memory card is electrically connected to the processing module; when the card interface is inserted with the SIM card, the SIM card is electrically connected to the processing module.
- the processing module is configured to: perform a third initialization operation on the card inserted in the card interface by using a memory card initialization process; if the third initialization operation is successful, determine that the card inserted into the card interface is a memory card; if the third initialization operation fails, the method is adopted
- the SIM card initialization process performs a fourth initialization operation on the card inserted in the card interface; if the fourth initialization operation is successful, it determines that the card inserted into the card interface is a SIM card; if the fourth initialization operation fails, it is determined that there is no card insertion in the card interface. Or the card inserted in the card interface is invalid.
- the type of the inserted card can be judged by judging whether the inserted card can be initialized by the corresponding initialization operation.
- the manner of trial-and-error can also be implemented in combination with the manner in which the processing module 802 in the electronic device 800 shown in FIG. 8 determines the type of inserted card. For example, if the card inserted in the card interface 801 is first determined by the processing module 802 to recognize the level, the card information is read according to the SIM card initialization operation, and if the reading is successful, the card inserted in the card interface 801 is determined. It is a SIM card; or, the card inserted in the card interface 801 is determined to be a memory card by the processing module 802, and then the card information is read according to the memory card initialization operation. If the reading is successful, the card interface 801 is determined. The inserted card is a memory card.
- the processing module can identify the type of the card inserted in the card interface 801 according to the level state of each of the shrapnel, and detect the abnormal state of the SIM card.
- the detected abnormal state is a recoverable abnormal state (for example, a spring staggered, a critical open circuit)
- the abnormal state may be eliminated by controlling a conduction state of the communication interface; when the detected abnormal state is an unrecoverable abnormal state (for example, when the critical short circuit is used, the user can be prompted.
- FIG. 15 a flowchart of operations performed by the processing module may be as shown in FIG. 15.
- the processing module performs the following steps:
- the card interface is detected to insert a card.
- step 2 By judging the state of the IO port such as SD_D2/VCC, SD_D3/GND, it is judged whether the inserted card is a SIM card or a Nano SD card. If it is a SIM card, go to step 3; if it is a Nano SD card, go to step 4; if an abnormal state is detected, go to step 9.
- SD_D2 can be regarded as a specific example of the first shrapnel
- VCC can be regarded as a specific example of the second shrapnel
- SD_D3 can be regarded as a specific example of the fourth shrapnel
- GND can be regarded as a specific example of the third shrapnel.
- step 2 The specific manner of determining in step 2 can be referred to the related description in the electronic device 800.
- step 11 Check if the abnormal state is a recoverable abnormality. If it is a recoverable exception, go to step 11; if it is an unrecoverable exception, go to step 10.
- step 6 For the recoverable abnormal phenomenon, start the abnormal recovery circuit, and after the recovery, go to step 6, and start the SIM card initialization step.
- FIG. 15 is a specific example of operations performed by the processing module 802 in the electronic device 800. An implementation not described in detail in the flow shown in FIG. 15 can be referred to the related description in the electronic device 800 shown in FIG.
- the embodiment of the present application further provides a computer storage medium, where the software program stores a software program, and the software program can implement the processing module 802 in the foregoing embodiment when being read and executed by one or more processing modules.
- the method of execution is not limited to:
- the implementation of the present application provides an electronic device.
- the electronic device When the electronic device is inserted in the card interface of the electronic device, the inserted card is identified as a SIM card or a memory card.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Telephone Set Structure (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims (22)
- 一种电子设备,其特征在于,包括:卡接口和处理模块;所述卡接口与所述处理模块电连接;所述卡接口可以插入有SIM卡或存储卡;所述卡接口包含N个弹片,N>1,当所述卡接口插入有存储卡时,所述存储卡与所述处理模块电连接;当所述卡接口插入有SIM卡时,所述SIM卡与所述处理模块电连接,且所述SIM卡中的一个金属触点与所述N个弹片中的第一弹片以及与所述第一弹片相邻的一个弹片电连接;所述处理模块用于根据至少所述第一弹片的电平状态,确定插入的卡片为SIM卡或存储卡。
- 如权利要求1所述的电子设备,其特征在于,所述SIM卡为Nano SIM卡,所述存储卡为与所述Nano SIM卡外形相同的存储卡。
- 如权利要求2所述的电子设备,其特征在于,还包括:电源接口、三个模拟开关,以及与所述处理模块连接的六个存储通讯接口和三个SIM通讯接口;其中,所述电源接口用于与所述N个弹片中用于连接电源的第二弹片电连接;所述三个模拟开关的第一端分别与所述N个弹片中的三个弹片连接,所述三个模拟开关的第二端通过切换操作分别与所述六个存储通讯接口中的三个存储通讯接口连接,或者通过切换操作分别与所述三个SIM通讯接口连接;所述六个通信存储接口中除所述三个存储通讯接口之外的第一存储通讯接口与所述第一弹片连接,第二存储通讯接口与所述N个弹片中的第四弹片连接,第三存储通讯接口与所述N个弹片中的第五弹片连接。
- 如权利要求3所述的电子设备,其特征在于,所述处理模块还用于:在确定插入的卡片为SIM卡时,控制所述三个模拟开关的第二端分别与所述三个SIM通讯接口连接;以及,在确定插入的卡片为存储卡时,控制所述三个模拟开关的第二端分别与所述三个存储通讯接口连接。
- 如权利要求3或4所述的电子设备,其特征在于,还包括:近场通讯NFC模块和NFC模拟开关,所述NFC模拟开关的第一端与所述第五弹片连接,所述NFC模拟开关的第二端通过切换操作与所述第三存储通讯接口连接,或者通过切换操作与所述NFC模块连接;所述NFC模块用于在与所述NFC模拟开关连接时实现NFC功能。
- 如权利要求1~5任一项所述的电子设备,其特征在于,所述处理模块在确定插入的卡片为SIM卡或存储卡时,具体用于:若所述第一弹片与所述N个弹片中用于连接电源的第二弹片相邻、所述第一弹片的默认电平状态为低电平,则所述处理模块在所述第一弹片为高电平时,确定插入的卡片为SIM卡;所述处理模块在所述第一弹片为低电平时,确定插入的卡片为存储卡;和/或若所述第一弹片与所述N个弹片中用于接地的第三弹片相邻、所述第一弹片的默认电平状态为高电平,则所述处理模块在所述第一弹片为低电平时,确定插入的卡片为SIM卡;所述处理模块在所述第一弹片为高电平时,确定插入的卡片为存储卡。
- 如权利要求1~6任一项所述的电子设备,其特征在于,所述处理模块在确定插入的卡片为SIM卡或存储卡时,具体用于:若所述第一弹片的默认电平状态为低电平、所述处理模块配置与所述第一弹片相邻的 弹片的默认电平状态为高电平,则所述处理模块在所述第一弹片为高电平时,确定插入的卡片为SIM卡;所述处理模块在所述第一弹片为低电平时,确定插入的卡片为存储卡;和/或若所述第一弹片的默认电平状态为高电平、所述处理模块配置与所述第一弹片相邻的弹片的默认电平状态为低电平,则所述处理模块在所述第一弹片为低电平时,确定插入的卡片为SIM卡;所述处理模块在所述第一弹片为高电平时,确定插入的卡片为存储卡。
- 如权利要求1~7任一项所述的电子设备,其特征在于,所述处理模块还用于:根据所述N个弹片中的第四弹片的电平状态,确定插入的卡片为SIM卡或存储卡。
- 如权利要求8所述的电子设备,其特征在于,所述处理模块在确定插入的卡片为SIM卡或存储卡时,具体用于:若所述第四弹片与所述N个弹片中用于连接电源的第二弹片相邻、所述第四弹片的默认电平状态为低电平,则所述处理模块在所述第四弹片为高电平时,确定插入的卡片为SIM卡;所述处理模块在所述第四弹片为低电平时,确定插入的卡片为存储卡;和/或若所述第四弹片与所述N个弹片中用于接地的第三弹片相邻、所述第四弹片的默认电平状态为高电平,则所述处理模块在所述第四弹片为低电平时,确定插入的卡片为SIM卡;所述处理模块在所述第四弹片为高电平时,确定插入的卡片为存储卡。
- 如权利要求8或9所述的电子设备,其特征在于,所述处理模块在确定插入的卡片为SIM卡或存储卡时,具体用于:若所述第四弹片的默认电平状态为低电平、所述处理模块配置与所述第四弹片相邻的弹片的默认电平状态为高电平,则所述处理模块在所述第四弹片为高电平时,确定插入的卡片为SIM卡;所述处理模块在所述第四弹片为低电平时,确定插入的卡片为存储卡;和/或若所述第四弹片的默认电平状态为高电平、所述处理模块配置与所述第四弹片相邻的弹片的默认电平状态为低电平,则所述处理模块在所述第四弹片为低电平时,确定插入的卡片为SIM卡;所述处理模块在所述第四弹片为高电平时,确定插入的卡片为存储卡。
- 如权利要求1~10任一项所述的电子设备,其特征在于,所述处理模块还用于:配置所述N个弹片中除所述第一弹片之外的、且与所述N个弹片中用于连接电源的第二弹片相邻的第一指定弹片的默认电平状态为低电平。
- 如权利要求11所述的电子设备,其特征在于,所述处理模块还用于:若所述第一弹片与所述N个弹片中用于连接电源的第二弹片相邻、所述第一弹片的默认电平状态为低电平,则所述处理模块在所述第一弹片为低电平、所述第一指定弹片为高电平时,确定所述第二弹片与所述第一指定弹片短路、所述第二弹片与所述第一弹片开路。
- 如权利要求11或12所述的电子设备,其特征在于,所述处理模块还用于:若所述第一弹片与所述N个弹片中用于连接电源的第二弹片相邻、且所述第一弹片的默认电平状态为低电平,则所述处理模块在所述第一弹片为低电平、所述第一指定弹片为低电平时,确定所述第二弹片与所述第一指定弹片开路、所述第二弹片与所述第一弹片开路。
- 如权利要求12或13所述的电子设备,其特征在于,所述处理模块还用于:控制所述电子设备中的电源接口与第一存储通讯接口导通,并控制所述电子设备中的接地接口与第二存储通讯接口导通。其中,所述第一存储通讯接口与所述第一弹片连接, 所述第二存储通讯接口与所述N个弹片中的第四弹片连接,所述第四弹片与所述第一弹片在所述卡接口上对称分布。
- 如权利要求11~14任一项所述的电子设备,其特征在于,所述处理模块还用于:若所述第一弹片与所述N个弹片中用于连接电源的第二弹片相邻、且所述第一弹片的默认电平状态为低电平,则所述处理模块在所述第一弹片为高电平、所述第一指定弹片为高电平时,确定所述第二弹片与所述第一指定弹片短路、所述第二弹片与所述第一弹片短路。
- 如权利要求15所述的电子设备,其特征在于,所述处理模块还用于:生成第一用户提示信息,所述第一用户提示信息用于提示用户所述SIM卡异常。
- 如权利要求1~16任一项所述的电子设备,其特征在于,所述处理模块还用于:配置所述N个弹片中除所述第一弹片之外的、且与所述N个弹片中用于接地的第三弹片相邻的第二指定弹片的默认电平状态为高电平。
- 如权利要求17所述的电子设备,其特征在于,所述处理模块还用于:若所述第一弹片与所述N个弹片中用于接地的第三弹片相邻、且所述第一弹片的默认电平状态为高电平,则所述处理模块在所述第一弹片为高电平、所述第二指定弹片为低电平时,确定所述第三弹片与所述第二指定弹片短路、所述第三弹片与所述第一弹片开路。
- 如权利要求17或18所述的电子设备,其特征在于,所述处理模块还用于:若所述第一弹片与所述N个弹片中用于接地的第三弹片相邻、且所述第一弹片的默认电平状态为高电平,则所述处理模块在所述第一弹片为高电平、所述第二指定弹片为高电平时,确定所述第三弹片与所述第二指定弹片开路、所述第三弹片与所述第一弹片开路。
- 如权利要求18或19所述的电子设备,其特征在于,所述处理模块还用于:控制所述电子设备中的电源接口与第一存储通讯接口导通,并控制所述电子设备中的接地接口与第二存储通讯接口导通,其中,所述第一存储通讯接口与所述第一弹片连接,所述第二存储通讯接口与所述N个弹片中的第四弹片连接,所述第四弹片与所述第一弹片在所述卡接口上对称分布。
- 如权利要求17~20任一项所述的电子设备,其特征在于,所述处理模块还用于:若所述第一弹片与所述N个弹片中用于接地的第三弹片相邻、且所述第一弹片的默认电平状态为高电平,则所述处理模块在所述第一弹片为低电平、所述第二指定弹片为低电平时,确定所述第三弹片与所述第二指定弹片短路、所述第三弹片与所述第一弹片短路。
- 如权利要求21所述的电子设备,其特征在于,所述处理模块还用于:生成第二用户提示信息,所述第二用户提示信息用于提示用户所述SIM卡异常。
Priority Applications (11)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010108941.2A CN111404564B (zh) | 2018-02-01 | 2018-02-01 | 一种电子设备 |
| PCT/CN2018/074994 WO2019148434A1 (zh) | 2018-02-01 | 2018-02-01 | 一种电子设备 |
| JP2020541524A JP7038841B2 (ja) | 2018-02-01 | 2018-02-01 | 電子デバイス |
| CN201880004342.7A CN109983706B (zh) | 2018-02-01 | 2018-02-01 | 一种电子设备 |
| KR1020207020858A KR102461761B1 (ko) | 2018-02-01 | 2018-02-01 | 전자 장치 |
| EP18903996.9A EP3720105A4 (en) | 2018-02-01 | 2018-02-01 | ELECTRONIC DEVICE |
| US16/966,891 US11416691B2 (en) | 2018-02-01 | 2018-02-01 | Electronic device |
| CN202010108935.7A CN111431549B (zh) | 2018-02-01 | 2018-02-01 | 一种电子设备 |
| KR1020227037599A KR102562210B1 (ko) | 2018-02-01 | 2018-02-01 | 전자 장치 |
| JP2022014078A JP7233579B2 (ja) | 2018-02-01 | 2022-02-01 | 電子デバイス |
| US17/876,743 US11704508B2 (en) | 2018-02-01 | 2022-07-29 | Electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2018/074994 WO2019148434A1 (zh) | 2018-02-01 | 2018-02-01 | 一种电子设备 |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/966,891 A-371-Of-International US11416691B2 (en) | 2018-02-01 | 2018-02-01 | Electronic device |
| US17/876,743 Continuation US11704508B2 (en) | 2018-02-01 | 2022-07-29 | Electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019148434A1 true WO2019148434A1 (zh) | 2019-08-08 |
Family
ID=67077755
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/074994 Ceased WO2019148434A1 (zh) | 2018-02-01 | 2018-02-01 | 一种电子设备 |
Country Status (6)
| Country | Link |
|---|---|
| US (2) | US11416691B2 (zh) |
| EP (1) | EP3720105A4 (zh) |
| JP (1) | JP7038841B2 (zh) |
| KR (2) | KR102461761B1 (zh) |
| CN (3) | CN111431549B (zh) |
| WO (1) | WO2019148434A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4109967A4 (en) * | 2020-03-20 | 2023-08-23 | Huawei Technologies Co., Ltd. | PROCEDURE FOR SWITCHING BETWEEN SIM CARD AND ESIM CARD AND ELECTRONIC DEVICE |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102461761B1 (ko) | 2018-02-01 | 2022-10-31 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 전자 장치 |
| CN118607569A (zh) * | 2018-02-01 | 2024-09-06 | 华为技术有限公司 | 存储卡和终端 |
| JP6939718B2 (ja) * | 2018-06-26 | 2021-09-22 | 日本電信電話株式会社 | ネットワーク機器及びネットワーク機器の設定方法 |
| CN111428839B (zh) * | 2018-12-20 | 2025-04-08 | 华为技术有限公司 | 一种存储卡、连接器以及功能卡的识别方法 |
| CN110621013B (zh) | 2019-08-30 | 2021-07-09 | 华为技术有限公司 | 一种sim模块的管理方法及电子设备 |
| CN110677516A (zh) * | 2019-09-06 | 2020-01-10 | 北京芯盾集团有限公司 | Sim卡、适配装置及终端 |
| CN113033222B (zh) * | 2019-12-09 | 2022-09-23 | 荣耀终端有限公司 | 电子设备、用户身份识别卡与存储卡的识别方法 |
| CN111539232B (zh) * | 2020-03-27 | 2022-03-11 | 郑州信大捷安信息技术股份有限公司 | 一种智能卡的多功能识别系统及方法 |
| CN111507449B (zh) * | 2020-03-31 | 2022-01-04 | 荣耀终端有限公司 | 一种存储卡、识别方法和电子设备 |
| CN113691270B (zh) | 2020-05-18 | 2022-11-11 | 华为技术有限公司 | 一种sim模块的管理方法及电子设备 |
| KR102803818B1 (ko) * | 2020-12-22 | 2025-05-08 | 삼성전자주식회사 | 카드 트레이의 혼입을 방지하기 위한 방법 및 이를 지원하는 전자 장치 |
| CN113723122B (zh) * | 2021-08-30 | 2024-09-13 | 百富计算机技术(深圳)有限公司 | 读卡电路、读卡器及读卡系统 |
| CN116264595A (zh) * | 2021-12-15 | 2023-06-16 | 华为技术有限公司 | 电子设备及信息卡识别方法 |
| CN116263870A (zh) * | 2021-12-15 | 2023-06-16 | 华为技术有限公司 | 存储卡 |
| CN116264469A (zh) * | 2021-12-15 | 2023-06-16 | 华为技术有限公司 | 电子设备及信息卡识别方法 |
| US12124905B1 (en) * | 2021-12-17 | 2024-10-22 | Wells Fargo Bank, N.A. | Transaction instrument with features for destruction and disposal |
| US12518843B2 (en) | 2023-04-14 | 2026-01-06 | SanDisk Technologies, Inc. | Failsafe memory card architecture using voltage driver output enable signals |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6557761B1 (en) * | 1999-11-16 | 2003-05-06 | Yamaichi Electronics Co., Ltd. | Card detect switch for card connector |
| CN203481567U (zh) * | 2013-08-23 | 2014-03-12 | 联想(北京)有限公司 | 卡座和电子设备 |
| CN104242995A (zh) * | 2013-06-07 | 2014-12-24 | 中兴通讯股份有限公司 | 信息存储卡的通信处理方法及装置、移动终端 |
| CN105791507A (zh) * | 2014-12-15 | 2016-07-20 | 西安宝莱特光电科技有限公司 | 移动终端卡槽识别方法及其装置 |
| CN106161706A (zh) * | 2016-06-16 | 2016-11-23 | Tcl移动通信科技(宁波)有限公司 | Sim卡和sd卡共卡托的检测方法、装置及移动终端 |
Family Cites Families (41)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100555003B1 (ko) * | 2001-06-04 | 2006-02-24 | 가부시끼가이샤 르네사스 테크놀로지 | 기억 장치 |
| US7367503B2 (en) * | 2002-11-13 | 2008-05-06 | Sandisk Corporation | Universal non-volatile memory card used with various different standard cards containing a memory controller |
| US7305535B2 (en) * | 2003-04-17 | 2007-12-04 | Sandisk Corporation | Memory cards including a standard security function |
| US7370168B2 (en) * | 2003-04-25 | 2008-05-06 | Renesas Technology Corp. | Memory card conforming to a multiple operation standards |
| KR100651461B1 (ko) | 2003-11-03 | 2006-11-28 | 삼성전자주식회사 | 가입자인증모듈 카드들 간에 데이터 카피가 가능한 휴대용단말기 및 이를 이용한 데이터 카피 방법 |
| JP2007041629A (ja) * | 2003-11-04 | 2007-02-15 | Renesas Technology Corp | メモリカード及び半導体装置 |
| US7032827B2 (en) * | 2004-06-18 | 2006-04-25 | Super Talent Electronics, Inc. | Combination SD/MMC flash memory card with thirteen contact pads |
| CN2722469Y (zh) * | 2004-07-27 | 2005-08-31 | 东莞骅国电子有限公司 | 连接器及其记忆卡共用结构 |
| US7350717B2 (en) * | 2005-12-01 | 2008-04-01 | Conner Investments, Llc | High speed smart card with flash memory |
| US7480582B2 (en) * | 2006-12-19 | 2009-01-20 | Phison Electronics Corp. | Flash memory card test device with multiple interfaces |
| JP2008257506A (ja) | 2007-04-05 | 2008-10-23 | Renesas Technology Corp | 半導体装置 |
| CN101276429A (zh) * | 2008-04-18 | 2008-10-01 | 上海坤锐电子科技有限公司 | 具有射频识别功能的sim卡芯片 |
| CN201830468U (zh) * | 2010-04-06 | 2011-05-11 | 上海复旦微电子股份有限公司 | 非接触通信终端 |
| FR2977956A1 (fr) * | 2011-07-12 | 2013-01-18 | France Telecom | Module electronique de stockage, procede d'attribution des contacts d'un module electronique de stockage, procede de mise en œuvre d'une attribution |
| US9426127B2 (en) * | 2012-05-02 | 2016-08-23 | Visa International Service Association | Small form-factor cryptographic expansion device |
| CN102709725B (zh) | 2012-05-23 | 2016-08-24 | 中兴通讯股份有限公司 | Sim卡卡座、移动终端和识别sim卡热插拔的方法 |
| US20140099805A1 (en) * | 2012-10-10 | 2014-04-10 | Motorola Mobility Llc | Electronic connector capable of accepting a single subscriber identity mopdule or a memory card |
| US9722653B2 (en) * | 2012-11-08 | 2017-08-01 | Samsung Electronics Co., Ltd. | Memory card adapter |
| CN103094793B (zh) | 2013-01-07 | 2015-11-25 | 华为终端有限公司 | 电子设备的智能卡连接电路以及电子设备 |
| CN103164737A (zh) | 2013-01-29 | 2013-06-19 | 三星半导体(中国)研究开发有限公司 | 高密度存储智能卡模块及其制造方法 |
| EP2954659A1 (en) * | 2013-02-05 | 2015-12-16 | Knowroaming Ltd | Method and device for authenticating a mobile station on an alternative communications network |
| US8968029B2 (en) * | 2013-03-18 | 2015-03-03 | Uju Electronics Co. Ltd. | Socket for nano SIM card |
| KR20160013196A (ko) * | 2013-05-29 | 2016-02-03 | 비자 인터네셔널 서비스 어소시에이션 | 보안 요소에서 수행되는 검증 시스템 및 방법 |
| KR102077821B1 (ko) | 2013-06-03 | 2020-02-14 | 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. | 엔에프씨를 이용한 모바일 프린팅 시스템 및 방법 |
| US9436646B2 (en) | 2014-02-28 | 2016-09-06 | Qualcomm Incorporated | Combined sockets for selectively removable cards in computing devices |
| KR102284654B1 (ko) * | 2014-07-02 | 2021-08-03 | 삼성전자 주식회사 | 메모리 카드 |
| CN204012075U (zh) | 2014-07-30 | 2014-12-10 | 宇龙计算机通信科技(深圳)有限公司 | 一种数据卡连接器及终端 |
| CN204257983U (zh) * | 2014-09-30 | 2015-04-08 | 宇龙计算机通信科技(深圳)有限公司 | 卡座及移动终端 |
| CN104485548A (zh) * | 2014-09-30 | 2015-04-01 | 上海华勤通讯技术有限公司 | 存储卡及卡槽装置 |
| CN204291063U (zh) * | 2014-10-24 | 2015-04-22 | 昆山捷皇电子精密科技有限公司 | 一种两用型手机卡槽 |
| CN204668559U (zh) * | 2015-05-12 | 2015-09-23 | 深圳君泽电子有限公司 | 卡托和移动终端 |
| CN105137260B (zh) | 2015-08-19 | 2019-01-22 | 深圳市中兴物联科技有限公司 | 一种有源天线状态检测电路 |
| CN106412152B (zh) | 2016-06-08 | 2019-04-30 | Tcl移动通信科技(宁波)有限公司 | 一种基于移动终端的sim卡检测方法及移动终端 |
| DE102016110780B4 (de) * | 2016-06-13 | 2024-10-10 | Infineon Technologies Austria Ag | Chipkartenmodul und Verfahren zum Herstellen eines Chipkartenmoduls |
| CN106231828B (zh) * | 2016-07-28 | 2019-04-09 | 维沃移动通信有限公司 | 一种防呆结构及电子设备 |
| KR102646895B1 (ko) * | 2016-09-29 | 2024-03-12 | 삼성전자주식회사 | 메모리 카드 및 이를 포함하는 스토리지 시스템 |
| CN106571558B (zh) * | 2016-11-10 | 2018-10-12 | 深圳天珑无线科技有限公司 | 一种卡座以及移动终端 |
| US20180174002A1 (en) * | 2016-12-19 | 2018-06-21 | Thomson Licensing | Memory card reader interface with improved thumb scoop |
| CN107069272B (zh) * | 2017-03-13 | 2021-07-20 | 宇龙计算机通信科技(深圳)有限公司 | Sim卡卡座、终端、sim卡检测方法和检测装置 |
| CN206931104U (zh) * | 2017-04-11 | 2018-01-26 | 重庆蓝岸通讯技术有限公司 | 兼容SIM标准的Micro SD卡 |
| KR102461761B1 (ko) | 2018-02-01 | 2022-10-31 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 전자 장치 |
-
2018
- 2018-02-01 KR KR1020207020858A patent/KR102461761B1/ko active Active
- 2018-02-01 CN CN202010108935.7A patent/CN111431549B/zh active Active
- 2018-02-01 KR KR1020227037599A patent/KR102562210B1/ko active Active
- 2018-02-01 EP EP18903996.9A patent/EP3720105A4/en active Pending
- 2018-02-01 JP JP2020541524A patent/JP7038841B2/ja active Active
- 2018-02-01 CN CN201880004342.7A patent/CN109983706B/zh active Active
- 2018-02-01 CN CN202010108941.2A patent/CN111404564B/zh active Active
- 2018-02-01 WO PCT/CN2018/074994 patent/WO2019148434A1/zh not_active Ceased
- 2018-02-01 US US16/966,891 patent/US11416691B2/en active Active
-
2022
- 2022-07-29 US US17/876,743 patent/US11704508B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6557761B1 (en) * | 1999-11-16 | 2003-05-06 | Yamaichi Electronics Co., Ltd. | Card detect switch for card connector |
| CN104242995A (zh) * | 2013-06-07 | 2014-12-24 | 中兴通讯股份有限公司 | 信息存储卡的通信处理方法及装置、移动终端 |
| CN203481567U (zh) * | 2013-08-23 | 2014-03-12 | 联想(北京)有限公司 | 卡座和电子设备 |
| CN105791507A (zh) * | 2014-12-15 | 2016-07-20 | 西安宝莱特光电科技有限公司 | 移动终端卡槽识别方法及其装置 |
| CN106161706A (zh) * | 2016-06-16 | 2016-11-23 | Tcl移动通信科技(宁波)有限公司 | Sim卡和sd卡共卡托的检测方法、装置及移动终端 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3720105A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4109967A4 (en) * | 2020-03-20 | 2023-08-23 | Huawei Technologies Co., Ltd. | PROCEDURE FOR SWITCHING BETWEEN SIM CARD AND ESIM CARD AND ELECTRONIC DEVICE |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3720105A1 (en) | 2020-10-07 |
| KR20220151015A (ko) | 2022-11-11 |
| EP3720105A4 (en) | 2021-01-06 |
| CN109983706A (zh) | 2019-07-05 |
| JP2021512545A (ja) | 2021-05-13 |
| CN111404564A (zh) | 2020-07-10 |
| CN111431549B (zh) | 2022-09-23 |
| US11416691B2 (en) | 2022-08-16 |
| KR102461761B1 (ko) | 2022-10-31 |
| US11704508B2 (en) | 2023-07-18 |
| KR20200100139A (ko) | 2020-08-25 |
| KR102562210B1 (ko) | 2023-07-31 |
| US20210049331A1 (en) | 2021-02-18 |
| CN111431549A (zh) | 2020-07-17 |
| CN109983706B (zh) | 2020-06-02 |
| CN111404564B (zh) | 2021-09-14 |
| US20220366159A1 (en) | 2022-11-17 |
| JP7038841B2 (ja) | 2022-03-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109983706B (zh) | 一种电子设备 | |
| US9223742B2 (en) | Data structures for facilitating communication between a host device and an accessory | |
| US10162723B2 (en) | Electronic card and detecting method thereof | |
| KR100764744B1 (ko) | 호스트의 인터페이스 프로토콜을 판별하는 디바이스 그것을포함하는 아이씨카드 | |
| RU2761111C1 (ru) | Карта памяти, адаптер карты памяти и терминальное устройство | |
| US20130019035A1 (en) | Apparatus for peer-to-peer communication over a universal serial bus link | |
| CN113641601A (zh) | 存储设备的链路启动方法、存储设备、主机及其实现系统 | |
| US7044390B2 (en) | Smart card emulator and related methods using buffering interface | |
| US9158609B2 (en) | Universal serial bus testing device | |
| CN102736694B (zh) | 信息处理装置、连接方法 | |
| JP7233579B2 (ja) | 電子デバイス | |
| HK40023149A (zh) | 一种电子设备 | |
| HK40023149B (zh) | 一种电子设备 | |
| HK40023126B (zh) | 一种电子设备 | |
| HK40023126A (zh) | 一种电子设备 | |
| HK40003817A (zh) | 一种电子设备 | |
| HK40003817B (zh) | 一种电子设备 | |
| RU2801184C2 (ru) | Карта памяти, адаптер карты памяти и терминальное устройство | |
| CA3114121C (en) | Memory card, memory card adapter, and terminal device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18903996 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2018903996 Country of ref document: EP Effective date: 20200701 |
|
| ENP | Entry into the national phase |
Ref document number: 20207020858 Country of ref document: KR Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 2020541524 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |







