CN108471612A - SIM card falls card restoration methods, device and terminal - Google Patents

SIM card falls card restoration methods, device and terminal Download PDF

Info

Publication number
CN108471612A
CN108471612A CN201710099727.3A CN201710099727A CN108471612A CN 108471612 A CN108471612 A CN 108471612A CN 201710099727 A CN201710099727 A CN 201710099727A CN 108471612 A CN108471612 A CN 108471612A
Authority
CN
China
Prior art keywords
sim card
card
instruction
restored
state
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
CN201710099727.3A
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN201710099727.3A priority Critical patent/CN108471612A/en
Publication of CN108471612A publication Critical patent/CN108471612A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

A kind of SIM card of present invention offer falls card restoration methods, device and terminal.The method includes:During normally being interacted with SIM card, when detecting SIM card to the first received instruction without responding or returning to abnormal data, cold reset processing is carried out to SIM card;State SIM card being restored to before receiving first instruction.The present invention can be in the case where user perceives less than card is fallen, the state before making SIM card be restored to card.

Description

SIM card falls card restoration methods, device and terminal
Technical field
The present invention relates to fields of communication technology more particularly to a kind of SIM card to fall card restoration methods, device and terminal.
Background technology
SIM (Subscriber Identity Module, client identification module) cards are subscriber identification card, and mobile phone must This card, which must be loaded onto, to be used.When mobile phone and SIM card interact, when SIM card by radio frequency interference or it is other due to cause For card without response or when returned data exception, mobile phone interface will appear to fall card or caused without information such as networks because falling card, It can not normal communication thereby using family.
The method that traditional solution SIM card falls card is that user restarts mobile phone after falling card, if after mobile phone is restarted It is also abnormal, it can attempt repeatedly to restart, until SIM card and mobile phone can work normally, but this method takes and compares It is long, if in case of emergency, occurring being easy to influence user communication when SIM card falls card, causing inconvenience to the user.
Invention content
SIM card provided by the invention falls card restoration methods, device and terminal, can be the case where user perceives less than card is fallen Under, the state before making SIM card be restored to card.
In a first aspect, a kind of SIM card of present invention offer falls card restoration methods, the method includes:
During normally being interacted with SIM card, when detecting SIM card to received first instruction without response Or when returning to abnormal data, cold reset processing is carried out to SIM card;
State SIM card being restored to before receiving first instruction.
Optionally, described to include to SIM card progress cold reset processing:SIM card is carried out down electrically operated;Again again to SIM Card carries out power on operation.
Optionally, state SIM card being restored to before receiving first instruction includes:More new file system with The SIM card is set to be restored to the state before receiving first instruction.
Optionally, SIM card is restored to described after state before receiving first instruction, the method is also wrapped It includes:
Again first instruction is sent to SIM card, or returns to failure prompt message.
Second aspect, a kind of SIM card of present invention offer fall card recovery device, and described device includes:
Reset unit, for during normally being interacted with SIM card, when detecting SIM card to received When first instruction is without responding or returning to abnormal data, cold reset processing is carried out to SIM card;
Recovery unit, the state for being restored to SIM card before receiving first instruction.
Optionally, the reset unit, it is electrically operated for being carried out down to SIM card;SIM card is carried out again again to power on behaviour Make.
Optionally, the recovery unit, for more new file system so that the SIM card, which is restored to, receives first finger State before order.
Optionally, described device further includes:
Processing unit, for SIM card is restored in the recovery unit state before receiving first instruction it Afterwards, first instruction is sent to SIM card again, or returns to failure prompt message.
The third aspect, the present invention provide a kind of terminal, and the terminal includes that above-mentioned SIM card falls card recovery device.
SIM card provided in an embodiment of the present invention falls card restoration methods, device and terminal, when detect SIM card to mobile phone assist When discussing the instruction of stack transmission without responding or returning to abnormal data, cold reset processing is carried out to SIM card, then SIM card is restored to State before card.Compared with prior art, the present invention can be such that SIM card restores in the case where user perceives less than card is fallen To abnormal preceding state.
Description of the drawings
Fig. 1 is the flow chart that one embodiment of the invention SIM card falls card restoration methods;
Fig. 2 is the flow chart for the specific example that SIM card of the present invention falls card restoration methods;
Fig. 3 is the schematic diagram that processing sequence is instructed after SIM card resets successfully;
Fig. 4 is the schematic diagram of authentication instruction processing sequence;
Fig. 5 is the structural schematic diagram that one embodiment of the invention SIM card falls card recovery device;
Fig. 6 is the structural schematic diagram that another embodiment of the present invention SIM card falls card recovery device.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill The every other embodiment that personnel are obtained without making creative work, shall fall within the protection scope of the present invention.
A kind of SIM card of present invention offer falls card restoration methods, as shown in Figure 1, the method includes:
S11, during normally being interacted with SIM card, when detecting SIM card to received first instruction nothing When response or return abnormal data, cold reset processing is carried out to SIM card;
S12, the state being restored to SIM card before receiving first instruction.
In mobile phone and SIM card interactive process, after mobile phone protocol stack sends an instruction A to SIM card, SIM card is not returned Data are returned, because when the data that various external causes or internal cause cause card to return are abnormal, present case is SIM card Fall card, and the information of card is fallen in display without the prompt user such as network on mobile phone interface.SIM card provided by the invention falls card recovery Method to SIM card by carrying out cold reset processing, then SIM card is restored to the state before card, can be perceived not in user In the case of falling card, SIM card is made to restore.
SIM card provided by the invention falls the flow of card restoration methods as shown in Fig. 2, detecting SIM card to instruction A without response Or after returning to abnormal data, the cold reset instruction in protocol stack is executed, power down power on operation again is carried out to SIM card, makes card It returns to original state.Then by the selection to file system, system is made to reselect to the file system before instruction A Under, to make card be restored to the state before receiving instruction A.Entire reseting procedure is completed by interior of mobile phone, is not necessarily to user's operation, The normal interaction (can only handle slower) that mobile phone and card will not be influenced, after card is successfully recovered, can carry out normal The interaction of mobile phone and card does not influence to communicate, while will not influence the state before resetting.
After SIM card is restored to the state before card, can instruction A be sent to SIM card again, complete the instruction to fail before, After instructing A to fail again, directly returns to failure prompt message and give mobile phone upper layer, be not displayed to user.
During SIM card resets, the instruction sent to upper layer can not be handled at once, it is necessary to until the success of card cold reset Afterwards, the order on upper layer could be carried out, but reseting procedure may need 100ms to 1S or so or longer, during this such as When fruit has multiple instruction to be sent to card, these instructions can only wait for, and after cold reset success, could carry out the finger of these waitings It enables.The required data of interaction and non real-time nature substantially between mobile phone and card are very high, after card resets successfully, will continue to It is required at corresponding instruction.Such as execute instruction after A is abnormal, cold reset operation carried out to SIM card, in reseting procedure, is referred to It is the instruction being sequentially received in reseting procedure to enable B, instruction C, instruction D, then after resetting successfully, re-executes instruction A or right Instruction A executes instruction B after returning to failure, and instruction processing sequence is as shown in Figure 3.
After SIM card resets successfully, whether SIM card is legal by execution authentication confirmation command user identity, it is contemplated that authentication The time restriction of instruction, SIM card meeting priority processing authentication instruction, i.e., after carrying out cold reset operation to card, preferential execution authentication refers to It enables, the process of recovery SIM card is made not influence time requirement of the network to authentication.Authentication instruction processing sequence is as shown in Figure 4.
The embodiment of the present invention also provides a kind of SIM card and falls card recovery device, as shown in figure 5, described device includes:
Reset unit 11, for during normally being interacted with SIM card, when detecting SIM card to received First instruction without respond or return abnormal data when, to SIM card carry out cold reset processing;
Recovery unit 12, the state for being restored to SIM card before receiving first instruction.
Optionally, the reset unit 11, it is electrically operated for being carried out down to SIM card;SIM card is carried out again again to power on behaviour Make.
Optionally, the recovery unit 12, for more new file system so that the SIM card is restored to reception described first State before instruction.
Optionally, as shown in fig. 6, described device further includes:
Processing unit 13, for the shape before SIM card is restored to reception first instruction by the recovery unit 12 After state, first instruction is sent to SIM card again, or return to failure prompt message.
SIM card provided in an embodiment of the present invention falls card recovery device, when the finger for detecting that SIM card sends mobile phone protocol stack When enabling without responding or returning to abnormal data, cold reset processing is carried out to SIM card, then SIM card is restored to the state before card. Compared with prior art, the present invention can make SIM card be restored to abnormal preceding shape in the case where user perceives less than card is fallen State.
The embodiment of the present invention also provides a kind of terminal, and the terminal includes that above-mentioned SIM card falls card recovery device.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, all answer by the change or replacement that can be readily occurred in It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (9)

1. a kind of SIM card falls card restoration methods, which is characterized in that the method includes:
During normally being interacted with SIM card, when detecting SIM card to received first instruction without responding or return When returning abnormal data, cold reset processing is carried out to SIM card;
State SIM card being restored to before receiving first instruction.
2. according to the method described in claim 1, it is characterized in that, described include to SIM card progress cold reset processing:
SIM card is carried out down electrically operated;
Power on operation is carried out to SIM card again again, SIM card is made to return to original state.
3. according to the method described in claim 1, it is characterized in that, described be restored to SIM card receives first instruction Preceding state includes:More new file system is so that the SIM card is restored to the state before receiving first instruction.
4. according to the method described in claim 1, it is characterized in that, receiving first instruction in described be restored to SIM card After state before, the method further includes:
Again first instruction is sent to SIM card, or returns to failure prompt message.
5. a kind of SIM card falls card recovery device, which is characterized in that described device includes:
Reset unit, for during normally being interacted with SIM card, when detecting SIM card to received first When instruction is without responding or returning to abnormal data, cold reset processing is carried out to SIM card;
Recovery unit, the state for being restored to SIM card before receiving first instruction.
6. device according to claim 5, which is characterized in that the reset unit is grasped for carrying out lower electricity to SIM card Make;Power on operation is carried out to SIM card again again.
7. device according to claim 5, which is characterized in that the recovery unit, for more new file system so that institute State the state that SIM card is restored to before receiving first instruction.
8. device according to claim 5, which is characterized in that described device further includes:
Processing unit, after the state before SIM card is restored to reception first instruction by the recovery unit, weight First instruction newly is sent to SIM card, or returns to failure prompt message.
9. a kind of terminal, which is characterized in that the terminal includes that fall card extensive for the SIM card as described in any one of claim 5 to 8 Apparatus for coating.
CN201710099727.3A 2017-02-23 2017-02-23 SIM card falls card restoration methods, device and terminal Pending CN108471612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710099727.3A CN108471612A (en) 2017-02-23 2017-02-23 SIM card falls card restoration methods, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710099727.3A CN108471612A (en) 2017-02-23 2017-02-23 SIM card falls card restoration methods, device and terminal

Publications (1)

Publication Number Publication Date
CN108471612A true CN108471612A (en) 2018-08-31

Family

ID=63266914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710099727.3A Pending CN108471612A (en) 2017-02-23 2017-02-23 SIM card falls card restoration methods, device and terminal

Country Status (1)

Country Link
CN (1) CN108471612A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445932A (en) * 2019-08-05 2019-11-12 宇龙计算机通信科技(深圳)有限公司 Exception falls card processing method, device, storage medium and terminal
CN111244881A (en) * 2020-03-12 2020-06-05 甄十信息科技(上海)有限公司 Method and device for automatically restarting electronic equipment in case of power failure or jamming
CN114006978A (en) * 2021-12-31 2022-02-01 荣耀终端有限公司 Main card switching method and electronic equipment
CN114338908A (en) * 2021-12-23 2022-04-12 展讯通信(上海)有限公司 SIM card recovery method, device, chip and module equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098390A (en) * 2011-03-15 2011-06-15 惠州Tcl移动通信有限公司 Method for recovering subscriber identity module (SIM) of mobile phone in case of data transmission error and mobile phone
CN104580695A (en) * 2014-12-08 2015-04-29 深圳市广和通实业发展有限公司 Card missing recovery method for SIM (subscriber identity module) card
CN105376758A (en) * 2015-10-09 2016-03-02 Tcl移动通信科技(宁波)有限公司 An SIM card disconnection detection method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098390A (en) * 2011-03-15 2011-06-15 惠州Tcl移动通信有限公司 Method for recovering subscriber identity module (SIM) of mobile phone in case of data transmission error and mobile phone
CN104580695A (en) * 2014-12-08 2015-04-29 深圳市广和通实业发展有限公司 Card missing recovery method for SIM (subscriber identity module) card
CN105376758A (en) * 2015-10-09 2016-03-02 Tcl移动通信科技(宁波)有限公司 An SIM card disconnection detection method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110445932A (en) * 2019-08-05 2019-11-12 宇龙计算机通信科技(深圳)有限公司 Exception falls card processing method, device, storage medium and terminal
CN111244881A (en) * 2020-03-12 2020-06-05 甄十信息科技(上海)有限公司 Method and device for automatically restarting electronic equipment in case of power failure or jamming
CN114338908A (en) * 2021-12-23 2022-04-12 展讯通信(上海)有限公司 SIM card recovery method, device, chip and module equipment
CN114338908B (en) * 2021-12-23 2023-01-10 展讯通信(上海)有限公司 SIM card recovery method, device, chip and module equipment
CN114006978A (en) * 2021-12-31 2022-02-01 荣耀终端有限公司 Main card switching method and electronic equipment
CN114006978B (en) * 2021-12-31 2022-07-12 荣耀终端有限公司 Main card switching method and electronic equipment

Similar Documents

Publication Publication Date Title
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
CN108471612A (en) SIM card falls card restoration methods, device and terminal
CN108287751B (en) Task execution method and device and distributed system
CN106713487A (en) Data synchronization method and device
CN105099706A (en) Data communication method, user equipment and server
CN105871587A (en) Log uploading method and device
CN103838648A (en) Terminal and data backup method
CN104283926A (en) Data synchronization method, device and server
CN103942121A (en) Data recovery system and mobile terminal
CN106488534A (en) Obtain the method and system of Network Access Point
CN110515762A (en) Data reconstruction method, device, terminal device and storage medium
CN108958980A (en) Prevent method, electronic device and the computer readable storage medium of Activity life cycle exception
CN106375999A (en) Method and device for quickly connecting WiFi
CN103501247A (en) Method and device for processing high concurrency request
CN111522650A (en) Service request processing method and device of distributed system and electronic equipment
CN106204031B (en) Card application processing method and device
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN113138812A (en) Spacecraft task scheduling method and device
CN117118814A (en) Cloud resource switching method, device, equipment and medium based on multi-cloud management platform
CN109597728B (en) Control method and device of test equipment and computer readable storage medium
EP3876101B1 (en) Abnormality processing method, terminal device and storage medium
CN105282821A (en) Terminal and method for connecting the terminal with wireless fidelity WiFi access point
CN103761473B (en) application management system and method on mobile terminal
CN105764128B (en) The method for controlling power supply and device of mobile terminal
CN110830305B (en) Method and device for wireless device to access WIFI network, electronic device and storage medium

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: 20180831