WO2014019422A1 - 基于移动终端防止热插拔sim卡烧卡的方法及移动终端 - Google Patents
基于移动终端防止热插拔sim卡烧卡的方法及移动终端 Download PDFInfo
- Publication number
- WO2014019422A1 WO2014019422A1 PCT/CN2013/077878 CN2013077878W WO2014019422A1 WO 2014019422 A1 WO2014019422 A1 WO 2014019422A1 CN 2013077878 W CN2013077878 W CN 2013077878W WO 2014019422 A1 WO2014019422 A1 WO 2014019422A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- mobile terminal
- human
- module
- user identification
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K1/00—Methods or arrangements for marking the record carrier in digital fashion
- G06K1/12—Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0013—Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
Definitions
- the present invention relates to the field of mobile terminals, and in particular, to a method and a mobile terminal for preventing hot-swapping SIM card burning based on a mobile terminal.
- the appearance of mobile phones is developing in a thin and light direction.
- the thinner and thinner mobile phone design also puts higher requirements on the traditional SIM card.
- the SIM card holder In order to make the mobile phone thinner, the SIM card holder must be moved from below the battery to the mobile phone side. On the other hand, this allows the user to unplug the SIM card while the phone is turned on.
- the behavior of the hot-swappable SIM card may cause the SIM card to be damaged and cause loss to the user.
- the technical problem to be solved by the present invention is to provide a method for preventing hot-swapping SIM card burning based on a mobile terminal and a mobile terminal according to the above-mentioned drawbacks of the prior art, and to provide a delayed writing when hot-plugging a SIM card.
- the method can effectively avoid the situation that the SIM card is damaged due to the card being pulled out when the data is written, and provides convenience for the user.
- a method for preventing hot-swapping SIM card burning based on a mobile terminal comprising the steps of:
- the data of the SIM card is written into the backup area corresponding to the memory of the mobile terminal in advance;
- the mobile terminal detects whether the human-computer interaction task is executing. When it is detected that the human-computer interaction task is executing, the control writes the data to be written into the SIM card; when it is detected that no human-computer interaction task is executed, the control waits for one. The predetermined time is until the man-machine interaction task is executed to control the data to be written into the SIM card.
- the method for preventing a hot-plug SIM card from being burned based on the mobile terminal wherein the detecting, by the mobile terminal in step C, whether the human-machine interaction task is performed comprises: the mobile terminal detecting whether a user is operating the touch screen, and pressing a button.
- step A specifically includes:
- the mobile terminal is powered on, and the main module of the control system is initialized;
- step A3 judging whether the data currently reading the SIM card is the same as the current information stored by the mobile terminal, if not, the control proceeds to step A4, and when yes, the control proceeds to step A5;
- the mobile terminal detects whether the human-computer interaction task is being executed, and when yes, the control proceeds to step C2, and if not, the control proceeds to step C3;
- the control writes the data to be written into the SIM card
- step C3. Wait for a predetermined time and return to step C1.
- the method for preventing a hot plug SIM card from being burned based on a mobile terminal wherein the data includes phone book data, short message data, SIM card number data, and IMSI number data.
- the method for preventing a hot plug SIM card from being burned based on a mobile terminal wherein the predetermined time is 10 seconds.
- a mobile terminal adopting the above method for preventing hot-swapping SIM card burning which comprises:
- a first write control module configured to pre-write data of the SIM card into a backup area corresponding to the memory of the mobile terminal
- the second write control module when a SIM card write event occurs and needs to write data, first writes the data to be written into the backup area corresponding to the memory of the mobile terminal;
- the third write control module and the mobile terminal detect whether the human-machine interaction task is being executed. When it is detected that the human-computer interaction task is being executed, the control writes the data to be written into the SIM card; when detecting that no human-computer interaction task is in the Execution then controls to wait for a predetermined time until the human-computer interaction task is executed to control the data to be written into the SIM card.
- the mobile terminal wherein the data includes phone book data, short message data, SIM card number data, and IMSI number data;
- the human-computer interaction task includes: a touch screen operation task, and a key operation task.
- the mobile terminal, wherein the first write control module comprises:
- the boot control unit is used to control the booting of the booting, and the main module of the control system is initialized;
- a detecting and comparing unit configured to: when detecting that a SIM card is inserted into the mobile terminal, read data of the SIM card, and compare the data of the read SIM card with the current information stored in the backup area of the mobile terminal;
- a determining and controlling unit configured to determine whether data currently reading the SIM card is the same as current information stored by the mobile terminal, and if not, controlling to write data of the currently read SIM card to a backup area corresponding to the mobile terminal memory In storage, when it is time, control enters the normal operation flow.
- the mobile terminal, wherein the third write control module comprises:
- the detecting unit is configured to detect whether the human-computer interaction task is being executed, and when it is, the control writes the data to be written into the SIM card, and when not, the control waits for a predetermined time.
- the method for preventing hot-plugging SIM card burning based on the mobile terminal and the mobile terminal add a new function to the mobile terminal: when the SIM card is hot-plugged, delaying writing data can effectively avoid the direction When the SIM card writes data, the SIM card is damaged due to the removal of the SIM card. If it is detected that the man-machine exchange task is being executed, indicating that the user is busy operating the mobile phone, the SIM card should not be hot-swapped, so it is safe to write data to the SIM card at this time.
- the invention is simple in operation, easy to implement, and convenient for the user.
- FIG. 1 is a flow chart of a preferred embodiment of a method for preventing a hot-swappable SIM card from being burned by a mobile terminal according to the present invention.
- FIG. 2 is a specific flowchart of writing data of a SIM card to a backup area corresponding to a memory of a mobile terminal in advance according to an embodiment of the present invention.
- FIG. 3 is a specific flowchart of writing data to a SIM card according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a mobile terminal of the present invention.
- FIG. 5 is a schematic structural diagram of a first write control module of a mobile terminal according to the present invention.
- the present invention provides a method and a mobile terminal for preventing hot-swapping SIM card burning based on a mobile terminal.
- FIG. 1 is a flow chart of a preferred embodiment of a method for preventing a hot-swappable SIM card from being burned by a mobile terminal according to the present invention.
- the method for preventing a hot plug SIM card from being burned based on a mobile terminal includes the following steps:
- S110 Write the data of the SIM card into the backup area corresponding to the memory of the mobile terminal in advance.
- the user can directly use the information in the memory of the mobile terminal, and reduce the probability of reading the SIM card information.
- the information in the SIM card is no longer displayed in the menu.
- the SIM card number, IMSI number, etc. can also be copied to the memory, thereby further reducing the operation of the mobile terminal main chip to the SIM card.
- step S120 When a SIM card write event occurs and data needs to be written, first, the data to be written is written into a backup area corresponding to the memory of the mobile terminal.
- the backup area corresponding to the mobile terminal memory in the step is preferably the backup area in step S110, so that after the writing operation to the SIM card is completed, the next time the mobile terminal is started, there is no need to perform step S110.
- the backup area in the step is different from the backup area in step S110, the next time the mobile terminal is started, the operation of copying the SIM card information to the mobile terminal memory in step S110 is performed.
- the mobile terminal detects whether the human-computer interaction task is being executed. When detecting that the human-computer interaction task is executing, the control writes the data that needs to be written into the SIM card; when it is detected that no human-computer interaction task is executing, the control waits for one. The predetermined time is until the man-machine interaction task is executed to control the data to be written into the SIM card.
- the data in step S110 in the embodiment of the present invention includes phone book data, short message data, SIM card number data, and IMSI number data.
- the mobile terminal detects whether the human-machine interaction task is in execution, and specifically includes: the mobile terminal detects whether the user is operating the touch screen, and the non-hot plug SIM card interaction task such as a button.
- the predetermined time is set to 10 seconds.
- FIG. 2 is a specific embodiment of the present invention for writing data of the SIM card into the backup area corresponding to the memory of the mobile terminal. Flow chart, the specific steps are as follows.
- Step 21 The mobile terminal is powered on, and the main module of the control system is initialized.
- Step 22 When it is detected that a SIM card is inserted into the mobile terminal, the data of the SIM card is read, and the read SIM card data is compared with the current information stored in the backup area of the mobile terminal.
- Step 23 Determine whether the current read SIM card data is the same as the current information stored by the mobile terminal. If no, the control proceeds to step 24, and when yes, the control proceeds to step 25.
- Step 24 Control to write the currently read SIM card data to a backup area corresponding to the mobile terminal memory for storage.
- Step 25 Control enters the normal operation flow.
- FIG. 3 is a specific flowchart of writing data to the SIM card according to an embodiment of the present invention. The specific steps involved are as follows:
- Step 31 A SIM card write event occurs.
- Step 32 First, write the data to be written into the backup area corresponding to the memory of the mobile terminal.
- Step 33 The mobile terminal detects whether the human-computer interaction task is being executed, and when yes, the control proceeds to step 34, and when no, the control proceeds to step 35.
- Step 34 Control write the data to be written into the SIM card.
- Step 35 Wait for a predetermined time, and return to step 33.
- the method for preventing hot-swapping SIM card burning based on the mobile terminal adds a new function to the mobile terminal: when the SIM card is hot-plugged, delaying writing data can effectively avoid writing data. When the card is pulled out, the SIM card is damaged. At the same time, the information of the SIM card is synchronously stored in the backup area corresponding to the memory of the mobile terminal by starting, It is beneficial to reduce the operation of the SIM card of the mobile terminal main chip.
- FIG. 4 is a schematic structural diagram of a mobile terminal according to a preferred embodiment of the present invention, including:
- the first write control module 410 is configured to write the data of the SIM card into the backup area corresponding to the memory of the mobile terminal in advance; for the specific implementation, refer to the foregoing embodiment and FIG. 1 and FIG.
- the second write control module 420 first writes the data to be written into the backup area corresponding to the memory of the mobile terminal when the SIM card write event needs to be written.
- FIG. 1 and Figure 3 shows.
- the third write control module 430 the mobile terminal detects whether the human-computer interaction task is executing, and when detecting that the human-computer interaction task is executing, the control writes the data to be written into the SIM card; when no human-computer interaction task is detected At the time of execution, the control waits for a predetermined time until the man-machine interaction task is executed to control the data to be written into the SIM card.
- the control waits for a predetermined time until the man-machine interaction task is executed to control the data to be written into the SIM card.
- the data written by the first write control module 410 in the backup area corresponding to the mobile terminal memory includes phone book data, short message data, SIM card number data, and IMSI number data.
- the human-computer interaction task detected by the third write control module 430 includes: a touch screen operation task, a key operation task, and the like, and a human-computer interaction task of the non-hot plug SIM card.
- the first write control module 410 specifically includes:
- the power-on control unit 411 is configured to control startup, and the control system main module is initialized.
- the detecting and comparing unit 412 is configured to: when detecting that a SIM card is inserted into the mobile terminal, read data of the SIM card, and compare the data of the read SIM card with the current information stored in the backup area of the mobile terminal memory .
- the determining and controlling unit 413 is configured to determine whether the data of the current read SIM card is the same as the current information stored by the mobile terminal, and if not, control to write the data of the currently read SIM card to the backup corresponding to the mobile terminal memory. The area is stored, and when it is, the control enters the normal operation flow.
- the third write control module 430 specifically includes:
- the detecting unit is configured to detect whether the human-computer interaction task is being executed, and control to write the data to be written into the SIM card when detecting that the human-computer interaction task is executed, otherwise the control waits for a predetermined time.
- the method for preventing hot-swap SIM card burning based on a mobile terminal and the mobile terminal add a new function to the mobile terminal: when the SIM card is hot-plugged, the data is delayed to be written. It can effectively avoid the damage of the SIM card caused by the card being pulled out when writing data. If it is detected that the human-machine exchange task is being executed, indicating that the user is busy operating the mobile phone, the SIM card should not be hot-swapped, so it is safe to write data to the SIM card at this time.
- the invention is simple in operation, easy to implement, and convenient for the user.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Telephone Function (AREA)
Description
本发明涉及移动终端领域,尤其涉及的是一种基于移动终端防止热插拔SIM卡烧卡的方法及移动终端。
随着移动通信技术的发展和人们生活水平的不断提高,各种移动终端如手机的使用越来越普及,手机已经成为人生活中不可缺少的通信工具。
当前,手机外观正在往轻薄方向发展,越来越薄的手机设计对传统的SIM卡也提出了更高的要求,为了把手机做的更薄,必须把SIM卡座从电池下面移到手机侧边,这就导致用户可以在手机正常开机状况下把SIM卡拔出。但是,如果此时有数据正在被写入SIM卡,这种带电热插拔SIM卡的行为可能会导致SIM卡损坏,给用户造成损失。
因此,现有技术还有待于改进和发展。
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种基于移动终端防止热插拔SIM卡烧卡的方法及移动终端,提出一种热插拔SIM卡时延迟写入的方法,能有效避免由于写入数据时拔出卡导致的SIM卡损坏的情况出现,为用户提供了方便。
一种基于移动终端防止热插拔SIM卡烧卡的方法,其中,包括步骤:
A、预先将SIM卡的数据写入移动终端存储器对应的备份区中;
B、当有SIM卡写事件发生需要写数据时,首先将需要写的数据写入移动终端存储器对应的备份区中;
C、移动终端检测是否有人机交互任务在执行,当检测到有人机交互任务在执行,则控制将需要写的数据写入SIM卡中;当检测到没有人机交互任务在执行则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入SIM卡中。
所述基于移动终端防止热插拔SIM卡烧卡的方法,其中,所述步骤C中的移动终端检测是否有人机交互任务在执行包括:移动终端检测是否有用户正在操作触摸屏,按键。
所述基于移动终端防止热插拔SIM卡烧卡的方法,其中,所述步骤A具体包括:
A1、移动终端开机启动,控制系统主模块初始化;
A2、当检测到有SIM卡插入到移动终端,读取SIM卡的数据,并将读取SIM卡的数据与所述移动终端存储器备份区中存储的当前信息进行比对;
A3、判断当前读取SIM卡的数据与所述移动终端存储的当前信息是否相同,当否时控制进入步骤A4,当是时控制进入步骤A5;
A4、控制将当前读取SIM卡的数据写入到所述移动终端存储器对应的备份区中存储;
A5、控制进入正常操作流程。
所述基于移动终端防止热插拔SIM卡烧卡的方法,其中,所述步骤C具体包括:
C1、移动终端检测是否有人机交互任务在执行,当是时控制进入步骤C2,当否时控制进入步骤C3;
C2、控制将需要写的数据写入SIM卡中;
C3、等待一预定时间,返回步骤C1。
所述基于移动终端防止热插拔SIM卡烧卡的方法,其中,所述数据包括电话本数据、短消息数据、SIM卡卡号数据,IMSI号数据。
所述基于移动终端防止热插拔SIM卡烧卡的方法,其中,所述预定时间为10秒。
一种采用上述所述防止热插拔SIM卡烧卡的方法的移动终端,其中,包括:
第一写入控制模块,用于预先将SIM卡的数据写入移动终端存储器对应的备份区中;
第二写入控制模块、当有SIM卡写事件发生需要写数据时,首先将需要写的数据写入移动终端存储器对应的备份区中;
第三写入控制模块、移动终端检测是否有人机交互任务在执行,当检测到有人机交互任务在执行,则控制将需要写的数据写入SIM卡中;当检测到没有人机交互任务在执行则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入SIM卡中。
所述的移动终端,其中,所述数据包括电话本数据、短消息数据、SIM卡卡号数据,IMSI号数据;
所述人机交互任务包括:触摸屏操作任务,按键操作任务。
所述的移动终端,其中,所述第一写入控制模块包括:
开机控制单元,用于控制开机启动,控制系统主模块初始化;
检测与比较单元,用于当检测到有SIM卡插入到移动终端,读取SIM卡的数据,并将读取SIM卡的数据与所述移动终端存储器备份区中存储的当前信息进行比对;
判断与控制单元,用于判断当前读取SIM卡的数据与所述移动终端存储的当前信息是否相同,当否时控制将当前读取SIM卡的数据写入到所述移动终端存储器对应的备份区中存储,当是时控制进入正常操作流程。
所述的移动终端,其中,所述第三写入控制模块包括:
检测单元,用于检测是否有人机交互任务在执行,当是时控制将需要写的数据写入SIM卡中,当否时控制等待一预定时间。
本发明所提供的基于移动终端防止热插拔SIM卡烧卡的方法及移动终端,其使移动终端增加了新功能:当在热插拔SIM卡时,延迟写入数据,能有效避免在向SIM卡写入数据时由于拔出SIM卡导致的SIM卡损坏的情况出现。而如果检测到有人机交换任务在执行,说明用户正忙于操作手机,应该不会去热插拔SIM卡,所以这个时候对SIM卡做写入数据操作是安全的。本发明操作简单,实现容易,为用户提供了方便。
图1是本发明基于移动终端防止热插拔SIM卡烧卡的方法的较佳实施例的流程图。
图2是本发明实施例的预先将SIM卡的数据写入移动终端存储器对应的备份区的具体流程图。
图3是本发明实施例的向SIM卡的写入数据的具体流程图。
图4是本发明的一种移动终端的结构示意图。
图5是本发明的一种移动终端的第一写入控制模块的结构示意图。
本发明提供了一种基于移动终端防止热插拔SIM卡烧卡的方法及移动终端,为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图1,图1是本发明基于移动终端防止热插拔SIM卡烧卡的方法的较佳实施例的流程图。如图1所示,所述基于移动终端防止热插拔SIM卡烧卡的方法,包括以下步骤:
S110、预先将SIM卡的数据写入移动终端存储器对应的备份区中。通过该步骤可以让用户直接使用移动终端存储器内的信息,减少读取SIM卡信息的几率,在复制信息到移动终端存储器后,菜单里不再显示SIM卡内信息。同时也可以把SIM卡卡号,IMSI号等复制到存储器,进一步减少移动终端主芯片对SIM卡的操作。
S120、当有SIM卡写事件发生需要写数据时,首先将需要写的数据写入移动终端存储器对应的备份区中。该步骤中的所述移动终端存储器对应的备份区优选为步骤S110中的所述备份区,这样在完成对SIM卡的写操作之后,再下一次启动移动终端时,就无需再进行步骤S110中所述的复制SIM卡信息到移动终端存储器的操作。当然,若该步骤中的所述备份区与步骤S110中的所述备份区不相同,则在下一次启动移动终端时,需进行步骤S110中的复制SIM卡信息到移动终端存储器的操作。
S130、移动终端检测是否有人机交互任务在执行,当检测到有人机交互任务在执行,则控制将需要写的数据写入SIM卡中;当检测到没有人机交互任务在执行则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入SIM卡中。
较佳的,本发明实施例中步骤S110中所述数据包括电话本数据、短消息数据、SIM卡卡号数据,IMSI号数据。
较佳的,本实施例中步骤S130中所述移动终端检测是否有人机交互任务在执行具体包括:移动终端检测是否有用户正在操作触摸屏,按键等非热插拔SIM卡的交互任务。将所述预定时间设置为10秒。
进一步的,下面举具体的实施过程对本发明上述步骤S110作进一步的解释,如图2所示,图2为本发明实施例的预先将SIM卡的数据写入移动终端存储器对应的备份区的具体流程图,具体步骤如下。
步骤21、移动终端开机启动,控制系统主模块初始化。
步骤22、当检测到有SIM卡插入到移动终端时,读取SIM卡的数据,并将读取的SIM卡数据与所述移动终端存储器备份区中存储的当前信息进行比对。
步骤23、判断当前读取SIM卡数据与所述移动终端存储的当前信息是否相同,当否时控制进入步骤24,当是时控制进入步骤25。
步骤24、控制将当前读取的SIM卡数据写入到所述移动终端存储器对应的备份区中存储。
步骤25、控制进入正常操作流程。
进一步的,下面举具体的实施过程对本发明向SIM卡的写入数据操作作进一步的说明,如图3所示,图3为本发明实施例的向SIM卡的写入数据的具体流程图,具体包括的步骤如下:
步骤31、有SIM卡写事件发生。
步骤32、先将需要写的数据写入移动终端存储器对应的备份区中。
步骤33、移动终端检测是否有人机交互任务在执行,当是时控制进入步骤34,当否时控制进入步骤35。
步骤34、控制将需要写的数据写入SIM卡中。
步骤35、等待一预定时间,返回步骤33。
通过本发明上述实施例的基于移动终端防止热插拔SIM卡烧卡的方法,使移动终端增加了新功能:当在热插拔SIM卡时,延迟写入数据,能有效避免由于写入数据时拔出卡导致的SIM卡损坏的情况出现。同时,通过启动时将SIM卡的信息同步存储于移动终端存储器对应的备份区中,
有利于减少移动终端主芯片对SIM卡的操作。
本发明还提出了一种移动终端,如图4所示,图4为本发明较佳实施例的一种移动终端的结构示意图,包括:
第一写入控制模块410,用于预先将SIM卡的数据写入移动终端存储器对应的备份区中;具体实施情况参见上述实施例所述及图1和图2所示。
第二写入控制模块420、当有SIM卡写事件发生需要写数据时,首先将需要写的数据写入移动终端存储器对应的备份区中;具体实施情况参见上述实施例所述及图1和图3所示。
第三写入控制模块430、移动终端检测是否有人机交互任务在执行,当检测到有人机交互任务在执行,则控制将需要写的数据写入SIM卡中;当检测到没有人机交互任务在执行则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入SIM卡中。具体实施情况参见上述实施例所述及图1和图3所示。
较佳的,所述第一写入控制模块410写入移动终端存储器对应的备份区中的所述数据包括电话本数据、短消息数据、SIM卡卡号数据,IMSI号数据。
较佳的,所述第三写入控制模块430检测的人机交互任务包括:触摸屏操作任务,按键操作任务等非热插拔SIM卡的人机交互任务。
进一步的,如图5所示,所述第一写入控制模块410具体包括:
开机控制单元411,用于控制开机启动,控制系统主模块初始化。
检测与比较单元412,用于当检测到有SIM卡插入到移动终端,读取SIM卡的数据,并将读取SIM卡的数据与所述移动终端存储器备份区中存储的当前信息进行比对。
判断与控制单元413,用于判断当前读取SIM卡的数据与所述移动终端存储的当前信息是否相同,当否时控制将当前读取SIM卡的数据写入到所述移动终端存储器对应的备份区中存储,当是时控制进入正常操作流程。
进一步的,所述第三写入控制模块430具体还包括:
检测单元,用于检测是否有人机交互任务在执行,当检测到有人机交互任务在执行时控制将需要写的数据写入SIM卡中,否则控制等待一预定时间。
综上所述,本发明所提供的基于移动终端防止热插拔SIM卡烧卡的方法及移动终端,其使移动终端增加了新功能:当在热插拔SIM卡时,延迟写入数据,能有效避免由于写入数据时拔出卡导致的SIM卡损坏的情况出现。而如果检测到有人机交换任务在执行,说明用户正忙于操作手机,应该不会去热插拔SIM卡,所以这个时候对SIM卡做操作写入数据时安全的。本发明操作简单,实现容易,为用户提供了方便。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (19)
- 一种基于移动终端防止热插拔用户身份识别模块烧卡的方法,包括步骤:在检测到有用户身份识别模块插入到移动终端时,读取用户身份识别模块的数据,并将所述用户身份识别模块的数据与所述移动终端存储器备份区中存储的当前信息进行比对,以判断所述用户身份识别模块的数据与所述移动终端存储的当前信息是否相同;若所述用户身份识别模块的数据与所述移动终端存储的当前信息不相同,则将所述用户身份识别模块的数据写入移动终端存储器对应的备份区中;当有用户身份识别模块写事件发生需要写数据时,首先将需要写的数据写入所述移动终端存储器对应的备份区中;通过检测是否有用户正在操作触摸屏、按键,以端检测是否有人机交互任务在执行;当检测到有人机交互任务在执行,则控制将需要写的数据写入用户身份识别模块中;当检测到没有人机交互任务在执行时,控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入用户身份识别模块。
- 根据权利要求1所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中所述数据包括电话本数据、短消息数据、用户身份识别模块卡号数据,国际移动用户识别码数据。
- 根据权利要求1所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中所述预定时间为10秒。
- 一种基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中包括步骤:预先将用户身份识别模块的数据写入移动终端存储器对应的备份区中;当有用户身份识别模块写事件发生需要写数据时,首先将需要写的数据写入移动终端存储器对应的备份区中;移动终端检测是否有人机交互任务在执行,当检测到有人机交互任务在执行,则控制将需要写的数据写入用户身份识别模块中;当检测到没有人机交互任务在执行则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入用户身份识别模块中。
- 根据权利要求4所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中移动终端检测是否有人机交互任务在执行包括:移动终端检测是否有用户正在操作触摸屏,按键。
- 根据权利要求4所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中预先将用户身份识别模块的数据写入移动终端存储器对应的备份区的步骤包括:在移动终端开机启动时,控制系统主模块初始化;当检测到有用户身份识别模块插入到移动终端,读取用户身份识别模块的数据,并将读取用户身份识别模块的数据与所述移动终端存储器备份区中存储的当前信息进行比对,以判断当前读取用户身份识别模块的数据与所述移动终端存储的当前信息是否相同;若当前读取用户身份识别模块的数据与所述移动终端存储的当前信息不相同,控制将当前读取用户身份识别模块的数据写入到所述移动终端存储器对应的备份区中存储;若当前读取用户身份识别模块的数据与所述移动终端存储的当前信息相同,控制进入正常操作流程。
- 根据权利要求4所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中检测是否有人机交互任务在执行的步骤包括:检测是否有人机交互任务在执行,若检测到有人机交互任务在执行,控制将需要写的数据写入用户身份识别模块中;若检测到没有人机交互任务在执行,等待一预定时间,并继续进行检测是否有人机交互任务在执行的步骤。
- 根据权利要求4所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中所述数据包括电话本数据、短消息数据、用户身份识别模块卡号数据,国际移动用户识别码数据。
- 根据权利要求4所述基于移动终端防止热插拔用户身份识别模块烧卡的方法,其中所述预定时间为10秒。
- 一种移动终端,包括:第一写入控制模块,用于预先将用户身份识别模块的数据写入移动终端存储器对应的备份区中;第二写入控制模块,用于在有用户身份识别模块写事件发生需要写数据时,将需要写的数据写入移动终端存储器对应的备份区中;第三写入控制模块,用于在检测是否有人机交互任务在执行,当检测到有人机交互任务在执行,则控制将需要写的数据写入用户身份识别模块中;当检测到没有人机交互任务在执行则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入用户身份识别模块中。
- 根据权利要求10所述的移动终端,其中所述数据包括电话本数据、短消息数据、用户身份识别模块卡号数据,国际移动用户识别码数据;所述人机交互任务包括:触摸屏操作任务,按键操作任务。
- 根据权利要求10所述的移动终端,其中所述第一写入控制模块包括:开机控制单元,用于控制开机启动,控制系统主模块初始化;检测与比较单元,用于检测到有用户身份识别模块插入到移动终端,读取所述用户身份识别模块的数据,并将所述用户身份识别模块的数据与所述移动终端存储器备份区中存储的当前信息进行比对;判断与控制单元,用于判断所述用户身份识别模块的数据与所述移动终端存储的当前信息是否相同,若所述用户身份识别模块的数据与所述移动终端存储的当前信息不相同,则控制将当前读取用户身份识别模块的数据写入到所述移动终端存储器对应的备份区中存储,若所述用户身份识别模块的数据与所述移动终端存储的当前信息相同,则控制进入正常操作流程。
- 根据权利要求10所述的移动终端,其中所述第三写入控制模块包括:检测单元,用于检测是否有人机交互任务在执行,当是时控制将需要写的数据写入用户身份识别模块中,当否时控制等待一预定时间。
- 一种存储介质,存储有处理器可执行指令,其中该处理器可执行指令用于让处理器完成以下操作:预先将用户身份识别模块的数据写入移动终端存储器对应的备份区中;当有用户身份识别模块写事件发生需要写数据时,将需要写的数据写入移动终端存储器对应的备份区中;移动终端检测是否有人机交互任务在执行;当检测到有人机交互任务在执行,控制将需要写的数据写入用户身份识别模块中;当检测到没有人机交互任务在执行,则控制等待一预定时间,直到有人机交互任务在执行时再控制将需要写的数据写入用户身份识别模块中。
- 如权利要求14所述的存储介质,其中所述存储介质内存储的处理器可执行指令,还用于让处理器完成以下操作:检测是否有用户正在操作触摸屏、按键,以检测是否有人机交互任务在执行。
- 如权利要求14所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在让处理器完成将用户身份识别模块的数据写入移动终端存储器对应的备份区中的操作之前,还用于让处理器完成以下操作:在移动终端开机启动时,控制系统主模块初始化;当检测到有用户身份识别模块插入到移动终端,读取用户身份识别模块的数据,并将读取用户身份识别模块的数据与所述移动终端存储器备份区中存储的当前信息进行比对,以判断当前读取用户身份识别模块的数据与所述移动终端存储的当前信息是否相同;若当前读取用户身份识别模块的数据与所述移动终端存储的当前信息不相同,控制将当前读取用户身份识别模块的数据写入到所述移动终端存储器对应的备份区中存储;若当前读取用户身份识别模块的数据与所述移动终端存储的当前信息相同,控制进入正常操作流程。
- 如权利要求14所述的存储介质,其中所述存储介质内存储的处理器可执行指令,在让处理器检测是否有人机交互任务在执行时,让处理器完成以下操作:检测是否有人机交互任务在执行,若检测到有人机交互任务在执行,控制将需要写的数据写入用户身份识别模块中;若检测到没有人机交互任务在执行,等待一预定时间,并继续进行检测是否有人机交互任务在执行的步骤。
- 如权利要求14所述的存储介质,其中所述位置信息包含经纬度信息。所述数据包括电话本数据、短消息数据、用户身份识别模块卡号数据,国际移动用户识别码数据。
- 根据权利要求14所述存储介质,其中所述预定时间为10秒。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210267420.7A CN102831023B (zh) | 2012-07-31 | 2012-07-31 | 基于移动终端防止热插拔sim卡烧卡的方法及移动终端 |
| CN201210267420.7 | 2012-07-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014019422A1 true WO2014019422A1 (zh) | 2014-02-06 |
Family
ID=47334172
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/077878 Ceased WO2014019422A1 (zh) | 2012-07-31 | 2013-06-25 | 基于移动终端防止热插拔sim卡烧卡的方法及移动终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102831023B (zh) |
| WO (1) | WO2014019422A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102831023B (zh) * | 2012-07-31 | 2015-08-19 | 惠州Tcl移动通信有限公司 | 基于移动终端防止热插拔sim卡烧卡的方法及移动终端 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101291497A (zh) * | 2008-05-30 | 2008-10-22 | 深圳华为通信技术有限公司 | 用户识别卡初始化方法、感知用户识别卡动作方法及终端 |
| US7856231B2 (en) * | 2005-10-26 | 2010-12-21 | Lg Electronics, Inc. | Mobile communication terminal having a radio frequency calibration data recovering function and a method of backing up and restoring calibration data |
| CN102420882A (zh) * | 2010-09-27 | 2012-04-18 | 比亚迪股份有限公司 | 一种移动终端及其防止用户识别卡热插拔的装置 |
| CN102609332A (zh) * | 2011-01-19 | 2012-07-25 | 上海华虹集成电路有限责任公司 | 智能ic卡数据防掉电保护方法 |
| CN102831023A (zh) * | 2012-07-31 | 2012-12-19 | 惠州Tcl移动通信有限公司 | 基于移动终端防止热插拔sim卡烧卡的方法及移动终端 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU2002238720B2 (en) * | 2001-03-07 | 2005-01-27 | Matchtip Limited | Data Storage System |
| CN101626571A (zh) * | 2009-08-05 | 2010-01-13 | 中兴通讯股份有限公司 | 一种用户识别卡的卡信息备份方法及其系统 |
| CN101896007B (zh) * | 2010-07-30 | 2014-07-09 | 华为终端有限公司 | 移动台和存储方法 |
| CN102421174A (zh) * | 2011-12-09 | 2012-04-18 | 宇龙计算机通信科技(深圳)有限公司 | 移动终端更换用户识别卡的方法及移动终端 |
| CN102421117A (zh) * | 2011-12-15 | 2012-04-18 | 广东步步高电子工业有限公司 | 一种用户识别模块的检测方法 |
-
2012
- 2012-07-31 CN CN201210267420.7A patent/CN102831023B/zh not_active Expired - Fee Related
-
2013
- 2013-06-25 WO PCT/CN2013/077878 patent/WO2014019422A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7856231B2 (en) * | 2005-10-26 | 2010-12-21 | Lg Electronics, Inc. | Mobile communication terminal having a radio frequency calibration data recovering function and a method of backing up and restoring calibration data |
| CN101291497A (zh) * | 2008-05-30 | 2008-10-22 | 深圳华为通信技术有限公司 | 用户识别卡初始化方法、感知用户识别卡动作方法及终端 |
| CN102420882A (zh) * | 2010-09-27 | 2012-04-18 | 比亚迪股份有限公司 | 一种移动终端及其防止用户识别卡热插拔的装置 |
| CN102609332A (zh) * | 2011-01-19 | 2012-07-25 | 上海华虹集成电路有限责任公司 | 智能ic卡数据防掉电保护方法 |
| CN102831023A (zh) * | 2012-07-31 | 2012-12-19 | 惠州Tcl移动通信有限公司 | 基于移动终端防止热插拔sim卡烧卡的方法及移动终端 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102831023B (zh) | 2015-08-19 |
| CN102831023A (zh) | 2012-12-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014030934A1 (en) | Method for operation of pen function and electronic device supporting the same | |
| WO2017116054A1 (en) | Method for controlling content and electronic device thereof | |
| EP3811191A1 (en) | Electronic device for displaying list of executable applications on split screen and operating method thereof | |
| WO2016036132A1 (en) | Method of processing content and electronic device thereof | |
| CN101615152B (zh) | 存储卡热插拔故障的检测方法和装置 | |
| WO2018066964A1 (ko) | 양면 디스플레이를 갖는 전자 장치 및 어플리케이션 제어 방법 | |
| WO2013131396A1 (zh) | 应用程序功能菜单的定制方法及装置 | |
| WO2015005628A1 (en) | Portable device for providing combined ui component and method of controlling the same | |
| WO2017209508A1 (ko) | 전자 장치 및 전자 장치의 파일 데이터 저널링 방법 | |
| EP3455739A1 (en) | Method of displaying content and electronic device adapted to the same | |
| CN104407799A (zh) | 一种在视频播放时避免触摸屏误操作的方法及系统 | |
| WO2018036329A1 (zh) | 一种基于移动终端的剪贴板控制方法及系统 | |
| WO2014029170A1 (zh) | 电容和电磁双模触摸屏的触控方法及手持式电子设备 | |
| WO2018082483A1 (zh) | 一种移动终端的应用程序通知处理方法、系统及移动终端 | |
| CN103049405A (zh) | 一种安卓设备文件的管理方法和系统 | |
| WO2015072803A1 (ko) | 단말기 및 단말기의 제어 방법 | |
| WO2017052216A1 (en) | Method for providing events corresponding to touch attributes and electronic device thereof | |
| WO2020116960A1 (en) | Electronic device for generating video comprising character and method thereof | |
| CN112148163A (zh) | 屏幕录制方法、装置及电子设备 | |
| WO2017023040A1 (en) | Screen controlling method and electronic device for supporting the same | |
| TWI430138B (zh) | 電腦的按鍵功能顯示方法,應用程式及電腦可讀取記錄媒體 | |
| WO2018080258A2 (en) | Contents securing method and electronic device supporting the same | |
| WO2013155963A1 (zh) | 基于emmc芯片的移动终端安全信息存储方法及系统 | |
| CN104731593A (zh) | 一种信息处理方法及电子设备 | |
| CN103309834A (zh) | 一种控制方法、控制装置和电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13824944 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 13824944 Country of ref document: EP Kind code of ref document: A1 |