CN106604254A - Data processing method for NFC communication and terminal - Google Patents
Data processing method for NFC communication and terminal Download PDFInfo
- Publication number
- CN106604254A CN106604254A CN201610908544.7A CN201610908544A CN106604254A CN 106604254 A CN106604254 A CN 106604254A CN 201610908544 A CN201610908544 A CN 201610908544A CN 106604254 A CN106604254 A CN 106604254A
- Authority
- CN
- China
- Prior art keywords
- terminal
- sim
- nfc communication
- sim card
- targeted
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 175
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000000034 method Methods 0.000 claims abstract description 21
- 230000004044 response Effects 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 21
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000003780 insertion Methods 0.000 claims description 4
- 230000037431 insertion Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 101000616761 Homo sapiens Single-minded homolog 2 Proteins 0.000 description 5
- 102100021825 Single-minded homolog 2 Human genes 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 101000703681 Homo sapiens Single-minded homolog 1 Proteins 0.000 description 2
- 102100031980 Single-minded homolog 1 Human genes 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- H04B5/77—
Abstract
The present invention discloses a data processing method for NFC communication and a terminal. The method comprises the steps of upon receiving an NFC opening request message by the terminal, acquiring the attribute information of SIM cards inserted into a plurality of card slots of the terminal; further determining a target SIM card for supporting the NFC communication among the above SIM cards inserted into the plurality of card slots of the terminal; and performing the NFC communication by means of the target SIM card. In an embodiment of the present invention, before the terminal performs the NFC communication by means of the target SIM card, a SIM card tended to perform the NFC communication is already determined to be the target SIM card for supporting the NFC communication. In this way, the problem in the prior art that the card simulated operation fails due to the fact that no SIM card or SIM cards incapable of supporting the NFC communication are inserted into the card slots of the terminal can be effectively avoided. The success probability of the NFC card simulated operation is improved, so that the NFC payment card-swiping experience of a user is improved.
Description
Technical field
The present invention relates to wireless communication technology field, more particularly to a kind of data processing method and end for NFC communication
End.
Background technology
NFC (Near Field Communication, close range wireless communication) art is a kind of noncontact sensing identification skill
Art, it is melted by RFID (Radio Frequency Identification, non-contact radio-frequency identification) technologies and interconnection technique
Change is costared, has the advantages that distance is near, energy consumption is low, safe, be widely used in various types of terminals.Profit
With NFC technique, terminal room can set up wireless connection closely interior, realize data exchange and service safe and convenient, for example,
Smart mobile phone as transportation card, bank card using NFC technique by realizing mobile payment, it is also possible to for electronic entrance ticket,
The other fields such as gate inhibition, bring convenience to people's lives.
To realize NFC function, not only need terminal that there is the application program of NFC chip, NFC antenna and correlation, in addition it is also necessary to
One security module for being used for user safety management, the security module can be arranged on SIM (Subscriber identity
Module, user identity identification) in card, it is also possible to it is arranged on SD (Secure Digital, safe digital) cards or is built in end
In end equipment.In prior art, when security module is arranged in SIM, the NFC chip in terminal unit passes through SWP
(Single Wire Protocol, single wire transmission agreement) switch is connected with the draw-in groove of SIM.When inserting multiple SIM in terminal
During card, user can pass through the draw-in groove of the SIM that a SWP on-off control switching is connected with NFC chip.Then, it is unclear in user
When whether the draw-in groove of Chu's SIM is inserted with the SIM for being built-in with security module, the SIM that user's switching is connected with NFC chip
Draw-in groove carries out card simulated operation, is inserted with may not placing SIM or draw-in groove due to terminal sim card slot and do not support NFC communication
SIM, will be possible to the situation for nfc card simulated operation failure occur, affect Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of data processing method for NFC communication, for carrying out in user's using terminal
Before NFC communication, the targeted SIM card of pending NFC communication is determined, be prevented effectively from because not supporting without card or be inserted with draw-in groove
The SIM of NFC communication and caused snap gauge intends operation failure, so as to improve Consumer's Experience.
A kind of processing method for NFC communication provided in an embodiment of the present invention, including:
Terminal receives the attribute that NFC opens the SIM inserted in multiple draw-in grooves that the terminal is obtained after request message
Information, wherein, can the attribute information of the SIM support NFC communication for identifying the SIM;
The terminal determines multiple cards of the terminal according to the attribute information of the SIM inserted in the plurality of draw-in groove
The targeted SIM card of NFC communication is supported in the SIM inserted in groove;
The terminal carries out NFC communication by the targeted SIM card.
Optionally, before the attribute information of the SIM for inserting in multiple draw-in grooves of the terminal acquisition terminal, also include:
The SIM that the terminal is inserted in the plurality of draw-in groove sends opens logic channel instruction;
The terminal receives the sound that the SIM inserted in the plurality of draw-in groove is returned according to the unlatching logic channel instruction
Information is answered, and the attribute information of the SIM inserted in the plurality of draw-in groove is determined according to the response message.
Optionally, the terminal carries out before NFC communication, also including by the targeted SIM card:
The NFC chip that the terminal is controlled in the terminal by logic switch is connected with the targeted SIM card.
Optionally, the terminal carries out NFC communication by the targeted SIM card, including:
The terminal determines the number of the targeted SIM card that NFC communication is supported in the terminal;
If the terminal determines that the number of the targeted SIM card is one, NFC is carried out by the targeted SIM card and is led to
Letter;
If the terminal determines that the number of the targeted SIM card is multiple, one is selected from multiple targeted SIM cards
Targeted SIM card, and NFC communication is carried out by the targeted SIM card selected.
Optionally, the terminal carries out after NFC communication, also including by the targeted SIM card:
The communications status of the targeted SIM card of NFC communication are carried out described in the terminal monitoring;
If it is determined that the communications status of the targeted SIM card for carrying out NFC communication are failure, then switch prompting information is sent;
The terminal receive user selects information according to the SIM that the switch prompting information is returned, and determines to be switched
Targeted SIM card, and NFC communication is carried out by the to be switched targeted SIM card.
A kind of terminal provided in an embodiment of the present invention, including:
Acquisition module, opens what is inserted in multiple draw-in grooves that the terminal is obtained after request message for receiving NFC
The attribute information of SIM, wherein, can the attribute information of the SIM support NFC communication for identifying the SIM;
Processing module, for according to the attribute information of the SIM inserted in the plurality of draw-in groove, determining many of the terminal
The targeted SIM card of NFC communication is supported in the SIM inserted in individual draw-in groove;
Communication module, for carrying out NFC communication by the targeted SIM card.
Optionally, the terminal also includes transceiver module, and the transceiver module is used for:
Before the attribute information of the SIM inserted in the acquisition module obtains multiple draw-in grooves of the terminal, to institute
State the SIM inserted in multiple draw-in grooves and send unlatching logic channel instruction;
The response message that the SIM inserted in the plurality of draw-in groove is returned according to the unlatching logic channel instruction is received,
And the attribute information of the SIM inserted in the plurality of draw-in groove is determined according to the response message.
Optionally, the processing module is additionally operable to:
Before the communication module carries out NFC communication by the targeted SIM card, the end is controlled by logic switch
NFC chip in end is connected with the targeted SIM card.
Optionally, the processing module is additionally operable to:
Determine the number of the targeted SIM card that NFC communication is supported in the terminal;
The communication module specifically for:
If the processing module determines that the number of the targeted SIM card is one, carried out by the targeted SIM card
NFC communication;
If the processing module determines that the number of the targeted SIM card is multiple, select from multiple targeted SIM cards
One targeted SIM card, and NFC communication is carried out by the targeted SIM card selected.
Optionally, the processing module is additionally operable to:
After the communication module carries out NFC communication by the targeted SIM card, described in monitoring NFC communication is carried out
The communications status of targeted SIM card;
If it is determined that the communications status of the targeted SIM card for carrying out NFC communication are failure, then switch prompting information is sent;
Receive user selects information according to the SIM that the switch prompting information is returned, and determines to be switched target SIM
Card, and NFC communication is carried out by the to be switched targeted SIM card.
The embodiment of the present invention, in terminal groove without card or be inserted with do not support NFC communication SIM and caused card
The problem of simulated operation failure, it is proposed that a kind of data processing method for being effectively used for NFC communication, terminal receives NFC and opens
After opening request message, the attribute information of the SIM inserted in multiple draw-in grooves of the terminal is obtained, and then determine the terminal
The targeted SIM card of NFC communication is supported in the SIM inserted in multiple draw-in grooves, NFC communication is carried out by the targeted SIM card.This
In inventive embodiments, because terminal by targeted SIM card before NFC communication is carried out, it has been determined that carry out the SIM of NFC communication
To support the SIM of NFC communication, so can be prevented effectively from because without SIM or being inserted with and do not support NFC communication in terminal groove
The problem of SIM and caused snap gauge plan operation failure, improves nfc card simulated operation probalility of success, so as to improve user's body
Test.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, can be obtaining it according to these accompanying drawings
His accompanying drawing.
Fig. 1 is the schematic flow sheet corresponding to a kind of data processing method for NFC communication in the embodiment of the present invention;
Fig. 2 is the selection information schematic diagram of the embodiment of the present invention;
Fig. 3 is the switch prompting information schematic diagram of the embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal of the embodiment of the present invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into
One step ground is described in detail, it is clear that described embodiment, only a part of embodiment of the invention, rather than the enforcement of whole
Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made
All other embodiment, belongs to the scope of protection of the invention.
In the embodiment of the present invention, the terminal is internally provided with NFC chip and NFC antenna, and is provided with and carries out NFC and lead to
The corresponding software of letter, can be by supporting that the targeted SIM card of NFC communication carries out NFC communication in order to the terminal.The terminal
Can be the polytype mobile intelligent terminal for supporting NFC communication, such as smart mobile phone, panel computer.
The inside of the terminal is additionally provided with the draw-in groove of multiple SIMs, and a draw-in groove can correspondingly insert a SIM.It is many
The SIM inserted in individual draw-in groove may support NFC communication, it is also possible to not support NFC communication.Wherein, SIM supports NFC communication
The security module being built-in with SIM for user safety management is referred to, so that terminal can be set by the SIM and outside
It is standby to carry out NFC communication.
The embodiment of the present invention is described in further detail with reference to Figure of description.
Fig. 1 is that the flow process corresponding to a kind of data processing method for NFC communication provided in an embodiment of the present invention is illustrated
Figure, as shown in figure 1, comprising the following steps 101 to step 103:
Step 101:Terminal determines that receiving NFC opens insertion in multiple draw-in grooves that the terminal is obtained after request message
SIM attribute information, wherein, can the attribute information of the SIM is used to identifying the SIM support NFC communication;
Step 102:The terminal determines the terminal according to the attribute information of the SIM inserted in the plurality of draw-in groove
Multiple draw-in grooves in insert SIM in support NFC communication targeted SIM card;
Step 103:The terminal carries out NFC communication by the targeted SIM card.
The embodiment of the present invention, in terminal groove without card or be inserted with do not support NFC communication SIM and caused card
A kind of problem of simulated operation failure, it is proposed that data processing method for being effectively used for NFC communication.In the embodiment of the present invention,
Due to having determined that the targeted SIM card for supporting NFC communication before being communicated with external equipment, so as to be prevented effectively from because of draw-in groove
It is middle not support the SIM of NFC communication without SIM or be inserted with and caused snap gauge intends the problem of operation failure, improve snap gauge
Intend the chance of success of operation, so as to improve Consumer's Experience.
In a step 101, before the attribute information of the SIM for inserting in multiple draw-in grooves of the terminal acquisition terminal, also
Including:The SIM that terminal is inserted in the plurality of draw-in groove sends opens logic channel instruction, and, receive the plurality of card
The response message that the SIM inserted in groove is returned according to the unlatching logic channel instruction, and determined according to the response message
The attribute information of the SIM inserted in the plurality of draw-in groove.
Specifically, after starting up of terminal, if detecting insert in draw-in groove SIM, for example, detect in draw-in groove 1 and insert
SIM 1, then can send to SIM 1 and open logic channel instruction (open logical channel), and receive SIM 1
According to the response message that logic channel instruction is returned is opened, so as to determine the attribute information of SIM 1 according to the response message.Its
In, response value or the content of other various ways are may include in response message.
It should be noted that supporting the SIM of NFC communication and not supporting in response message that the SIM of NFC communication is returned
Different response values are may include, for example, the SIM1 cards for supporting NFC communication return logical value 1, do not support the SIM2 cards of NFC communication
Return logical value 0.Or, or support that the SIM of NFC communication returns response value, the SIM for not supporting NFC communication returns
Value of making the return trip empty (NULL) does not return response value.
Give an example, if terminal is the smart mobile phone with two draw-in grooves, two draw-in grooves insert two SIMs, respectively
For SIM 1 and SIM 2.Terminal after powering, detected and inserted in the terminal after SIM 1 and SIM 2, can respectively to
SIM 1 and SIM 2 send opens logic channel instruction, and receives 2 pairs of sound for opening logic channel instruction of SIM 1 and SIM
Information, response message is answered to include response value.If terminal parsing is received after the response message of the return of SIM 1, logical value is obtained
1, parsing is received after the response message of the return of SIM 2, obtains logical value 0, so as to can determine that SIM 1 supports NFC communication,
SIM 2 does not support NFC communication, and arranges the persist.nfc.omapi.support=in terminal " SIM1, NULL ".
Terminal receives NFC and opens after request message, by parsing persist.nfc.omapi.support, obtains SIM
The attribute information of card 1 and SIM 2.
In step 102, because the terminal with multiple draw-in grooves can be inserted into one or more SIMs, but not multiple draw-in grooves
The SIM of middle insertion all supports NFC communication, therefore, terminal can be according to the attribute of the SIM inserted in the multiple draw-in grooves for getting
Information, it is determined that supporting the targeted SIM card of NFC communication in one or more SIMs inserted in multiple draw-in grooves of the terminal.
For example, SIM 1 and SIM 2 are inserted in the draw-in groove of terminal, terminal gets the attribute of SIM 1 and SIM 2
After information, if it is determined that SIM 1 supports that NFC communication, SIM 2 do not support NFC communication, then SIM 1 can be defined as into target SIM
Card;If it is determined that SIM 1 does not support that NFC communication, SIM 2 support NFC communication, then SIM 2 can be defined as into targeted SIM card;If
Judge that SIM 1 supports that NFC communication, SIM 2 also support NFC communication, then SIM 1 and SIM 2 can be defined as into target SIM
Card.
In step 103, terminal determines the number of the targeted SIM card that NFC communication is supported in the terminal;If terminal determines
Targeted SIM card is one, then directly can carry out NFC communication by the targeted SIM card determined.For example, terminal determines terminal
The targeted SIM card number of middle support NFC communication is only 1, i.e. SIM 1, then directly can carry out NFC communication by SIM 1.
If terminal determines that targeted SIM card number is multiple in terminal, can select a target from multiple targeted SIM cards
SIM, and NFC communication is carried out by the targeted SIM card selected.For example, the targeted SIM card that terminal is determined includes SIM
Card 1 and SIM 2, now, terminal can issue the user with selection information, and be input into according to information user is received
Selection result after, the targeted SIM card of selection is determined according to selection result.Wherein, information is selected to be used for user from SIM
1 and SIM 2 select a SIM carry out NFC communication;Specifically, the form that information can be dialog box, example are selected
Such as, a dialog box is shown on mobile phone screen, is easy to user to select SIM 1 or SIM 2, if user have selected SIM 1,
Then terminal can carry out NFC communication by SIM 1, if user have selected SIM 2, terminal can carry out NFC and lead to by SIM 2
Letter.As shown in Fig. 2 to select information schematic diagram.
If it should be noted that terminal determines the targeted SIM card for supporting NFC communication for multiple, it is also possible to random from multiple
A targeted SIM card is selected to carry out NFC communication in targeted SIM card, or, select from multiple targeted SIM cards otherwise
Selecting a targeted SIM card carries out NFC communication, and the embodiment of the present invention is not limited this.
In the embodiment of the present invention, the NFC chip that terminal need to pass through in logic switch control terminal is connected with targeted SIM card
Afterwards, NFC communication can be carried out by the targeted SIM card to be communicated.Wherein, logic switch can be SWP (Single Wire
Protocol) switch.
Further, due to there may be user account information mistake, account balance be not enough to and other reasonses and cause
Snap gauge intends the situation of operation failure, therefore, in the embodiment of the present invention, terminal can monitor the logical of the targeted SIM card that carries out NFC communication
Letter state, if the communications status for carrying out the targeted SIM card of NFC communication are failure, can send switch prompting information, and switching is carried
Show information for pointing out user to select a SIM as to be switched from the SIM of non-selected support NFC communication
Targeted SIM card.Terminal receive user selects information according to the SIM that the switch prompting information is returned, so that it is determined that going out to be cut
The targeted SIM card for changing, subsequent terminal controls the NFC chip targeted SIM card to be switched with this and is connected by logic switch, and passes through
The to be switched targeted SIM card carries out NFC communication.Specifically, switch prompting information can be the form of dialog box, for example,
A dialog box is shown on mobile phone screen, is easy to user to select to be switched SIM.
Give an example, if the SIM of the support NFC communication in terminal is SIM 1 and SIM 2, in step 103, eventually
End carries out that after NFC communication fails, then switch prompting information can be sent by SIM 1, for example, can show a dialog box,
Prompt the user whether to switch to SIM 2, as shown in figure 3, be switch prompting information schematic diagram, if user selects "Yes", eventually
SIM 2 can be defined as to be switched SIM by end.
It should be noted that because the SIM of each support NFC communication in terminal can correspond to an account of user,
If the communications status for currently carrying out the targeted SIM card of NFC communication are successfully, user still can actively switch according to their needs
Carry out the targeted SIM card of NFC communication.Specifically, terminal can switch the SIM that carries out NFC communication in terminal in user
Setting options after, send switch prompting information, point out user to select from the SIM of non-selected support NFC communication
One targeted SIM card, as to be switched SIM.
If the targeted SIM card of the support NFC communication that terminal is determined is only one, carried out by the targeted SIM card
After NFC communication failure, due to the targeted SIM card that there are no other non-selected support NFC communications, therefore, in such cases,
Terminal can send switch prompting information, point out user newly to insert the SIM of a support NFC communication in the terminal, used as treating
The targeted SIM card of switching.Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention, as shown in figure 4, the end
End 400, including:
Acquisition module 401, for receiving NFC insertion in multiple draw-in grooves that the terminal is obtained after request message is opened
SIM attribute information, wherein, can the attribute information of the SIM is used to identifying the SIM support NFC communication;
Processing module 402, for according to the attribute information of the SIM inserted in the plurality of draw-in groove, determining the terminal
Multiple draw-in grooves in insert SIM in support NFC communication targeted SIM card;
Communication module 403, for carrying out NFC communication by the targeted SIM card.
Optionally, the terminal also includes transceiver module 404, and the transceiver module 404 is used for:
Before the attribute information of the SIM inserted in the acquisition module 401 obtains multiple draw-in grooves of the terminal, to
The SIM inserted in the plurality of draw-in groove sends opens logic channel instruction;
The response message that the SIM inserted in the plurality of draw-in groove is returned according to the unlatching logic channel instruction is received,
And the attribute information of the SIM inserted in the plurality of draw-in groove is determined according to the response message.
Optionally, the processing module 402 is additionally operable to:
Before the communication module 403 carries out NFC communication by the targeted SIM card, institute is controlled by logic switch
The NFC chip stated in terminal is connected with the targeted SIM card.
Optionally, the processing module 402 is additionally operable to:
Determine the number of the targeted SIM card that NFC communication is supported in the terminal;
The communication module 403 specifically for:
If the processing module 402 determines that the number of the targeted SIM card is one, entered by the targeted SIM card
Row NFC communication;
If the communication module 403 determines that the number of the targeted SIM card is multiple, select from multiple targeted SIM cards
A targeted SIM card is selected out, and NFC communication is carried out by the targeted SIM card selected.
Optionally, the processing module 402 is additionally operable to:
After the communication module 403 carries out NFC communication by the targeted SIM card, described in monitoring NFC communication is carried out
Targeted SIM card communications status;
If it is determined that the communications status of the targeted SIM card for carrying out NFC communication are failure, then switch prompting information is sent;
Receive user selects information according to the SIM that the switch prompting information is returned, and determines to be switched target SIM
Card, and NFC communication is carried out by the to be switched targeted SIM card.
It can be seen from the above:
The embodiment of the present invention in terminal groove without card or be inserted with do not support NFC communication SIM and caused card
The problem of simulated operation failure, it is proposed that a kind of data processing method for being effectively used for NFC communication, terminal receives NFC and opens
After opening request message, the attribute information of the SIM inserted in multiple draw-in grooves of the terminal is obtained, and then determine the terminal
The targeted SIM card of NFC communication is supported in the SIM inserted in multiple draw-in grooves, NFC communication is carried out by the targeted SIM card.This
In inventive embodiments, because terminal by targeted SIM card before NFC communication is carried out, it has been determined that carry out the SIM of NFC communication
To support the SIM of NFC communication, so can be prevented effectively from because without SIM or being inserted with and do not support NFC communication in terminal groove
The problem of SIM and caused snap gauge plan operation failure, improves card simulated operation chance of success, so as to improve Consumer's Experience.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware
Apply the form of example.And, the present invention can be adopted and wherein include the meter of computer usable program code at one or more
The computer journey implemented in calculation machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of sequence product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program
Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram
The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided
The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The function of specifying in present one flow process of flow chart or one square frame of two or more flow process and/or block diagram or two or more square frame
Device.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
The manufacture of device is made, the command device is realized in one side of one flow process of flow chart or two or more flow process and/or block diagram
The function of specifying in frame or two or more square frame.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or two or more flow process and/or square frame
The step of function of specifying in one square frame of figure or two or more square frame.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention
God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (10)
1. a kind of data processing method for close range wireless communication NFC communication, it is characterised in that methods described includes:
Terminal receives the attribute letter that NFC opens the SIM inserted in multiple draw-in grooves that the terminal is obtained after request message
Breath, wherein, can the attribute information of the SIM support NFC communication for identifying the SIM;
The terminal according in the plurality of draw-in groove insert SIM attribute information, in determining multiple draw-in grooves of the terminal
The targeted SIM card of NFC communication is supported in the SIM of insertion;
The terminal carries out NFC communication by the targeted SIM card.
2. the method for claim 1, it is characterised in that terminal obtains the SIM inserted in multiple draw-in grooves of the terminal
Before the attribute information of card, also include:
The SIM that the terminal is inserted in the plurality of draw-in groove sends opens logic channel instruction;
The terminal receives the response letter that the SIM inserted in the plurality of draw-in groove is returned according to the unlatching logic channel instruction
Breath, and the attribute information of the SIM inserted in the plurality of draw-in groove is determined according to the response message.
3. the method for claim 1, it is characterised in that the terminal by the targeted SIM card carry out NFC communication it
Before, also include:
The NFC chip that the terminal is controlled in the terminal by logic switch is connected with the targeted SIM card.
4. the method for claim 1, it is characterised in that the terminal carries out NFC communication by the targeted SIM card,
Including:
The terminal determines the number of the targeted SIM card that NFC communication is supported in the terminal;
If the terminal determines that the number of the targeted SIM card is one, NFC communication is carried out by the targeted SIM card;
If the terminal determines that the number of the targeted SIM card is multiple, a target is selected from multiple targeted SIM cards
SIM, and NFC communication is carried out by the targeted SIM card selected.
5. method as claimed in claim 4, it is characterised in that the terminal by the targeted SIM card carry out NFC communication it
Afterwards, also include:
The communications status of the targeted SIM card of NFC communication are carried out described in the terminal monitoring;
If it is determined that the communications status of the targeted SIM card for carrying out NFC communication are failure, then switch prompting information is sent;
The terminal receive user selects information according to the SIM that the switch prompting information is returned, and determines to be switched target
SIM, and NFC communication is carried out by the to be switched targeted SIM card.
6. a kind of terminal, it is characterised in that the terminal includes:
Acquisition module, for receiving NFC the SIM inserted in multiple draw-in grooves that the terminal is obtained after request message is opened
Attribute information, wherein, can the attribute information of the SIM is used to identifying the SIM support NFC communication;
Processing module, for according to the attribute information of the SIM inserted in the plurality of draw-in groove, determining multiple cards of the terminal
The targeted SIM card of NFC communication is supported in the SIM inserted in groove;
Communication module, for carrying out NFC communication by the targeted SIM card.
7. terminal as claimed in claim 6, it is characterised in that the terminal also includes transceiver module, the transceiver module is used
In:
Before the attribute information of the SIM inserted in the acquisition module obtains multiple draw-in grooves of the terminal, to described many
The SIM inserted in individual draw-in groove sends opens logic channel instruction;
Receive the response message that the SIM inserted in the plurality of draw-in groove is returned according to the unlatching logic channel instruction, and root
Determine the attribute information of the SIM inserted in the plurality of draw-in groove according to the response message.
8. terminal as claimed in claim 6, it is characterised in that the processing module is additionally operable to:
Before the communication module carries out NFC communication by the targeted SIM card, controlled in the terminal by logic switch
NFC chip be connected with the targeted SIM card.
9. terminal as claimed in claim 6, it is characterised in that the processing module is additionally operable to:
Determine the number of the targeted SIM card that NFC communication is supported in the terminal;
The communication module specifically for:
If the processing module determines that the number of the targeted SIM card is one, NFC is carried out by the targeted SIM card and is led to
Letter;
If the processing module determines that the number of the targeted SIM card is multiple, one is selected from multiple targeted SIM cards
Targeted SIM card, and NFC communication is carried out by the targeted SIM card selected.
10. terminal as claimed in claim 9, it is characterised in that the processing module is additionally operable to:
After the communication module carries out NFC communication by the targeted SIM card, the target of NFC communication is carried out described in monitoring
The communications status of SIM;
If it is determined that the communications status of the targeted SIM card for carrying out NFC communication are failure, then switch prompting information is sent;
Receive user selects information according to the SIM that the switch prompting information is returned, and determines to be switched targeted SIM card, and
NFC communication is carried out by the to be switched targeted SIM card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610908544.7A CN106604254A (en) | 2016-10-18 | 2016-10-18 | Data processing method for NFC communication and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610908544.7A CN106604254A (en) | 2016-10-18 | 2016-10-18 | Data processing method for NFC communication and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106604254A true CN106604254A (en) | 2017-04-26 |
Family
ID=58555589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610908544.7A Pending CN106604254A (en) | 2016-10-18 | 2016-10-18 | Data processing method for NFC communication and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106604254A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110648131A (en) * | 2019-08-27 | 2020-01-03 | Oppo广东移动通信有限公司 | Near field communication-based card swiping method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070123305A1 (en) * | 2005-11-29 | 2007-05-31 | Chun-Wei Chen | Method For Securing a Near Field Communication Device of a Mobile Phone |
CN101527007A (en) * | 2007-10-25 | 2009-09-09 | 上海复旦微电子股份有限公司 | Movable non-contact circuit for interconnecting SIM card and non-contact front-end chip |
CN101639890A (en) * | 2009-09-04 | 2010-02-03 | 宇龙计算机通信科技(深圳)有限公司 | Movable terminal, NFC device supporting a plurality of SIM cards and implementation method |
CN101820696A (en) * | 2009-02-26 | 2010-09-01 | 中兴通讯股份有限公司 | Terminal supporting enhanced near field communication and processing method thereof |
CN102325210A (en) * | 2011-05-19 | 2012-01-18 | 武汉天喻信息产业股份有限公司 | Universal mobile payment terminal compatible with multiple operators and implementation method thereof |
CN104066075A (en) * | 2013-03-20 | 2014-09-24 | 华为终端有限公司 | Communication method, device and system based on user identification module |
-
2016
- 2016-10-18 CN CN201610908544.7A patent/CN106604254A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070123305A1 (en) * | 2005-11-29 | 2007-05-31 | Chun-Wei Chen | Method For Securing a Near Field Communication Device of a Mobile Phone |
CN101527007A (en) * | 2007-10-25 | 2009-09-09 | 上海复旦微电子股份有限公司 | Movable non-contact circuit for interconnecting SIM card and non-contact front-end chip |
CN101820696A (en) * | 2009-02-26 | 2010-09-01 | 中兴通讯股份有限公司 | Terminal supporting enhanced near field communication and processing method thereof |
US20110312271A1 (en) * | 2009-02-26 | 2011-12-22 | Zte Corporation | Terminal of supporting enhanced near field communication and its processing method |
CN101639890A (en) * | 2009-09-04 | 2010-02-03 | 宇龙计算机通信科技(深圳)有限公司 | Movable terminal, NFC device supporting a plurality of SIM cards and implementation method |
CN102325210A (en) * | 2011-05-19 | 2012-01-18 | 武汉天喻信息产业股份有限公司 | Universal mobile payment terminal compatible with multiple operators and implementation method thereof |
CN104066075A (en) * | 2013-03-20 | 2014-09-24 | 华为终端有限公司 | Communication method, device and system based on user identification module |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110648131A (en) * | 2019-08-27 | 2020-01-03 | Oppo广东移动通信有限公司 | Near field communication-based card swiping method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11088724B2 (en) | Communication device, control method, program and front end | |
CN112069848B (en) | Card selection method, chip, terminal and storage medium for NFC card simulation mode | |
CN102044028A (en) | Mobile payment realizing method and mobile payment system | |
CN105321330A (en) | Smart home equipment, binding method, device and system thereof and mobile terminal | |
CN104091184B (en) | Electronic label detecting method and system | |
CN103347105B (en) | Mobile phone radio-frequency SIM card with SWP function in compatible mode | |
CN106658756A (en) | Method and device for recognizing connection between terminal device and hotspot | |
CN106156915A (en) | A kind of wireless Work attendance method, Apparatus and system | |
CN102833074A (en) | Authentication method and related equipment | |
US9697396B2 (en) | Interactive processing method and device and electronic apparatus | |
CN113361293A (en) | Card swiping method, card controller, electronic device and storage medium | |
US9978056B2 (en) | Smart card having multiple payment instruments | |
CN103544114A (en) | Multiple M1 card control system based on single CPU card and control method thereof | |
US20160198477A1 (en) | Communications device and communications system | |
US9419682B2 (en) | Apparatus and method for providing near field communication for mobile device | |
CN106604254A (en) | Data processing method for NFC communication and terminal | |
CN111740963B (en) | Data communication method and device | |
CN108696857A (en) | Judge the information processing method and the network equipment of identification card service condition | |
CN106162524B (en) | A kind of NFC operating method and device | |
WO2022099563A1 (en) | Card selection method for nfc card simulation mode, chip, terminal, and storage medium | |
CN107222633A (en) | A kind of sales statistics method of testing, device, terminal | |
CN102572824A (en) | System and method of binding medium access control address | |
CN105809078B (en) | Method for preventing repeated payment transaction between different-frequency cards executed by double-frequency card reader and double-frequency card reader | |
CN207397313U (en) | A kind of smart card | |
CN110795952B (en) | System and method for realizing electronic certificate recognition and application scene association processing based on smart phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |