CN106358179A - SIM (Subscriber Identification Module) card switching circuit and SIM card switching method - Google Patents
SIM (Subscriber Identification Module) card switching circuit and SIM card switching method Download PDFInfo
- Publication number
- CN106358179A CN106358179A CN201610882204.1A CN201610882204A CN106358179A CN 106358179 A CN106358179 A CN 106358179A CN 201610882204 A CN201610882204 A CN 201610882204A CN 106358179 A CN106358179 A CN 106358179A
- Authority
- CN
- China
- Prior art keywords
- output interface
- interface
- sim card
- chip
- control signal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
本发明提供了一种SIM卡的切换电路及SIM卡的切换方法,其中,SIM卡的切换电路应用于智能终端,智能终端具有多张SIM卡,多张SIM卡具有NFC功能,其特征在于,切换电路包括:电源输入模块、按键输入模块、主芯片、NFC芯片、控制信号模块以及开关芯片;所述NFC芯片包括中断控制接口;开关芯片包括:电源输入接口、按键输入接口、第一输出接口、第二输出接口、控制信号输入接口;电源输入连接开关芯片的电源输入接口,按键输入模块连接按键输入接口,中断控制接口连接第一输出接口,主芯片连接第二输出接口,控制信号模块连接控制信号输入接口。通过本发明提供的SIM卡的切换电路,能够在关机状态下进行SIM卡的切换。
The present invention provides a SIM card switching circuit and a SIM card switching method, wherein the SIM card switching circuit is applied to an intelligent terminal, the intelligent terminal has multiple SIM cards, and the multiple SIM cards have NFC functions, and the features are: The switching circuit includes: a power input module, a button input module, a main chip, an NFC chip, a control signal module, and a switch chip; the NFC chip includes an interrupt control interface; the switch chip includes: a power input interface, a button input interface, and a first output interface , the second output interface, the control signal input interface; the power input is connected to the power input interface of the switch chip, the key input module is connected to the key input interface, the interrupt control interface is connected to the first output interface, the main chip is connected to the second output interface, and the control signal module is connected to Control signal input interface. Through the switching circuit of the SIM card provided by the invention, the switching of the SIM card can be performed in the shutdown state.
Description
技术领域technical field
本发明涉及移动通信领域,更具体地,涉及一种客户识别模块SIM卡的切换电路和切换方法。The invention relates to the field of mobile communication, more specifically, to a switching circuit and a switching method of a customer identification module SIM card.
背景技术Background technique
目前,具有近场通信技术(Near Field Communication,NFC)的智能终端越来越多,NFC功能分为卡模拟模式,读卡器模式,点对点模式。At present, there are more and more smart terminals with Near Field Communication (NFC) technology, and NFC functions are divided into card simulation mode, card reader mode, and peer-to-peer mode.
1、卡模拟模式(Card emulation):此模式时手机相当于一张采用射频识别(RadioFrequency Identification,RFID)技术的集成电路(Integrated Circuit,IC)卡。可以替代大量的IC卡,包括信用卡、商场购物卡、公交卡、地铁卡、门禁管制,车票,门票等等。1. Card emulation mode: In this mode, the mobile phone is equivalent to an integrated circuit (IC) card using radio frequency identification (Radio Frequency Identification, RFID) technology. It can replace a large number of IC cards, including credit cards, shopping mall shopping cards, bus cards, subway cards, access control, bus tickets, tickets and so on.
2、点对点模式(P2P mode):此模式和红外线差不多,可用于数据交换,只是传输距离较短,传输创建速度较快,传输速度也快些,功耗低。将两个具备NFC功能的设备链接,能实现数据点对点传输,如下载音乐、交换图片或者同步设备地址薄。因此通过NFC,多个设备如数位相机、掌上电脑、计算机和智能终端之间都可以交换资料或者服务。2. Peer-to-peer mode (P2P mode): This mode is similar to infrared, and can be used for data exchange, but the transmission distance is shorter, the transmission creation speed is faster, the transmission speed is faster, and the power consumption is low. Linking two NFC-enabled devices can realize point-to-point data transmission, such as downloading music, exchanging pictures or synchronizing device address books. Therefore, through NFC, multiple devices such as digital cameras, handheld computers, computers and smart terminals can exchange data or services.
3、读卡器模式(Reader/writer mode):作为非接触读卡器使用,比如从海报或者展览信息电子标签上读取相关信息。3. Reader/writer mode: Used as a non-contact card reader, such as reading relevant information from posters or electronic tags for exhibition information.
智能终端NFC在亮屏状态下支持上述三种功能,但是在灭屏或者关机状态只支持卡模拟模式。Smart terminal NFC supports the above three functions when the screen is on, but only supports card emulation mode when the screen is off or powered off.
目前移动公司已经推出了带有NFC功能的SIM(Subscriber IdentificationModule,客户识别模块)卡。本发明提到的SIM卡指的都是带有NFC功能的特殊卡,目前应用较多的就是利用SIM卡代替公交卡。插入带有公交卡功能的SIM卡的智能终端就可实现公交卡功能,并且智能终端在开关机状态下都可刷卡。当插入的两张卡都有NFC功能,且有一张卡出现功能异常(包括不能刷卡或者应用时余额不足)时就可以切换到另外一张卡支付。At present, mobile companies have launched SIM (Subscriber Identification Module, customer identification module) cards with NFC functions. The SIM card mentioned in the present invention refers to a special card with NFC function, and the current application is more to utilize the SIM card to replace the bus card. The bus card function can be realized by inserting a smart terminal with a SIM card with bus card function, and the smart terminal can swipe the card when it is turned on or off. When the two inserted cards have NFC function, and one card has abnormal function (including not being able to swipe the card or the balance is insufficient in the application), you can switch to another card for payment.
现有的智能终端已经有能够支持双SIM卡的方案,但是目前双卡方案只支持在开机状态进行SIM卡切换功能,关机后只能默认为关机前选择的SIM卡,关机后就不能再对SIM卡进行选择和切换,严重限制了用户选择。Existing smart terminals already have a solution that can support dual SIM cards, but the current dual-card solution only supports the SIM card switching function in the power-on state. After the shutdown, it can only default to the SIM card selected before shutdown. SIM cards are selected and switched, severely limiting user choice.
发明内容Contents of the invention
本发明提供了一种SIM卡的切换电路和切换方法,以解决现有技术中存在的,智能终端关机后就不能再对SIM卡进行切换的问题。The invention provides a SIM card switching circuit and switching method to solve the problem in the prior art that the SIM card cannot be switched after the smart terminal is turned off.
为了解决上述问题,本发明公开了一种SIM卡的切换电路,应用于智能终端,所述智能终端具有多张SIM卡,所述多张SIM卡具有NFC功能,所述切换电路包括:电源输入模块、按键输入模块、主芯片、NFC芯片、控制信号模块以及开关芯片;所述NFC芯片包括中断控制接口;所述开关芯片包括:电源输入接口、按键输入接口、第一输出接口、第二输出接口、控制信号输入接口;所述电源输入连接所述开关芯片的所述电源输入接口,所述按键输入模块连接所述按键输入接口,所述中断控制接口连接所述第一输出接口,所述主芯片连接所述第二输出接口,所述控制信号模块连接所述控制信号输入接口。In order to solve the above problems, the present invention discloses a switching circuit of a SIM card, which is applied to an intelligent terminal. The intelligent terminal has multiple SIM cards, and the multiple SIM cards have NFC functions. The switching circuit includes: power input Module, button input module, main chip, NFC chip, control signal module and switch chip; The NFC chip includes an interrupt control interface; The switch chip includes: a power input interface, a button input interface, a first output interface, a second output interface, control signal input interface; the power input is connected to the power input interface of the switch chip, the button input module is connected to the button input interface, the interrupt control interface is connected to the first output interface, and the The main chip is connected to the second output interface, and the control signal module is connected to the control signal input interface.
为了解决上述问题,本发明还公开了一种客户识别模块SIM卡的切换方法,应用于智能终端的SIM卡切换电路中,所述智能终端具有多张SIM卡,所述多张SIM卡具有NFC功能,所述方法包括:所述开关芯片的控制信号输入接口接收控制信号;所述开关芯片依据所述控制信号确定所述开关芯片输出接口的工作状态;所述开关芯片的按键输入接口,接收由外部按键触发的按键信号;依据所述输出接口的工作状态,将所述按键信号输出至对应芯片;当NFC芯片收到所述按键信号时,对SIM卡的工作模式进行切换。In order to solve the above problems, the present invention also discloses a method for switching SIM cards of customer identification modules, which is applied in the SIM card switching circuit of intelligent terminals, and the intelligent terminals have multiple SIM cards, and the multiple SIM cards have NFC Function, the method includes: the control signal input interface of the switch chip receives the control signal; the switch chip determines the working state of the switch chip output interface according to the control signal; the key input interface of the switch chip receives A key signal triggered by an external key; according to the working state of the output interface, the key signal is output to the corresponding chip; when the NFC chip receives the key signal, the working mode of the SIM card is switched.
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
本发明实施例提供的一种SIM卡的切换电路和切换方法,通过本发明实施例提供的SIM卡的切换电路,智能终端在关机状态下可以检测外部按键触发的按键信号,并通过此信号对SIM进行切换,从而在关机状态下实现对SIM卡的切换。The embodiment of the present invention provides a SIM card switching circuit and switching method. Through the SIM card switching circuit provided by the embodiment of the present invention, the smart terminal can detect the key signal triggered by the external key in the shutdown state, and use this signal to The SIM is switched, so as to realize the switching of the SIM card in the shutdown state.
附图说明Description of drawings
图1为本发明实施例一的一种SIM卡切换电路的结构示意图;FIG. 1 is a schematic structural diagram of a SIM card switching circuit according to Embodiment 1 of the present invention;
图2为本发明实施例三的一种SIM卡切换方法的步骤流程图;Fig. 2 is a flow chart of the steps of a SIM card switching method according to Embodiment 3 of the present invention;
图3为本发明实施例四的一种SIM卡切换方法的步骤流程图。FIG. 3 is a flow chart of steps of a SIM card switching method according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
实施例一Embodiment one
参照图1,示出了本发明实施例一的一种SIM卡的切换电路的结构示意图。Referring to FIG. 1 , it shows a schematic structural diagram of a switching circuit of a SIM card according to Embodiment 1 of the present invention.
本发明实施例的SIM卡的切换电路,应用于智能终端,所述智能终端具有多张SIM卡,所述多张SIM卡具有NFC功能,所述切换电路包括:The switching circuit of the SIM card in the embodiment of the present invention is applied to a smart terminal, and the smart terminal has multiple SIM cards, and the multiple SIM cards have NFC functions, and the switching circuit includes:
电源输入101、按键输入模块102、主芯片103、NFC芯片104、控制信号模块105以及开关芯片106。Power input 101 , key input module 102 , main chip 103 , NFC chip 104 , control signal module 105 and switch chip 106 .
NFC芯片104包括中断控制接口1041;开关芯片包括106:电源输入接口1061、按键输入接口1062、第一输出接口1063、第二输出接口1604、控制信号输入接口1065。The NFC chip 104 includes an interrupt control interface 1041 ; the switch chip includes 106 : a power input interface 1061 , a key input interface 1062 , a first output interface 1063 , a second output interface 1604 , and a control signal input interface 1065 .
优选地,控制信号模块包括GPIO信号接口1051,分压电阻1052。Preferably, the control signal module includes a GPIO signal interface 1051 and a voltage dividing resistor 1052 .
电源输入101连接开关芯片106的电源输入接口1061,按键输入模块102连接按键输入接口1062,中断控制接口1041连接第一输出接口1063,主芯片103连接第二输出接口1064,控制信号模块105连接控制信号输入接口1065。The power input 101 is connected to the power input interface 1061 of the switch chip 106, the key input module 102 is connected to the key input interface 1062, the interrupt control interface 1041 is connected to the first output interface 1063, the main chip 103 is connected to the second output interface 1064, and the control signal module 105 is connected to the control Signal input interface 1065 .
通过本发明实施例提供的SIM卡的切换电路,智能终端在关机状态下可以检测外部按键触发的按键信号,并通过此信号对SIM进行切换,从而在关机状态下实现对SIM卡的切换。Through the SIM card switching circuit provided by the embodiment of the present invention, the smart terminal can detect the key signal triggered by the external key in the shutdown state, and switch the SIM through this signal, thereby realizing the switching of the SIM card in the shutdown state.
实施例二Embodiment two
依然参照图1,示出了本发明实施例二的一种SIM卡的切换电路的结构示意图。Still referring to FIG. 1 , it shows a schematic structural diagram of a switching circuit of a SIM card according to Embodiment 2 of the present invention.
本发明实施例的SIM卡的切换电路,应用于智能终端,所述智能终端具有多张SIM卡,所述多张SIM卡具有NFC功能,所述切换电路包括:The switching circuit of the SIM card in the embodiment of the present invention is applied to a smart terminal, and the smart terminal has multiple SIM cards, and the multiple SIM cards have NFC functions, and the switching circuit includes:
电源输入101、按键输入模块102、主芯片103、近场通信NFC芯片104、控制信号模块105以及开关芯片106。Power input 101 , key input module 102 , main chip 103 , near field communication NFC chip 104 , control signal module 105 and switch chip 106 .
NFC芯片104包括中断控制接口1041;开关芯片包括106:电源输入接口1061、按键输入接口1062、第一输出接口1063、第二输出接口1604、控制信号输入接口1065。The NFC chip 104 includes an interrupt control interface 1041 ; the switch chip includes 106 : a power input interface 1061 , a key input interface 1062 , a first output interface 1063 , a second output interface 1604 , and a control signal input interface 1065 .
优选地,控制信号模块包括GPIO信号接口1051,分压电阻1052。Preferably, the control signal module includes a GPIO signal interface 1051 and a voltage dividing resistor 1052 .
电源输入101连接开关芯片106的电源输入接口1061,按键输入模块102连接按键输入接口1062,中断控制接口1041连接第一输出接口1063,主芯片103连接第二输出接口1064,控制信号模块105连接控制信号输入接口1065。The power input 101 is connected to the power input interface 1061 of the switch chip 106, the key input module 102 is connected to the key input interface 1062, the interrupt control interface 1041 is connected to the first output interface 1063, the main chip 103 is connected to the second output interface 1064, and the control signal module 105 is connected to the control Signal input interface 1065 .
按键输入模块102包括:外部按键1021,用于触发按键信号。The key input module 102 includes: an external key 1021 for triggering a key signal.
优选地,外部按键包括:音量加键和/或音量减键。Preferably, the external keys include: a volume up key and/or a volume down key.
控制信号模块105产生的控制信号为智能终端处理器的通用输入/输出GPIO信号,GPIO信号在开机时为高电平信号,在关机时GPIO掉电,控制信号被分压电阻1052拉至低电平信号;开关芯片106依据控制信号,选择由第一输出接口1063或第二输出接口1064作为输出接口。The control signal generated by the control signal module 105 is the general input/output GPIO signal of the intelligent terminal processor. The GPIO signal is a high-level signal when the power is turned on, and the GPIO is powered off when the power is turned off. The control signal is pulled to a low power level by the voltage dividing resistor 1052. level signal; the switch chip 106 selects the first output interface 1063 or the second output interface 1064 as the output interface according to the control signal.
智能终端处于关机状态时,控制信号输入接口1065接收低电平信号,开关芯片106选择第一输出接口1063作为输出接口;智能终端处于开机状态时,控制信号输入接口1065接收高电平信号,开关芯片106选择第二输出接口1064作为输出接口。When the smart terminal is in the power-off state, the control signal input interface 1065 receives a low-level signal, and the switch chip 106 selects the first output interface 1063 as the output interface; when the smart terminal is in the power-on state, the control signal input interface 1065 receives a high-level signal, and the switch The chip 106 selects the second output interface 1064 as the output interface.
当中断控制接口1041检测到第一输出接口1063输入的信号时,依据接收到的信号对NFC芯片进行SIM卡切换。When the interrupt control interface 1041 detects the signal input by the first output interface 1063, it performs SIM card switching on the NFC chip according to the received signal.
本发明实施例提供的一种SIM卡切换电路,除了具有实施例一中的SIM卡切换电路所具有的有益效果外,还通过终端CPU的GPIO信号,依据终端的开关机状态,控制开关芯片输出接口的开启和断开状态,从而终端能依据开关机状态将按键信号传输给不同芯片进行相应的操作。The SIM card switching circuit provided by the embodiment of the present invention, in addition to the beneficial effects of the SIM card switching circuit in Embodiment 1, also controls the output of the switching chip through the GPIO signal of the terminal CPU and according to the terminal's on-off state. The on and off state of the interface, so that the terminal can transmit the button signal to different chips for corresponding operations according to the power on and off state.
实施例三Embodiment three
参照图2,示出了本发明实施例三的一种SIM卡切换方法的流程图。Referring to FIG. 2 , it shows a flowchart of a SIM card switching method according to Embodiment 3 of the present invention.
本发明实施例的SIM卡切换方法,应用于智能终端的SIM卡切换电路中,所述智能终端具有多张SIM卡,所述多张SIM卡具有NFC功能,所述方法包括以下步骤:The SIM card switching method of the embodiment of the present invention is applied in a SIM card switching circuit of an intelligent terminal, the intelligent terminal has multiple SIM cards, and the multiple SIM cards have NFC functions, and the method includes the following steps:
步骤301:开关芯片的控制信号输入接口接收控制信号。Step 301: The control signal input interface of the switch chip receives the control signal.
在关机状态下,电源输入始终为开关芯片供电后,以使开关芯片能在关机的情况下依旧实现SIM卡切换功能。In the shutdown state, the power input always supplies power to the switch chip, so that the switch chip can still realize the SIM card switching function when the switch chip is turned off.
步骤302:开关芯片依据控制信号确定开关芯片输出接口的工作状态。Step 302: The switch chip determines the working state of the output interface of the switch chip according to the control signal.
其中,控制信号为终端处理器的GPIO(General Purpose Input Output,通用输入/输出)信号。Wherein, the control signal is a GPIO (General Purpose Input Output, general purpose input/output) signal of the terminal processor.
智能终端处于开机状态时,GPIO信号为高电平信号,第一输出接口断开,第二输出接口输出按键信号输入至主芯片;智能终端处于关机状态时,GPIO信号为低电平信号,第一输出接口开启,第二输出接口断开;其中,第一输出接口用于输出按键信号至NFC芯片中断控制接口。When the smart terminal is in the power-on state, the GPIO signal is a high-level signal, the first output interface is disconnected, and the second output interface outputs the button signal to be input to the main chip; when the smart terminal is in the power-off state, the GPIO signal is a low-level signal, and the second The first output interface is turned on, and the second output interface is turned off; wherein, the first output interface is used to output the key signal to the NFC chip interrupt control interface.
步骤303:开关芯片的按键输入接口,接收由外部按键触发的按键信号。Step 303: The key input interface of the switch chip receives a key signal triggered by an external key.
优选地,外部按键包括:音量加键和/或音量减键。Preferably, the external keys include: a volume up key and/or a volume down key.
步骤304:依据输出接口的工作状态,将按键信号输出至对应芯片。Step 304: Output the button signal to the corresponding chip according to the working status of the output interface.
当智能终端处于开机状态时,通过终端自带应用程序对SIM进行切换,主芯片接收到按键信号时,执行外部按键原有功能;当智能终端处于关机状态时,NFC芯片中断控制接口检测到按键信号时,依据按键信号切换SIM卡。When the smart terminal is in the power-on state, the SIM is switched through the terminal's built-in application program, and when the main chip receives the key signal, it executes the original function of the external key; when the smart terminal is in the power-off state, the NFC chip interrupts the control interface to detect the key signal, switch the SIM card according to the button signal.
步骤305:当NFC芯片收到按键信号时,对SIM卡的工作模式进行切换。Step 305: When the NFC chip receives the key signal, switch the working mode of the SIM card.
当智能终端处于关机状态时,NFC芯片通过第一输出接口接收按键信号,并依据此信号对SIM进行切换;当智能终端处于开机状态时,主芯片同通过第二输出接口接收按键信号,此时终端通过自身应用软件执行外部按键的原有功能。When the smart terminal is in the off state, the NFC chip receives the key signal through the first output interface, and switches the SIM according to this signal; when the smart terminal is in the power-on state, the main chip also receives the key signal through the second output interface, at this time The terminal executes the original functions of the external keys through its own application software.
通过本发明实施例提供的SIM卡的切换方法,智能终端在关机状态下可以检测外部按键触发的按键信号,并通过此信号对SIM进行切换,从而在关机状态下实现对SIM卡的切换。Through the SIM card switching method provided by the embodiment of the present invention, the smart terminal can detect the key signal triggered by the external key in the shutdown state, and switch the SIM through this signal, thereby realizing the switching of the SIM card in the shutdown state.
实施例四Embodiment four
参照图3,示出了本发明实施例四的一种SIM卡切换方法的流程图。Referring to FIG. 3 , it shows a flowchart of a SIM card switching method according to Embodiment 4 of the present invention.
本发明实施例中,以智能终端处于关机状态进行SIM卡切换为例,对本发明的SIM卡切换方法进行说明,本发明实施例的SIM卡切换方法具体包括以下步骤:In the embodiment of the present invention, the SIM card switching method of the present invention is described by taking the SIM card switching of the smart terminal in the shutdown state as an example. The SIM card switching method of the embodiment of the present invention specifically includes the following steps:
步骤401:开关芯片的控制信号输入接口接收控制信号。Step 401: The control signal input interface of the switch chip receives the control signal.
开关芯片接收到控制信号后,依据智能终端的状态确定开关芯片输出接口的工作状态,具体确定方式参见步骤402中的说明。After the switch chip receives the control signal, it determines the working state of the output interface of the switch chip according to the state of the smart terminal. For the specific determination method, refer to the description in step 402 .
其中,输出接口的工作状态也即确定向NFC芯片输入信号的第一输出接口、以及向主芯片输入信号的第二输出接口,这两个接口的开启或断开状态。Wherein, the working state of the output interface is to determine the first output interface for inputting signals to the NFC chip and the second output interface for inputting signals to the main chip, and the on or off status of these two interfaces.
步骤402:智能终端处于关机状态时,开启第一输出接口,断开第二输出接口。Step 402: When the smart terminal is in a power-off state, turn on the first output interface and turn off the second output interface.
第一输出接口用于输出按键信号至NFC芯片中断控制接口,控制信号为终端处理器的通用输入/输出GPIO信号,智能终端处于关机状态时,GPIO信号为低电平信号。The first output interface is used to output the button signal to the NFC chip interrupt control interface. The control signal is the general input/output GPIO signal of the terminal processor. When the smart terminal is in the shutdown state, the GPIO signal is a low level signal.
此外,当智能终端处于开机状态时,GPIO信号为高电平信号,第一输出接口断开,第二输出接口输出按键信号输入至主芯片。In addition, when the smart terminal is in the power-on state, the GPIO signal is a high-level signal, the first output interface is disconnected, and the second output interface outputs a key signal to be input to the main chip.
步骤403:开关芯片的按键输入接口,接收由外部按键触发的按键信号。Step 403: The key input interface of the switch chip receives a key signal triggered by an external key.
优选地,外部按键包括:音量加键和/或音量减键。Preferably, the external keys include: a volume up key and/or a volume down key.
步骤404:当智能终端处于关机状态时,NFC芯片中断控制接口检测按键信号。Step 404: When the smart terminal is in the power-off state, the NFC chip interrupts the control interface to detect the button signal.
步骤405:NFC芯片依据按键信号对SIM进行卡切换。Step 405: The NFC chip performs card switching on the SIM according to the button signal.
在智能终端处于关机状态下,第一输出接口开启,第二输出接口断开。NFC芯片的中断口通过开关芯片的第一输出接口。当NFC芯片的中断口检测到按键信号时,进行SIM卡切换。当NFC芯片检测到按键信号时,当前处于工作状态的SIM卡停止工作,当前处于未工作状态的SIM卡开始工作。When the smart terminal is in a power-off state, the first output interface is turned on, and the second output interface is turned off. The interrupt port of the NFC chip passes through the first output interface of the switch chip. When the interrupt port of the NFC chip detects the key signal, the SIM card is switched. When the NFC chip detects the button signal, the SIM card that is currently in the working state stops working, and the SIM card that is currently in the non-working state starts to work.
此外,当智能终端处于开机状态时,通过终端自带应用程序对SIM进行切换,主芯片接收按键信号,执行外部按键原有功能。In addition, when the smart terminal is turned on, the SIM is switched through the terminal's built-in application program, and the main chip receives the key signal to execute the original function of the external key.
本发明实施例的SIM卡的切换方法,能实现前述实施例一以及实施例二中相应的SIM卡切换电路所达到的效果,并且具有相应的实施例的有益效果,在此不再赘述。The SIM card switching method of the embodiment of the present invention can achieve the effect achieved by the corresponding SIM card switching circuit in the first embodiment and the second embodiment, and has the beneficial effects of the corresponding embodiments, which will not be repeated here.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.
以上对本发明所提供的一种SIM卡的切换电路和切换方法,进行了详细介绍,本文中应用了具体个例对本发明的实施步骤及实现装置进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二等的使用不表示任何顺序。可将这些单词解释为名称。Above, the switching circuit and switching method of a kind of SIM card provided by the present invention have been introduced in detail. In this paper, specific examples have been used to illustrate the implementation steps and implementation devices of the present invention. The description of the above embodiments is only used to help Understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification is not It should be understood as a limitation of the present invention. It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, etc. does not indicate any order. These words can be interpreted as names.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610882204.1A CN106358179B (en) | 2016-09-30 | 2016-09-30 | Switching circuit and switching method for Subscriber Identity Module (SIM) card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610882204.1A CN106358179B (en) | 2016-09-30 | 2016-09-30 | Switching circuit and switching method for Subscriber Identity Module (SIM) card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106358179A true CN106358179A (en) | 2017-01-25 |
CN106358179B CN106358179B (en) | 2020-02-07 |
Family
ID=57865564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610882204.1A Active CN106358179B (en) | 2016-09-30 | 2016-09-30 | Switching circuit and switching method for Subscriber Identity Module (SIM) card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106358179B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147432A (en) * | 2017-06-14 | 2017-09-08 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its implementation, storage device that a kind of detection NFC starts |
CN111212402A (en) * | 2019-12-31 | 2020-05-29 | Oppo广东移动通信有限公司 | Card simulation switching method, NFC mobile terminal and storage medium |
CN111556543A (en) * | 2020-06-19 | 2020-08-18 | 展讯通信(上海)有限公司 | SIM card switching circuit and terminal equipment |
CN112181506A (en) * | 2020-09-29 | 2021-01-05 | 美唐科技(江苏)有限公司 | Software downloading system based on dual 1860 system terminals and downloading method thereof |
CN114915312A (en) * | 2021-02-09 | 2022-08-16 | Oppo广东移动通信有限公司 | Electronic equipment and control method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201766639U (en) * | 2010-05-28 | 2011-03-16 | 中兴通讯股份有限公司 | Mobile phone terminal |
CN201878132U (en) * | 2010-11-03 | 2011-06-22 | 东莞宇龙通信科技有限公司 | Mobile terminal |
US20110312271A1 (en) * | 2009-02-26 | 2011-12-22 | Zte Corporation | Terminal of supporting enhanced near field communication and its processing method |
CN102325203A (en) * | 2011-05-10 | 2012-01-18 | 惠州Tcl移动通信有限公司 | Mobile terminal and communication device thereof |
CN102655547A (en) * | 2011-03-01 | 2012-09-05 | 凹凸电子(武汉)有限公司 | Electronic device for data transmission, controller and control method thereof |
CN202565325U (en) * | 2012-02-28 | 2012-11-28 | 李同生 | Mobile phone protective shell capable of realizing double-card one-standby of SIM (Subscriber Identity Module) card |
CN102956081A (en) * | 2012-10-19 | 2013-03-06 | 深圳桑菲消费通信有限公司 | NFC (Near Field Communication) mobile payment terminal |
CN205385509U (en) * | 2016-01-30 | 2016-07-13 | 维沃移动通信有限公司 | Mobile terminal |
-
2016
- 2016-09-30 CN CN201610882204.1A patent/CN106358179B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110312271A1 (en) * | 2009-02-26 | 2011-12-22 | Zte Corporation | Terminal of supporting enhanced near field communication and its processing method |
CN201766639U (en) * | 2010-05-28 | 2011-03-16 | 中兴通讯股份有限公司 | Mobile phone terminal |
CN201878132U (en) * | 2010-11-03 | 2011-06-22 | 东莞宇龙通信科技有限公司 | Mobile terminal |
CN102655547A (en) * | 2011-03-01 | 2012-09-05 | 凹凸电子(武汉)有限公司 | Electronic device for data transmission, controller and control method thereof |
CN102325203A (en) * | 2011-05-10 | 2012-01-18 | 惠州Tcl移动通信有限公司 | Mobile terminal and communication device thereof |
CN202565325U (en) * | 2012-02-28 | 2012-11-28 | 李同生 | Mobile phone protective shell capable of realizing double-card one-standby of SIM (Subscriber Identity Module) card |
CN102956081A (en) * | 2012-10-19 | 2013-03-06 | 深圳桑菲消费通信有限公司 | NFC (Near Field Communication) mobile payment terminal |
CN205385509U (en) * | 2016-01-30 | 2016-07-13 | 维沃移动通信有限公司 | Mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147432A (en) * | 2017-06-14 | 2017-09-08 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its implementation, storage device that a kind of detection NFC starts |
CN111212402A (en) * | 2019-12-31 | 2020-05-29 | Oppo广东移动通信有限公司 | Card simulation switching method, NFC mobile terminal and storage medium |
CN111212402B (en) * | 2019-12-31 | 2022-09-02 | Oppo广东移动通信有限公司 | Card simulation switching method, NFC mobile terminal and storage medium |
CN111556543A (en) * | 2020-06-19 | 2020-08-18 | 展讯通信(上海)有限公司 | SIM card switching circuit and terminal equipment |
CN112181506A (en) * | 2020-09-29 | 2021-01-05 | 美唐科技(江苏)有限公司 | Software downloading system based on dual 1860 system terminals and downloading method thereof |
CN112181506B (en) * | 2020-09-29 | 2024-04-19 | 美唐科技(江苏)有限公司 | Software downloading system based on double 1860 system terminals and downloading method thereof |
CN114915312A (en) * | 2021-02-09 | 2022-08-16 | Oppo广东移动通信有限公司 | Electronic equipment and control method |
Also Published As
Publication number | Publication date |
---|---|
CN106358179B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104253634B (en) | Double frequency multi-protocols multifunctional near-field communication integrate system and methods for using them | |
JP5367847B2 (en) | Terminal supporting enhancement type short-range wireless communication and processing method thereof | |
CN101772215B (en) | Support mobile terminal and the near field communication method thereof of near-field communication | |
US12223495B2 (en) | Value added services polling | |
CN106358179A (en) | SIM (Subscriber Identification Module) card switching circuit and SIM card switching method | |
JP2007242024A (en) | Ic card, portable terminal, and control method of portable terminal | |
WO2006137363A1 (en) | Data communication system, device for executing ic card function, control method for the device, and information processing terminal | |
CN103414497B (en) | For communication between electronic by the control method forwarded and corresponding equipment | |
CN101772761A (en) | Electronic device interface control system | |
US9055432B2 (en) | Targeted muting for communication between electronic appliances | |
CN100447700C (en) | Multi-function portable device for electronic processors | |
CN110516486A (en) | A wireless time-sharing RFID terminal for the Internet of Things | |
CN101561894B (en) | Smart card and method for determining communication speed of second controller | |
CN204557497U (en) | Double frequency intelligent RF identification integrated system | |
CN102932036A (en) | Near field communication (NFC) device and NFC method | |
CN107832015B (en) | Data reading method, data reading device and mobile terminal | |
US20150212783A1 (en) | Method of controlling permission and touch link electronic device utilizing the same | |
CN109586755B (en) | Communication device, communication storage device, switching method and terminal equipment | |
CN204681378U (en) | There is the circuit of near field communication (NFC) function and comprise the human interface device of this circuit | |
WO2024036887A1 (en) | Sim card communication circuit, related device, and control method | |
CN210627213U (en) | Wireless time-sharing RFID terminal of Internet of things | |
CN102271013B (en) | Mobile device for supporting function of electronic purse | |
JP2015125627A (en) | Ic card and mobile electronic device | |
JP2012093857A (en) | Ic chip, memory initialization method for ic chip, processing program for ic chip, and portable terminal | |
CN105682252A (en) | Dual-channel mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |