CN115018483B - Application processing method, terminal device and storage medium - Google Patents
Application processing method, terminal device and storage medium Download PDFInfo
- Publication number
- CN115018483B CN115018483B CN202111399722.5A CN202111399722A CN115018483B CN 115018483 B CN115018483 B CN 115018483B CN 202111399722 A CN202111399722 A CN 202111399722A CN 115018483 B CN115018483 B CN 115018483B
- Authority
- CN
- China
- Prior art keywords
- card
- application
- terminal device
- card application
- selection instruction
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 claims abstract description 167
- 238000012545 processing Methods 0.000 claims abstract description 165
- 238000012790 confirmation Methods 0.000 claims description 73
- 230000004044 response Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 71
- 238000010586 diagram Methods 0.000 description 74
- 230000011664 signaling Effects 0.000 description 26
- 230000006870 function Effects 0.000 description 15
- 230000008859 change Effects 0.000 description 14
- 238000004590 computer program Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 208000033748 Device issues Diseases 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 229920001621 AMOLED Polymers 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000003213 activating effect Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/326—Payment applications installed on the mobile devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Computer Networks & Wireless Communication (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本申请实施例提供了一种应用处理方法、终端设备以及存储介质,该方法应用于终端设备,该方法包括:接收收款设备发送的选卡指令,其选卡指令用于指示至少一个卡应用的应用标识,根据应用标识列表,若确定出选卡指令所指示的应用标识所对应的卡应用,确定终端设备支持选卡指令所指示的卡应用;若确定选卡指令所指示的应用标识所对应的卡应用不是当前的默认付款应用,则确定需要更换支付方式;依据选卡指令所指示的应用标识所对应的卡应用,确定出一个待交易的卡应用以完成交易处理。终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程。
An embodiment of the present application provides an application processing method, a terminal device, and a storage medium. The method is applied to a terminal device. The method includes: receiving a card selection instruction sent by a payment collection device, and the card selection instruction is used to indicate at least one card application According to the application identification list, if the card application corresponding to the application identification indicated by the card selection instruction is determined, it is determined that the terminal device supports the card application indicated by the card selection instruction; if it is determined that the application identification indicated by the card selection instruction If the corresponding card application is not the current default payment application, it is determined that the payment method needs to be replaced; according to the card application corresponding to the application identifier indicated by the card selection instruction, a card application to be traded is determined to complete the transaction processing. The terminal device automatically determines the card application that needs to be traded, and the user does not need to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device.
Description
技术领域technical field
本申请涉及终端技术领域,尤其涉及一种应用处理方法、终端设备以及存储介质。The present application relates to the technical field of terminals, and in particular to an application processing method, a terminal device and a storage medium.
背景技术Background technique
目前,随着终端技术的发展,可以在终端设备中设置多个付款应用。用户可以使用终端设备中的付款应用完成交易过程。At present, with the development of terminal technology, multiple payment applications can be set in the terminal device. Users can use the payment application in the terminal device to complete the transaction process.
在现有技术中,由于可以在终端设备中安装多个付款应用,若收款设备与终端设备的默认付款应用之间不匹配,需要用户手动的在终端设备中重新设置默认付款应用,进而才可以完成终端设备与收款设备之间的交易过程。In the prior art, since multiple payment applications can be installed in the terminal device, if there is a mismatch between the payment collection device and the default payment application of the terminal device, the user needs to manually reset the default payment application in the terminal device, and then the The transaction process between the terminal device and the payment collection device can be completed.
但是,若收款设备与终端设备的默认付款应用之间不匹配,需要用户手动的在终端设备中重新设置默认付款应用,会延误了终端设备与收款设备之间的交易过程,造成用户体验较差。However, if there is a mismatch between the payment collection device and the default payment application of the terminal device, the user needs to manually reset the default payment application in the terminal device, which will delay the transaction process between the terminal device and the payment collection device, causing user experience poor.
发明内容Contents of the invention
本申请实施例提供一种应用处理方法、终端设备以及存储介质,无需用户手动的在终端设备中重新设置默认付款应用,便于终端设备完成支付交易过程。The embodiments of the present application provide an application processing method, a terminal device, and a storage medium, which do not require the user to manually reset the default payment application in the terminal device, and facilitate the terminal device to complete the payment transaction process.
第一方面,本申请实施例提供一种应用处理方法,所述方法应用于终端设备,所述方法包括:In the first aspect, the embodiment of the present application provides an application processing method, the method is applied to a terminal device, and the method includes:
接收收款设备发送的选卡指令,其中,选卡指令用于指示N个卡应用的应用标识,N为大于等于1的正整数,根据预设的应用标识列表,确定选卡指令所指示的应用标识所对应的卡应用;其中,应用标识列表用于指示应用标识与卡应用之间的对应关系;若确定选卡指令所指示的应用标识所对应的卡应用,不是终端设备的当前的默认付款应用,则根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用;根据待交易的卡应用,进行交易处理。Receive the card selection instruction sent by the payment collection device, wherein the card selection instruction is used to indicate the application identification of N card applications, N is a positive integer greater than or equal to 1, and determine the card selection instruction indicated by the preset application identification list according to the preset application identification list. The card application corresponding to the application identifier; wherein, the application identifier list is used to indicate the corresponding relationship between the application identifier and the card application; if it is determined that the card application corresponding to the application identifier indicated by the card selection instruction is not the current default of the terminal device The payment application determines the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, and performs transaction processing according to the card application to be traded.
这样,终端设备接收收款设备发送的选卡指令,选卡指令用于指示应用标识;从而终端设备可以根据应用标识列表,确定出选卡指令所指示的应用标识所对应的卡应用;终端设备在确定出选卡指令所指示的应用标识所对应的卡应用时,确定终端设备支持选卡指令所指示的应用标识所对应的卡应用;然后,终端设备若确定选卡指令所指示的应用标识所对应的卡应用不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备依据选卡指令所指示的应用标识所对应的卡应用,确定出一个待交易的卡应用,依据该待交易的卡应用进行交易处理。终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this way, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the application identification; thus the terminal device can determine the card application corresponding to the application identification indicated by the card selection instruction according to the application identification list; the terminal device When determining the card application corresponding to the application identifier indicated by the card selection instruction, it is determined that the terminal device supports the card application corresponding to the application identifier indicated by the card selection instruction; then, if the terminal device determines the application identifier indicated by the card selection instruction The corresponding card application is not the current default payment application, and the terminal device needs to change the payment method. The terminal device determines a card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, and according to the card application to be traded card application for transaction processing. The terminal device automatically determines the card application that needs to be traded, without the need for the user to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device, and improves user experience.
在一种可能的实现方式中,若N为1,则根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用,包括:确定选卡指令所指示的应用标识所对应的卡应用,为待交易的卡应用。In a possible implementation, if N is 1, determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction includes: determining the card application corresponding to the application identifier indicated by the card selection instruction The card application is the card application to be traded.
这样,选卡指令指示出了一个卡应用的应用标识,终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备依据选卡指令所指示的应用标识所对应的卡应用,确定出一个待交易的卡应用,依据该待交易的卡应用进行交易处理。终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this way, the card selection instruction indicates the application identifier of a card application. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, the terminal device needs to change the payment method. The card application corresponding to the application identifier indicated by the card instruction determines a card application to be traded, and performs transaction processing according to the card application to be traded. The terminal device automatically determines the card application that needs to be traded, without the need for the user to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device, and improves user experience.
在一种可能的实现方式中,若N大于等于1,则根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用,包括:确定选卡指令所指示的应用标识所对应的卡应用中的任一卡应用,为待交易的卡应用。In a possible implementation, if N is greater than or equal to 1, determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction includes: determining the application identifier indicated by the card selection instruction Any one of the corresponding card applications is the card application to be traded.
这样,若选卡指令指示出了多个卡应用的应用标识,终端设备若确定选卡指令所指示的每一应用标识所对应的每一卡应用均不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备从选卡指令所指示的每一应用标识所对应的每一卡应用中,确定一个待交易的卡应用;可以通过随机选择的方式,确定出一个待交易的卡应用,进而终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this way, if the card selection instruction indicates multiple card application application identifiers, if the terminal device determines that each card application corresponding to each application identifier indicated by the card selection instruction is not the current default payment application, the terminal device needs to To replace the payment method, the terminal device determines a card application to be traded from each card application corresponding to each application identifier indicated by the card selection instruction; a card application to be traded can be determined by random selection, Furthermore, the terminal device automatically determines the card application that needs to be traded, without the need for the user to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device, and improves user experience.
在一种可能的实现方式中,若N大于等于1,则根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用,包括:根据选卡指令所指示的应用标识所对应的卡应用的优先级,从选卡指令所指示的应用标识所对应的卡应用中,确定待交易的卡应用。In a possible implementation, if N is greater than or equal to 1, determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction includes: The priority of the corresponding card application determines the card application to be traded from the card applications corresponding to the application identifier indicated by the card selection instruction.
这样,若选卡指令指示出了多个卡应用的应用标识,终端设备若确定选卡指令所指示的每一应用标识所对应的每一卡应用均不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备从选卡指令所指示的每一应用标识所对应的每一卡应用中,确定一个待交易的卡应用;可以根据卡应用的优先级的高低,确定出一个待交易的卡应用,进而终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this way, if the card selection instruction indicates multiple card application application identifiers, if the terminal device determines that each card application corresponding to each application identifier indicated by the card selection instruction is not the current default payment application, the terminal device needs to To replace the payment method, the terminal device determines a card application to be traded from each card application corresponding to each application identifier indicated by the card selection instruction; it can determine a card application to be traded according to the priority of the card application Card application, and then the terminal device automatically determines the card application that needs to be traded, without the need for the user to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction between the terminal device and the payment collection device process, improving the user experience.
在一种可能的实现方式中,选卡指令还用于指示卡应用的优先级;或者,优先级为终端设备所存储的。In a possible implementation manner, the card selection instruction is also used to indicate the priority of the card application; or, the priority is stored by the terminal device.
这样,若选卡指令指示出了多个卡应用的应用标识,且选卡指令所指示的每一应用标识所对应的每一卡应用均不是当前的默认付款应用,则可以通过选卡指令指示出卡应用的优先级,进而根据卡应用的优先级的高低,确定出一个待交易的卡应用,进而终端设备自动的确定出需进行交易的卡应用。或者,若选卡指令指示出了多个卡应用的应用标识,且选卡指令所指示的每一应用标识所对应的每一卡应用均不是当前的默认付款应用,则通过终端设备所存储的卡应用的优先级的高低,确定出一个待交易的卡应用,进而终端设备自动的确定出需进行交易的卡应用。进而终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this way, if the card selection instruction indicates the application identifications of multiple card applications, and each card application corresponding to each application identification indicated by the card selection instruction is not the current default payment application, then the card selection instruction can indicate The priority of the card application, and then determine a card application to be traded according to the priority of the card application, and then the terminal device automatically determines the card application that needs to be traded. Alternatively, if the card selection instruction indicates the application identifications of multiple card applications, and each card application corresponding to each application identification indicated by the card selection instruction is not the current default payment application, then the stored The priority of the card application determines a card application to be traded, and then the terminal device automatically determines the card application to be traded. Furthermore, the terminal device automatically determines the card application that needs to be traded, without the need for the user to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device, and improves user experience.
在一种可能的实现方式中,若N大于等于1,则根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用,包括:显示选卡指令所指示的应用标识所对应的卡应用;响应于触发操作,确定触发操作所指示的卡应用为待交易的卡应用。In a possible implementation, if N is greater than or equal to 1, determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction includes: displaying the card application indicated by the application identifier indicated by the card selection instruction. Corresponding card application; in response to the trigger operation, determine that the card application indicated by the trigger operation is the card application to be traded.
这样,若选卡指令指示出了多个卡应用的应用标识,且选卡指令所指示的每一应用标识所对应的每一卡应用均不是当前的默认付款应用,则终端设备将选卡指令所指示的卡应用均显示给用户,由用户选择一个卡应用作为待交易的卡应用。通过人机交互的方式,从多个卡应用中确定出一个待交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this way, if the card selection instruction indicates the application identifications of multiple card applications, and each card application corresponding to each application identification indicated by the card selection instruction is not the current default payment application, the terminal device will use the card selection instruction The indicated card applications are all displayed to the user, and the user selects a card application as the card application to be traded. Through human-computer interaction, a card application to be traded is determined from multiple card applications, without the need for the user to manually modify the card application to be traded to the default payment application in the terminal device, which speeds up the connection between the terminal device and the collection The transaction process between devices improves user experience.
在一种可能的实现方式中,在根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用之后,还包括:将待交易的卡应用,设置为终端设备的默认付款应用。In a possible implementation, after determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, it further includes: setting the card application to be traded as the default payment of the terminal device application.
这样,终端设备若确定选卡指令所指示的应用标识所对应的卡应用不是当前的默认付款应用,在确定出待交易的卡应用之后,可以将待交易的卡应用设置为默认付款应用,从而终端设备自动修改默认付款应用,无需用户手动更换默认付款应用,加快了终端设备与收款设备之间的交易过程。且便于终端设备与收款设备进行后续的其他交易处理过程。In this way, if the terminal device determines that the card application corresponding to the application identifier indicated by the card selection instruction is not the current default payment application, after determining the card application to be traded, the card application to be traded can be set as the default payment application, thereby The terminal device automatically modifies the default payment application, eliminating the need for the user to manually replace the default payment application, which speeds up the transaction process between the terminal device and the payment collection device. And it is convenient for the terminal equipment and the payment collection equipment to carry out other subsequent transaction processing processes.
在一种可能的实现方式中,在根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用之后,还包括:在第一页面中设置终端设备的当前的默认付款应用为非选中状态,其中,第一页面用于显示终端设备所支持的各卡应用;在第一页面中设置待交易的卡应用为选中状态,其中,选中状态表征待交易的卡应用为终端设备的默认付款应用。In a possible implementation, after determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, it further includes: setting the current default payment application of the terminal device on the first page It is a non-selected state, wherein the first page is used to display each card application supported by the terminal device; the card application to be traded is set to the selected state on the first page, wherein the selected state indicates that the card application to be traded is a terminal device The default payments app for .
这样,终端设备在将待交易的卡应用设置为默认付款应用之后,还可以在终端设备的设置列表中修改默认付款应用的设置。本实现方式中,在终端设备的第一页面中,将待交易的卡应用设置为默认付款应用,其中,第一页面用于显示终端设备所支持的所有卡应用,这里的卡应用均为付款卡应用。进而保证在终端设备的设置功能中,将待交易的卡应用设置为终端设备的默认付款应用,进一步的保证终端设备可以基于待交易的卡应用进行当前的交易,且便于终端设备可以基于待交易的卡应用进行后续的其他交易。并且,便于用户后续查看终端设备的默认付款应用。In this way, after the terminal device sets the card application to be traded as the default payment application, it can also modify the settings of the default payment application in the setting list of the terminal device. In this implementation, on the first page of the terminal device, the card application to be traded is set as the default payment application, wherein the first page is used to display all card applications supported by the terminal device, and the card applications here are payment card application. Furthermore, it is ensured that in the setting function of the terminal device, the card application to be traded is set as the default payment application of the terminal device, which further ensures that the terminal device can perform current transactions based on the card application to be traded, and facilitates the terminal device to be based on the card application to be traded. The card application to carry out subsequent other transactions. Moreover, it is convenient for the user to check the default payment application of the terminal device later.
在一种可能的实现方式中,在根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用之后,还包括:若终端设备的当前的默认付款应用和待交易的卡应用均为第一类别的卡应用,则在第二页面中设置终端设备的当前的默认付款应用为非选中状态;其中,第二页面用于显示终端设备所支持的第一类别的卡应用;第一类别表征卡应用为货币交易的卡应用;在第二页面中设置待交易的卡应用为选中状态;其中,选中状态表征待交易的卡应用为终端设备的默认付款应用。In a possible implementation, after determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, it further includes: if the current default payment application of the terminal device and the card to be traded If the applications are all card applications of the first category, the current default payment application of the terminal device is set to be unselected on the second page; wherein, the second page is used to display the card applications of the first category supported by the terminal device; The first category indicates that the card application is a currency transaction card application; the card application to be traded is set to a selected state on the second page; wherein the selected state indicates that the card application to be traded is a default payment application of the terminal device.
这样,终端设备在将待交易的卡应用设置为默认付款应用之后,还可以在终端设备的设置列表中修改默认付款应用的设置。本实现方式中,终端设备的第二页面用于显示终端设备所支持的第一类别的卡应用,终端设备的第三页面用于显示终端设备所支持的第二类别的卡应用,第一类别的卡应用和第二类别的卡应用,均为付款应用的类别;但是,第一类别的表征卡应用为货币交易的卡应用,第二类别表征卡应用为非货币交易的卡应用。若终端设备的当前的默认付款应用和待交易的卡应用均为第一类别的卡应用,则在终端设备的第二页面中,将待交易的卡应用设置为默认付款应用,进一步的保证终端设备可以基于待交易的卡应用进行当前的交易,且便于终端设备可以基于待交易的卡应用进行后续的其他交易。并且,便于用户后续查看终端设备的默认付款应用。In this way, after the terminal device sets the card application to be traded as the default payment application, it can also modify the settings of the default payment application in the setting list of the terminal device. In this implementation, the second page of the terminal device is used to display the first category of card applications supported by the terminal device, the third page of the terminal device is used to display the second category of card applications supported by the terminal device, and the first category The card applications of the first category and the second category of card applications are payment applications; however, the first category of card applications is a card application for currency transactions, and the second category of card applications is a card application for non-currency transactions. If the current default payment application of the terminal device and the card application to be traded are both card applications of the first category, then on the second page of the terminal device, the card application to be traded is set as the default payment application to further ensure that the terminal The device can perform the current transaction based on the card application to be traded, and it is convenient for the terminal device to perform other subsequent transactions based on the card application to be traded. Moreover, it is convenient for the user to check the default payment application of the terminal device later.
在一种可能的实现方式中,在根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用之后,还包括:若终端设备的当前的默认付款应用为第一类别的卡应用、且待交易的卡应用为第二类别的卡应用,则在第二页面中设置终端设备的当前的默认付款应用为非选中状态;其中,第二页面用于显示终端设备所支持的第一类别的卡应用;第一类别表征卡应用为货币交易的卡应用,第二类别表征卡应用为非货币交易的卡应用;在第三页面中设置待交易的卡应用为选中状态;其中,第三页面用于显示终端设备所支持的第二类别的卡应用,选中状态表征待交易的卡应用为终端设备的默认付款应用。In a possible implementation manner, after determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, it further includes: if the current default payment application of the terminal device is the first category card application, and the card application to be traded is a card application of the second category, then the current default payment application of the terminal device is set to be unselected on the second page; wherein, the second page is used to display the payment status supported by the terminal device The card application of the first category; the first category indicates that the card application is a card application for currency transactions, and the second category indicates that the card application is a card application for non-currency transactions; set the card application to be traded as the selected state on the third page; where , the third page is used to display the card application of the second category supported by the terminal device, and the selected state indicates that the card application to be traded is the default payment application of the terminal device.
这样,终端设备在将待交易的卡应用设置为默认付款应用之后,还可以在终端设备的设置列表中修改默认付款应用的设置。本实现方式中,终端设备的第二页面用于显示终端设备所支持的第一类别的卡应用,终端设备的第三页面用于显示终端设备所支持的第二类别的卡应用,第一类别的卡应用和第二类别的卡应用,均为付款应用的类别;但是,第一类别的表征卡应用为货币交易的卡应用,第二类别表征卡应用为非货币交易的卡应用。若终端设备的当前的默认付款应用为第一类别的卡应用、且待交易的卡应用为第二类别的卡应用,则在第二页面中设置终端设备的当前的默认付款应用为非选中状态,在第三页面中将待交易的卡应用设置为默认付款应用,进一步的保证终端设备可以基于待交易的卡应用进行当前的交易,且便于终端设备可以基于待交易的卡应用进行后续的其他交易。并且,便于用户后续查看终端设备的默认付款应用。In this way, after the terminal device sets the card application to be traded as the default payment application, it can also modify the settings of the default payment application in the setting list of the terminal device. In this implementation, the second page of the terminal device is used to display the first category of card applications supported by the terminal device, the third page of the terminal device is used to display the second category of card applications supported by the terminal device, and the first category The card applications of the first category and the second category of card applications are payment applications; however, the first category of card applications is a card application for currency transactions, and the second category of card applications is a card application for non-currency transactions. If the current default payment application of the terminal device is a card application of the first category, and the card application to be traded is a card application of the second category, then set the current default payment application of the terminal device as unselected on the second page , on the third page, set the card application to be traded as the default payment application, to further ensure that the terminal device can conduct the current transaction based on the card application to be traded, and facilitate the terminal device to perform subsequent other transactions based on the card application to be traded trade. Moreover, it is convenient for the user to check the default payment application of the terminal device later.
在一种可能的实现方式中,在根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用之后,还包括:若终端设备的当前的默认付款应用为第二类别的卡应用、且待交易的卡应用为第一类别的卡应用,则在第三页面中设置终端设备的当前的默认付款应用为非选中状态;其中,第三页面用于显示终端设备所支持的第二类别的卡应用;第一类别表征卡应用为货币交易的卡应用,第二类别表征卡应用为非货币交易的卡应用;在第二页面设置待交易的卡应用为选中状态;其中,第二页面用于显示终端设备所支持的第一类别的卡应用,选中状态表征待交易的卡应用为终端设备的默认付款应用。In a possible implementation manner, after determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, it further includes: if the current default payment application of the terminal device is the second category card application, and the card application to be traded is a card application of the first category, then set the current default payment application of the terminal device as unselected on the third page; wherein, the third page is used to display the The card application of the second category; the first category indicates that the card application is a card application for currency transactions, and the second category indicates that the card application is a card application for non-currency transactions; the card application to be traded is set to the selected state on the second page; wherein, The second page is used to display the card applications of the first category supported by the terminal device, and the selected state indicates that the card application to be traded is the default payment application of the terminal device.
这样,终端设备在将待交易的卡应用设置为默认付款应用之后,还可以在终端设备的设置列表中修改默认付款应用的设置。本实现方式中,终端设备的第二页面用于显示终端设备所支持的第一类别的卡应用,终端设备的第三页面用于显示终端设备所支持的第二类别的卡应用,第一类别的卡应用和第二类别的卡应用,均为付款应用的类别;但是,第一类别的表征卡应用为货币交易的卡应用,第二类别表征卡应用为非货币交易的卡应用。若终端设备的当前的默认付款应用为第二类别的卡应用、且待交易的卡应用为第一类别的卡应用,则在第三页面中设置终端设备的当前的默认付款应用为非选中状态,在第二页面中将待交易的卡应用设置为默认付款应用,进一步的保证终端设备可以基于待交易的卡应用进行当前的交易,且便于终端设备可以基于待交易的卡应用进行后续的其他交易。并且,便于用户后续查看终端设备的默认付款应用。In this way, after the terminal device sets the card application to be traded as the default payment application, it can also modify the settings of the default payment application in the setting list of the terminal device. In this implementation, the second page of the terminal device is used to display the first category of card applications supported by the terminal device, the third page of the terminal device is used to display the second category of card applications supported by the terminal device, and the first category The card applications of the first category and the second category of card applications are payment applications; however, the first category of card applications is a card application for currency transactions, and the second category of card applications is a card application for non-currency transactions. If the current default payment application of the terminal device is a card application of the second category, and the card application to be traded is a card application of the first category, then set the current default payment application of the terminal device as unselected on the third page , set the card application to be traded as the default payment application on the second page, to further ensure that the terminal device can conduct the current transaction based on the card application to be traded, and facilitate the terminal device to perform subsequent other transactions based on the card application to be traded trade. Moreover, it is convenient for the user to check the default payment application of the terminal device later.
在一种可能的实现方式中,在根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用之后,还包括:若终端设备的当前的默认付款应用和待交易的卡应用均为第二类别的卡应用,则在第三页面中设置终端设备的当前的默认付款应用为非选中状态;其中,第三页面用于显示终端设备所支持的第二类别的卡应用;第二类别表征卡应用为非货币交易的卡应用;在第三页面中设置待交易的卡应用为选中状态;其中,选中状态表征待交易的卡应用为终端设备的默认付款应用。In a possible implementation, after determining the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction, it further includes: if the current default payment application of the terminal device and the card to be traded If all the applications are card applications of the second category, set the current default payment application of the terminal device to be unselected on the third page; where the third page is used to display the card applications of the second category supported by the terminal device; The second category indicates that the card application is a card application for non-monetary transactions; on the third page, set the card application to be traded as a selected state; where the selected state represents that the card application to be traded is the default payment application of the terminal device.
这样,终端设备在将待交易的卡应用设置为默认付款应用之后,还可以在终端设备的设置列表中修改默认付款应用的设置。本实现方式中,终端设备的第二页面用于显示终端设备所支持的第一类别的卡应用,终端设备的第三页面用于显示终端设备所支持的第二类别的卡应用,第一类别的卡应用和第二类别的卡应用,均为付款应用的类别;但是,第一类别的表征卡应用为货币交易的卡应用,第二类别表征卡应用为非货币交易的卡应用。若终端设备的当前的默认付款应用和待交易的卡应用均为第二类别的卡应用,则在第三页面中取消终端设备的当前的默认付款应用的选中小黄图,并在第三页面中将待交易的卡应用设置为默认付款应用,进一步的保证终端设备可以基于待交易的卡应用进行当前的交易,且便于终端设备可以基于待交易的卡应用进行后续的其他交易。并且,便于用户后续查看终端设备的默认付款应用。In this way, after the terminal device sets the card application to be traded as the default payment application, it can also modify the settings of the default payment application in the setting list of the terminal device. In this implementation, the second page of the terminal device is used to display the first category of card applications supported by the terminal device, the third page of the terminal device is used to display the second category of card applications supported by the terminal device, and the first category The card applications of the first category and the second category of card applications are payment applications; however, the first category of card applications is a card application for currency transactions, and the second category of card applications is a card application for non-currency transactions. If the current default payment application of the terminal device and the card application to be traded are both card applications of the second category, cancel the selected small yellow icon of the current default payment application of the terminal device on the third page, and Setting the card application to be traded as the default payment application further ensures that the terminal device can perform current transactions based on the card application to be traded, and facilitates the terminal device to perform other subsequent transactions based on the card application to be traded. Moreover, it is convenient for the user to check the default payment application of the terminal device later.
在一种可能的实现方式中,还包括:若确定选卡指令所指示的应用标识所对应的卡应用中,具有终端设备的当前的默认付款应用,则确定终端设备的当前的默认付款应用,为待交易的卡应用;根据待交易的卡应用,进行交易处理。In a possible implementation, the method further includes: if it is determined that the card application corresponding to the application identifier indicated by the card selection instruction has the current default payment application of the terminal device, then determining the current default payment application of the terminal device, It is the card application to be traded; according to the card application to be traded, the transaction processing is performed.
这样,终端设备接收收款设备发送的选卡指令,选卡指令用于指示应用标识;从而终端设备可以根据应用标识列表,确定出选卡指令所指示的应用标识所对应的卡应用;终端设备在确定出选卡指令所指示的应用标识所对应的卡应用时,确定终端设备支持选卡指令所指示的应用标识所对应的卡应用;然后,终端设备若确定选卡指令所指示的应用标识所对应的卡应用中具有当前的默认付款应用,则直接调取该卡应用去进行后续的交易处理过程,通过选卡指令的应用标识调取当前的默认付款应用,可以快速的完成的卡应用的调取。In this way, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the application identification; thus the terminal device can determine the card application corresponding to the application identification indicated by the card selection instruction according to the application identification list; the terminal device When determining the card application corresponding to the application identifier indicated by the card selection instruction, it is determined that the terminal device supports the card application corresponding to the application identifier indicated by the card selection instruction; then, if the terminal device determines the application identifier indicated by the card selection instruction If there is a current default payment application in the corresponding card application, the card application will be called directly for subsequent transaction processing, and the current default payment application can be called through the application identification of the card selection command, which can quickly complete the card application call.
在一种可能的实现方式中,还包括:若根据应用标识列表未确定出选卡指令所指示的应用标识所对应的卡应用,则生成提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的应用标识所对应的卡应用;将提示信息发送给收款设备。In a possible implementation, it also includes: if the card application corresponding to the application identifier indicated by the card selection instruction is not determined according to the application identifier list, generating prompt information; wherein, the prompt information indicates that the terminal device does not support card selection The card application corresponding to the application identification indicated by the instruction; sending the prompt information to the payment collection device.
这样,终端设备接收收款设备发送的选卡指令,选卡指令用于指示应用标识;从而终端设备可以根据应用标识列表,确定出选卡指令所指示的应用标识所对应的卡应用;终端设备若根据应用标识列表,确定应用标识列表中不存在选卡指令所指示的应用标识所对应的卡应用,则终端设备确定选卡指令所指示的应用标识所对应的卡应用不是付款应用,且终端设备确定终端设备不支持选卡指令所指示的应用标识所对应的卡应用。进而向收款设备发出提示,以提示终端设备不支持收款设备所选择的卡应用。In this way, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the application identification; thus the terminal device can determine the card application corresponding to the application identification indicated by the card selection instruction according to the application identification list; the terminal device If according to the application identification list, it is determined that the card application corresponding to the application identification indicated by the card selection instruction does not exist in the application identification list, the terminal device determines that the card application corresponding to the application identification indicated by the card selection instruction is not a payment application, and the terminal The device determines that the terminal device does not support the card application corresponding to the application identifier indicated by the card selection instruction. Further, a prompt is sent to the payment collection device, so as to prompt that the terminal device does not support the card application selected by the payment collection device.
在一种可能的实现方式中,在生成提示信息之后,还包括:显示提示信息。In a possible implementation manner, after generating the prompt information, the method further includes: displaying the prompt information.
这样,向收款设备发出提示,以提示用户终端设备不支持收款设备所选择的卡应用,无法完成当前的交易。In this way, a prompt is sent to the payment collection device to remind the user that the terminal device does not support the card application selected by the payment collection device and cannot complete the current transaction.
在一种可能的实现方式中,显示提示信息,包括以下一种或多种:在第四页面上显示提示信息;语音播放提示信息;提示信息为震动提示。In a possible implementation manner, displaying the prompt information includes one or more of the following: displaying the prompt information on the fourth page; playing the prompt information by voice; and vibrating the prompt information.
这样,通过多种方式向用户发出提示,以提示用户终端设备不支持收款设备所选择的卡应用,无法完成当前的交易。In this way, prompts are sent to the user in various ways to remind the user that the terminal device does not support the card application selected by the payment collection device and cannot complete the current transaction.
在一种可能的实现方式中,在根据待交易的卡应用,进行交易处理之前,还包括:显示待交易的卡应用的界面。In a possible implementation manner, before performing transaction processing according to the card application to be traded, the method further includes: displaying an interface of the card application to be traded.
这样,终端设备在确定出待交易的卡应用之后,可以显示一个界面,用于向用户提示当前待交易的卡应用是哪一个卡应用。In this way, after the terminal device determines the card application to be traded, it can display an interface for prompting the user which card application the current card application to be traded is.
在一种可能的实现方式中,显示待交易的卡应用的界面,包括:In a possible implementation manner, an interface of a card application to be traded is displayed, including:
在第五页面上显示待交易的卡应用的界面,其中,第五页面用于显示终端设备的当前的待交易的卡应用。或者,在第六页面上显示待交易的卡应用的界面,其中,第六页面用于显示终端设备的当前的待交易的卡应用,且第六页面还用于显示终端设备所支持的各卡应用;待交易的卡应用位于第六页面的顶部。The interface of the card application to be traded is displayed on the fifth page, wherein the fifth page is used to display the current card application to be traded in the terminal device. Alternatively, the interface of the card application to be traded is displayed on the sixth page, wherein the sixth page is used to display the current card application to be traded in the terminal device, and the sixth page is also used to display the cards supported by the terminal device Application; the card application to be transacted is located at the top of the sixth page.
这样,可以只显示待交易的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用。或者,显示出终端设备所支持的各卡应用,其中“终端设备所支持的各卡应用”中包括当前的待交易的卡应用,进而向用户提示当前待交易的卡应用是哪一个卡应用,且向用户提示出终端设备所支持的各卡应用。In this way, only the interface of the card application to be traded can be displayed, and then the user is prompted which card application the current card application to be traded is. Alternatively, each card application supported by the terminal device is displayed, wherein "the card applications supported by the terminal device" includes the current card application to be traded, and then the user is prompted which card application the current card application to be traded is, And the user is prompted with each card application supported by the terminal device.
在一种可能的实现方式中,在根据待交易的卡应用,进行交易处理之前,还包括:向收款设备发送选择确认结果,其中,选择确认结果用于表征待交易的卡应用。In a possible implementation manner, before performing transaction processing according to the card application to be traded, the method further includes: sending a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to represent the card application to be traded.
这样,终端设备在确定出待交易的卡应用之后,还可以向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的应用标识所对应的卡应用。若选卡指令指示出了多个应用标识,则选择确认结果还可以指示出待交易的卡应用的应用标识。In this way, after the terminal device determines the card application to be traded, it can also send a selection confirmation result to the payment collection device, and then inform the payment collection device that the terminal device supports the card application corresponding to the application identifier indicated by the card selection instruction. If the card selection instruction indicates multiple application identifiers, the selection confirmation result may also indicate the application identifier of the card application to be traded.
在一种可能的实现方式中,根据待交易的卡应用,进行交易处理,包括:接收收款设备发送的交易指令,其中,交易指令用于指示进行交易处理;根据交易指令对待交易的卡应用进行交易处理,生成交易结果信息;其中,交易结果信息表征交易是否成功;将交易结果信息发送给收款设备。In a possible implementation manner, performing transaction processing according to the card application to be traded includes: receiving a transaction instruction sent by the payment collection device, wherein the transaction instruction is used to instruct transaction processing; Perform transaction processing and generate transaction result information; wherein, the transaction result information indicates whether the transaction is successful or not; and send the transaction result information to the payment collection device.
这样,终端设备先接收选卡指令,选卡指令用于指示应用标识;终端设备依据选卡指令确定出待交易的卡应用之后,再接收收款设备发送的交易指令,进而完成交易处理过程。进而保证交易处理的顺利进行。In this way, the terminal device first receives the card selection instruction, which is used to indicate the application identification; after the terminal device determines the card application to be traded according to the card selection instruction, it receives the transaction instruction sent by the payment collection device, and then completes the transaction process. This ensures smooth transaction processing.
在一种可能的实现方式中,选卡指令还用于指示进行交易处理;根据待交易的卡应用,进行交易处理,包括:根据选卡指令,对待交易的卡应用进行交易处理,生成交易结果信息;其中,交易结果信息表征交易是否成功;将交易结果信息发送给收款设备。In a possible implementation, the card selection instruction is also used to instruct transaction processing; perform transaction processing according to the card application to be traded, including: perform transaction processing on the card application to be traded according to the card selection instruction, and generate a transaction result information; wherein, the transaction result information represents whether the transaction is successful; and the transaction result information is sent to the payment collection device.
这样,终端设备先接收选卡指令,选卡指令用于指示应用标识,选卡指令还用于指示进行交易处理;进而终端设备可以在依据选卡指令确定出待交易的卡应用之后,直接依据选卡指令完成交易处理过程。节约了终端设备与收款设备之间的信令。In this way, the terminal device first receives the card selection instruction, the card selection instruction is used to indicate the application identification, and the card selection instruction is also used to instruct the transaction processing; and then the terminal device can directly determine the card application to be traded according to the card selection instruction. The card selection instruction completes the transaction processing process. The signaling between the terminal device and the payment collection device is saved.
在一种可能的实现方式中,接收收款设备发送的选卡指令,包括:接收收款设备发送的交易指令和用于指示应用标识的选卡指令,其中,交易指令用于指示进行交易处理。根据待交易的卡应用,进行交易处理,包括:根据交易指令对待交易的卡应用进行交易处理,生成交易结果信息;其中,交易结果信息表征交易是否成功;将交易结果信息发送给收款设备。In a possible implementation manner, receiving the card selection instruction sent by the payment collection device includes: receiving the transaction instruction sent by the payment collection device and the card selection instruction for indicating the application identification, wherein the transaction instruction is used to instruct transaction processing . Perform transaction processing according to the card application to be traded, including: perform transaction processing on the card application to be traded according to the transaction instruction, and generate transaction result information; wherein, the transaction result information indicates whether the transaction is successful; and send the transaction result information to the payment collection device.
这样,终端设备先接收选卡指令和交易指令,选卡指令用于指示应用标识;进而终端设备可以在依据选卡指令确定出待交易的卡应用之后,直接依据交易指令完成交易处理过程。节约了终端设备与收款设备之间的信令。In this way, the terminal device first receives the card selection instruction and the transaction instruction, and the card selection instruction is used to indicate the application identification; and then the terminal device can directly complete the transaction process according to the transaction instruction after determining the card application to be traded according to the card selection instruction. The signaling between the terminal device and the payment collection device is saved.
在一种可能的实现方式中,在生成交易结果信息之后,还包括:显示交易结果信息。In a possible implementation manner, after the transaction result information is generated, further include: displaying the transaction result information.
这样,终端设备向用户显示出交易是否成功。In this way, the terminal device indicates to the user whether the transaction was successful or not.
在一种可能的实现方式中,显示交易结果信息,包括:在第七页面上显示交易结果信息,第七页面用于显示交易结果信息和待交易的卡应用;其中,交易结果信息和待交易的卡应用的界面并列显示,或者,交易结果信息显示于待交易的卡应用的界面上。In a possible implementation manner, displaying the transaction result information includes: displaying the transaction result information on a seventh page, the seventh page is used to display the transaction result information and the card application to be traded; wherein, the transaction result information and the pending transaction The interface of the card application is displayed side by side, or the transaction result information is displayed on the interface of the card application to be transacted.
这样,同时显示交易结果信息和待交易的卡应用的界面,向用户提示出交易结果信息归属的卡应用是哪一个。In this way, the interface of the transaction result information and the card application to be transacted is displayed at the same time, and the user is prompted which card application the transaction result information belongs to.
在一种可能的实现方式中,还包括:若确定选卡指令所指示的应用标识所对应的卡应用,不是终端设备的当前的默认付款应用,则在根据待交易的卡应用,进行交易处理之前,激活待交易的卡应用。In a possible implementation, it also includes: if it is determined that the card application corresponding to the application identifier indicated by the card selection instruction is not the current default payment application of the terminal device, then performing transaction processing according to the card application to be traded Before, activate the card application to be transacted.
这样,终端设备在选卡指令所指示的应用标识所对应的卡应用,不是终端设备的当前的默认付款应用的时候,需要从选卡指令所指示的应用标识所对应的卡应用中,选择一个卡应用作为终端设备的当前的默认付款应用,以完成后续交易,在交易之前终端设备需要激活该卡应用。保证后续交易处理过程的顺利进行。In this way, when the card application corresponding to the application identifier indicated by the card selection instruction is not the current default payment application of the terminal device, the terminal device needs to select one of the card applications corresponding to the application identifier indicated by the card selection instruction. The card application is used as the current default payment application of the terminal device to complete subsequent transactions, and the terminal device needs to activate the card application before the transaction. Ensure the smooth progress of subsequent transaction processing.
第二方面,本申请实施例提供一种应用处理装置,该应用处理装置可以是终端设备,也可以是终端设备内的芯片或者芯片系统。该应用处理装置可以包括显示单元和处理单元;或者,该应用处理装置可以包括接收单元、显示单元和处理单元。当该应用处理装置是终端设备时,该处显示单元可以是显示屏。该显示单元用于执行显示的步骤,以使该终端设备实现第一方面或第一方面的任意一种可能的实现方式中描述的一种应用处理装置。当该应用处理装置是终端设备时,该处理单元可以是处理器。该应用处理装置还可以包括存储单元,该存储单元可以是存储器。该存储单元用于存储指令,该处理单元执行该存储单元所存储的指令,以使该终端设备实现第一方面或第一方面的任意一种可能的实现方式中描述的一种应用处理装置。当该应用处理装置是终端设备内的芯片或者芯片系统时,该处理单元可以是处理器。该处理单元执行存储单元所存储的指令,以使该终端设备实现第一方面或第一方面的任意一种可能的实现方式中描述的一种应用处理装置。该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该终端设备内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In a second aspect, the embodiment of the present application provides an application processing apparatus. The application processing apparatus may be a terminal device, or may be a chip or a chip system in the terminal device. The application processing device may include a display unit and a processing unit; or, the application processing device may include a receiving unit, a display unit, and a processing unit. When the application processing device is a terminal device, the display unit here may be a display screen. The display unit is configured to perform the step of displaying, so that the terminal device implements the application processing apparatus described in the first aspect or any possible implementation manner of the first aspect. When the application processing apparatus is a terminal device, the processing unit may be a processor. The application processing device may further include a storage unit, which may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit, so that the terminal device implements the application processing apparatus described in the first aspect or any possible implementation manner of the first aspect. When the application processing device is a chip or a chip system in the terminal device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit, so that the terminal device implements the application processing apparatus described in the first aspect or any possible implementation manner of the first aspect. The storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit in the terminal device outside the chip (for example, a read-only memory, a random access memory, etc.).
第三方面,本申请实施例提供一种终端设备,包括:用于执行第一方面或第一方面任意可能的实现方式中的任一方法的单元。In a third aspect, an embodiment of the present application provides a terminal device, including: a unit configured to execute any method in the first aspect or any possible implementation manner of the first aspect.
第四方面,本申请实施例提供一种终端设备,包括:显示单元、处理器和接口电路;其中,接口电路用于与其它装置通信;显示单元用于执行显示的步骤;处理器用于运行代码指令或计算机程序,以执行第一方面的任意一种可能的实现方式中的方法。In a fourth aspect, an embodiment of the present application provides a terminal device, including: a display unit, a processor, and an interface circuit; wherein, the interface circuit is used to communicate with other devices; the display unit is used to perform the steps of displaying; the processor is used to run code Instructions or computer programs to execute the method in any possible implementation manner of the first aspect.
在一种可能的实现方式中,终端设备,还包括:存储器;存储器用于存储代码指令或计算机程序。In a possible implementation manner, the terminal device further includes: a memory; the memory is used to store code instructions or computer programs.
第五方面,本申请实施例提供算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得计算机执行第一方面的任意一种可能的实现方式中描述的终端设备执行的方法。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is run on the computer, the computer executes any one of the first aspect. A method performed by a terminal device described in a possible implementation manner.
第六方面,本申请实施例提供一种包括计算机程序的计算机程序产品,当计算机程序在计算机上运行时,使得计算机执行第一方面的任意一种可能的实现方式中描述的终端设备执行的方法。In the sixth aspect, the embodiment of the present application provides a computer program product including a computer program, which, when the computer program is run on the computer, causes the computer to execute the method performed by the terminal device described in any possible implementation manner of the first aspect .
应当理解的是,本申请的第二方面至第六方面与本申请的第一方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that, the second aspect to the sixth aspect of the present application correspond to the technical solution of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar, so details are not repeated here.
附图说明Description of drawings
图1示出了本申请实施例的应用处理方法所适用的场景示意图;FIG. 1 shows a schematic diagram of a scenario to which the application processing method of the embodiment of the present application is applicable;
图2示出了终端设备100的结构示意图;FIG. 2 shows a schematic structural diagram of a
图3为本申请实施例的终端设备100的软件结构框图;FIG. 3 is a software structural block diagram of a
图4为本申请实施例提供的一种应用处理方法的信令图;FIG. 4 is a signaling diagram of an application processing method provided by an embodiment of the present application;
图5为本申请实施例提供的一种应用处理方法的界面示意图一;FIG. 5 is a schematic interface diagram 1 of an application processing method provided in an embodiment of the present application;
图6为本申请实施例提供的一种应用处理方法的界面示意图二;FIG. 6 is a schematic interface diagram II of an application processing method provided in the embodiment of the present application;
图7为本申请实施例提供的一种应用处理方法的界面示意图三;FIG. 7 is a third schematic interface diagram of an application processing method provided by the embodiment of the present application;
图8为本申请实施例提供的一种应用处理方法的界面示意图四;Fig. 8 is a schematic interface diagram 4 of an application processing method provided in the embodiment of the present application;
图9为本申请实施例提供的一种应用处理方法的界面示意图五;FIG. 9 is a schematic diagram of an interface five of an application processing method provided by an embodiment of the present application;
图10为本申请实施例提供的一种应用处理方法的界面示意图六;FIG. 10 is a schematic interface diagram VI of an application processing method provided in the embodiment of the present application;
图11为本申请实施例提供的一种应用处理方法的界面示意图七;Fig. 11 is a schematic interface diagram VII of an application processing method provided in the embodiment of the present application;
图12为本申请实施例提供的一种应用处理方法的界面示意图八;Fig. 12 is a schematic interface eighth of an application processing method provided in the embodiment of the present application;
图13为本申请实施例提供的一种应用处理方法的界面示意图九;Fig. 13 is a schematic interface diagram 9 of an application processing method provided in the embodiment of the present application;
图14为本申请实施例提供的一种应用处理方法的界面示意图十;FIG. 14 is a schematic interface diagram ten of an application processing method provided in the embodiment of the present application;
图15为本申请实施例提供的一种应用处理方法的界面示意图十一;Fig. 15 is an eleventh schematic interface diagram of an application processing method provided by the embodiment of the present application;
图16为本申请实施例提供的一种应用处理方法的界面示意图十二;FIG. 16 is a schematic interface diagram twelve of an application processing method provided in the embodiment of the present application;
图17为本申请实施例提供的一种应用处理方法的界面示意图十三;Fig. 17 is a schematic interface diagram thirteen of an application processing method provided by the embodiment of the present application;
图18为本申请实施例提供的一种应用处理方法的界面示意图十四;FIG. 18 is a fourteenth schematic interface diagram of an application processing method provided by the embodiment of the present application;
图19为本申请实施例提供的另一种应用处理方法的信令图;FIG. 19 is a signaling diagram of another application processing method provided by the embodiment of the present application;
图20为本申请实施例提供的另一种应用处理方法的界面示意图一;Fig. 20 is a schematic interface diagram 1 of another application processing method provided by the embodiment of the present application;
图21为本申请实施例提供的另一种应用处理方法的界面示意图二;Fig. 21 is a second schematic interface diagram of another application processing method provided by the embodiment of the present application;
图22为本申请实施例提供的另一种应用处理方法的界面示意图三;Fig. 22 is a third schematic interface diagram of another application processing method provided by the embodiment of the present application;
图23为本申请实施例提供的另一种应用处理方法的界面示意图四;Fig. 23 is a schematic interface diagram 4 of another application processing method provided by the embodiment of the present application;
图24为本申请实施例提供的又一种应用处理方法的信令图;FIG. 24 is a signaling diagram of another application processing method provided by the embodiment of the present application;
图25为本申请实施例提供的又一种应用处理方法的界面示意图;Fig. 25 is a schematic interface diagram of another application processing method provided by the embodiment of the present application;
图26为本申请实施例提供的再一种应用处理方法的信令图;FIG. 26 is a signaling diagram of another application processing method provided by the embodiment of the present application;
图27为本申请实施例提供的其他一种应用处理方法的信令图;FIG. 27 is a signaling diagram of another application processing method provided by the embodiment of the present application;
图28为本申请实施例提供的另有一种应用处理方法的信令图;FIG. 28 is a signaling diagram of another application processing method provided by the embodiment of the present application;
图29为本申请实施例提供的又有一种应用处理方法的信令图;FIG. 29 is a signaling diagram of yet another application processing method provided by the embodiment of the present application;
图30为本申请实施例提供的又有一种应用处理方法的界面示意图;Fig. 30 is a schematic interface diagram of yet another application processing method provided by the embodiment of the present application;
图31为本申请实施例提供的再有一种应用处理方法的信令图;FIG. 31 is a signaling diagram of yet another application processing method provided by the embodiment of the present application;
图32为本申请实施例提供的其他有一种应用处理方法的信令图;Fig. 32 is another signaling diagram of an application processing method provided by the embodiment of the present application;
图33为本申请实施例提供的再另有一种应用处理方法的信令图;FIG. 33 is a signaling diagram of yet another application processing method provided by the embodiment of the present application;
图34为本申请实施例提供的再又有一种应用处理方法的信令图;FIG. 34 is a signaling diagram of still another application processing method provided by the embodiment of the present application;
图35为本申请实施例提供的还有一种应用处理方法的信令图;FIG. 35 is a signaling diagram of another application processing method provided by the embodiment of the present application;
图36为本申请实施例提供的其他有一种应用处理方法的流程图;Fig. 36 is a flowchart of another application processing method provided by the embodiment of the present application;
图37为本申请实施例提供的一种芯片的结构示意图;FIG. 37 is a schematic structural diagram of a chip provided by an embodiment of the present application;
图38为本申请实施例提供的一种终端设备的结构示意图。FIG. 38 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一芯片和第二芯片仅仅是为了区分不同的芯片,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. For example, the first chip and the second chip are only used to distinguish different chips, and their sequence is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a--c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a--c, b-c, or a-b-c, where a, b, c can be single or is multiple.
终端设备已经成为了人们生活中不可缺少的工具。可以在终端设备中设置多个付款应用。例如,在终端设备中设置不同银行的银行卡的应用。进而用户可以使用终端设备中的付款应用完成交易过程。Terminal equipment has become an indispensable tool in people's life. Multiple payment applications can be set up in the terminal. For example, the application of setting bank cards of different banks in the terminal device. Then the user can use the payment application in the terminal device to complete the transaction process.
并且,为了便于用户使用付款应用,终端设备可以将一个付款应用设置为默认付款应用,进而终端设备在每次进行付款交易时,终端设备可以调取默认付款应用完成交易过程。Moreover, in order to facilitate the user to use the payment application, the terminal device can set a payment application as the default payment application, and then each time the terminal device performs a payment transaction, the terminal device can call the default payment application to complete the transaction process.
但是在上述过程中,由于终端设备可以配置多个付款应用,而终端设备将多个付款应用中一个付款应用设置为了默认付款应用;若终端设备的默认付款应用与收款设备之间不匹配,则需要用户手动的在终端设备中重新设置默认付款应用,进而才可以完成终端设备与收款设备之间的交易过程。造成交易过程的延迟,降低了用户体验。However, in the above process, since the terminal device can be configured with multiple payment applications, and the terminal device sets one of the multiple payment applications as the default payment application; if the default payment application of the terminal device does not match the payment collection device, Then the user needs to manually reset the default payment application in the terminal device, and then the transaction process between the terminal device and the payment collection device can be completed. Causes delays in the transaction process and reduces user experience.
有鉴于此,本申请实施例提供的应用处理方法、终端设备以及存储介质,其中,该方法可以自动设置默认付款应用,便于终端设备与收款设备之间快速完成付款交易过程,提高了用户体验。In view of this, the application processing method, terminal device, and storage medium provided in the embodiment of the present application, wherein, the method can automatically set a default payment application, which facilitates the rapid completion of the payment transaction process between the terminal device and the payment collection device, and improves user experience. .
图1示出了本申请实施例的应用处理方法所适用的场景示意图。如图1所示,终端设备100与收款设备200之间可以完成付款交易过程。Fig. 1 shows a schematic diagram of a scenario to which the application processing method according to the embodiment of the present application is applicable. As shown in FIG. 1 , a payment transaction process can be completed between the
终端设备100也可以称为终端(terminal)、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等。终端设备可以是手机(mobile phone)、智能电视、穿戴式设备、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self-driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本申请的实施例对终端设备所采用的具体技术和具体设备形态不做限定。The
收款设备200可以为POS(Point of sales)机,或者其他可执行本实施例方案的支付交易机器。本申请的实施例对收款设备所采用的具体技术和具体设备形态不做限定。The
终端设备100中可以设置多个付款应用;例如,终端设备100中可以安装多个不同的付款应用,或者,终端设备100中部署了多个不同的付款应用的数据。付款应用,包括但不限于:银行卡、数字人民币卡、门禁卡、交通卡。终端设备100中可以设置多个其他应用。Multiple payment applications may be set in the
终端设备100具有显示界面的功能。The
为了能够更好地理解本申请实施例,下面对本申请实施例的终端设备的结构进行介绍:In order to better understand the embodiment of the present application, the following introduces the structure of the terminal device in the embodiment of the present application:
图2示出了终端设备100的结构示意图。终端设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,用户标识模块(subscriberidentification module,SIM)卡接口195,以及嵌入式安全模块(embeddedsecure element,eSE)芯片196等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。FIG. 2 shows a schematic structural diagram of a
可以理解的是,本申请实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integratedcircuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments,
终端设备100接收到收款设备发送的信号、场强信息、等等。The
可以理解的是,本申请实施例示意的各模块间的接口连接关系,是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present application is a schematic description, and does not constitute a structural limitation of the
终端设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dotlightemitting diodes,QLED)等。在一些实施例中,终端设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode). AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dotlight emitting diodes, QLED), etc. In some embodiments, the
终端设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构,等。本申请实施例以分层架构的Android系统为例,示例性说明终端设备100的软件结构。The software system of the
图3为本申请实施例的终端设备100的软件结构框图。FIG. 3 is a block diagram of a software structure of a
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.
如图3所示,应用程序包可以包括相机,日历,电话,地图,电话,音乐,设置,邮箱,视频,社交等应用程序。As shown in FIG. 3, the application package may include application programs such as camera, calendar, phone, map, phone, music, setting, mailbox, video, and social networking.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,资源管理器,视图系统,通知管理器等。As shown in Figure 3, the application framework layer can include window managers, content providers, resource managers, view systems, notification managers, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,触摸屏幕,拖拽屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, touch the screen, drag the screen, capture the screen, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,终端设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is issued, the terminal device vibrates, and the indicator light flashes, etc.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
下面结合附图对本申请实施例提供的应用处理的操作过程及应用处理过程中的界面的显示过程进行详细地介绍。需要说明的是,本申请实施例中的“在……时”,可以为在某种情况发生的瞬时,也可以为在某种情况发生后的一段时间内,本申请实施例对此不作具体限定。The operation process of the application processing provided by the embodiment of the present application and the display process of the interface during the application processing process will be described in detail below with reference to the accompanying drawings. It should be noted that "at the time" in the embodiments of the present application may refer to the instant when a certain situation occurs, or within a period of time after a certain situation occurs, and this embodiment of the present application does not make specific limited.
图4为本申请实施例提供的一种应用处理方法的信令图。如图4所示,方法可以包括:FIG. 4 is a signaling diagram of an application processing method provided by an embodiment of the present application. As shown in Figure 4, methods can include:
S401、终端设备接收收款设备发送的选卡指令,选卡指令用于指示应用标识(application identifier,AID)。S401. The terminal device receives a card selection instruction sent by the payment collection device, where the card selection instruction is used to indicate an application identifier (AID).
示例性地,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息为选卡指令;收款设备所发出的选卡指令中携带有卡应用的AID,或者,收款设备所发出的选卡指令表征卡应用的AID。本实施例中,终端设备所接收到的选卡指令指示出一个卡应用的AID。Exemplarily, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information is a card selection instruction; the card selection instruction sent by the payment collection device contains the AID of the card application , or, the card selection instruction issued by the payment collection device represents the AID of the card application. In this embodiment, the card selection instruction received by the terminal device indicates an AID of a card application.
S402、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的AID所对应的卡应用。S402. The terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,终端设备中已经预先存储了一个AID列表。AID列表中包括至少一个卡应用的AID,进而AID列表指示出AID与卡应用之间的对应关系;或者,AID列表包括每一AID与每一卡应用之间的对应关系。并且,AID列表所指示的卡应用,均为付款应用。付款应用包括:银行卡、数字人民币的卡、交通卡、门禁卡、车钥匙对应的卡。Exemplarily, an AID list has been pre-stored in the terminal device. The AID list includes at least one AID of the card application, and then the AID list indicates the correspondence between the AID and the card application; or, the AID list includes the correspondence between each AID and each card application. Moreover, the card applications indicated by the AID list are all payment applications. Payment applications include: bank cards, digital RMB cards, transportation cards, access control cards, and cards corresponding to car keys.
举例来说,表1为AID列表,如表1所示,AID为xxx1时,所指示的卡应用为卡应用a;AID为xxx2时,所指示的卡应用为卡应用b;AID为xxx3时,所指示的卡应用为卡应用c;AID为xxx4时,所指示的卡应用为卡应用d;AID为xxx5时,所指示的卡应用为卡应用e;AID为xxx6时,所指示的卡应用为卡应用f。For example, Table 1 is a list of AIDs. As shown in Table 1, when the AID is xxx1, the indicated card application is card application a; when the AID is xxx2, the indicated card application is card application b; when the AID is xxx3 , the indicated card application is card application c; when the AID is xxx4, the indicated card application is card application d; when the AID is xxx5, the indicated card application is card application e; when the AID is xxx6, the indicated card application The application is a card application f.
表1 AID列表Table 1 AID list
AID列表中还可以包括每一卡应用的具体类别,具体类别为:银行卡、数字人民币的卡、交通卡、门禁卡。The AID list may also include specific categories of each card application, and the specific categories are: bank cards, digital RMB cards, transportation cards, and access control cards.
举例来说,表2为AID列表,如表2所示,AID为xxx1时,所指示的卡应用为卡应用a,卡应用a为银行卡;AID为xxx2时,所指示的卡应用为卡应用b,卡应用b为银行卡;AID为xxx3时,所指示的卡应用为卡应用c,卡应用c为数字人民币卡;AID为xxx4时,所指示的卡应用为卡应用d,卡应用d为门禁卡;AID为xxx5时,所指示的卡应用为卡应用e,卡应用e为门禁卡;AID为xxx6时,所指示的卡应用为卡应用f,卡应用f为交通卡。For example, Table 2 is a list of AIDs. As shown in Table 2, when the AID is xxx1, the indicated card application is card application a, and card application a is a bank card; when the AID is xxx2, the indicated card application is card Application b, card application b is a bank card; when AID is xxx3, the indicated card application is card application c, and card application c is a digital RMB card; when AID is xxx4, the indicated card application is card application d, card application d is the access control card; when the AID is xxx5, the indicated card application is the card application e, and the card application e is the access control card; when the AID is xxx6, the indicated card application is the card application f, and the card application f is the transportation card.
表2 AID列表Table 2 AID list
一个示例中,云端服务器可以向终端设备发送AID列表,进而终端设备接收并存储AID列表。例如,云端服务器为终端设备的应用管理服务器。In an example, the cloud server may send the AID list to the terminal device, and then the terminal device receives and stores the AID list. For example, the cloud server is an application management server of the terminal device.
此时,云端服务器可以更新AID列表,然后将更新后的AID列表发送给终端设备。例如,云端服务器自动更新AID列表,将更新后的AID列表发送给终端设备。再例如,终端设备向云端服务器发送更新信息,更新信息用于指示需删除的AID和卡应用;云端服务器根据更新信息,对与终端设备对应的AID列表进行修改,将更新信息所指示的AID和卡应用,从与终端设备对应的AID列表中删除,得到更新后的AID列表;云端服务器将更新后的AID列表发送给终端设备。再例如,终端设备向云端服务器发送更新信息,更新信息用于指示需增加的AID和卡应用;云端服务器根据更新信息,对与终端设备对应的AID列表进行修改,将更新信息所指示的AID和卡应用,加入到与终端设备对应的AID列表中,得到更新后的AID列表;云端服务器将更新后的AID列表发送给终端设备。At this time, the cloud server may update the AID list, and then send the updated AID list to the terminal device. For example, the cloud server automatically updates the AID list, and sends the updated AID list to the terminal device. For another example, the terminal device sends update information to the cloud server, and the update information is used to indicate the AID and card application to be deleted; the cloud server modifies the AID list corresponding to the terminal device according to the update information, and updates the AID and card applications indicated by the update information. The card application is deleted from the AID list corresponding to the terminal device to obtain an updated AID list; the cloud server sends the updated AID list to the terminal device. For another example, the terminal device sends update information to the cloud server, and the update information is used to indicate the AID and card application to be added; the cloud server modifies the AID list corresponding to the terminal device according to the update information, and updates the AID and card applications indicated by the update information. The card application is added to the AID list corresponding to the terminal device to obtain an updated AID list; the cloud server sends the updated AID list to the terminal device.
另一个示例中,AID列表为终端设备生成的。终端设备在安装卡应用的应用程序时,可以将卡应用的AID存储到终端设备的eSE芯片中;且终端设备在使用卡应用的小程序时,可以将卡应用的AID存储到终端设备的eSE芯片中;从而,终端设备可以读取eSE芯片中各AID,依据各AID生成AID列表。或者,终端设备在安装卡应用的应用程序时,可以获取到卡应用的AID,进而将AID和卡应用的对应关系进行存储;且终端设备在使用卡应用的小程序时,也可以获取到卡应用的AID,进而将AID和卡应用的对应关系进行存储;从而,终端设备可以生成一个AID列表。In another example, the AID list is generated for the terminal device. When the terminal device installs the application program of the card application, it can store the AID of the card application in the eSE chip of the terminal device; and when the terminal device uses the small program of the card application, it can store the AID of the card application in the eSE chip of the terminal device chip; thus, the terminal device can read each AID in the eSE chip, and generate an AID list according to each AID. Or, when the terminal device installs the application program of the card application, it can obtain the AID of the card application, and then store the corresponding relationship between the AID and the card application; and when the terminal device uses the applet of the card application, it can also obtain the card The AID of the application, and then store the corresponding relationship between the AID and the card application; thus, the terminal device can generate an AID list.
此时,终端设备可以自动更新AID列表;终端设备可以根据卡应用的使用情况,更新AID列表。例如,终端设备在下载卡应用的应用程序时,可以获取该卡应用的AID,将该卡应用的AID增加到AID列表中,进而更新AID列表。再例如,终端设备在使用卡应用的小程序时,可以获取该卡应用的AID,将该卡应用的AID增加到AID列表中,进而更新AID列表。再例如,终端设备在卸载卡应用的应用程序时,将该卡应用的AID从AID列表中删除,进而更新AID列表。再例如,终端设备在预设时间段内不使用某一卡应用,则确定将卡应用的AID从AID列表中删除,进而更新AID列表。At this time, the terminal device can automatically update the AID list; the terminal device can update the AID list according to the usage of the card application. For example, when the terminal device downloads the application program of the card application, it may acquire the AID of the card application, add the AID of the card application to the AID list, and then update the AID list. For another example, when using the applet of the card application, the terminal device may acquire the AID of the card application, add the AID of the card application to the AID list, and then update the AID list. For another example, when the terminal device uninstalls the application program of the card application, it deletes the AID of the card application from the AID list, and then updates the AID list. For another example, if the terminal device does not use a certain card application within a preset period of time, it determines to delete the AID of the card application from the AID list, and then updates the AID list.
终端设备接收选卡指令之后,终端设备依据AID列表,确定选卡指令所指示的AID所对应的卡应用。After the terminal device receives the card selection instruction, the terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list.
举例来说,选卡指令指示出AID为xxx1,则终端设备根据表1可以确定卡应用为卡应用a;选卡指令指示出AID为xxx2,则终端设备根据表1可以确定卡应用为卡应用b。For example, if the card selection instruction indicates that the AID is xxx1, then the terminal device can determine that the card application is card application a according to Table 1; if the card selection instruction indicates that the AID is xxx2, then the terminal device can determine that the card application is card application according to Table 1 b.
在步骤中,AID列表中存储的AID所对应的卡应用,均为终端设备所支持的卡应用。从而,终端设备若AID列表,可以确定出选卡指令所指示的AID所对应的卡应用,则表明终端设备支持选卡指令所指示的AID所对应的卡应用;终端设备若依据AID列表,确定AID列表中不具有选卡指令所指示的AID所对应的卡应用,则表明终端设备不支持选卡指令所指示的AID所对应的卡应用。In the step, the card applications corresponding to the AIDs stored in the AID list are all card applications supported by the terminal device. Thus, if the terminal device can determine the card application corresponding to the AID indicated by the card selection instruction if the AID list is available, it indicates that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction; If there is no card application corresponding to the AID indicated by the card selection instruction in the AID list, it indicates that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
S403、终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则激活选卡指令所指示的AID所对应的卡应用。S403. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, activate the card application corresponding to the AID indicated by the card selection instruction.
示例性地,在步骤S402时,终端设备依据终端设备根据AID列表,可以确定出选卡指令所指示的AID所对应的卡应用,则表明终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备需要判断该选卡指令所指示的AID所对应的卡应用,是否为终端设备的当前的默认付款应用。Exemplarily, in step S402, the terminal device can determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list of the terminal device, which means that the terminal device supports the card corresponding to the AID indicated by the card selection instruction. application. The terminal device needs to determine whether the card application corresponding to the AID indicated by the card selection instruction is the current default payment application of the terminal device.
一个示例中,终端设备可以调取终端设备的当前的默认付款应用的AID,将选卡指令所指示的AID、终端设备的当前的默认付款应用的AID两者进行比对;若确定两者一致,则终端设备确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用;若确定两者不一致,则终端设备确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用。In an example, the terminal device may call the AID of the current default payment application of the terminal device, and compare the AID indicated by the card selection instruction with the AID of the current default payment application of the terminal device; if it is determined that the two are consistent , the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application; if it is determined that the two are inconsistent, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application payment application.
另一个示例中,在表1中存储的是AID与卡应用的名称的对应关系,进而终端设备可以确定选卡指令所指示的AID的卡应用的名称;终端设备调取当前的默认付款应用的名称,进而终端设备将选卡指令所指示的AID的卡应用的名称、当前的默认付款应用的名称两者进行比对;若确定两者一致,则终端设备确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用;若确定两者不一致,则终端设备确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用。In another example, what is stored in Table 1 is the corresponding relationship between the name of the AID and the card application, and then the terminal device can determine the name of the card application of the AID indicated by the card selection instruction; the terminal device calls the current default payment application. name, and then the terminal device compares the name of the card application of the AID indicated by the card selection instruction with the name of the current default payment application; if the two are determined to be consistent, the terminal device determines the name of the AID indicated by the card selection instruction The corresponding card application is the current default payment application; if it is determined that the two are inconsistent, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application.
采用上述方式,终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则终端设备确定无法采用终端设备当前的默认付款应用进行支付交易过程;为了完成本次交易过程,终端设备需要自动激活选卡指令所指示的AID所对应的卡应用,以使该卡应用处于交易状态。Using the above method, if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, the terminal device determines that the current default payment application of the terminal device cannot be used for the payment transaction process; in order to complete this transaction In the process, the terminal device needs to automatically activate the card application corresponding to the AID indicated by the card selection instruction, so that the card application is in the transaction state.
S404、终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则设置选卡指令所指示的AID所对应的卡应用为默认付款应用。S404. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, set the card application corresponding to the AID indicated by the card selection instruction as the default payment application.
示例性地,终端设备采用步骤S403中的方式,若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则终端设备确定无法采用终端设备当前的默认付款应用进行支付交易过程。此时,终端设备将选卡指令所指示的AID所对应的卡应用,设置为终端设备的默认付款应用,从而自动修改默认付款应用。Exemplarily, the terminal device adopts the method in step S403. If it is determined that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, the terminal device determines that the current default payment application of the terminal device cannot be used for payment transactions. process. At this time, the terminal device sets the card application corresponding to the AID indicated by the card selection instruction as the default payment application of the terminal device, thereby automatically modifying the default payment application.
举例来说,终端设备接收到选卡指令,选卡指令指示出一个AID为xxx2;终端设备确定出xxx2对应的卡应用为卡应用b,则确定终端设备支持卡应用b;终端设备的当前的默认付款应用为卡应用a,进而终端设备确定卡应用b不是终端设备的当前的默认付款应用,则终端设备将默认付款应用设置为卡应用b,且激活卡应用b处于交易状态。For example, the terminal device receives a card selection instruction, and the card selection instruction indicates that an AID is xxx2; the terminal device determines that the card application corresponding to xxx2 is card application b, and then determines that the terminal device supports card application b; the terminal device's current The default payment application is card application a, and the terminal device determines that card application b is not the current default payment application of the terminal device, then the terminal device sets the default payment application as card application b, and activates card application b in a transaction state.
终端设备在修改了默认付款应用之后,在终端设备的“默认付款应用”的列表中,终端设备会自动修改了“默认付款应用”的选中项。After the terminal device has modified the default payment application, the terminal device will automatically modify the selected item of the "default payment application" in the list of "default payment applications" of the terminal device.
终端设备自动修改了“默认付款应用”的选中项的时候,可以采用以下几种方式。When the terminal device automatically modifies the selected item of "default payment application", the following methods can be adopted.
第一种方式,参见图5和图6的介绍。For the first method, refer to the introduction of Figure 5 and Figure 6.
图5为本申请实施例提供的一种应用处理方法的界面示意图一,如图5所示,终端设备显示第一界面,第一界面中包括“设置”列表,“设置”列表提供了多个设置选项,例如,设置选项1、设置选项2、设置选项3、更多链接、设置选项5、设置选项6、设置选项7。在第一界面中接收到触发“更多链接”的触发指令,终端设备显示第二界面,第二界面包括“更多链接”列表,“更多链接”列表提供了多个链接选项,例如,链接选项1、NFC、链接选项2、链接选项3。在第二界面中接收到触发“NFC”的触发指令,终端设备显示第三界面,第三界面包括“NFC”列表,“NFC”列表提供了多个选项,例如,NFC、默认付款应用。在第三界面中接收到触发“默认付款应用”的触发指令,终端设备显示第四界面,第四界面包括“默认付款应用”列表,“默认付款应用”列表提供了多个付款应用;“默认付款应用”列表中的卡应用可以为银行卡、数字人民币卡、门禁卡、交通卡;例如,“默认付款应用”列表中包括卡应用a、卡应用b、卡应用c、卡应用d、卡应用e、以及卡应用f,其中,卡应用a和卡应用b均为银行卡,卡应用c为数字人民币卡,卡应用d和卡应用e均为门禁卡,卡应用f为交通卡。Fig. 5 is an interface schematic diagram 1 of an application processing method provided by the embodiment of the present application. As shown in Fig. 5, the terminal device displays the first interface, which includes a "settings" list, and the "settings" list provides multiple Set options, for example, set option 1, set option 2, set option 3, more links, set option 5, set option 6, set option 7. After receiving a trigger instruction to trigger "more links" in the first interface, the terminal device displays a second interface, the second interface includes a "more links" list, and the "more links" list provides multiple link options, for example, Link Option 1, NFC, Link Option 2, Link Option 3. After receiving a trigger instruction to trigger "NFC" in the second interface, the terminal device displays a third interface, the third interface includes an "NFC" list, and the "NFC" list provides multiple options, for example, NFC, default payment application. After receiving the trigger command to trigger the "default payment application" in the third interface, the terminal device displays the fourth interface, the fourth interface includes a "default payment application" list, and the "default payment application" list provides multiple payment applications; "default The card applications in the payment application" list can be bank cards, digital RMB cards, access control cards, and transportation cards; for example, the "default payment application" list includes card application a, card application b, card application c, card application d, card application Application e and card application f, wherein card application a and card application b are both bank cards, card application c is a digital RMB card, card application d and card application e are both access control cards, and card application f is a transportation card.
其中,第一界面可以对应于图5中的(a)的界面;第二界面可以对应于图5中的(b)的界面;第三界面可以对应于图5中的(c)的界面;第四界面可以对应于图5中的(d)的界面。其中,图5中的(d)的界面为“第一页面”,即,第四界面为“第一页面”。Wherein, the first interface may correspond to the interface of (a) in Figure 5; the second interface may correspond to the interface of (b) in Figure 5; the third interface may correspond to the interface of (c) in Figure 5; The fourth interface may correspond to the interface of (d) in FIG. 5 . Wherein, the interface of (d) in FIG. 5 is the "first page", that is, the fourth interface is the "first page".
图6为本申请实施例提供的一种应用处理方法的界面示意图二,如图6所示,终端设备的默认付款应用为卡应用a,如图6中的(a)的界面所示,卡应用a为选中状态,其他的卡应用为非选中状态;终端设备在接收到选卡指令之后,选卡指令指示出的AID为xxx2;终端设备确定出xxx2对应的卡应用为卡应用b,进而确定终端设备支持卡应用b;终端设备的当前的默认付款应用为卡应用a,进而终端设备确定卡应用b不是终端设备的当前的默认付款应用,则终端设备将默认付款应用设置为卡应用b,且激活卡应用b处于交易状态;终端设备自动修改图6中的(a)的界面中的默认付款应用为卡应用b,如图6中的(b)的界面所示,卡应用b为选中状态,其他的卡应用为非选中状态,进而将卡应用b设置为终端设备的默认付款应用。Figure 6 is a schematic diagram of the interface of an application processing method provided by the embodiment of the present application II. As shown in Figure 6, the default payment application of the terminal device is card application a, as shown in the interface of (a) in Figure 6, the card Application a is in the selected state, and other card applications are in the unselected state; after the terminal device receives the card selection instruction, the AID indicated by the card selection instruction is xxx2; the terminal device determines that the card application corresponding to xxx2 is card application b, and then Determine that the terminal device supports card application b; the current default payment application of the terminal device is card application a, and then the terminal device determines that card application b is not the current default payment application of the terminal device, then the terminal device sets the default payment application as card application b , and the activated card application b is in the transaction state; the terminal device automatically modifies the default payment application in the interface of (a) in Figure 6 to card application b, as shown in the interface of (b) in Figure 6, the card application b is In the selected state, other card applications are in the non-selected state, and then the card application b is set as the default payment application of the terminal device.
在本实施例中,图6所示的界面跳转过程,在终端设备自动调整默认付款应用的过程中,无需主动显示给用户。其中,图6的图(a)和图(b)均为“第一页面”。In this embodiment, the interface jumping process shown in FIG. 6 does not need to be actively displayed to the user during the process of the terminal device automatically adjusting the default payment application. Wherein, Figure (a) and Figure (b) of Figure 6 are both "first page".
第二种方式,参见图7-图9的介绍。For the second method, refer to the introduction of Figure 7-Figure 9.
图7为本申请实施例提供的一种应用处理方法的界面示意图三,如图7所示,终端设备显示第五界面,第五界面中包括“设置”列表,“设置”列表提供了多个设置选项,例如,设置选项1、设置选项2、设置选项3、更多链接、设置选项5、设置选项6、设置选项7。在第五界面中接收到触发“更多链接”的触发指令,终端设备显示第六界面,第六界面包括“更多链接”列表,“更多链接”列表提供了多个链接选项,例如,链接选项1、NFC、链接选项2、链接选项3。在第六界面中接收到触发“NFC”的触发指令,终端设备显示第七界面,第七界面包括“NFC”列表,“NFC”列表提供了多个选项,例如,NFC、默认付款应用。在第七界面中接收到触发“默认付款应用”的触发指令,终端设备显示第八界面,第八界面包括标题“默认付款应用”和“其他应用”,第八界面可以为“默认付款应用”列表,“默认付款应用”列表提供了多个付款应用,“默认付款应用”列表中的卡应用为银行卡和数字人民币卡,例如,“默认付款应用”列表的卡应用a和卡应用b为银行卡,卡应用c为数字人民币卡;在第八界面中即受到触发“其他应用”触发指令,终端设备显示第九界面,第九界面包括标题“默认付款应用”和“其他应用”,第九界面可以为“其他应用”列表,“其他应用”列表提供了多个付款应用,“其他应用”列表中的卡应用为门禁卡和交通卡,例如,“其他应用”列表中的卡应用d和卡应用e为门禁卡,“其他应用”列表中的卡应用f为交通卡。“默认付款应用”列表与“其他应用”列表中的卡应用,均为付款应用(也可以称为交易类别的卡应用);两个列表中的其中一个卡应用为终端设备的默认付款应用,例如,卡应用a为默认付款应用。Fig. 7 is a third interface schematic diagram of an application processing method provided by the embodiment of the present application. As shown in Fig. 7, the terminal device displays the fifth interface, which includes a "settings" list, and the "settings" list provides multiple Set options, for example, set option 1, set option 2, set option 3, more links, set option 5, set option 6, set option 7. In the fifth interface, a trigger command to trigger "more links" is received, and the terminal device displays a sixth interface, the sixth interface includes a "more links" list, and the "more links" list provides multiple link options, for example, Link Option 1, NFC, Link Option 2, Link Option 3. After receiving a trigger instruction to trigger "NFC" in the sixth interface, the terminal device displays a seventh interface, the seventh interface includes an "NFC" list, and the "NFC" list provides multiple options, for example, NFC, default payment application. After receiving a trigger instruction to trigger the "default payment application" in the seventh interface, the terminal device displays the eighth interface, the eighth interface includes titles "default payment application" and "other applications", and the eighth interface may be "default payment application" list, the "default payment application" list provides multiple payment applications, and the card applications in the "default payment application" list are bank cards and digital RMB cards. For example, the card application a and card application b in the "default payment application" list are Bank card, card application c is a digital RMB card; in the eighth interface, the trigger instruction of "other applications" is triggered, and the terminal device displays the ninth interface, the ninth interface includes the titles "default payment application" and "other applications", the first Nine interface can be "other application" list, "other application" list provides multiple payment applications, the card application in the "other application" list is access control card and traffic card, for example, the card application d in the "other application" list And the card application e is the access control card, and the card application f in the "other applications" list is the traffic card. The card applications in the "Default Payment Application" list and the "Other Applications" list are all payment applications (also called transaction category card applications); one of the card applications in the two lists is the default payment application of the terminal device, For example, card application a is the default payment application.
“默认付款应用”列表用于显示第一类别的卡应用;第一类别的表征卡应用为货币交易的卡应用。例如,第一类别的卡应用,包括了银行卡、数字人民币卡。The "default payment application" list is used to display the card application of the first category; the representative card application of the first category is a card application for money transaction. For example, the first category of card applications includes bank cards and digital RMB cards.
“其他应用”列表用于显示第二类别的卡应用,第二类别表征卡应用为非货币交易的卡应用。例如,第二类别的卡应用,包括了门禁卡、交通卡、车钥匙对应的卡、房间门对应的卡。The "other applications" list is used to display card applications of the second category, and the second category indicates that the card application is a card application for non-monetary transactions. For example, the second category of card applications includes access control cards, traffic cards, cards corresponding to car keys, and cards corresponding to room doors.
其中,第五界面可以对应于图7中的(a)的界面;第六界面可以对应于图7中的(b)的界面;第七界面可以对应于图7中的(c)的界面;第八界面可以对应于图7中的(d)的界面;第九界面可以对应于图7中的(e)的界面。其中,图7中的(d)的界面为“第二页面”,即,第八界面为“第二页面”。图7中的(e)的界面为“第三页面”,即,第九界面为“第三页面”。Wherein, the fifth interface may correspond to the interface of (a) in Figure 7; the sixth interface may correspond to the interface of (b) in Figure 7; the seventh interface may correspond to the interface of (c) in Figure 7; The eighth interface may correspond to the interface of (d) in FIG. 7 ; the ninth interface may correspond to the interface of (e) in FIG. 7 . Wherein, the interface of (d) in FIG. 7 is the "second page", that is, the eighth interface is the "second page". The interface of (e) in FIG. 7 is the "third page", that is, the ninth interface is the "third page".
图8为本申请实施例提供的一种应用处理方法的界面示意图四,如图8所示,终端设备的默认付款应用为卡应用a,如图8中的(a)的界面所示,卡应用a为选中状态,其他的卡应用为非选中状态;终端设备在接收到选卡指令之后,选卡指令指示出的AID为xxx2;终端设备确定出xxx2对应的卡应用为卡应用b,进而确定终端设备支持卡应用b;终端设备的当前的默认付款应用为卡应用a,进而终端设备确定卡应用b不是终端设备的当前的默认付款应用,则终端设备将默认付款应用设置为卡应用b,将卡应用b的显示位置设置到“默认付款应用”列表的最前面,且激活卡应用b处于交易状态;终端设备自动修改图8中的(a)的界面中的默认付款应用为卡应用b,如图8中的(b)的界面所示,卡应用b为选中状态,其他的卡应用为非选中状态;进而将卡应用b设置为终端设备的默认付款应用。其中,图8的图(a)和图(b)均为“第二页面”。Fig. 8 is a schematic diagram of interface IV of an application processing method provided by the embodiment of the present application. As shown in Fig. 8, the default payment application of the terminal device is card application a, as shown in the interface of (a) in Fig. 8, the card Application a is in the selected state, and other card applications are in the unselected state; after the terminal device receives the card selection instruction, the AID indicated by the card selection instruction is xxx2; the terminal device determines that the card application corresponding to xxx2 is card application b, and then Determine that the terminal device supports card application b; the current default payment application of the terminal device is card application a, and then the terminal device determines that card application b is not the current default payment application of the terminal device, then the terminal device sets the default payment application as card application b , set the display position of the card application b to the top of the "default payment application" list, and activate the card application b in the transaction state; the terminal device automatically modifies the default payment application in the interface of (a) in Figure 8 to be the card application b. As shown in the interface of (b) in FIG. 8 , the card application b is in the selected state, and other card applications are in the unselected state; furthermore, the card application b is set as the default payment application of the terminal device. Wherein, Figure (a) and Figure (b) of Figure 8 are both "second page".
或者,图9为本申请实施例提供的一种应用处理方法的界面示意图五,如图9所示,终端设备的默认付款应用为卡应用a,如图9中的(a)的界面所示,卡应用a为选中状态,其他的卡应用为非选中状态;终端设备在接收到选卡指令之后,选卡指令指示出的AID为xxx4;终端设备确定出xxx4对应的卡应用为卡应用d,进而确定终端设备支持卡应用d;终端设备的当前的默认付款应用为卡应用a,进而终端设备确定卡应用d不是终端设备的当前的默认付款应用,则终端设备将默认付款应用设置为卡应用d,将卡应用d的显示位置设置到“其他应用”列表的最前面,且激活卡应用d处于交易状态;终端设备自动修改默认付款应用为卡应用d,如图9中的(b)的界面所示,卡应用d为选中状态,其他的卡应用为非选中状态;并且,如图9中的(c)的界面所示,终端设备确定“默认付款应用”列表中的卡应用a为非选中状态;进而将卡应用d设置为终端设备的默认付款应用。其中,图9的图(a)为“第二页面”,图9的图(b)为“第三页面”,图9的图(c)为“第二页面”。Alternatively, FIG. 9 is a schematic diagram of an interface five of an application processing method provided in the embodiment of the present application. As shown in FIG. 9, the default payment application of the terminal device is card application a, as shown in the interface of (a) in FIG. 9 , card application a is in the selected state, and other card applications are in the unselected state; after the terminal device receives the card selection instruction, the AID indicated by the card selection instruction is xxx4; the terminal device determines that the card application corresponding to xxx4 is card application d , and then determine that the terminal device supports card application d; the current default payment application of the terminal device is card application a, and then the terminal device determines that card application d is not the current default payment application of the terminal device, then the terminal device sets the default payment application as card For application d, set the display position of card application d to the top of the "other applications" list, and activate card application d in the transaction state; the terminal device automatically changes the default payment application to card application d, as shown in (b) in Figure 9 As shown in the interface of , the card application d is in the selected state, and other card applications are in the unselected state; and, as shown in the interface of (c) in Figure 9, the terminal device determines the card application a in the "default payment application" list is unselected; and then set the card application d as the default payment application of the terminal device. Wherein, Figure (a) of Figure 9 is the "second page", Figure 9 (b) is the "third page", and Figure 9 (c) is the "second page".
在本实施例中,图8或图9所示的界面跳转过程,在终端设备自动调整默认付款应用的过程中,无需主动显示给用户。In this embodiment, the interface jumping process shown in FIG. 8 or FIG. 9 does not need to be actively displayed to the user during the process of the terminal device automatically adjusting the default payment application.
第三种方式,参见图10-图12的介绍。For the third method, refer to the introduction of Figure 10-Figure 12.
图10为本申请实施例提供的一种应用处理方法的界面示意图六,如图10所示,终端设备显示第十界面,第十界面中包括“设置”列表,“设置”列表提供了多个设置选项,例如,设置选项1、设置选项2、设置选项3、更多链接、设置选项5、设置选项6、设置选项7。在第十界面中接收到触发“更多链接”的触发指令,终端设备显示第十一界面,第十一界面包括“更多链接”列表,“更多链接”列表提供了多个链接选项,例如,链接选项1、NFC、链接选项2、链接选项3。在第十一界面中接收到触发“NFC”的触发指令,终端设备显示第十二界面,第十二界面包括“NFC”列表,“NFC”列表提供了多个选项,例如,NFC、默认付款应用。在第十二界面中接收到触发“默认付款应用”的触发指令,终端设备显示第十三界面,第十三界面包括标题“默认付款应用”和“其他应用”,第十三界面可以为“其他应用”列表,“其他应用”列表提供了多个付款应用,“其他应用”列表中的卡应用为门禁卡和交通卡,例如,“其他应用”列表中的卡应用d和卡应用e为门禁卡,“其他应用”列表中的卡应用f为交通卡;在第十三界面中即受到触发“其他应用”触发指令,终端设备显示第十四界面,第十四界面包括标题“默认付款应用”和“其他应用”,第十四界面可以为“默认付款应用”列表,“默认付款应用”列表提供了多个付款应用,“默认付款应用”列表中的卡应用为银行卡和数字人民币卡,例如,“默认付款应用”列表的卡应用a和卡应用b均为银行卡,卡应用c为数字人民币卡。“默认付款应用”列表与“其他应用”列表中的卡应用,均为付款应用(也可以称为交易类别的卡应用);两个列表中的其中一个卡应用为终端设备的默认付款应用,例如,卡应用d为默认付款应用。Fig. 10 is a schematic diagram of interface VI of an application processing method provided by the embodiment of the present application. As shown in Fig. 10, the terminal device displays the tenth interface, which includes a "settings" list, and the "settings" list provides multiple Set options, for example, set option 1, set option 2, set option 3, more links, set option 5, set option 6, set option 7. In the tenth interface, a trigger instruction to trigger "more links" is received, and the terminal device displays an eleventh interface, the eleventh interface includes a "more links" list, and the "more links" list provides multiple link options, For example, link option 1, NFC, link option 2, link option 3. In the eleventh interface, a trigger instruction to trigger "NFC" is received, and the terminal device displays the twelfth interface, which includes an "NFC" list, and the "NFC" list provides multiple options, for example, NFC, default payment application. In the twelfth interface, the trigger instruction to trigger the "default payment application" is received, and the terminal device displays the thirteenth interface. The thirteenth interface includes the titles "default payment application" and "other applications", and the thirteenth interface may be " "Other applications" list, the "Other applications" list provides multiple payment applications, the card applications in the "Other applications" list are access control cards and traffic cards, for example, the card application d and card application e in the "Other applications" list are Access control card, the card application f in the list of "other applications" is a traffic card; in the thirteenth interface, the trigger instruction of "other applications" is triggered, and the terminal device displays the fourteenth interface, the fourteenth interface includes the title "default payment application” and “other applications”, the fourteenth interface can be a list of “default payment applications”, which provides multiple payment applications, and the card applications in the “default payment application” list are bank cards and digital RMB Cards, for example, card application a and card application b in the "default payment application" list are both bank cards, and card application c is a digital RMB card. The card applications in the "Default Payment Application" list and the "Other Applications" list are all payment applications (also called transaction category card applications); one of the card applications in the two lists is the default payment application of the terminal device, For example, the card application d is the default payment application.
“默认付款应用”列表用于显示第一类别的卡应用;第一类别的表征卡应用为货币交易的卡应用。例如,第一类别的卡应用,包括了银行卡、数字人民币卡。The "default payment application" list is used to display the card application of the first category; the representative card application of the first category is a card application for money transaction. For example, the first category of card applications includes bank cards and digital RMB cards.
“其他应用”列表用于显示第二类别的卡应用,第二类别表征卡应用为非货币交易的卡应用。例如,第二类别的卡应用,包括了门禁卡、交通卡、车钥匙对应的卡、房间门对应的卡。The "other applications" list is used to display card applications of the second category, and the second category indicates that the card application is a card application for non-monetary transactions. For example, the second category of card applications includes access control cards, traffic cards, cards corresponding to car keys, and cards corresponding to room doors.
其中,第十界面可以对应于图10中的(a)的界面;第十一界面可以对应于图10中的(b)的界面;第十二界面可以对应于图10中的(c)的界面;第十三界面可以对应于图10中的(d)的界面;第十四界面可以对应于图10中的(e)的界面。其中,图10中的(d)的界面为“第三页面”,即,第十三界面为“第三页面”。图10中的(e)的界面为“第二页面”,即,第十四界面为“第二页面”。Wherein, the tenth interface may correspond to the interface of (a) in Figure 10; the eleventh interface may correspond to the interface of (b) in Figure 10; the twelfth interface may correspond to the interface of (c) in Figure 10 interface; the thirteenth interface may correspond to the interface of (d) in FIG. 10 ; the fourteenth interface may correspond to the interface of (e) in FIG. 10 . Wherein, the interface of (d) in FIG. 10 is the "third page", that is, the thirteenth interface is the "third page". The interface of (e) in FIG. 10 is the "second page", that is, the fourteenth interface is the "second page".
图11为本申请实施例提供的一种应用处理方法的界面示意图七,如图11所示,终端设备的默认付款应用为卡应用d,如图11中的(a)的界面所示,卡应用d为选中状态,其他的卡应用为非选中状态;终端设备在接收到选卡指令之后,选卡指令指示出的AID为xxx5;终端设备确定出xxx5对应的卡应用为卡应用e,进而确定终端设备支持卡应用e;终端设备的当前的默认付款应用为卡应用d,进而终端设备确定卡应用e不是终端设备的当前的默认付款应用,则终端设备将默认付款应用设置为卡应用e,将卡应用e的显示位置设置到“其他应用”列表的最前面,且激活卡应用e处于交易状态;终端设备自动修改图11中的(a)的界面中的默认付款应用为卡应用e,如图11中的(b)的界面所示,卡应用e为选中状态,其他的卡应用为非选中状态;进而将卡应用e设置为终端设备的默认付款应用。其中,图11的图(a)和图(b)均为“第三页面”。Figure 11 is a schematic diagram of interface VII of an application processing method provided by the embodiment of the present application. As shown in Figure 11, the default payment application of the terminal device is the card application d, as shown in the interface (a) in Figure 11, the card Application d is in the selected state, and other card applications are in the unselected state; after the terminal device receives the card selection instruction, the AID indicated by the card selection instruction is xxx5; the terminal device determines that the card application corresponding to xxx5 is card application e, and then Determine that the terminal device supports card application e; the current default payment application of the terminal device is card application d, and then the terminal device determines that card application e is not the current default payment application of the terminal device, then the terminal device sets the default payment application as card application e , set the display position of the card application e to the front of the list of "other applications", and activate the card application e in the transaction state; the terminal device automatically modifies the default payment application in the interface of (a) in Figure 11 to the card application e , as shown in the interface of (b) in Figure 11, the card application e is in the selected state, and other card applications are in the unselected state; and then the card application e is set as the default payment application of the terminal device. Wherein, the picture (a) and picture (b) of Figure 11 are both "the third page".
或者,图12为本申请实施例提供的一种应用处理方法的界面示意图八,如图12所示,终端设备的默认付款应用为卡应用d,如图12中的(a)的界面所示,卡应用d为选中状态,其他的卡应用为非选中状态;终端设备在接收到选卡指令之后,选卡指令指示出的AID为xxx1;终端设备确定出xxx1对应的卡应用为卡应用a,进而确定终端设备支持卡应用a;终端设备的当前的默认付款应用为卡应用d,进而终端设备确定卡应用a不是终端设备的当前的默认付款应用,则终端设备将默认付款应用设置为卡应用a,将卡应用a的显示位置设置到“默认付款应用”列表的最前面,且激活卡应用a处于交易状态;终端设备自动修改图12中的(a)的界面中的默认付款应用为卡应用a,如图12中的(b)的界面所示,卡应用a为选中状态,其他的卡应用为非选中状态;并且,如图12中的(c)的界面所示,终端设备确定“其他应用”列表中的卡应用d为非选中状态;进而将卡应用a设置为终端设备的默认付款应用。其中,图12的图(a)为“第三页面”,图12的图(b)为“第二页面”,图12的图(c)为“第三页面”。Alternatively, FIG. 12 is a schematic diagram of an interface eighth of an application processing method provided in the embodiment of the present application. As shown in FIG. 12, the default payment application of the terminal device is the card application d, as shown in the interface of (a) in FIG. 12 , card application d is in the selected state, and other card applications are in the unselected state; after the terminal device receives the card selection instruction, the AID indicated by the card selection instruction is xxx1; the terminal device determines that the card application corresponding to xxx1 is card application a , and then determine that the terminal device supports card application a; the current default payment application of the terminal device is card application d, and then the terminal device determines that card application a is not the current default payment application of the terminal device, then the terminal device sets the default payment application as card Application a, set the display position of card application a to the front of the list of "default payment applications", and activate card application a in the transaction state; the terminal device automatically modifies the default payment application in the interface of (a) in Figure 12 as Card application a, as shown in the interface of (b) in Figure 12, the card application a is in the selected state, and other card applications are in the unselected state; and, as shown in the interface of (c) in Figure 12, the terminal device Make sure that the card application d in the "other applications" list is not selected; and then set the card application a as the default payment application of the terminal device. Wherein, Figure (a) of Figure 12 is the "third page", Figure (b) of Figure 12 is the "second page", and Figure 12 (c) is the "third page".
在本实施例中,图11或图12所示的界面跳转过程,在终端设备自动调整默认付款应用的过程中,无需主动显示给用户。In this embodiment, the interface jump process shown in FIG. 11 or FIG. 12 does not need to be actively displayed to the user during the process of the terminal device automatically adjusting the default payment application.
步骤S404是可选步骤。Step S404 is an optional step.
一个示例中,可以执行步骤S404,终端设备可以根据选卡指令自动修改默认付款应用,无需用户手动更换默认付款应用。节约了终端设备与用户之间的交互指令,加快了应用处理、交易处理的过程。In an example, step S404 may be executed, and the terminal device may automatically modify the default payment application according to the card selection instruction, without requiring the user to manually change the default payment application. The interaction instruction between the terminal device and the user is saved, and the process of application processing and transaction processing is accelerated.
终端设备在确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用的时候,可以先激活选卡指令所指示的AID所对应的卡应用,再设置选卡指令所指示的AID所对应的卡应用为默认付款应用。或者,终端设备在确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用的时候,可以先设置选卡指令所指示的AID所对应的卡应用为默认付款应用,再激活选卡指令所指示的AID所对应的卡应用。或者,终端设备在确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用的时候,可以同时的执行“激活选卡指令所指示的AID所对应的卡应用”和“设置选卡指令所指示的AID所对应的卡应用为默认付款应用”。When the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, it can first activate the card application corresponding to the AID indicated by the card selection instruction, and then set the AID indicated by the card selection instruction The corresponding card application is the default payment application. Alternatively, when the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, it can first set the card application corresponding to the AID indicated by the card selection instruction as the default payment application, and then activate the selected payment application. The card application corresponding to the AID indicated by the card instruction. Or, when the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, it can simultaneously execute "activate the card application corresponding to the AID indicated by the card selection instruction" and "set the selection option". The card application corresponding to the AID indicated by the card instruction is the default payment application."
另一个示例中,在本实施例中,可以不执行步骤S404,终端设备不自动修改默认付款应用。In another example, in this embodiment, step S404 may not be performed, and the terminal device does not automatically modify the default payment application.
S405、终端设备显示选卡指令所指示的AID所对应的卡应用的界面。S405. The terminal device displays an interface of the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备在激活了选卡指令所指示的AID所对应的卡应用之后,显示出选卡指令所指示的AID所对应的卡应用的界面,该界面中包括但限于以下信息:图标信息、图片信息、卡应用的余额信息、卡应用的限额信息、等等。进而终端设备提示给用户当前待交易的卡应用是哪一个卡应用;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。Exemplarily, after the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it displays the interface of the card application corresponding to the AID indicated by the card selection instruction, which includes but is limited to the following information: Information, picture information, balance information of card application, limit information of card application, etc. Furthermore, the terminal device prompts the user which card application the current card application to be traded is; if the terminal device modifies the default payment application, this interface is also used to prompt the user that the default payment application has been modified.
一个示例中,图13为本申请实施例提供的一种应用处理方法的界面示意图九,如图13所示,终端设备显示出选卡指令所指示的AID所对应的卡应用的界面。进而向用户提示当前的默认付款应用。图13所示的示例中,终端设备仅需显示当前的默认付款应用的界面,无需显示其他卡应用,进而向用户提示需要对卡应用进行交易处理;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。其中,图13所示的界面,为“第五页面”;第五页面用于显示终端设备的当前的待交易的卡应用。In one example, FIG. 13 is a schematic interface diagram 9 of an application processing method provided by an embodiment of the present application. As shown in FIG. 13 , the terminal device displays the card application interface corresponding to the AID indicated by the card selection instruction. In turn, the user is prompted for the current default payment application. In the example shown in Figure 13, the terminal device only needs to display the interface of the current default payment application, without displaying other card applications, and then prompts the user that the card application needs to perform transaction processing; if the terminal device modifies the default payment application, the The interface is also used to prompt the user to modify the default payment application. Wherein, the interface shown in FIG. 13 is the "fifth page"; the fifth page is used to display the current card application to be traded in the terminal device.
另一个示例中,图14为本申请实施例提供的一种应用处理方法的界面示意图十,如图14所示,在图14的(a)中的卡应用a为终端设备之前的默认付款应用;其余卡应用包括了其他的付款应用,例如,卡应用b为付款应用。由于终端设备之前的默认付款应用为卡应用a,在收款设备与卡应用a之间匹配时,终端设备可以显示出卡应用a,进而向用户提示当前的默认付款应用为卡应用a;终端设备还显示卡应用b。收款设备发出选卡指令,选卡指令所指示的AID为卡应用b的AID;终端设备确定当前的默认付款应用为卡应用a,进而终端设备确定卡应用b不是当前的默认付款应用,则终端设备激活卡应用b,并且终端设备显示一个界面,该界面如图14的(b)所示,终端设备将卡应用a与卡应用b的位置对换,向用户提示需要对卡应用b进行交易处理;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。其中,图14的(a)所示的界面为“第六页面”,图14的(b)所示的界面为“第六页面”;第六页面用于显示终端设备所支持的各卡应用,其中“终端设备所支持的各卡应用”中包括当前的待交易的卡应用。In another example, FIG. 14 is a schematic interface diagram of an application processing method provided in the embodiment of the present application. As shown in FIG. 14, the card application a in (a) of FIG. 14 is the default payment application before the terminal device ; Other card applications include other payment applications, for example, card application b is a payment application. Since the default payment application of the terminal device is the card application a, when the payment collection device matches the card application a, the terminal device can display the card application a, and then prompt the user that the current default payment application is the card application a; the terminal The device also displays card application b. The collection device issues a card selection instruction, and the AID indicated by the card selection instruction is the AID of card application b; the terminal device determines that the current default payment application is card application a, and then the terminal device determines that card application b is not the current default payment application, then The terminal device activates the card application b, and the terminal device displays an interface, as shown in (b) of Figure 14, the terminal device switches the positions of the card application a and the card application b, and prompts the user that the card application b needs to be modified. Transaction processing; if the default payment application is modified on the terminal device, this interface is also used to prompt the user to modify the default payment application. Among them, the interface shown in (a) of Figure 14 is the "sixth page", and the interface shown in (b) of Figure 14 is the "sixth page"; the sixth page is used to display the card applications supported by the terminal device , wherein the "card applications supported by the terminal device" includes the current card application to be traded.
又一个示例中,图15为本申请实施例提供的一种应用处理方法的界面示意图十一,如图15所示,在图15的(a)中的卡应用a为终端设备之前的默认付款应用;其余卡应用包括了其他的付款应用,例如银行卡、交通卡、门禁卡。由于终端设备之前的默认付款应用为卡应用a,在收款设备与卡应用a之间匹配时,终端设备可以显示出卡应用a,进而向用户提示当前的默认付款应用为应用a;终端设备还显示其他的卡应用b、卡应用c和卡应用d,进而向用户提示其余可用的卡应用。收款设备发出选卡指令,选卡指令所指示的AID为卡应用b的AID;终端设备确定当前的默认付款应用为卡应用a,进而终端设备确定卡应用b不是当前的默认付款应用,则终端设备激活卡应用b,并且终端设备显示一个界面,该界面如图15的(b)所示,终端设备将卡应用a与卡应用b的位置对换,向用户提示需要对卡应用b进行交易处理;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。其中,图15的(a)所示的界面为“第六页面”,图15的(b)所示的界面为“第六页面”;第六页面用于显示终端设备所支持的各卡应用,其中“终端设备所支持的各卡应用”中包括当前的待交易的卡应用。In yet another example, Fig. 15 is a schematic interface diagram eleven of an application processing method provided by the embodiment of the present application. As shown in Fig. 15, the card application a in (a) of Fig. 15 is the default payment before the terminal device applications; other card applications include other payment applications, such as bank cards, transportation cards, and access control cards. Since the default payment application of the terminal device is the card application a, when the payment collection device matches the card application a, the terminal device can display the card application a, and then prompt the user that the current default payment application is application a; the terminal device Other card application b, card application c and card application d are also displayed, thereby prompting the user of the remaining available card applications. The collection device issues a card selection instruction, and the AID indicated by the card selection instruction is the AID of card application b; the terminal device determines that the current default payment application is card application a, and then the terminal device determines that card application b is not the current default payment application, then The terminal device activates the card application b, and the terminal device displays an interface, as shown in (b) of Figure 15, the terminal device swaps the positions of the card application a and the card application b, and prompts the user that the card application b needs to be modified. Transaction processing; if the default payment application is modified on the terminal device, this interface is also used to prompt the user to modify the default payment application. Among them, the interface shown in (a) of Figure 15 is the "sixth page", and the interface shown in (b) of Figure 15 is the "sixth page"; the sixth page is used to display the card applications supported by the terminal device , wherein the "card applications supported by the terminal device" includes the current card application to be traded.
又一个示例中,图16为本申请实施例提供的一种应用处理方法的界面示意图十二,如图16所示,在图16的(a)中的卡应用a为终端设备之前的默认付款应用;其余卡应用包括了其他的付款应用,例如银行卡、交通卡、门禁卡;例如,卡应用a为银行卡,卡应用b为数字人民币卡,卡应用c为门禁卡,卡应用d为交通卡;终端设备设置了卡应用d为“默认卡”,“默认卡”不同于“默认付款应用”。由于终端设备之前的默认付款应用为卡应用a,在收款设备与卡应用a之间匹配时,终端设备可以显示出卡应用a,进而向用户提示当前的默认付款应用为应用a;终端设备还显示其他的卡应用c、卡应用d和卡应用b,进而向用户提示其余可用的卡应用,终端设备显示卡应用c、卡应用d和卡应用b,其中卡应用c是默认卡(“默认卡”不同于“默认付款应用”),进而卡应用c的位置在卡应用b之前。收款设备发出选卡指令,选卡指令所指示的AID为卡应用b的AID;终端设备确定当前的默认付款应用为卡应用a,进而终端设备确定卡应用b不是当前的默认付款应用,则终端设备激活卡应用b,并且终端设备显示一个界面,该界面如图16的(b)所示,终端设备将卡应用a与卡应用b的位置对换,向用户提示需要对卡应用b进行交易处理;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。其中,图16的(a)所示的界面为“第六页面”,图16的(b)所示的界面为“第六页面”;第六页面用于显示终端设备所支持的各卡应用,其中“终端设备所支持的各卡应用”中包括当前的待交易的卡应用。In yet another example, FIG. 16 is a schematic interface diagram twelve of an application processing method provided by the embodiment of the present application. As shown in FIG. 16, the card application a in (a) of FIG. 16 is the default payment before the terminal device application; other card applications include other payment applications, such as bank cards, transportation cards, and access control cards; for example, card application a is bank cards, card application b is digital RMB cards, card application c is access control cards, and card application d is Transportation card; the terminal device sets the card application as "default card", and "default card" is different from "default payment application". Since the default payment application of the terminal device is the card application a, when the payment collection device matches the card application a, the terminal device can display the card application a, and then prompt the user that the current default payment application is application a; the terminal device Also display other card application c, card application d, and card application b, and then prompt the user for other available card applications, and the terminal device displays card application c, card application d, and card application b, wherein card application c is the default card (“ Default card" is different from "default payment application"), and thus card application c is positioned before card application b. The collection device issues a card selection instruction, and the AID indicated by the card selection instruction is the AID of card application b; the terminal device determines that the current default payment application is card application a, and then the terminal device determines that card application b is not the current default payment application, then The terminal device activates card application b, and the terminal device displays an interface, as shown in (b) of Figure 16. The terminal device swaps the positions of card application a and card application b, and prompts the user that card application b needs to be modified. Transaction processing; if the default payment application is modified on the terminal device, this interface is also used to prompt the user to modify the default payment application. Among them, the interface shown in (a) of Figure 16 is the "sixth page", and the interface shown in (b) of Figure 16 is the "sixth page"; the sixth page is used to display the card applications supported by the terminal device , wherein the "card applications supported by the terminal device" includes the current card application to be traded.
步骤S405是可选步骤。Step S405 is an optional step.
S406、终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用。S406. The terminal device sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction.
示例性地,由于终端设备在步骤S402时,确定出了与选卡指令所指示的AID所对应的卡应用,终端设备确定支持选卡指令所指示的AID所对应的卡应用。终端设备在激活了选卡指令所指示的AID所对应的卡应用之后,终端设备生成选择确认结果,此时,选择确认结果表征终端设备支持选卡指令所指示的AID所对应的卡应用。Exemplarily, since the terminal device determines the card application corresponding to the AID indicated by the card selection instruction in step S402, the terminal device determines to support the card application corresponding to the AID indicated by the card selection instruction. After the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, the terminal device generates a selection confirmation result. At this time, the selection confirmation result indicates that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction.
此外,选择确认结果中可以包括以下内容:选卡指令所指示的AID、交易内容。交易内容,包括先不限于:终端设备标识、交易数额、交易标识。In addition, the selection confirmation result may include the following content: the AID indicated by the card selection instruction, and the transaction content. Transaction content, including but not limited to: terminal device identification, transaction amount, and transaction identification.
其中,不限制步骤S405和步骤S406的执行次序。可以先执行步骤S405,再执行步骤S406。或者,可以先执行步骤S406,再执行步骤S405。或者,可以同时执行步骤S405和步骤S406。Wherein, the execution order of step S405 and step S406 is not limited. Step S405 may be executed first, and then step S406 is executed. Alternatively, step S406 may be executed first, and then step S405 may be executed. Alternatively, step S405 and step S406 may be executed simultaneously.
S407、终端设备接收收款设备发送的交易指令,交易指令用于指示进行交易处理。S407. The terminal device receives the transaction instruction sent by the payment collection device, where the transaction instruction is used to instruct transaction processing.
示例性地,收款设备在接收到选择确认结果之后,确定收款设备与终端设备之间可以进行交易处理。例如,收款设备直接生成交易数额,或者,收款设备根据选择确认结果中的交易数额进行额度确认。Exemplarily, after receiving the selection confirmation result, the payment collection device determines that transaction processing can be performed between the payment collection device and the terminal device. For example, the payment collection device directly generates the transaction amount, or, the payment collection device confirms the amount according to the transaction amount in the selection confirmation result.
收款设备需要生个一个交易指令,交易指令中包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、选卡指令所指示的AID、等等。收款设备将生成的交易指令发送给终端设备。The payment collection device needs to generate a transaction instruction, which includes but is not limited to: terminal device identification, transaction amount, transaction identification, transaction time, account name, AID indicated by the card selection instruction, and so on. The payment receiving device sends the generated transaction instruction to the terminal device.
S408、终端设备进行交易处理,生成交易结果信息;并向收款设备发送交易结果信息,交易结果信息表征交易是否成功。S408. The terminal device performs transaction processing, generates transaction result information; and sends transaction result information to the payment collection device, where the transaction result information represents whether the transaction is successful.
示例性地,终端设备依据交易指令完成交易过程。终端设备在确定完成了交易之后,或者,终端设备在确认交易失败之后,向收款设备发送交易结果信息,交易结果信息表征交易是否成功;终端设备告知收款设备交易的结果。Exemplarily, the terminal device completes the transaction process according to the transaction instruction. After the terminal device confirms that the transaction is completed, or after the terminal device confirms that the transaction fails, it sends transaction result information to the payment collection device, and the transaction result information indicates whether the transaction is successful; the terminal device informs the payment collection device of the transaction result.
一个示例中,收款设备将交易指令发送给终端设备。终端设备根据交易指令进行交易处理,生成交易结果信息;终端设备将交易结果信息发送给收款设备。In an example, the payment collection device sends the transaction instruction to the terminal device. The terminal device performs transaction processing according to the transaction instruction, and generates transaction result information; the terminal device sends the transaction result information to the payment collection device.
例如,选卡指令指示的AID所对应的卡应用为交通卡,收款设备生成交易指令,交易指令中包括交通卡的AID、交易标识、交易额度、交易时间、账户名、等等;且交易指令指示对交通卡进行交通扣费、或者进行交通次数的扣除。收款设备将交易指令发送给终端设备。终端设备根据交易指令中的信息进行比对,完成交通卡的交易处理。然后,终端设备生成交易结果信息,将交易结果信息发送给收款设备。For example, the card application corresponding to the AID indicated by the card selection instruction is a transportation card, and the payment collection device generates a transaction instruction, which includes the AID of the transportation card, transaction identification, transaction amount, transaction time, account name, etc.; and the transaction The instruction instructs to deduct the traffic fee or deduct the number of times of traffic on the traffic card. The payment receiving device sends the transaction instruction to the terminal device. The terminal device compares the information in the transaction instruction to complete the transaction processing of the transportation card. Then, the terminal device generates transaction result information, and sends the transaction result information to the payment collection device.
另一个示例中,收款设备将交易指令发送给终端设备。终端设备根据交易指令中的信息,与卡应用服务器之间进行交互过程,进而完成交易处理;其中,卡应用服务器为选卡指令所指示的AID所对应的卡应用所归属的服务器。卡应用服务器根据交易指令进行交易处理,然后向终端设备发送交易结果信息,交易结果信息表征交易是否成功。In another example, the payment collection device sends the transaction instruction to the terminal device. The terminal device interacts with the card application server according to the information in the transaction instruction, and then completes the transaction processing; wherein, the card application server is the server to which the card application corresponding to the AID indicated by the card selection instruction belongs. The card application server performs transaction processing according to the transaction instruction, and then sends transaction result information to the terminal device, and the transaction result information indicates whether the transaction is successful or not.
例如,选卡指令指示的AID所对应的卡应用为数字人民币卡,收款设备生成交易指令,交易指令中包括数字人民币卡的AID、交易标识、交易额度、交易时间、账户名、等等。收款设备将交易指令发送给终端设备;终端设备将交易指令,发送卡应用服务器,其中,卡应用服务器为数字人民币卡的服务器。卡应用服务器根据交易指令中的信息进行交易处理,生成交易结果信息,并将交易结果信息发送给终端设备然后,终端设备将接收到的交易结果信息发送给收款设备。For example, the card application corresponding to the AID indicated by the card selection instruction is a digital renminbi card, and the payment collection device generates a transaction instruction, which includes the AID of the digital renminbi card, transaction ID, transaction amount, transaction time, account name, and so on. The collection device sends the transaction instruction to the terminal device; the terminal device sends the transaction instruction to the card application server, wherein the card application server is the server of the digital RMB card. The card application server performs transaction processing according to the information in the transaction instruction, generates transaction result information, and sends the transaction result information to the terminal device. Then, the terminal device sends the received transaction result information to the payment collection device.
又一个示例中,收款设备将交易指令发送给终端设备;并且,收款设备将交易指令也发送给卡应用服务器;其中,卡应用服务器为选卡指令所指示的AID所对应的卡应用所归属的服务器。卡应用服务器根据交易指令进行交易处理,然后向终端设备发送交易结果信息,交易结果信息表征交易是否成功。终端设备将交易结果信息发送给收款设备。In yet another example, the payment collection device sends the transaction instruction to the terminal device; and, the payment collection device also sends the transaction instruction to the card application server; wherein, the card application server is the card application server corresponding to the AID indicated by the card selection instruction. Attributed server. The card application server performs transaction processing according to the transaction instruction, and then sends transaction result information to the terminal device, and the transaction result information indicates whether the transaction is successful or not. The terminal device sends the transaction result information to the payment collection device.
例如,选卡指令指示的AID所对应的卡应用为银行卡,收款设备生成交易指令,并将交易指令发送给终端设备和卡应用服务器;其中,卡应用服务器为选卡指令所指示的AID所对应的卡应用所归属的服务器,交易指令中包括银行卡的AID、交易标识、交易额度、交易时间、账户名、等等。卡应用服务器根据交易指令中的信息进行交易处理,然后生成交易结果信息,并将交易结果信息发送给终端设备,其中,交易结果信息表征交易处理是否成功。然后,终端设备接收到的交易结果信息发送给收款设备。For example, the card application corresponding to the AID indicated by the card selection instruction is a bank card, the payment collection device generates a transaction instruction, and sends the transaction instruction to the terminal device and the card application server; wherein, the card application server is the AID indicated by the card selection instruction The server to which the corresponding card application belongs, and the transaction instruction includes the bank card's AID, transaction ID, transaction amount, transaction time, account name, and so on. The card application server performs transaction processing according to the information in the transaction instruction, then generates transaction result information, and sends the transaction result information to the terminal device, wherein the transaction result information represents whether the transaction processing is successful. Then, the transaction result information received by the terminal device is sent to the payment collection device.
S409、终端设备显示交易结果信息。S409. The terminal device displays transaction result information.
示例性地,终端设备在确定完成了交易之后,或者,终端设备在确认交易失败之后,终端设备向用户提示交易结果信息,进而向用户提示交易的结果。Exemplarily, after the terminal device determines that the transaction is completed, or after the terminal device confirms that the transaction fails, the terminal device prompts the user for transaction result information, and then prompts the user for the transaction result.
一个示例中,图17为本申请实施例提供的一种应用处理方法的界面示意图十三,如图17所示,终端设备显示卡应用的界面,并显示一个交易结果信息,交易结果信息独立于卡应用的界面。其中,图17所示的界面为“第七页面”;第七页面显示交易结果信息和待交易的卡应用;其中,交易结果信息和待交易的卡应用的界面并列显示。In one example, FIG. 17 is a schematic interface diagram thirteen of an application processing method provided by the embodiment of the present application. As shown in FIG. 17, the terminal device displays the interface of the card application and displays a transaction result information, which is independent of the The interface of the card application. Wherein, the interface shown in Fig. 17 is the "seventh page"; the seventh page displays the transaction result information and the card application to be traded; wherein, the transaction result information and the interface of the card application to be traded are displayed side by side.
一个示例中,图18为本申请实施例提供的一种应用处理方法的界面示意图十四,如图18所示,终端设备在卡应用的界面中显示一个交易结果信息。其中,图18所示的界面为“第七页面”;第七页面显示交易结果信息和待交易的卡应用;其中,交易结果信息显示于待交易的卡应用的界面上。In one example, FIG. 18 is a schematic interface diagram 14 of an application processing method provided in the embodiment of the present application. As shown in FIG. 18 , the terminal device displays a transaction result information on the interface of the card application. Wherein, the interface shown in Fig. 18 is the "seventh page"; the seventh page displays the transaction result information and the card application to be transacted; wherein, the transaction result information is displayed on the interface of the card application to be transacted.
其中,步骤S409可以不执行。或者,步骤S409可以在步骤S408之后执行。或者,步骤S409可以在步骤S408之前执行。或者,步骤S408与步骤S409可以同时执行。Wherein, step S409 may not be executed. Alternatively, step S409 may be performed after step S408. Alternatively, step S409 may be performed before step S408. Alternatively, step S408 and step S409 may be performed simultaneously.
本实施例中,选卡指令所指示的应用标识所对应的卡应用,为待交易的卡应用。In this embodiment, the card application corresponding to the application identifier indicated by the card selection instruction is the card application to be traded.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID;从而终端设备可以根据AID列表,确定出选卡指令所指示的AID所对应的卡应用;终端设备在确定出选卡指令所指示的AID所对应的卡应用时,确定终端设备支持选卡指令所指示的AID所对应的卡应用;然后,终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备需要激活选卡指令所指示的AID所对应的卡应用,以便于完成后续支付过程,进而终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。终端设备在激活选卡指令所指示的AID所对应的卡应用时,还可以将选卡指令所指示的AID所对应的卡应用设置为默认付款应用,从而终端设备自动修改默认付款应用,无需用户手动更换默认付款应用,加快了终端设备与收款设备之间的交易过程。并且,终端设备在激活选卡指令所指示的AID所对应的卡应用时,还可以显示出选卡指令所指示的AID所对应的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。终端设备在激活选卡指令所指示的AID所对应的卡应用之后,向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备再接收收款设备发送的交易指令,完成交易过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AID; thus the terminal device can determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list; the terminal device When determining the card application corresponding to the AID indicated by the card selection instruction, it is determined that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction; If the card application is not the current default payment application, the terminal device needs to change the payment method, and the terminal device needs to activate the card application corresponding to the AID indicated by the card selection instruction, so as to complete the subsequent payment process, and then the terminal device automatically determines that it needs to proceed The transaction card application does not require the user to manually modify the transaction card application to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device, and improves user experience. When the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it can also set the card application corresponding to the AID indicated by the card selection instruction as the default payment application, so that the terminal device automatically modifies the default payment application without the need for the user to Manually replace the default payment application, which speeds up the transaction process between the terminal device and the collection device. Moreover, when the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it can also display the interface of the card application corresponding to the AID indicated by the card selection instruction, and then prompt the user that the card application currently to be traded is Which card application; if the terminal device has modified the default payment application, this interface is also used to prompt the user to modify the default payment application. After the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it sends a selection confirmation result to the payment collection device, and then informs the payment collection device that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction. The terminal device then receives the transaction instruction sent by the payment collection device to complete the transaction process. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图19为本申请实施例提供的另一种应用处理方法的信令图。如图19所示,方法可以包括:FIG. 19 is a signaling diagram of another application processing method provided by the embodiment of the present application. As shown in Figure 19, methods can include:
S1901、终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID。S1901. The terminal device receives a card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AID.
示例性地,本步骤可以参见上述步骤S401,不再赘述。For example, this step can refer to the above step S401, and details are not repeated here.
S1902、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的AID所对应的卡应用。S1902. The terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,本步骤可以参见上述步骤S402,不再赘述。For example, this step may refer to the above step S402, and details are not repeated here.
S1903、终端设备若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用。S1903. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card selection instruction. The card application corresponding to the indicated AID.
示例性地,采用步骤S403的方式,终端设备若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则终端设备确定采用终端设备当前的默认付款应用可以完成支付交易过程;终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用。Exemplarily, using the method of step S403, if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, the terminal device determines that the payment transaction process can be completed by using the current default payment application of the terminal device ; The terminal device sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction.
S1904、终端设备显示选卡指令所指示的AID所对应的卡应用的界面。S1904. The terminal device displays an interface of the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以显示出选卡指令所指示的AID所对应的卡应用的界面,该界面中包括但限于以下信息:图标信息、图片信息、卡应用的余额信息、卡应用的限额信息、等等。进而终端设备提示给用户当前待交易的卡应用是哪一个卡应用。Exemplarily, after the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it may display the interface of the card application corresponding to the AID indicated by the card selection instruction, which includes However, it is limited to the following information: icon information, picture information, card application balance information, card application limit information, and so on. Furthermore, the terminal device prompts the user which card application the current card application to be traded is.
一个示例中,图20为本申请实施例提供的另一种应用处理方法的界面示意图一,如图20所示,终端设备显示出选卡指令所指示的AID所对应的卡应用的界面。进而向用户提示当前的需进行交易的卡应用是哪一个卡应用。图20所示的示例中,终端设备仅需显示选卡指令所指示的AID所对应的卡应用的界面,无需显示其他卡应用,进而向用户提示需要对卡应用进行交易处理。In one example, FIG. 20 is an interface schematic diagram 1 of another application processing method provided by the embodiment of the present application. As shown in FIG. 20 , the terminal device displays the interface of the card application corresponding to the AID indicated by the card selection instruction. Further, the user is prompted which card application is the current card application that needs to be traded. In the example shown in FIG. 20 , the terminal device only needs to display the interface of the card application corresponding to the AID indicated by the card selection instruction, without displaying other card applications, and then prompts the user that the card application needs to perform transaction processing.
另一个示例中,图21为本申请实施例提供的另一种应用处理方法的界面示意图二,如图21所示,在图21的(a)中的卡应用a为终端设备之前的默认付款应用;其余卡应用包括了其他的付款应用,例如,卡应用b为付款应用。由于终端设备之前的默认付款应用为卡应用a,在收款设备与卡应用a之间匹配时,终端设备可以显示出卡应用a,进而向用户提示当前的默认付款应用为卡应用a;终端设备还显示卡应用b。收款设备发出选卡指令,选卡指令所指示的AID为卡应用a的AID;终端设备确定当前的默认付款应用为卡应用a,进而终端设备确定卡应用a是当前的默认付款应用,则终端设备截图显示一个界面,该界面如图21的(b)所示,终端设备无需调整图21的(a)的界面。In another example, FIG. 21 is a second schematic interface diagram of another application processing method provided by the embodiment of the present application. As shown in FIG. 21, the card application a in (a) of FIG. 21 is the default payment before the terminal device application; other card applications include other payment applications, for example, card application b is a payment application. Since the default payment application of the terminal device is the card application a, when the payment collection device matches the card application a, the terminal device can display the card application a, and then prompt the user that the current default payment application is the card application a; the terminal The device also displays card application b. The collection device issues a card selection instruction, and the AID indicated by the card selection instruction is the AID of card application a; the terminal device determines that the current default payment application is card application a, and then the terminal device determines that card application a is the current default payment application, then The screenshot of the terminal device shows an interface as shown in (b) of FIG. 21 , and the terminal device does not need to adjust the interface of (a) of FIG. 21 .
又一个示例中,图22为本申请实施例提供的另一种应用处理方法的界面示意图三,如图22所示,在图22的(a)中的卡应用a为终端设备之前的默认付款应用;其余卡应用包括了其他的付款应用,例如银行卡、交通卡、门禁卡。由于终端设备之前的默认付款应用为卡应用a,在收款设备与卡应用a之间匹配时,终端设备可以显示出卡应用a,进而向用户提示当前的默认付款应用为应用a;终端设备还显示其他的卡应用b、卡应用c和卡应用d,进而向用户提示其余可用的卡应用。收款设备发出选卡指令,选卡指令所指示的AID为卡应用a的AID;终端设备确定当前的默认付款应用为卡应用a,进而终端设备确定卡应用a是当前的默认付款应用,则终端设备显示一个界面,该界面如图22的(b)所示,终端设备无需调整图22的(a)的界面。In another example, FIG. 22 is a third interface schematic diagram of another application processing method provided by the embodiment of the present application. As shown in FIG. 22, the card application a in (a) of FIG. 22 is the default payment before the terminal device applications; other card applications include other payment applications, such as bank cards, transportation cards, and access control cards. Since the default payment application of the terminal device is the card application a, when the payment collection device matches the card application a, the terminal device can display the card application a, and then prompt the user that the current default payment application is application a; the terminal device Other card application b, card application c and card application d are also displayed, thereby prompting the user of the remaining available card applications. The collection device issues a card selection instruction, and the AID indicated by the card selection instruction is the AID of card application a; the terminal device determines that the current default payment application is card application a, and then the terminal device determines that card application a is the current default payment application, then The terminal device displays an interface as shown in (b) of FIG. 22 , and the terminal device does not need to adjust the interface of (a) of FIG. 22 .
再一个示例中,图23为本申请实施例提供的另一种应用处理方法的界面示意图四,如图23所示,在图23的(a)中的卡应用a为终端设备之前的默认付款应用;其余卡应用包括了其他的付款应用,例如银行卡、交通卡、门禁卡;例如,卡应用a为银行卡,卡应用b为数字人民币卡,卡应用c为门禁卡,卡应用d为交通卡;终端设备设置了卡应用d为“默认卡”,“默认卡”不同于“默认付款应用”。由于终端设备之前的默认付款应用为卡应用a,在收款设备与卡应用a之间匹配时,终端设备可以显示出卡应用a,进而向用户提示当前的默认付款应用为应用a;终端设备还显示其他的卡应用c、卡应用d和卡应用b,进而向用户提示其余可用的卡应用,终端设备显示卡应用c、卡应用d和卡应用b,其中卡应用c是默认卡(“默认卡”不同于“默认付款应用”),进而卡应用c的位置在卡应用b之前。收款设备发出选卡指令,选卡指令所指示的AID为卡应用a的AID;终端设备确定当前的默认付款应用为卡应用a,进而终端设备确定卡应用a是当前的默认付款应用,则终端设备显示一个界面,该界面如图23的(b)所示,终端设备无需调整图23的(a)的界面。In another example, FIG. 23 is a schematic diagram of another application processing method provided by the embodiment of the present application. As shown in FIG. 23, the card application a in (a) of FIG. 23 is the default payment before the terminal device application; other card applications include other payment applications, such as bank cards, transportation cards, and access control cards; for example, card application a is bank cards, card application b is digital RMB cards, card application c is access control cards, and card application d is Transportation card; the terminal device sets the card application as "default card", and "default card" is different from "default payment application". Since the default payment application of the terminal device is the card application a, when the payment collection device matches the card application a, the terminal device can display the card application a, and then prompt the user that the current default payment application is application a; the terminal device Also display other card application c, card application d, and card application b, and then prompt the user for other available card applications, and the terminal device displays card application c, card application d, and card application b, wherein card application c is the default card (“ Default card" is different from "default payment application"), and thus card application c is positioned before card application b. The collection device issues a card selection instruction, and the AID indicated by the card selection instruction is the AID of card application a; the terminal device determines that the current default payment application is card application a, and then the terminal device determines that card application a is the current default payment application, then The terminal device displays an interface as shown in (b) of FIG. 23 , and the terminal device does not need to adjust the interface of (a) of FIG. 23 .
其中,步骤S1904是可选步骤,且不限制步骤S1903和步骤S1904的执行次序。终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以先向收款设备发送选择确认结果,然后显示选卡指令所指示的AID所对应的卡应用的界面。或者,终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以先向显示选卡指令所指示的AID所对应的卡应用的界面,然后收款设备发送选择确认结果。或者,终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以同时执行“向收款设备发送选择确认结果”和“显示选卡指令所指示的AID所对应的卡应用的界面”。Wherein, step S1904 is an optional step, and the execution order of step S1903 and step S1904 is not limited. After the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it can first send the selection confirmation result to the payment collection device, and then display the card application corresponding to the AID indicated by the card selection instruction. interface. Alternatively, after the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it may first display the interface of the card application corresponding to the AID indicated by the card selection instruction, and then the payment collection device sends Select to confirm the result. Or, after the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it can simultaneously execute "send the selection confirmation result to the payment collection device" and "display the card application indicated by the AID indicated by the card selection instruction". The interface of the corresponding card application".
S1905、终端设备接收收款设备发送的交易指令,交易指令用于指示进行交易处理。S1905. The terminal device receives the transaction instruction sent by the payment collection device, where the transaction instruction is used to instruct transaction processing.
示例性地,本步骤可以参见步骤S407,不再赘述。For example, this step may refer to step S407, and details are not repeated here.
S1906、终端设备进行交易处理,生成交易结果信息,并向收款设备发送交易结果信息,交易结果信息表征交易是否成功。S1906. The terminal device performs transaction processing, generates transaction result information, and sends the transaction result information to the payment collection device, where the transaction result information represents whether the transaction is successful.
示例性地,本步骤可以参见步骤S408,不再赘述。For example, this step may refer to step S408, and details are not repeated here.
S1907、终端设备显示交易结果信息。S1907. The terminal device displays transaction result information.
示例性地,本步骤可以参见步骤S409,不再赘述。For example, this step may refer to step S409, and details are not repeated here.
其中,步骤1907可以不执行。或者,步骤S1907可以在步骤S1906之后执行。或者,步骤1907可以在步骤S1906之前执行。或者,步骤S1906与步骤S1907可以同时执行。Wherein, step 1907 may not be executed. Alternatively, step S1907 may be performed after step S1906. Alternatively, step 1907 may be performed before step S1906. Alternatively, step S1906 and step S1907 may be performed simultaneously.
本实施例中,选卡指令所指示的应用标识所对应的卡应用,为待交易的卡应用;即,终端设备的当前的默认付款应用,为待交易的卡应用。In this embodiment, the card application corresponding to the application identifier indicated by the card selection instruction is the card application to be traded; that is, the current default payment application of the terminal device is the card application to be traded.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID;从而终端设备可以根据AID列表,确定出选卡指令所指示的AID所对应的卡应用;终端设备在确定出选卡指令所指示的AID所对应的卡应用时,确定终端设备支持选卡指令所指示的AID所对应的卡应用;然后,终端设备若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则终端设备需要无需更换支付方式,终端设备可以直接向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用时,还可以显示出选卡指令所指示的AID所对应的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;本实施例中,终端设备无需修改了默认付款应用。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则终端设备可以直接调取该卡应用去进行后续的交易处理过程,通过选卡指令的AID调取当前的默认付款应用。终端设备再接收收款设备发送的交易指令,完成交易过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AID; thus the terminal device can determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list; the terminal device When determining the card application corresponding to the AID indicated by the card selection instruction, it is determined that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction; The card application is the current default payment application, so the terminal device does not need to change the payment method. The terminal device can directly send the selection confirmation result to the payment collection device, and then inform the payment collection device that the terminal device supports the card corresponding to the AID indicated by the card selection instruction. application. When the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it can also display the interface of the card application corresponding to the AID indicated by the card selection instruction, and then prompt the user for the current pending transaction Which card application is the card application; in this embodiment, the terminal device does not need to modify the default payment application. Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, the terminal device can Call the card application directly for subsequent transaction processing, and call the current default payment application through the AID of the card selection command. The terminal device then receives the transaction instruction sent by the payment collection device to complete the transaction process. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图24为本申请实施例提供的又一种应用处理方法的信令图。如图24所示,方法可以包括:FIG. 24 is a signaling diagram of another application processing method provided by the embodiment of the present application. As shown in Figure 24, methods may include:
S2401、终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID。S2401. The terminal device receives a card selection instruction sent by the payment collection device, where the card selection instruction is used to indicate the AID.
示例性地,本步骤可以参见步骤S401,不再赘述。For example, this step may refer to step S401, and details are not repeated here.
S2402、终端设备若根据AID列表未确定出选卡指令所指示的AID所对应的卡应用,其中,AID列表用于指示AID与卡应用之间的对应关系,则生成并显示提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的AID所对应的卡应用。S2402. If the terminal device does not determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list, where the AID list is used to indicate the correspondence between the AID and the card application, generate and display a prompt message; wherein, The prompt information indicates that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备中已经预先存储了一个AID列表,AID列表的介绍,请参见步骤S402,不再赘述。Exemplarily, an AID list has been pre-stored in the terminal device. For the introduction of the AID list, please refer to step S402, and details will not be repeated here.
终端设备接收选卡指令之后,终端设备依据AID列表,确定选卡指令所指示的AID所对应的卡应用。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备确定选卡指令所指示的AID所对应的卡应用不是付款应用,且终端设确定终端设备不支持选卡指令所指示的AID所对应的卡应用。After the terminal device receives the card selection instruction, the terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist. The terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
然后,终端设备显示一个界面,该界面中包括提示信息,提示信息用于提示用户选卡指令所指示的AID所对应的卡应用不是付款应用、且终端设备不支持选卡指令所指示的AID所对应的卡应用。此时的界面,为“第四页面”。Then, the terminal device displays an interface, which includes prompt information, and the prompt information is used to remind the user that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device does not support the AID indicated by the card selection instruction. Corresponding card application. The interface at this time is the "fourth page".
一个示例中,图25为本申请实施例提供的又一种应用处理方法的界面示意图,如图25所示,终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备显示一个界面,该界面中包括一个提示信息;提示信息用于提示用户选卡指令所指示的AID所对应的卡应用不是付款应用、且终端设备不支持选卡指令所指示的AID所对应的卡应用。图25所示的界面为“第四页面”。In an example, FIG. 25 is a schematic interface diagram of another application processing method provided by the embodiment of the present application. As shown in FIG. 25, if the terminal device determines that the AID indicated by the card selection instruction does not exist in the AID list according to the AID list For the corresponding card application, the terminal device displays an interface, which includes a prompt message; the prompt message is used to remind the user that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device does not support the card selection instruction The card application corresponding to the indicated AID. The interface shown in Figure 25 is the "fourth page".
或者,提示信息可以为语音信息、震动提示、等等。Alternatively, the prompt information may be a voice message, a vibration prompt, and so on.
S2403、终端设备向收款设备发送提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的AID所对应的卡应用。S2403. The terminal device sends prompt information to the payment collection device; wherein, the prompt information indicates that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备还可以向收款设备发送上述提示信息,进而告知收款设备终端设备不支持选卡指令所指示的AID所对应的卡应用。Exemplarily, the terminal device may also send the above prompt information to the payment collection device, and then inform the payment collection device that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
其中,不限制步骤S2402和步骤S2403的执行次序。终端设备可以先显示提示信息,再向收款设备发送提示信息。或者,终端设备可以向收款设备发送提示信息,在显示提示信息。或者,终端设备在显示提示信息的同时,向收款设备发送提示信息。Wherein, the execution order of step S2402 and step S2403 is not limited. The terminal device may first display the prompt information, and then send the prompt information to the payment collection device. Alternatively, the terminal device may send prompt information to the payment collection device, and then display the prompt information. Alternatively, the terminal device sends prompt information to the payment collection device while displaying the prompt information.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID;终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备确定选卡指令所指示的AID所对应的卡应用不是付款应用,且终端设确定终端设备不支持选卡指令所指示的AID所对应的卡应用。终端设备需要向用户和收款设备发出提示信息,进而告知用户和和收款设备“终端设备不支持选卡指令所指示的AID所对应的卡应用”,即,终端设备不支持收款设备所选择的卡应用。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备确定不支持选卡指令所指示的AID所对应的卡应用,进而无法完成后续的交易处理。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AID; if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list according to the AID list , the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device determines that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction. The terminal device needs to send a prompt message to the user and the payment collection device, and then inform the user and the payment collection device that "the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction", that is, the terminal device does not support the card application specified by the payment collection device. Selected card application. Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list, the terminal device determines not The card application corresponding to the AID indicated by the card selection instruction is supported, so that subsequent transaction processing cannot be completed.
图26为本申请实施例提供的再一种应用处理方法的信令图。如图26所示,方法可以包括:FIG. 26 is a signaling diagram of another application processing method provided by the embodiment of the present application. As shown in Figure 26, methods may include:
S2601、终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID,选卡指令还用于指示进行交易处理。或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示AID,交易指令用于指示进行交易处理。S2601. The terminal device receives a card selection instruction sent by the payment collection device. The card selection instruction is used to instruct the AID, and the card selection instruction is also used to instruct transaction processing. Alternatively, the terminal device receives a card selection instruction and a transaction instruction sent by the payment collection device, the card selection instruction is used to instruct the AID, and the transaction instruction is used to instruct transaction processing.
示例性地,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,场强信息包括了AID和交易指令。Exemplarily, when the terminal device approaches the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information includes the AID and the transaction instruction.
一个示例中,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息包括选卡指令。收款设备所发出的选卡指令用于指示出一个卡应用的AID,并且,选卡指令还用于表征需进行交易处理,选卡指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。或者,收款设备所发出的选卡指令包括一个卡应用的AID,并且,选卡指令还用于表征需进行交易处理,选卡指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。In one example, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information includes a card selection instruction. The card selection instruction issued by the payment collection device is used to indicate the AID of a card application, and the card selection instruction is also used to represent the need for transaction processing. The card selection instruction also includes but is not limited to: terminal equipment identification, transaction amount, Transaction ID, transaction time, account name, etc. Alternatively, the card selection instruction issued by the payment collection device includes an AID of a card application, and the card selection instruction is also used to indicate that transaction processing is required. The card selection instruction also includes but is not limited to: terminal device identification, transaction amount, transaction ID, transaction time, account name, etc.
另一个示例中,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息包括选卡指令和交易指令。选卡指令用于指示出一个卡应用的AID,并且,交易指令表征需进行交易处理;交易指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。或者,选卡指令包括一个卡应用的AID,并且,交易指令表征需进行交易处理,交易指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。In another example, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information includes a card selection instruction and a transaction instruction. The card selection instruction is used to indicate the AID of a card application, and the transaction instruction indicates that transaction processing is required; the transaction instruction also includes but is not limited to: terminal device identification, transaction amount, transaction identification, transaction time, account name, etc. . Alternatively, the card selection instruction includes an AID of a card application, and the transaction instruction indicates that transaction processing is required, and the transaction instruction also includes, but is not limited to: terminal device identification, transaction amount, transaction identification, transaction time, account name, etc.
S2602、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的AID所对应的卡应用。S2602. The terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,本步骤可以参见上述步骤S402,不再赘述。For example, this step may refer to the above step S402, and details are not repeated here.
S2603、终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则激活选卡指令所指示的AID所对应的卡应用。S2603. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, activate the card application corresponding to the AID indicated by the card selection instruction.
示例性地,本步骤可以参见上述步骤S403,不再赘述。Exemplarily, this step may refer to the above-mentioned step S403, and details are not repeated here.
S2604、终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则设置选卡指令所指示的AID所对应的卡应用为默认付款应用。S2604. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, set the card application corresponding to the AID indicated by the card selection instruction as the default payment application.
示例性地,本步骤可以参见上述步骤S404,不再赘述。本步骤为可选步骤。For example, this step can refer to the above step S404, and details are not repeated here. This step is optional.
S2605、终端设备显示选卡指令所指示的AID所对应的卡应用的界面。S2605. The terminal device displays an interface of the card application corresponding to the AID indicated by the card selection instruction.
示例性地,本步骤可以参见上述步骤S405,不再赘述。Exemplarily, this step may refer to the above-mentioned step S405, which will not be repeated here.
S2606、终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用。S2606. The terminal device sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction.
示例性地,本步骤可以参见上述步骤S406,不再赘述。For example, this step may refer to the above step S406, and details are not repeated here.
S2607、终端设备完成交易处理,并向收款设备发送交易结果信息,其中,交易结果信息表征交易是否成功。S2607. The terminal device completes the transaction processing, and sends transaction result information to the payment collection device, wherein the transaction result information represents whether the transaction is successful.
示例性地,本实施例中,终端设备在步骤S2601中接收到了AID和交易指示,则终端设备在步骤S2602中若根据AID列表确定出选卡指令所指示的AID所对应的卡应用,则确定终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备就可以直接进行交易处理过程。Exemplarily, in this embodiment, the terminal device receives the AID and the transaction instruction in step S2601, and if the terminal device determines the card application corresponding to the AID indicated by the card selection instruction in step S2602 according to the AID list, then determine The terminal device supports the card application corresponding to the AID indicated by the card selection instruction. The terminal device can directly carry out the transaction processing process.
一个示例中,步骤S2607可以在步骤S2606之后执行。或者,步骤S2607可以在步骤S2603之后执行。In an example, step S2607 may be performed after step S2606. Alternatively, step S2607 may be performed after step S2603.
终端设备依据选卡指令的指示去完成交易过程,或者依据交易指令完成交易过程。终端设备在确定完成了交易之后,或者,终端设备在确认交易失败之后,向收款设备发送交易结果信息,交易结果信息表征交易是否成功;终端设备告知收款设备交易的结果。The terminal device completes the transaction process according to the instructions of the card selection instruction, or completes the transaction process according to the transaction instructions. After the terminal device confirms that the transaction is completed, or after the terminal device confirms that the transaction fails, it sends transaction result information to the payment collection device, and the transaction result information indicates whether the transaction is successful; the terminal device informs the payment collection device of the transaction result.
一个示例中,终端设备根据交易指令进行交易处理,生成交易结果信息;终端设备将交易结果信息发送给收款设备。In an example, the terminal device performs transaction processing according to the transaction instruction, and generates transaction result information; the terminal device sends the transaction result information to the payment collection device.
例如,收款设备将选卡指令和交易指令发送给终端设备;或者,收款设备将选卡指令用于指示AID,选卡指令还用于指示进行交易处理。选卡指令指示的AID所对应的卡应用为交通卡。交易指令或交易指令中包括交通卡的AID、交易标识、交易额度、交易时间、账户名、等等;交易指令或交易指令指示对交通卡进行交通扣费、或者进行交通次数的扣除。终端设备根据交易指令或交易指令中的信息进行比对,完成交通卡的交易处理。然后,终端设备生成交易结果信息,将交易结果信息发送给收款设备。For example, the payment collection device sends the card selection instruction and the transaction instruction to the terminal device; or, the payment collection device uses the card selection instruction to instruct the AID, and the card selection instruction is also used to instruct transaction processing. The card application corresponding to the AID indicated by the card selection instruction is a transportation card. The transaction instruction or transaction instruction includes the AID of the transportation card, the transaction identification, the transaction amount, the transaction time, the account name, etc.; the transaction instruction or the transaction instruction indicates that the transportation fee shall be deducted from the transportation card, or the number of transportation shall be deducted. The terminal device compares the transaction instruction or the information in the transaction instruction to complete the transaction processing of the transportation card. Then, the terminal device generates transaction result information, and sends the transaction result information to the payment collection device.
另一个示例中,收款设备将选卡指令和交易指令发送给终端设备;或者,收款设备将选卡指令用于指示AID,选卡指令还用于指示进行交易处理。终端设备根据交易指令或交易指令中的信息,与卡应用服务器之间进行交互过程,进而完成交易处理;其中,卡应用服务器为选卡指令所指示的AID所对应的卡应用所归属的服务器。卡应用服务器进行交易处理,然后向终端设备发送交易结果信息,交易结果信息表征交易是否成功。In another example, the payment collection device sends the card selection instruction and the transaction instruction to the terminal device; or, the payment collection device uses the card selection instruction to indicate the AID, and the card selection instruction is also used to indicate transaction processing. The terminal device interacts with the card application server according to the transaction instruction or the information in the transaction instruction, and then completes the transaction processing; wherein, the card application server is the server to which the card application corresponding to the AID indicated by the card selection instruction belongs. The card application server performs transaction processing, and then sends transaction result information to the terminal device, and the transaction result information indicates whether the transaction is successful.
例如,收款设备将选卡指令和交易指令发送给终端设备;或者,收款设备将选卡指令用于指示AID,选卡指令还用于指示进行交易处理。选卡指令指示的AID所对应的卡应用为数字人民币卡,交易指令或交易指令中包括数字人民币卡的AID、交易标识、交易额度、交易时间、账户名、等等。终端设备向卡应用服务器发送交易指令,其中,卡应用服务器为数字人民币卡的服务器。卡应用服务器根据交易指令中的信息进行交易处理,生成交易结果信息,并将交易结果信息发送给终端设备然后,终端设备将接收到的交易结果信息发送给收款设备。For example, the payment collection device sends the card selection instruction and the transaction instruction to the terminal device; or, the payment collection device uses the card selection instruction to instruct the AID, and the card selection instruction is also used to instruct transaction processing. The card application corresponding to the AID indicated by the card selection instruction is a digital renminbi card, and the transaction instruction or transaction instruction includes the AID of the digital renminbi card, transaction ID, transaction amount, transaction time, account name, etc. The terminal device sends a transaction instruction to the card application server, wherein the card application server is the server of the digital RMB card. The card application server performs transaction processing according to the information in the transaction instruction, generates transaction result information, and sends the transaction result information to the terminal device. Then, the terminal device sends the received transaction result information to the payment collection device.
又一个示例中,收款设备将选卡指令和交易指令发送给终端设备;并且,收款设备将交易指令也发送给卡应用服务器;其中,卡应用服务器为选卡指令所指示的AID所对应的卡应用所归属的服务器。卡应用服务器根据交易指令进行交易处理,然后向终端设备发送交易结果信息,交易结果信息表征交易是否成功。终端设备将交易结果信息发送给收款设备。In yet another example, the payment collection device sends the card selection instruction and the transaction instruction to the terminal device; and, the payment collection device also sends the transaction instruction to the card application server; wherein, the card application server corresponds to the AID indicated by the card selection instruction The server to which the card application belongs. The card application server performs transaction processing according to the transaction instruction, and then sends transaction result information to the terminal device, and the transaction result information indicates whether the transaction is successful or not. The terminal device sends the transaction result information to the payment collection device.
例如,选卡指令指示的AID所对应的卡应用为银行卡,收款设备向终端设备发送选卡指令和交易指令,并将交易指令发送给卡应用服务器;其中,卡应用服务器为选卡指令所指示的AID所对应的卡应用所归属的服务器,交易指令中包括银行卡的AID、交易标识、交易额度、交易时间、账户名、等等。卡应用服务器根据交易指令中的信息进行交易处理,然后生成交易结果信息,并将交易结果信息发送给终端设备,其中,交易结果信息表征交易处理是否成功。然后,终端设备接收到的交易结果信息发送给收款设备。For example, the card application corresponding to the AID indicated by the card selection instruction is a bank card, and the payment collection device sends the card selection instruction and the transaction instruction to the terminal device, and sends the transaction instruction to the card application server; wherein, the card application server is the card selection instruction The server to which the card application corresponding to the indicated AID belongs, and the transaction instruction includes the bank card's AID, transaction identifier, transaction amount, transaction time, account name, and so on. The card application server performs transaction processing according to the information in the transaction instruction, then generates transaction result information, and sends the transaction result information to the terminal device, wherein the transaction result information represents whether the transaction processing is successful. Then, the transaction result information received by the terminal device is sent to the payment collection device.
S2608、终端设备显示交易结果信息。S2608. The terminal device displays transaction result information.
示例性地,本步骤可以参见上述步骤S409,不再赘述。For example, this step may refer to the above step S409, and details are not repeated here.
其中,步骤S2608可以不执行。或者,或者,终端设备在向收款设备发送交易结果信息之后,再显示交易结果信息。或者,终端设备在显示交易结果信息之后,再向收款设备发送交易结果信息。或者,终端设备在向收款设备发送交易结果信息的同时,显示交易结果信息。Wherein, step S2608 may not be executed. Alternatively, alternatively, the terminal device displays the transaction result information after sending the transaction result information to the payment collection device. Alternatively, the terminal device sends the transaction result information to the payment collection device after displaying the transaction result information. Alternatively, the terminal device displays the transaction result information while sending the transaction result information to the payment collection device.
本实施例中,选卡指令所指示的应用标识所对应的卡应用,为待交易的卡应用。In this embodiment, the card application corresponding to the application identifier indicated by the card selection instruction is the card application to be traded.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID,选卡指令还用于指示进行交易处理;或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示AID,交易指令用于指示进行交易处理。进而终端设备同时接收到AID和交易指示。终端设备可以根据AID列表,确定出选卡指令所指示的AID所对应的卡应用;终端设备在确定出选卡指令所指示的AID所对应的卡应用时,确定终端设备支持选卡指令所指示的AID所对应的卡应用;然后,终端设备若确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备需要激活选卡指令所指示的AID所对应的卡应用,以便于完成后续支付过程,进而终端设备自动的确定出需进行交易的卡应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。终端设备在激活选卡指令所指示的AID所对应的卡应用时,还可以将选卡指令所指示的AID所对应的卡应用设置为默认付款应用,从而终端设备自动修改默认付款应用,无需用户手动更换默认付款应用。并且,终端设备激活选卡指令所指示的AID所对应的卡应用时,还可以显示出选卡指令所指示的AID所对应的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。终端设备在激活选卡指令所指示的AID所对应的卡应用之后,向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备已经获取到了交易指示,进而终端设备在激活了选卡指令所指示的AID所对应的卡应用之后,就可以直接完成交易处理过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, the card selection instruction is used to indicate the AID, and the card selection instruction is also used to instruct transaction processing; or, the terminal device receives the card selection instruction and the card selection instruction sent by the payment collection device. The transaction instruction, the card selection instruction is used to instruct the AID, and the transaction instruction is used to instruct transaction processing. Furthermore, the terminal device simultaneously receives the AID and the transaction instruction. The terminal device can determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list; the terminal device determines that the terminal device supports the card application indicated by the card selection instruction when determining the card application corresponding to the AID indicated by the card selection instruction. Then, if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application, the terminal device needs to change the payment method, and the terminal device needs to activate the card application indicated by the card selection instruction. The card application corresponding to the AID in order to complete the subsequent payment process, and then the terminal device automatically determines the card application that needs to be traded, which speeds up the transaction process between the terminal device and the payment collection device, and improves the user experience. When the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it can also set the card application corresponding to the AID indicated by the card selection instruction as the default payment application, so that the terminal device automatically modifies the default payment application without the need for the user to Manually replace the default payment app. Moreover, when the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it can also display the interface of the card application corresponding to the AID indicated by the card selection instruction, and then prompt the user which card application is currently to be traded. A card application; if the terminal device has modified the default payment application, this interface is also used to prompt the user to modify the default payment application. After the terminal device activates the card application corresponding to the AID indicated by the card selection instruction, it sends a selection confirmation result to the payment collection device, and then informs the payment collection device that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction. The terminal device has obtained the transaction instruction, and then the terminal device can directly complete the transaction processing process after activating the card application corresponding to the AID indicated by the card selection instruction. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图27为本申请实施例提供的其他一种应用处理方法的信令图。如图27所示,方法可以包括:FIG. 27 is a signaling diagram of another application processing method provided by the embodiment of the present application. As shown in Figure 27, methods may include:
S2701、终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID,选卡指令还用于指示进行交易处理。或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示AID,交易指令用于指示进行交易处理。S2701. The terminal device receives a card selection instruction sent by the payment collection device. The card selection instruction is used to instruct the AID, and the card selection instruction is also used to instruct transaction processing. Alternatively, the terminal device receives a card selection instruction and a transaction instruction sent by the payment collection device, the card selection instruction is used to instruct the AID, and the transaction instruction is used to instruct transaction processing.
示例性地,本步骤可以参见步骤S2601,不再赘述。For example, this step may refer to step S2601, and details are not repeated here.
S2702、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的AID所对应的卡应用。S2702. The terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,本步骤可以参见上述步骤S402,不再赘述。For example, this step may refer to the above step S402, and details are not repeated here.
S2703、终端设备若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用。S2703. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card selection instruction. The card application corresponding to the indicated AID.
示例性地,Exemplarily,
采用步骤S403的方式,终端设备若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则终端设备确定采用终端设备当前的默认付款应用可以完成支付交易过程;终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用。Using the method of step S403, if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, then the terminal device determines that the payment transaction process can be completed by using the current default payment application of the terminal device; The payment collection device sends a selection confirmation result, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction.
S2704、终端设备显示选卡指令所指示的AID所对应的卡应用的界面。S2704. The terminal device displays an interface of the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以显示出选卡指令所指示的AID所对应的卡应用的界面,该界面中包括但限于以下信息:图标信息、图片信息、卡应用的余额信息、卡应用的限额信息、等等。进而终端设备提示给用户当前待交易的卡应用是哪一个卡应用。Exemplarily, after the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it may display the interface of the card application corresponding to the AID indicated by the card selection instruction, which includes However, it is limited to the following information: icon information, picture information, card application balance information, card application limit information, and so on. Furthermore, the terminal device prompts the user which card application the current card application to be traded is.
显示方式,可以参见图20-23的介绍。For the display mode, please refer to the introduction in Figure 20-23.
其中,步骤S2704是可选步骤,且不限制步骤S2703和步骤S2704的执行次序。终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以先向收款设备发送选择确认结果,然后显示选卡指令所指示的AID所对应的卡应用的界面。或者,终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以先向显示选卡指令所指示的AID所对应的卡应用的界面,然后收款设备发送选择确认结果。或者,终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用之后,可以同时执行“向收款设备发送选择确认结果”和“显示选卡指令所指示的AID所对应的卡应用的界面”。Wherein, step S2704 is an optional step, and the execution order of step S2703 and step S2704 is not limited. After the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it can first send the selection confirmation result to the payment collection device, and then display the card application corresponding to the AID indicated by the card selection instruction. interface. Alternatively, after the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it may first display the interface of the card application corresponding to the AID indicated by the card selection instruction, and then the payment collection device sends Select to confirm the result. Or, after the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it can simultaneously execute "send the selection confirmation result to the payment collection device" and "display the card application indicated by the AID indicated by the card selection instruction". The interface of the corresponding card application".
S2705、终端设备完成交易处理,并向收款设备发送交易结果信息,其中,交易结果信息表征交易是否成功。S2705. The terminal device completes the transaction processing, and sends transaction result information to the payment collection device, wherein the transaction result information represents whether the transaction is successful.
示例性地,本实施例中,终端设备在步骤S2701中接收到了AID和交易指示,则终端设备在步骤S2702中若根据AID列表确定出选卡指令所指示的AID所对应的卡应用,则确定终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备就可以直接进行交易处理过程。本步骤可以参见步骤S2607,不再赘述。Exemplarily, in this embodiment, the terminal device receives the AID and the transaction instruction in step S2701, and if the terminal device determines the card application corresponding to the AID indicated by the card selection instruction in step S2702 in step S2702, then determine The terminal device supports the card application corresponding to the AID indicated by the card selection instruction. The terminal device can directly carry out the transaction processing process. For this step, reference may be made to step S2607, and details are not repeated here.
一个示例中,步骤S2705可以在步骤S2704之后执行。或者,步骤S2705可以在步骤S2703之后执行。In an example, step S2705 may be performed after step S2704. Alternatively, step S2705 may be performed after step S2703.
S2706、终端设备显示交易结果信息。S2706. The terminal device displays transaction result information.
示例性地,本步骤可以参见上述步骤S409,不再赘述。For example, this step may refer to the above step S409, and details are not repeated here.
其中,步骤S2706可以不执行。或者,终端设备在向收款设备发送交易结果信息之后,再显示交易结果信息。或者,终端设备在显示交易结果信息之后,再向收款设备发送交易结果信息。或者,终端设备在向收款设备发送交易结果信息的同时,显示交易结果信息。Wherein, step S2706 may not be executed. Alternatively, the terminal device displays the transaction result information after sending the transaction result information to the payment collection device. Alternatively, the terminal device sends the transaction result information to the payment collection device after displaying the transaction result information. Alternatively, the terminal device displays the transaction result information while sending the transaction result information to the payment collection device.
本实施例中,选卡指令所指示的应用标识所对应的卡应用,为待交易的卡应用;即,终端设备的当前的默认付款应用,为待交易的卡应用。In this embodiment, the card application corresponding to the application identifier indicated by the card selection instruction is the card application to be traded; that is, the current default payment application of the terminal device is the card application to be traded.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID,选卡指令还用于指示进行交易处理;或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示AID,交易指令用于指示进行交易处理。进而终端设备同时接收到AID和交易指示。终端设备可以根据AID列表,确定出选卡指令所指示的AID所对应的卡应用;终端设备在确定出选卡指令所指示的AID所对应的卡应用时,确定终端设备支持选卡指令所指示的AID所对应的卡应用;然后,终端设备若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则终端设备需要无需更换支付方式,终端设备可以直接向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用。终端设备在确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用时,还可以显示出选卡指令所指示的AID所对应的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;本实施例中,终端设备无需修改了默认付款应用。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用,则终端设备可以直接调取该卡应用去进行后续的交易处理过程。终端设备已经获取到了交易指示,进而终端设备在确定了选卡指令所指示的AID所对应的卡应用之后,就可以直接完成交易处理过程,通过选卡指令的AID调取当前的默认付款应用。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, the card selection instruction is used to indicate the AID, and the card selection instruction is also used to instruct transaction processing; or, the terminal device receives the card selection instruction and the card selection instruction sent by the payment collection device. The transaction instruction, the card selection instruction is used to instruct the AID, and the transaction instruction is used to instruct transaction processing. Furthermore, the terminal device simultaneously receives the AID and the transaction instruction. The terminal device can determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list; the terminal device determines that the terminal device supports the card application indicated by the card selection instruction when determining the card application corresponding to the AID indicated by the card selection instruction. Then, if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, the terminal device does not need to change the payment method, and the terminal device can directly send payment to the payment collection device Send the selection confirmation result, and then inform the payment collection device that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction. When the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, it can also display the interface of the card application corresponding to the AID indicated by the card selection instruction, and then remind the user of the current pending transaction Which card application is the card application; in this embodiment, the terminal device does not need to modify the default payment application. Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application, the terminal device can Call the card application directly to perform subsequent transaction processing. The terminal device has obtained the transaction instruction, and after determining the card application corresponding to the AID indicated by the card selection instruction, the terminal device can directly complete the transaction processing process, and call the current default payment application through the AID of the card selection instruction. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图28为本申请实施例提供的另有一种应用处理方法的信令图。如图28所示,方法可以包括:FIG. 28 is a signaling diagram of another application processing method provided by the embodiment of the present application. As shown in Figure 28, methods may include:
S2801、终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID,选卡指令还用于指示进行交易处理。或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示AID,交易指令用于指示进行交易处理。S2801. The terminal device receives a card selection instruction sent by the payment collection device. The card selection instruction is used to instruct the AID, and the card selection instruction is also used to instruct transaction processing. Alternatively, the terminal device receives a card selection instruction and a transaction instruction sent by the payment collection device, the card selection instruction is used to instruct the AID, and the transaction instruction is used to instruct transaction processing.
示例性地,本步骤可以参见步骤S2601,不再赘述。For example, this step may refer to step S2601, and details are not repeated here.
S2802、终端设备若根据AID列表未确定出选卡指令所指示的AID所对应的卡应用,其中,AID列表用于指示AID与卡应用之间的对应关系,则生成并显示提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的AID所对应的卡应用。S2802. If the terminal device does not determine the card application corresponding to the AID indicated by the card selection instruction according to the AID list, where the AID list is used to indicate the correspondence between the AID and the card application, generate and display a prompt message; wherein, The prompt information indicates that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备中已经预先存储了一个AID列表,AID列表的介绍,请参见步骤S402,不再赘述。Exemplarily, an AID list has been pre-stored in the terminal device. For the introduction of the AID list, please refer to step S402, and details will not be repeated here.
终端设备接收选卡指令之后,终端设备依据AID列表,确定选卡指令所指示的AID所对应的卡应用。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备确定选卡指令所指示的AID所对应的卡应用不是付款应用,且终端设确定终端设备不支持选卡指令所指示的AID所对应的卡应用。After the terminal device receives the card selection instruction, the terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist. The terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
然后,终端设备显示一个界面,该界面中包括提示信息,提示信息用于提示用户选卡指令所指示的AID所对应的卡应用不是付款应用、且终端设备不支持选卡指令所指示的AID所对应的卡应用。此时的界面,为“第四页面”。该界面,如图25的介绍,不再赘述。Then, the terminal device displays an interface, which includes prompt information, and the prompt information is used to remind the user that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device does not support the AID indicated by the card selection instruction. Corresponding card application. The interface at this time is the "fourth page". The interface, as shown in Figure 25, will not be repeated here.
或者,提示信息可以为语音信息、震动提示、等等。Alternatively, the prompt information may be a voice message, a vibration prompt, and so on.
S2803、终端设备向收款设备发送提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的AID所对应的卡应用。S2803. The terminal device sends prompt information to the payment collection device; wherein, the prompt information indicates that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
示例性地,终端设备还可以向收款设备发送上述提示信息,进而告知收款设备终端设备不支持选卡指令所指示的AID所对应的卡应用。Exemplarily, the terminal device may also send the above prompt information to the payment collection device, and then inform the payment collection device that the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction.
其中,不限制步骤S2802和步骤S2803的执行次序。终端设备可以先显示提示信息,再向收款设备发送提示信息。或者,终端设备可以向收款设备发送提示信息,在显示提示信息。或者,终端设备在显示提示信息的同时,向收款设备发送提示信息。Wherein, the execution order of step S2802 and step S2803 is not limited. The terminal device may first display the prompt information, and then send the prompt information to the payment collection device. Alternatively, the terminal device may send prompt information to the payment collection device, and then display the prompt information. Alternatively, the terminal device sends prompt information to the payment collection device while displaying the prompt information.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示AID,选卡指令还用于指示进行交易处理;或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示AID,交易指令用于指示进行交易处理。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备确定选卡指令所指示的AID所对应的卡应用不是付款应用,且终端设确定终端设备不支持选卡指令所指示的AID所对应的卡应用。终端设备需要向用户和收款设备发出提示信息,进而告知用户和和收款设备“终端设备不支持选卡指令所指示的AID所对应的卡应用”。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定AID列表中不存在选卡指令所指示的AID所对应的卡应用,则终端设备确定不支持选卡指令所指示的AID所对应的卡应用,进而无法完成后续的交易处理。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, the card selection instruction is used to indicate the AID, and the card selection instruction is also used to instruct transaction processing; or, the terminal device receives the card selection instruction and the card selection instruction sent by the payment collection device. The transaction instruction, the card selection instruction is used to instruct the AID, and the transaction instruction is used to instruct transaction processing. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not a payment application, and the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction does not exist. The terminal device does not support the card application corresponding to the AID indicated by the card selection instruction. The terminal device needs to send a prompt message to the user and the payment collection device, and then inform the user and the payment collection device that "the terminal device does not support the card application corresponding to the AID indicated by the card selection instruction". Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list, the terminal device determines not The card application corresponding to the AID indicated by the card selection instruction is supported, so that subsequent transaction processing cannot be completed.
图29为本申请实施例提供的又有一种应用处理方法的信令图。如图29所示,方法可以包括:FIG. 29 is a signaling diagram of yet another application processing method provided by the embodiment of the present application. As shown in Figure 29, methods may include:
S2901、终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID。S2901. The terminal device receives a card selection instruction sent by the payment collection device, where the card selection instruction is used to indicate multiple AIDs.
示例性地,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息为选卡指令;收款设备所发出的选卡指令中携带有多个卡应用的AID,或者,收款设备所发出的选卡指令表征多个卡应用的AID。本实施例中,终端设备所接收到的选卡指令指示出多个卡应用中每一个卡应用的AID。Exemplarily, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information is a card selection instruction; the card selection instruction sent by the payment collection device contains multiple card application AID, or, the card selection instruction issued by the payment collection device represents the AID of multiple card applications. In this embodiment, the card selection instruction received by the terminal device indicates the AID of each card application in the multiple card applications.
S2902、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的每一AID所对应的每一卡应用。S2902. The terminal device determines each card application corresponding to each AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,终端设备中已经预先存储了一个AID列表。AID列表可以参见步骤S402的介绍。在步骤中,AID列表中存储的AID所对应的卡应用,均为终端设备所支持的卡应用。从而,针对选卡指令所指示的每一AID,终端设备若AID列表,可以确定出选卡指令所指示的AID所对应的卡应用,则表明终端设备支持该卡应用。针对选卡指令所指示的每一AID,终端设备若依据AID列表,确定AID列表中不具有选卡指令所指示的AID所对应的卡应用,则表明终端设备不支持该卡应用。Exemplarily, an AID list has been pre-stored in the terminal device. For the AID list, refer to the introduction of step S402. In the step, the card applications corresponding to the AIDs stored in the AID list are all card applications supported by the terminal device. Therefore, for each AID indicated by the card selection instruction, if the terminal device lists the AIDs and can determine the card application corresponding to the AID indicated by the card selection instruction, it indicates that the terminal device supports the card application. For each AID indicated by the card selection instruction, if the terminal device determines according to the AID list that the card application corresponding to the AID indicated by the card selection instruction does not exist in the AID list, it indicates that the terminal device does not support the card application.
S2903、终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用均不是当前的默认付款应用,则从选卡指令所指示的每一AID所对应的每一卡应用中,确定待交易的卡应用,并激活待交易的卡应用。S2903. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction is not the current default payment application, from each card application corresponding to each AID indicated by the card selection instruction, Determine the card application to be traded and activate the card application to be traded.
示例性地,针对选卡指令所指示的每一AID,在步骤S2902中,由于已经依据AID列表,确定出了选卡指令所指示的AID所对应的卡应用,则确定终端设备支持该卡应用。进而针对终端设备所支持的卡应用(此时,卡应用是选卡指令所指示的AID所对应的卡应用),终端设备需要判断该选卡指令所指示的AID所对应的卡应用,是否为终端设备的当前的默认付款应用。Exemplarily, for each AID indicated by the card selection instruction, in step S2902, since the card application corresponding to the AID indicated by the card selection instruction has been determined according to the AID list, it is determined that the terminal device supports the card application . Furthermore, for the card application supported by the terminal device (at this time, the card application is the card application corresponding to the AID indicated by the card selection instruction), the terminal device needs to determine whether the card application corresponding to the AID indicated by the card selection instruction is The current default payment application for the terminal device.
一个示例中,针对选卡指令所指示的每一AID,终端设备可以调取终端设备的当前的默认付款应用的AID,将选卡指令所指示的AID、终端设备的当前的默认付款应用的AID两者进行比对;若确定两者一致,则终端设备确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用;若确定两者不一致,则终端设备确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用。In an example, for each AID indicated by the card selection instruction, the terminal device can call the AID of the current default payment application of the terminal device, and combine the AID indicated by the card selection instruction, the AID of the current default payment application of the terminal device Compare the two; if it is determined that the two are consistent, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application; if it is determined that the two are inconsistent, the terminal device determines that the card application indicated by the card selection instruction The card application corresponding to the AID of is not the current default payment application.
另一个示例中,在表1中存储的是AID与卡应用的名称的对应关系,进而终端设备可以确定选卡指令所指示的AID的卡应用的名称;针对选卡指令所指示的每一AID,终端设备调取当前的默认付款应用的名称,进而终端设备将选卡指令所指示的AID的卡应用的名称、当前的默认付款应用的名称两者进行比对;若确定两者一致,则终端设备确定选卡指令所指示的AID所对应的卡应用是当前的默认付款应用;若确定两者不一致,则终端设备确定选卡指令所指示的AID所对应的卡应用不是当前的默认付款应用。In another example, what is stored in Table 1 is the corresponding relationship between the AID and the name of the card application, and then the terminal device can determine the name of the card application of the AID indicated by the card selection instruction; for each AID indicated by the card selection instruction , the terminal device calls the name of the current default payment application, and then the terminal device compares the name of the card application of the AID indicated by the card selection instruction with the name of the current default payment application; if the two are determined to be consistent, then The terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is the current default payment application; if it is determined that the two are inconsistent, the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application .
采用上述方式,终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用均不是当前的默认付款应用,则终端设备确定无法采用终端设备当前的默认付款应用进行支付交易过程;为了完成本次交易过程,终端设备需要首先从选卡指令所指示的每一AID所对应的每一卡应用中,确定出一个待交易的卡应用。然后,终端设备自动激活待交易的卡应用,以使该卡应用处于交易状态。Using the above method, if the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction is not the current default payment application, the terminal device determines that the current default payment application of the terminal device cannot be used for the payment transaction process; In order to complete this transaction process, the terminal device needs to first determine a card application to be traded from each card application corresponding to each AID indicated by the card selection instruction. Then, the terminal device automatically activates the card application to be traded, so that the card application is in a transaction state.
一个示例中,选卡指令所指示的每一AID所对应的每一卡应用均不是终端设备的默认付款应用,则终端设备选择选卡指令所指示的各卡应用中的任一卡应用,作为待交易的卡应用。In one example, each card application corresponding to each AID indicated by the card selection instruction is not the default payment application of the terminal device, then the terminal device selects any one of the card applications indicated by the card selection instruction as Card application to be transacted.
例如,选卡指令指示出AID分别xxx1、xxx2、xxx3,终端设备根据表1确定卡应用为与xxx1对应的卡应用a、与xxx2对应的卡应用b、与xxx3对应的卡应用c。终端设备的当前的默认付款应用为卡应用d,则终端设备随机的设置卡应用a为待交易的卡应用。For example, the card selection instruction indicates that the AIDs are xxx1, xxx2, and xxx3 respectively, and the terminal device determines that the card applications are card application a corresponding to xxx1, card application b corresponding to xxx2, and card application c corresponding to xxx3 according to Table 1. The current default payment application of the terminal device is the card application d, and the terminal device randomly sets the card application a as the card application to be traded.
又一个示例中,选卡指令所指示的每一AID所对应的每一卡应用均不是终端设备的默认付款应用,则终端设备可以根据选卡指令所指示的卡应用的优先级,确出一个待交易的卡应用。可以将优先级最高的卡应用,作为待交易的卡应用。举例来说,选卡指令指示出了多个卡应用中每一卡应用的AID,且每一卡应用具有优先级;从而,终端设备可以根据选卡指令所指示的付款应用的优先级,确出一个卡应用作为待交易的卡应用。再举例来说,选卡指令指示出了多个卡应用中每一卡应用的AID;终端设备中存储了每一卡应用的优先级的信息,从而终端设备可以根据选卡指令所指示的付款应用的优先级,确出一个卡应用作为待交易的卡应用。再举例来说,选卡指令指示出了多个卡应用中每一卡应用的AID;终端设备所存储的AID列表中存储了每一卡应用的优先级的信息,从而终端设备可以根据选卡指令所指示的付款应用的优先级,确出一个卡应用作为待交易的卡应用。In another example, each card application corresponding to each AID indicated by the card selection instruction is not the default payment application of the terminal device, then the terminal device can determine a card application according to the priority of the card application indicated by the card selection instruction. Card application to be transacted. The card application with the highest priority can be used as the card application to be traded. For example, the card selection instruction indicates the AID of each card application in multiple card applications, and each card application has a priority; thus, the terminal device can determine the priority of the payment application according to the card selection instruction. Produce a card application as the card application to be traded. For another example, the card selection instruction indicates the AID of each card application in multiple card applications; the terminal device stores the priority information of each card application, so that the terminal device can pay according to the card selection instruction. The priority of the application determines a card application as the card application to be traded. For another example, the card selection instruction indicates the AID of each card application in multiple card applications; the AID list stored in the terminal device stores the priority information of each card application, so that the terminal device can The priority of the payment application indicated by the instruction determines a card application as the card application to be traded.
例如,选卡指令指示出AID分别xxx1、xxx2、xxx3,终端设备根据表1确定卡应用为与xxx1对应的卡应用a、与xxx2对应的卡应用b、与xxx3对应的卡应用c。终端设备的当前的默认付款应用为卡应用d。其中,选卡指令指示出了卡应用b的优先级高于卡应用a的优先级,且选卡指令指示出了卡应用b的优先级高于卡应用c的优先级,则终端设备设置卡应用b为待交易的卡应用。For example, the card selection instruction indicates that the AIDs are xxx1, xxx2, and xxx3 respectively, and the terminal device determines that the card applications are card application a corresponding to xxx1, card application b corresponding to xxx2, and card application c corresponding to xxx3 according to Table 1. The current default payment application of the terminal device is the card application d. Wherein, the card selection instruction indicates that the priority of card application b is higher than that of card application a, and the card selection instruction indicates that the priority of card application b is higher than that of card application c, then the terminal device sets the card Application b is a card application to be traded.
再例如,选卡指令指示出AID分别xxx1、xxx2、xxx3,终端设备根据表1确定卡应用为与xxx1对应的卡应用a、与xxx2对应的卡应用b、与xxx3对应的卡应用c。终端设备的当前的默认付款应用为卡应用d。其中,终端设备中存储了每一卡优先级,卡应用b的优先级高于卡应用a的优先级、以及卡应用c的优先级,则终端设备设置卡应用b为待交易的卡应用。For another example, the card selection instruction indicates that the AIDs are xxx1, xxx2, and xxx3 respectively, and the terminal device determines that the card applications are card application a corresponding to xxx1, card application b corresponding to xxx2, and card application c corresponding to xxx3 according to Table 1. The current default payment application of the terminal device is the card application d. Wherein, each card priority is stored in the terminal device, and the priority of card application b is higher than the priority of card application a and the priority of card application c, then the terminal device sets card application b as the card application to be traded.
再一个示例中,选卡指令所指示的每一AID所对应的每一卡应用均不是终端设备的默认付款应用,则终端设备可以显示一个界面,图30为本申请实施例提供的又有一种应用处理方法的界面示意图,如图30所示,终端设备显示出选卡指令所指示的各卡应用,由用户进行选择;例如,显示出卡应用a、卡应用b、卡应用c。响应于用户在图30所示的界面上的触发操作,终端设备获取用户所指示的卡应用。终端设备确定用户所指示的卡应用设置为待交易的卡应用。In another example, each card application corresponding to each AID indicated by the card selection instruction is not the default payment application of the terminal device, then the terminal device can display an interface, and Fig. 30 is another one provided by the embodiment of the present application The interface diagram of the application processing method is shown in FIG. 30 . The terminal device displays each card application indicated by the card selection instruction, which is selected by the user; for example, card application a, card application b, and card application c are displayed. In response to the user's trigger operation on the interface shown in FIG. 30 , the terminal device obtains the card application indicated by the user. The terminal device determines that the card application indicated by the user is set as the card application to be traded.
S2904、终端设备设置待交易的卡应用,为默认付款应用。S2904. The terminal device sets the card application to be traded as the default payment application.
示例性地,参见步骤S2903的方式,终端设备确定出一个待交易的卡应用之后,可以将改待交易的卡应用,设置为终端设备的默认付款应用,从而自动修改默认付款应用。For example, referring to the method of step S2903, after the terminal device determines a card application to be traded, it may set the card application to be traded as the default payment application of the terminal device, thereby automatically modifying the default payment application.
终端设备在修改了默认付款应用之后,在终端设备的“默认付款应用”的列表中,终端设备会自动修改了“默认付款应用”的选中项。After the terminal device has modified the default payment application, the terminal device will automatically modify the selected item of the "default payment application" in the list of "default payment applications" of the terminal device.
终端设备自动修改了“默认付款应用”的选中项的时候,可以参见图5-12的介绍,不再追溯和。When the terminal device automatically modifies the selected item of "Default Payment Application", you can refer to the introduction in Figure 5-12, and there is no need to trace back.
步骤S2904是可选步骤。Step S2904 is an optional step.
一个示例中,可以执行步骤S2904,终端设备可以根据选卡指令自动修改默认付款应用,无需用户手动更换默认付款应用。节约了终端设备与用户之间的交互指令,加快了应用处理、交易处理的过程。In one example, step S2904 may be executed, and the terminal device may automatically modify the default payment application according to the card selection instruction, without the user manually changing the default payment application. The interaction instruction between the terminal device and the user is saved, and the process of application processing and transaction processing is accelerated.
终端设备在确定出一个待交易的卡应用之后,可以先激活待交易的卡应用,再设置待交易的卡应用为默认付款应用。或者,终端设备在确定出一个待交易的卡应用之后,可以先设置待交易的卡应用为默认付款应用,再激活待交易的卡应用。或者,终端设备在确定出一个待交易的卡应用之后,在激活待交易的卡应用的同时,设置待交易的卡应用为默认付款应用。After determining a card application to be traded, the terminal device may first activate the card application to be traded, and then set the card application to be traded as a default payment application. Alternatively, after determining a card application to be traded, the terminal device may first set the card application to be traded as a default payment application, and then activate the card application to be traded. Alternatively, after determining a card application to be traded, the terminal device sets the card application to be traded as a default payment application while activating the card application to be traded.
另一个示例中,在本实施例中,可以不执行步骤S2904,终端设备不自动修改默认付款应用。In another example, in this embodiment, step S2904 may not be performed, and the terminal device does not automatically modify the default payment application.
S2905、终端设备显示待交易的卡应用的界面。S2905. The terminal device displays the interface of the card application to be traded.
示例性地,终端设备在激活了待交易的卡应用之后,显示出待交易的卡应用的界面,该界面中包括但限于以下信息:图标信息、图片信息、卡应用的余额信息、卡应用的限额信息、等等。进而终端设备提示给用户当前待交易的卡应用是哪一个卡应用;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。Exemplarily, after the terminal device activates the card application to be traded, it displays the interface of the card application to be traded, which includes but is limited to the following information: icon information, picture information, card application balance information, card application Quota information, etc. Furthermore, the terminal device prompts the user which card application the current card application to be traded is; if the terminal device modifies the default payment application, this interface is also used to prompt the user that the default payment application has been modified.
其中,界面显示的方式可以参见图13-图16的介绍。Among them, the way of interface display can refer to the introduction of Figure 13-Figure 16.
步骤S2905是可选步骤。Step S2905 is an optional step.
S2906、终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用,且选择确认结果用于指示待交易的卡应用。S2906. The terminal device sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction, and the selection confirmation result is used to indicate the card application to be traded.
示例性地,由于终端设备在步骤S2903时,确定出待交易的卡应用之后,终端设备生成选择确认结果,此时,选择确认结果表征终端设备支持选卡指令所指示的一个AID所对应的卡应用,且选择确认结果用于指示待交易的卡应用;终端设备将选择确认结果发送给收款设备,进而告知收款设备可以采用待交易的卡应用完成交易处理。本实施例中,由于收款设备发出了多个AID,本步骤中,选择确认结果需要指示出待交易的卡应用。Exemplarily, since the terminal device determines the application of the card to be traded in step S2903, the terminal device generates a selection confirmation result. At this time, the selection confirmation result indicates that the terminal device supports the card corresponding to an AID indicated by the card selection instruction. The selection confirmation result is used to indicate the card application to be transacted; the terminal device sends the selection confirmation result to the payment collection device, and then notifies the payment collection device that the transaction processing can be completed using the card application to be transacted. In this embodiment, since the payment collection device has issued multiple AIDs, in this step, the selection confirmation result needs to indicate the card application to be traded.
选择确认结果中可以包括以下内容:待交易的卡应用的AID、交易内容。交易内容,包括先不限于:终端设备标识、交易数额、交易标识。The selection confirmation result may include the following content: the AID of the card application to be traded, and the transaction content. Transaction content, including but not limited to: terminal device identification, transaction amount, and transaction identification.
其中,不限制步骤S2905和步骤S2906的执行次序。可以先执行步骤S2905,再执行步骤S2906。或者,可以先执行步骤2906,再执行步骤S2905。或者,可以同时执行步骤S2905和步骤S2906。Wherein, the execution sequence of step S2905 and step S2906 is not limited. Step S2905 may be executed first, and then step S2906 is executed. Alternatively, step S2906 may be executed first, and then step S2905 may be executed. Alternatively, step S2905 and step S2906 may be performed simultaneously.
S2907、终端设备接收收款设备发送的交易指令,交易指令用于指示进行交易处理。S2907. The terminal device receives the transaction instruction sent by the payment collection device, where the transaction instruction is used to instruct transaction processing.
示例性地,收款设备在接收到选择确认结果之后,确定收款设备与终端设备之间可以进行交易处理。例如,收款设备直接生成交易数额,或者,收款设备根据选择确认结果中的交易数额进行额度确认。Exemplarily, after receiving the selection confirmation result, the payment collection device determines that transaction processing can be performed between the payment collection device and the terminal device. For example, the payment collection device directly generates the transaction amount, or, the payment collection device confirms the amount according to the transaction amount in the selection confirmation result.
收款设备需要生个一个交易指令,交易指令中包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、待交易的卡应用的AID、等等。收款设备将生成的交易指令发送给终端设备。The payment collection device needs to generate a transaction instruction, which includes but is not limited to: terminal device identification, transaction amount, transaction identification, transaction time, account name, AID of the card application to be traded, and so on. The payment receiving device sends the generated transaction instruction to the terminal device.
S2908、终端设备进行交易处理,生成交易结果信息;并向收款设备发送交易结果信息,交易结果信息表征交易是否成功。S2908. The terminal device performs transaction processing to generate transaction result information; and sends the transaction result information to the payment collection device, where the transaction result information represents whether the transaction is successful.
示例性地,终端设备依据交易指令完成交易过程。终端设备在确定完成了交易之后,或者,终端设备在确认交易失败之后,向收款设备发送交易结果信息,交易结果信息表征交易是否成功;终端设备告知收款设备交易的结果。可以参见步骤S408的介绍,不再赘述。Exemplarily, the terminal device completes the transaction process according to the transaction instruction. After the terminal device confirms that the transaction is completed, or after the terminal device confirms that the transaction fails, it sends transaction result information to the payment collection device, and the transaction result information indicates whether the transaction is successful; the terminal device informs the payment collection device of the transaction result. Reference may be made to the introduction of step S408, and details are not repeated here.
S2909、终端设备显示交易结果信息。S2909. The terminal device displays transaction result information.
示例性地,终端设备在确定完成了交易之后,或者,终端设备在确认交易失败之后,终端设备向用户提示交易结果信息,进而向用户提示交易的结果。Exemplarily, after the terminal device determines that the transaction is completed, or after the terminal device confirms that the transaction fails, the terminal device prompts the user for transaction result information, and then prompts the user for the transaction result.
交易结果信息的显示方式,可以参见图17-18的介绍。For the display method of transaction result information, please refer to the introduction in Figure 17-18.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个卡应用的AID;从而终端设备可以根据AID列表,确定出选卡指令所指示的每一AID所对应的每一卡应用;针对选卡指令所指示的每一AID,终端设备若确定AID列表中具有选卡指令所指示的AID所对应的卡应用时,确定终端设备支持该卡应用。然后,终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用均不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备从选卡指令所指示的每一AID所对应的每一卡应用中,确定一个待交易的卡应用,并激活待交易的卡应用,以便于完成后续支付过程,进而终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。终端设备在激活待交易的卡应用时,还可以将待交易的卡应用设置为默认付款应用,从而终端设备自动修改默认付款应用,无需用户手动更换默认付款应用,加快了终端设备与收款设备之间的交易过程。并且,终端设备在激活待交易的卡应用时,还可以显示出待交易的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。终端设备在激活待交易的卡应用之后,向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用、且该卡应用为待交易的卡应用。终端设备再接收收款设备发送的交易指令,完成交易过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AIDs of multiple card applications; thus, the terminal device can determine the AID of each AID indicated by the card selection instruction according to the AID list. Corresponding to each card application; for each AID indicated by the card selection instruction, if the terminal device determines that there is a card application corresponding to the AID indicated by the card selection instruction in the AID list, it determines that the terminal device supports the card application. Then, if the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction is not the current default payment application, the terminal device needs to change the payment method. In each corresponding card application, determine a card application to be traded, and activate the card application to be traded, so as to complete the subsequent payment process, and then the terminal device will automatically determine the card application that needs to be traded, without the need for the user to be in the terminal Manually modify the card application that needs to be traded to the default payment application in the device, which speeds up the transaction process between the terminal device and the payment collection device, and improves the user experience. When the terminal device activates the card application to be traded, it can also set the card application to be traded as the default payment application, so that the terminal device can automatically modify the default payment application, and the user does not need to manually change the default payment application, which speeds up the connection between the terminal device and the payment collection device. transactions between them. Moreover, when the terminal device activates the card application to be traded, it can also display the interface of the card application to be traded, and then prompt the user which card application the current card application to be traded is; if the terminal device modifies the default payment application, Then this interface is also used to prompt the user to modify the default payment application. After the terminal device activates the card application to be traded, it sends a selection confirmation result to the payment collection device, and then informs the payment collection device that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction, and that the card application is the card to be traded application. The terminal device then receives the transaction instruction sent by the payment collection device to complete the transaction process. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图31为本申请实施例提供的再有一种应用处理方法的信令图。如图31所示,方法可以包括:FIG. 31 is a signaling diagram of yet another application processing method provided by the embodiment of the present application. As shown in Figure 31, methods can include:
S3101、终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID。S3101. The terminal device receives a card selection instruction sent by the payment collection device, where the card selection instruction is used to indicate multiple AIDs.
示例性地,本步骤可以参见步骤S2901,不再赘述。For example, this step may refer to step S2901, and details are not repeated here.
S3102、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的每一AID所对应的每一卡应用。S3102. The terminal device determines each card application corresponding to each AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,本步骤可以参见步骤S2902,不再赘述。For example, this step may refer to step S2902, and details are not repeated here.
S3103、终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用中具有当前的默认付款应用,则向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用,且选择确认结果用于指示待交易的卡应用,待交易的卡应用为终端设备的当前的默认付款应用。S3103. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction has a current default payment application, it sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to characterize the terminal device The card application corresponding to the AID indicated by the card selection instruction is supported, and the selection confirmation result is used to indicate the card application to be traded, and the card application to be traded is the current default payment application of the terminal device.
示例性地,Exemplarily,
参见步骤S2903的介绍,终端设备若确定选卡指令所指示的每一AID所对应的卡应用中,具有终端设备的当前的默认付款应用,则终端设备确定采用终端设备当前的默认付款应用可以完成支付交易过程;终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的一个AID所对应的卡应用,该卡应用为终端设备的当前的默认付款应用。本实施例中,由于收款设备发出了多个AID,本步骤中,选择确认结果需要指示出待交易的卡应用;在本步骤中,待交易的卡应用为终端设备的当前的默认付款应用。Referring to the introduction of step S2903, if the terminal device determines that the card application corresponding to each AID indicated by the card selection instruction has the current default payment application of the terminal device, then the terminal device determines that the payment can be completed by using the current default payment application of the terminal device. Payment transaction process; the terminal device sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to an AID indicated by the card selection instruction, and the card application is the current default of the terminal device payment application. In this embodiment, since the collection device has issued multiple AIDs, in this step, the selection confirmation result needs to indicate the card application to be traded; in this step, the card application to be traded is the current default payment application of the terminal device .
选择确认结果中可以包括以下内容:待交易的卡应用的AID、交易内容。交易内容,包括先不限于:终端设备标识、交易数额、交易标识。The selection confirmation result may include the following content: the AID of the card application to be traded, and the transaction content. Transaction content, including but not limited to: terminal device identification, transaction amount, and transaction identification.
S3104、终端设备显示待交易的卡应用的界面。S3104. The terminal device displays the interface of the card application to be traded.
示例性地,终端设备在确定采用终端设备当前的默认付款应用可以完成支付交易过程之后,确定了终端设备的当前的默认付款应用为待交易的卡应用,进而终端设备可以显示出待交易的卡应用的界面,该界面中包括但限于以下信息:图标信息、图片信息、卡应用的余额信息、卡应用的限额信息、等等。进而终端设备提示给用户当前待交易的卡应用是哪一个卡应用。Exemplarily, after the terminal device determines that the payment transaction process can be completed by using the current default payment application of the terminal device, it determines that the current default payment application of the terminal device is the card application to be traded, and then the terminal device can display the card to be traded The interface of the application, which includes but is limited to the following information: icon information, picture information, balance information of the card application, limit information of the card application, and so on. Furthermore, the terminal device prompts the user which card application the current card application to be traded is.
其中,界面显示的方式可以参见图20-图23的介绍。Among them, the way of interface display can refer to the introduction of Figure 20-Figure 23.
其中,步骤S3104是可选步骤。终端设备可以先向收款设备发送选择确认结果,然后显示待交易的卡应用的界面。或者,终端设备可以先显示待交易的卡应用的界面,然后向收款设备发送选择确认结果。或者,终端设备在向收款设备发送选择确认结果的同时,显示待交易的卡应用的界面。Wherein, step S3104 is an optional step. The terminal device may first send a selection confirmation result to the payment collection device, and then display the interface of the card application to be traded. Alternatively, the terminal device may first display the interface of the card application to be traded, and then send a selection confirmation result to the payment collection device. Alternatively, the terminal device displays the interface of the card application to be traded while sending the selection confirmation result to the payment collection device.
S3105、终端设备接收收款设备发送的交易指令,交易指令用于指示进行交易处理。S3105. The terminal device receives the transaction instruction sent by the payment collection device, where the transaction instruction is used to instruct transaction processing.
示例性地,本步骤可以参见步骤S2907,不再赘述。For example, this step may refer to step S2907, and details are not repeated here.
S3106、终端设备进行交易处理,生成交易结果信息,并向收款设备发送交易结果信息,交易结果信息表征交易是否成功。S3106. The terminal device performs transaction processing, generates transaction result information, and sends the transaction result information to the payment collection device, where the transaction result information represents whether the transaction is successful.
示例性地,本步骤可以参见步骤S2908,不再赘述。For example, this step may refer to step S2908, and details are not repeated here.
S3107、终端设备显示交易结果信息。S3107. The terminal device displays transaction result information.
示例性地,本步骤可以参见步骤S2909,不再赘述。For example, this step may refer to step S2909, and details are not repeated here.
其中,步骤3107可以不执行。或者,步骤S3107可以在步骤S3106之后执行。或者,步骤3107可以在步骤S3106之前执行。或者,步骤S3106与步骤S3107可以同时执行。Wherein, step 3107 may not be executed. Alternatively, step S3107 may be performed after step S3106. Alternatively, step S3107 may be performed before step S3106. Alternatively, step S3106 and step S3107 may be performed simultaneously.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个卡应用的AID;从而终端设备可以根据AID列表,确定出选卡指令所指示的每一AID所对应的每一卡应用;针对选卡指令所指示的每一AID,终端设备若确定AID列表中具有选卡指令所指示的AID所对应的卡应用时,确定终端设备支持该卡应用。然后,终端设备若确定选卡指令所指示的AID所对应的卡应用中具有终端设备的当前的默认付款应用,则终端设备需要无需更换支付方式,终端设备可以直接向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用;并且,选择确认结果需要指示出待交易的卡应用,待交易的卡应用为终端设备的当前的默认付款应用。终端设备还可以显示出待交易的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;本实施例中,终端设备无需修改了默认付款应用。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定选卡指令所指示的AID所对应的卡应用中具有当前的默认付款应用,则终端设备可以直接调取当前的默认付款应用去进行后续的交易处理过程,通过选卡指令的AID调取当前的默认付款应用。终端设备再接收收款设备发送的交易指令,完成交易过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AIDs of multiple card applications; thus, the terminal device can determine the AID of each AID indicated by the card selection instruction according to the AID list. Corresponding to each card application; for each AID indicated by the card selection instruction, if the terminal device determines that there is a card application corresponding to the AID indicated by the card selection instruction in the AID list, it determines that the terminal device supports the card application. Then, if the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction has the current default payment application of the terminal device, the terminal device does not need to change the payment method, and the terminal device can directly send the selection confirmation result to the payment collection device , and further inform the payment collection device that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction; and, the selection confirmation result needs to indicate the card application to be traded, and the card application to be traded is the current default payment application of the terminal device . The terminal device can also display the interface of the card application to be traded, and then prompt the user which card application is the current card application to be traded; in this embodiment, the terminal device does not need to modify the default payment application. Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that the card application corresponding to the AID indicated by the card selection instruction has the current default payment application, then the terminal device The current default payment application can be directly invoked for subsequent transaction processing, and the current default payment application can be invoked through the AID of the card selection command. The terminal device then receives the transaction instruction sent by the payment collection device to complete the transaction process. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图32为本申请实施例提供的其他有一种应用处理方法的信令图。如图32所示,方法可以包括:FIG. 32 is another signaling diagram of an application processing method provided by the embodiment of the present application. As shown in Figure 32, methods may include:
S3201、终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID。S3201. The terminal device receives a card selection instruction sent by the payment collection device, where the card selection instruction is used to indicate multiple AIDs.
示例性地,本步骤可以参见步骤S2901,不再赘述。For example, this step may refer to step S2901, and details are not repeated here.
S3202、终端设备若根据AID列表未确定出选卡指令所指示的每一AID所对应的每一卡应用,其中,AID列表用于指示AID与卡应用之间的对应关系,则生成并显示提示信息;提示信息表征终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。S3202. If the terminal device does not determine each card application corresponding to each AID indicated by the card selection instruction according to the AID list, where the AID list is used to indicate the correspondence between the AID and the card application, generate and display a prompt Information; the prompt information indicates that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
示例性地,终端设备中已经预先存储了一个AID列表,AID列表的介绍,请参见步骤S402,不再赘述。Exemplarily, an AID list has been pre-stored in the terminal device. For the introduction of the AID list, please refer to step S402, and details will not be repeated here.
终端设备接收选卡指令之后,终端设备依据AID列表,确定选卡指令所指示的AID所对应的卡应用。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的每一AID所对应的每一卡应用,则终端设备确定选卡指令所指示的每一AID所对应的每一卡应用均不是付款应用,且终端设确定终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。After the terminal device receives the card selection instruction, the terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction Neither is a payment application, and the terminal device determines that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
然后,终端设备显示一个界面,该界面中包括提示信息,提示信息用于提示用户选卡指令所指示的每一AID所对应的每一卡应用不是付款应用、且终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。此时的界面,为“第四页面”。界面显示方式,可以参见图25。Then, the terminal device displays an interface, which includes prompt information, and the prompt information is used to remind the user that each card application corresponding to each AID indicated by the card selection instruction is not a payment application, and the terminal device does not support the card selection instruction. Each card application corresponding to each indicated AID. The interface at this time is the "fourth page". For the display mode of the interface, please refer to Figure 25.
或者,提示信息可以为语音信息、震动提示、等等。Alternatively, the prompt information may be a voice message, a vibration prompt, and so on.
S3203、终端设备向收款设备发送提示信息;提示信息表征终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。S3203. The terminal device sends prompt information to the payment collection device; the prompt information indicates that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
示例性地,终端设备还可以向收款设备发送上述提示信息,进而告知收款设备终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。Exemplarily, the terminal device may also send the above prompt information to the payment collection device, and then inform the payment collection device that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
其中,不限制步骤S3202和步骤S3203的执行次序。终端设备可以先显示提示信息,再向收款设备发送提示信息。或者,终端设备可以向收款设备发送提示信息,在显示提示信息。或者,终端设备在显示提示信息的同时,向收款设备发送提示信息。Wherein, the execution order of step S3202 and step S3203 is not limited. The terminal device may first display the prompt information, and then send the prompt information to the payment collection device. Alternatively, the terminal device may send prompt information to the payment collection device, and then display the prompt information. Alternatively, the terminal device sends prompt information to the payment collection device while displaying the prompt information.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个卡应用的AID;从而终端设备可以根据AID列表,确定出选卡指令所指示的每一AID所对应的每一卡应用。针对选卡指令所指示的每一AID,终端设备若确定AID列表中具有选卡指令所指示的AID所对应的卡应用时,确定终端设备支持该卡应用。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的每一AID所对应的每一卡应用,则终端设备确定选卡指令所指示的每一AID所对应的每一卡应用均不是付款应用,且终端设确定终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。终端设备需要向用户和收款设备发出提示信息,进而告知用户和和收款设备“终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用”。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定AID列表中不存在选卡指令所指示的每一AID所对应的每一卡应用,则终端设备确定不支持选卡指令所指示的AID所对应的卡应用,进而无法完成后续的交易处理。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the AIDs of multiple card applications; thus, the terminal device can determine the AID of each AID indicated by the card selection instruction according to the AID list. corresponding to each card application. For each AID indicated by the card selection instruction, if the terminal device determines that there is a card application corresponding to the AID indicated by the card selection instruction in the AID list, it determines that the terminal device supports the card application. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction Neither is a payment application, and the terminal device determines that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction. The terminal device needs to send a prompt message to the user and the payment collection device, and then inform the user and the payment collection device that "the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction". Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that each card application corresponding to each AID indicated by the card selection instruction does not exist in the AID list, then The terminal device determines that it does not support the card application corresponding to the AID indicated by the card selection instruction, and thus cannot complete subsequent transaction processing.
图33为本申请实施例提供的再另有一种应用处理方法的信令图。如图33所示,方法可以包括:FIG. 33 is a signaling diagram of still another application processing method provided by the embodiment of the present application. As shown in Figure 33, methods may include:
S3301、终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID,选卡指令还用于指示进行交易处理。或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示多个AID,交易指令用于指示进行交易处理。S3301. The terminal device receives a card selection instruction sent by the payment collection device. The card selection instruction is used to indicate multiple AIDs, and the card selection instruction is also used to indicate transaction processing. Alternatively, the terminal device receives a card selection instruction and a transaction instruction sent by the payment collection device, the card selection instruction is used to indicate multiple AIDs, and the transaction instruction is used to indicate transaction processing.
示例性地,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,场强信息包括了多个AID和交易指令。Exemplarily, when the terminal device approaches the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information includes multiple AIDs and transaction instructions.
一个示例中,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息包括选卡指令。收款设备所发出的选卡指令用于指示出多个卡应用的AID,并且,选卡指令还用于表征需进行交易处理,选卡指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。或者,收款设备所发出的选卡指令包括多个卡应用的AID,并且,选卡指令还用于表征需进行交易处理,选卡指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。In one example, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information includes a card selection instruction. The card selection instruction issued by the payment collection device is used to indicate the AIDs of multiple card applications, and the card selection instruction is also used to represent the need for transaction processing. The card selection instruction also includes but is not limited to: terminal equipment identification, transaction amount , transaction ID, transaction time, account name, etc. Alternatively, the card selection instruction issued by the payment collection device includes AIDs of multiple card applications, and the card selection instruction is also used to indicate that transaction processing is required. The card selection instruction also includes but is not limited to: terminal device identification, transaction amount, Transaction ID, transaction time, account name, etc.
另一个示例中,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息包括选卡指令和交易指令。选卡指令用于指示出多个卡应用的AID,并且,交易指令表征需进行交易处理;交易指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。或者,选卡指令包括多个卡应用的AID,并且,交易指令表征需进行交易处理,交易指令中还包括但不限于:终端设备标识、交易额度、交易标识、交易时间、账户名、等等。In another example, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information includes a card selection instruction and a transaction instruction. The card selection instruction is used to indicate the AID of multiple card applications, and the transaction instruction indicates that transaction processing is required; the transaction instruction also includes but is not limited to: terminal device identification, transaction amount, transaction identification, transaction time, account name, etc. wait. Alternatively, the card selection instruction includes multiple card application AIDs, and the transaction instruction indicates that transaction processing is required, and the transaction instruction also includes but is not limited to: terminal device identification, transaction amount, transaction identification, transaction time, account name, etc. .
S3302、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的每一AID所对应的每一卡应用。S3302. The terminal device determines each card application corresponding to each AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,本步骤可以参见步骤S2902,不再赘述。For example, this step may refer to step S2902, and details are not repeated here.
S3303、终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用均不是当前的默认付款应用,则从选卡指令所指示的每一AID所对应的每一卡应用中,确定待交易的卡应用,并激活待交易的卡应用。S3303. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction is not the current default payment application, then from each card application corresponding to each AID indicated by the card selection instruction, Determine the card application to be traded and activate the card application to be traded.
示例性地,本步骤可以参见步骤S2903,不再赘述。For example, this step may refer to step S2903, and details are not repeated here.
S3304、终端设备设置待交易的卡应用,为默认付款应用。S3304. The terminal device sets the card application to be traded as the default payment application.
示例性地,本步骤可以参见步骤S2904,不再赘述。S3304是可选步骤。For example, this step may refer to step S2904, and details are not repeated here. S3304 is an optional step.
S3305、终端设备显示待交易的卡应用的界面。S3305. The terminal device displays the interface of the card application to be traded.
示例性地,本步骤可以参见步骤S2905,不再赘述。For example, this step may refer to step S2905, and details are not repeated here.
S3306、终端设备向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用,且选择确认结果用于指示待交易的卡应用。S3306. The terminal device sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to indicate that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction, and the selection confirmation result is used to indicate the card application to be traded.
示例性地,由于终端设备在步骤S3303时,确定出待交易的卡应用之后,终端设备生成选择确认结果,此时,选择确认结果表征终端设备支持选卡指令所指示的一个AID所对应的卡应用,且选择确认结果用于指示待交易的卡应用;终端设备将选择确认结果发送给收款设备,进而告知收款设备可以采用待交易的卡应用完成交易处理。本实施例中,由于收款设备发出了多个AID,本步骤中,选择确认结果需要指示出待交易的卡应用。Exemplarily, since the terminal device determines the application of the card to be traded in step S3303, the terminal device generates a selection confirmation result. At this time, the selection confirmation result indicates that the terminal device supports the card corresponding to an AID indicated by the card selection instruction. The selection confirmation result is used to indicate the card application to be transacted; the terminal device sends the selection confirmation result to the payment collection device, and then notifies the payment collection device that the transaction processing can be completed using the card application to be transacted. In this embodiment, since the payment collection device has issued multiple AIDs, in this step, the selection confirmation result needs to indicate the card application to be traded.
选择确认结果中可以包括以下内容:待交易的卡应用的AID、交易内容。交易内容,包括先不限于:终端设备标识、交易数额、交易标识。The selection confirmation result may include the following content: the AID of the card application to be traded, and the transaction content. Transaction content, including but not limited to: terminal device identification, transaction amount, and transaction identification.
其中,不限制步骤S3305和步骤S3306的执行次序。可以先执行步骤S3305,再执行步骤S3306。或者,可以先执行步骤3306,再执行步骤S3305。或者,可以同时执行步骤S3305和步骤S3306。Wherein, the execution sequence of step S3305 and step S3306 is not limited. Step S3305 may be executed first, and then step S3306 is executed. Alternatively, step S3306 may be executed first, and then step S3305 may be executed. Alternatively, step S3305 and step S3306 may be performed simultaneously.
S3307、终端设备完成交易处理,并向收款设备发送交易结果信息,其中,交易结果信息表征交易是否成功。S3307. The terminal device completes the transaction processing, and sends transaction result information to the payment collection device, wherein the transaction result information represents whether the transaction is successful.
示例性地,本实施例中,终端设备在步骤S3301中接收到了AID和交易指示,则终端设备在步骤S3303中确定出待交易的卡应用,则终端设备就可以直接进行交易处理过程。Exemplarily, in this embodiment, the terminal device receives the AID and the transaction instruction in step S3301, then the terminal device determines the card application to be traded in step S3303, and the terminal device can directly perform transaction processing.
一个示例中,步骤S3307可以在步骤S3306之后执行。或者,步骤S3307可以在步骤S3303之后执行。In an example, step S3307 may be performed after step S3306. Alternatively, step S3307 may be performed after step S3303.
终端设备依据选卡指令的指示去完成交易过程,或者依据交易指令完成交易过程。终端设备在确定完成了交易之后,或者,终端设备在确认交易失败之后,向收款设备发送交易结果信息,交易结果信息表征交易是否成功;终端设备告知收款设备交易的结果。可以参见步骤S2607的介绍,不再赘述。The terminal device completes the transaction process according to the instructions of the card selection instruction, or completes the transaction process according to the transaction instructions. After the terminal device confirms that the transaction is completed, or after the terminal device confirms that the transaction fails, it sends transaction result information to the payment collection device, and the transaction result information indicates whether the transaction is successful; the terminal device informs the payment collection device of the transaction result. Reference may be made to the introduction of step S2607, and details are not repeated here.
S3308、终端设备显示交易结果信息。S3308. The terminal device displays transaction result information.
示例性地,本步骤可以参见上述步骤S2909,不再赘述。For example, for this step, reference may be made to the above step S2909, and details are not repeated here.
其中,步骤S3308可以不执行。或者,或者,终端设备在向收款设备发送交易结果信息之后,再显示交易结果信息。或者,终端设备在显示交易结果信息之后,再向收款设备发送交易结果信息。或者,终端设备在向收款设备发送交易结果信息的同时,显示交易结果信息。Wherein, step S3308 may not be executed. Alternatively, alternatively, the terminal device displays the transaction result information after sending the transaction result information to the payment collection device. Alternatively, the terminal device sends the transaction result information to the payment collection device after displaying the transaction result information. Alternatively, the terminal device displays the transaction result information while sending the transaction result information to the payment collection device.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID,选卡指令还用于指示进行交易处理;或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示多个AID,交易指令用于指示进行交易处理。进而终端设备同时接收到多个AID和交易指示。终端设备可以根据AID列表,确定出选卡指令所指示的每一AID所对应的每一卡应用;针对选卡指令所指示的每一AID,终端设备若确定AID列表中具有选卡指令所指示的AID所对应的卡应用时,确定终端设备支持该卡应用。然后,终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用均不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备从选卡指令所指示的每一AID所对应的每一卡应用中,确定一个待交易的卡应用,并激活待交易的卡应用,以便于完成后续支付过程,进而终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。终端设备在激活待交易的卡应用时,还可以将待交易的卡应用设置为默认付款应用,从而终端设备自动修改默认付款应用,无需用户手动更换默认付款应用。并且,终端设备激活待交易的卡应用时,还可以显示出待交易的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;若终端设备修改了默认付款应用,则该界面也用于提示给用户修改了默认付款应用。终端设备在激活待交易的卡应用之后,向收款设备发送选择确认结果,进而告知收款设备终端设备支持待交易的卡应用。终端设备已经获取到了交易指示,进而终端设备在激活了待交易的卡应用之后,就可以直接完成交易处理过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, the card selection instruction is used to indicate multiple AIDs, and the card selection instruction is also used to instruct transaction processing; or, the terminal device receives the card selection instruction sent by the payment collection device Instructions and transaction instructions, the card selection instruction is used to instruct multiple AIDs, and the transaction instruction is used to instruct transaction processing. Furthermore, the terminal device simultaneously receives multiple AIDs and transaction instructions. The terminal device can determine each card application corresponding to each AID indicated by the card selection instruction according to the AID list; for each AID indicated by the card selection instruction, if the terminal device determines that the AID list has the When the card application corresponding to the AID is used, it is determined that the terminal device supports the card application. Then, if the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction is not the current default payment application, the terminal device needs to change the payment method. In each corresponding card application, determine a card application to be traded, and activate the card application to be traded, so as to complete the subsequent payment process, and then the terminal device will automatically determine the card application that needs to be traded, without the need for the user to be in the terminal Manually modify the card application that needs to be traded to the default payment application in the device, which speeds up the transaction process between the terminal device and the payment collection device, and improves the user experience. When the terminal device activates the card application to be traded, it can also set the card application to be traded as the default payment application, so that the terminal device can automatically modify the default payment application, without requiring the user to manually replace the default payment application. Moreover, when the terminal device activates the card application to be traded, it can also display the interface of the card application to be traded, and then prompt the user which card application the current card application to be traded is; if the terminal device modifies the default payment application, then This interface is also used to prompt the user to modify the default payment application. After the terminal device activates the card application to be traded, it sends a selection confirmation result to the payment collection device, and then notifies the payment collection device that the terminal device supports the card application to be traded. The terminal device has obtained the transaction instruction, and then the terminal device can directly complete the transaction processing process after activating the card application to be traded. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图34为本申请实施例提供的再又有一种应用处理方法的信令图。如图24所示,方法可以包括:FIG. 34 is a signaling diagram of yet another application processing method provided by the embodiment of the present application. As shown in Figure 24, methods may include:
S3401、终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID,选卡指令还用于指示进行交易处理。或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示多个AID,交易指令用于指示进行交易处理。S3401. The terminal device receives a card selection instruction sent by the payment collection device. The card selection instruction is used to indicate multiple AIDs, and the card selection instruction is also used to indicate transaction processing. Alternatively, the terminal device receives a card selection instruction and a transaction instruction sent by the payment collection device, the card selection instruction is used to indicate multiple AIDs, and the transaction instruction is used to indicate transaction processing.
示例性地,本步骤可以参见上述步骤S3301,不再赘述。For example, this step can refer to the above step S3301, and details are not repeated here.
S3402、终端设备根据AID列表,其中,AID列表用于指示AID与卡应用之间的对应关系,确定选卡指令所指示的每一AID所对应的每一卡应用。S3402. The terminal device determines each card application corresponding to each AID indicated by the card selection instruction according to the AID list, wherein the AID list is used to indicate the correspondence between the AID and the card application.
示例性地,本步骤可以参见步骤S3302,不再赘述。For example, this step may refer to step S3302, and details are not repeated here.
S3403、终端设备若确定选卡指令所指示的每一AID所对应的每一卡应用中具有当前的默认付款应用,则向收款设备发送选择确认结果,其中,选择确认结果用于表征终端设备支持选卡指令所指示的AID所对应的卡应用,且选择确认结果用于指示待交易的卡应用,待交易的卡应用为终端设备的当前的默认付款应用。S3403. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction has a current default payment application, it sends a selection confirmation result to the payment collection device, wherein the selection confirmation result is used to represent the terminal device The card application corresponding to the AID indicated by the card selection instruction is supported, and the selection confirmation result is used to indicate the card application to be traded, and the card application to be traded is the current default payment application of the terminal device.
示例性地,本步骤可以参见步骤S3103,不再赘述。For example, this step may refer to step S3103, and details are not repeated here.
S3404、终端设备显示待交易的卡应用的界面。S3404. The terminal device displays the interface of the card application to be traded.
示例性地,本步骤可以参见步骤S3104,不再赘述。For example, this step may refer to step S3104, and details are not repeated here.
其中,步骤S3404是可选步骤。终端设备可以先向收款设备发送选择确认结果,然后显示待交易的卡应用的界面。或者,终端设备可以先显示待交易的卡应用的界面,然后向收款设备发送选择确认结果。或者,终端设备在向收款设备发送选择确认结果的同时,显示待交易的卡应用的界面。Wherein, step S3404 is an optional step. The terminal device may first send a selection confirmation result to the payment collection device, and then display the interface of the card application to be traded. Alternatively, the terminal device may first display the interface of the card application to be traded, and then send a selection confirmation result to the payment collection device. Alternatively, the terminal device displays the interface of the card application to be traded while sending the selection confirmation result to the payment collection device.
S3405、终端设备完成交易处理,并向收款设备发送交易结果信息,其中,交易结果信息表征交易是否成功。S3405. The terminal device completes the transaction processing, and sends transaction result information to the payment collection device, wherein the transaction result information represents whether the transaction is successful.
示例性地,本实施例中,终端设备在步骤S3401中接收到了AID和交易指示,则终端设备在步骤S3403中若根据AID列表确定出选卡指令所指示的每一AID所对应的每一卡应用中具有终端设备的当前的默认付款应用,则终端设备就可以直接进行交易处理过程。本步骤可以参见步骤S2705,不再赘述。Exemplarily, in this embodiment, the terminal device receives the AID and the transaction instruction in step S3401, if the terminal device determines in step S3403 according to the AID list that each card corresponding to each AID indicated by the card selection instruction If there is the current default payment application of the terminal device in the application, the terminal device can directly perform transaction processing. For this step, reference may be made to step S2705, and details are not repeated here.
一个示例中,步骤S3405可以在步骤S3404之后执行。或者,步骤S3405可以在步骤S3403之后执行。In an example, step S3405 may be performed after step S3404. Alternatively, step S3405 may be performed after step S3403.
S3406、终端设备显示交易结果信息。S3406. The terminal device displays transaction result information.
示例性地,本步骤可以参见上述步骤S409,不再赘述。For example, this step may refer to the above step S409, and details are not repeated here.
其中,步骤S3406可以不执行。或者,终端设备在向收款设备发送交易结果信息之后,再显示交易结果信息。或者,终端设备在显示交易结果信息之后,再向收款设备发送交易结果信息。或者,终端设备在向收款设备发送交易结果信息的同时,显示交易结果信息。Wherein, step S3406 may not be executed. Alternatively, the terminal device displays the transaction result information after sending the transaction result information to the payment collection device. Alternatively, the terminal device sends the transaction result information to the payment collection device after displaying the transaction result information. Alternatively, the terminal device displays the transaction result information while sending the transaction result information to the payment collection device.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID,选卡指令还用于指示进行交易处理;或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示多个AID,交易指令用于指示进行交易处理。进而终端设备同时接收到多个AID和交易指示。终端设备若确定选卡指令所指示的AID所对应的卡应用中具有终端设备的当前的默认付款应用,则终端设备需要无需更换支付方式,终端设备可以直接向收款设备发送选择确认结果,进而告知收款设备终端设备支持选卡指令所指示的AID所对应的卡应用;并且,选择确认结果需要指示出待交易的卡应用,待交易的卡应用为终端设备的当前的默认付款应用。终端设备还可以显示出待交易的卡应用的界面,进而向用户提示当前待交易的卡应用是哪一个卡应用;本实施例中,终端设备无需修改了默认付款应用。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定选卡指令所指示的AID所对应的卡应用中具有当前的默认付款应用,则终端设备可以直接调取当前的默认付款应用去进行后续的交易处理过程,通过选卡指令的AID调取当前的默认付款应用。终端设备已经获取到了交易指示,进而终端设备在确定了待交易的卡应用之后,就可以直接完成交易处理过程。终端设备向收款设备反馈交易结果信息,告知收款设备交易的结果。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, the card selection instruction is used to indicate multiple AIDs, and the card selection instruction is also used to instruct transaction processing; or, the terminal device receives the card selection instruction sent by the payment collection device Instructions and transaction instructions, the card selection instruction is used to instruct multiple AIDs, and the transaction instruction is used to instruct transaction processing. Furthermore, the terminal device simultaneously receives multiple AIDs and transaction instructions. If the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction has the current default payment application of the terminal device, the terminal device does not need to change the payment method, and the terminal device can directly send the selection confirmation result to the payment collection device, and then Notify the payment collection device that the terminal device supports the card application corresponding to the AID indicated by the card selection instruction; and, the selection confirmation result needs to indicate the card application to be traded, and the card application to be traded is the current default payment application of the terminal device. The terminal device can also display the interface of the card application to be traded, and then prompt the user which card application is the current card application to be traded; in this embodiment, the terminal device does not need to modify the default payment application. Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that the card application corresponding to the AID indicated by the card selection instruction has the current default payment application, then the terminal device The current default payment application can be directly invoked for subsequent transaction processing, and the current default payment application can be invoked through the AID of the card selection command. The terminal device has obtained the transaction instruction, and then the terminal device can directly complete the transaction processing process after determining the card application to be traded. The terminal device feeds back the transaction result information to the payment collection device, and informs the payment collection device of the transaction result.
图35为本申请实施例提供的还有一种应用处理方法的信令图。如图25所示,方法可以包括:FIG. 35 is a signaling diagram of another application processing method provided by the embodiment of the present application. As shown in Figure 25, methods may include:
S3501、终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID,选卡指令还用于指示进行交易处理。或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示多个AID,交易指令用于指示进行交易处理。S3501. The terminal device receives a card selection instruction sent by the payment collection device. The card selection instruction is used to indicate multiple AIDs, and the card selection instruction is also used to indicate transaction processing. Alternatively, the terminal device receives a card selection instruction and a transaction instruction sent by the payment collection device, the card selection instruction is used to indicate multiple AIDs, and the transaction instruction is used to indicate transaction processing.
示例性地,本步骤可以参见上述步骤S3301,不再赘述。For example, this step can refer to the above step S3301, and details are not repeated here.
S3502、终端设备若根据AID列表未确定出选卡指令所指示的每一AID所对应的每一卡应用,其中,AID列表用于指示AID与卡应用之间的对应关系,则生成并显示提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。S3502. If the terminal device does not determine each card application corresponding to each AID indicated by the card selection instruction according to the AID list, where the AID list is used to indicate the correspondence between the AID and the card application, generate and display a prompt Information; wherein, the prompt information indicates that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
示例性地,终端设备中已经预先存储了一个AID列表,AID列表的介绍,请参见步骤S402,不再赘述。Exemplarily, an AID list has been pre-stored in the terminal device. For the introduction of the AID list, please refer to step S402, and details will not be repeated here.
终端设备接收选卡指令之后,终端设备依据AID列表,确定选卡指令所指示的AID所对应的卡应用。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的每一AID所对应的每一卡应用,则终端设备确定选卡指令所指示的每一AID所对应的每一卡应用均不是付款应用,且终端设确定终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。After the terminal device receives the card selection instruction, the terminal device determines the card application corresponding to the AID indicated by the card selection instruction according to the AID list. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction Neither is a payment application, and the terminal device determines that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
然后,终端设备显示一个界面,该界面中包括提示信息,提示信息用于提示用户选卡指令所指示的每一AID所对应的每一卡应用不是付款应用、且终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。此时的界面,为“第四页面”。界面显示方式,可以参见图25。Then, the terminal device displays an interface, which includes prompt information, and the prompt information is used to remind the user that each card application corresponding to each AID indicated by the card selection instruction is not a payment application, and the terminal device does not support the card selection instruction. Each card application corresponding to each indicated AID. The interface at this time is the "fourth page". For the display mode of the interface, please refer to Figure 25.
或者,提示信息可以为语音信息、震动提示、等等。Alternatively, the prompt information may be a voice message, a vibration prompt, and so on.
S3503、终端设备向收款设备发送提示信息;其中,提示信息表征终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。S3503. The terminal device sends prompt information to the payment collection device; wherein, the prompt information indicates that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
示例性地,终端设备还可以向收款设备发送上述提示信息,进而告知收款设备终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。Exemplarily, the terminal device may also send the above prompt information to the payment collection device, and then inform the payment collection device that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction.
其中,不限制步骤S3502和步骤S3503的执行次序。终端设备可以先显示提示信息,再向收款设备发送提示信息。或者,终端设备可以向收款设备发送提示信息,在显示提示信息。或者,终端设备在显示提示信息的同时,向收款设备发送提示信息。Wherein, the execution order of step S3502 and step S3503 is not limited. The terminal device may first display the prompt information, and then send the prompt information to the payment collection device. Alternatively, the terminal device may send prompt information to the payment collection device, and then display the prompt information. Alternatively, the terminal device sends prompt information to the payment collection device while displaying the prompt information.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示多个AID,选卡指令还用于指示进行交易处理;或者,终端设备接收收款设备发送的选卡指令和交易指令,选卡指令用于指示多个AID,交易指令用于指示进行交易处理。进而终端设备同时接收到多个AID和交易指示。终端设备若根据AID列表,确定AID列表中不存在选卡指令所指示的每一AID所对应的每一卡应用,则终端设备确定选卡指令所指示的每一AID所对应的每一卡应用均不是付款应用,且终端设确定终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用。终端设备需要向用户和收款设备发出提示信息,进而告知用户和和收款设备“终端设备不支持选卡指令所指示的每一AID所对应的每一卡应用”。通过选卡指令去指示出AID,进而终端设备依据AID确定是否支持AID所支持的卡应用,且若确定AID列表中不存在选卡指令所指示的每一AID所对应的每一卡应用,则终端设备确定不支持选卡指令所指示的AID所对应的卡应用,进而无法完成后续的交易处理。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, the card selection instruction is used to indicate multiple AIDs, and the card selection instruction is also used to instruct transaction processing; or, the terminal device receives the card selection instruction sent by the payment collection device Instructions and transaction instructions, the card selection instruction is used to instruct multiple AIDs, and the transaction instruction is used to instruct transaction processing. Furthermore, the terminal device simultaneously receives multiple AIDs and transaction instructions. If the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction does not exist in the AID list according to the AID list, the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction Neither is a payment application, and the terminal device determines that the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction. The terminal device needs to send a prompt message to the user and the payment collection device, and then inform the user and the payment collection device that "the terminal device does not support each card application corresponding to each AID indicated by the card selection instruction". Indicate the AID through the card selection instruction, and then the terminal device determines whether to support the card application supported by the AID according to the AID, and if it is determined that each card application corresponding to each AID indicated by the card selection instruction does not exist in the AID list, then The terminal device determines that it does not support the card application corresponding to the AID indicated by the card selection instruction, and thus cannot complete subsequent transaction processing.
图36为本申请实施例提供的其他有一种应用处理方法的流程图,如图36所示,方法可以包括:Fig. 36 is a flow chart of another application processing method provided by the embodiment of the present application. As shown in Fig. 36, the method may include:
S3601、接收收款设备发送的选卡指令,其中,选卡指令用于指示N个卡应用的应用标识,N为大于等于1的正整数,根据预设的应用标识列表,确定选卡指令所指示的应用标识所对应的卡应用;其中,应用标识列表用于指示应用标识与卡应用之间的对应关系。S3601. Receive the card selection instruction sent by the payment collection device, wherein the card selection instruction is used to indicate the application identifiers of N card applications, N is a positive integer greater than or equal to 1, and determine the card selection instruction according to the preset application identifier list. The card application corresponding to the indicated application identifier; wherein, the application identifier list is used to indicate the correspondence between the application identifier and the card application.
示例性地,终端设备靠近收款设备需要完成交易的时候,收款设备会发出场强信息,该场强信息为选卡指令;收款设备所发出的选卡指令中携带有卡应用的AID,或者,收款设备所发出的选卡指令表征卡应用的AID。本实施例中,终端设备所接收到的选卡指令指示出一个卡应用的AID;或者,终端设备所接收到的选卡指令指示出多个卡应用中每一卡应用的AID。Exemplarily, when the terminal device is close to the payment collection device and needs to complete the transaction, the payment collection device will send field strength information, and the field strength information is a card selection instruction; the card selection instruction sent by the payment collection device contains the AID of the card application , or, the card selection instruction issued by the payment collection device represents the AID of the card application. In this embodiment, the card selection instruction received by the terminal device indicates the AID of one card application; or, the card selection instruction received by the terminal device indicates the AID of each card application in multiple card applications.
S3602、若确定选卡指令所指示的应用标识所对应的卡应用,不是终端设备的当前的默认付款应用,则根据选卡指令所指示的应用标识所对应的卡应用,确定待交易的卡应用。S3602. If it is determined that the card application corresponding to the application identifier indicated by the card selection instruction is not the current default payment application of the terminal device, determine the card application to be traded according to the card application corresponding to the application identifier indicated by the card selection instruction .
示例性地,终端设备中已经预先存储了一个AID列表。AID列表中包括至少一个卡应用的AID。AID列表可以参见步骤S402的介绍。Exemplarily, an AID list has been pre-stored in the terminal device. The AID list includes at least one AID of the card application. For the AID list, refer to the introduction of step S402.
终端设备根据AID列表,确定出选卡指令所指示的每一IAD所对应的每一卡应用。The terminal device determines each card application corresponding to each IAD indicated by the card selection instruction according to the AID list.
若选卡指令指示出一个卡应用的AID,则终端设备在确定选卡指令指示的AID对应的卡应用,不是终端设备的当前的默认付款应用的时候,终端设备可以直接确定选卡指令指示的AID对应的卡应用,为待交易的卡应用。If the card selection instruction indicates the AID of a card application, when the terminal device determines that the card application corresponding to the AID indicated by the card selection instruction is not the current default payment application of the terminal device, the terminal device can directly determine the card application indicated by the card selection instruction. The card application corresponding to the AID is the card application to be traded.
若选卡指令指示出多个卡应用的AID,则终端设备在确定选卡指令指示的每一AID对应的每一卡应用,均不是终端设备的当前的默认付款应用的时候,终端设备从选卡指令指示的AID对应的卡应用中,选择一个卡应用,作为待交易的卡应用。例如,终端设备从选卡指令指示的AID对应的卡应用中,随机选择一个卡应用,作为待交易的卡应用。再例如,终端设备从选卡指令指示的AID对应的卡应用中,依据卡应用的优先级的高低,确定选卡指令指示的AID对应的各卡应用中的优先级最高的卡应用,作为待交易的卡应用。If the card selection instruction indicates multiple card application AIDs, when the terminal device determines that each card application corresponding to each AID indicated by the card selection instruction is not the current default payment application of the terminal device, the terminal device starts from the selected card application. Among the card applications corresponding to the AID indicated by the card instruction, select a card application as the card application to be traded. For example, the terminal device randomly selects a card application from the card applications corresponding to the AID indicated by the card selection instruction as the card application to be traded. For another example, from the card applications corresponding to the AID indicated by the card selection instruction, the terminal device determines the card application with the highest priority among the card applications corresponding to the AID indicated by the card selection instruction according to the priority of the card applications, as the card application to be used. Card application for transactions.
S3603、根据待交易的卡应用,进行交易处理。S3603. Perform transaction processing according to the card application to be transacted.
示例性地,终端设备确定出待交易的卡应用之后,终端设备就可以根据该待交易的卡应用,完成交易处理过程。Exemplarily, after the terminal device determines the card application to be traded, the terminal device can complete the transaction processing process according to the card application to be traded.
本实施例中,终端设备接收收款设备发送的选卡指令,选卡指令用于指示应用标识;从而终端设备可以根据应用标识列表,确定出选卡指令所指示的应用标识所对应的卡应用;终端设备在确定出选卡指令所指示的应用标识所对应的卡应用时,确定终端设备支持选卡指令所指示的应用标识所对应的卡应用;然后,终端设备若确定选卡指令所指示的应用标识所对应的卡应用不是当前的默认付款应用,则终端设备需要更换支付方式,终端设备依据选卡指令所指示的应用标识所对应的卡应用,确定出一个待交易的卡应用,依据该待交易的卡应用进行交易处理。终端设备自动的确定出需进行交易的卡应用,无需用户在终端设备中手动的将需进行交易的卡应用修改为默认付款应用,加快了终端设备与收款设备之间的交易过程,提高了用户体验。In this embodiment, the terminal device receives the card selection instruction sent by the payment collection device, and the card selection instruction is used to indicate the application identification; thus, the terminal device can determine the card application corresponding to the application identification indicated by the card selection instruction according to the application identification list. ; When the terminal device determines the card application corresponding to the application identification indicated by the card selection instruction, it determines that the terminal equipment supports the card application corresponding to the application identification indicated by the card selection instruction; then, if the terminal equipment determines that the card selection instruction indicates If the card application corresponding to the application ID of the application ID is not the current default payment application, the terminal device needs to change the payment method, and the terminal device determines a card application to be traded according to the card application corresponding to the application ID indicated by the card selection instruction. The card application to be transacted performs transaction processing. The terminal device automatically determines the card application that needs to be traded, without the need for the user to manually modify the card application that needs to be traded to the default payment application in the terminal device, which speeds up the transaction process between the terminal device and the payment collection device, and improves user experience.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的方法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that, in combination with the method steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对设备通信方法的装置进行功能模块的划分,例如可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the apparatus of the device communication method into functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
如图37所示为本申请实施例提供的一种芯片的结构示意图。芯片370包括一个或两个以上(包括两个)处理器3701、通信线路3702、通信接口3703和存储器3704。FIG. 37 is a schematic structural diagram of a chip provided by an embodiment of the present application. The
在一些实施方式中,存储器3704存储了如下的元素:可执行模块或者数据结构,或者他们的子集,或者他们的扩展集。In some implementations,
上述本申请实施例描述的方法可以应用于处理器3701中,或者由处理器3701实现。处理器3701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述第一设备或第二设备执行方法的各步骤可以通过处理器3701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器3701可以是通用处理器(例如,微处理器或常规处理器)、数字信号处理器(digital signal processing,DSP)、专用集成电路(applicationspecific integrated circuit,ASIC)、现成可编程门阵列(field-programmable gatearray,FPGA)或者其他可编程逻辑器件、分立门、晶体管逻辑器件或分立硬件组件,处理器3701可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。The methods described in the foregoing embodiments of the present application may be applied to the
结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。其中,软件模块可以位于随机存储器、只读存储器、可编程只读存储器或带电可擦写可编程存储器(electricallyerasable programmable read only memory,EEPROM)等本领域成熟的存储介质中。该存储介质位于存储器3704,处理器3701读取存储器3704中的信息,结合其硬件完成上述方法的步骤。The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. Wherein, the software module may be located in a mature storage medium in the field such as random access memory, read-only memory, programmable read-only memory, or electrically erasable programmable read only memory (EEPROM). The storage medium is located in the
处理器3701、存储器3704以及通信接口3703之间可以通过通信线路3702进行通信。The
图38为本申请实施例提供的一种终端设备的结构示意图,如图38所示,终端设备3800包括上述芯片和显示单元。显示单元用于执行上述实施例提供的方法的显示的步骤。FIG. 38 is a schematic structural diagram of a terminal device provided in an embodiment of the present application. As shown in FIG. 38 , a
本实施例实施例还提供了一种应用处理系统,该系统包括上述终端设备和上述收款设备。The embodiment of this embodiment also provides an application processing system, which includes the above-mentioned terminal device and the above-mentioned payment collection device.
在上述实施例中,存储器存储的供处理器执行的指令可以以计算机程序产品的形式实现。其中,计算机程序产品可以是事先写入在存储器中,也可以是以软件形式下载并安装在存储器中。In the above embodiments, the instructions stored in the memory for execution by the processor may be implemented in the form of computer program products. Wherein, the computer program product may be written in the memory in advance, or may be downloaded and installed in the memory in the form of software.
本申请实施例还提供一种计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。例如,可用介质可以包括磁性介质(例如,软盘、硬盘或磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。The embodiment of the present application also provides a computer program product including one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, special purpose computer, computer network, or other programmable apparatus. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. Computer readable storage medium can be Any available media capable of being stored by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. For example, available media may include magnetic media (e.g., floppy disks, hard disks, or tapes), optical media (e.g., A digital versatile disc (digital versatile disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
本申请实施例还提供一种计算机可读存储介质。上述实施例中描述的方法可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。The embodiment of the present application also provides a computer-readable storage medium. The methods described in the foregoing embodiments may be fully or partially implemented by software, hardware, firmware or any combination thereof. Computer-readable media may include computer storage media and communication media, and may include any medium that can transfer a computer program from one place to another. A storage media may be any target media that can be accessed by a computer.
作为一种可能的设计,计算机可读介质可以包括紧凑型光盘只读储存器(compactdisc read-only memory,CD-ROM)、RAM、ROM、EEPROM或其它光盘存储器;计算机可读介质可以包括磁盘存储器或其它磁盘存储设备。而且,任何连接线也可以被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,DSL或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(digital versatile disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。As a possible design, the computer-readable medium may include compact disc read-only memory (compactdisc read-only memory, CD-ROM), RAM, ROM, EEPROM or other optical disk storage; the computer-readable medium may include magnetic disk storage or other disk storage devices. Also, any connected cord is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. reproduce the data.
上述的组合也应包括在计算机可读介质的范围内。以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。Combinations of the above should also be included within the scope of computer-readable media. The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (25)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111399722.5A CN115018483B (en) | 2021-11-19 | 2021-11-19 | Application processing method, terminal device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111399722.5A CN115018483B (en) | 2021-11-19 | 2021-11-19 | Application processing method, terminal device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115018483A CN115018483A (en) | 2022-09-06 |
CN115018483B true CN115018483B (en) | 2023-05-30 |
Family
ID=83064776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111399722.5A Active CN115018483B (en) | 2021-11-19 | 2021-11-19 | Application processing method, terminal device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115018483B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056382A (en) * | 2016-06-20 | 2016-10-26 | 中国银联股份有限公司 | Mobile terminal payment method |
CN111543041A (en) * | 2017-12-29 | 2020-08-14 | 华为技术有限公司 | A method for selecting an analog card and a mobile device |
CN112348508A (en) * | 2019-07-22 | 2021-02-09 | 腾讯科技(深圳)有限公司 | Card data processing method and terminal |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9491626B2 (en) * | 2014-05-07 | 2016-11-08 | Visa Intellectual Service Association | Enhanced data interface for contactless communications |
CN107251069B (en) * | 2016-01-28 | 2020-09-29 | 华为技术有限公司 | Near field communication payment method and terminal |
CN108604340A (en) * | 2017-01-25 | 2018-09-28 | 华为技术有限公司 | A kind of method of mobile payment, device and storage medium |
CN108701303A (en) * | 2017-06-30 | 2018-10-23 | 华为技术有限公司 | NFC payment and terminal |
CN111124503B (en) * | 2018-11-01 | 2021-09-14 | 华为终端有限公司 | Automatic activation method of NFC application and terminal |
CN114781415A (en) * | 2019-03-11 | 2022-07-22 | 华为技术有限公司 | Method for automatically selecting NFC analog card, electronic equipment and communication system |
CN111107525B (en) * | 2019-04-26 | 2022-01-14 | 华为技术有限公司 | Automatic routing method of SE (secure element) and electronic equipment |
CN112529564A (en) * | 2019-09-18 | 2021-03-19 | 华为技术有限公司 | Method and electronic equipment for near field wireless communication |
CN118095306A (en) * | 2021-02-02 | 2024-05-28 | 中国银联股份有限公司 | Service processing method, user terminal, service equipment, system and storage medium |
-
2021
- 2021-11-19 CN CN202111399722.5A patent/CN115018483B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106056382A (en) * | 2016-06-20 | 2016-10-26 | 中国银联股份有限公司 | Mobile terminal payment method |
CN111543041A (en) * | 2017-12-29 | 2020-08-14 | 华为技术有限公司 | A method for selecting an analog card and a mobile device |
CN112348508A (en) * | 2019-07-22 | 2021-02-09 | 腾讯科技(深圳)有限公司 | Card data processing method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN115018483A (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011050683A1 (en) | Method and device for displaying application image | |
CN117130808A (en) | Log acquisition method and electronic equipment | |
CN115018483B (en) | Application processing method, terminal device and storage medium | |
CN115016921B (en) | Resource scheduling method, device and storage medium | |
CN114327175B (en) | Information sharing method and device | |
CN111367561B (en) | Remote development method and device for software program | |
CN117156088B (en) | Image processing method and related device | |
CN116860115A (en) | Application management method and related device | |
CN116665751B (en) | Test methods and electronic equipment | |
CN116431546A (en) | Parameter configuration method, electronic device, storage medium, and program product | |
CN113222174B (en) | Model management method and device | |
CN117148959A (en) | Eye tracking frame rate adjustment method and related devices | |
CN113946370B (en) | Driving system, information processing method, information processing apparatus, and storage medium | |
CN117667115A (en) | Application program installation method and electronic device | |
WO2020064000A1 (en) | Method and apparatus for displaying message box, terminal and storage medium | |
CN117742849A (en) | Interface display method and related devices based on application clones | |
CN115421599B (en) | Input method display control method and related device | |
CN116090032B (en) | Display method and related device | |
CN116700740B (en) | Software repairing method and related device | |
CN116196621B (en) | Application processing method and related device | |
CN117156270B (en) | Photo processing method and related device | |
CN116048646B (en) | Process processing method and electronic equipment | |
CN116680133B (en) | Black screen detection method and electronic device | |
CN116708615B (en) | Device registration method, device registration apparatus and storage medium | |
CN115529576B (en) | Collision connection method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |