The content of the invention
For the drawbacks described above of prior art, the present invention provides a kind of mobile terminal, in less SWP
In the case of interface, multichannel NFC function is realized.
In a first aspect, the present invention provides a kind of mobile terminal, including near-field communication NFC chip, single line connect
Connect agreement SWP handover modules, control module and security module SE set, SWP handover modules respectively with
NFC chip and control module are connected;
Control module, for sending NFC switching signals to SWP handover modules;NFC switching signals are used
It is connected in NFC chip and a SE from the SE of SE Resource selections the in SWP handover modules are indicated
The affiliated corresponding SWP interfaces of a SE groups;Wherein, SE set includes at least one SE groups, SE
Group includes at least two SE, each SE group one SWP interface of correspondence;First SE groups are gathered for SE
In any one SE group, a SE is any one SE in a SE groups;
SWP handover modules, for the first SE to be connected into NFC chip according to NFC switching signals
SWP interfaces corresponding with a SE groups.The mobile terminal then can be in the feelings of less SWP interfaces
Under condition, multichannel NFC function is realized.
With reference in a first aspect, in the first possible implementation method of first aspect, SWP handover modules
Be additionally operable to when mobile terminal be passive states when, keep NFC chip mobile terminal be active when with
The connection status of the first SE, and control NFC chip to be powered for a SE, so that user can be with
NFC function can also be used when mobile terminal is passive states, while ensure that mobile terminal is passive
The uniformity of the SE connected during state and the user SE that selection is connected when mobile terminal is active.
With reference to the first possible implementation method of first aspect, in second possible reality of first aspect
Apply in mode, SWP handover modules include switch element and trigger element, the input of trigger element is connected
Control module, the output end connecting valve unit of trigger element;
Trigger element, for obtaining switch controlling signal according to NFC switching signals, and in next NFC
Maintained switch control signal is constant before switching signal arrives;
Switch element, for the first SE to be connected into NFC chip according to switch controlling signal, and is moving
When dynamic terminal is passive states, the power output end of NFC chip and the power input of a SE are connected,
To control NFC chip to be powered as a SE.
With reference to first aspect, the first to second of first aspect any one possible implementation,
In the third possible implementation method of one side, NFC chip includes two SWP interfaces, SE set
Built-in security module eSE including the external SE outside NFC chip and inside NFC chip.
With reference to the third possible implementation of first aspect, in the 4th kind of possible reality of first aspect
Apply in mode, control module is additionally operable to send SWP switching signals, SWP switching signals to NFC chip
For indicating NFC chip to gate SWP interfaces corresponding with a SE;
NFC chip, the SWP switching signals gating for being sent according to control module is corresponding with a SE
SWP interfaces;
SWP handover modules, for a SE to be connected into the SWP interfaces that NFC chip is gated.
With reference to the third or the 4th kind of possible implementation method of first aspect, at the 5th kind of first aspect
In possible implementation method, NFC chip is controlled not for external SE powers, to save electric power.
With reference to the 5th kind of possible implementation method of first aspect, in the 6th kind of possible implementation of first aspect
In mode, switch element is additionally operable to, when mobile terminal is active, disconnect the power supply of NFC chip
The connection of output end and the power input of external SE.
With reference to the 3rd to the 6th kind of first aspect any one possible implementation, the of first aspect
In seven kinds of possible implementation methods, SE set includes the first external SE, second external SE and eSE;
NFC chip includes the eSE in NFC control modules and SE set, and SWP handover modules are opened including first
Pass, second switch, the 3rd switch, the 4th switch and trigger;Wherein,
The public COM ends of first switch connect the power supply VCC ends of the first external SE, first switch
First power output end of normally opened NO ends connection PMU PMU, the normally closed NC of first switch
The NC ends of the switch of end connection the 4th, the enable EN ends of first switch connect the first power output end;
The COM ends of second switch connect a SWP interface ends of NFC control modules, second switch
NO ends connect the SWP interface ends of the 2nd SE, the NC ends of second switch connect the SWP of a SE
Interface end, the EN ends of second switch connect the output end of trigger;
The COM ends of the 3rd switch connect the VCC ends of the 2nd SE, the NO ends connection PMU of the 3rd switch
Second source output end, the 3rd switch NC ends connection the 4th switch NO ends, the 3rd switch
EN ends connect second source output end;
The COM ends of the 4th switch connect the SIMVCC ends of NFC control modules, the EN of the 4th switch
The output end of end connection trigger;
The universal input output GPIO ends of the input link control module of trigger;
The I2C ends of the universal serial bus I2C ends link control module of NFC control modules, NFC control modules
PMUVCC ends connect an output end for not gate, the input of not gate connects the 3rd power supply of PMU
Output end;
2nd SWP interface ends of NFC control modules connect the SWP interface ends of eSE, NFC control moulds
The power supply SVDD ends of block connect the power supply ESEVDD ends of eSE.
Second aspect, the embodiment of the present invention provides a kind of mobile terminal, and mobile terminal is suitable to receive the first visitor
Family identification module SIM and the second client identification module SIM, wraps respectively in a SIM and the 2nd SIM
The first security module SE and the second security module SE is included, mobile terminal includes:
Near-field communication NFC controller, single line connection protocol SWP switch units and processor;
NFC controller includes a SWP interfaces;
SWP switch units are used to in a SE and the 2nd SE to be connected to a SWP interfaces;
Processor, for sending switching signal to SWP switch units, to indicate SWP switch units to incite somebody to action
One in first SE and the 2nd SE is connected to a SWP interfaces.The mobile terminal then can compared with
In the case of few SWP interfaces, multichannel NFC function is realized.
With reference to second aspect, in the first possible implementation method of second aspect, NFC controller bag
The 2nd SWP interfaces are included, the 2nd SWP interfaces are connected with built-in security module eSE.
With reference to the first possible implementation method of second aspect or second aspect, the second of second aspect
Plant in possible implementation method, SWP switch units are additionally operable to, when mobile terminal is passive states, keep
Connection status of the NFC controller when mobile terminal is active with each SE, and control NFC to control
Device is that the SE for being in connected state with NFC controller powers, so that user can be in mobile terminal
NFC function can also be used during for passive states, while being connected when ensure that mobile terminal is passive states
SE and the user SE that selection is connected when mobile terminal is active uniformity..
With reference to the first possible implementation method of second aspect, in the third possible reality of second aspect
Apply in mode, processor is additionally operable to send SWP switching signals, SWP switching signals to NFC controller
One in for indicating NFC controller to gate a SWP interfaces and the 2nd SWP interfaces;
NFC controller, the SWP switching signals for being sent according to processor gate a SWP interfaces
With in the 2nd SWP interfaces.
With reference to second aspect, second aspect first to the third any one possible implementation,
In 4th kind of possible implementation method of two aspects, SWP switch units are additionally operable to when mobile terminal is active
During state, NFC controller is controlled not for a SE and the 2nd SE powers, to save electric power.
Mobile terminal provided in an embodiment of the present invention, what SWP handover modules can send according to control module
NFC switching signals, from SE set in select corresponding SE, by the SE be connected in NFC chip with
The corresponding SWP interfaces of SE groups belonging to the SE;Wherein, the SE of selection connection can at least be included
Any one SE in two SE groups of SE.That is, a SWP interface of NFC chip can be connected
Onto different SE, such that it is able in the case of less SWP interfaces, realize multichannel NFC function.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with this hair
Accompanying drawing in bright embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made
The every other embodiment for obtaining, belongs to the scope of protection of the invention.
Mobile terminal described in the embodiment of the present invention can be mobile phone, personal digital assistant (Personal
Digital Assistant, PDA), panel computer, other portable equipments such as notebook computer.
Technical scheme is described in detail with specifically embodiment below.These have below
The embodiment of body can be combined with each other, may be in some embodiments for same or analogous concept or process
Repeat no more.
Fig. 1 is a kind of electrical block diagram of the mobile terminal that the embodiment of the present invention one is provided, such as Fig. 1
Shown, mobile terminal includes:NFC chip, SWP handover modules, control module and comprising multiple SE
SE set, wherein, NFC chip include two SWP interfaces, a respectively SWP interfaces and
2nd SWP interfaces (are represented) with SWP1 and SWP2 respectively in Fig. 1;SE set includes a SE
Group and an eSE, SE groups include two external SE, the respectively first external SE and the second external SE
(being represented with SE1 and SE2 respectively in Fig. 1);NFC chip includes that NFC control modules and SE gather
In eSE, SWP handover modules include first switch, second switch, third switch, the 4th switch (figure
Represented with switch 1, switch 2, switch 3 and switch 4 respectively in 1) and trigger.
Wherein, the public COM ends of first switch connect the power supply VCC ends of the first external SE, first
The normally opened NO ends of switch connect PMU (Phasor Measurement Unit, abbreviation PMU)
The first power output end (the not shown PMU of Fig. 1, the output end is represented with SE1VCC), first opens
The NC ends of the switch of normally closed NC ends connection the 4th for closing, the enable EN ends of first switch connect the first power supply
Output end;The COM ends of second switch connect a SWP interface ends of NFC control modules, second
The NO ends of switch connect the SWP interface ends of the 2nd SE, and the NC ends of second switch connect a SE
SWP interface ends, the EN ends of second switch connect the output end of trigger;The COM of the 3rd switch
The VCC ends of the 2nd SE of end connection, the NO ends of the 3rd switch connect the second source output end of PMU
(being represented with SE2VCC in Fig. 1), the NO ends of the switch of NC ends connection the 4th of the 3rd switch, the
The EN ends connection second source output end of three switches;The COM ends connection NFC control moulds of the 4th switch
The SIMVCC ends of block, the EN ends of the 4th switch connect the output end of trigger;The input of trigger
The universal input output GPIO ends of link control module;The universal serial bus I2C ends of NFC control modules connect
The I2C ends of control module are connect, the PMUVCC ends of NFC control modules connect an output end for not gate,
The input of not gate connects the 3rd power output end (being represented with VDD1V8 in Fig. 1) of PMU;NFC
2nd SWP interface ends of control module connect the SWP interface ends of eSE, the power supply of NFC control modules
SVDD ends connect the power supply ESEVDD ends of eSE.
In foregoing circuit structural representation, the SWP switching signals that NFC chip sends according to control module,
SWP1 or SWP2 can be gated;When SWP1 is gated, the NFC that trigger sends according to control module
, can be connected to any one in SE1 and SE2 on the SWP1 of NFC chip by switching signal, when
When SWP2 is gated, eSE is connected with SWP2.Specifically, trigger can be d type flip flop, T ' touch
Hair device etc., NFC switching signals and SWP switching signals can be level signal or pulse signal etc., under
Mask body is with trigger as T ' trigger, NFC switching signals be pulse signal, SWP from low to high
Switching signal is explanatory diagram 1 as a example by level signal (high level correspondence SWP1, low level correspondence SWP2)
The operation principle of shown electrical block diagram.
When mobile terminal is active, SE1VCC, SE2VCC and VDD1V8 end of PMU are defeated
Go out signal for high level signal, the input signal at the EN ends of switch 1 is high level signal, switch 1
COM ends and NO ends turn on, and PMU powers for SE1;The input signal at the EN ends of switch 3 is height
Level signal, COM ends and NO the ends conducting of switch 3, PMU powers for SE2;NFC controls mould
The input signal at the PMUVCC ends of block is low level signal, the SIMVCC ends quilt of NFC control modules
Disabling, NFC chip is not for SE powers.
Assuming that the SE of NFC chip currently connection is SE1, now trigger output signal is low level letter
Number.User selects SE2, and control module can then send pulse signal to trigger, and trigger receives arteries and veins
Output signal is overturn after rushing signal, and high level signal is changed into from low level signal, now switchs 2
EN ends input signal is high level signal, COM ends and NO the ends conducting of switch 2, SWP1 and SE2
Realize connection.User is switched to SE1 from SE2, and control module sends pulse signal to trigger, triggering
Output signal is overturn after device receives pulse signal, and low level signal is changed into from high level signal, this
The EN ends input signal of Shi Kaiguan 2 is low level signal, and the COM ends and NC ends of switch 2 turn on,
SWP1 realizes being connected with SE1.User is switched to eSE from SE1, and control module sends a low level
Signal gives NFC control modules, NFC control modules gating SWP2, while it is eSE to gate SVDD
Power supply, SWP2 realizes being connected with eSE.If user is switched to SE2 from eSE, control module sends one
Individual high level signal gives NFC control modules, NFC control modules gating SWP1, and disable SVDD with
Save electric power;Meanwhile, control module sends a pulse signal to trigger, and trigger receives pulse
Output end signal is overturn after signal, and high level signal is changed into from low level signal, now switchs 2
EN ends input signal is high level signal, COM ends and NO the ends conducting of switch 2, SWP1 and SE2
Realize connection.If user is switched to SE1 from eSE, control module need to only send a high level signal to
NFC control modules, NFC control modules gating SWP1, SWP1 and SE1 realize being connected, and disable
SVDD is saving electric power.
When mobile terminal is passive states, SE1VCC, SE2VCC and VDD1V8 end of PMU are defeated
Go out signal for low level signal, the input signal at the EN ends of switch 1 is low level signal, switch 1
COM ends and NC ends turn on, and NFC chip can power for SE1;The input letter at the EN ends of switch 3
Number it is low level signal, COM ends and NC the ends conducting of switch 3, NFC chip can supply for SE2
Electricity;The input signal at the PMUVCC ends of NFC control modules is high level signal, NFC control modules
SIMVCC ends be strobed, NFC chip can power for external SE.
Assuming that NFC chip SE for connecting when mobile terminal is active is SE1, now trigger
Output signal is low level signal.Mobile terminal is converted to passive states from active, and control module is not
The output signal of pulse signal from low to high, trigger can be produced to keep constant, still for low level is believed
Number, COM ends and NC the ends conducting of switch 2, SWP1 are connected with SE1;Meanwhile, switch 4
The input signal at EN ends is low level signal, and the COM ends and NC ends of switch 4 turn on, and pass through
Above-mentioned analysis understood, COM ends and NC the ends conducting of switch 1, and now NFC chip is powered for SE1,
SWP1 is connected with SE1.
Assuming that NFC chip SE for connecting when mobile terminal is active is SE2, now trigger
Output signal is high level signal.Mobile terminal is converted to passive states from active, and control module is not
The output signal of pulse signal from low to high, trigger can be produced to keep constant, still for high level is believed
Number, COM ends and NO the ends conducting of switch 2, SWP1 are connected with SE2;Meanwhile, switch 4
The input signal at EN ends is high level signal, and the COM ends and NO ends of switch 4 turn on, and pass through
Above-mentioned analysis understood, COM ends and NC the ends conducting of switch 3, and now NFC chip is powered for SE2,
SWP1 is connected with SE2.
The mobile terminal that the present embodiment is provided, SE set includes two external SE and eSE, SWP
The NFC switching signals that handover module is sent according to control module can will be any one in two external SE
It is individual to be connected on a SWP interfaces of NFC chip, two-way NFC is realized by a SWP interface
Function;Another eSE may be coupled on the 2nd SWP interfaces of NFC chip, realize all the way
NFC function, i.e., the NFC chip with two SWP interfaces realizes three tunnel NFC functions.
Electrical block diagram shown in above-mentioned Fig. 1 realizes three tunnel NFC functions, and it is intended only as one kind
Example is illustrated, and those skilled in the art can be with the increase of technology according to the present invention project compatibility
The quantity of the device such as SWP handover modules breaker in middle and trigger and control signal realizes multichannel NFC
Function.Illustrated below by Fig. 2, specific circuit structure may be referred to Fig. 1, no longer show herein
Go out.
Fig. 2 is the structural representation of the mobile terminal that the embodiment of the present invention two is provided, and the present embodiment is to upper
The extension optimization of embodiment illustrated in fig. 1 is stated, for realizing multichannel NFC function.As shown in Fig. 2 this reality
The mobile terminal for applying example offer includes:NFC chip 100, single line connection protocol SWP handover modules 200,
Control module 300 and SE gather, SWP handover modules 200 respectively with NFC chip 100 and control mould
Block 300 is connected;Control module 300, for sending NFC switching signals to SWP handover modules 200;
NFC switching signals are used to indicate SWP handover modules 200 from security module SE Resource selections first
SE401 is connected in NFC chip 100 and the corresponding SWP of a SE groups 411 belonging to a SE401
Interface;Wherein, SE set includes that (SE set includes SE groups 410 at least one SE groups in such as Fig. 2
With SE groups 420), SE groups include at least two SE400, each SE group one SWP interface of correspondence
(the corresponding SWP interfaces 110 of SE groups 410 in such as Fig. 2, the corresponding SWP interfaces 120 of SE groups 420);
First SE groups 411 are any one the SE group in SE set, and a SE401 is a SE groups 411
In any one SE400;SWP handover modules 200, for according to NFC switching signals by a SE401
It is connected in NFC chip 100 and the corresponding SWP interfaces of a SE groups 411.
Specifically, NFC chip 100 can be the chip with NFC function of existing various models,
Its SWP interface (such as can set two for one or more in the NFC chip of model PN65T
SWP interfaces).
Control module 300 can be specifically central processing unit (the Central Processing in mobile terminal
Unit, abbreviation CPU), can be sent to for corresponding NFC switching signals according to the selection of user by it
SWP handover modules 200, so that the SE400 of selection is connected to NFC cores by SWP handover modules 200
On piece 100 on corresponding SWP interfaces.Wherein, NFC switching signals can be level signal or
Pulse signal etc., specifically can need selection according to design.
SWP handover modules 200 can be made up of switch, and it can be according to the difference of NFC switching signals
SE400 correspondences different during SE is gathered are connected on the SWP interfaces of NFC chip 100.Wherein,
SE set includes a SWP interface of at least one SE groups, a SE group and NFC chip 100
Corresponding, any one SE400 in a SE group may be coupled to SWP corresponding with the SE groups
On interface.When the SWP interfaces in NFC chip 100 have multiple, whether each SWP interface is set
Corresponding SE groups can be selected as needed, and accordingly, SWP handover modules 200 can also be as needed
Set.For example:NFC chip 100 has two SWP interfaces, one of SWP interfaces correspondence one
Including the SE groups of multiple SE400 and a SWP handover module 200;Another SWP interface can be with
It is directly connected to a SE400, it is also possible to correspondence one SE group and a SWP handover module 200;When
When two SWP interfaces all set SE groups, two corresponding SWP handover modules 200 can be separated and set
Put, it is also possible to merge into one, specifically can arbitrarily set as needed.It is specifically with NFC in Fig. 2
Chip 100 has two SWP interfaces, respectively SWP interfaces 110 and SWP interfaces 120, SWP
Correspondence SE group 410, the SWP interfaces 120 correspondence SE of interface 110 groups 420, SE groups 410 and SE groups
420 corresponding SWP handover modules are illustrative as a example by merging into one.
It should be noted that the SE400 in the present embodiment can be SIM, SD card or be solidificated in NFC
The species of the eSE in chip 100, the SE400 in each SE group can be selected arbitrarily as needed.Figure
2 is to include two SWP interfaces with NFC chip, and SE set includes carrying out example as a example by two SE groups
Property explanation, be not intended to limit the present invention;Wherein, a SE401 represents the SE400 of current selection connection,
Any one selected SE400 can be referred to as a SE401 in SE groups, be intended merely to just in Fig. 2
Illustrated in more clearly explanation technical scheme;First SE groups 411 are with first
The implication of SE401 is similar to.
By taking the mobile terminal shown in Fig. 2 as an example, the present embodiment provide mobile terminal in concrete application,
User can need the SE400 of communication according to the selection that is actually needed of oneself, and control module 300 will correspondence
NFC switching signals be sent to SWP handover modules 200, SWP handover modules 200 are according to the NFC
Switching signal, selects corresponding SE400 (i.e. a SE401), by a SE401 from SE set
It is right with SE groups (i.e. a SE groups 411) belonging to a SE401 to be connected in NFC chip 100
The SWP interfaces (such as the SWP interfaces 110 in figure) answered, so as to realize a SE401 and NFC
Communication between chip;Other any one SE400 in user reselects a SE groups 411
When, control module 300 will send new NFC switching signals to SWP handover modules 200, and SWP cuts
According to the NFC switching signals, the SE400 that will be reselected is connected to NFC chip 100 to mold changing block 200
The corresponding SWP interfaces of a upper SE groups 411 (the SWP interfaces 110 i.e. in figure).That is,
Different according to NFC switching signals, SWP handover modules 200 can be by multiple different in a SE group
SE400 is connected on an interface of NFC chip 100, so that a SWP of NFC chip 100
Interface can be realized as multichannel NFC function, when NFC chip 100 has two SWP interfaces, then may be used
To realize at least three tunnel NFC functions.
The mobile terminal that the present embodiment is provided, the NFC that SWP handover modules can send according to control module
Switching signal, corresponding SE is selected from SE set, and the SE is connected in NFC chip and the SE
The corresponding SWP interfaces of affiliated SE groups;Wherein, the SE of selection connection can at least include two
Any one SE in the SE groups of SE.That is, a SWP interface of NFC chip may be coupled to not
On same SE, it is achieved thereby that multichannel NFC function;When NFC chip has two SWP interfaces,
The mobile terminal that the present embodiment is provided can then realize at least three tunnel NFC functions.
On the basis of above-described embodiment, as a kind of possible implementation method of the present invention, SWP switching moulds
Block 200 is additionally operable to, when mobile terminal is passive states, keep NFC chip 100 in mobile terminal to have
With the connection status of a SE401 during state of source, and NFC chip 100 is controlled to be supplied for a SE401
Electricity.
Specifically, when mobile terminal is active (mobile terminal is in open state), it is mobile
SE400 in terminal is in normal operating conditions, and user can use NFC function;When mobile terminal is
(mobile terminal is in off-mode), the SE400 in mobile terminal of the prior art during passive states
Cisco unity malfunction, user cannot then use NFC function.In the present embodiment, when mobile terminal is passive
During state, SWP handover modules 200 can control NFC chip 100 to be powered for a SE401, from
And ensureing that SE400 can be with normal work so that user can use NFC function.
Additionally, user would generally select conventional SE400 to realize NFC function, when mobile terminal is from active
When State Transferring is to passive states, the NFC switching signals that SWP handover modules 200 are received are due to falling
Electricity and it may happen that change so that other SE400 can be connected to NFC cores by NFC handover modules
On piece 100.In the present embodiment, SWP handover modules 200 can mobile terminal be passive states when,
Keep NFC chip 100 when mobile terminal is active with the connection status of a SE401 so that
Ensure that the SE400 in connection status selects what is be connected with user when mobile terminal is active
SE400 is consistent, it is to avoid mobile terminal from active to passive states after change the connection shape of SE400
State and to user produce influence.
As a kind of specific embodiment of the present embodiment, as shown in figure 3, SWP handover modules 200 are wrapped
Include switch element 210 and trigger element 220, the input link control module 300 of trigger element 220,
The output end connecting valve unit 210 of trigger element 220;Trigger element 220, for being cut according to NFC
Change signal acquisition switch controlling signal, and the maintained switch control before the arrival of next NFC switching signals
Signal is constant;Switch element 210, for the first SE401 to be connected into NFC according to switch controlling signal
Chip 100, and mobile terminal be passive states when, connect NFC chip 100 power output end with
The power input of the first SE401, to control NFC chip 100 to be powered for a SE401, and
When mobile terminal is active, the power output end of NFC chip 100 and the electricity of a SE401 are disconnected
The connection of source input.
Specifically, trigger element 220 can be made up of trigger, sent when control module 300 is received
NFC switching signals after, a switch controlling signal can be exported, so that switch element 210 is according to this
Be connected to corresponding SE400 in NFC chip 100 by switch controlling signal;Simultaneously in control module 300
Keep the switch controlling signal of output constant before sending next NFC switching signals, therefore mobile whole
End from active be transformed into passive states when, control module 300 does not send NFC switching signals, triggering
The switch controlling signal of the output of unit 220 then keeps constant, so that switch element 210 can be mobile whole
Hold during for passive states, the connection status of SE400 when to keep mobile terminal be active, it is to avoid move
Dynamic terminal from active to passive states after change SE400 connection status and the shadow that is produced to user
Ring.Similar with NFC switching signals, the switch controlling signal can also be level signal or pulse signal etc..
Switch element 210 specifically can be by other switches sets such as single-pole double-throw switch (SPDT) or SP3T switch
Into corresponding SE400 being connected into NFC chip 100 according to switch controlling signal.Mobile whole
Hold during for passive states, switch element 210 can connect NFC chip 100 according to switch controlling signal
The power input of power output end and a SE401 (currently selecting the SE400 being connected), to control
NFC chip processed 100 is powered for a SE401, it is ensured that a SE401 being capable of normal work so that
User can in the power-offstate use NFC function.
The present embodiment provide mobile terminal, SWP handover modules can mobile terminal be passive states when,
Keep NFC chip when mobile terminal is active with the connection status of a SE, and control NFC
Chip is powered for a SE, so that user be able to can also use when mobile terminal is passive states
NFC function, while the SE connected when ensure that mobile terminal is passive states and user are in mobile terminal
The uniformity of the SE of connection is selected during for active.
On the basis of above-described embodiment, as a kind of possible implementation method of the present invention, NFC chip 100
Including two SWP interfaces, SE set includes the external SE being located at outside NFC chip 100 and is located at
Built-in security module eSE inside NFC chip 100.
Specifically, any one SWP interface of NFC chip 100 all can both connect external SE, also
ESE can be connected;External SE includes the removable chip such as SIM and SD card.
Further, in the present embodiment, control module 300 is additionally operable to send SWP to NFC chip 100
Switching signal, SWP switching signals are used to indicate the gating of NFC chip 100 corresponding with a SE401
SWP interfaces;NFC chip 100, for the SWP switching signals choosing sent according to control module 300
Lead to SWP interfaces corresponding with a SE401;SWP handover modules 200, for by a SE401
It is connected to the SWP interfaces that NFC chip 100 is gated.
Specifically, the SE400 that each SWP interface of NFC chip 100 can correspond to connection is different,
Control module 300 can send right according to a SE401 of user's selection connection to NFC chip 100
The SWP switching signals answered, NFC chip 100 is according to SWP switching signals gating and a SE401
Corresponding SWP interfaces (such as the SWP interfaces 110 in Fig. 1), so that NFC chip 100 and
One SE401 can realize communication.The SWP switching signals are similar with NFC switching signals, specifically can be with
It is level signal or pulse signal etc.;Control module 300 can every time need switching SWP interfaces when,
SWP switching signals are sent to NFC chip 100, NFC chip 100 is switched SWP interfaces.
Optionally, in the present embodiment, SWP handover modules 200 are additionally operable to when mobile terminal is active
When, control NFC chip 100 is not for external SE powers.
Specifically, when mobile terminal is active, the control NFC chip of SWP handover modules 200
100, not for external SE powers, make PMU that the supply voltage of normal work is provided for SIM;Meanwhile,
NFC chip 100 need not keep power supply state for the power output end that external SE powers, such that it is able to
Save electric power.For the eSE being solidificated in inside NFC chip 100, NFC chip 100 can be in eSE
When being chosen, the power output end that eSE powers is gated for, makes NFC chip 100 for eSE powers;
When eSE is not selected, the power output end powered for eSE is disabled, to save electric power;Specifically can be with root
According to specific circuit design, the increase control signal of adaptability, to realize the program.
Further, as a kind of specific embodiment, in the present embodiment, SWP handover modules 200
In switch element 210 can mobile terminal be active when, according to switch controlling signal disconnect
The power output end of NFC chip 100 and the connection of the power input of external SE, make PMU be SIM
Card provides the supply voltage of normal work.
Fig. 4 is the structural representation of the mobile terminal that the embodiment of the present invention four is provided, as shown in figure 4, this
Mobile terminal is suitable to receive a SIM500 and the 2nd SIM600, a SIM500 and the in embodiment
Include the first security module SE and the second security module SE in two SIM600 respectively, mobile terminal includes:
NFC controller 700, SWP switch units 800 and processor 900;NFC controller 700 includes
First SWP interfaces 710;SWP switch units 800 are used in a SE510 and the 2nd SE610
One be connected to a SWP interfaces 710;Processor 900, for SWP switch units 800
Switching signal is sent, to indicate SWP switch units 800 by a SE510 and the 2nd SE610
One is connected to a SWP interfaces 710.
Specifically, a SIM500 and the 2nd SIM600 can be multiple SIM of installation in mobile terminal
Any two in card, a SE510 and the 2nd SE610 are integrated in a SIM500 and second respectively
In SIM600;In SWP switch units 800 can with integrated Fig. 1 breaker in middle 1, switch 2, switch 3,
The function of switch 4 and trigger, specific operation principle and technique effect are similar with above-mentioned Fig. 1, herein
Repeat no more.
It should be noted that in the present embodiment, SWP switch units 800 send according to processor 900
Any one in first SE510 and the 2nd SE610 can be connected to NFC controls by NFC switching signals
On first SWP interfaces 710 of device processed 700, two-way NFC function is realized, the program is intended only as
A kind of example, the change SWP switch units 800 of being adapted to property of those skilled in the art, you can realize
More multichannel NFC function.
In one embodiment of this invention, NFC controller 700 can also include the 2nd SWP interfaces,
2nd SWP interfaces are connected with built-in security module eSE.Specific annexation and operation principle can join
See above-mentioned embodiment illustrated in fig. 1.
Further, processor 900 is additionally operable to send SWP switching signals to NFC controller 700,
SWP switching signals are used to indicate NFC controller 700 to gate a SWP interfaces 710 and the 2nd SWP
One in interface;NFC controller 700, for the SWP switching signals sent according to processor 900
Gate in a SWP interfaces 710 and the 2nd SWP interfaces.
Used as a kind of optional implementation method of the embodiment of the present invention, SWP switch units 800 are additionally operable to when shifting
When dynamic terminal is passive states, keep NFC controller 700 when mobile terminal is active with it is each
The connection status of SE, and it is to be in connected state with NFC controller 700 to control NFC controller 700
SE power.
Used as another optional implementation method of the embodiment of the present invention, SWP switch units 800 are additionally operable to work as
When mobile terminal is active, control NFC controller 700 is not a SE510 and the 2nd SE610
Power supply.
The operation principle and technique effect of the present embodiment are similar with above-mentioned Fig. 1-embodiment illustrated in fig. 3, herein
Repeat no more.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right
Its limitation;Although being described in detail to the present invention with reference to foregoing embodiments, this area it is common
Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments,
Or equivalent is carried out to which part or all technical characteristic;And these modifications or replacement, and
The scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution is not made.