Method of payment and smart machine
Technical field
The embodiment of the present invention relates to mobile payment technical field, particularly relates to a kind of method of payment and smart machine.
Background technology
Along with the fast development of mobile payment, user can complete payment by smart machine (such as, smart mobile phone) and POS (PointOfSale, point of sale) machine, convenient and swift.Wherein, POS is mainly used in accepting the payment request that smart machine sends, and the business platform of the mobile payment provided with bank completes payment transaction.
During concrete payment, POS sends radiofrequency signal to the NFC chip in smart machine, carries out card inquiry; NFC chip simulation receive described radiofrequency signal, according to NFC chip record safe unit, set up POS to this record safe unit between path; Based on the path set up, the instruction sent by POS received is passed to the safe unit of this record by NFC chip, responds POS after this safe unit process.
Particularly, by close range wireless communication (the Near Field Communication in smart machine, NFC) safe unit in chip and smart machine realizes paying, described safe unit both can be the safe unit be built in smart machine, also can be in smart machine, be embedded in the safe unit in client identification module (SubscriberIdentity Module, SIM) card.
Along with the development of Android operation system in smart machine, HCE (hostcard emulation is introduced in Android4.4, host card is simulated) unit, as long as smart machine band NFC chip just can realize snap gauge and intend, in other words, after introducing HCE unit, there are three kinds of modes of payments: the first, payment path between the safe unit carried by the NFC chip in smart machine and smart machine realizes paying, the second, realize paying by the payment path be embedded in the NFC chip in smart machine and smart machine between the safe unit in SIM card, the third, realize paying by the payment path between the NFC chip in smart machine and the HCE unit in smart machine.
But, different payment class application needs by specific safe unit, could realize paying, such as, wallet is irrigated by China Mobile and bag and UNICOM, and this two class pays class application all to be only had and could realize payment by the safe unit on SIM, and for example, the wallet of China Merchants Bank, then the safe unit carried based on smart machine realizes paying.Like this, because smart machine acquiescence when paying uses HCE unit, therefore, the HCE unit according to acquiescence pays the payment class application that HCE unit is not supported, can cause paying unsuccessful.
Summary of the invention
The embodiment of the present invention provides a kind of method of payment and smart machine, to improve payment success ratio.
First aspect, embodiments provides a kind of method of payment, comprising:
Close range wireless communication NFC chip obtains the title of the current preference payment terms in touching payment;
Described NFC chip determines the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, is embedded in the safe unit in client identification module SIM card or the simulation of the host card in described smart machine HCE unit in the safe unit that the smart machine of described safe unit belonging to described NFC chip carries, described smart machine;
Described NFC chip closes the path between self and the safe unit except the safe unit determined, and the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, and is paid by the connection kept.
Further, described NFC chip determines the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, comprising:
Be embedded at least two kinds in the payment terms list of the safe unit support in SIM card and the payment terms list of described HCE unit support in the payment terms list of the safe unit support that described NFC chip carries according to described smart machine, described smart machine, determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
Further, paid by the connection kept, comprising:
Described NFC chip sets up application program identification AID routing table, according to described AID routing table, paid by the connection kept, described AID routing table is the list including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
Further, the generation of the liquidation expenses are to be paid,as a matter of priority item in described touching payment, comprising:
Receive the described of artificial selection and touch the payment terms in paying the bill as described liquidation expenses are to be paid,as a matter of priority item;
Or comprise:
If do not comprise the payment terms of artificial selection in described touching payment, then using the payment terms of acquiescence in described touching payment as described liquidation expenses are to be paid,as a matter of priority item.
Further, after the connection by keeping pays, also comprise:
When user changes liquidation expenses are to be paid,as a matter of priority item, described NFC chip obtains the message of the liquidation expenses are to be paid,as a matter of priority item change that described smart machine sends, and upgrade the title of the liquidation expenses are to be paid,as a matter of priority item in the touching payment of described NFC chip acquisition, the name of the liquidation expenses are to be paid,as a matter of priority item after renewal is referred to as the title of current preference payment terms.
Second aspect, embodiments provide a kind of smart machine, comprise: be embedded in the safe unit in client identification module SIM card and the simulation of the host card in described smart machine HCE unit in the safe unit that close range wireless communication NFC chip, smart machine belonging to described NFC chip carry, described smart machine, described NFC chip is used for:
Obtain the title of the current preference payment terms in touching payment;
Determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, in the safe unit that the smart machine of described safe unit belonging to described NFC chip carries, described smart machine, be embedded in the safe unit in client identification module SIM card or the simulation of the host card in described smart machine HCE unit;
Close the path between self and the safe unit except the safe unit determined, and the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, paid by the connection kept.
Further, described NFC chip specifically for:
Be embedded at least two kinds in payment terms list that the safe unit in SIM card supports and the payment terms list that described HCE unit is supported in the payment terms list of the safe unit support carried according to described smart machine, described smart machine, determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
Further, described NFC chip specifically for:
Set up application program identification AID routing table, according to described AID routing table, paid by the connection kept, described AID routing table is the list including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
Further, the generation of the liquidation expenses are to be paid,as a matter of priority item in described touching payment, comprising:
Receive the described of artificial selection and touch the payment terms in paying the bill as described liquidation expenses are to be paid,as a matter of priority item;
Or comprise:
If do not comprise the payment terms of artificial selection in described touching payment, then using the payment terms of acquiescence in described touching payment as described liquidation expenses are to be paid,as a matter of priority item.
Further, described NFC chip also for:
After the connection by keeping pays, when user changes liquidation expenses are to be paid,as a matter of priority item, described NFC chip obtains the message of the liquidation expenses are to be paid,as a matter of priority item change that described smart machine sends, and upgrade the title of the liquidation expenses are to be paid,as a matter of priority item in the touching payment of described NFC chip acquisition, the name of the liquidation expenses are to be paid,as a matter of priority item after renewal is referred to as the title of current preference payment terms.
The method of payment that the embodiment of the present invention provides and smart machine, the title of the current preference payment terms in touching payment is obtained by NFC chip, and determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, the safe unit that can carry from the smart machine belonging to NFC chip, the safe unit in SIM card is embedded in described smart machine, and determine the safe unit with the title adaptation of described liquidation expenses are to be paid,as a matter of priority item in these three kinds of safe units of HCE unit in described smart machine, and close the path between self and the safe unit except the safe unit determined by NFC chip, the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, avoid with the safe unit of the title adaptation of described liquidation expenses are to be paid,as a matter of priority item outside the interference of other two kinds of safe units, improve the success ratio of payment and the reliability of payment, a comfortable experience can be presented for user.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention, introduce doing one to the accompanying drawing used required in the present invention simply below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of method of payment that Fig. 1 provides for the embodiment of the present invention one;
The process flow diagram of a kind of method of payment that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of a kind of smart machine that Fig. 3 provides for the embodiment of the present invention three.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, be described in further detail the technical scheme in the embodiment of the present invention below in conjunction with accompanying drawing, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Be understandable that; specific embodiment described herein is only for explaining the present invention; but not limitation of the invention; based on the embodiment in the present invention; those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
Embodiment one
Referring to Fig. 1, is the process flow diagram of a kind of method of payment that the embodiment of the present invention one provides.The method of the embodiment of the present invention can be performed by the NFC chip being configured to hardware and/or software simulating, and this chip is typically configured in the smart machine that mobile payment can be provided to serve.
The method comprises: step 110 ~ step 130.
Step 110, NFC chip obtain the title of the current preference payment terms in touching payment.
Touching payment is introduced in Android4.4 (a kind of Android operation system), multiple payment terms is included in touching payment, user can be paid by the payment terms of acquiescence in touching payment, also can select to give tacit consent to beyond payment terms, needed for user payment terms and pay.Wherein, the payment terms title that different payment terms is corresponding unique.
The generation of the liquidation expenses are to be paid,as a matter of priority item in described touching payment, can comprise:
Receive the described of artificial selection and touch the payment terms in paying the bill as described liquidation expenses are to be paid,as a matter of priority item;
Or comprise:
If do not comprise the payment terms of artificial selection in described touching payment, then using the payment terms of acquiescence in described touching payment as described liquidation expenses are to be paid,as a matter of priority item.
Step 120, described NFC chip determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, are embedded in the safe unit in SIM card or the HCE unit in described smart machine in the safe unit that the smart machine of described safe unit belonging to described NFC chip carries, described smart machine.
Different payment class application needs could realize payment by specific safe unit, therefore this step specifically NFC chip carry from the smart machine belonging to described NFC chip safe unit, be embedded in the safe unit in SIM card and these three kinds of safe units of the HCE unit in described smart machine described smart machine and determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
In this step, be embedded at least two kinds in the payment terms list of the safe unit support in SIM card and the payment terms list of described HCE unit support in the payment terms list of the safe unit support that described NFC chip can carry according to described smart machine, described smart machine, determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
Exemplary, the safe unit that China Merchants Bank's mobile phone wallet, China Merchants Bank's all-purpose card and Alipay Bus Card all only carry based on smart machine could realize paying, accordingly, China Merchants Bank's mobile phone wallet, China Merchants Bank's all-purpose card and these payment terms of Alipay Bus Card are included in the payment terms list of safe unit support that smart machine carries; Wallet is irrigated by China Mobile and bag, CHINAUNICOM and China Telecom's wing payment wallet all only could realize paying by the safe unit in SIM card in smart machine, accordingly, be embedded in smart machine in the payment terms list of the safe unit support in SIM card and include China Mobile and bag, CHINAUNICOM and irrigate wallet and China Telecom's wing pays these payment terms of wallet.
Step 130, described NFC chip close the path between self and the safe unit except the safe unit determined, and the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, and are paid by the connection kept.
The technical scheme of the present embodiment, the title of the current preference payment terms in touching payment is obtained by NFC chip, and determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, the safe unit that can carry from the smart machine belonging to NFC chip, the safe unit in SIM card is embedded in described smart machine, and determine the safe unit with the title adaptation of described liquidation expenses are to be paid,as a matter of priority item in these three kinds of safe units of HCE unit in described smart machine, and close the path between self and the safe unit except the safe unit determined by NFC chip, the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, avoid with the safe unit of the title adaptation of described liquidation expenses are to be paid,as a matter of priority item outside the interference of other two kinds of safe units, improve the success ratio of payment and the reliability of payment, a comfortable experience can be presented for user.
Paid by the connection kept, can preferably include:
Described NFC chip sets up application program identification (AID) routing table, according to described AID routing table, paid by the connection kept, described AID routing table is the list including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
It should be noted that, each pays class application and includes multiple application program identification, and each application program identification can characterize the concrete payment application that corresponding payment class application can provide.
By setting up the AID routing table including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, the various payments specifically that making the path between the NFC chip safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item can process described liquidation expenses are to be paid,as a matter of priority item provides are applied.
Further, after the connection by keeping pays, also can preferably include:
When user changes liquidation expenses are to be paid,as a matter of priority item, described NFC chip obtains the message of the liquidation expenses are to be paid,as a matter of priority item change that described smart machine sends, and upgrade the title of the liquidation expenses are to be paid,as a matter of priority item in the touching payment of described NFC chip acquisition, the name of the liquidation expenses are to be paid,as a matter of priority item after renewal is referred to as the title of current preference payment terms.
Present embodiment, the liquidation expenses are to be paid,as a matter of priority item in the touching payment of selection can be paid according to user at every turn, the title of the liquidation expenses are to be paid,as a matter of priority item of the current selection of the user that upgrades in time, and choose adaptive safe unit for the liquidation expenses are to be paid,as a matter of priority item of the current selection of user, ensure that the success ratio paid when user changes the liquidation expenses are to be paid,as a matter of priority item in touching payment.
Embodiment two
Referring to Fig. 2, is the process flow diagram of a kind of method of payment that the embodiment of the present invention two provides.The network architecture that the safe unit in SIM card, the HCE unit in described smart machine and routing manager are formed is embedded in the safe unit that method is applicable to the smart machine belonging to NFC chip, NFC chip, the smart machine belonging to NFC chip carries of the embodiment of the present invention, described smart machine.
The method comprises: step 210 ~ step 240.
Step 210, after NFC chip initialization, described NFC chip sends the request of the title of the current preference payment terms obtained in touching payment to the smart machine belonging to NFC chip, described NFC chip receives the response of described smart machine to described request, obtains the title of the current preference payment terms touched in payment.
Step 220, described NFC chip determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, are embedded in the safe unit in SIM card or the HCE unit in described smart machine in the safe unit that the smart machine of described safe unit belonging to described NFC chip carries, described smart machine.
Step 230, described NFC chip close the path between self and the safe unit except the safe unit determined, and the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting.
Step 240, the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item set up AID routing table, and by routing manager, the AID routing table of foundation is write described NFC chip, described NFC chip is paid by the connection kept, and described AID routing table is the list including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
The technical scheme of the present embodiment, the title of the current preference payment terms in touching payment is obtained by NFC chip, and determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, the safe unit that can carry from the smart machine belonging to NFC chip, the safe unit in SIM card is embedded in described smart machine, and determine the safe unit with the title adaptation of described liquidation expenses are to be paid,as a matter of priority item in these three kinds of safe units of HCE unit in described smart machine, and close the path between self and the safe unit except the safe unit determined by NFC chip, the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, avoid with the safe unit of the title adaptation of described liquidation expenses are to be paid,as a matter of priority item outside the interference of other two kinds of safe units, by setting up the AID routing table including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, the various payments specifically that making the path between the NFC chip safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item can process described liquidation expenses are to be paid,as a matter of priority item provides are applied, improve the success ratio of payment and the reliability of payment, a comfortable experience can be presented for user.
Further, after step 240, can also comprise:
Step 250, when user changes liquidation expenses are to be paid,as a matter of priority item, described NFC chip obtains the message of the liquidation expenses are to be paid,as a matter of priority item change that described smart machine sends, and upgrade the title of the liquidation expenses are to be paid,as a matter of priority item in the touching payment obtained, the name of the liquidation expenses are to be paid,as a matter of priority item after renewal is referred to as the title of current preference payment terms.
In this step, the title of the liquidation expenses are to be paid,as a matter of priority item in the touching payment obtained is upgraded in described NFC chip, after the name of the liquidation expenses are to be paid,as a matter of priority item after renewal is referred to as the title of current preference payment terms, also namely after user changes the liquidation expenses are to be paid,as a matter of priority item in touching payment, if when user is paid by the liquidation expenses are to be paid,as a matter of priority item after change, described NFC chip then continues to perform the operation determining the safe unit corresponding with the title of current preference payment terms, afterwards, described NFC chip performs the path of closing between self and the safe unit except the safe unit determined, and the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps the operation that connects, afterwards, the safe unit corresponding with the title of current preference payment terms upgrades AID routing table, and by routing manager, the AID routing table of renewal is write described NFC chip, described NFC chip is paid by the connection kept, described AID routing table is the list of the corresponding relation including application program identification corresponding to current preference payment terms and the safe unit corresponding with the title of current preference payment terms.
Present embodiment, the liquidation expenses are to be paid,as a matter of priority item in the touching payment of selection can be paid according to user at every turn, the title of the liquidation expenses are to be paid,as a matter of priority item of the current selection of the user that upgrades in time, and choose adaptive safe unit for the liquidation expenses are to be paid,as a matter of priority item of the current selection of user, ensure that the success ratio paid when user changes the liquidation expenses are to be paid,as a matter of priority item in touching payment.
Embodiment three
Referring to Fig. 3, is the structural representation of a kind of smart machine that the embodiment of the present invention three provides.This smart machine comprises: be embedded in the safe unit 330 in SIM card and the HCE in described smart machine (host card simulation) unit 340 in the safe unit 320 that NFC chip 310, smart machine belonging to described NFC chip 310 carry, described smart machine.
Described NFC chip 310 for:
Obtain the title of the current preference payment terms in touching payment;
Determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, in the safe unit 320 that the smart machine of described safe unit belonging to described NFC chip carries, described smart machine, be embedded in the safe unit 330 in SIM card or the HCE unit 340 in described smart machine;
Close the path between self and the safe unit except the safe unit determined, and the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, paid by the connection kept.
The technical scheme of the present embodiment, the title of the current preference payment terms in touching payment is obtained by NFC chip, and determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item, the safe unit that can carry from the smart machine belonging to NFC chip, the safe unit in SIM card is embedded in described smart machine, and determine the safe unit with the title adaptation of described liquidation expenses are to be paid,as a matter of priority item in these three kinds of safe units of HCE unit in described smart machine, and close the path between self and the safe unit except the safe unit determined by NFC chip, the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item keeps connecting, avoid with the safe unit of the title adaptation of described liquidation expenses are to be paid,as a matter of priority item outside the interference of other two kinds of safe units, improve the success ratio of payment and the reliability of payment, a comfortable experience can be presented for user.
In such scheme, described NFC chip 310 specifically may be used for:
The safe unit 320 carried according to described smart machine support payment terms list, at least two kinds of being embedded in described smart machine in payment terms list that the safe unit 330 in SIM card supports and the payment terms list that described HCE unit 340 is supported, determine the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
In such scheme, described NFC chip 310 specifically may be used for:
Set up AID (application program identification) routing table, according to described AID routing table, paid by the connection kept, described AID routing table is the list including the application program identification of described liquidation expenses are to be paid,as a matter of priority item correspondence and the corresponding relation of the safe unit corresponding with the title of described liquidation expenses are to be paid,as a matter of priority item.
In such scheme, the generation of the liquidation expenses are to be paid,as a matter of priority item in described touching payment, can comprise:
Receive the described of artificial selection and touch the payment terms in paying the bill as described liquidation expenses are to be paid,as a matter of priority item;
Or comprise:
If do not comprise the payment terms of artificial selection in described touching payment, then using the payment terms of acquiescence in described touching payment as described liquidation expenses are to be paid,as a matter of priority item.
In such scheme, described NFC chip 310 can also be used for:
After the connection by keeping pays, when user changes liquidation expenses are to be paid,as a matter of priority item, described NFC chip obtains the message of the liquidation expenses are to be paid,as a matter of priority item change that described smart machine sends, and upgrade the title of the liquidation expenses are to be paid,as a matter of priority item in the touching payment of described NFC chip acquisition, the name of the liquidation expenses are to be paid,as a matter of priority item after renewal is referred to as the title of current preference payment terms.
The smart machine that the embodiment of the present invention provides can perform the method for payment that any embodiment of the present invention provides, and possesses the corresponding functional module of manner of execution and beneficial effect.
Last it is noted that above each embodiment is only for illustration of technical scheme of the present invention, but not be limited; In embodiment preferred embodiment, be not limited, to those skilled in the art, the present invention can have various change and change.All do within spirit of the present invention and principle any amendment, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.