CN111405103A - Device, method, storage medium and mobile terminal for detecting SIM card - Google Patents

Device, method, storage medium and mobile terminal for detecting SIM card Download PDF

Info

Publication number
CN111405103A
CN111405103A CN202010153315.5A CN202010153315A CN111405103A CN 111405103 A CN111405103 A CN 111405103A CN 202010153315 A CN202010153315 A CN 202010153315A CN 111405103 A CN111405103 A CN 111405103A
Authority
CN
China
Prior art keywords
module
sim card
card
detection module
contact point
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.)
Pending
Application number
CN202010153315.5A
Other languages
Chinese (zh)
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.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN202010153315.5A priority Critical patent/CN111405103A/en
Publication of CN111405103A publication Critical patent/CN111405103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0274Details of the structure or mounting of specific components for an electrical connector module
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K2219/00Thermometers with dedicated analog to digital converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a device, a method, a storage medium and a mobile terminal for detecting an SIM card, which aim to avoid the problems of SIM card data operation failure or SIM card damage and the like caused by too fast temperature change when the mobile terminal uses the SIM card, and prevent the problem that the SIM card is easy to damage when a user uses a self-matched card support or a non-standard card support, thereby further achieving the purpose of protecting the SIM card.

Description

Device, method, storage medium and mobile terminal for detecting SIM card
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a device, a method, a storage medium, and a mobile terminal for detecting a SIM card.
Background
Currently, in order to communicate with the outside, a Subscriber Identity Module (SIM) is usually used in a mobile terminal to adapt to functions such as internet access and telephone. The SIM card is placed in the mobile terminal through the card holder. That is to say, the SIM card is placed at the designated position of the card holder, and the user inserts the card holder into the card slot of the mobile terminal card holder, so that the corresponding contact in the card slot is connected with the corresponding contact of the SIM card, thereby enabling the SIM card to be in an available activation state. In practical use, the SIM card needs to be closely placed in the relevant position of the card slot of the mobile terminal card holder. Because the space that the card slot belongs to is airtight, and the volume of the SIM card is smaller, therefore, the situation such as skew may take place between the contact of the SIM card and the corresponding contact in the card slot in the process of falling, striking. In addition, when the mobile terminal reads and writes large-scale data, the operation of the SIM card is very quick. The above situation may cause the SIM card to locally heat up, if the situation is light, the data operation of the SIM card is disabled, and if the situation is heavy, the SIM card is damaged. In addition, although the size of the card holder is small, the material of the card holder is very exquisite. The material of the card holder is often protected in the form of a trade secret for all large manufacturers. When the card support which is not self-provided by the mobile terminal is used, the SIM card can generate heat further and the heat dissipation is not good because the material of the card support is not selected properly.
In view of the above, how to effectively detect the condition of the SIM card becomes an important issue for the relevant technicians and researchers.
Disclosure of Invention
The embodiment of the application provides a device, a method, a storage medium and a mobile terminal for detecting an SIM card, which aim to avoid the problems of SIM card data operation failure or SIM card damage and the like caused by too fast temperature change when the mobile terminal uses the SIM card, and prevent the problem that the SIM card is easy to damage when a user uses a self-matched card holder or a non-standard card holder, thereby further achieving the purpose of protecting the SIM card.
According to an aspect of the present invention, an apparatus for detecting a SIM card is provided, which is applied to a mobile terminal, where the mobile terminal includes: the mobile terminal comprises a pin connector, a card support and a card seat, wherein the pin connector is arranged on a main board of the mobile terminal and used for connecting the SIM card to the main board, the card support is used for bearing the SIM card, and the card seat is connected with a shell of the mobile terminal into a whole and used for fixing the card support; a first resistor, a second resistor, a third resistor and a thermistor are respectively arranged on the card holder, and one end of the first resistor is connected with one end of the second resistor to form a first connecting contact point; one end of the third resistor is connected with the other end of the first resistor, and a power supply contact point is formed; the other end of the third resistor is connected with one end of the thermistor to form a second connecting contact point; the other end of the thermistor is connected with the other end of the second resistor to form a grounding contact point; the device comprises a power supply module, a control module, a first detection module, a second detection module and a comparison module; the power supply module is connected to the power supply contact point and used for supplying power to the power supply contact point on the card holder; the first detection module is connected to the first connection contact point and the second connection contact point respectively, and is used for acquiring voltage values of the first connection contact point and the second connection contact point and calculating to acquire the card holder temperature of the card holder; the second detection module is used for acquiring a reference temperature; the comparison module is used for calculating the difference value between the temperature of the card holder and the reference temperature and comparing the difference value with a preset threshold value; the control module is used for executing corresponding operation on the SIM card according to the comparison result.
On the basis of the technical scheme, the method can be further improved.
In some embodiments of the present application, the apparatus further includes a timing module, the timing module is respectively connected to the first detection module, the second detection module, the comparison module and the control module, and the timing module is configured to start the first detection module, the second detection module, the comparison module and the control module at a preset time.
In some embodiments of the present application, the first detection module further includes two analog-to-digital conversion modules, the two analog-to-digital conversion modules are respectively connected to the first connection contact and the second connection contact, and the two analog-to-digital conversion modules are configured to respectively obtain voltage values of the first connection contact and the second connection contact through an analog-to-digital conversion manner.
In some embodiments of the present application, the apparatus further includes a detection module, the detection module is connected to the power supply module, and the detection module is configured to send a relevant instruction to the power supply module to provide power to the SIM card when detecting that the card holder with the SIM card is placed in the card holder.
According to another aspect of the present invention, the present application provides a method for detecting a SIM card, which employs the above apparatus for detecting a SIM card, the method includes the following steps: starting a first detection module, a second detection module, a comparison module and a control module; acquiring voltage values of a first connecting contact point and a second connecting contact point through a first detection module, and calculating to obtain the card holder temperature of the card holder; acquiring a reference temperature through a second detection module; calculating the difference value between the temperature of the card holder and the reference temperature through a comparison module, and comparing the difference value with a preset threshold value; and executing corresponding operation on the SIM card through the control module according to the comparison result.
In some embodiments of the present application, the apparatus further comprises a timing module, and the timing module is respectively connected to the first detection module, the second detection module, the comparison module and the control module; in the step of activating the first detection module, the second detection module, the comparison module, and the control module, the method further comprises: the first detection module, the second detection module, the comparison module and the control module are started at preset time by the timing module.
In some embodiments of the present application, the first detection module further comprises two analog-to-digital conversion modules, the two analog-to-digital conversion modules being connected to the first connection contact and the second connection contact, respectively; in the step of obtaining the voltage values of the first connection contact point and the second connection contact point through the first detection module and calculating the card holder temperature of the card holder, the method further comprises the step of obtaining the voltage values of the first connection contact point and the second connection contact point through the two analog-to-digital conversion modules in an analog-to-digital conversion mode.
In some embodiments of the present application, the apparatus further comprises a detection module, the detection module being connected to the power supply module; before the step of activating the first detection module, the second detection module, the comparison module, and the control module, the method further comprises: when the detection module detects that the card holder with the SIM card is placed in the card holder, a related instruction is sent to the power supply module to provide power for the SIM card.
According to yet another aspect of the present invention, a storage medium is provided, in which a plurality of instructions are stored, the instructions being adapted to be loaded by a processor to execute the above method for detecting a SIM card.
According to another aspect of the present invention, an embodiment of the present application provides a mobile terminal, which includes the above apparatus for detecting a SIM card.
Compared with the prior art, the device, the method, the storage medium and the mobile terminal for detecting the SIM card provided by the embodiment of the application aim to avoid the problems of SIM card data operation failure or SIM card damage and the like caused by too fast temperature change when the mobile terminal uses the SIM card, and can prevent the problem that the SIM card is easy to damage when a user uses a self-matched card support or a non-standard card support, thereby further achieving the purpose of protecting the SIM card.
Drawings
The technical solution and the advantages of the present invention will be apparent from the following detailed description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a card socket, a card holder and a pin connector in a mobile terminal to which an apparatus for detecting a SIM card provided in the embodiment of the present invention is applied.
Fig. 2 is a schematic view of the card holder structure shown in fig. 1.
Fig. 3 is a schematic connection diagram of the first resistor, the second resistor, the third resistor and the thermistor in the card holder shown in fig. 1.
Fig. 4 is a schematic diagram of a framework of an apparatus for detecting a SIM card according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating steps of a method for detecting a SIM card according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of another specific structure of the mobile terminal according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
In particular embodiments, the drawings discussed below and the embodiments used to describe the principles of the present disclosure are by way of illustration only and should not be construed to limit the scope of the present disclosure. Those skilled in the art will understand that the principles of the present invention may be implemented in any suitably arranged system. Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. Further, a terminal according to an exemplary embodiment will be described in detail with reference to the accompanying drawings. Like reference symbols in the various drawings indicate like elements.
The terminology used in the detailed description is for the purpose of describing particular embodiments only and is not intended to be limiting of the inventive concepts. Unless the context clearly dictates otherwise, expressions used in the singular form encompass expressions in the plural form. In the present specification, it is to be understood that terms such as "comprising," "having," and "containing" are intended to specify the presence of stated features, integers, steps, acts, or combinations thereof, as taught in the present specification, and are not intended to preclude the presence or addition of one or more other features, integers, steps, acts, or combinations thereof. Like reference symbols in the various drawings indicate like elements.
The embodiment of the application provides a device for detecting an SIM card, which is suitable for a mobile terminal. The mobile terminal includes: a pin connector 110 disposed on a main board of the mobile terminal for connecting the SIM card to the main board, a card holder 120 for carrying the SIM card, and a card socket 130 integrally connected to a housing 140 of the mobile terminal and for fixing the card holder 120. The structures of the pin connector 110, the card holder 120 and the card socket 130 are shown in fig. 1 and fig. 2. Specifically, the pin connector 110 is disposed on a main board of the mobile terminal for connecting the SIM card to the main board. The socket 130 is used for receiving and fixing the card holder 120. The card socket 130 and the housing 140 of the mobile terminal are integrated. The card holder 120 is used for carrying a SIM card. The card holder 120 can be inserted into the card socket 130 and fixed on the card socket 130, and can also be pulled out from the card socket 130 to facilitate the replacement of the SIM card.
Referring to fig. 3, a first resistor R1, a second resistor R2, a third resistor R3 and a thermistor RT are respectively disposed on the card holder 120, and one end of the first resistor R1 is connected to one end of the second resistor R2 to form a first connection contact NCC 1. One end of the third resistor R3 is connected with the other end of the first resistor R1, and forms a power supply contact VCC. The other end of the third resistor R3 is connected to one end of the thermistor RT and forms a second connection contact point NCC 2. The other end of the thermistor RT is connected to the other end of the second resistor R2, and forms a ground contact GND.
Referring to fig. 4, the apparatus includes a power supply module 410, a control module 450, a first detection module 420, a second detection module 430, and a comparison module 440.
The power supply module 410 is connected to the power supply contact VCC, and is configured to provide power to the power supply contact VCC on the card holder 120. In this embodiment, the power supply module 410 may be connected to a power supply contact VCC through the pin connector 110 of the mobile terminal to provide power to the power supply contact VCC. In particular, a VCC voltage may be provided to the supply contact VCC. In some other embodiments, the power supply module 410 may also provide power to the power supply contact VCC in other manners.
The first detecting module 420 is connected to the first connection contact point NCC1 and the second connection contact point NCC2, respectively, and the first detecting module 420 is configured to obtain voltage values of the first connection contact point NCC1 and the second connection contact point NCC2, and calculate a card holder temperature of the card holder 120. Optionally, the first detecting module 420 may further include two analog-to-digital converting modules 421, where the two analog-to-digital converting modules 421 are respectively connected to the first connection contact NCC1 and the second connection contact NCC2, and the two analog-to-digital converting modules are configured to respectively obtain voltage values of the first connection contact NCC1 and the second connection contact NCC2 through analog-to-digital conversion. Of course, in other embodiments, the first detection module 420 may directly obtain the voltages of the first connection contact point NCC1 and the second connection contact point NCC2 in other manners, and the voltages are digital signals.
Further, the calculation of the capto temperature is specifically as follows:
formula 1 is VNCC1 ═ R2 × VCC/(R1+ R2), and formula 2 is VNCC2 ═ RT × VCC/(RT + R3). VNCC1 is the voltage value of the first connection contact point NCC1, VNCC2 is the voltage value of the second connection contact point NCC2, R1 is the resistance value of the first resistor R1, R2 is the resistance value of the second resistor, R3 is the resistance value of the third resistor, and RT is the resistance value of the thermistor. The resistances of the first resistor R1, the second resistor R2 and the third resistor R3 are fixed resistances, and the thermistor RT is an ntc (negative temperature coefficient) type resistor. VCC and RT in equations 1 and 2 are non-constant, and VCC may vary slightly according to the power supplied by the power supply module 410. RT will vary with temperature. Therefore, according to the formula 1 and the formula, the resistance value of the thermistor RT can be calculated and obtained by obtaining only the voltage values of the first connection contact point NCC1 and the second connection contact point NCC2 (i.e., VNCC1 and VNCC2), so as to obtain the card holder temperature of the card holder 120. It should be noted that the first detection module 420 can obtain the voltage values of the contact points corresponding to the first connection contact point NCC1 and the second connection contact point NCC2 (the contact points are disposed on the pin connector 110) through the pin connector 110. Of course, the voltage values of the first connection contact point NCC1 and the second connection contact point NCC2 may be directly obtained.
The second detection module 430 is configured to obtain a reference temperature. The reference temperature may be a temperature of a surface of the mobile terminal, or a temperature corresponding to a weather forecast of the current location obtained through a network. The reference temperature is a reference, and the difference between the temperature of the card holder and the reference temperature is not too large. The reference temperature may be a variable.
The comparing module 440 is configured to calculate a difference between the temperature of the card holder and the reference temperature, and compare the difference with a preset threshold. The control module 450 is configured to perform a corresponding operation on the SIM card according to the comparison result. Specifically, when the comparing module 440 determines that the difference between the card holder temperature and the reference temperature is smaller than the preset threshold, the control module 450 performs normal operations on the SIM card, such as identifying the SIM card, reading data in the SIM card, and regarding the card holder 120 as being in a normal state. When the comparing module 440 determines that the difference between the cradle temperature and the reference temperature is greater than the preset threshold, the control module 450 stops performing any operation on the SIM card, and considers the cradle 120 to be in an abnormal state. Therefore, through the structural design, the problems of SIM card data operation failure or SIM card damage and the like caused by too fast temperature change can be avoided, and the problem that the SIM card is easy to damage when a user uses a self-matched card support or a non-standard card support can be prevented, so that the aim of protecting the SIM card is further fulfilled.
The first detection module 420, the second detection module 430, the comparison module 440 and the control module 450 may be disposed in a processor of the mobile terminal, but are not limited thereto, and may also be disposed in other modules of the mobile terminal.
In this embodiment, the apparatus further includes a timing module 460, the timing module 460 is respectively connected to the first detection module 420, the second detection module 430, the comparison module 440, and the control module 450, and the timing module 460 is configured to start the first detection module 420, the second detection module 430, the comparison module 440, and the control module 450 at a preset time. Specifically, the timing module 460 may start the first detection module 420, the second detection module 430, the comparison module 440, and the control module 450 at a fixed time interval of an equal amount, so as to further improve the reliability of the normal operation of the card holder 120. The timing module 460 may include a timer with a preset fixed time of 5 seconds, if the fixed time is set too short, although the SIM card is detected faster, the power consumption of the mobile terminal will increase, and if the fixed time is set too long, the detection process may become too slow. Generally, the card holder 120 with the SIM card is placed in the card socket 130 and the whole time for the SIM card to complete the registration is about 5 seconds, so the fixed time of the timer can be set to 5 seconds, but is not limited thereto. In some other embodiments, the timing module 460 may also activate the first detection module 420, the second detection module 430, the comparison module 440, and the control module 450 at unequal intervals.
In this embodiment, the apparatus further includes a detection module 470, the detection module 470 is connected to the power supply module 410, and the detection module 470 is configured to send a relevant instruction to the power supply module 410 to provide power to the SIM card when it is detected that the card holder 120 with the SIM card is placed in the card socket 130. The detection module 470 can determine that the card holder 120 with the SIM card is placed in the card socket 130 in the following manner. Specifically, when the card holder 120 with the SIM card is not placed in the card socket 130, the voltage at the power supply contact VCC is at a low level, and when the card holder 120 with the SIM card is placed in the card socket 130, the voltage at the power supply contact VCC is at a high level, so that it is determined that the card holder 120 with the SIM card is placed in the card socket 130 by changing the voltage at the power supply contact VCC from low to high. Of course, in other embodiments, the pin of the pin connector 110 may be changed to identify whether the SIM card is placed in the card holder 120.
Referring to fig. 5, an embodiment of the present application provides a method for detecting a SIM card, which uses the apparatus for detecting a SIM card. The specific structure of the apparatus for detecting a SIM card is as described above, and is not described herein again.
The method comprises the following steps:
step S510: and starting the first detection module, the second detection module, the comparison module and the control module.
In this step, the method further comprises: the first detection module 420, the second detection module 430, the comparison module 440 and the control module 450 are started by the timing module 460 at a preset time timing. This can further improve the reliability of the normal operation of the card holder 120.
Step S520: and acquiring voltage values of the first connecting contact point and the second connecting contact point through the first detection module, and calculating to obtain the card support temperature of the card support.
In this step, the voltage values of the first connection contact point NCC1 and the second connection contact point NCC2 may be acquired by the two analog-to-digital conversion modules through analog-to-digital conversion.
The calculation of the capto temperature is specifically as follows: formula 1 is VNCC1 ═ R2 × VCC/(R1+ R2), and formula 2 is VNCC2 ═ RT × VCC/(RT + R3). VNCC1 is the voltage value of the first connection contact point NCC1, VNCC2 is the voltage value of the second connection contact point NCC2, R1 is the resistance value of the first resistor, R2 is the resistance value of the second resistor, R3 is the resistance value of the third resistor, and RT is the resistance value of the thermistor. The resistances of the first resistor R1, the second resistor R2 and the third resistor R3 are fixed resistances, and the thermistor RT is an ntc (negative temperature coefficient) type resistor. VCC and RT are variable in equations 1 and 2, and VCC may vary slightly according to the power supplied by the power supply module 410. RT will vary with temperature. Therefore, according to the formula 1 and the formula, the resistance value of the thermistor RT can be calculated and obtained by obtaining only the voltage values of the first connection contact point NCC1 and the second connection contact point NCC2 (i.e., VNCC1 and VNCC2), so as to obtain the card holder temperature of the card holder 120.
In step S530, a reference temperature is obtained through the second detection module.
The reference temperature may be a temperature of a surface of the mobile terminal, or a temperature corresponding to a weather forecast of the current location obtained through a network. The reference temperature is a reference, and the difference between the temperature of the card holder and the reference temperature is not too large. The reference temperature may be a variable.
Step S540: and calculating the difference value between the temperature of the card holder and the reference temperature through a comparison module, and comparing the difference value with a preset threshold value.
Step S550: and executing corresponding operation on the SIM card through the control module according to the comparison result.
In this embodiment, before step S510, the method further includes step S501: when the detection module 470 detects that the card holder 120 with the SIM card is placed in the card socket 130, it sends a relevant instruction to the power supply module 410 to supply power to the SIM card.
Referring to fig. 6, an embodiment of the present invention further provides a mobile terminal 600, where the mobile terminal 600 may be a mobile phone, a tablet computer, or other devices. As shown in fig. 6, the mobile terminal 600 includes a processor 601, a memory 602. Wherein the processor 601 is connected to the memory 602.
The processor 601 is a control center of the mobile terminal 600, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application stored in the memory 602 and calling data and instructions stored in the memory 602, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the mobile terminal 600 is provided with a plurality of memory partitions, where the plurality of memory partitions includes a system partition and a target partition, and the processor 601 in the mobile terminal 600 loads instructions corresponding to processes of one or more applications into the memory 602 according to the following steps, and the processor 601 runs the applications stored in the memory 602, so as to implement various functions:
starting a first detection module, a second detection module, a comparison module and a control module;
acquiring voltage values of a first connecting contact point and a second connecting contact point through a first detection module, and calculating to obtain the card holder temperature of the card holder;
acquiring a reference temperature through a second detection module; and
calculating the difference value between the temperature of the card holder and the reference temperature through a comparison module, and comparing the difference value with a preset threshold value; and executing corresponding operation on the SIM card through the control module according to the comparison result.
Fig. 7 shows a specific block diagram of a mobile terminal 700 according to an embodiment of the present invention, where the mobile terminal 700 may be used to implement the method for detecting a SIM card according to the embodiment. The mobile terminal 700 may be a mobile phone or a tablet. The mobile terminal further comprises the following components.
The RF circuit 710 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF circuitry 710 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The RF circuit 710 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 720 may be used to store software programs and modules, such as program instructions/modules corresponding to the photographing method in the above-described embodiments, and the processor 780 may execute various functional applications and data processing by running the software programs and modules stored in the memory 720, so as to implement the photographing function. The memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 720 may further include memory located remotely from processor 780, which may be connected to mobile terminal 700 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 730 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 730 may include a touch-sensitive surface 731 as well as other input devices 732. Touch-sensitive surface 731, also referred to as a touch display screen or touch pad, can collect touch operations by a user on or near touch-sensitive surface 731 (e.g., operations by a user on or near touch-sensitive surface 731 using a finger, stylus, or any other suitable object or attachment) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 731 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch-sensitive surface 731 can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic wave. The input unit 730 may also include other input devices 732 in addition to the touch-sensitive surface 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 740 may be used to Display information entered by or provided to a user, as well as various graphical user interfaces of mobile terminal 700, which may be comprised of graphics, text, icons, video, and any combination thereof Display panel 741, optionally Display panel 741 may be configured in the form of L CD (L acquired Crystal Display, liquid Crystal Display), O L ED (Organic L light-Emitting Diode), etc. further, touch-sensitive surface 731 may cover Display panel 741, and upon detection of a touch operation on or near touch-sensitive surface 731, may be communicated to processor 780 to determine the type of touch event, and processor 780 may then provide a corresponding visual output on Display panel 741 according to the type of touch event.
The mobile terminal 700 may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 741 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 741 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 700, detailed descriptions thereof are omitted.
The audio circuit 760, speaker 761, and microphone 762 may provide an audio interface between a user and the mobile terminal 700. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another terminal via the RF circuit 710, or outputs the audio data to the memory 720 for further processing. The audio circuitry 760 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 700.
The mobile terminal 700, which may assist the user in e-mail, web browsing, and streaming media access, etc., through the transport module 770 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 7 shows the transmission module 770, it is understood that it does not belong to the essential constitution of the mobile terminal 700 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 780 is a control center of the mobile terminal 700, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 700 and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the mobile phone. Optionally, processor 780 may include one or more processing cores; in some embodiments, processor 780 may integrate an application processor that handles primarily the operating system, user interface, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
The mobile terminal 700 may also include a power supply 790 (e.g., a battery) that may provide power to the various components and, in some embodiments, may be logically coupled to the processor 780 through a power management system that may perform the functions of managing charging, discharging, and power consumption. The power supply 790 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the mobile terminal 700 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
starting a first detection module, a second detection module, a comparison module and a control module;
acquiring voltage values of a first connecting contact point and a second connecting contact point through a first detection module, and calculating to obtain the card holder temperature of the card holder;
acquiring a reference temperature through a second detection module; and
calculating the difference value between the temperature of the card holder and the reference temperature through a comparison module, and comparing the difference value with a preset threshold value; and executing corresponding operation on the SIM card through the control module according to the comparison result.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, and the instructions may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, embodiments of the present invention provide a storage medium having stored therein a plurality of instructions, which can be loaded by a processor to perform the steps in any of the methods for detecting a SIM card provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any method for detecting a SIM card provided in the embodiments of the present invention, the beneficial effects that can be achieved by any method for detecting a SIM card provided in the embodiments of the present invention can be achieved, for details, see the foregoing embodiments, and are not described herein again. The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The device, the method, the storage medium and the mobile terminal for detecting the SIM card aim to avoid the problems of SIM card data operation failure or SIM card damage and the like caused by too fast temperature change when the mobile terminal uses the SIM card, and can prevent the problem that the SIM card is easy to damage when a user uses a self-matched card support or a non-standard card support, thereby further achieving the purpose of protecting the SIM card.
The method, the apparatus, the storage medium, and the mobile terminal for detecting a SIM card according to the embodiments of the present invention are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An apparatus for detecting a SIM card, which is applied to a mobile terminal, the mobile terminal comprising: the SIM card comprises a pin connector, a card support and a card seat, wherein the pin connector is arranged on a mainboard of the mobile terminal and used for connecting an SIM card to the mainboard, the card support is used for bearing the SIM card, the card seat is connected with a shell of the mobile terminal into a whole and used for fixing the card support, the pin connector is characterized in that a first resistor, a second resistor, a third resistor and a thermistor are respectively arranged on the card support, one end of the first resistor is connected with one end of the second resistor, and a first connecting contact point is formed; one end of the third resistor is connected with the other end of the first resistor, and a power supply contact point is formed; the other end of the third resistor is connected with one end of the thermistor to form a second connecting contact point; the other end of the thermistor is connected with the other end of the second resistor to form a grounding contact point; the device comprises a power supply module, a control module, a first detection module, a second detection module and a comparison module; the power supply module is connected to the power supply contact point and used for supplying power to the power supply contact point on the card holder; the first detection module is connected to the first connection contact point and the second connection contact point respectively, and is used for acquiring voltage values of the first connection contact point and the second connection contact point and calculating to acquire the card holder temperature of the card holder; the second detection module is used for acquiring a reference temperature; the comparison module is used for calculating the difference value between the temperature of the card holder and the reference temperature and comparing the difference value with a preset threshold value; the control module is used for executing corresponding operation on the SIM card according to the comparison result.
2. The apparatus according to claim 1, further comprising a timing module, wherein the timing module is respectively connected to the first detecting module, the second detecting module, the comparing module and the control module, and the timing module is configured to start the first detecting module, the second detecting module, the comparing module and the control module at a preset time.
3. The apparatus according to claim 1, wherein the first detecting module further comprises two analog-to-digital converting modules, the two analog-to-digital converting modules are respectively connected to the first connecting contact and the second connecting contact, and the two analog-to-digital converting modules are configured to respectively obtain the voltage values of the first connecting contact and the second connecting contact through analog-to-digital conversion.
4. The apparatus according to claim 1, further comprising a detection module, wherein the detection module is connected to the power supply module, and the detection module is configured to send a relevant command to the power supply module to supply power to the SIM card when it is detected that the card holder with the SIM card is placed in the card socket.
5. A method for detecting a SIM card, which employs the apparatus for detecting a SIM card of claim 1, characterized by comprising the steps of:
starting a first detection module, a second detection module, a comparison module and a control module;
acquiring voltage values of a first connecting contact point and a second connecting contact point through a first detection module, and calculating to obtain the card holder temperature of the card holder;
acquiring a reference temperature through a second detection module;
calculating the difference value between the temperature of the card holder and the reference temperature through a comparison module, and comparing the difference value with a preset threshold value; and
and executing corresponding operation on the SIM card through the control module according to the comparison result.
6. The method for detecting the SIM card according to claim 5, wherein the apparatus further comprises a timing module, the timing module is respectively connected with the first detecting module, the second detecting module, the comparing module and the control module;
in the step of activating the first detection module, the second detection module, the comparison module, and the control module, the method further comprises: the first detection module, the second detection module, the comparison module and the control module are started at preset time by the timing module.
7. The method for detecting a SIM card according to claim 5, wherein the first detection module further comprises two analog-to-digital conversion modules, the two analog-to-digital conversion modules being connected to the first connection contact and the second connection contact, respectively;
in the step of obtaining the voltage values of the first connection contact point and the second connection contact point through the first detection module and calculating the card holder temperature of the card holder, the method further comprises the step of obtaining the voltage values of the first connection contact point and the second connection contact point through the two analog-to-digital conversion modules in an analog-to-digital conversion mode.
8. The method for detecting a SIM card according to claim 5, wherein the apparatus further comprises a probing module, the probing module being connected to the power supply module;
before the step of activating the first detection module, the second detection module, the comparison module, and the control module, the method further comprises: when the detection module detects that the card holder with the SIM card is placed in the card holder, a related instruction is sent to the power supply module to provide power for the SIM card.
9. A storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the method for detecting a SIM card according to any one of claims 5 to 8.
10. A mobile terminal, characterized in that it comprises the device for detecting a SIM card of any one of claims 1 to 4.
CN202010153315.5A 2020-03-06 2020-03-06 Device, method, storage medium and mobile terminal for detecting SIM card Pending CN111405103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010153315.5A CN111405103A (en) 2020-03-06 2020-03-06 Device, method, storage medium and mobile terminal for detecting SIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010153315.5A CN111405103A (en) 2020-03-06 2020-03-06 Device, method, storage medium and mobile terminal for detecting SIM card

Publications (1)

Publication Number Publication Date
CN111405103A true CN111405103A (en) 2020-07-10

Family

ID=71436112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010153315.5A Pending CN111405103A (en) 2020-03-06 2020-03-06 Device, method, storage medium and mobile terminal for detecting SIM card

Country Status (1)

Country Link
CN (1) CN111405103A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685035A (en) * 2008-09-23 2010-03-31 深圳华为通信技术有限公司 SIM card, method and device for detecting temperature of SIM card
CN103037043A (en) * 2012-12-07 2013-04-10 Tcl通讯(宁波)有限公司 Temperature protection device of mobile terminal subscriber identity module (SIM) card
CN103545889A (en) * 2013-10-25 2014-01-29 Tcl通讯(宁波)有限公司 USB charging system, charger, mobile terminal and charging control method
CN105354116A (en) * 2015-10-23 2016-02-24 青岛海信移动通信技术股份有限公司 Hot-plug detection method, apparatus, system and mobile terminal
CN105611020A (en) * 2016-03-04 2016-05-25 努比亚技术有限公司 SIM (Subscriber Identity Module) card detection system and method
CN106451400A (en) * 2016-11-28 2017-02-22 深圳天珑无线科技有限公司 Protection circuit and power supply method
EP1759468B1 (en) * 2004-06-24 2018-08-08 Continental Automotive Systems, Inc. Emergency calling with a gsm radiotelephone during temperature extremes
CN208522449U (en) * 2018-07-27 2019-02-19 上海剑桥科技股份有限公司 Over-temperature protection device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1759468B1 (en) * 2004-06-24 2018-08-08 Continental Automotive Systems, Inc. Emergency calling with a gsm radiotelephone during temperature extremes
CN101685035A (en) * 2008-09-23 2010-03-31 深圳华为通信技术有限公司 SIM card, method and device for detecting temperature of SIM card
CN103037043A (en) * 2012-12-07 2013-04-10 Tcl通讯(宁波)有限公司 Temperature protection device of mobile terminal subscriber identity module (SIM) card
CN103545889A (en) * 2013-10-25 2014-01-29 Tcl通讯(宁波)有限公司 USB charging system, charger, mobile terminal and charging control method
CN105354116A (en) * 2015-10-23 2016-02-24 青岛海信移动通信技术股份有限公司 Hot-plug detection method, apparatus, system and mobile terminal
CN105611020A (en) * 2016-03-04 2016-05-25 努比亚技术有限公司 SIM (Subscriber Identity Module) card detection system and method
CN106451400A (en) * 2016-11-28 2017-02-22 深圳天珑无线科技有限公司 Protection circuit and power supply method
CN208522449U (en) * 2018-07-27 2019-02-19 上海剑桥科技股份有限公司 Over-temperature protection device

Similar Documents

Publication Publication Date Title
CN111651387B (en) Interface circuit and electronic equipment
CN111008090A (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN110958345B (en) Method and device for detecting rear cover of mobile terminal and computer readable storage medium
CN112243259A (en) Network disconnection method, device, storage medium and mobile terminal
CN110190641B (en) Charging control circuit, terminal equipment and data line
CN110851014A (en) Touch identification method and device, storage medium and terminal equipment
CN105611445A (en) Self-stick, self-stick identification method and apparatus, and mobile terminal
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN111083288B (en) Screen control method and device, terminal equipment and storage medium
CN111384754B (en) Charging method, charging device, storage medium and mobile terminal
CN111405103A (en) Device, method, storage medium and mobile terminal for detecting SIM card
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111966206A (en) Power-saving control method and device for fingerprint sensor and mobile terminal
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN111273584A (en) Power supply control device and electronic equipment
CN112202464B (en) Identification card detection method and device, storage medium and mobile terminal
CN111405544B (en) Method, apparatus and storage medium for identifying mobile terminal socket
CN111343325B (en) Port detection method and device, mobile terminal and storage medium
CN109995441B (en) Communication information processing method, device and storage medium
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN110061890B (en) Data transmission control circuit, terminal device and data transmission line
CN113079249B (en) Prompting method, prompting device, storage medium and mobile terminal
CN111026486B (en) Application sorting method, application sorting device and computer readable storage medium
CN111987512B (en) Connector, mobile terminal and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710