CN111953364B - Memory card, method and device for determining data storage mode and electronic equipment - Google Patents

Memory card, method and device for determining data storage mode and electronic equipment Download PDF

Info

Publication number
CN111953364B
CN111953364B CN201910407406.4A CN201910407406A CN111953364B CN 111953364 B CN111953364 B CN 111953364B CN 201910407406 A CN201910407406 A CN 201910407406A CN 111953364 B CN111953364 B CN 111953364B
Authority
CN
China
Prior art keywords
card
micro
contact
detected
mode
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.)
Active
Application number
CN201910407406.4A
Other languages
Chinese (zh)
Other versions
CN111953364A (en
Inventor
孙长宇
陈宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910407406.4A priority Critical patent/CN111953364B/en
Publication of CN111953364A publication Critical patent/CN111953364A/en
Application granted granted Critical
Publication of CN111953364B publication Critical patent/CN111953364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/38Transceivers, 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/3816Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/38Transceivers, 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/3816Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
    • H04B1/3818Arrangements for facilitating insertion or removal of identification devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Coupling Device And Connection With Printed Circuit (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The disclosure relates to a memory card, a method and a device for determining a data storage mode and an electronic device. The storage card is adapted to a Micro SD card seat of the electronic equipment and can be conducted with a contact in the Micro SD card seat, and a contact pin of the storage card is different from a contact pin on the Micro SD card. The storage card can be matched with the Micro SD card holder and is different from the storage card of the Micro SD card, so that the storage card can be used for accommodating the Micro SD card in the related technology and the storage card provided by the disclosure aiming at the same Micro SD card holder in the electronic equipment, and the compatibility of the Micro SD card holder is favorably improved.

Description

Memory card, method and device for determining data storage mode and electronic equipment
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a memory card, a method and an apparatus for determining a data storage mode, and an electronic device.
Background
With the rapid development of the intelligent terminal, the functions realized by the user through the intelligent terminal are more and more, for example, the user can store information such as pictures, characters or audio through the intelligent terminal. Generally speaking, the self-contained storage space of the intelligent terminal is limited, and the requirement of the user on the storage space cannot be met gradually, so that the requirement of the user on the external terminal memory is increased gradually.
Disclosure of Invention
The present disclosure provides a memory card, a method and an apparatus for determining a data storage mode, and an electronic device, so as to solve the deficiencies in the related art.
According to a first aspect of the embodiments of the present disclosure, a memory card is provided, where the memory card is adapted to a Micro SD card socket of an electronic device and can be conducted with a contact in the Micro SD card socket, and a contact pin of the memory card is different from a contact pin on the Micro SD card.
Optionally, the memory card includes a first contact portion, a second contact portion, and a third contact portion, and the first contact portion, the second contact portion, and the third contact portion are arranged in a row;
wherein both ends of at least one of the second contact portion and the third contact portion protrude from corresponding ends of the first contact portion.
Optionally, the second contact portion includes two contact pins, and the two contact pins are arranged in a row.
Optionally, the third contact portion includes a single contact pin, and both ends of the single contact pin protrude from corresponding ends of the first contact portion, so that the single contact pin can be electrically connected to the plurality of contacts in the Micro SD card socket.
Optionally, the single contact pin comprises a VSS pin.
Optionally, the first contact portion includes a plurality of contact pins, and one or more contact pins included in the first contact portion are disposed between the second contact portion and the third contact portion.
Optionally, the first contact portion includes one or more of a data pin, a detection signal pin, and a clock signal pin.
Optionally, the memory card implements storage based on any one of the following interface protocols:
universal serial bus, high-speed peripheral component interconnect, universal flash memory, multimedia memory card, embedded multimedia memory card.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
the Micro SD card socket can be plugged with the storage card of any one of the embodiments, and the Micro SD card socket can be plugged with a Micro SD card when in an idle state;
the contacts are exposed out of the surface of the Micro SD card holder and used for being conducted with the storage card or the Micro SD card.
According to a third aspect of the embodiments of the present disclosure, there is provided a method for determining a data storage mode, including:
determining that the card to be detected is placed in the card seat of the Micro SD card;
identifying the type of a card to be detected inserted into the card seat of the Micro SD card;
and determining a data storage mode of the electronic equipment according to the type of the card to be detected, wherein the data storage mode comprises a first mode and a second mode, the first mode is determined by the data storage mode when the Micro SD card is inserted into the Micro SD card holder, and the second mode is determined by the storage card inserted into the Micro SD card holder.
Optionally, the memory card includes a detection pin, and the Micro SD card has no detection pin;
the type of the card to be detected inserted into the card seat of the Micro SD card is identified, and the method comprises the following steps:
and determining whether a contact corresponding to the detection pin in the Micro SD card socket is conducted, wherein when the contact corresponding to the detection pin is conducted, the type of the card to be detected is a storage card, and when the contact corresponding to the detection pin is not conducted, the type of the card to be detected is a Micro SD card.
Optionally, the determining whether the contact corresponding to the detection pin in the card socket of the Micro SD card is turned on includes:
determining whether a potential of a contact corresponding to the detection pin is pulled high or low.
Optionally, the identifying the type of the card to be detected inserted into the card socket of the Micro SD card includes:
acquiring identification information of a storage card, wherein if the identification information can be acquired, the card to be detected is the storage card, otherwise, the card is a Micro SD card; alternatively, the first and second electrodes may be,
the type of the card to be detected inserted into the card seat of the Micro SD card is identified, and the method comprises the following steps:
and acquiring identification information of the Micro SD card, wherein the card to be detected is the Micro SD card if the identification information can be acquired, and the card is the storage card if the identification information can be acquired.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for determining a data storage mode, including:
the first determining module is used for determining that the card to be detected is placed in the card seat of the Micro SD card;
the identification module is used for identifying the type of the card to be detected inserted into the card seat of the Micro SD card;
the second determining module determines a data storage mode of the electronic equipment according to the type of the card to be detected, wherein the data storage mode comprises a first mode and a second mode, the first mode is determined by the data storage mode when the Micro SD card is inserted into the Micro SD card holder, and the second mode is determined by the storage card according to any one of claims 1 to 7 inserted into the Micro SD card holder.
Optionally, the memory card includes a detection pin, and the Micro SD card has no detection pin;
the identification module comprises:
and the determining unit is used for determining whether a contact corresponding to the detection pin in the Micro SD card holder is conducted or not, wherein when the contact corresponding to the detection pin is conducted, the type of the card to be detected is a storage card, and when the contact corresponding to the detection pin is not conducted, the type of the card to be detected is a Micro SD card.
Optionally, the determining unit includes:
a determination subunit that determines whether the potential of the contact corresponding to the detection pin is pulled high or pulled low.
Optionally, the identification module includes:
the first acquisition unit is used for acquiring the identification information of the memory card, if the identification information can be acquired, the card to be detected is the memory card, otherwise, the card is a Micro SD card; alternatively, the first and second electrodes may be,
the type of the card to be detected inserted into the card seat of the Micro SD card is identified, and the method comprises the following steps:
and the second acquisition unit is used for acquiring the identification information of the Micro SD card, wherein if the identification information can be acquired, the card to be detected is the Micro SD card, and otherwise, the card is the storage card.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the embodiments described above.
According to a sixth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method according to any of the above embodiments when executed.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
it can be known from the above embodiments that the present disclosure provides a storage card that can be adapted to a Micro SD card socket and is different from a Micro SD card, so that the storage card can be used for accommodating a Micro SD card in the related art and also can be used for accommodating a storage card provided in the present disclosure for the same Micro SD card socket in an electronic device, which is beneficial to improving the compatibility of the Micro SD card socket.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic structural diagram of a Micro SD card in the related art.
Fig. 2 is a schematic diagram illustrating a structure of a memory card according to an exemplary embodiment of the present application.
Fig. 3 is a schematic diagram illustrating another memory card configuration according to an exemplary embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
FIG. 5 is a flow chart illustrating a method of determining a data storage mode in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for determining a data storage mode according to an example embodiment.
Fig. 7 is a block diagram illustrating another apparatus for determining a data storage mode according to an example embodiment.
Fig. 8 is a block diagram illustrating still another apparatus for determining a data storage mode according to an example embodiment.
Fig. 9 is a block diagram illustrating still another apparatus for determining a data storage mode according to an example embodiment.
Fig. 10 is a block diagram illustrating a determination apparatus for a data storage mode according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a schematic structural diagram of a Micro SD card 100 in the related art, and as shown in fig. 1, the Micro SD card may include a plurality of contact pins arranged in a row, and when the Micro SD card is assembled in a Micro SD card socket in an electronic device, each contact pin may contact a contact exposed on a surface of the Micro SD card socket to achieve conduction, so that picture information, video information, text information, and the like in the electronic device may be stored in the Micro SD card. Similarly, the electronic device can also read contents such as picture information, video information and text information from the Micro SD card.
Fig. 2 is a schematic structural diagram of a memory card 200 according to an exemplary embodiment of the present application, and as shown in fig. 2, the memory card 200 can be adapted to a Micro SD card socket of an electronic device and can be electrically connected to a contact in the Micro SD card socket, so that the electronic device can store picture information, video information, text information, and the like in the memory card 200 and can also obtain the picture information, the video information, the text information, and the like from the memory card 200. The memory card 200 can be adapted to the card socket of the Micro SD card, that is, the external shape and size of the memory card 200 are the same as those of the Micro SD card, but the contact pins of the memory card 200 are different from those of the Micro SD card. Based on this, for the same Micro SD card socket in the electronic device, it can be used for accommodating both the Micro SD card in the related art and the storage card 200 provided in this disclosure, which is beneficial to improving the compatibility of the Micro SD card socket.
The contact pins of the memory card 200 can be understood as follows, different from the contact pins of the Micro SD card: the number of contact pins of the memory card 200 is different from that of the Micro SD card; the arrangement mode of the contact pins of the memory card 200 is different from that of the contact pins of the Micro SD card; or any one or more of the contact pins of the memory card 200 may have a function different from that of the contact pins of the Micro SD card, which is not limited in this disclosure. For example, the memory Card 200 may communicate based on any one of an interface protocol of a Universal Serial Bus (USB), a Peripheral Component Interconnect (PCI), a Universal Flash Storage (UFS), a Multimedia Memory Card (MMC), and an Embedded Multimedia Memory Card (EMMC).
The present disclosure may be described in detail below with respect to a memory card 200 that communicates based on a universal flash memory storage interface protocol.
Still referring to fig. 2, the memory card 200 may include a first contact portion 1, a second contact portion 2, and a third contact portion 3, wherein the first contact portion 1, the second contact portion 2, and the third contact portion 3 are arranged in a row, and both ends of at least one of the second contact portion 2 and the third contact portion 3 protrude from corresponding ends of the first contact portion 1. For example, as shown in fig. 2, both ends of the second contact portion 2 and the third contact portion 3 protrude from the corresponding both ends of the first contact portion 1, and since the second contact portion 2 and the third contact portion 3 are longer than the first contact portion 1, when the memory card is configured to the Micro SD card socket, the second contact portion 2 and the third contact portion 3 can contact with a plurality of contacts in the Micro SD card socket, thereby increasing the storage speed and capacity of the memory card 200; alternatively, in another embodiment, as shown in fig. 3, the length of the third contact portion 3 may be equal to the length of the first contact portion 1, and the second contact portion 2 may be longer than the first contact portion 1 and the third contact portion 3. Of course, in some embodiments, the length of the second contact portion 2 may be equal to the length of the first contact portion 1, and the third contact portion 3 may be longer than the first contact portion 1 and the third contact portion 3.
In this embodiment, as shown in fig. 2 and fig. 3, the second contact portion 2 may include two contact pins, the two contact pins are arranged in a column and are isolated from each other, and when the storage card 200 is configured to the Micro SD card socket, both the two contact pins of the second contact portion 2 may be electrically connected to corresponding contacts.
In the above embodiment, the third contact portion 2 may include a single contact pin, and as shown in fig. 2, both ends of the single contact pin protrude from the corresponding both ends of the first contact portion 1, and the single contact pin may be electrically connected to a plurality of contacts in the Micro SD card socket when the memory card 200 is configured to the Micro SD card socket because the single contact pin is long. The single contact pin may include a VSS pin, and when the single contact pin contacts a plurality of contacts in the Micro SD card socket, it may be understood that one more ground point is added between the storage card 200 and the Micro SD card socket, which is beneficial to improving the backflow capability of the power supply.
Based on the technical solution of the present disclosure, the first contact portion 1 may include a plurality of contact pins, and one or more contact pins included in the first contact portion 1 are disposed between the second contact portion 2 and the third contact portion 3, for example, as shown in fig. 2 and 3, one contact pin included in the first contact portion 1 is disposed between the second contact portion 2 and the third contact portion 3. The first contact 1 may include one or more of a data pin, a detection signal pin, and a constant signal pin, which is not limited in the present disclosure.
Based on the implementation in the above embodiments, the present disclosure provides an exemplary embodiment of the contact pin arrangement on the memory card 200.
In one embodiment, as shown in FIG. 2, it may be assumed that the memory card 200 may include 1, Din _ C; 2. din _ T; 3. C/D; 4. VCC; 5. REF _ CLK; 6. VSS; 7. dout _ C; 8. dout _ T; 9. VCCQ 2. In fig. 2, Din _ C, Din _ T, C/D, VCC, VCCQ2, REF _ CLK, VSS, Dout _ C, Dout _ T may be arranged in this order from the left side to the right side, where VCC and VCCQ2 are the second contacts 2, and both are arranged in the same row.
In another embodiment, as shown in fig. 3, the memory card 200 still includes 1, Din _ C; 2. din _ T; 3. C/D; 4. VCC; 5. REF _ CLK; 6. VSS; 7. dout _ C; 8. dout _ T; 9. VCCQ2 is exemplified by being sequentially arranged from the left side to the right side in fig. 3 as Din _ T, Din _ C, C/D, VCC, VCCQ2, REF _ CLK, VSS, Dout _ C, Dout _ T, where VCC and VCCQ2 are the second contacts 2, and both are arranged in the same column.
It should be noted that, only the embodiment shown in fig. 2 and fig. 3 is taken as an example for description, in the present disclosure, under the condition that the contact pins included in the first contact portion do not affect the function of the memory card, various arrangement combinations may exist, and are not described in detail herein; similarly, the second contact 2 may include two contact pins VCC and VCCQ2, the positions of which on the same column are not limited, for example VCC above VCCQ2 in fig. 2, for example VCCQ2 above VCC in fig. 3. For the memory card 200, the present disclosure does not limit the position of each contact pin on the card body of the memory card, and does not limit the length value and the height value of each contact pin. In the present disclosure, the shape of the contact pin of the memory card 200 is not limited, and may be a regular rectangle or an irregular shape, and the distance value between the edge of each contact pin and each side edge of the memory card is not limited; the specific height and length of the memory card are not limited.
The present disclosure also provides an electronic device 300 as shown in fig. 4, where the electronic device 300 may include a Micro SD card socket 301 and a plurality of contacts (not shown in the drawings), the Micro SD card socket 301 may be plugged with the memory card 200 described in any of the above embodiments, or the Micro SD card socket 301 may also be plugged with the Micro SD card in an empty state, and the plurality of contacts are exposed on a surface of the Micro SD card socket 301 and are used for conducting with the memory card 200 plugged in the Micro SD card socket 301 or conducting with the Micro SD card plugged in the Micro SD card socket 301. The electronic device 300 may also include a plurality of Micro SD card sockets 301, where one of the Micro SD card sockets 301 may be used for plugging a Micro SD card, and one of the Micro SD card sockets 301 may be used for plugging a memory card 200, so as to implement compatibility between two different types of memory cards. The electronic device 300 may include various handheld devices having communication capabilities, in-vehicle devices, wearable devices, home smart devices, computing devices, or other processing devices connected to a wireless modem.
Since the memory card 200 can be inserted into the same Micro SD card holder 301 of the electronic device 300, and the Micro SD card can also be inserted into the same Micro SD card holder, the present disclosure also provides a method for determining a data storage mode, as shown in fig. 5, where the method for determining a data storage mode is applied to a terminal and includes the following steps:
in step 501, it is determined that a card to be detected is placed in a card socket of a Micro SD card of an electronic device.
In this embodiment, after it is detected that the Micro SD card socket is pushed into the electronic device, it is determined that the card to be detected is placed in the Micro SD card socket; or, it may be determined that the Micro SD card holder is placed in the card to be detected, or it may be determined whether the Micro SD card holder is placed in the card to be detected in another manner, under the condition that it is detected that the Micro SD card holder is pushed into the electronic device and the contacts exposed on the surface of the Micro SD card holder are turned on, and the details are not repeated here.
In step 502, the type of the card to be detected inserted into the Micro SD card socket is identified.
In this embodiment, the data storage mode of the electronic device can be determined by identifying the type of the card to be detected. Specifically, the method comprises the following steps:
in an embodiment, the storage card 200 may include a detection pin, and the Micro SD card does not include the detection pin, and whether a contact corresponding to the detection pin in the card socket of the Micro SD card is turned on or not may be determined, if the contact corresponding to the detection pin is turned on, the type of the card to be detected may be determined as the storage card, and if the contact corresponding to the detection pin is not turned on, the type of the card to be detected may be determined as the Micro SD card. Wherein whether a contact corresponding to the test pin is turned on may be determined by determining whether a point of the contact is pulled to or low.
For example, the electronic device may determine the type of the card to be detected based on the fact that the contact corresponding to the detection pin is at a low level when it is idle and at a low level when it is in conduction with the non-detection pin, and the potential of the contact is pulled high when it is in conduction with the detection pin. Of course, in other embodiments, the contact of the detection pin may also exhibit a high level when in an idle condition, and the contact also exhibits a high level when being conducted with the non-detection pin, and the potential may be pulled down to a low level when the contact is conducted with the detection pin, which is not limited by the disclosure.
In another embodiment, after determining that a card to be detected is inserted into the card holder of the Micro SD card, the electronic device may start to acquire the identification information of the memory card in any of the above embodiments by default, if the identification information can be acquired, determine the card to be detected as the memory card, otherwise, determine the card to be detected as the Micro SD card; similarly, after determining that the card to be detected is inserted into the card seat of the Micro SD card, the electronic device may default to start to acquire the identification information of the Micro SD card in any of the embodiments, and if the identification information can be acquired, determine the card to be detected as the Micro SD card, otherwise, determine the card to be detected as the memory card. The identification information of the memory card may be information that is different from the memory card by the Micro SD card, and the representation information of the Micro SD card may be information that is different from the memory card by the Micro SD card.
In step 503, determining a data storage mode of the electronic device according to the type of the card to be detected, where the data storage mode includes a first mode and a second mode, where the first mode is determined when the Micro SD card is inserted into the Micro SD card holder, and the second mode is determined when the memory card according to any one of the above embodiments is inserted into the Micro SD card holder.
In this embodiment, the difference between the data storage mode being the first mode and the data storage mode being the second mode is mainly that the two modes adopt different communication interface protocols, the second mode can communicate based on one of the interface protocols of the usb, the high-speed peripheral component interconnect, the universal flash memory, the multimedia memory card, and the embedded multimedia memory card, and the first mode can communicate based on a protocol other than the above-mentioned interface protocol.
Corresponding to the foregoing embodiments of the method for determining a data storage mode, the present disclosure also provides embodiments of a device for determining a data storage mode.
FIG. 6 is a block diagram illustrating an apparatus for determining a data storage mode in accordance with an exemplary embodiment. Referring to fig. 6, the apparatus includes a first determining module 61, a recognizing module 62 and a second determining module 63; wherein:
the first determining module 61 determines that the card to be detected is placed in the card seat of the Micro SD card;
the identification module 62 identifies the type of the card to be detected inserted into the card seat of the Micro SD card;
the second determining module 63 determines a data storage mode of the electronic device according to the type of the card to be detected, where the data storage mode includes a first mode and a second mode, where the first mode is determined when the Micro SD card is inserted into the Micro SD card holder, and the second mode is determined when the memory card according to any one of claims 1 to 7 is inserted into the Micro SD card holder.
As shown in fig. 7, fig. 7 is a block diagram of another apparatus for determining a data storage mode according to an exemplary embodiment, where on the basis of the foregoing embodiment shown in fig. 6, the identification module 62 may include a determination unit 621, where:
the determining unit 621 determines whether a contact corresponding to the detection pin in the card socket of the Micro SD card is turned on, where when the contact corresponding to the detection pin is turned on, the type of the card to be detected is a storage card, and when the contact corresponding to the detection pin is not turned on, the type of the card to be detected is the Micro SD card.
Further, still as shown in fig. 7, the determining unit 621 may include a determining subunit 6211;
the determination subunit 6211 determines whether the potential of the contact corresponding to the detection pin is pulled high or low.
As shown in fig. 8, fig. 8 is a block diagram illustrating another apparatus for determining a data storage mode according to an exemplary embodiment, where on the basis of the foregoing embodiment shown in fig. 6, the identifying module 62 may include a first obtaining unit 622, where:
the first obtaining unit 622 obtains identification information of the memory card, and if the obtained identification information can be obtained, the card to be detected is the memory card, otherwise, the card is the Micro SD card.
Alternatively, as shown in fig. 9, the identification module 62 may include a second obtaining unit 623, wherein:
the second obtaining unit 623 obtains identification information of the Micro SD card, and if the obtained identification information can be obtained, the card to be detected is the Micro SD card, otherwise, the card is the memory card.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure also provides an apparatus for determining a data storage mode, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: determining that the card to be detected is placed in the card seat of the Micro SD card; identifying the type of a card to be detected inserted into the card seat of the Micro SD card; and determining a data storage mode of the electronic equipment according to the type of the card to be detected, wherein the data storage mode comprises a first mode and a second mode, the first mode is determined by the data storage mode when the Micro SD card is inserted into the Micro SD card holder, and the second mode is determined by the storage card inserted into the Micro SD card holder.
Accordingly, the present disclosure also provides a terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: determining that the card to be detected is placed in the card seat of the Micro SD card; identifying the type of a card to be detected inserted into the card seat of the Micro SD card; and determining a data storage mode of the electronic equipment according to the type of the card to be detected, wherein the data storage mode comprises a first mode and a second mode, the first mode is determined by the data storage mode when the Micro SD card is inserted into the Micro SD card holder, and the second mode is determined by the storage card inserted into the Micro SD card holder.
Fig. 10 is a block diagram illustrating an apparatus 1000 for determining a data storage mode according to an example embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The apparatus 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A memory card is characterized in that the memory card is adapted to a Micro SD card socket of electronic equipment and can be conducted with a contact in the Micro SD card socket, and a contact pin of the memory card is different from a contact pin on a Micro SD card;
the memory card comprises a first contact part, a second contact part and a third contact part, wherein the first contact part, the second contact part and the third contact part are arranged in a row;
wherein both ends of at least one of the second contact portion and the third contact portion protrude from corresponding ends of the first contact portion;
the second contact part comprises two contact pins which are arranged in a row; the third contact part comprises a single contact pin, two ends of the single contact pin protrude out of corresponding ends of the first contact part, so that the single contact pin can be conducted with a plurality of contacts in the Micro SD card holder, and the single contact pin comprises a VSS pin.
2. The memory card of claim 1, wherein the first contact portion includes a plurality of contact pins, and one or more contact pins included in the first contact portion are disposed between the second contact portion and the third contact portion.
3. The memory card of claim 1, wherein the first contact includes one or more of a data pin, a detection signal pin, and a clock signal pin.
4. The memory card of claim 1, wherein the memory card is configured to implement storage based on any one of the following interface protocols:
universal serial bus, high-speed peripheral component interconnect, universal flash memory, multimedia memory card, embedded multimedia memory card.
5. An electronic device, comprising:
a Micro SD card socket capable of being plugged with the memory card of any one of claims 1 to 4, and capable of being plugged with a Micro SD card when in an empty state;
the contacts are exposed out of the surface of the Micro SD card holder and used for being conducted with the storage card or the Micro SD card.
6. A method for determining a data storage mode, comprising:
determining that the card to be detected is placed in the card seat of the Micro SD card;
identifying the type of a card to be detected inserted into the card seat of the Micro SD card;
determining a data storage mode of the electronic equipment according to the type of the card to be detected, wherein the data storage mode comprises a first mode and a second mode, wherein when a Micro SD card is inserted into the Micro SD card holder, the data storage mode is determined as the first mode, and when the storage card as claimed in any one of claims 1 to 4 is inserted into the Micro SD card holder, the data storage mode is determined as the second mode.
7. The method for determining according to claim 6, wherein the memory card comprises a detection pin, the Micro SD card has no detection pin;
the type of the card to be detected inserted into the card seat of the Micro SD card is identified, and the method comprises the following steps:
and determining whether a contact corresponding to the detection pin in the Micro SD card socket is conducted, wherein when the contact corresponding to the detection pin is conducted, the type of the card to be detected is a storage card, and when the contact corresponding to the detection pin is not conducted, the type of the card to be detected is a Micro SD card.
8. The method for determining according to claim 7, wherein the determining whether the contacts corresponding to the test pins in the card socket of the Micro SD card are conductive comprises:
determining whether a potential of a contact corresponding to the detection pin is pulled high or low.
9. The method for determining as set forth in claim 6, wherein the identifying the type of the card to be detected inserted into the Micro SD card socket comprises:
acquiring identification information of a storage card, wherein if the identification information can be acquired, the card to be detected is the storage card, otherwise, the card is a Micro SD card; alternatively, the first and second electrodes may be,
the type of the card to be detected inserted into the card seat of the Micro SD card is identified, and the method comprises the following steps:
and acquiring identification information of the Micro SD card, wherein the card to be detected is the Micro SD card if the identification information can be acquired, and the card is the storage card if the identification information can be acquired.
10. An apparatus for determining a data storage mode, comprising:
the first determining module is used for determining that the card to be detected is placed in the card seat of the Micro SD card;
the identification module is used for identifying the type of the card to be detected inserted into the card seat of the Micro SD card;
a second determining module, configured to determine a data storage mode of the electronic device according to the type of the card to be detected, where the data storage mode includes a first mode and a second mode, where when a Micro SD card is inserted into the Micro SD card holder, the data storage mode is determined as the first mode, and when the memory card according to any one of claims 1 to 4 is inserted into the Micro SD card holder, the data storage mode is determined as the second mode.
11. The determination device as claimed in claim 10, wherein the memory card comprises a detection pin, and the Micro SD card has no detection pin;
the identification module comprises:
and the determining unit is used for determining whether a contact corresponding to the detection pin in the Micro SD card holder is conducted or not, wherein when the contact corresponding to the detection pin is conducted, the type of the card to be detected is a storage card, and when the contact corresponding to the detection pin is not conducted, the type of the card to be detected is a Micro SD card.
12. The apparatus according to claim 11, wherein the determination unit includes:
a determination subunit that determines whether the potential of the contact corresponding to the detection pin is pulled high or pulled low.
13. The apparatus of claim 10, wherein the identification module comprises:
the first acquisition unit is used for acquiring the identification information of the memory card, if the identification information can be acquired, the card to be detected is the memory card, otherwise, the card is a Micro SD card; alternatively, the first and second electrodes may be,
the type of the card to be detected inserted into the card seat of the Micro SD card is identified, and the method comprises the following steps:
and the second acquisition unit is used for acquiring the identification information of the Micro SD card, wherein if the identification information can be acquired, the card to be detected is the Micro SD card, and otherwise, the card is the storage card.
14. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 6-9.
15. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to carry out the steps of the method according to any one of claims 6-9 when executed.
CN201910407406.4A 2019-05-16 2019-05-16 Memory card, method and device for determining data storage mode and electronic equipment Active CN111953364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910407406.4A CN111953364B (en) 2019-05-16 2019-05-16 Memory card, method and device for determining data storage mode and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910407406.4A CN111953364B (en) 2019-05-16 2019-05-16 Memory card, method and device for determining data storage mode and electronic equipment

Publications (2)

Publication Number Publication Date
CN111953364A CN111953364A (en) 2020-11-17
CN111953364B true CN111953364B (en) 2022-04-15

Family

ID=73335477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910407406.4A Active CN111953364B (en) 2019-05-16 2019-05-16 Memory card, method and device for determining data storage mode and electronic equipment

Country Status (1)

Country Link
CN (1) CN111953364B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560869A (en) * 2004-02-27 2005-01-05 毅 张 Safety digital storage card
CN1790385A (en) * 2004-12-13 2006-06-21 大智电子科技公司 Memory card
CN204423398U (en) * 2015-01-19 2015-06-24 联想(北京)有限公司 Close range wireless communication module, control device and electronic equipment
CN105723352A (en) * 2013-11-15 2016-06-29 高通股份有限公司 Removable memory card discrimination systems and methods
CN106453730A (en) * 2016-12-22 2017-02-22 珠海市魅族科技有限公司 Smart card and terminal equipment
CN207965941U (en) * 2018-02-01 2018-10-12 华为技术有限公司 Storage card and terminal
CN111783484A (en) * 2019-04-04 2020-10-16 深圳市江波龙电子股份有限公司 Identification method of memory card, electronic equipment and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101893032B1 (en) * 2012-11-08 2018-10-04 삼성전자주식회사 Memory card adapter

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560869A (en) * 2004-02-27 2005-01-05 毅 张 Safety digital storage card
CN1790385A (en) * 2004-12-13 2006-06-21 大智电子科技公司 Memory card
CN105723352A (en) * 2013-11-15 2016-06-29 高通股份有限公司 Removable memory card discrimination systems and methods
CN204423398U (en) * 2015-01-19 2015-06-24 联想(北京)有限公司 Close range wireless communication module, control device and electronic equipment
CN106453730A (en) * 2016-12-22 2017-02-22 珠海市魅族科技有限公司 Smart card and terminal equipment
CN207965941U (en) * 2018-02-01 2018-10-12 华为技术有限公司 Storage card and terminal
CN111783484A (en) * 2019-04-04 2020-10-16 深圳市江波龙电子股份有限公司 Identification method of memory card, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN111953364A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
EP3454192A1 (en) Method and device for displaying page
EP3125531A1 (en) Control method and device for adjusting shooting function
US20160283022A1 (en) Method and Device for Awakening an Element
US10216976B2 (en) Method, device and medium for fingerprint identification
JP6230762B2 (en) Fingerprint identification method, apparatus, program, recording medium, and mobile terminal
CN106774803B (en) Fingerprint identification method and device
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
CN108762859B (en) Wallpaper display method and device, mobile terminal and storage medium
CN106126082B (en) Terminal control method and device and terminal
CN104731688A (en) Method and device for prompting reading schedule
WO2017140109A1 (en) Pressure detection method and apparatus
CN107608714B (en) Byte alignment method, device and computer readable storage medium
CN107943317B (en) Input method and device
CN107681727B (en) Control method and device of electronic equipment
US10154128B2 (en) Methods and apparatuses for interpreting a phone number
CN110213062B (en) Method and device for processing message
CN105094608A (en) Task display method and device
CN111953364B (en) Memory card, method and device for determining data storage mode and electronic equipment
CN107087073B (en) Terminal control method and device
CN106446827B (en) Iris recognition function detection method and device
CN115017073B (en) Enabling method and device of communication controller, electronic equipment and storage medium
EP3828716A1 (en) Method and apparatus for identifying electronic device, terminal device, and electronic device
CN107526683B (en) Method and device for detecting functional redundancy of application program and storage medium
CN111985256A (en) Memory card, method and device for determining conduction mode and electronic equipment
CN110704824A (en) Authentication device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant