CN102163995A - Near field communication realization method for mobile equipment and mobile equipment realizing near field communication - Google Patents

Near field communication realization method for mobile equipment and mobile equipment realizing near field communication Download PDF

Info

Publication number
CN102163995A
CN102163995A CN2010101152342A CN201010115234A CN102163995A CN 102163995 A CN102163995 A CN 102163995A CN 2010101152342 A CN2010101152342 A CN 2010101152342A CN 201010115234 A CN201010115234 A CN 201010115234A CN 102163995 A CN102163995 A CN 102163995A
Authority
CN
China
Prior art keywords
field communication
terminal equipment
smart card
baseband processor
host computers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010101152342A
Other languages
Chinese (zh)
Inventor
贾倩
马景旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2010101152342A priority Critical patent/CN102163995A/en
Priority to PCT/CN2010/074866 priority patent/WO2011103734A1/en
Publication of CN102163995A publication Critical patent/CN102163995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The invention discloses a near field communication realization method for mobile equipment and the mobile equipment realizing near field communication. The method comprises the following steps that: the mobile equipment receives a host selection instruction; the terminal equipment makes a request for activating a baseband processor or a smart card according to the host selection instruction, and sets the baseband processor or smart card requested to be activated to be an active host; and the active host manages the terminal equipment to perform the near field communication with an external reader or an external label. The terminal equipment provided by the invention can select the active host for non-contact application according to specific needs in the presence of a plurality of hosts in a card simulation mode and a reader mode in the near field communication, and is more flexible and convenient to use.

Description

The terminal equipment of the near-field communication implementation method of terminal equipment and realization near-field communication
Technical field
The present invention relates to mobile communication technology, relate in particular to the near-field communication implementation method of terminal equipment and the terminal equipment of realization near-field communication.
Background technology
Near-field communication (NFC:Near Field Communication) technology is a kind of the short distance wireless communication technology, merge differentiation by radio-frequency (RF) identification (RFID:Radio Frequency Identification) technology and interconnection technique, work in 13.56MHz usually.After the integrated NFC technology of mobile communication terminal devices such as mobile phone, can simulate outside Lontactless electronic tag, reader etc., further enlarge the scope of application of mobile phone, it is convenient to bring for people's life, and therefore, this technology has very wide application prospect.
Support the terminal equipment of near field communication (NFC) function generally all to comprise the contactless front end of the NFC that links to each other with the RF antenna (CLF:Contactless Front) chip, difference according to application scenarios, three kinds of different mode of operations of the general support of near-field communication: snap gauge simulation models, reader mode and ad hoc mode, these three kinds of patterns also can transform mutually according to concrete application scenarios.Under reader mode, terminal equipment generates radio frequency (RF:Radio Frequency) field as active devices, the CLF chip be used to realize and outside noncontact tag between near-field communication, promptly from reading and writing information (tag) near contactless " label " of terminal equipment; Under the snap gauge simulation models, the external read device produces the RF field as active devices, the CLF chip be used to realize and the external read device between near-field communication, promptly the terminal equipment simulation is become noncontact tag and the external read device carries out information interaction.
In the NFC technology, terminal equipment provides a mobile host computers (host) that under reader mode or snap gauge simulation models near field communication processes is managed, it is used to manage the generation of RF field and stop, and manages the process that CLF chip and outside noncontact tag or outside contactless reader carry out near-field communication.A kind of NFC application mode commonly used as shown in Figure 1, base band (BaseBand) processor 10 that is mainly used in data processing and storage is mutual by universal asynchronous reception/dispensing device (UART:UniversalAsynchronous Receiver/Transmitter) interface and CLF chip 31, serve as the function that mobile host computers management CLF chip 31 is finished near-field communication by baseband processor 10, CLF chip 31 also can by built-in, connect or the safety certification of the safety chip 41 realization user profile of external plug-in card form separately; Carry out mutual user identity identification (SIM:Subscriber Identity Module) card 21 with baseband processor 10 by modes such as 7816 agreements and only play effects such as user profile storage.Above application mode is present in multiple terminal equipment at present.
The application mode that another kind is called enhancement mode NFC (eNFC:enhanced NFC) as shown in Figure 2, the terminal equipment of this application mode does not possess safety chip 41, the funtion part that application such as safety certification are relevant is placed in the SIM card 21, CLF chip 31 links to each other with the C1 pin of SIM card 21, CLF chip 31 is still mutual by UART interface and baseband processor 10, and undertaken alternately by the function applying portion in single line (SWP:SingleWire Protocol) agreement and the SIM card 31, under this application mode, SIM card 21 is served as mobile host computers management CLF chip 21 and is carried out near-field communication, CLF chip 31 and SIM card 21 can also be obtained energy by radio-frequency antenna, guarantee in terminal equipment electric weight deficiency or also not carry out the application of snap gauge plan under the electric situation, promptly can support the near-field communication under the power down situation.
At present, part terminal equipment has as shown in Figure 3 been concentrated above-mentioned two kinds of application modes, promptly there are 10 two kinds of main frames of SIM card 21 and baseband processor at least, both there had been safety chip 41 in the terminal equipment of this application mode, can serve as mobile host computers management CLF chip 31 by baseband processor 10 and carry out near-field communication; Also there is the SIM card 21 of supporting safety certification and power down communication simultaneously, can serves as mobile host computers management CLF chip 31 by SIM card 21 and carry out near-field communication.Yet, in the practical application, for fear of control hazard, terminal equipment only allows a mobile host computers in running order at synchronization, it is mutual with given outside noncontact tag or outside contactless reader promptly can only to keep a reader application or snap gauge to intend application, therefore the problem that exists main frame to select.
Summary of the invention
Technical problem to be solved by this invention is, a kind of near-field communication implementation method of terminal equipment is provided and realizes the terminal equipment of near-field communication, and the user can select mobile host computers flexibly according to concrete needs, it is convenient to use.
The technical solution adopted for the present invention to solve the technical problems is: a kind of near-field communication implementation method of terminal equipment is provided, comprises baseband processor, smart card and near-field communication module in the terminal equipment, method may further comprise the steps:
Terminal equipment receives the main frame selection instruction;
Terminal equipment is according to described main frame selection instruction requesting activation baseband processor or smart card, and baseband processor or smart card that described request activates are set to mobile host computers;
Described mobile host computers management terminal device and external read device or external label carry out near-field communication.
When terminal equipment is configured to reader mode, terminal equipment is according to described main frame selection instruction requesting activation baseband processor or smart card, and the mode that the baseband processor that activates of described request or smart card are set to mobile host computers is: the reader radio frequency door of the reader application door in baseband processor or the smart card in near-field communication module initiates to activate request event, and baseband processor or smart card that the described initiation of near-field communication module activates request event are set to mobile host computers.
When terminal equipment is configured to the snap gauge simulation models, terminal equipment is according to described main frame selection instruction requesting activation baseband processor or smart card, and the mode that the baseband processor that activates of described request or smart card are set to mobile host computers is: near-field communication module provides application programming interface in advance, terminal equipment is by described programming interface notice described baseband processor of near-field communication module or smart card requesting activation, and baseband processor or smart card that the near-field communication module described request activates are set to mobile host computers.
Further, after described near-field communication is finished, also comprise the step of the automatic releasing activity main frame of terminal equipment.
In the described near field communication processes, if terminal equipment receives the main frame selection instruction once more, then the terminal equipment refusal is carried out the described main frame selection instruction that receives once more.
The concrete mode that terminal equipment receives the main frame selection instruction is: terminal equipment receives the main frame selection instruction by man-machine interface.
In the near field communication processes under the reader mode, also comprise the step of external label being carried out safety certification: when baseband processor being set being mobile host computers, carry out safety certification by the security authentication module in the described terminal equipment; When smart card being set being mobile host computers, carry out safety certification by described smart card.
In the near field communication processes under the snap gauge simulation models, also comprise the step of outside reader being carried out safety certification: when baseband processor being set being mobile host computers, carry out safety certification by the security authentication module in the described terminal equipment; When smart card being set being mobile host computers, carry out safety certification by described smart card.
When terminal equipment is not provided with mobile host computers by the main frame selection instruction, be mobile host computers with a default setting in described baseband processor or the smart card.
If there are a plurality of smart cards in the terminal equipment, and described main frame selection instruction is selected one of them smart card, then terminal equipment is according to the described selecteed smart card of described main frame selection instruction requesting activation, and described selecteed smart card is set to mobile host computers.
The present invention has also protected a kind of and external read device or external label to realize the terminal equipment of near-field communication, comprises baseband processor, smart card and is connected the near-field communication module of antenna, also comprises the command reception module;
The command reception module is used to receive the main frame selection instruction;
Near-field communication module is used for accepting according to described main frame selection instruction the activation request of baseband processor or smart card, and baseband processor or smart card that described request activates are set to mobile host computers;
After baseband processor or smart card are set to mobile host computers, are used to manage described near-field communication module and external read device or external label and carry out near-field communication.
When terminal equipment is configured to reader mode, be provided with the reader application door in baseband processor or the smart card, be provided with reader radio frequency door in the near-field communication module;
Described reader application door is used for initiating to activate request event to described reader radio frequency door, and the baseband processor or the smart card that make the described initiation of near-field communication module activate request event are set to mobile host computers.
When terminal equipment was configured to the snap gauge simulation models, near-field communication module provided application programming interface in advance;
Described programming interface is used to notify described baseband processor of near-field communication module or smart card requesting activation, and baseband processor or smart card that the near-field communication module described request is activated are set to mobile host computers.
The invention has the beneficial effects as follows, when having realized that there is a plurality of main frame in terminal equipment under the snap gauge simulation models of near-field communication and reader mode, the user can select baseband processor or SIM card to carry out contactless application as mobile host computers according to concrete needs, uses more flexible.
If the user selects SIM card as mobile host computers, then terminal equipment still can carry out near-field communication under power-down state, has further satisfied user's request.
Description of drawings
Fig. 1 is existing NFC application mode block diagram;
Fig. 2 is existing eNFC application mode block diagram;
Fig. 3 is the terminal equipment structured flowchart that the realization main frame of an embodiment of the present invention is selected;
Fig. 4 is the main frame system of selection flow chart of an embodiment of the present invention;
Fig. 5 is the main frame system of selection flow chart under the reader application pattern of an embodiment of the present invention;
Fig. 6 is that the snap gauge of an embodiment of the present invention is intended the main frame system of selection flow chart under the application model.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
As shown in Figure 3, the terminal equipment of present embodiment comprises baseband processor 10, smart card 20, connects the near-field communication module 30 of RF antenna, also comprise command reception module 50, the terminal equipment of most of support information safety certifications also comprises security authentication module 40.Terminal equipment includes but not limited to GSM (Global System for Mobile Communications: global system for mobile communications), CDMA (Code-Division Multiple Access: code division multiple access), WCDMA (Wideband CodeDivision Multiple Access: wideband CDMA), TD-SCDMA (TimeDivision-Synchronous Code Division Multiple Access: the CDMA (Code Division Multiple Access) that the time-division is synchronous), CDMA2000 (Code Division Multiple Access 2000: CDMA 2000), LTE (Long Term Evolution: Long Term Evolution), the mobile phone of multiple standard such as LTE+, notebook computer, palmtop PC, and other above combined multimode terminals of various standards.Baseband processor 10 is mainly used in functions such as the data processing that realizes terminal equipment and storage, and smart card 20 can be SIM card, UIM card (User Identity Module: Removable User Identity Module), R-UIM card (Removable-User Identity Module: Removable User Identity Module), usim card (Universal Subscriber Identity Module: global Subscriber Identity Module), UICC card (Universal Integrated Circuit Card: Universal Integrated Circuit Card), the composite class card of Java card (smart card that uses the Java card platform to create) and above-mentioned card class.
Command reception module 50 can be the man-machine interface that terminal equipment provides, also can be for the special button that is provided with on the terminal equipment etc., be used to receive user's main frame selection instruction, for example user's man-machine interface that can provide by terminal equipment is selected baseband processor 10 or smart card 20 as mobile host computers.
Near-field communication module 30 is used for accepting according to the main frame selection instruction that command reception module 50 receives the activation request of baseband processor 10 or smart card 20, and the baseband processor 10 or the smart card 20 of requesting activation is set to mobile host computers.After the mobile host computers setting is finished, near-field communication module 30 promptly can be used as the agency between mobile host computers and outside contactless reader or other forms of external read device, outside noncontact tag or the other forms of external label, and external read device or external label with close terminal equipment under the management of mobile host computers carry out near-field communication.The near-field communication module 30 preferred CLF chips 31 that adopt.
When the terminal equipment of present embodiment is configured to reader mode, there is reader application door (Reader Application Gate) in baseband processor 10 or the smart card 20, has reader radio frequency door (Reader RF Gate) in the near-field communication module 30.Set up data transmission channel between Reader Application Gate and the corresponding Reader RF Gate, can near field communication processes, carry out transfer of data.In the selection course of mobile host computers, after command reception module 50 receives user's main frame selection instruction, shown in the chain-dotted line as shown in Figure 3, command reception module 50 is carried out data interaction with selected baseband processor 10 of main frame selection instruction or smart card 20, Reader Application Gate in baseband processor 10 or the smart card 20 initiates to activate request event (EVT_ERADER_REQUEST) according to the Reader RF Gate of regulation in near-field communication module 30 of near-field communication international standard, and the baseband processor 10 or the smart card 20 that make near-field communication module 30 will initiate the activation request event are set to mobile host computers.
Under the reader mode, the terminal equipment that has the safety certification function for major part, be mobile host computers if baseband processor 10 is set, then security authentication module 40 is used for carrying out communication process at near-field communication module 30 and external label, and external label is carried out safety certification; Be mobile host computers if smart card 20 is set, then smart card 20 also is used for carrying out communication process at near-field communication module 30 and external label, and external label is carried out safety certification.
When the terminal equipment of present embodiment is configured to the snap gauge simulation models, near-field communication module 30 provides application programming interface (api interface) in advance, after command reception module 50 receives user's main frame selection instruction, shown in the dotted line as shown in Figure 3, command reception module 50 is carried out data interaction with near-field communication module 30, api interface makes near-field communication module 30 that the baseband processor 10 or the smart card 20 of requesting activation are set to mobile host computers according to main frame selection instruction notice near-field communication module 30 some baseband processor 10 or smart card 20 requesting activation.
Accordingly, under the snap gauge simulation models, have the terminal equipment of safety certification function, be mobile host computers if baseband processor 10 is set for major part, then security authentication module 40 is used for carrying out communication process at near-field communication module 30 and external read device, and outside reader is carried out safety certification; Be mobile host computers if smart card 20 is set, then smart card 20 also is used for carrying out communication process at near-field communication module 30 and external read device, and outside reader is carried out safety certification.
No matter the snap gauge simulation models still is under the reader mode, the modes such as man-machine interface that the user can provide by terminal equipment, select flexibly the baseband processor in the terminal equipment 10 or smart card 20 as current mobile host computers according to concrete needs, thus management near-field communication module 30 and the near-field communication of realizing data service near the outside contactless reader or the outside noncontact tag of terminal equipment.
As shown in Figure 4, in the near-field communication implementation method of a kind of terminal equipment provided by the invention, realize that the method that main frame is selected mainly may further comprise the steps:
S400: terminal equipment receives user's main frame selection instruction, for example user's man-machine interface input that can provide by terminal equipment is selected baseband processor 10 or smart card 20 also can to select by the special button that is provided with on the terminal equipment as mobile host computers.If there are a plurality of smart cards 20 in the terminal equipment, the user also can select wherein some smart cards 20 as mobile host computers by modes such as man-machine interfaces.
S401: terminal equipment is according to user's main frame selection instruction requesting activation baseband processor 10 or smart card 20, and near-field communication module 30 is set to mobile host computers with the baseband processor 10 or the smart card 20 of requesting activation.Consider the general international standard of present near-field communication technology, terminal equipment is operated under the reader mode different with the concrete mode of snap gauge simulation models activation of following time mobile host computers.Promptly under reader mode, the Reader RF Gate of Reader ApplicationGate in baseband processor 10 or the smart card 20 in near-field communication module 30 initiates to activate request event, and baseband processor 10 or smart card 20 that near-field communication module 30 will be initiated the activation request event are set to mobile host computers.Under the snap gauge simulation models, near-field communication module 30 provides api interface in advance, terminal equipment is by these api interface notice near-field communication module 30 baseband processor 10 or smart card 20 requesting activation, and near-field communication module 30 is set to mobile host computers with the baseband processor 10 or the smart card 20 of requesting activation.
For the terminal equipment that has a plurality of smart cards 30, the smart card 20 that terminal equipment is selected according to main frame selection instruction requesting activation step S401, and should be set to mobile host computers by selecteed smart card 20.
S402: mobile host computers management terminal device and external read device or external label carry out communication, terminal equipment is under reader mode, mobile host computers management near-field communication module 30 is opened the RF field and is begun to detect external label, and realizes transfer of data by virtual data channel special between mobile host computers and the near-field communication module 30; Terminal equipment after near-field communication module 30 detects a RF field, is realized data passes by virtual data channel special between mobile host computers and the near-field communication module 30 under the snap gauge simulation models.
Because most of near-field communication technology all need to cooperate security authentication mechanism to guarantee user's information security, so this step also can further comprise safety certification.
Particularly, under the reader mode, the mode of external label being carried out safety certification is: when baseband processor 10 is set for mobile host computers, realize safety certification by the security authentication module in the terminal equipment 40; When smart card 20 is set for mobile host computers, carry out safety certification and other application by this smart card 20.
Under the snap gauge simulation models, the mode of outside reader being carried out safety certification is: when baseband processor 10 is set for mobile host computers, carry out safety certification by the security authentication module in the terminal equipment 40; When smart card being set being mobile host computers, carry out safety certification and other application by this smart card 20.
Mobile host computers for fear of current selection is in operating state, be in the near field communication processes, the conflict situation that the user selects another mobile host computers to cause by the main frame selection instruction again, terminal equipment can refuse to carry out this main frame selection instruction, particularly, terminal equipment also can be pointed out the user the current mobile host computers that existed by man-machine interface, and new mobile host computers is set in the reader application or the analog card application that must stop this mobile host computers earlier again.Certainly, also can be when mobile host computers be in running order, directly shielding is correlated with option to reject user's main frame selection instruction on man-machine interface.
S403: after terminal equipment and external read device or external label were finished communication, the releasing activity main frame was got back to the selection once more that no mobile host computers state is waited for the user automatically, also can return the mobile host computers of default setting.
Because the terminal equipment in the snap gauge simulation models is in passive state usually, in order to guarantee the external read device data in the reading terminal equipment smoothly, terminal equipment can be a mobile host computers with a default setting in baseband processor 10 or the smart card 20 before receiving user's main frame selection instruction, be not provided with under the state of mobile host computers by the main frame selection instruction after the releasing activity main frame etc. automatically.Behind the default setting mobile host computers, if the mobile host computers of main frame that the user selects by the main frame selection instruction and default setting is identical, then to need not to reset this main frame be mobile host computers to terminal equipment, otherwise according to step switching activity main frame shown in Figure 4.
As shown in Figure 5, the mobile phone of an embodiment of the present invention selects SIM card 21 to may further comprise the steps for the idiographic flow of mobile host computers under reader mode:
S500: under reader mode, after CLF chip 31 powers on for SIM card 21, adopt single-wire-protocol to set up communicating by letter of physical layer and data Layer between SIM card 21 and the CLF chip 31, SIM card 21 is obtained in the CLF chip 31 the Reader RF Gate 32 that exists, and sets up and open in the SIM card 21 data transmission channel between the Reader RF Gate32 corresponding among the Reader Application Gate 22 and CLF chip 31; Meanwhile, the data transmission channel between the Reader RF Gate 32 corresponding in wherein Reader Application Gate and the CLF chip 31 is set up and opened to baseband processor 10.This moment is state because the terminal equipment in the reader mode has the initiative usually, and default mobile host computers can be set, and promptly keeps no mobile host computers state, when mobile phone need begin reader application, selects mobile host computers by the user.
S501: after the user selects mobile host computers to be a certain SIM card 21 from the man-machine interface 51 of mobile phone, man-machine interface 51 notice SIM card 21.If there are a plurality of SIM card 21 in mobile phone, then man-machine interface 51 is notified some SIM card 21 that the user chooses.
Reader Application Gate 22 in the S502:SIM card 21 initiates to activate request event EVT_READER_REQUEST to the Reader RF Gate 32 in the CLF chip 31, show this SIM card 21 requesting activation, the activation of this step is initiated mode and has been defined in the near-field communication international standard at present.
It is SIM card 21 that S503:CLF chip 31 is provided with mobile host computers, also can feed back to man-machine interface 51 and watches for users the result is set.
S504: when CLF chip 31 detects outside noncontact tag 60 near mobile phone and reading tag information.
Reader RF Gate 32 in the S505:CLF chip 31 sends label detect-message EVT_TARGET_DISCOVERED to the Reader Application Gate 22 in the SIM card 21, is used to notify Reader Application Gate 22 to detect outside noncontact tag 60.
Reader Application Gate 22 in the S506:SIM card 21 sends reading and writing data message WR_XCHG_DATA to the Reader RF Gate 32 in the CLF chip 31, then, Reader RF Gate 32 in the CLF chip 31 returns response message ANY_OK to SIM card 21, thereby finish the data communication between SIM card 21 and the outside noncontact tag 60, this step can repeat repeatedly.
S507: after data communication was finished, the Reader Application Gate 22 in the SIM card 21 sent and reads end EVT_END_OPERATION to CLF chip 31, and prompting CLF chip 31 is closed the RF field.
S508:SIM card 21 receives the message that CLF chip 31 is successfully closed the RF field, and the releasing activity main frame.
S509:CLE chip 31 recovers no mobile host computers state, waits for when next mobile phone begins reader application and selects mobile host computers once more by the user.
Mobile phone is under reader mode, if the user selects baseband processor 10 to be mobile host computers, then specifically select step and above flow process all fours, only need that the ReaderApplication Gate 22 in the SIM card 21 is replaced to Reader Application Gate in the baseband processor 10 and the Reader RF Gate 32 in the CLF chip 31 carries out data interaction.
In the present embodiment, when a mobile host computers was in running order, another mobile host computers led to a conflict thereby the user may send main frame selection instruction requesting activation.In this case, in order to guarantee normally carrying out of data communication, terminal equipment can be refused a back main frame selection instruction, and the current mobile host computers of prompting user is worked, and also can be selected whether to stop the reader application and the switching activity main frame of current active main frame by the user.For example working as the user has selected baseband processor 10 as mobile host computers, selected baseband processor 10 as mobile host computers once more in the near-field communication process of carrying out, then terminal equipment can be refused this request, the current mobile host computers of prompting user is worked, and is selected whether to stop the reader application of current active main frame by the user.
Among the another kind of embodiment, in order to prevent the selection conflict of mobile host computers,, can shield the options on the man-machine interface if the mobile host computers that the user selects is activated and starts working, behind terminal equipment releasing activity main frame, man-machine interface just provides the options of mobile host computers.
As shown in Figure 6, the mobile phone of an embodiment of the present invention is intended under the application model at snap gauge, selects SIM card 21 to may further comprise the steps as the flow process of mobile host computers:
Step S600: under the snap gauge simulation models, after CLF chip 31 powers on for SIM card 21, adopt single-wire-protocol to set up communicating by letter of physical layer and data Layer between SIM card 21 and the CLF chip 31, SIM card 21 is obtained the Card RF Gate 32 in the CLF chip 31, sets up and open the data transmission channel between the Card RF Gate 32 corresponding in Card Application Gate22 and the CLF chip 31 in the SIM card 21; Meanwhile, the data transmission channel between the Reader RF Gate 32 corresponding in wherein ReaderApplication Gate and the CLF chip 31 is set up and opened to baseband processor 10.Can not be provided with default mobile host computers this moment, promptly keeps no mobile host computers state, and certainly, also can set in advance default mobile host computers is SIM card 21 or baseband controller 10, can also show default mobile host computers simultaneously on man-machine interface 51.
Step S601: it is a certain SIM card 21 that the user selects new mobile host computers from man-machine interface 51, and the api interface that mobile phone utilizes CLF chip 31 to provide in advance is by calling api function notice CLF chip 31SIM card 21 requesting activation.
It is SIM card 21 that step S602:CLF chip 31 is provided with mobile host computers, also can feed back to man-machine interface 51 and watches for users the result is set.
In for example a kind of execution mode, the api function that CLF chip 31 offers mobile phone is defined as SetActiveHost (), this function comprises a variable Host ID, the value of predeterminable Host ID is that " 01 " expression selects baseband controller 10 to be mobile host computers, and the value of Host ID is that " 02 " expression selects SIM card 21 to be mobile host computers.After the user selects mobile host computers by man-machine interface 51, api function will be called in mobile phone inside, and CLF chip 31 is provided with mobile host computers according to the value of Host ID.When CLF chip 31 obtains the Host ID of SetActiveHost () function, the value that also can at first the judge Host ID whether value with the corresponding Host ID of current mobile host computers is identical, if identical expression need not the switching activity main frame, can not make any subsequent treatment; If different, then switching the pairing main frame of Host ID that obtains is mobile host computers.
After setting was finished, CLF chip 31 also can provide return information to mobile phone, if handover success or need not to switch then but return information is TRUE, mobile phone shows new mobile host computers on man-machine interface 51; If be provided with for a certain reason that new mobile host computers is failed then return information is FALSE, mobile phone shows on man-machine interface 51 selects failure.
Step S603:CLF chip 31 detects an external RF field near mobile phone.
Card RF Gate 33 in the step S604:CLF chip 31 sends label detect-message EVT_FIELD_ON to the Card Application Gate 32 in the SIM card 31, and expression has detected the RF field that outside contactless reader 70 provides.
After Card RF Gate 33 in the step S605:CLF chip 31 activates, send and activate notification message EVT_CARD_ACTIVATED to the Card Application Gate 23 in the SIM card 21, notice SIM card 21CLF chip 31 has activated, and can begin to exchange Application Protocol Data Unit (APDU:Application Protocol Data Unit) order.
Card RF Gate 33 in the step S606:CLF chip 31 will transfer to Card Application Gate 23 in the SIM card 21 by data transfer messages EVT_SEND_DATA from the APDU of the contactless reader 70 in outside order, Card Application Gate23 in the SIM card 21 replys by data transfer messages EVT_SEND_DATA, thereby finish the data communication between SIM card 21 and the outside contactless reader 70, this step can repeat repeatedly.
Step S607: when the contactless reader 70 in outside no longer provides the APDU order, show that mobile phone finished snap gauge and intend to have used, the Card RF Gate 33 in the CLF chip 31 sends and activates close message EVT_CARD_DEACTIVED and finishes alternately to Card Application Gate 23 notification datas in the SIM card 21.
Step S608: when the RF field that CLF chip 31 detects outside contactless reader 70 is closed, Card RF Gate 33 sends snap gauge and intends end EVT_FIELD_OFF to the Card Application Gate 23 in the SIM card 21, if when mobile phone is in low electric weight or off-mode, can not send this incident.
Step S609: this contactless card simulation application is finished, automatic releasing activity main frame of mobile phone and notice CLF chip 31.
It is baseband processor 10 that step S610:CLF chip 31 can recover to be provided with mobile host computers.
Mobile phone is under the snap gauge simulation models, if selecting to switch baseband processor 10, the user is mobile host computers, then specifically select step and above flow process all fours, only need that the CardApplication Gate 32 in the SIM card 21 is replaced to Card Application Gate in the baseband processor 10 and the Card RF Gate 32 in the CLF chip 31 carries out data interaction.
The present invention has realized terminal equipment under the snap gauge simulation models and reader mode of near-field communication, when having a plurality of main frame, can select mobile host computers carry out contactless application according to concrete needs, uses more flexible.
No matter reader mode still is the snap gauge simulation models, when SIM card 21 or other forms of smart card 20 serve as mobile host computers management CLF chip 31 and carry out the work of near-field communication, CLF chip 31 and smart card 20 can obtain energy by radio-frequency antenna, guarantee in terminal equipment electric weight deficiency or also not carry out the snap gauge plan under the electric situation, promptly can support the near-field communication under the power down situation, can further meet consumers' demand.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (13)

1. the near-field communication implementation method of a terminal equipment, terminal equipment comprises baseband processor, smart card and near-field communication module, it is characterized in that, may further comprise the steps:
Terminal equipment receives the main frame selection instruction;
Terminal equipment is according to described main frame selection instruction requesting activation baseband processor or smart card, and baseband processor or smart card that described request activates are set to mobile host computers;
Described mobile host computers management terminal device and external read device or external label carry out near-field communication.
2. method according to claim 1, it is characterized in that, when terminal equipment is configured to reader mode, terminal equipment is according to described main frame selection instruction requesting activation baseband processor or smart card, and the mode that the baseband processor that activates of described request or smart card are set to mobile host computers is:
The reader radio frequency door of reader application door in baseband processor or the smart card in near-field communication module initiates to activate request event, and baseband processor or smart card that the described initiation of near-field communication module activates request event are set to mobile host computers.
3. method according to claim 1, it is characterized in that, when terminal equipment is configured to the snap gauge simulation models, terminal equipment is according to described main frame selection instruction requesting activation baseband processor or smart card, and the mode that the baseband processor that activates of described request or smart card are set to mobile host computers is:
Near-field communication module provides application programming interface in advance, terminal equipment is by described programming interface notice described baseband processor of near-field communication module or smart card requesting activation, and baseband processor or smart card that the near-field communication module described request activates are set to mobile host computers.
4. according to claim 2 or 3 described methods, it is characterized in that, after described near-field communication is finished, also comprise the step of the automatic releasing activity main frame of terminal equipment.
5. according to claim 2 or 3 described methods, it is characterized in that in the described near field communication processes, if terminal equipment receives the main frame selection instruction once more, then the terminal equipment refusal is carried out the described main frame selection instruction that receives once more.
6. according to claim 2 or 3 described methods, it is characterized in that the concrete mode that terminal equipment receives the main frame selection instruction is: terminal equipment receives the main frame selection instruction by man-machine interface.
7. method according to claim 2 is characterized in that, in the described near field communication processes, also comprises the step of external label being carried out safety certification:
When baseband processor being set being mobile host computers, carry out safety certification by the security authentication module in the described terminal equipment;
When smart card being set being mobile host computers, carry out safety certification by described smart card.
8. method according to claim 3 is characterized in that, in the described near field communication processes, also comprises the step of outside reader being carried out safety certification:
When baseband processor being set being mobile host computers, carry out safety certification by the security authentication module in the described terminal equipment;
When smart card being set being mobile host computers, carry out safety certification by described smart card.
9. method according to claim 3 is characterized in that, when terminal equipment is not provided with mobile host computers by the main frame selection instruction, is mobile host computers with a default setting in described baseband processor or the smart card.
10. according to claim 2 or 3 described methods, it is characterized in that, if there are a plurality of smart cards in the terminal equipment, and described main frame selection instruction is selected one of them smart card, then terminal equipment is according to the described selecteed smart card of described main frame selection instruction requesting activation, and described selecteed smart card is set to mobile host computers.
11. realize the terminal equipment of near-field communication with external read device or external label for one kind, comprise baseband processor, smart card and be connected the near-field communication module of antenna, it is characterized in that, also comprise the command reception module;
The command reception module is used to receive the main frame selection instruction;
Near-field communication module is used for accepting according to described main frame selection instruction the activation request of baseband processor or smart card, and baseband processor or smart card that described request activates are set to mobile host computers;
After baseband processor or smart card are set to mobile host computers, are used to manage described near-field communication module and external read device or external label and carry out near-field communication.
12. terminal equipment as claimed in claim 11 is characterized in that, when terminal equipment is configured to reader mode, is provided with the reader application door in baseband processor or the smart card, is provided with reader radio frequency door in the near-field communication module;
Described reader application door is used for initiating to activate request event to described reader radio frequency door, and the baseband processor or the smart card that make the described initiation of near-field communication module activate request event are set to mobile host computers.
13. terminal equipment as claimed in claim 11 is characterized in that, when terminal equipment was configured to the snap gauge simulation models, near-field communication module provided application programming interface in advance;
Described programming interface is used to notify described baseband processor of near-field communication module or smart card requesting activation, and baseband processor or smart card that the near-field communication module described request is activated are set to mobile host computers.
CN2010101152342A 2010-02-23 2010-02-23 Near field communication realization method for mobile equipment and mobile equipment realizing near field communication Pending CN102163995A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010101152342A CN102163995A (en) 2010-02-23 2010-02-23 Near field communication realization method for mobile equipment and mobile equipment realizing near field communication
PCT/CN2010/074866 WO2011103734A1 (en) 2010-02-23 2010-06-30 Method of terminal equipment for implementing near field communication and terminal equipment for implementing near field communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101152342A CN102163995A (en) 2010-02-23 2010-02-23 Near field communication realization method for mobile equipment and mobile equipment realizing near field communication

Publications (1)

Publication Number Publication Date
CN102163995A true CN102163995A (en) 2011-08-24

Family

ID=44464998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101152342A Pending CN102163995A (en) 2010-02-23 2010-02-23 Near field communication realization method for mobile equipment and mobile equipment realizing near field communication

Country Status (2)

Country Link
CN (1) CN102163995A (en)
WO (1) WO2011103734A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646184A (en) * 2012-05-04 2012-08-22 上海天臣防伪技术股份有限公司 Method for reading ISO15693 (International Standard Organization) labels by utilizing NFC (Near Field Communication) mobile phone
CN102811376A (en) * 2012-07-04 2012-12-05 深圳Tcl新技术有限公司 Method and system for activating television application as well as television
CN104753550A (en) * 2013-12-30 2015-07-01 中国移动通信集团公司 Wireless communication terminal and data processing method
CN104769610A (en) * 2012-10-18 2015-07-08 意法爱立信有限公司 Coexistence of RF barcodes and other NFC devices
CN105530033A (en) * 2014-09-28 2016-04-27 中国移动通信集团公司 Method and device for realizing non-contact communication
WO2016127694A1 (en) * 2015-02-11 2016-08-18 深圳市文鼎创数据科技有限公司 A near field communication payment apparatus
CN106330267A (en) * 2016-08-22 2017-01-11 努比亚技术有限公司 Mobile terminal and card opening method based on near field communication
CN107315609A (en) * 2017-06-22 2017-11-03 北京小米移动软件有限公司 The switching method and device of card analog functuion

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902952A (en) * 2014-04-23 2014-07-02 武汉恒达智慧城市交通研发有限公司 Method for identifying identity of geomagnetic sensor based on NFC
CN104102939A (en) * 2014-07-15 2014-10-15 陈业军 HCE (Host-base Card Emulation)-based NFC (Near Field Communication) system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1739083A (en) * 2003-01-17 2006-02-22 3M创新有限公司 Touch simulation system and method
CN101159008A (en) * 2006-10-05 2008-04-09 英赛康特雷斯公司 Mutual authentication method between a communication interface and a host processor of an nfc chipset
EP1912180A2 (en) * 2006-10-12 2008-04-16 Honeywell International Inc. Method and system for controlling a security system using near field communication
US20080109903A1 (en) * 2006-11-07 2008-05-08 Spansion Llc Secure co-processing memory controller integrated into an embedded memory subsystem

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1739083A (en) * 2003-01-17 2006-02-22 3M创新有限公司 Touch simulation system and method
CN101159008A (en) * 2006-10-05 2008-04-09 英赛康特雷斯公司 Mutual authentication method between a communication interface and a host processor of an nfc chipset
EP1912180A2 (en) * 2006-10-12 2008-04-16 Honeywell International Inc. Method and system for controlling a security system using near field communication
US20080109903A1 (en) * 2006-11-07 2008-05-08 Spansion Llc Secure co-processing memory controller integrated into an embedded memory subsystem

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646184B (en) * 2012-05-04 2014-10-22 上海天臣防伪技术股份有限公司 Method for reading ISO15693 (International Standard Organization) labels by utilizing NFC (Near Field Communication) mobile phone
CN102646184A (en) * 2012-05-04 2012-08-22 上海天臣防伪技术股份有限公司 Method for reading ISO15693 (International Standard Organization) labels by utilizing NFC (Near Field Communication) mobile phone
CN102811376B (en) * 2012-07-04 2016-06-22 深圳Tcl新技术有限公司 Activate the method for television applications, system and television set
CN102811376A (en) * 2012-07-04 2012-12-05 深圳Tcl新技术有限公司 Method and system for activating television application as well as television
CN104769610A (en) * 2012-10-18 2015-07-08 意法爱立信有限公司 Coexistence of RF barcodes and other NFC devices
CN104753550A (en) * 2013-12-30 2015-07-01 中国移动通信集团公司 Wireless communication terminal and data processing method
CN104753550B (en) * 2013-12-30 2017-06-20 中国移动通信集团公司 A kind of wireless communication terminal and data processing method
CN105530033A (en) * 2014-09-28 2016-04-27 中国移动通信集团公司 Method and device for realizing non-contact communication
CN105530033B (en) * 2014-09-28 2018-08-28 中国移动通信集团公司 A kind of implementation method and device of contactless communication
WO2016127694A1 (en) * 2015-02-11 2016-08-18 深圳市文鼎创数据科技有限公司 A near field communication payment apparatus
CN106330267A (en) * 2016-08-22 2017-01-11 努比亚技术有限公司 Mobile terminal and card opening method based on near field communication
CN107315609A (en) * 2017-06-22 2017-11-03 北京小米移动软件有限公司 The switching method and device of card analog functuion
CN107315609B (en) * 2017-06-22 2020-09-08 北京小米移动软件有限公司 Switching method and device of card simulation function

Also Published As

Publication number Publication date
WO2011103734A1 (en) 2011-09-01

Similar Documents

Publication Publication Date Title
CN102163995A (en) Near field communication realization method for mobile equipment and mobile equipment realizing near field communication
EP2064649B1 (en) Near field connection establishment
CN105321330A (en) Smart home equipment, binding method, device and system thereof and mobile terminal
CN101465675B (en) Enhancement type close range wireless communication eNFC device and implementing method thereof
CN104853309A (en) Method and system for managing multiple applications in near field communication
CN105263140A (en) System and method for realizing remote authentication of subscriber identity module (SIM) card
CN109478904A (en) A kind of NFC method for processing business, terminal and NFC chip
CN103533542A (en) Method and apparatus for establishing wireless connection between electronic devices
CN102325203B (en) Mobile terminal and communication device thereof
CN101184293A (en) Dual-card intelligent switch method for mobile phone
CN114462560B (en) Analog card switching method, electronic equipment and communication system
US20170154327A1 (en) Mobile Payment Method and Apparatus and Near Field Communication Device
CN101990319A (en) Double-standby wireless terminal
CN101515814A (en) Enhanced near field communication device and realization method thereof
CN203287939U (en) Mobile payment full-card supporting single-wire transport protocol
CN102831659A (en) Device and implement method for NFC combined with locating information
CN101025782A (en) Method and apparatus for contactless interface on ICC supporting high speed interface
CN104184857A (en) Intelligent separated SIM card clamping base device and communication method
CN104066135A (en) Connection switching method based on near field communication and corresponding device
CN103347105A (en) Mobile phone radio-frequency SIM card with SWP function in compatible mode
CN102567770B (en) A kind of smart card and a kind of POS terminal
CN101996340B (en) Subscriber identify module (SIM) card with non-contact communication function and working method thereof
CN103781072A (en) Terminal smart card implementing method and chip
CN103186497A (en) Parallel communication control system and method
CN103619053A (en) Method for using user identification cards and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110824