CN107727995A - Mobile terminal and altogether Kato detection process method and storage medium - Google Patents

Mobile terminal and altogether Kato detection process method and storage medium Download PDF

Info

Publication number
CN107727995A
CN107727995A CN201710816156.0A CN201710816156A CN107727995A CN 107727995 A CN107727995 A CN 107727995A CN 201710816156 A CN201710816156 A CN 201710816156A CN 107727995 A CN107727995 A CN 107727995A
Authority
CN
China
Prior art keywords
card
switch
kato
sim card
mobile terminal
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
CN201710816156.0A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710816156.0A priority Critical patent/CN107727995A/en
Publication of CN107727995A publication Critical patent/CN107727995A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of mobile terminal and common Kato detection process method and storage medium, methods described to include:SD card position and SIM card location are set on the Kato of mobile terminal, and the test point on Kato is detected into pin with SD card by first switch respectively is connected, and detecting pin with SIM card by second switch is connected;And first switch is set to be disconnected with second switch;When detecting that Kato inserts neck, first switch closure is first controlled, whether second switch disconnection is in place to detect SD card, controls second switch to close again after detection terminates, and first switch disconnects whether in place to detect SIM card;By the state reporting in place of the SD card detected and SIM card, and carry out corresponding operational control.Present invention seek to address that in the prior art can only be by being stuck in a problem of detection speed for state initiation is slow with cartoon letters which kind of to be distinguished under conditions of the SIM card of mobile terminal and the common Kato of SD card.

Description

Mobile terminal and altogether Kato detection process method and storage medium
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of mobile terminal and altogether Kato detection process method, And storage medium.
Background technology
SD card, SIM card are two kinds of the most frequently used external cards of mobile terminal;At present, SD card, SIM card are equal on mobile terminals There is independent neck.Detection pin level after being put into SD card neck or extracting SD card in neck will change, mobile Terminal judges whether have SD card to insert or pull out in SD card neck according to detection pin level.Such as shown in hardware circuit Fig. 1 Connection, when not having SD card in SD card neck, SD card detection pin level is height(In Fig. 1 A points and B points not in contact with), when SD card card It is low that pin level is detected when having SD card in groove(A points contact with B points in Fig. 1), therefore, SD card detection pin only need to be according to level change To determine whether that SD card inserts SD card neck, when detecting level by high step-down, explanation has SD card insertion, when detecting electricity It is flat to have SD card extraction by explanation during low uprise.It is similar for SIM card and its principle of sim card slot, it is simply described above in A points become Into C points, B points become D points.
Following defect be present in the SD card of above-mentioned prior art, SIM card detection scheme:Due to using SD card, SIM card independence Therefore neck occupies more space, while detect circuit also face wants two both to waste circuit space while also increased into This.
Also there is prior art to be combined together two necks, the thing that above-mentioned two neck is done completed with a Kato, In the prior art, the detection method of the common Kato of SIM card SD card comprises the following steps:
S1, SD card position and SIM card location are set on Kato, while SD card is detected into pin and is connected to one with SIM card detection pin Rise;
S2, when mobile terminal-opening, variable SDS and SIMS, SDS is set to be used for preserving SD card state whether in place respectively, SIMS is used for preserving SIM card state whether in place;
S3, whether when detecting that Kato inserts neck, while it is in place to detect SD/SIM cards;If detect that SD card is in place(It is logical Cross and see whether communicate success with card, it is in place if success, it is otherwise not in place)SDS is then arranged to SD card state in place, if inspection It is in place to measure SIM card(It is in place if success by seeing whether communicate success with card, it is otherwise not in place)Then SIMS is arranged to SIM card state in place, SDS is arranged to SD card state not in place if detecting that SD card is not in place, if detecting SIM card SIMS SIM card state not in place is not arranged to then in place;
S4, when detecting that Kato extracts neck, SDS is arranged to SD card state not in place, SIMS is arranged to SIM card and not existed Position state;
Although the above method is solved with a Kato to detect the function of two cards, but because it is by detecting card insertion Enter rear and cartoon letters, less efficient, reaction is slower, it has not been convenient to the use of user.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of mobile terminal and The common Kato detection process method of its SIM card SD card and storage medium.The present invention provides a kind of rapidly SIM card SD card Kato altogether Detection method, it is intended to solve in the prior art the SIM card of mobile terminal and SD card altogether under conditions of Kato can only by with card Communicate and be stuck in a problem of detection speed for state initiation is slow which kind of to be distinguished.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of common Kato detection process method of mobile terminal SIM card SD card, wherein, including:
A, SD card position and SIM card location are set on the Kato of mobile terminal, the test point on Kato is passed through first respectively Switch is connected with SD card detection pin, and detecting pin with SIM card by second switch is connected;And first switch is set to break with second switch Open;
B, when detect Kato insert neck when, first control first switch closure, second switch disconnect with detect SD card whether Position, controls second switch to close again after detection terminates, and whether first switch disconnects in place to detect SIM card;
C, by the state reporting in place of the SD card detected and SIM card, and carry out corresponding operational control.
The common Kato detection process method of the mobile terminal SIM card SD card, wherein, the step B comprises the following steps:
B1, when detect Kato insert neck when, first control first switch closure, second switch disconnect with detect SD card whether Position;When the first path closure being connected with first switch is then determined as that SD card is in place;
B2, second switch is controlled to close again after detection terminates, whether first switch disconnects in place to detect SIM card;When with The alternate path closure of two switch connections is then determined as that SIM card is in place.
Mobile terminal SIM card SD card Kato detection process method altogether, wherein, will detect in the step C The state reporting in place of SD card and SIM card refer to by SD card and SIM card positioned at no information reporting to mobile terminal system.
The common Kato detection process method of the mobile terminal SIM card SD card, wherein, also include after the step C:Set First switch disconnects with second switch.
A kind of mobile terminal, wherein, including processor, and the memory being connected with the processor, it is described mobile whole SD card position and SIM card location are provided with the Kato at end, and the test point on the Kato of mobile terminal is set respectively by One switch is connected with SD card detection pin, and detecting pin with SIM card by second switch is connected;And first switch and second switch are set Disconnect:
The memory storage has computer program, and any one mobile terminal is realized when the computer program is executed by processor SIM card SD card is total to the step of Kato detection process method;
The processor is used to call the programmed instruction in the memory, to perform any of the above-described mobile terminal SIM card SD The step of blocking Kato detection process method altogether.
A kind of storage medium, wherein, the storage medium is stored with computer program, and the computer program is held by processor The step of any one mobile terminal SIM card SD card is total to Kato detection process method is realized during row.
Mobile terminal provided by the present invention and its common Kato detection process method of SIM card SD card and storage medium, are compared In prior art:A kind of detection method of the quick common Kato of SIM card SD card of the present invention, methods described on Kato by setting SD Card position and SIM card location, the test point on Kato detect pin with SD card by first switch respectively and are connected, and pass through second switch It is connected with SIM card detection pin;And first switch is set to be disconnected with second switch;When detecting that Kato inserts neck, the is first controlled One switch closure, whether second switch disconnection is in place to detect SD card, controls second switch to close again after detection terminates, and first Switch off whether in place to detect SIM card;By the state reporting in place of the SD card detected and SIM card.It is existing so as to solve Can only be by being stuck in a state with cartoon letters which kind of to be distinguished under conditions of the SIM card of mobile terminal and the common Kato of SD card in technology The problem of detection speed of initiation is slow, improves that the detection efficiency of card is relatively low, accelerates the reaction speed of mobile terminal, is user Use provide conveniently.
Brief description of the drawings
Fig. 1 show the detection circuit diagram for dividing neck of SD card and SIM card.
Fig. 2 is the functional schematic block diagram of mobile terminal preferred embodiment of the present invention.
Fig. 3 is the flow chart of the preferred embodiment of the common Kato detection process method of mobile terminal SIM card SD card of the present invention.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.
Embodiment one
A kind of mobile terminal provided in an embodiment of the present invention, as described in Figure 2, the mobile terminal 100 of the embodiment of the present invention include place Device 10, and the memory 20 being connected with the processor 10 are managed, SD card position 50 is provided with the Kato of the mobile terminal With SIM card location 70, and test point 30 on the Kato of mobile terminal is set to detect pin by first switch 40 and SD card respectively Connection, pin is detected with SIM card by second switch 60 and is connected;And first switch 40 is set to be disconnected with second switch 60;
As shown in Fig. 2 in the embodiment of the present invention, the test point 30 on the Kato of mobile terminal passes through first switch 40 and SD respectively The SD card detection pin connection of card position 50, detects pin with the SIM card of SIM card location 70 by second switch 60 and is connected;
The memory 20 is stored with computer program, and the computer program realizes embodiment under face when being performed by processor 10 Mobile terminal SIM card SD card is total to the step of Kato detection process method;
The processor 10 is used to call the programmed instruction in the memory, to perform the mobile end of any one of following embodiment The step of holding SIM card SD card to be total to Kato detection process method, it is described in detail below.
Fig. 3 is referred to, Fig. 3 is the preferred embodiment of the common Kato detection process method of mobile terminal SIM card SD card of the present invention Flow chart.As shown in figure 3, the mobile terminal SIM card SD card of embodiment of the present invention Kato detection process method, including following altogether Step:
SD card position and SIM card location are set step S100, on the Kato of mobile terminal, the test point on Kato is led to respectively Cross first switch to be connected with SD card detection pin, detecting pin with SIM card by second switch is connected;And first switch and second are set Switch off;
In the inventive method embodiment, as shown in Fig. 2 setting SD card position 50 and SIM card location on the Kato of mobile terminal 70, the test point 30 on Kato is detected into pin with SD card by first switch 40 respectively and is connected, passes through second switch 60 and SIM card Detect pin connection;And first switch 40 is set to be disconnected with second switch 60.
Step S200, when detecting that Kato inserts neck, first switch closure is first controlled, second switch is disconnected to detect Whether SD card is in place, controls second switch to close again after detection terminates, and whether first switch disconnects in place to detect SIM card.
Specifically included in this step:When detecting that Kato inserts neck, first first switch 40 is controlled to close, second switch 60 disconnect to detect on SD card SD card position whether in place;When the first path closure being connected with first switch is then determined as SD card In place.
Second switch 60 is controlled to close again after detection terminates, whether first switch 40 disconnects in place to detect SIM card;When The alternate path closure being connected with second switch 60 is then determined as that SIM card is in place.
Step S300, by the state reporting in place of the SD card detected and SIM card, and carry out corresponding operational control.
In the embodiment of the present invention, the state reporting in place of the SD card detected and SIM card is referred to exist SD card and SIM card Positioned at no information reporting to mobile terminal system.With by the Mobile operating system according to SD card and state in place SIM, Carry out corresponding operational control.
In the embodiment of the present invention, after by the state reporting in place of the SD card detected and SIM card, reset first and open Close and disconnected with second switch.
It can be seen that methods described of the embodiment of the present invention is on Kato by setting SD card position and SIM card location, on Kato Test point detects pin with SD card by first switch respectively and is connected, and detecting pin with SIM card by second switch is connected;And set the One switch disconnects with second switch;When detecting that Kato inserts neck, first switch closure is first controlled, second switch is disconnected to examine Survey SD card it is whether in place, control second switch to close again after detection terminates, first switch disconnect with detect SIM card whether Position;By the state reporting in place of the SD card detected and SIM card.So as to solve the SIM card and SD of mobile terminal in the prior art Can only be by being stuck in a problem of detection speed for state initiation is slow with cartoon letters which kind of to be distinguished under conditions of the common Kato of card;Carry The detection efficiency of high card is relatively low, accelerates the reaction speed of mobile terminal, convenience is provided for the use of user.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, It is that related hardware can be instructed by computer program(Such as processor, controller etc.)To complete, described program can store In a computer-readable storage medium, the program may include such as the flow of above-mentioned each method embodiment upon execution.Its Described in storage medium can be memory, magnetic disc, CD etc..
Embodiment three
The embodiment of the present invention additionally provides a kind of storage medium, wherein, the storage medium is stored with computer program, the calculating Machine program realizes the Kato detection process altogether of mobile terminal SIM card SD card described in any of the above-described embodiment when being performed by processor 10 The step of method.
In summary, mobile terminal provided by the present invention and its Kato detection process method and the storage altogether of SIM card SD card Medium, compared to prior art:A kind of detection method of the quick common Kato of SIM card SD card of the present invention, methods described pass through in card SD card position and SIM card location be set in support, and the test point on Kato detects pin by first switch and SD card respectively and is connected, logical Second switch is crossed to be connected with SIM card detection pin;And first switch is set to be disconnected with second switch;Detect that Kato inserts neck When, first switch closure is first controlled, whether second switch disconnection is in place to detect SD card, controls second to open again after detection terminates Close and close, whether first switch disconnects in place to detect SIM card;By the state reporting in place of the SD card detected and SIM card.From And which kind of solution in the prior art can only be by distinguishing under conditions of the SIM card of mobile terminal and SD card are total to Kato with cartoon letters The problem of detection speed that state triggers is slow is stuck in, improves that the detection efficiency of card is relatively low, accelerates the reaction of mobile terminal Speed, provided conveniently for the use of user.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (6)

1. a kind of common Kato detection process method of mobile terminal SIM card SD card, it is characterised in that including:
A, SD card position and SIM card location are set on the Kato of mobile terminal, the test point on Kato is passed through first respectively Switch is connected with SD card detection pin, and detecting pin with SIM card by second switch is connected;And first switch is set to break with second switch Open;
B, when detect Kato insert neck when, first control first switch closure, second switch disconnect with detect SD card whether Position, controls second switch to close again after detection terminates, and whether first switch disconnects in place to detect SIM card;
C, by the state reporting in place of the SD card detected and SIM card, and carry out corresponding operational control.
2. the common Kato detection process method of mobile terminal SIM card SD card according to claim 1, it is characterised in that the step Rapid B comprises the following steps:
B1, when detect Kato insert neck when, first control first switch closure, second switch disconnect with detect SD card whether Position;When the first path closure being connected with first switch is then determined as that SD card is in place;
B2, second switch is controlled to close again after detection terminates, whether first switch disconnects in place to detect SIM card;When with The alternate path closure of two switch connections is then determined as that SIM card is in place.
3. the common Kato detection process method of mobile terminal SIM card SD card according to claim 1, it is characterised in that the step The state reporting in place by the SD card detected and SIM card in rapid C refers to SD card and SIM card positioned at no information reporting To mobile terminal system.
4. the common Kato detection process method of mobile terminal SIM card SD card according to claim 1, it is characterised in that the step Also include after rapid C:First switch is set to be disconnected with second switch.
A kind of 5. mobile terminal, it is characterised in that including processor, and the memory being connected with the processor, the shifting SD card position and SIM card location are provided with the Kato of dynamic terminal, and sets the test point on the Kato of mobile terminal to lead to respectively Cross first switch to be connected with SD card detection pin, detecting pin with SIM card by second switch is connected;And first switch and second are set Switch off:
The memory storage has computer program, and the computer program realizes that claim 1-4 is any when being executed by processor The step of item mobile terminal SIM card SD card is total to Kato detection process method;
The processor is used to call the programmed instruction in the memory, mobile to perform any one of the claims 1-4 Terminal SIM card SD card is total to the step of Kato detection process method.
6. a kind of storage medium, it is characterised in that the storage medium is stored with computer program, and the computer program is processed Device realizes the step of any one of the claim 1-4 mobile terminal SIM card SD cards are total to Kato detection process method when performing.
CN201710816156.0A 2017-09-12 2017-09-12 Mobile terminal and altogether Kato detection process method and storage medium Pending CN107727995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710816156.0A CN107727995A (en) 2017-09-12 2017-09-12 Mobile terminal and altogether Kato detection process method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710816156.0A CN107727995A (en) 2017-09-12 2017-09-12 Mobile terminal and altogether Kato detection process method and storage medium

Publications (1)

Publication Number Publication Date
CN107727995A true CN107727995A (en) 2018-02-23

Family

ID=61205942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710816156.0A Pending CN107727995A (en) 2017-09-12 2017-09-12 Mobile terminal and altogether Kato detection process method and storage medium

Country Status (1)

Country Link
CN (1) CN107727995A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190745A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 It is a kind of to avoid burning control circuit, method, terminal and the computer storage medium blocked

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201937691U (en) * 2010-12-29 2011-08-17 上海华勤通讯技术有限公司 Mobile phone with double SIM (subscriber identity module) cards
CN103698654A (en) * 2013-12-28 2014-04-02 珠海全志科技股份有限公司 Open circuit short circuit test device and test method of chip base pin
US20160011262A1 (en) * 2014-07-11 2016-01-14 Advantest Corporation Scan test multiplexing
CN105338150A (en) * 2015-10-08 2016-02-17 Tcl移动通信科技(宁波)有限公司 Multi-card detection device and method for mobile terminal
CN105611020A (en) * 2016-03-04 2016-05-25 努比亚技术有限公司 SIM (Subscriber Identity Module) card detection system and method
CN106161706A (en) * 2016-06-16 2016-11-23 Tcl移动通信科技(宁波)有限公司 SIM and SD the card detection method of Kato, device and mobile terminal altogether
WO2017126451A1 (en) * 2016-01-18 2017-07-27 日本電気株式会社 Logic integrated circuit and semiconductor device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201937691U (en) * 2010-12-29 2011-08-17 上海华勤通讯技术有限公司 Mobile phone with double SIM (subscriber identity module) cards
CN103698654A (en) * 2013-12-28 2014-04-02 珠海全志科技股份有限公司 Open circuit short circuit test device and test method of chip base pin
US20160011262A1 (en) * 2014-07-11 2016-01-14 Advantest Corporation Scan test multiplexing
CN105338150A (en) * 2015-10-08 2016-02-17 Tcl移动通信科技(宁波)有限公司 Multi-card detection device and method for mobile terminal
WO2017126451A1 (en) * 2016-01-18 2017-07-27 日本電気株式会社 Logic integrated circuit and semiconductor device
CN105611020A (en) * 2016-03-04 2016-05-25 努比亚技术有限公司 SIM (Subscriber Identity Module) card detection system and method
CN106161706A (en) * 2016-06-16 2016-11-23 Tcl移动通信科技(宁波)有限公司 SIM and SD the card detection method of Kato, device and mobile terminal altogether

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109190745A (en) * 2018-06-29 2019-01-11 努比亚技术有限公司 It is a kind of to avoid burning control circuit, method, terminal and the computer storage medium blocked

Similar Documents

Publication Publication Date Title
CN106161706B (en) SIM card and SD card are total to detection method, device and the mobile terminal of Kato
CN106412152B (en) A kind of SIM card detection method and mobile terminal based on mobile terminal
CN109308239B (en) Method and apparatus for outputting information
CN102073602B (en) Computer system, connection control device as well as connecting and disconnecting method
CN105376758B (en) A kind of detection SIM card falls the method and system of card
CN104010077B (en) A kind of information processing method and electronic equipment
CN107423196B (en) Multi-card-slot state detection method, detection equipment and mobile terminal
CN110970970A (en) Processing method and device of terminal charger
CN107727995A (en) Mobile terminal and altogether Kato detection process method and storage medium
CN108156597A (en) A kind of bluetooth equipment and its test method
CN105183673B (en) The method and device of external storage hot plug is supported in recovery mode
CN111355505B (en) SIM card seat type identification method, device and computer readable medium
CN106095258A (en) A kind of e-book based on mobile terminal is skipped method and system
TW201331757A (en) Detecting method and apparatus for hot swapped SD card
CN107179972A (en) For the method for calculation machine, microcontroller, test equipment and test system
CN107391399A (en) A kind of mobile terminal and its SD card detection control method for frequency and storage medium
EP3304506B1 (en) Dip card reader
CN104809214A (en) Test-data breakpoint continuous transmission method applied to microwave automatic test system
CN101923521A (en) Electronic device with function of protecting universal serial bus ports thereof and method
WO2020192520A1 (en) Terminal testing method and device, and terminal testing system
CN107203463A (en) Method, interface method for drafting and the device of interface detection
CN107357594A (en) The startup method and device of application program
CN105912417A (en) Detection method of virtual system, related software running method and related device
CN106970851A (en) Method and apparatus for disk detection process in distributed file system
CN105528049B (en) The configuration method and terminal of SD card CMD pin driving currents

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

Application publication date: 20180223

RJ01 Rejection of invention patent application after publication