CN105376758A - An SIM card disconnection detection method and system - Google Patents

An SIM card disconnection detection method and system Download PDF

Info

Publication number
CN105376758A
CN105376758A CN201510647883.XA CN201510647883A CN105376758A CN 105376758 A CN105376758 A CN 105376758A CN 201510647883 A CN201510647883 A CN 201510647883A CN 105376758 A CN105376758 A CN 105376758A
Authority
CN
China
Prior art keywords
pin
sim card
level
level state
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510647883.XA
Other languages
Chinese (zh)
Other versions
CN105376758B (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.)
SHANDONG KAER ELECTRIC Co.,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 CN201510647883.XA priority Critical patent/CN105376758B/en
Publication of CN105376758A publication Critical patent/CN105376758A/en
Application granted granted Critical
Publication of CN105376758B publication Critical patent/CN105376758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides an SIM card disconnection detection method and system. The system is provided with a configuration module, a detection module, an obtaining and recording module and a judging and processing module. Each pin of an SIM card is configured to be an edge triggered interruption mode; the level state of each pin of the SIM card is detected; when it is detected that the level state changes, the level state information of the current pin is obtained and recorded; when SIM card communication fails, the detection of the level state of each pin is stopped and the pin disconnection information of the SIM card is judged according to the level state information in the history. Therefore, in case of SIM card disconnection, the instantaneous waveform in card disconnection can be recovered according to the level change of each pin of the SIM card in the history to judge the pin in actual physical connection interruption, so that pin detection efficiency and accuracy for SIM card disconnection are effectively improved.

Description

A kind ofly detect the method and system that SIM card falls card
Technical field
The present invention relates to SIM card technical field, particularly a kind ofly detect the method and system that SIM card falls card.
Background technology
The SIM(SubscriberIdentityModule that operator provides must be put in the terminal during the network that mobile terminal needs use operator to provide, client identification module) card, because SIM card is all by certain mechanical structure card in the terminal, and the contact corresponding to mobile terminal is connected, its electrical connection stability is relatively low, particularly mobile terminal has portability, often be in the middle of motion, even occur falling, the situation such as collision, be easy to the disconnecting making SIM card and mobile terminal, occur falling the phenomenon of card.
When the detection falling card for SIM card often needs to capture card by oscilloscope, the waveform of each pin of SIM card, judges that specifically which pin connects disconnection and causes SIM card and mobile terminal disconnecting.And fall card and often occur in very short time, and not easily reappear, and mobile terminal can not be connected oscilloscope all day by user to be used, therefore, in prior art, the instantaneous waveform captured when SIM card falls card is judged that the pin that actual physics connects disconnection does not still have effective method, mobile terminal can only be connected oscilloscope by tester constantly to use and reappear to fall card and capture waveform, take time and effort very much.
Thus prior art need to improve.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide and a kind ofly detect the method and system that SIM card falls card, instantaneous waveform when recovering card can be changed according to the level of each pin of SIM card of historical record when SIM card falls card, judge that actual physics connects the pin disconnected, effectively improve the pin detection efficiency that SIM card falls card.
In order to achieve the above object, this invention takes following technical scheme:
Detect the method that SIM card falls card, it comprises the steps:
A, be edge triggered interruption pattern by each pin configuration of SIM card;
B, detect the level state of each pin of described SIM card;
C, when detecting that described level state changes, obtaining and recording the level state information of current pin;
D, when SIM card Communications failure, stop detecting the level state of each pin, judge the pin disconnection information of SIM card according to the level state information of historical record.
Described detection SIM card is fallen in the method for card, and described step C specifically comprises:
C1, when detecting that described level state changes, obtaining and recording the title of current pin, the level of pin and current time.
Described detection SIM card is fallen in the method for card, and described step C1 specifically comprises:
When the level state of reset pin SIM card being detected changes, the title of reset pin is recorded as " RST ", obtains and records level and the current time of current reset pin;
When the level state of power pins SIM card being detected changes, the title of power pins is recorded as " VCC ", obtains and records level and the current time of current power pin;
When the level state of data pin SIM card being detected changes, the title of data pin is recorded as " DATA ", obtains and records level and the current time of current data pin;
When the level state of clock pins SIM card being detected changes, the title of clock pins is recorded as " CLK ", obtains and records level and the current time of present clock pin.
Described detection SIM card is fallen in the method for card, and described step D specifically comprises:
D1, when SIM card Communications failure, stop detecting the level state of each pin;
D2, in the level state information of historical record, judge according to time-sequencing to meet the pin connecting disconnection condition at first.
Described detection SIM card is fallen in the method for card, and described connection disconnection condition specifically comprises:
Judge that when the name of pin in described level state information is called " RST " and the level of pin is low level the reset pin of SIM card meets and connect disconnection condition;
Judge that when the name of pin in described level state information is called " VCC " and the level of pin is low level the power pins of SIM card meets and connect disconnection condition;
When the name of pin in described level state information be called " DATA " and a level N continuous clock cycle of pin is level or a N continuous clock cycle be high level time judge that the data pin of SIM card meets and connect disconnection condition, described N is 10;
When the name of pin in described level state information be called " CLK " and the level of pin continuous 2 clock cycle are level or continuous 2 clock cycle be high level time judge that the clock pins of SIM card meets and connect disconnection condition.
Detect the system that SIM card falls card, it comprises:
Configuration module, for being edge triggered interruption pattern by each pin configuration of SIM card;
Detection module, for detecting the level state of the pin of described SIM card;
Obtain logging modle, for when detecting that described level state changes, obtaining and recording the level state information of current pin;
Judging treatmenting module, for when SIM card Communications failure being detected, stops the level state detecting described pin, judges that the pin of SIM card disconnects information according to the level state information of historical record.
Described detection SIM card is fallen in the system of card, and described acquisition logging modle, specifically for when detecting that described level state changes, obtaining and recording the title of current pin, the level of pin and current time.
Described detection SIM card is fallen in the system of card, and described acquisition logging modle comprises:
First obtains record sub module, for when the level state of reset pin SIM card being detected changes, the title of reset pin is recorded as " RST ", obtains and records level and the current time of current reset pin;
Second obtains record sub module, for when the level state of power pins SIM card being detected changes, the title of power pins is recorded as " VCC ", obtains and records level and the current time of current power pin;
3rd obtains record sub module, for when the level state of data pin SIM card being detected changes, the title of data pin is recorded as " DATA ", obtains and records level and the current time of current data pin;
4th obtains record sub module, for when the level state of clock pins SIM card being detected changes, the title of clock pins is recorded as " CLK ", obtains and records level and the current time of present clock pin.
Described detection SIM card is fallen in the system of card, and described judging treatmenting module comprises:
Process submodule, for when SIM card Communications failure, stops the level state of the described pin of detection;
Judge submodule, in the level state information of historical record, judge according to time-sequencing to meet the pin connecting disconnection condition at first.
Described detection SIM card is fallen in the system of card, and described judgement submodule comprises:
First judging unit, connects disconnection condition for judging that when the name of pin in described level state information is called " RST " and the level of pin is low level the reset pin of SIM card meets;
Second judging unit, connects disconnection condition for judging that when the name of pin in described level state information is called " VCC " and the level of pin is low level the power pins of SIM card meets;
3rd judging unit, for be called " DATA " when the name of pin in described level state information and a level N continuous clock cycle of pin is level or a N continuous clock cycle be high level time judge that the data pin of SIM card meets and connect disconnection condition, described N is 10;
4th judging unit, for be called " CLK " when the name of pin in described level state information and the level of pin continuous 2 clock cycle are level or continuous 2 clock cycle be high level time judge that the clock pins of SIM card meets and connect disconnection condition.
Compared to prior art, described in the method and system that detection SIM card provided by the invention falls card, system is by arranging configuration module, detection module, acquisition logging modle and judging treatmenting module, is edge triggered interruption pattern by each pin configuration of SIM card; Detect the level state of each pin of described SIM card afterwards; When detecting that described level state changes, obtaining and recording the level state information of current pin; When SIM card Communications failure, stop the level state detecting each pin, judge that the pin of SIM card disconnects information according to the level state information of historical record, thus instantaneous waveform when can recover card according to the change of the level of each pin of SIM card of historical record when SIM card falls card, judge that actual physics connects the pin disconnected, effectively improve pin detection efficiency and accuracy that SIM card falls card.
Accompanying drawing explanation
Fig. 1 is the flow chart that detection SIM card provided by the invention falls the method for card.
Fig. 2 is the structured flowchart that detection SIM card provided by the invention falls the system of card.
Fig. 3 is that detection SIM card provided by the invention falls the structured flowchart obtaining logging modle and each pin of SIM card in the system of card.
Embodiment
In view of in prior art for the instantaneous waveform that cannot effectively capture when SIM card falls card, judge that actual physics connects the inefficient shortcoming of pin disconnected, the object of the present invention is to provide and a kind ofly detect the method and system that SIM card falls card, instantaneous waveform when recovering card can be changed according to the level of each pin of SIM card of historical record when SIM card falls card, judge that actual physics connects the pin disconnected, effectively improve the pin detection efficiency that SIM card falls card.
For making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, the method that detection SIM card provided by the invention falls card comprises the steps:
S100, be edge triggered interruption pattern by each pin configuration of SIM card;
S200, detect the level state of each pin of described SIM card;
S300, when detecting that described level state changes, obtaining and recording the level state information of current pin;
S400, when SIM card Communications failure, stop detecting the level state of described pin, judge the pin disconnection information of SIM card according to the level state information of historical record.
At present, conventional SIM card at least includes reset pin RST, power pins VCC, data pin DATA, and clock pins CLK, the present invention is by being connected each pin of SIM card with system in advance, and be edge triggered interruption pattern by each pin configuration of SIM card, detect the level state of each pin of described SIM card simultaneously, when detecting that described level state changes, obtain and record the level state information that current level state there occurs the pin of change, the level state detecting each pin is stopped when SIM card Communications failure, instantaneous waveform when falling card according to the level state Information recovering of historical record, thus judge that the actual physics of SIM card connects the pinout information disconnected, achieve Waveshape reproduction when SIM card falls card, contribute to the pinout information judging that actual connection disconnects, substantially increase the efficiency that SIM card falls card detection.
Wherein, described step S300 specifically comprises: when detecting that described level state changes, and obtains and records the title of current pin, the level of pin and current time.
Namely when detecting that the level state of any one pin in reset pin RST, the power pins VCC of SIM card, data pin DATA and clock pins CLK changes, obtain and record current level state and there occurs the title of the pin of change, the level of pin and current time, for the Waveshape reproduction falling card moment provides reliable information.
Particularly, when the level state of reset pin SIM card being detected changes, the title of reset pin is recorded as " RST ", obtains and records level and the current time of current reset pin; When the level state of power pins SIM card being detected changes, the title of power pins is recorded as " VCC ", obtains and records level and the current time of current power pin; When the level state of data pin SIM card being detected changes, the title of data pin is recorded as " DATA ", obtains and records level and the current time of current data pin; When the level state of clock pins SIM card being detected changes, the title of clock pins is recorded as " CLK ", obtains and records level and the current time of present clock pin.
Such as, the level of power pins is high level, when the level of power pins becomes low level, then will produce edge (trailing edge) to interrupt, now the title of power pins is recorded as " VCC " by system, and obtains level (current is low level) and the current time (be such as 1876.455186909 seconds, this time is the time after distance start) of power pins, preserve, as follows:
Pin name " VCC ", low level, 1876.455186909;
Equally, when the level state of other pin of SIM card changes, system also will record its level state information according to above-mentioned record rule.
Further, described step S400 specifically comprises:
When SIM card Communications failure, stop the level state detecting described pin;
In the level state information of historical record, judge according to time-sequencing to meet the pin connecting disconnection condition at first.
During concrete enforcement, described connection disconnects condition and specifically comprises:
Judge that when the name of pin in described level state information is called " RST " and the level of pin is low level the reset pin of SIM card meets and connect disconnection condition;
Judge that when the name of pin in described level state information is called " VCC " and the level of pin is low level the power pins of SIM card meets and connect disconnection condition;
When the name of pin in described level state information be called " DATA " and a level N continuous clock cycle of pin is level or a N continuous clock cycle be high level time judge that the data pin of SIM card meets and connect disconnection condition, described N is 10, and the described clock cycle is cycle of clock pins output clock;
When the name of pin in described level state information be called " CLK " and the level of pin continuous 2 clock cycle are level or continuous 2 clock cycle be high level time judge that the clock pins of SIM card meets and connect disconnection condition, the described clock cycle is cycle of clock pins output clock.
Due to when reality uses, when the pin physical connection of a SIM card disconnects, other pin communicating interrupt can be caused, the final pin that other physical connections also can be made not disconnect meets connection disconnection condition, therefore, when SIM card Communications failure, namely SIM card is connected when disconnecting with system, stop the level state detecting each pin, in the level state information of historical record, time is sorted according to sequencing, judge which pin meets at first according to time-sequencing and connect disconnection condition, be judged as that actual physics connects the pin disconnected by it, thus achieve the pin being judged actual connection disconnection by historical record level information, improve the accuracy that SIM card falls card detection.
Such as, when SIM card Communications failure, the level state information of historical record is as follows:
Suppose that some records all do not meet above and connect disconnection condition;
Pin name " RST ", low level, 1876.455186909;
Pin name " VCC ", low level, 1876.455196156;
Pin name " DATA ", low level, 1876.455212170;
From the level state information of above-mentioned historical record, pin, power pins, data pin all meet connection disconnection condition, but reset pin meets connection disconnection condition at first, therefore by above-mentioned in the level state information of historical record, the method meeting the pin connecting disconnection condition is at first judged according to time-sequencing, judging that actual physics connects the pin disconnected is reset pin, instantaneous waveform when SIM card being fallen card recovers, the accurate pin judging actual connection disconnection, effectively improves the pin detection efficiency that SIM card falls card.
Refer to Fig. 2, the present invention is also corresponding to be provided a kind of and detects the system that SIM card falls card, and it comprises: configuration module 10, detection module 20, obtain logging modle 30 and judging treatmenting module 40.Wherein, described configuration module 10 is for being edge triggered interruption pattern by each pin configuration of SIM card; Described detection module 20 is for detecting the level state of each pin of described SIM card; Described acquisition logging modle 30, for when detecting that described level state changes, obtaining and recording the level state information of current pin; Described judging treatmenting module 40, for when SIM card Communications failure being detected, stops the level state detecting described pin, judges that the pin of SIM card disconnects information according to the level state information of historical record.
Each pin configuration of SIM card is edge triggered interruption pattern by configuration module 10 by the system that detection SIM card provided by the invention falls card; The level state of each pin of described SIM card is detected by detection module 20; When detection module 20 detects that described level state changes, obtain by obtaining logging modle 30 and record the level state information that current level state there occurs the pin of change; When SIM card Communications failure, the level state detecting each pin is stopped by judging treatmenting module 40, and instantaneous waveform when falling card according to the level state Information recovering of historical record, thus judge that the actual physics of SIM card connects the pinout information disconnected, achieve Waveshape reproduction when SIM card falls card, contribute to the pinout information judging that actual connection disconnects, substantially increase the efficiency that SIM card falls card detection.
Wherein, described acquisition logging modle 30, specifically for when detecting that described level state changes, obtaining and recording the title of current pin, the level of pin and current time.When detection module 20 detects that the level state of any one pin in reset pin RST, the power pins VCC of SIM card, data pin DATA and clock pins CLK changes, acquisition logging modle 30 obtains and records current level state and there occurs the title of the pin of change, the level of pin and current time, and the Waveshape reproduction falling card moment for SIM provides reliable information.
Particularly, see also Fig. 3, described acquisition logging modle 30 comprises: first obtains record sub module 401, second obtains record sub module 402, the 3rd acquisition record sub module 403 and the 4th acquisition record sub module 404, and described first obtains record sub module 401 is connected with the reset pin RST of SIM card; Described second obtains record sub module 402 is connected with the power pins VCC of SIM card; Described 3rd obtains record sub module 403 is connected with the data pin DATA of SIM card; Described 4th obtains record sub module 404 is connected with the clock pins CLK of SIM card.
Described first obtain record sub module 401 for when the level state of reset pin SIM card being detected changes, and the title of reset pin is recorded as " RST ", obtains and records level and the current time of current reset pin; Described second obtain record sub module 402 for when the level state of power pins SIM card being detected changes, and the title of power pins is recorded as " VCC ", obtains and records level and the current time of current power pin; Described 3rd obtain record sub module 403 for when the level state of data pin SIM card being detected changes, and the title of data pin is recorded as " DATA ", obtains and records level and the current time of current data pin; Described 4th obtain record sub module 404 for when the level state of clock pins SIM card being detected changes, and the title of clock pins is recorded as " CLK ", obtains and records level and the current time of present clock pin.
Such as, the level of power pins is high level, when the level of power pins becomes low level, then will produce edge (trailing edge) to interrupt, now the title of power pins is recorded as " VCC " by described second acquisition record sub module 402, and obtains level (current is low level) and the current time (be such as 1876.455186909 seconds, this time is the time after distance start) of power pins, preserve, as follows:
Pin name " VCC ", low level, 1876.455186909;
Equally, when the level state of other pin of SIM card changes, first obtains record sub module 401, the 3rd acquisition record sub module 403 and the 4th acquisition record sub module 404 also will record its level state information according to above-mentioned record rule.
Further, described judging treatmenting module 40 comprises process submodule (not shown) and judges submodule (not shown), and described process submodule is used for when SIM card Communications failure, stops the level state detecting described pin; Described judgement submodule is used in the level state information of historical record, judges to meet the pin connecting disconnection condition at first according to time-sequencing.
Due to reality use time, when the pin physical connection of a SIM card disconnects, other pin communicating interrupt can be caused, the final pin that other physical connections also can be made not disconnect meets connection disconnection condition, therefore, when SIM card Communications failure, described judgement submodule controls the level state stopping detecting each pin, and in the level state information of historical record, time is sorted according to sequencing, judge which pin meets at first according to time-sequencing and connect disconnection condition, be judged as that actual physics connects the pin disconnected by it, thus instantaneous waveform reproduction when SIM card being fallen card by historical record level information, and judge the actual pin connecting disconnection by this waveform, improve the accuracy that SIM card falls card detection.Specific embodiment falls in the embodiment of the method for card to be described in detail in above-mentioned detection SIM card, repeats no more herein.
Further, described judgement submodule comprises the first judging unit (not shown), the second judging unit (not shown), the 3rd judging unit (not shown) and the 4th judging unit (not shown), and described first judging unit is used for judging when the name of pin in described level state information is called " RST " and the level of pin is low level that the reset pin of SIM card meets and connects disconnection condition; Described second judging unit is used for judging when the name of pin in described level state information is called " VCC " and the level of pin is low level that the power pins of SIM card meets and connects disconnection condition; Described 3rd judging unit be used for when the name of pin in described level state information be called " DATA " and a level N continuous clock cycle of pin is level or a N continuous clock cycle be high level time judge the data pin of SIM card satisfied connection disconnection condition, described N is 10, and the described clock cycle is cycle of clock pins output clock; Described 4th judging unit be used for when the name of pin in described level state information be called " CLK " and the level of pin continuous 2 clock cycle are level or continuous 2 clock cycle be high level time judge the clock pins of SIM card satisfied connection disconnection condition, the described clock cycle is cycle of clock pins output clock.Thus when the level state of each pin of SIM card changes, accurately can judge whether each pin meets and connect disconnection condition, the Waveshape reproduction falling card moment for SIM card provides level state information accurately.
In sum, described in the method and system that detection SIM card provided by the invention falls card, system is by arranging configuration module, detection module, acquisition logging modle and judging treatmenting module, is edge triggered interruption pattern by each pin configuration of SIM card; Detect the level state of each pin of described SIM card afterwards; When detecting that described level state changes, obtaining and recording the level state information of current pin; When SIM card Communications failure, stop the level state detecting each pin, judge that the pin of SIM card disconnects information according to the level state information of historical record, thus instantaneous waveform when can recover card according to the change of the level of each pin of SIM card of historical record when SIM card falls card, judge that actual physics connects the pin disconnected, effectively improve pin detection efficiency and accuracy that SIM card falls card.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection range that all should belong to the claim appended by the present invention.

Claims (10)

1. detect the method that SIM card falls card, it is characterized in that, comprise the steps:
A, be edge triggered interruption pattern by each pin configuration of SIM card
B, detect the level state of each pin of described SIM card;
C, when detecting that described level state changes, obtaining and recording the level state information of current pin;
D, when SIM card Communications failure, stop detecting the level state of each pin, judge the pin disconnection information of SIM card according to the level state information of historical record.
2. detection SIM card according to claim 1 falls the method for card, it is characterized in that, described step C specifically comprises:
C1, when detecting that described level state changes, obtaining and recording the title of current pin, the level of pin and current time.
3. detection SIM card according to claim 2 falls the method for card, it is characterized in that, described step C1 specifically comprises:
When the level state of reset pin SIM card being detected changes, the title of reset pin is recorded as " RST ", obtains and records level and the current time of current reset pin;
When the level state of power pins SIM card being detected changes, the title of power pins is recorded as " VCC ", obtains and records level and the current time of current power pin;
When the level state of data pin SIM card being detected changes, the title of data pin is recorded as " DATA ", obtains and records level and the current time of current data pin;
When the level state of clock pins SIM card being detected changes, the title of clock pins is recorded as " CLK ", obtains and records level and the current time of present clock pin.
4. detection SIM card according to claim 1 falls the method for card, it is characterized in that, described step D specifically comprises:
D1, when SIM card Communications failure, stop detecting the level state of each pin;
D2, in the level state information of historical record, judge according to time-sequencing to meet the pin connecting disconnection condition at first.
5. detection SIM card according to claim 4 falls the method for card, it is characterized in that, described connection disconnection condition specifically comprises:
Judge that when the name of pin in described level state information is called " RST " and the level of pin is low level the reset pin of SIM card meets and connect disconnection condition;
Judge that when the name of pin in described level state information is called " VCC " and the level of pin is low level the power pins of SIM card meets and connect disconnection condition;
When the name of pin in described level state information be called " DATA " and a level N continuous clock cycle of pin is level or a N continuous clock cycle be high level time judge that the data pin of SIM card meets and connect disconnection condition, described N is 10;
When the name of pin in described level state information be called " CLK " and the level of pin continuous 2 clock cycle are level or continuous 2 clock cycle be high level time judge that the clock pins of SIM card meets and connect disconnection condition.
6. detect the system that SIM card falls card, it is characterized in that, comprise
Configuration module, for being edge triggered interruption pattern by each pin configuration of SIM card;
Detection module, for detecting the level state of each pin of described SIM card;
Obtain logging modle, for when detecting that described level state changes, obtaining and recording the level state information of current pin;
Judging treatmenting module, for when SIM card Communications failure being detected, stops the level state detecting described pin, judges that the pin of SIM card disconnects information according to the level state information of historical record.
7. detection SIM card according to claim 6 falls the system of card, it is characterized in that, described acquisition logging modle, specifically for when detecting that described level state changes, obtaining and recording the title of current pin, the level of pin and current time.
8. detection SIM card according to claim 6 falls the system of card, it is characterized in that, described acquisition logging modle comprises:
First obtains record sub module, for when the level state of reset pin SIM card being detected changes, the title of reset pin is recorded as " RST ", obtains and records level and the current time of current reset pin;
Second obtains record sub module, for when the level state of power pins SIM card being detected changes, the title of power pins is recorded as " VCC ", obtains and records level and the current time of current power pin;
3rd obtains record sub module, for when the level state of data pin SIM card being detected changes, the title of data pin is recorded as " DATA ", obtains and records level and the current time of current data pin;
4th obtains record sub module, for when the level state of clock pins SIM card being detected changes, the title of clock pins is recorded as " CLK ", obtains and records level and the current time of present clock pin.
9. detection SIM card according to claim 6 falls the system of card, it is characterized in that, described judging treatmenting module comprises:
Process submodule, for when SIM card Communications failure, stops the level state of the described pin of detection;
Judge submodule, in the level state information of historical record, judge according to time-sequencing to meet the pin connecting disconnection condition at first.
10. detection SIM card according to claim 9 falls the system of card, it is characterized in that, described judgement submodule comprises:
First judging unit, connects disconnection condition for judging that when the name of pin in described level state information is called " RST " and the level of pin is low level the reset pin of SIM card meets;
Second judging unit, connects disconnection condition for judging that when the name of pin in described level state information is called " VCC " and the level of pin is low level the power pins of SIM card meets;
3rd judging unit, for be called " DATA " when the name of pin in described level state information and a level N continuous clock cycle of pin is level or a N continuous clock cycle be high level time judge that the data pin of SIM card meets and connect disconnection condition, described N is 10;
4th judging unit, for be called " CLK " when the name of pin in described level state information and the level of pin continuous 2 clock cycle are level or continuous 2 clock cycle be high level time judge that the clock pins of SIM card meets and connect disconnection condition.
CN201510647883.XA 2015-10-09 2015-10-09 A kind of detection SIM card falls the method and system of card Active CN105376758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510647883.XA CN105376758B (en) 2015-10-09 2015-10-09 A kind of detection SIM card falls the method and system of card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510647883.XA CN105376758B (en) 2015-10-09 2015-10-09 A kind of detection SIM card falls the method and system of card

Publications (2)

Publication Number Publication Date
CN105376758A true CN105376758A (en) 2016-03-02
CN105376758B CN105376758B (en) 2019-03-26

Family

ID=55378468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510647883.XA Active CN105376758B (en) 2015-10-09 2015-10-09 A kind of detection SIM card falls the method and system of card

Country Status (1)

Country Link
CN (1) CN105376758B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809349A (en) * 2017-09-29 2018-03-16 郑州云海信息技术有限公司 A kind of device and method of monitoring server signal waveform
CN108471612A (en) * 2017-02-23 2018-08-31 展讯通信(上海)有限公司 SIM card falls card restoration methods, device and terminal
CN110022573A (en) * 2019-04-15 2019-07-16 Oppo广东移动通信有限公司 Smart card detection method and electronic equipment
CN110530406A (en) * 2019-07-29 2019-12-03 惠州Tcl移动通信有限公司 Fingerprint sensor test method, mobile terminal, test macro and device
CN111182514A (en) * 2019-12-11 2020-05-19 福建魔方电子科技有限公司 Method, device, equipment and medium for realizing time-sharing multiplexing of pins
WO2020160480A1 (en) * 2019-02-01 2020-08-06 Qualcomm Incorporated Automated uicc recovery

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783822A (en) * 2009-12-24 2010-07-21 华为终端有限公司 Method for inserting and drawing user identification card and wireless communication module
CN101968762A (en) * 2009-07-27 2011-02-09 上海华虹集成电路有限责任公司 NFC-SIM (Near Field Communication-Subscriber Identity Module) card chip simulator
WO2012076369A1 (en) * 2010-12-10 2012-06-14 Gemalto Sa Smartcard providing an improved standby mode
CN102843449A (en) * 2012-08-16 2012-12-26 惠州Tcl移动通信有限公司 Mobile communication device and detecting method of subscriber identity module (SIM) card hotplug
CN104702784A (en) * 2015-03-05 2015-06-10 惠州Tcl移动通信有限公司 Method and system for detecting multi-SIM hot plug of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968762A (en) * 2009-07-27 2011-02-09 上海华虹集成电路有限责任公司 NFC-SIM (Near Field Communication-Subscriber Identity Module) card chip simulator
CN101783822A (en) * 2009-12-24 2010-07-21 华为终端有限公司 Method for inserting and drawing user identification card and wireless communication module
WO2012076369A1 (en) * 2010-12-10 2012-06-14 Gemalto Sa Smartcard providing an improved standby mode
CN102843449A (en) * 2012-08-16 2012-12-26 惠州Tcl移动通信有限公司 Mobile communication device and detecting method of subscriber identity module (SIM) card hotplug
CN104702784A (en) * 2015-03-05 2015-06-10 惠州Tcl移动通信有限公司 Method and system for detecting multi-SIM hot plug of mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471612A (en) * 2017-02-23 2018-08-31 展讯通信(上海)有限公司 SIM card falls card restoration methods, device and terminal
CN107809349A (en) * 2017-09-29 2018-03-16 郑州云海信息技术有限公司 A kind of device and method of monitoring server signal waveform
CN107809349B (en) * 2017-09-29 2021-06-29 郑州云海信息技术有限公司 Device and method for monitoring server signal waveform
WO2020160480A1 (en) * 2019-02-01 2020-08-06 Qualcomm Incorporated Automated uicc recovery
US10817381B2 (en) 2019-02-01 2020-10-27 Qualcomm Incorporated Automated UICC recovery
CN110022573A (en) * 2019-04-15 2019-07-16 Oppo广东移动通信有限公司 Smart card detection method and electronic equipment
CN110022573B (en) * 2019-04-15 2022-06-14 Oppo广东移动通信有限公司 Smart card detection method and electronic equipment
CN110530406A (en) * 2019-07-29 2019-12-03 惠州Tcl移动通信有限公司 Fingerprint sensor test method, mobile terminal, test macro and device
CN111182514A (en) * 2019-12-11 2020-05-19 福建魔方电子科技有限公司 Method, device, equipment and medium for realizing time-sharing multiplexing of pins
CN111182514B (en) * 2019-12-11 2023-06-30 福建魔方电子科技有限公司 Method, device, equipment and medium for realizing pin time-sharing multiplexing

Also Published As

Publication number Publication date
CN105376758B (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN105376758A (en) An SIM card disconnection detection method and system
CN100377101C (en) Method and apparatus for testing host computer board including interconnecting peripheries quickly
CN103399254B (en) The detection method that board is in place and device
CN113918376B (en) Fault detection method, device, equipment and computer readable storage medium
CN106201288A (en) Storage method, device and the mobile terminal of a kind of finger print information
CN104079724B (en) A kind of Mobile phone card falls card restoration methods and the mobile terminal of application Mobile phone card
CN105611020B (en) A kind of SIM card detection system and method
CN101656974A (en) SIM card compatibility automated test method and device
CN103902437A (en) Detecting method and server
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN103197139A (en) Clock frequency test method and clock frequency test circuit
CN111157813B (en) Method and device for determining charging current
CN100547419C (en) Battery detecting system and method thereof
CN112241615B (en) Method and system for detecting data balance time sequence and electronic equipment
CN101897094B (en) Fault direction determination
CN104931847B (en) It is a kind of judge NFC antenna whether the terminal and method of loose contact
CN104009267B (en) A kind of information processing method and electronic equipment
CN111707966A (en) CPLD electric leakage detection method and device
CN101216529B (en) Combined test action group test system of micro-electric communication processing structure
CN105354491A (en) Standby state detection method and device of intelligent terminal
CN105911978B (en) A kind of detection method of entire car controller, apparatus and system
CN110235394B (en) Method for realizing high-frequency carrier synchronization and related device
CN105208192A (en) Storage card state control method of terminal and device
CN107728721B (en) Card slot, and method and device for positioning abnormal source
CN105184198A (en) Detecting and protecting method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201029

Address after: 6 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Address before: 10 building, No. 999, Lane 5, sailing Road, Ningbo hi tech Zone, Zhejiang, Ningbo, 315100

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211119

Address after: 264200 No. 58, Dalian Road, Weihai high district, Weihai City, Shandong Province

Patentee after: SHANDONG KAER ELECTRIC Co.,Ltd.

Address before: 6 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TR01 Transfer of patent right