Summary of the invention
In view of the above drawbacks of the prior art, the present invention provides a kind of mobile terminal, in less SWP interface
In the case of, realize multichannel NFC function.
In a first aspect, the present invention provides a kind of mobile terminal, including near-field communication NFC chip, single line connection protocol SWP are cut
Block, control module and security module SE set, SWP switching module is changed the mold to connect with NFC chip and control module respectively;
Control module, for sending NFC switching signal to SWP switching module;NFC switching signal is used to indicate SWP switching
Module is connected in NFC chip SWP interface corresponding with the first SE group belonging to the first SE from the first SE of SE Resource selection;Its
In, SE set includes at least one SE group, and SE group includes at least two SE, the corresponding SWP interface of each SE group;First SE
Group is any one SE group in SE set, and the first SE is any one SE in the first SE group;
SWP switching module, it is corresponding with the first SE group for the first SE to be connected in NFC chip according to NFC switching signal
SWP interface.The mobile terminal then can realize multichannel NFC function in the case where less SWP interface.
With reference to first aspect, in the first possible embodiment of first aspect, SWP switching module is also used to when shifting
When dynamic terminal is passive states, keep NFC chip when mobile terminal is active and the connection status of the first SE, and control
NFC chip is the first SE power supply, so that NFC function can also can be used when mobile terminal is passive states in user,
It ensure that the SE connected when mobile terminal is passive states and user select connection when mobile terminal is active simultaneously
The consistency of SE.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect
In, SWP switching module includes switch unit and trigger unit, the input terminal link control module of trigger unit, trigger unit
Output end connection switch unit;
Trigger unit for obtaining switch control signal according to NFC switching signal, and is arrived in next NFC switching signal
Keep switch control signal constant before coming;
Switch unit for the first SE to be connected to NFC chip according to switch control signal, and is passive in mobile terminal
When state, it is connected to the power output end of NFC chip and the power input of the first SE, to control NFC chip as the first SE power supply.
With reference to first aspect, any possible implementation of the first to second of first aspect, in first aspect
In the third possible embodiment, NFC chip includes two SWP interfaces, and SE set includes external outside NFC chip
The SE and built-in security module eSE inside NFC chip.
The third possible implementation with reference to first aspect, in the 4th kind of possible embodiment of first aspect
In, control module is also used to send SWP switching signal to NFC chip, and SWP switching signal is used to indicate NFC chip gating and the
The corresponding SWP interface of one SE;
NFC chip, the SWP switching signal for being sent according to control module gate SWP interface corresponding with the first SE;
SWP switching module, for the first SE to be connected to the SWP interface that NFC chip is gated.
The third or the 4th kind of possible embodiment with reference to first aspect, in the 5th kind of possible reality of first aspect
It applies in mode, control NFC chip is not external SE power supply, to save electric power.
5th kind of possible embodiment with reference to first aspect, in the 6th kind of possible embodiment of first aspect,
Switch unit is also used to when mobile terminal is active, and the power supply for disconnecting the power output end and external SE of NFC chip is defeated
Enter the connection at end.
Third with reference to first aspect is to the 6th kind of any possible implementation, in the 7th kind of possibility of first aspect
Embodiment in, SE set include the first external SE, second external SE and eSE;NFC chip includes NFC control module
With the eSE in SE set, SWP switching module includes first switch, second switch, third switch, the 4th switch and trigger;Its
In,
The public end COM of first switch connects the end power supply VCC of the first external SE, and the normally opened end NO of first switch connects electricity
The first power output end of source control unit PMU, the end NC of the 4th switch of the normally closed end NC connection of first switch, first switch
The enabled end EN connect the first power output end;
First SWP interface end of the end the COM connection NFC control module of second switch, the end the NO connection second of second switch
The SWP interface end of SE, the end NC of second switch connect the SWP interface end of the first SE, the end the EN connection trigger of second switch
Output end;
The end COM of third switch connects the end VCC of the 2nd SE, the second source output of the end the NO connection PMU of third switch
End, the end NO of the 4th switch of the end NC connection of third switch, the end EN of third switch connects second source output end;
The end SIMVCC of the end the COM connection NFC control module of 4th switch, the end the EN connection trigger of the 4th switch
Output end;
The universal input of the input terminal link control module of trigger exports the end GPIO;
The end PMUVCC at the end I2C of the end the universal serial bus I2C link control module of NFC control module, NFC control module connects
Connect the output end of a NOT gate, the third power output end of the input terminal connection PMU of NOT gate;
The SWP interface end of the 2nd SWP interface end connection eSE of NFC control module, the end power supply SVDD of NFC control module
Connect the end power supply ESEVDD of eSE.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, and mobile terminal is suitable for that the first client is received to identify mould
The safety of the first security module SE and second is respectively included in block SIM and the second client identification module SIM, the first SIM and the 2nd SIM
Module SE, mobile terminal include:
Near-field communication NFC controller, single line connection protocol SWP switch unit and processor;
NFC controller includes the first SWP interface;
SWP switch unit is used to one in the first SE and the 2nd SE being connected to the first SWP interface;
Processor, for sending switching signal to SWP switch unit, to indicate SWP switch unit by the first SE and second
One in SE is connected to the first SWP interface.The mobile terminal then can realize multichannel in the case where less SWP interface
NFC function.
In conjunction with second aspect, in the first possible embodiment of second aspect, NFC controller includes the 2nd SWP
Interface, the 2nd SWP interface are connect with built-in security module eSE.
In conjunction with the possible embodiment of the first of second aspect or second aspect, second in second aspect is possible
In embodiment, SWP switch unit is also used to when mobile terminal is passive states, and holding NFC controller is in mobile terminal
When active with the connection status of each SE, and control NFC controller be with NFC controller be in connected state SE power supply,
So that NFC function can also can be used when mobile terminal is passive states in user, while it ensure that mobile terminal is
The consistency of the SE and user connected when passive states SE of selection connection when mobile terminal is active.
In conjunction with the first possible embodiment of second aspect, in the third possible embodiment of second aspect
In, processor is also used to send SWP switching signal to NFC controller, and SWP switching signal is used to indicate NFC controller gating the
One in one SWP interface and the 2nd SWP interface;
NFC controller, the SWP switching signal for being sent according to processor gate the first SWP interface and the 2nd SWP interface
In one.
In conjunction with second aspect, second aspect first to the third any possible implementation, in second aspect
In 4th kind of possible embodiment, SWP switch unit is also used to control NFC controller when mobile terminal is active
It does not power for the first SE and the 2nd SE, to save electric power.
Mobile terminal provided in an embodiment of the present invention, the NFC that SWP switching module can be sent according to control module switch
Signal selects corresponding SE from SE set, which is connected in NFC chip SWP corresponding with SE group belonging to the SE and is connect
Mouthful;Wherein, the SE of connection is selected to can be any one SE in SE group including at least two SE.That is, one of NFC chip
SWP interface may be coupled on different SE, so as to realize multichannel NFC function in the case where less SWP interface.
Specific embodiment
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
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Mobile terminal described in the embodiment of the present invention can be mobile phone, personal digital assistant (Personal Digital
Assistant, PDA), tablet computer, other portable equipments such as laptop.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Fig. 1 is a kind of electrical block diagram for the mobile terminal that the embodiment of the present invention one provides, mobile as shown in Fig. 1
Terminal includes: NFC chip, SWP switching module, control module and the SE set comprising multiple SE, wherein NFC chip includes two
A SWP interface, respectively the first SWP interface and the 2nd SWP interface (being indicated respectively with SWP1 and SWP2 in Fig. 1);SE set packet
A SE group and an eSE are included, SE group includes two external SE, and the external SE of the respectively first external SE and second (divides in Fig. 1
It is not indicated with SE1 and SE2);NFC chip includes the eSE in NFC control module and SE set, and SWP switching module is opened including first
Pass, second switch, third switch, the 4th switch (being indicated respectively with switch 1, switch 2, switch 3 and switch 4 in Fig. 1) and triggering
Device.
Wherein, the public end COM of first switch connects the end power supply VCC of the first external SE, the normally opened end NO of first switch
(Fig. 1 is not shown first power output end of connection Power Management Unit (Phasor Measurement Unit, abbreviation PMU)
PMU indicates the output end with SE1VCC), the end NC of the 4th switch of the normally closed end NC connection of first switch, first switch enables
The end EN connects the first power output end;First SWP interface end of the end the COM connection NFC control module of second switch, second switch
The end NO connect the SWP interface end of the 2nd SE, the end NC of second switch connects the SWP interface end of the first SE, the EN of second switch
The output end of end connection trigger;The end COM of third switch connects the end VCC of the 2nd SE, and the end NO of third switch connects PMU
Second source output end (being indicated in Fig. 1 with SE2VCC), the end NO of the 4th switch of the end NC connection of third switch, third opens
The end EN of pass connects second source output end;The end SIMVCC of the end the COM connection NFC control module of 4th switch, the 4th switch
The end EN connection trigger output end;The universal input of the input terminal link control module of trigger exports the end GPIO;NFC control
The end PMUVCC at the end I2C of the end the universal serial bus I2C link control module of molding block, NFC control module connects a NOT gate
Output end, the third power output end (being indicated in Fig. 1 with VDD1V8) of the input terminal connection PMU of NOT gate;NFC control module
2nd SWP interface end connects the SWP interface end of eSE, the power supply ESEVDD of the end the power supply SVDD connection eSE of NFC control module
End.
In foregoing circuit structural schematic diagram, the SWP switching signal that NFC chip is sent according to control module can be gated
SWP1 or SWP2;When SWP1 gating, the NFC switching signal that trigger is sent according to control module can will be in SE1 and SE2
Either one or two of be connected on the SWP1 of NFC chip, when SWP2 gating when, eSE is connected to SWP2.Specifically, trigger can be
D type flip flop, T ' trigger etc., NFC switching signal and SWP switching signal can be level signal or pulse signal etc., lower mask
Body using trigger be T ' trigger, NFC switching signal is pulse signal from low to high, SWP switching signal as level signal
The working principle of electrical block diagram shown in explanatory diagram 1 for (high level corresponds to SWP1, and low level corresponds to SWP2).
When mobile terminal is active, the end SE1VCC, the SE2VCC and VDD1V8 output signal of PMU is high level letter
Number, the input signal at the end EN of switch 1 is high level signal, the end COM of switch 1 and the conducting of the end NO, and PMU is SE1 power supply;It opens
The input signal for closing 3 end EN is high level signal, the end COM of switch 3 and the conducting of the end NO, and PMU is SE2 power supply;NFC controls mould
The input signal at the end PMUVCC of block is low level signal, and the end SIMVCC of NFC control module is disabled, and NFC chip is not SE
Power supply.
Assuming that the SE that NFC chip currently connects is SE1, trigger output signal is low level signal at this time.User's selection
SE2, control module can then send pulse signal to trigger, and output signal is flipped after trigger receives pulse signal,
Become high level signal from low level signal, the end the EN input signal of switch 2 is high level signal, the end COM of switch 2 at this time
It is connected with the end NO, SWP1 and SE2 are realized and connected.User is switched to SE1 from SE2, and control module sends pulse signal to triggering
Device, output signal is flipped after trigger receives pulse signal, is become low level signal from high level signal, is switched at this time
2 end EN input signal is low level signal, the end COM of switch 2 and the conducting of the end NC, and SWP1 and SE1 are realized and connected.User from
SE1 is switched to eSE, and control module sends a low level signal and gives NFC control module, and NFC control module gates SWP2, simultaneously
SVDD is gated as eSE power supply, SWP2 and eSE are realized and connected.If user is switched to SE2 from eSE, control module sends a height
Level signal gives NFC control module, and NFC control module gates SWP1, and disables SVDD to save electric power;Meanwhile control module
A pulse signal is sent to trigger, output end signal is flipped after trigger receives pulse signal, is believed from low level
Number becoming high level signal, the end the EN input signal of switch 2 is high level signal, the end COM of switch 2 and the conducting of the end NO at this time,
SWP1 and SE2, which is realized, to be connected.If user is switched to SE1 from eSE, control module need to only send a high level signal to NFC
Control module, NFC control module gates SWP1, SWP1 and SE1 and realizes connection, and disables SVDD to save electric power.
When mobile terminal is passive states, the end SE1VCC, the SE2VCC and VDD1V8 output signal of PMU is low level letter
Number, the input signal at the end EN of switch 1 is low level signal, the end COM of switch 1 and the conducting of the end NC, and NFC chip can be SE1
Power supply;The input signal at the end EN of switch 3 is low level signal, and the end COM of switch 3 and the conducting of the end NC, NFC chip can be
SE2 power supply;The input signal at the end PMUVCC of NFC control module is high level signal, and the end SIMVCC of NFC control module is selected
Logical, NFC chip can power for external SE.
Assuming that the SE that NFC chip is connected when mobile terminal is active is SE1, trigger output signal is low at this time
Level signal.Mobile terminal is converted to passive states from active, and control module will not generate pulse signal from low to high,
The output signal of trigger remains unchanged, and is still low level signal, and the end COM of switch 2 and the conducting of the end NC, SWP1 and SE1 connect
It connects;Meanwhile the input signal at the end EN of switch 4 is low level signal, the end COM of switch 4 and the conducting of the end NC, and by upper
Analysis is stated it is found that the end COM of switch 1 and the conducting of the end NC, NFC chip is SE1 power supply at this time, SWP1 is connected to SE1.
Assuming that the SE that NFC chip is connected when mobile terminal is active is SE2, trigger output signal is height at this time
Level signal.Mobile terminal is converted to passive states from active, and control module will not generate pulse signal from low to high,
The output signal of trigger remains unchanged, and is still high level signal, and the end COM of switch 2 and the conducting of the end NO, SWP1 and SE2 connect
It connects;Meanwhile the input signal at the end EN of switch 4 is high level signal, the end COM of switch 4 and the conducting of the end NO, and by upper
Analysis is stated it is found that the end COM of switch 3 and the conducting of the end NC, NFC chip is SE2 power supply at this time, SWP1 is connected to SE2.
Mobile terminal provided in this embodiment, SE set include two external SE and eSE, SWP switching module according to
The NFC switching signal that control module is sent can meet the first SWP that any one in two external SE is connected to NFC chip
On mouth, two-way NFC function is realized by a SWP interface;Another eSE may be coupled to the 2nd SWP of NFC chip
On interface, NFC function all the way is realized, i.e., there are two the NFC chips of SWP interface to realize three tunnel NFC functions for tool.
Above-mentioned electrical block diagram shown in FIG. 1 realizes three tunnel NFC functions, is intended only as a kind of example and is said
Bright, those skilled in the art can switch in the increase SWP switching module of adaptability according to the technique and scheme of the present invention and triggering
The devices such as device and the quantity for controlling signal, Lai Shixian multichannel NFC function.It is illustrated below by Fig. 2, specific circuit
Structure can refer to Fig. 1, no longer show herein.
Fig. 2 is the structural schematic diagram of mobile terminal provided by Embodiment 2 of the present invention, and the present embodiment is to shown in above-mentioned Fig. 1
The extension of embodiment optimizes, for realizing multichannel NFC function.As shown in Fig. 2, mobile terminal provided in this embodiment includes: NFC
Chip 100, single line connection protocol SWP switching module 200, control module 300 and SE set, SWP switching module 200 respectively with
NFC chip 100 and control module 300 connect;Control module 300, for sending NFC switching signal to SWP switching module 200;
NFC switching signal is used to indicate SWP switching module 200 and is connected to NFC chip from the first SE401 of security module SE Resource selection
SWP interface corresponding with the first SE group 411 belonging to the first SE401 on 100;Wherein, SE set includes at least one SE group
(SE set includes SE group 410 and SE group 420 in such as Fig. 2), SE group includes at least two SE400, and each SE group is one corresponding
SWP interface (SE group 410 corresponds to SWP interface 110, the corresponding SWP interface 120 of SE group 420 in such as Fig. 2);First SE group 411 is SE
Any one SE group in set, the first SE401 are any one SE400 in the first SE group 411;SWP switching module 200, is used for
The first SE401 is connected to SWP interface corresponding with the first SE group 411 in NFC chip 100 according to NFC switching signal.
Specifically, NFC chip 100 can be the chip with NFC function of existing various models, SWP interface can
Think one or more (such as two SWP interfaces are set in the NFC chip of model PN65T).
Control module 300 specifically can be in mobile terminal central processing unit (Central Processing Unit,
Abbreviation CPU), SWP switching module 200 can be sent by corresponding NFC switching signal according to the user's choice, so that SWP
The SE400 of selection is connected in NFC chip 100 on corresponding SWP interface by switching module 200.Wherein, NFC switching letter
It number can be level signal or pulse signal etc., can specifically select according to the design needs.
SWP switching module 200 can be made of switch, can according to NFC switching signal it is different by SE gather in not
Same SE400 is correspondingly connected on the SWP interface of NFC chip 100.Wherein, SE set includes at least one SE group, a SE
Group is corresponding with a SWP interface of NFC chip 100, any one SE400 in a SE group may be coupled to and the SE group
On corresponding SWP interface.When the SWP interface in NFC chip 100 has multiple, whether each SWP interface is arranged corresponding SE
Group can select as needed, correspondingly, SWP switching module 200 also can according to need setting.Such as: NFC chip 100 has two
A SWP interface, one of SWP interface corresponding a SE group and a SWP switching module 200 including multiple SE400;In addition
One SWP interface can be directly connected to a SE400, can also correspond to a SE group and a SWP switching module 200;When two
When SE group is all arranged in a SWP interface, two corresponding SWP switching modules 200 can be provided separately, and also can be merged into one,
It specifically can according to need any setting.It is specifically that there are two SWP interfaces, respectively SWP interface with NFC chip 100 in Fig. 2
110 and SWP interface 120, the corresponding SE group 410 of SWP interface 110, the corresponding SE group 420 of SWP interface 120, SE group 410 and SE group
420 corresponding SWP switching modules illustrate for merging into one.
It should be noted that the SE400 in the present embodiment can be SIM card, SD card or be solidificated in NFC chip 100
The type of eSE, the SE400 in each SE group can according to need any selection.It includes that two SWP connect that Fig. 2, which is with NFC chip,
Mouthful, SE set is not intended to limit the present invention including illustrating for two SE groups;Wherein, the first SE401 is indicated
The SE400 of connection is currently selected, any one SE400 selected can be known as the first SE401 in SE group, be in Fig. 2
It is illustrated for the ease of more clearly illustrating technical solution of the present invention;First SE group 411 is the same as the first SE401's
Meaning is similar.
By taking mobile terminal shown in Fig. 2 as an example, in specific application, user can root for mobile terminal provided in this embodiment
According to the SE400 that the actual needs selection of oneself needs to communicate, corresponding NFC switching signal is sent to SWP and cut by control module 300
Block 200 is changed the mold, SWP switching module 200 selects corresponding SE400 (i.e. first from SE set according to the NFC switching signal
SE401), it is right with SE group belonging to the first SE401 (i.e. the first SE group 411) the first SE401 to be connected in NFC chip 100
The SWP interface (such as SWP interface 110 in figure) answered, to realize the communication between the first SE401 and NFC chip;When with
When family reselects any other SE400 in the first SE group 411, control module 300 will be to SWP switching module 200
New NFC switching signal is sent, the SE400 reselected is connected to by SWP switching module 200 according to the NFC switching signal
The corresponding SWP interface (the SWP interface 110 i.e. in figure) of first SE group 411 in NFC chip 100.That is, being cut according to NFC
Signal difference is changed, multiple SE400 different in a SE group can be connected to the one of NFC chip 100 by SWP switching module 200
On a interface, so that a SWP interface of NFC chip 100 can be realized as multichannel NFC function, when there are two NFC chips 100
When SWP interface, then at least three tunnel NFC functions may be implemented.
Mobile terminal provided in this embodiment, the NFC switching signal that SWP switching module can be sent according to control module,
Corresponding SE is selected from SE set, which is connected in NFC chip SWP interface corresponding with SE group belonging to the SE;Its
In, select the SE of connection to can be any one SE in SE group including at least two SE.That is, a SWP of NFC chip
Interface may be coupled on different SE, to realize multichannel NFC function;When NFC chip is there are two SWP interface, this reality
At least three tunnel NFC functions then may be implemented in the mobile terminal for applying example offer.
On the basis of the above embodiments, as a kind of possible embodiment of the present invention, SWP switching module 200 is also used
In when mobile terminal is passive states, keep NFC chip 100 when mobile terminal is active and the company of the first SE401
State is connect, and controls NFC chip 100 as the first SE401 power supply.
Specifically, when mobile terminal is active (mobile terminal is in open state), in mobile terminal
SE400 is in normal operating conditions, and NFC function can be used in user;When mobile terminal is passive states (at mobile terminal
In off-mode), the SE400 cisco unity malfunction in mobile terminal in the prior art, user is not available NFC function then.
In the present embodiment, when mobile terminal is passive states, it is the first SE401 that SWP switching module 200, which can control NFC chip 100,
Power supply, to guarantee that SE400 can work normally, so that NFC function can be used in user.
In addition, user would generally select common SE400 to realize NFC function, when mobile terminal is transformed into from active
When passive states, the NFC switching signal that SWP switching module 200 receives may be changed due to power down, thus NFC
Other SE400 can be connected in NFC chip 100 by switching module.In the present embodiment, SWP switching module 200 can be in movement
When terminal is passive states, keep NFC chip 100 when mobile terminal is active and the connection status of the first SE401, from
And ensure that the SE400 in connection status is consistent with the SE400 of user's selection connection when mobile terminal is active,
The influence for changing the connection status of SE400 after mobile terminal is avoided from active to passive states and user being generated.
As a kind of specific embodiment of the present embodiment, as shown in figure 3, SWP switching module 200 includes switch unit
210 and trigger unit 220, the output end connection of the input terminal link control module 300 of trigger unit 220, trigger unit 220 is opened
Close unit 210;Trigger unit 220 for obtaining switch control signal according to NFC switching signal, and switches in next NFC and believes
Number arrive before keep switch control signal it is constant;Switch unit 210, for being connected the first SE401 according to switch control signal
It is connected to NFC chip 100, and when mobile terminal is passive states, is connected to the power output end and first of NFC chip 100
The power input of SE401 is broken with controlling NFC chip 100 for the first SE401 power supply, and when mobile terminal is active
Open the connection of the power output end of NFC chip 100 and the power input of the first SE401.
Specifically, trigger unit 220 can be made of trigger, when the NFC switching letter for receiving the transmission of control module 300
After number, a switch control signal can be exported, so that switch unit 210 is according to the switch control signal by corresponding SE400
It is connected in NFC chip 100;The switch of output is kept before control module 300 sends next NFC switching signal simultaneously
It is constant to control signal, therefore when mobile terminal is transformed into passive states from active, the not sent NFC of control module 300 is cut
Signal is changed, the switch control signal that trigger unit 220 exports then remains unchanged, so that switch unit 210 can be in mobile terminal
When for passive states, the connection status of SE400, avoids mobile terminal from active when to keep mobile terminal be active
The influence for changing the connection status of SE400 after to passive states and user being generated.It is similar with NFC switching signal, the switch control
Signal processed may be level signal or pulse signal etc..
Switch unit 210 other switches can be specifically made of single-pole double-throw switch (SPDT) or single-pole three-throw switch etc., Ke Yigen
Corresponding SE400 is connected to NFC chip 100 according to switch control signal.When mobile terminal is passive states, switch unit
210 (can currently select connection according to the power output end and the first SE401 of switch control signal connection NFC chip 100
SE400 power input) guarantees that the first SE401 can be worked normally to control NFC chip 100 as the first SE401 power supply,
User is allowed to use NFC function in the power-offstate.
Mobile terminal provided in this embodiment, SWP switching module can keep NFC when mobile terminal is passive states
Chip, with the connection status of the first SE, and controls NFC chip and is that the first SE powers when mobile terminal is active, thus
Allow user that NFC function also can be used when mobile terminal is passive states, while ensure that mobile terminal is passive
The consistency of the SE and user connected when state SE of selection connection when mobile terminal is active.
On the basis of the above embodiments, as a kind of possible embodiment of the present invention, NFC chip 100 includes two
SWP interface, SE set include the external SE outside NFC chip 100 and the built-in security mould inside NFC chip 100
Block eSE.
Specifically, any one SWP interface of NFC chip 100 all both can connect external SE, eSE can also be connected;Outside
Setting SE includes the removable chips such as SIM card and SD card.
Further, in the present embodiment, control module 300 is also used to send SWP switching signal, SWP to NFC chip 100
Switching signal is used to indicate NFC chip 100 and gates SWP interface corresponding with the first SE401;NFC chip 100, for according to control
The SWP switching signal that molding block 300 is sent gates SWP interface corresponding with the first SE401;SWP switching module 200, being used for will
First SE401 is connected to the SWP interface that NFC chip 100 is gated.
Specifically, the SE400 that each SWP interface of NFC chip 100 can be correspondingly connected with is different, 300 basis of control module
User selects the first SE401 of connection, and corresponding SWP switching signal, 100 basis of NFC chip can be sent to NFC chip 100
The SWP switching signal gates SWP interface (the SWP interface 110 of example as shown in figure 1) corresponding with the first SE401, so that NFC core
Piece 100 may be implemented to communicate with the first SE401.The SWP switching signal is similar with NFC switching signal, specifically can be level letter
Number or pulse signal etc.;Control module 300 can send SWP switching signal and give NFC core when needing to switch SWP interface every time
Piece 100 makes NFC chip 100 switch SWP interface.
Optionally, in the present embodiment, SWP switching module 200 is also used to control NFC when mobile terminal is active
Chip 100 is not powered for external SE.
Specifically, it is not external SE that SWP switching module 200, which controls NFC chip 100, when mobile terminal is active
Power supply, makes PMU SIM card provide the supply voltage of normal work;Meanwhile NFC chip 100 is the power supply of external SE power supply
Output end is without keeping power supply state, so as to save electric power.For the eSE being solidificated in inside NFC chip 100, NFC chip
100 can be gated for the power output end of eSE power supply when eSE is selected, and 100 eSE of NFC chip is made to power;In eSE
When unselected, the power output end for eSE power supply is disabled, to save electric power;It can specifically be fitted according to specific circuit design
The increase of answering property controls signal, to realize the program.
Further, as a kind of specific embodiment, in the present embodiment, the switch list in SWP switching module 200
Member 210 can mobile terminal be active when, according to switch control signal disconnect NFC chip 100 power output end with
The connection of the power input of external SE makes PMU SIM card provide the supply voltage of normal work.
Fig. 4 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention four provides, as shown in figure 4, moving in the present embodiment
Dynamic terminal, which is suitable for receiving, respectively includes the first safety in the first SIM500 and the 2nd SIM600, the first SIM500 and the 2nd SIM600
Module SE and the second security module SE, mobile terminal include: NFC controller 700, SWP switch unit 800 and processor
900;NFC controller 700 includes the first SWP interface 710;SWP switch unit 800 is used for will be in the first SE510 and the 2nd SE610
One be connected to the first SWP interface 710;Processor 900, for sending switching signal to SWP switch unit 800, with instruction
One in first SE510 and the 2nd SE610 is connected to the first SWP interface 710 by SWP switch unit 800.
Specifically, the first SIM500 and the 2nd SIM600 can be it is any in the multiple SIM cards installed in mobile terminal
Two, the first SE510 and the 2nd SE610 are integrated in respectively in the first SIM500 and the 2nd SIM600;In SWP switch unit 800
Can integrate the function of switch 1, switch 2, switch 3, switch 4 and trigger in Fig. 1, specific working principle and technical effect with
Above-mentioned Fig. 1 is similar, and details are not described herein again.
It should be noted that in the present embodiment, NFC switching signal that SWP switch unit 800 is sent according to processor 900
Any one in first SE510 and the 2nd SE610 can be connected on the first SWP interface 710 of NFC controller 700, it is real
Two-way NFC function is showed, the program is intended only as a kind of example, the change SWP switching of being adapted to property of those skilled in the art
More multichannel NFC function can be realized in unit 800.
In one embodiment of this invention, NFC controller 700 can also include the 2nd SWP interface, the 2nd SWP interface with
The eSE connection of built-in security module.Specific connection relationship and working principle may refer to above-mentioned embodiment illustrated in fig. 1.
Further, processor 900 is also used to send SWP switching signal to NFC controller 700, and SWP switching signal is used
One in the first SWP interface 710 and the 2nd SWP interface is gated in instruction NFC controller 700;NFC controller 700, is used for
One in the first SWP interface 710 and the 2nd SWP interface is gated according to the SWP switching signal that processor 900 is sent.
As a kind of optional embodiment of the embodiment of the present invention, SWP switch unit 800 is also used to when mobile terminal be nothing
It when the state of source, keeps NFC controller 700 when mobile terminal is active and the connection status of each SE, and controls NFC control
Device 700 processed is the SE power supply that connected state is in NFC controller 700.
As another optional embodiment of the embodiment of the present invention, SWP switch unit 800 be also used to be when mobile terminal
When active, control NFC controller 700 is not powered for the first SE510 and the 2nd SE610.
The working principle and technical effect of the present embodiment are similar with above-mentioned Fig. 1-embodiment illustrated in fig. 3, and details are not described herein again.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.