JP7378598B2 - Near field communication methods and electronic devices - Google Patents
Near field communication methods and electronic devices Download PDFInfo
- Publication number
- JP7378598B2 JP7378598B2 JP2022517411A JP2022517411A JP7378598B2 JP 7378598 B2 JP7378598 B2 JP 7378598B2 JP 2022517411 A JP2022517411 A JP 2022517411A JP 2022517411 A JP2022517411 A JP 2022517411A JP 7378598 B2 JP7378598 B2 JP 7378598B2
- Authority
- JP
- Japan
- Prior art keywords
- card
- application
- information
- nfc
- electronic device
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/22—Payment schemes or models
- G06Q20/227—Payment schemes or models characterised in that multiple accounts are available, e.g. to the payer
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10118—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step
- G06K7/10138—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step the step consisting of determining the type of record carrier, e.g. to determine if the record carrier is an RFID tag of the long or short range type, or to determine the preferred communication protocol of the RFID tag
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/322—Aspects of commerce using mobile devices [M-devices]
- G06Q20/3223—Realising banking transactions through M-devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/322—Aspects of commerce using mobile devices [M-devices]
- G06Q20/3227—Aspects of commerce using mobile devices [M-devices] using secure elements embedded in M-devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/354—Card activation or deactivation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
- G06Q20/3678—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/40—Security arrangements using identity modules
- H04W12/47—Security arrangements using identity modules using near field communication [NFC] or radio frequency identification [RFID] modules
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Electromagnetism (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Telephone Function (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- User Interface Of Digital Computer (AREA)
Description
本出願は、「NEAR FIELD COMMUNICATION METHOD AND ELECTRONIC DEVICE」と題し、2019年9月18日に中国国家知的所有権庁に出願された中国特許出願第201910883006.0号の優先権を主張し、これは全体が参照により本明細書に組み込まれる。 This application claims priority to Chinese Patent Application No. 201910883006.0 entitled "NEAR FIELD COMMUNICATION METHOD AND ELECTRONIC DEVICE" and filed with the State Intellectual Property Office of China on September 18, 2019, and is incorporated herein by reference in its entirety.
本出願は、電子デバイスの分野に関し、より具体的には、近距離通信方法及び電子デバイスに関する。 TECHNICAL FIELD This application relates to the field of electronic devices, and more particularly to near field communication methods and electronic devices.
近距離通信(near field communication, NFC)は、データを交換するために、電子デバイス間の非接触ポイントツーポイントデータ伝送(10cm以内)を可能にする近距離高周波無線通信技術である。現在、NFCは、カードエミュレーションモード(card emulation mode),ポイントツーポイントモード(P2P mode),リーダ/ライタモード(reader/writer mode)の3つのモードで動作している。カードエミュレーションモードは、実際には、無線周波数識別(radio frequency identification, RFID)技術を使用する集積回路(integrated circuit, IC)カードと同等であり、例えば、公共輸送カード、アクセスカード、従業員カード、銀聯カード、クレジットカード、及び身分証明カードのような大量のICカードを置き換えることができる。このモードでは、これらの仮想カードは、非接触カードリーダの無線周波数(radio frequency, RF)フィールドによって給電され、ホストデバイスに電気がなくても動作することができるという大きな利点がある。 Near field communication (NFC) is a short-range high frequency wireless communication technology that enables contactless point-to-point data transmission (within 10 cm) between electronic devices to exchange data. Currently, NFC operates in three modes: card emulation mode, point-to-point mode (P2P mode), and reader/writer mode. The card emulation mode is actually equivalent to an integrated circuit (IC) card using radio frequency identification (RFID) technology, such as a public transport card, access card, employee card, etc. It can replace a large number of IC cards such as UnionPay cards, credit cards, and identification cards. In this mode, these virtual cards are powered by the radio frequency (RF) field of the contactless card reader and have the great advantage of being able to operate without electricity in the host device.
電子デバイスメーカーの「ウォレット」をデフォルトの支払いアプリケーションとして使用することが一般的であり、NFCフィールド強度を受信すると(即ち、カードリーダに近づいた場合に)、電子デバイスは、電子デバイスメーカーの「ウォレット」を自動的にポップアップする。しかしながら、ユーザが電子デバイスを使用して、「ウォレット」に対応しないカードリーダ(例えば、ドアハンドルカードリーダ又はトレッドミルカードリーダ)に近づいた場合に、もし「ウォレット」が自動的にポップアップされると、ユーザ体験が比較的よくなくなる。 It is common to use an electronic device manufacturer's "wallet" as the default payment application, and upon receiving an NFC field strength (i.e., when approaching a card reader), the electronic device ' will pop up automatically. However, if a user uses an electronic device to approach a card reader that does not support Wallet (e.g., a door handle card reader or a treadmill card reader), Wallet automatically pops up. , the user experience will be relatively poor.
本出願は、ユーザが仮想カードを使用する場合に、電子デバイスのインテリジェンスを向上させ、ユーザの体験を向上させるのを助けるための近距離通信方法及び電子デバイスを提供する。 The present application provides a near field communication method and electronic device to help increase the intelligence of the electronic device and improve the user's experience when the user uses a virtual card.
第1の態様によれば、近距離通信方法が提供される。方法は、電子デバイスに適用され、電子デバイスは、第1アプリケーションを含み、第1アプリケーションは、複数の仮想カードを含み、複数の仮想カードは、第1カードと第2カードとを含み、第1カードは、アクティブ化されたカードであり、第2カードは、アクティブ化されていないカードである、方法であって;カードリーダデバイスに近づいた場合に、カードリーダデバイスによって伝送された近距離通信NFCフィールド強度感知メッセージと第1指示情報とを、電子デバイスによって受領するステップであり、第1指示情報は、第2カードに対応するアプリケーション識別子AIDを示すために使用され、又は第1指示情報は、アプリケーションデータパケットであり、アプリケーションデータパケットは、AIDに関する情報を含まないものである、受領するステップと;第1指示情報が、第2カードに対応するAIDを示すために使用される場合に、第2カードを使用し、電子デバイスによって、カードリーダデバイスとのトランザクションを実行し、また第1アプリケーション内で第2カードに関する情報を表示するステップ、又は、第1指示情報がアプリケーションデータパケットである場合に、電子デバイスによって、第1アプリケーションに関する情報を表示することをスキップするステップとを備えている。 According to a first aspect, a short range communication method is provided. The method is applied to an electronic device, the electronic device including a first application, the first application including a plurality of virtual cards, the plurality of virtual cards including a first card and a second card; The card is an activated card and the second card is a non-activated card, the method comprising: a near field communication NFC transmitted by the card reader device when the card reader device is approached; receiving, by the electronic device, a field strength sensing message and first instructional information, the first instructional information being used to indicate an application identifier AID corresponding to the second card, or the first instructional information comprising: receiving an application data packet, the application data packet not including information regarding the AID; when the first indication information is used to indicate an AID corresponding to the second card; using the electronic device to perform a transaction with a card reader device using the second card and displaying information about the second card within the first application, or where the first instruction information is an application data packet; , skipping displaying information regarding the first application by the electronic device.
本出願のこの実施形態では、電子デバイスがカードリーダデバイスに近づいたときに、電子デバイス内でカードリーダデバイスに対応する仮想カードがアクティブ化されない場合でも、電子デバイスは、仮想カードを使用してカードリーダデバイスとのトランザクションを実行することができ、ユーザは、仮想カードを手動で切り替える必要がない。これは、電子デバイスのインテリジェンスを向上させ、ユーザが行う煩雑な操作を減らし、ユーザが仮想カードを使用するときのユーザの体験を向上させることに、役立つ。 In this embodiment of the present application, even if the virtual card corresponding to the card reader device is not activated within the electronic device when the electronic device approaches the card reader device, the electronic device uses the virtual card to Transactions can be performed with the reader device and the user does not have to manually switch virtual cards. This helps improve the intelligence of the electronic device, reduce the tedious operations performed by the user, and improve the user's experience when the user uses the virtual card.
あるいは、カードリーダデバイスが、AID報告を実行しないデバイス(例えば、ホストベースのカードエミュレーション(host-based card emulation, HCE)アプリケーションに関連するカードリーダデバイス)である場合に、電子デバイスは、ピアデバイスが第1アプリケーションとは無関係であることを決定してよい。この場合に、電子デバイスは、第1アプリケーションに関する情報を表示しないことが可能であり、第1アプリケーションが自動的に前景にポップアップされた後にユーザの体験が影響を受ける場合を避ける。 Alternatively, if the card reader device is a device that does not perform AID reporting (e.g., a card reader device associated with a host-based card emulation (HCE) application), the electronic device may It may be determined to be independent of the first application. In this case, the electronic device may not display information regarding the first application, avoiding if the user's experience is affected after the first application is automatically popped up in the foreground.
いくつかの可能な実施において、第1指示情報が第2カードに対応するアプリケーション識別子AIDを示すために使用される場合に、第1指示情報は、アプリケーション選択メッセージの中で搬送され、カードリーダデバイスによって電子デバイスへ伝送される。 In some possible implementations, when the first indication information is used to indicate an application identifier AID corresponding to the second card, the first indication information is conveyed in the application selection message and the card reader device transmitted to an electronic device by.
いくつかの可能な実施では、カードリーダデバイスが、AID報告を実行しないデバイス、例えばトレッドミルである場合に、カードリーダデバイスは、アプリケーションデータパケットを電子デバイスへ伝送してよい。アプリケーションデータパケットは、いかなるAIDに関する情報も含まない。 In some possible implementations, if the card reader device is a device that does not perform AID reporting, such as a treadmill, the card reader device may transmit the application data packet to the electronic device. Application data packets do not contain information regarding any AID.
いくつかの可能な実施では、第1アプリケーションは、電子デバイスの製造者のデフォルトアプリケーション、例えば、華為の携帯電話の「ウォレット」、また別の例ではiPhoneの「Apple Pay」である。 In some possible implementations, the first application is the electronic device manufacturer's default application, such as "Wallet" on a Huawei mobile phone, and in another example "Apple Pay" on an iPhone.
いくつかの可能な実施では、電子デバイスは、第2アプリケーションをさらに含み、第2アプリケーションは、第3カードを含み、カードリーダデバイスに近づいた場合に、電子デバイスは、カードリーダデバイスによって伝送される近距離通信NFCフィールド強度感知メッセージと第1指示情報とを受領し、第1指示情報は、第3カードに対応するアプリケーション識別子AIDを示すために使用され、電子デバイスは、第3カードを使用してカードリーダデバイスとのトランザクションを実行し、第2アプリケーション内の第3カードに関する情報を表示する。 In some possible implementations, the electronic device further includes a second application, the second application includes a third card, and when the electronic device approaches the card reader device, the electronic device receives the information transmitted by the card reader device. receiving a near field communication NFC field strength sensing message and first indication information, the first indication information being used to indicate an application identifier AID corresponding to a third card, the electronic device using the third card; perform a transaction with the card reader device and display information regarding the third card in the second application.
いくつかの可能な実施では、第2カードは、IDカード(例えば、身分証明カード)である。例えば、ユーザが身分証明カードに対応する仮想カードを使用してチケットを購入する場合に、電子デバイスは、身分証明カードに関する情報を自動的に表示してよい。 In some possible implementations, the second card is an ID card (eg, an identification card). For example, when a user purchases a ticket using a virtual card that corresponds to an identification card, the electronic device may automatically display information regarding the identification card.
第1の態様を参照すると、第1の態様のいくつかの実施では、第2カードは、公共輸送カード又は銀行カードであり;電子デバイスが、第2カードを使用して、カードリーダデバイスとのトランザクションを実行し、第2カードに関する情報を表示することは、電子デバイスが、第2カードを使用して、カードリーダデバイスとのトランザクションを実行し、第2カードの料金控除情報及び/又は残高情報を表示することを含む。 Referring to the first aspect, in some implementations of the first aspect, the second card is a public transport card or a bank card; the electronic device uses the second card to communicate with a card reader device. Performing the transaction and displaying information about the second card includes: the electronic device performing the transaction with the card reader device using the second card and displaying charge deduction information and/or balance information for the second card; including displaying.
本出願のこの実施形態では、カードリーダデバイスがバスゲート、地下鉄ゲート、又は銀行カード販売時点(point of sale, POS)端末である場合に、電子デバイスは、第2カードを使用してカードリーダデバイスとのトランザクションを実行するときに、第2カードの料金控除情報及び/又は残高情報を自動的に表示してよい。 In this embodiment of the present application, when the card reader device is a bus gate, subway gate, or bank card point of sale (POS) terminal, the electronic device uses the second card to read the card reader device. When performing a transaction with the second card, the charge deduction information and/or balance information of the second card may be automatically displayed.
第1の態様を参照すると、第1の態様のいくつかの実施では、電子デバイスは、セキュア要素SEを含み、SEは、AIDリストを記憶し、AIDリストは、第1カードに関する情報と第2カードに関する情報とを含み;電子デバイスが第1アプリケーション内で第2カードに関する情報を表示する前に、方法は、電子デバイスによって、AIDリストでの第2カードをアクティブ化し、第1カードを非アクティブ化するステップを、さらに備えている。 Referring to the first aspect, in some implementations of the first aspect, the electronic device includes a secure element SE, the SE stores an AID list, the AID list includes information about the first card and the second card. and information about the card; before the electronic device displays information about the second card within the first application, the method includes, by the electronic device, activating the second card in the AID list and deactivating the first card. It also has additional steps to
本出願のこの実施形態では、電子デバイスが、あるタイプのカードリーダデバイスが、アクティブ化された第1カードとは無関係であるが、アクティブ化されていない第2カードとは関係があることを決定する場合に、電子デバイスは、自動的にSE内の第2カードをアクティブ化し、第1カードを非アクティブ化して、カードリーダデバイスとのトランザクションを完了してよい。これは、電子デバイスのインテリジェンスを向上させ、ユーザが行う煩雑な操作を減らし、ユーザが仮想カードを使用するときのユーザの体験を向上させることに、役立つ。 In this embodiment of the present application, the electronic device determines that a certain type of card reader device is unrelated to an activated first card, but is implicated in an unactivated second card. If so, the electronic device may automatically activate the second card in the SE and deactivate the first card to complete the transaction with the card reader device. This helps improve the intelligence of the electronic device, reduce the tedious operations performed by the user, and improve the user's experience when the user uses the virtual card.
第1の態様を参照すると、第1の態様のいくつかの実施では、カードリーダデバイスによって伝送された第1指示情報を、電子デバイスによって受領する前に、方法は、カードリーダデバイスによって伝送された第2指示情報を、電子デバイスによって受領するステップであり、第2指示情報は、無線周波数回路RFの第1リスニングモードを示すために使用される、受領するステップと;第1リスニングモードに基づいて電子デバイスによって、ピアデバイスがカードリーダデバイスであることを決定するステップとをさらに備えている。 Referring to the first aspect, in some implementations of the first aspect, prior to receiving by the electronic device the first instruction information transmitted by the card reader device, the method comprises: receiving second instructional information by the electronic device, the second instructional information being used to indicate a first listening mode of the radio frequency circuit RF; and determining, by the electronic device, that the peer device is a card reader device.
いくつかの実施では、電子デバイスは、NFCフィールド強度感知メッセージと、第2指示情報と、第1指示情報とを順次受信する。 In some implementations, the electronic device sequentially receives the NFC field strength sensing message, the second indication information, and the first indication information.
第1の態様を参照すると、第1の態様のいくつかの実施では、第1リスニングモードは、NFC_A_PASSIVEリスニングモードである。 Referring to the first aspect, in some implementations of the first aspect, the first listening mode is an NFC_A_PASSIVE listening mode.
第2の態様によれば、近距離通信方法が提供される。この方法を電子デバイスに適用する。電子デバイスは、第1アプリケーションを含み、第1アプリケーションは、複数の仮想カードを含む。複数の仮想カードは、第1カードを含む。第1カードは、電子デバイスでのアクティブ化されたカードである。この方法は、別の電子デバイスに近づいた場合に、電子デバイスは、カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージと第1指示情報とを受領することであり、第1指示情報は、第1RFリスニングモードを示すために使用される、受領することと;第1リスニングモードがプリセットのリスニングモードではないことを決定した場合に、電子デバイスは、第1アプリケーションに関する情報を表示することをスキップすることとを備えている。 According to a second aspect, a short range communication method is provided. Applying this method to electronic devices. The electronic device includes a first application, and the first application includes a plurality of virtual cards. The plurality of virtual cards includes a first card. The first card is an activated card on the electronic device. The method is such that when approaching another electronic device, the electronic device receives an NFC field strength sensing message transmitted by a card reader device and first indication information, the first indication information being a second indication information. the electronic device skips displaying information regarding the first application if the first listening mode is determined to be not a preset listening mode; It has a lot of things.
本出願のこの実施形態では、他の電子デバイスによって伝送された第1指示情報に示されたリスニングモードが、プリセットのリスニングモードではないことを、電子デバイスが決定する場合に、電子デバイスは、第1アプリケーションをポップアップしないことが可能であり、第1アプリケーションが自動的に前景にポップアップされた後にユーザの体験が影響を受ける場合を避けるのに役立つ。 In this embodiment of the present application, if the electronic device determines that the listening mode indicated in the first instruction information transmitted by the other electronic device is not the preset listening mode, the electronic device It is possible to not pop up one application, which helps avoid cases where the user's experience is affected after the first application is automatically popped up in the foreground.
第2の態様を参照すると、第2の態様のいくつかの実施では、プリセットのリスニングモードは、NFC_A_PASSIVEリスニングモードである。 Referring to the second aspect, in some implementations of the second aspect, the preset listening mode is the NFC_A_PASSIVE listening mode.
いくつかの実施では、第1リスニングモードは、NFC_F_PASSIVEリスニングモード、NFC_A_ACTIVEリスニングモード、又はNFC_F_ACTIVEリスニングモードの任意の1つである。 In some implementations, the first listening mode is any one of NFC_F_PASSIVE listening mode, NFC_A_ACTIVE listening mode, or NFC_F_ACTIVE listening mode.
第3の態様によれば、近距離通信方法が提供される。方法は、電子デバイスに適用され、電子デバイスは、第1アプリケーションを含み、第1アプリケーションは、複数の仮想カードを含み、複数の仮想カードは、第1カードと第2カードとを含み、第1カードは、アクティブ化されたカードであり、第2カードは、アクセスカードであり、アクセスカードは、アクティブ化されていないカードである、方法であって;カードリーダデバイスに近づいた場合に、電子デバイスは、カードリーダデバイスによって伝送された近距離通信NFCフィールド強度感知メッセージを受領し、そして電子デバイスは、NFCフィールド強度感知メッセージを受領した瞬間から始まるプリセットの期間内に他の指示情報を受領しない場合に、電子デバイスは、第1アプリケーション内でアクセスカードに関する情報を表示し;又は、
カードリーダデバイスに近づいた場合に、電子デバイスは、カードリーダデバイスによって伝送された近距離通信NFCフィールド強度感知メッセージと、第1指示情報とを受領し、第1指示情報はアクセスカードを示すために使用され、電子デバイスは、第1アプリケーション内でアクセスカードに関する情報を表示することを備えている。
According to a third aspect, a short range communication method is provided. The method is applied to an electronic device, the electronic device including a first application, the first application including a plurality of virtual cards, the plurality of virtual cards including a first card and a second card; the card is an activated card; the second card is an access card; and the access card is a non-activated card; receives a near field communication NFC field strength sensing message transmitted by the card reader device, and the electronic device does not receive other instructional information within a preset period of time starting from the moment of receiving the NFC field strength sensing message. the electronic device displays information regarding the access card within the first application; or;
When approaching the card reader device, the electronic device receives a near field communication NFC field strength sensing message transmitted by the card reader device and first indication information, the first indication information for indicating the access card. used, the electronic device comprises displaying information regarding the access card within the first application.
第3の態様を参照すると、第3の態様のいくつかの実施では、電子デバイスは、セキュア要素SEを含み、SEは、AIDリストを記憶し、AIDリストは、第1カードに関する情報と第2カードに関する情報とを含み;電子デバイスが第1アプリケーション内で第2カードに関する情報を表示する前に、方法は、電子デバイスによって、AIDリストでの第2カードをアクティブ化し、第1カードを非アクティブ化するステップを、さらに備えている。 Referring to the third aspect, in some implementations of the third aspect, the electronic device includes a secure element SE, the SE stores an AID list, the AID list includes information about the first card and the second card. and information about the card; before the electronic device displays information about the second card within the first application, the method includes, by the electronic device, activating the second card in the AID list and deactivating the first card. It also has additional steps to
第3の態様を参照すると、第3の態様のいくつかの実施では、電子デバイスが、NFCフィールド強度感知メッセージが受信された時点から始まるプリセットの時間内に情報を受信しない場合に、電子デバイスは、カードリーダデバイスがユーザ識別(user identification, UID)アクセスカードであることをさらに決定してよい。 Referring to the third aspect, in some implementations of the third aspect, if the electronic device does not receive information within a preset time period starting from the time the NFC field strength sensing message is received, the electronic device , may further determine that the card reader device is a user identification (UID) access card.
第3の態様を参照すると、第3の態様のいくつかの実施では、第1指示情報を受信した後、電子デバイスは、カードリーダデバイスがMifareアクセスカードであることを決定してよい。 Referring to the third aspect, in some implementations of the third aspect, after receiving the first indication information, the electronic device may determine that the card reader device is a Mifare access card.
第3の態様を参照すると、第3の態様のいくつかの実施では、第1アプリケーションは、複数のアクセスカードを含み;そして電子デバイスが、AIDリスト内のアクセスカードをアクティブ化し、第1カードをアクティブ化することは、電子デバイスが、複数のアクセスカードから第1アクセスカードを決定することと;電子デバイスが、AIDリスト内の第1アクセスカードをアクティブ化し、第1カードを非アクティブ化することとを含む。 Referring to the third aspect, in some implementations of the third aspect, the first application includes a plurality of access cards; and the electronic device activates the access cards in the AID list and activates the first card. Activating includes: the electronic device determining a first access card from the plurality of access cards; and the electronic device activating a first access card in the AID list and deactivating the first card. including.
第3の態様を参照すると、第3の態様のいくつかの実施では、電子デバイスが、複数のアクセスカードから第1アクセスカードを選択することは、履歴としてのカードのスワイピング記録、又は電子デバイスの現在の地理的位置に基づいて、電子デバイスが、複数のアクセスカードから第1アクセスカードを決定することを含む。 Referring to the third aspect, in some implementations of the third aspect, the electronic device selecting the first access card from the plurality of access cards may be based on historical card swiping records or the electronic device determining a first access card from the plurality of access cards based on a current geographic location of the electronic device.
本出願の実施形態では、電子デバイスでのアクセスカードはアクティブ化されないのであり、カードリーダデバイスがアクセスカードのカードリーダデバイスであることを電子デバイスが決定した場合に、電子デバイスはデフォルトカードを自動的に非アクティブ化し、アクセスカードをアクティブ化して、第1アプリケーション内のアクセスカードに関する情報が自動的に表示されてよい。これはさらに、第1アプリケーションのデフォルトカードが自動的に前景にポップアップされた後に、ユーザの体験が影響を受ける場合を避けるのに役立つ。 In embodiments of the present application, the access card on the electronic device is not activated and the electronic device automatically sets the default card if the electronic device determines that the card reader device is the card reader device for the access card. Upon deactivation and activation of the access card, information regarding the access card within the first application may be automatically displayed. This further helps to avoid cases where the user's experience is affected after the first application's default card is automatically popped up in the foreground.
第4の態様によれば、チップシステムが提供される。アプリケーションプロセッサAPチップと近距離通信NFCチップとを備えているチップシステムであって、APチップは、第1アプリケーションを含み、第1アプリケーションは、複数の仮想カードを含み、複数の仮想カードは、第1カードと第2カードとを含み、第1カードは、アクティブ化されたカードであり、第2カードは、アクティブ化されていないカードであり;NFCチップは、カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージと第1指示情報とを受領するように、構成され、第1指示情報は、第2カードに対応するアプリケーション識別子AIDを示すために使用され、又は第1指示情報は、アプリケーションデータパケットであり、アプリケーションデータパケットは、AIDに関する情報を含まないものであり;APチップは、NFCチップによって伝送されたNFCフィールド強度メッセージと第1指示情報とを受領するように、構成され;第2カードに対応するAIDを示すために第1指示情報が使用される場合に、APチップは、第1アプリケーション内で第2カードに関する情報を表示するためにディスプレイを制御するように、さらに構成され;第1指示情報がアプリケーションデータパケットである場合に、APチップは、第1アプリケーションに関する情報を表示しないようにディスプレイを制御するように、さらに構成されている。 According to a fourth aspect, a chip system is provided. A chip system comprising an application processor AP chip and a near field communication NFC chip, wherein the AP chip includes a first application, the first application includes a plurality of virtual cards, and the plurality of virtual cards includes a first application. 1 card and a second card, the first card being an activated card and the second card being a non-activated card; an NFC chip transmitting an NFC field transmitted by a card reader device. configured to receive an intensity sensing message and first indication information, the first indication information being used to indicate an application identifier AID corresponding to the second card, or the first indication information being an application data packet. the application data packet does not include information regarding the AID; the AP chip is configured to receive the NFC field strength message and the first indication information transmitted by the NFC chip; the second card the AP chip is further configured to control a display to display information about the second card within the first application when the first indication information is used to indicate an AID corresponding to the second card; If the first instruction information is an application data packet, the AP chip is further configured to control the display not to display information regarding the first application.
第4の態様を参照すると、第4の態様のいくつかの実施では、第1アプリケーション内で第2カードに関する情報を表示するためにディスプレイを制御する前に、APチップは、指示情報をNFCチップへ送信するように、さらに構成され、ここで、指示情報は、第2カードをアクティブ化し、第1カードを非アクティブ化するために使用され、NFCチップは、指示情報をセキュア要素SEへ伝送するように、さらに構成され、ここで、SEは、AIDリストを記憶し、AIDリストは、第1カードに関する情報と第2カードに関する情報とを含む。 Referring to the fourth aspect, in some implementations of the fourth aspect, prior to controlling the display to display information about the second card within the first application, the AP chip transfers the instruction information to the NFC chip. further configured to transmit the instruction information to the secure element SE, wherein the instruction information is used to activate the second card and deactivate the first card, and the NFC chip transmits the instruction information to the secure element SE. Further configured, the SE stores an AID list, the AID list including information regarding the first card and information regarding the second card.
第4の態様を参照すると、第4の態様のいくつかの実施では、さらに、NFCチップは、カードリーダデバイスによって伝送された第1指示情報を受領する前に、カードリーダデバイスによって伝送された第2指示情報を受領するように、構成され、第2指示情報は、無線周波数回路RFの第1リスニングモードを示すために使用され;NFCチップは、第2指示情報をAPチップへ伝送するように、さらに構成され;APチップは、第1リスニングモードに基づいて、ピアデバイスがカードリーダデバイスであることを決定するように、さらに構成されている。 Referring to the fourth aspect, in some implementations of the fourth aspect, the NFC chip further includes, before receiving the first instruction information transmitted by the card reader device, the NFC chip that transmits the first instruction information transmitted by the card reader device. the NFC chip is configured to receive second indication information, the second indication information being used to indicate a first listening mode of the radio frequency circuit RF; the NFC chip configured to transmit the second indication information to the AP chip; , further configured; the AP chip is further configured to determine that the peer device is a card reader device based on the first listening mode.
第4の態様を参照すると、第4の態様のいくつかの実施では、第1リスニングモードは、NFC_A_PASSIVEリスニングモードである。 Referring to the fourth aspect, in some implementations of the fourth aspect, the first listening mode is an NFC_A_PASSIVE listening mode.
第4の態様を参照すると、第4の態様のいくつかの実施では、第2カードは、公共輸送カード又は銀行カードであり;APチップは、第2カードの料金控除情報及び/又は残高情報を表示するためにディスプレイを制御するように、具体的に構成されている。 Referring to the fourth aspect, in some implementations of the fourth aspect, the second card is a public transport card or a bank card; the AP chip stores toll deduction information and/or balance information of the second card. Specifically configured to control the display for displaying.
第5の態様によれば、チップシステムが提供される。チップシステムは、アプリケーションプロセッサAPチップと近距離通信NFCチップとを備えている。APチップは第1アプリケーションを含み、第1アプリケーションは複数の仮想カードを含む。複数の仮想カードは、第1カードを含む。第1カードは、電子デバイスでのアクティブ化されたカードである。NFCチップは、カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージと第1指示情報とを受領するように、構成されている。第1指示情報は、第1RFリスニングモードを示すために使用される。第1リスニングモードがプリセットのリスニングモードでないと決定した場合に、電子デバイスは第1アプリケーションに関する情報を表示することをスキップする。 According to a fifth aspect, a chip system is provided. The chip system includes an application processor AP chip and a near field communication NFC chip. The AP chip includes a first application, and the first application includes a plurality of virtual cards. The plurality of virtual cards includes a first card. The first card is an activated card on the electronic device. The NFC chip is configured to receive an NFC field strength sensing message and first indication information transmitted by the card reader device. The first indication information is used to indicate a first RF listening mode. If it is determined that the first listening mode is not a preset listening mode, the electronic device skips displaying information regarding the first application.
第5の態様を参照すると、第5の態様のいくつかの実施では、プリセットのリスニングモードは、NFC_A_PASSIVEリスニングモードである。 Referring to the fifth aspect, in some implementations of the fifth aspect, the preset listening mode is the NFC_A_PASSIVE listening mode.
いくつかの実施では、第1リスニングモードは、NFC_F_PASSIVEリスニングモード、NFC_A_ACTIVEリスニングモード、又はNFC_F_ACTIVEリスニングモードの任意の1つである。 In some implementations, the first listening mode is any one of NFC_F_PASSIVE listening mode, NFC_A_ACTIVE listening mode, or NFC_F_ACTIVE listening mode.
第6の態様によれば、チップシステムが提供される。チップシステムは、アプリケーションプロセッサAPチップと近距離通信NFCチップとを備えている。APチップは第1アプリケーションを含み、第1アプリケーションは複数の仮想カードを含む。複数の仮想カードは、第1カードと第2カードとを含む。第1カードは、電子デバイスでのアクティブ化されたカードである。第2カードはアクセスカードで、アクセスカードはアクティブ化されていない。NFCチップは、カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージを受領するように、構成されている。NFCチップはさらに、NFCフィールド強度メッセージをAPチップへ伝送するように、構成されている。APチップは、NFCフィールド強度メッセージを受領した瞬間から始まるプリセットの時間内に他の指示情報を受領しない場合に、第1アプリケーションでアクセスカードに関する情報を表示するようにディスプレイを制御するように、構成されている。 According to a sixth aspect, a chip system is provided. The chip system includes an application processor AP chip and a near field communication NFC chip. The AP chip includes a first application, and the first application includes a plurality of virtual cards. The plurality of virtual cards include a first card and a second card. The first card is an activated card on the electronic device. The second card is an access card, and the access card is not activated. The NFC chip is configured to receive NFC field strength sensing messages transmitted by the card reader device. The NFC chip is further configured to transmit an NFC field strength message to the AP chip. The AP chip is configured to control the display to display information about the access card in the first application if no other instructional information is received within a preset time period starting from the moment the NFC field strength message is received. has been done.
これに代えて、NFCチップは、カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージと第1指示情報とを受領するように、構成されている。第1指示情報は、アクセスカードを示すために使用される。NFCチップは、さらに、NFCフィールド強度メッセージと第1指示情報とをAPチップへ伝送するように、構成されている。APチップは、第1アプリケーションでアクセスカードに関する情報を表示するためにディスプレイを制御するように、構成されている。 Alternatively, the NFC chip is configured to receive an NFC field strength sensing message and first indication information transmitted by the card reader device. The first indication information is used to indicate the access card. The NFC chip is further configured to transmit an NFC field strength message and first indication information to the AP chip. The AP chip is configured to control the display to display information regarding the access card in the first application.
第6の態様を参照すると、第6の態様のいくつかの実施では、APチップは、第1アプリケーション内でアクセスカードに関する情報を表示するためにディスプレイを制御する前に、アクセスカードをアクティブ化し、第1カードを非アクティブ化するように、SEに指示するように、さらに構成されている。 Referring to the sixth aspect, in some implementations of the sixth aspect, the AP chip activates the access card before controlling the display to display information about the access card within the first application; The device is further configured to instruct the SE to deactivate the first card.
第6の態様を参照すると、第6の態様のいくつかの実施では、第1アプリケーションは、複数のアクセスカードを含み、APチップは、複数のアクセスカードから第1アクセスカードを決定し、AIDリスト内の第1アクセスカードをアクティブ化し、第1カードを非アクティブ化するように、SEに指示するように、具体的に構成されている。 Referring to the sixth aspect, in some implementations of the sixth aspect, the first application includes a plurality of access cards, and the AP chip determines the first access card from the plurality of access cards and includes an AID list. The SE is specifically configured to instruct the SE to activate a first access card and deactivate a first card within the SE.
第6の態様を参照すると、第6の態様のいくつかの実施では、履歴としてのカードのスワイピング記録、又は電子デバイスの現在の地理的位置に基づいて、APチップは、複数のアクセスカードから第1アクセスカードを決定するように、具体的に構成されている。 Referring to the sixth aspect, in some implementations of the sixth aspect, based on the historical card swiping record or the current geographic location of the electronic device, the AP chip swipes from multiple access cards. Specifically configured to determine a first access card.
第7の態様によれば、装置が提供される。装置は、電子デバイスに含まれ、装置は、前述の態様における電子デバイスの挙動を実施する機能と、前述の態様の可能な実施とを有する。この機能は、ハードウェアを使用して実現してよく、又は対応するソフトウェアを実行するハードウェアによって実現してよい。ハードウェア又はソフトウェアは、前述の機能に対応する1つ以上のモジュール又はユニットを含む。 According to a seventh aspect, an apparatus is provided. The apparatus is included in an electronic device, the apparatus having the functionality to implement the behavior of the electronic device in the aforementioned aspects and possible implementations of the aforementioned aspects. This functionality may be implemented using hardware or by hardware running corresponding software. The hardware or software includes one or more modules or units corresponding to the aforementioned functions.
第8の態様によれば、電子デバイスが提供され、ディスプレイ、NFCチップ、APチップ、1つ以上のプロセッサ、メモリ、及び1つ以上のコンピュータプログラムを含む。APチップは第1アプリケーションを含み、第1アプリケーションは複数の仮想カードを含む。複数の仮想カードは、第1カードと第2カードとを含む。第1カードは、電子デバイスでのアクティブ化されたカードである。1つ以上のコンピュータプログラムがメモリに記憶される。1つ以上のコンピュータプログラムは、命令を含む。電子デバイスによって命令が実行された場合に、電子デバイスは、第1の態様又は第2の態様の任意の可能な実施において、近距離通信方法を実行することが可能にされる。 According to an eighth aspect, an electronic device is provided and includes a display, an NFC chip, an AP chip, one or more processors, a memory, and one or more computer programs. The AP chip includes a first application, and the first application includes a plurality of virtual cards. The plurality of virtual cards include a first card and a second card. The first card is an activated card on the electronic device. One or more computer programs are stored in memory. One or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device is enabled to perform the near field communication method in any possible implementation of the first aspect or the second aspect.
第9の態様によれば、システムが提供される。システムは、カードリーダデバイスと電子デバイスとを含む。カードリーダデバイスは、近距離通信NFCを使用して電子デバイスと通信する。電子デバイスは、第1アプリケーションを含み、第1アプリケーションは、複数の仮想カードを含み、複数の仮想カードは、第1カードと第2カードとを含み、第1カードは、電子デバイスでのアクティブ化されたカードであり、第2カードは、アクティブ化されていないカードである。カードリーダデバイスは、電子デバイスがカードリーダデバイスに近づいたときに、NFCフィールド強度感知メッセージと第1指示情報とを電子デバイスへ送信するように、構成されている。第1指示情報は、第2カードに対応するAIDを示すために使用され、複数の仮想カードは、第2カードを含む。あるいは、第1指示情報はアプリケーションデータパケットであり、アプリケーションデータパケットはAIDに関する情報を含まない。電子デバイスは、第1指示情報が第2カードに対応するAIDを示す場合に、第2カードを使用してカードリーダデバイスとのトランザクションを実行し、第1アプリケーション内で第2カードに関する情報を表示するように、構成されている。あるいは、第1指示情報がアプリケーションデータパケットである場合に、電子デバイスは、第1アプリケーションに関する情報を表示することをスキップする。 According to a ninth aspect, a system is provided. The system includes a card reader device and an electronic device. The card reader device communicates with the electronic device using near field communication NFC. The electronic device includes a first application, the first application includes a plurality of virtual cards, the plurality of virtual cards includes a first card and a second card, and the first card is activated on the electronic device. The second card is a non-activated card. The card reader device is configured to transmit an NFC field strength sensing message and first indication information to the electronic device when the electronic device approaches the card reader device. The first indication information is used to indicate an AID corresponding to the second card, and the plurality of virtual cards includes the second card. Alternatively, the first instruction information is an application data packet, and the application data packet does not include information regarding the AID. The electronic device performs a transaction with the card reader device using the second card and displays information about the second card within the first application when the first instruction information indicates an AID corresponding to the second card. is configured to do so. Alternatively, if the first instruction information is an application data packet, the electronic device skips displaying information regarding the first application.
第9の態様を参照すると、第9の態様のいくつかの実施では、カードリーダデバイスは、第1指示情報を電子デバイスへ伝送する前に、電子デバイスに第2の指示情報を伝送するように、さらに構成され;第2指示情報は、無線周波数回路RFの第1リスニングモードを示すために使用され;電子デバイスは、第1リスニングモードに基づいて、ピアデバイスがカードリーダデバイスであることを決定するように、さらに構成されている。 Referring to the ninth aspect, in some implementations of the ninth aspect, the card reader device is configured to transmit second instructional information to the electronic device before transmitting the first instructional information to the electronic device. , further configured; the second indication information is used to indicate a first listening mode of the radio frequency circuit RF; the electronic device determines that the peer device is a card reader device based on the first listening mode. further configured to do so.
第9の態様を参照すると、第9の態様のいくつかの実施では、第1リスニングモードは、NFC_A_PASSIVEリスニングモードである。 Referring to the ninth aspect, in some implementations of the ninth aspect, the first listening mode is an NFC_A_PASSIVE listening mode.
第9の態様を参照すると、第9の態様のいくつかの実施では、第2カードは、公共輸送カード又は銀行カードであり;電子デバイスは、第1指示情報を使用して第2カードに対応するAIDを表示した場合に、第2カードを使用して、カードリーダデバイスとのトランザクションを実行し;第2カードの料金控除情報及び/又は残高情報を表示するように、具体的に構成されている。 Referring to the ninth aspect, in some implementations of the ninth aspect, the second card is a public transport card or a bank card; the electronic device supports the second card using the first instruction information. using the second card to perform a transaction with the card reader device; displaying charge deduction information and/or balance information for the second card; There is.
第10の態様によれば、技術的解決は、コンピュータ命令を備えるコンピュータ可読な記憶媒体を提供する。コンピュータ命令が電子デバイスの上で動作した場合に、電子デバイスは、前述の態様の任意の1つの任意の可能な実施での近距離通信方法を実行することが可能にされる。 According to a tenth aspect, a technical solution provides a computer readable storage medium comprising computer instructions. When the computer instructions are operated on the electronic device, the electronic device is enabled to perform the near field communication method in any possible implementation of any one of the aforementioned aspects.
第11の態様によれば、技術的解決は、コンピュータプログラム製品を提供する。コンピュータプログラム製品が電子デバイスの上で動作した場合に、電子デバイスは、前述の態様の任意の1つの任意の可能な実施での近距離通信方法を実行することが可能にされる。 According to an eleventh aspect, a technical solution provides a computer program product. When the computer program product is operated on the electronic device, the electronic device is enabled to perform the near field communication method in any possible implementation of any one of the aforementioned aspects.
以下の実施形態で使用される用語は、単に特定の実施形態を記述することを意図したものであるが、この用途を限定することを意図したものではない。本出願の明細書及び添付の請求項で使用されるように、単数形である単語「a」、「an」、「上述のもの」、「これ」及び「このもの」は、文脈において別段の明確な規定がない限り、複数形、例えば「1以上」も含むように意図される。本出願の以下の実施形態では、「少なくとも1」又は「1以上」は、1、2又はそれ以上を意味することをさらに理解するものとする。用語「及び/又は」は、関連する対象間の関連付けを記述するために使用され、3つの関係が存在してよいことを表す。例えば、A及び/又はBは、次の3つの場合、即ち、Aのみが存在する場合と、A及びBの両方が存在する場合と、Bのみが存在する場合とを表すことができ、A及びBは単数又は複数であってよい。文字「/」は通常、関連する対象間の「又は」関係を表す。 The terms used in the following embodiments are merely intended to describe particular embodiments and are not intended to limit the application. As used in the specification of this application and the appended claims, the singular words "a," "an," "mentioned above," "this," and "this" refer to Plural forms, such as "one or more," are also intended to be included, unless expressly stated otherwise. In the following embodiments of this application, "at least one" or "one or more" shall be further understood to mean one, two, or more. The term "and/or" is used to describe an association between related objects and indicates that three relationships may exist. For example, A and/or B can represent the following three cases, namely, a case where only A exists, a case where both A and B exist, and a case where only B exists. and B may be singular or plural. The character "/" typically represents an "or" relationship between related objects.
本明細書に記載される「一実施形態」、「いくつかの実施形態」などへの言及は、本出願の1つ以上の実施形態が、実施形態を参照して記載される特定の特徴、構造、又は特徴を含むことを意味する。従って、本明細書の異なる箇所に現れる「一実施形態で」、「いくつかの実施形態で」、「いくつかの他の実施形態で」、及び「他の実施形態で」のような記述は、特に強調しない限り、必ずしも同じ実施形態を参照することを意味せず、その代わりに、「実施形態の全てではないが1つ以上」を意味する。用語「含む」、「収容する」、「有する」、及びそれらの変形は全て、特に強調しない限り、「含むが、限定されない」を意味する。 References herein to "one embodiment," "some embodiments," etc. refer to references to "one embodiment," "some embodiments," and the like, in which one or more embodiments of this application are described with reference to a particular feature of the embodiment. It means to include structure or characteristics. Therefore, statements such as "in one embodiment," "in some embodiments," "in some other embodiments," and "in other embodiments" that appear in different places in this specification, , unless specifically emphasized, are not necessarily meant to refer to the same embodiment, but instead mean "one or more, but not all, of the embodiments." The terms "comprising," "containing," "having," and variations thereof all mean "including, but not limited to," unless specifically stated otherwise.
以下では、電子デバイス、電子デバイスに使用されるユーザインターフェース、及び電子デバイスを使用するために使用される実施形態について説明する。いくつかの実施形態では、電子デバイスは、携帯型電子デバイスであって、携帯型デジタル支援機能及び/又は音楽プレーヤー機能、例えば、携帯電話、タブレットコンピュータ、又は無線通信機能を有するウェアラブル電子デバイス(例えば、スマートウォッチ)などの別の機能をさらに含んでよい。携帯型電子デバイスの例示的な実施形態は、iOS(登録商標)、Android(登録商標)、Microsoft(登録商標)、又は他のオペレーティングシステムを備えた携帯型電子デバイスを含むが、これらに限定されない。代替的に、携帯型電子デバイスは、ラップトップ(laptop)などの他の携帯型電子デバイスであってよい。さらに、いくつかの他の実施形態では、前述の電子デバイスは、携帯型電子デバイスではなく、デスクトップコンピュータであってよいことを理解するものとする。 Below, electronic devices, user interfaces used for electronic devices, and embodiments used for using electronic devices are described. In some embodiments, the electronic device is a portable electronic device, such as a mobile phone, a tablet computer, or a wearable electronic device with wireless communication capabilities (e.g., , smartwatch). Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices with iOS, Android, Microsoft, or other operating systems. . Alternatively, the portable electronic device may be another portable electronic device such as a laptop. Furthermore, it is to be understood that in some other embodiments, the aforementioned electronic device may be a desktop computer rather than a portable electronic device.
例えば、図1は、電子デバイス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、加入者識別モジュール(subscriber identification module, SIM)カードインターフェース195などを含んでよい。
For example, FIG. 1 is a schematic diagram of the structure of an electronic device 100. The electronic device 100 includes a
本出願のこの実施形態に示される構造は、電子デバイス100に対する特定の制限を構成しないことが理解可能である。本出願の他のいくつかの実施形態では、電子デバイス100は、図に示されているものよりも多い又は少ない構成要素を含んでよく、いくつかの構成要素を組み合わせてよく、又はいくつかの構成要素を分割してよく、又は異なる構成要素の配置を使用してよい。図に示す構成要素は、ハードウェア、ソフトウェア、又はソフトウェアとハードウェアとの組み合わせで実施してよい。 It can be appreciated that the structure shown in this embodiment of the present application does not constitute any particular limitation to the electronic device 100. In some other embodiments of the present application, electronic device 100 may include more or fewer components than those shown in the figures, may combine some components, or may include several components. The components may be split or different component arrangements may be used. The components shown in the figures may be implemented in hardware, software, or a combination of software and hardware.
プロセッサ110は、1つ以上の処理ユニットを含んでよい。例えば、プロセッサ110は、アプリケーションプロセッサ(application processor, AP),モデムプロセッサ,グラフィックス処理ユニット(graphics processing unit, GPU),画像信号プロセッサ(image signal processor, ISP),コントローラ,ビデオコーデック,デジタル信号プロセッサ(digital signal processor, DSP),ベースバンドプロセッサ,ニューラルネットワーク処理ユニット(neural-network processing unit, NPU),及び/又はその他を含んでよい。異なる処理ユニットは、独立した構成要素であってよく、又は1つ以上のプロセッサに統合されてよい。いくつかの実施形態では、電子デバイス101は、代替的に、1つ以上のプロセッサ110を含んでよい。コントローラは、命令読み出しと命令実行との制御を完了するために、命令動作コード及び時間シーケンス信号に基づいて動作制御信号を生成してよい。いくつかの他の実施形態では、命令とデータとを記憶するために、メモリがさらにプロセッサ110内に配置されてよい。例えば、プロセッサ110内のメモリはキャッシュメモリであってよい。メモリは、プロセッサ110によってちょうど使用された又は周期的に使用される命令又はデータを記憶してよい。プロセッサ110が命令又はデータを再度使用する必要がある場合に、プロセッサは、メモリから命令又はデータを直接呼び出してよい。これは、繰り返されるアクセスを回避し、プロセッサ110の待ち時間を短縮する。これにより、電子デバイス101のデータ処理や命令実行の効率が向上される。
いくつかの実施形態では、プロセッサ110は、1つ以上のインターフェースを含んでよい。インターフェースは、集積回路(inter-integrated circuit, I2C)インターフェース,集積回路間音響(inter-integrated circuit sound, I2S)インターフェース,パルスコード変調(pulse code modulation, PCM)インターフェース,汎用非同期受信機/送信機(universal asynchronous receiver/transmitter, UART)インターフェース,モバイル産業用プロセッサインターフェース(mobile industry processor interface, MIPI),汎用入出力(general-purpose input/output, GPIO)インターフェース,SIMインターフェース,USBポート、及び/又はその他を含んでよい。USBポート130は、USB標準仕様に準拠するポートであり、具体的には、ミニUSBポート、マイクロUSBポート、USBタイプCポートなどであってよい。USBインターフェース130は、電子デバイス101を充電するために充電器に接続するように構成されてよく、又は電子デバイス101と周辺デバイスとの間でデータを送信するように構成されてよい。これに代えて、USBインターフェース130は、ヘッドセットに接続し、ヘッドセットを使用してオーディオを再生するように構成されてよい。
In some embodiments,
本出願のこの実施形態に例示されたモジュール間のインターフェース接続関係は、単なる説明の例に過ぎず、電子デバイス100の構造に対する制限を構成しないことが理解可能である。本出願のいくつかの他の実施形態では、電子デバイス100は、代替的に、前述の実施形態とは異なるインターフェース接続方式、又は複数のインターフェース接続方式の組み合わせを、使用してよい。 It can be appreciated that the interfacing relationships between modules illustrated in this embodiment of the present application are merely illustrative examples and do not constitute limitations to the structure of electronic device 100. In some other embodiments of the present application, electronic device 100 may alternatively use a different interfacing scheme or a combination of interfacing schemes from the embodiments described above.
充電管理モジュール140は、充電器からの充電入力を受領するように構成されている。充電器は、無線充電器又は有線充電器であってよい。有線充電のいくつかの実施形態では、充電管理モジュール140は、USBポート130を介して有線充電器から充電入力を受領してよい。無線充電が使用されるいくつかの実施形態では、充電管理モジュール140は、電子デバイス100の無線充電コイルを介して無線充電入力を受領してよい。充電管理モジュール140は、バッテリ142が充電された場合に、電力管理モジュール141を使用して、電子デバイスに電力をさらに供給してよい。
電力管理モジュール141は、バッテリ142と充電管理モジュール140とをプロセッサ110に接続するように構成されている。電力管理モジュール141は、バッテリ142及び/又は充電管理モジュール140の入力を受領し、プロセッサ110、内部メモリ121、外部メモリ、ディスプレイ194、カメラ193、無線通信モジュール160などに電力を供給する。電力管理モジュール141は、さらに、バッテリ容量、バッテリサイクル数、及びバッテリ健康状態(漏電又はインピーダンス)などのパラメータを監視するように構成してよい。いくつかの他の実施形態では、電力管理モジュール141は、代替的にプロセッサ110内に配置されてよい。いくつかの他の実施形態では、電力管理モジュール141と充電管理モジュール140とは、代替的に、同じデバイス内に配置されてよい。
Power management module 141 is configured to connect battery 142 and
電子デバイス100の無線通信機能は、アンテナ1、アンテナ2、移動通信モジュール150、無線通信モジュール160、モデムプロセッサ、ベースバンドプロセッサなどによって実現してよい。
The wireless communication function of the electronic device 100 may be realized by the
アンテナ1とアンテナ2とは、電磁波信号を送受信するように構成されている。電子デバイス100内の各アンテナは、1つ以上の通信帯域をカバーするように構成してよい。アンテナの利用を向上させるために、異なるアンテナをさらに多重化してよい。例えば、アンテナ1は、無線ローカルエリアネットワーク内のダイバーシティアンテナとして多重化されてよい。いくつかの他の実施形態では、アンテナは、同調スイッチと組み合わせて使用されてよい。
電子デバイス100に適用され、2G/3G/4G/5Gなどの無線通信を含む解決策を、移動通信モジュール150は提供してよい。移動通信モジュール150は、少なくとも1つのフィルタ、スイッチ、電力増幅器、低ノイズ増幅器(low noise amplifier, LNA)などを含んでよい。移動通信モジュール150は、アンテナ1を介して電磁波を受信し、受信電磁波に対するフィルタリング又は増幅などの処理を行い、処理された電磁波を復調のためにモデムプロセッサへ送信してよい。さらに、移動通信モジュール150は、モデムプロセッサによって変調された信号を増幅し、放射のためにアンテナ1を使用して、信号を電磁波に変換してよい。いくつかの実施形態では、移動通信モジュール150の少なくともいくつかの機能モジュールは、プロセッサ110に配置されてよい。いくつかの実施形態では、移動通信モジュール150の少なくともいくつかの機能モジュールと、プロセッサ110の少なくともいくつかのモジュールとは、同じデバイス内に配置されてよい。
The
無線ローカルエリアネットワーク(wireless local area networks, WLAN)(例えば、ワイヤレスフィデリティ(wireless fidelity, Wi-Fi)ネットワーク),ブルートゥース(Bluetooth,BT),グローバルナビゲーション衛星システム(global navigation satellite system, GNSS),周波数変調(frequency modulation, FM),近距離通信(near field communication, NFC),赤外線(infrared, IR)技術などを含めて、電子デバイス100に適用される無線通信の解決策を、無線通信モジュール160は提供してよい。無線通信モジュール160は、少なくとも1つの通信プロセッサモジュールを統合する1つ以上の構成要素であってよい。無線通信モジュール160は、アンテナ2を介して電磁波を受信し、電磁波信号に対して周波数変調及びフィルタ処理を行い、処理された信号をプロセッサ110へ伝送する。さらに、無線通信モジュール160は、プロセッサ110から伝送されようとする信号を受領し、その信号に対して周波数変調及び増幅を行い、処理された信号を電磁波に変換して、アンテナ2を介して放射してよい。
Wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems llite system, GNSS), frequency modulation The wireless communication module 160 provides wireless communication solutions applied to the electronic device 100, including frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. You may do so. Wireless communication module 160 may be one or more components that integrate at least one communication processor module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filter processing on the electromagnetic wave signals, and transmits the processed signals to the
電子デバイス100は、GPU、ディスプレイ194、アプリケーションプロセッサなどを使用してディスプレイ機能を実現する。GPUは画像処理のためのマイクロプロセッサであり、ディスプレイ194とアプリケーションプロセッサとに接続されている。GPUは、数学的及び幾何学的計算を実行し、画像をレンダリングするように構成されている。プロセッサ110は、表示情報を生成又は変更するプログラム命令を実行する1つ以上のGPUを含んでよい。
Electronic device 100 uses a GPU, display 194, application processor, etc. to implement display functionality. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is configured to perform mathematical and geometric calculations and render images.
ディスプレイ194は、画像、ビデオなどを表示するように構成されている。ディスプレイ194は、ディスプレイパネルを含む。表示パネルは、液晶ディスプレイ(liquid crystal display, LCD),有機発光ダイオード(organic light-emitting diode, OLED),アクティブマトリックス有機発光ダイオード(active-matrix organic light emitting diode, AMOLED),フレキシブル発光ダイオード(flex light-emitting diode, FLED),ミニ発光ダイオード(mini light-emitting diode, mini LED),micro LED,micro OLED,量子ドット発光ダイオード(quantum dot light emitting diodes, QLED)などであってよい。いくつかの実施形態では、電子デバイス100は、1つ以上のディスプレイ194を含んでよい。 Display 194 is configured to display images, video, and the like. Display 194 includes a display panel. Display panels include liquid crystal displays (LCDs), organic light-emitting diodes (OLEDs), and active matrix organic light emitting diodes (active-matrix organic light emitting diodes). ting diode, AMOLED), flexible light emitting diode (flex light -emitting diode, FLED), mini light-emitting diode (mini LED), micro LED, micro OLED, quantum dot light emitting diode (quantum dot light emitting diode) diodes, QLED), etc. In some embodiments, electronic device 100 may include one or more displays 194.
本出願のいくつかの実施形態では、表示パネルが、OLED、AMOLED又はFLEDのような材料で作られている場合に、図1のディスプレイ194は、曲げられてよい。ここで、ディスプレイ194が曲げられてよいということは、ディスプレイが任意の部分で任意の角度に曲げられてよく、その角度で保持されてよいことを意味する。例えば、ディスプレイ194は、中央から左右に折り畳める。あるいは、ディスプレイ194は、中央から上下に折り畳める。 In some embodiments of the present application, the display 194 of FIG. 1 may be curved if the display panel is made of materials such as OLEDs, AMOLEDs, or FLEDs. Here, the display 194 being bendable means that the display may be bent at any angle at any part and held at that angle. For example, the display 194 can be folded left and right from the center. Alternatively, display 194 can be folded up or down from the center.
電子デバイス100のディスプレイ194は、フレキシブルスクリーンであってよい。現在、フレキシブルスクリーンは、フレキシブルスクリーンの独特な特徴と大きな可能性のため、多くの注目を集めている。従来のスクリーンと比較して、フレキシブルスクリーンは、強い柔軟性と曲げ性の特徴を有し、電子デバイスに対するユーザのさらに多くの要求を満たすために、曲げ可能性の特徴に基づく新しい相互作用モードをユーザに提供することができる。折り畳み式ディスプレイを伴って構成された電子デバイスの場合に、電子デバイス上の折り畳み式ディスプレイは、折り畳み形態の小型スクリーンと、伸張形態の大型スクリーンとの間で、いつでも切り替えてよい。従って、ユーザは、折り畳み式ディスプレイで構成された電子デバイス上で、分割スクリーン機能をより頻繁に使用する。 Display 194 of electronic device 100 may be a flexible screen. At present, flexible screens have attracted a lot of attention because of their unique characteristics and great potential. Compared with traditional screens, flexible screens have strong flexibility and bendability characteristics, and create new interaction modes based on bendability characteristics to meet even more demands of users for electronic devices. can be provided to the user. In the case of an electronic device configured with a foldable display, the foldable display on the electronic device may be switched between a small screen in a folded configuration and a large screen in an extended configuration at any time. Accordingly, users use split-screen functionality more frequently on electronic devices configured with foldable displays.
電子デバイス100は、ISP、カメラ193、ビデオコーデック、GPU、ディスプレイ194、アプリケーションプロセッサなどを使用して、撮影機能を実現してよい。 The electronic device 100 may use an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, etc. to implement the shooting function.
ISPは、カメラ193によってフィードバックされたデータを処理するように構成されている。例えば、撮影中にシャッタが押されて、レンズを介してカメラの感光素子に光が入射される。光信号が電気信号に変換され、カメラの感光素子がISPに電気信号を送信して処理し、電気信号を可視画像に変換する。ISPはさらに、画像のノイズ、輝度、及び皮膚の色に関してアルゴリズム最適化を実行してよい。ISPはさらに、撮影シナリオの露出及び色温度などのパラメータを最適化してよい。いくつかの実施形態では、ISPは、カメラ193に配置されてよい。 The ISP is configured to process data fed back by camera 193. For example, during photographing, the shutter is pressed and light enters the photosensitive element of the camera through the lens. The optical signal is converted to an electrical signal, and the camera's photosensitive element sends the electrical signal to the ISP for processing, which converts the electrical signal into a visible image. The ISP may also perform algorithm optimizations for image noise, brightness, and skin color. The ISP may further optimize parameters such as exposure and color temperature of the shooting scenario. In some embodiments, the ISP may be located on camera 193.
カメラ193は、静止画像又はビデオをキャプチャーするように構成されている。物体の光学画像は、レンズを通して生成され、感光素子上に投影される。感光素子は、電荷結合素子(charge coupled device, CCD)又は相補型金属-酸化物-半導体(complementary metal-oxide-semiconductor, CMOS)フォトトランジスタであってよい。感光素子は、光信号を電気信号に変換した後、電気信号をISPへ送信して、電気信号をデジタル画像信号に変換する。ISPは、処理のためにデジタル画像信号をDSPに出力する。DSPは、デジタル画像信号を、標準フォーマット、例えば、RGB又はYUVの画像信号に変換する。いくつかの実施形態では、電子デバイス100は、1つ以上のカメラ193を含んでよい。 Camera 193 is configured to capture still images or video. An optical image of the object is generated through the lens and projected onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal and then transmits the electrical signal to the ISP, which converts the electrical signal into a digital image signal. The ISP outputs digital image signals to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format, for example RGB or YUV. In some embodiments, electronic device 100 may include one or more cameras 193.
デジタル信号プロセッサは、デジタル信号を処理するように構成され、デジタル画像信号に加えて別のデジタル信号を処理してよい。例えば、電子デバイス100が周波数を選択した場合に、デジタル信号プロセッサは、周波数エネルギーに対してフーリエ変換を実行するように構成されている。 The digital signal processor is configured to process digital signals and may process other digital signals in addition to the digital image signal. For example, when electronic device 100 selects a frequency, the digital signal processor is configured to perform a Fourier transform on the frequency energy.
ビデオコーデックは、デジタルビデオを圧縮又は解凍するように構成されている。電子デバイス100は、1つ以上のビデオコーデックをサポートしてよい。従って、電子デバイス100は、複数の符号化フォーマット、例えば、動画エキスパートグループ(moving picture experts group, MPEG)-1、MPEG-2、MPEG-3、及びMPEG-4でビデオを再生又は記録してよい。 Video codecs are configured to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Accordingly, electronic device 100 may play or record videos in multiple encoding formats, such as moving picture experts group (MPEG)-1, MPEG-2, MPEG-3, and MPEG-4. .
NPUは、ニューラルネットワーク(neural-network, NN)計算プロセッサである。NPUは、例えば、人の脳ニューロン間の伝達様式を参照するなどして、生物学的ニューラルネットワーク構造を参照することにより入力情報を迅速に処理するのであり、さらに、自己学習を継続的に行うことができる。NPUを使用して、画像認識、顔認識、音声認識、及びテキスト理解のような電子デバイス100のインテリジェント認知のようなアプリケーションを実現してよい。 The NPU is a neural-network (NN) calculation processor. NPUs rapidly process input information by referring to biological neural network structures, for example by referring to the communication modes between neurons in the human brain, and they also continuously self-learn. be able to. The NPU may be used to implement applications such as intelligent cognition of the electronic device 100, such as image recognition, facial recognition, voice recognition, and text understanding.
外部メモリインターフェース120は、電子デバイス100の記憶能力を拡張するために、外部メモリカード、例えばマイクロSDカードに接続するように構成してよい。外部メモリカードは、外部メモリインターフェース120を介してプロセッサ110と通信し、データ記憶機能を実現する。例えば、音楽やビデオなどのファイルは、外部記憶カードに記憶される。
External memory interface 120 may be configured to connect to an external memory card, such as a microSD card, to expand the storage capabilities of electronic device 100. The external memory card communicates with
内部メモリ121は、1つ以上のコンピュータプログラムを記憶するように構成してよく、1つ以上のコンピュータプログラムは命令を含む。プロセッサ110は、内部メモリ121に記憶された命令を実行してよく、その結果、電子デバイス101は、本出願のいくつかの実施形態で提供される近距離通信方法、様々なアプリケーション、データ処理などを実行する。内部メモリ121は、プログラム記憶領域とデータ記憶領域とを含んでよい。プログラム記憶領域は、オペレーティングシステムを記憶してよい。さらにプログラム記憶領域は、1つ以上のアプリケーション(例えば、ギャラリー及び連絡先)などを記憶してよい。データ記憶領域は、電子デバイス101の使用中に生成されたデータ(例えば、写真及び連絡先)などを記憶してよい。さらに、内部メモリ121は、高速ランダムアクセスメモリを含んでよく、又は不揮発性メモリ、例えば1つ以上の磁気ディスク記憶デバイス、フラッシュ記憶デバイス、又はユニバーサルフラッシュストレージ(universal flash storage, UFS)を含んでよい。いくつかの実施形態では、プロセッサ110は、内部メモリ121に記憶された命令、及び/又はプロセッサ110に配置されたメモリに記憶された命令を実行してよく、その結果、電子デバイス101は、本出願の実施形態で提供される短距離情報送信方法、他のアプリケーション、及びデータ処理を実行する。電子デバイス100は、オーディオモジュール170、スピーカ170A、受話機170B、マイクロホン170C、ヘッドセットジャック170D、アプリケーションプロセッサなどを使用して、オーディオ機能、例えば、音楽再生機能及び記録機能を実現してよい。
Internal memory 121 may be configured to store one or more computer programs, the one or more computer programs including instructions.
センサモジュール180は、圧力センサ180A、ジャイロスコープセンサ180B、気圧センサ180C、磁気センサ180D、加速度センサ180E、距離センサ180F、光近接センサ180G、指紋センサ180H、温度センサ180J、タッチセンサ180K、周囲光センサ180L、骨伝導センサ180Mなどを含んでよい。
The sensor module 180 includes a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor. 180L,
圧力センサ180Aは、圧力信号を感知するように構成され、圧力信号を電気信号に変換することができる。いくつかの実施形態では、圧力センサ180Aは、ディスプレイ194上に配置されてよい。複数のタイプの圧力センサ180A、即ち、抵抗圧力センサ、誘導圧力センサ、及び容量性圧力センサなどが存在する。容量性圧力センサは、導電性材料で作られた少なくとも2つの平行プレートを含んでよい。圧力センサ180Aに力が加えられると、電極間のキャパシタンスが変化する。端末100は、キャパシタンスの変化に基づいて圧力強度を決定する。タッチ操作がディスプレイ194で実行されると、端末100は、圧力センサ180Aを使用してタッチ操作の強度を検出する。また、端末100は、圧力センサ180Aの検出信号に基づいてタッチ位置を計算してよい。いくつかの実施形態では、同じタッチ位置で実行されるタッチ操作であるが、異なるタッチ操作強度を有するタッチ操作は、異なる操作命令に対応してよい。例えば、メッセージアイコンで、タッチ操作の強度が第1圧力閾値未満のタッチ操作を行うと、SMSメッセージを見るための命令が実行される。メッセージアイコンで、タッチ操作の強度が第1圧力閾値以上のタッチ操作を行うと、SMSメッセージを作成するための命令が実行される。 Pressure sensor 180A is configured to sense a pressure signal and can convert the pressure signal to an electrical signal. In some embodiments, pressure sensor 180A may be located on display 194. There are multiple types of pressure sensors 180A, including resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates made of electrically conductive material. When a force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Terminal 100 determines pressure intensity based on the change in capacitance. When a touch operation is performed on display 194, terminal 100 detects the intensity of the touch operation using pressure sensor 180A. Further, the terminal 100 may calculate the touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations performed at the same touch location but having different touch operation intensities may correspond to different operation instructions. For example, when a touch operation is performed on the message icon, the touch operation intensity is less than the first pressure threshold, an instruction to view the SMS message is executed. When a touch operation is performed on the message icon, the intensity of the touch operation is equal to or greater than the first pressure threshold, a command for creating an SMS message is executed.
ジャイロスコープセンサ180Bは、端末100の移動姿勢を決定するように構成されてよい。いくつかの実施形態では、3つの軸(即ち、x、y及びz軸)の周りの端末100の角速度は、ジャイロスコープセンサ180Bを使用して決定されてよい。ジャイロスコープセンサ180Bは、撮影中にぶれの防止を行うように構成されてよい。例えば、シャッタが開かれると、ジャイロスコープセンサ180Bは、端末100がジッタする角度を検出し、レンズモジュールが補償する必要がある距離をその角度に基づいて計算し、レンズが、反転動作によって端末100のジッタをキャンセルして、ぶれの防止を実行することを可能にする。さらにジャイロスコープセンサ180Bは、ナビゲーションシナリオと、動き感知ゲームシナリオとに使用してよい。 Gyroscope sensor 180B may be configured to determine the movement attitude of terminal 100. In some embodiments, the angular velocity of terminal 100 about three axes (i.e., x, y, and z axes) may be determined using gyroscope sensor 180B. The gyroscope sensor 180B may be configured to prevent blur during imaging. For example, when the shutter is opened, the gyroscope sensor 180B detects the angle at which the terminal 100 jitters, calculates the distance that the lens module needs to compensate based on that angle, and the lens moves to the terminal 100 by a reversing action. This makes it possible to cancel jitter and prevent blurring. Furthermore, gyroscope sensor 180B may be used for navigation scenarios and motion sensing gaming scenarios.
気圧センサ180Cは、気圧を測定するように構成されている。いくつかの実施形態では、端末100は、測位及びナビゲーションを支援するために、気圧センサ180Cによって測定された気圧値を使用して高度を計算する。 The atmospheric pressure sensor 180C is configured to measure atmospheric pressure. In some embodiments, terminal 100 uses barometric pressure values measured by barometric sensor 180C to calculate altitude to aid in positioning and navigation.
磁気センサ180Dは、ホール効果センサを含む。端末100は、磁気センサ180Dを使用して、フリップレザーケースの開閉を検出してよい。いくつかの実施形態では、端末100がクラムシェル電話機である場合に、端末100は、磁気センサ180Dを使用して、フリップカバーの開閉を検出してよい。さらに、フリップカバーの開状態又は閉状態を検出したことに基づいて、フリップカバーを開いた時点での自動ロック解除などの機能を設定する。 Magnetic sensor 180D includes a Hall effect sensor. The terminal 100 may detect opening and closing of the flip leather case using the magnetic sensor 180D. In some embodiments, when terminal 100 is a clamshell phone, terminal 100 may use magnetic sensor 180D to detect opening and closing of the flip cover. Further, based on the detection of the open state or closed state of the flip cover, a function such as automatic unlocking when the flip cover is opened is set.
加速度センサ180Eは、端末100の全方向(通常3軸)の加速度値を検出することができる。なお、端末100が静止している場合には、重力の値及び方向を検出してよい。加速度センサ180Eは、さらに、端末の姿勢を識別するように構成されてよく、景観モードとポートレートモードとの間のスクリーン切り替え、また歩数計などの用途に適合される。 Acceleration sensor 180E can detect acceleration values of terminal 100 in all directions (usually three axes). Note that when the terminal 100 is stationary, the value and direction of gravity may be detected. Acceleration sensor 180E may be further configured to identify the posture of the terminal and is adapted for applications such as screen switching between landscape and portrait modes, as well as a pedometer.
距離センサ180Fは、距離を測定するように構成されている。端末100は、赤外線又はレーザにより距離を測定してよい。いくつかの実施形態では、端末100は、距離を測定するために距離センサ180Fを使用して、撮影シナリオにおいて高速フォーカスを実現してよい。 Distance sensor 180F is configured to measure distance. The terminal 100 may measure distance using infrared rays or laser. In some embodiments, terminal 100 may use distance sensor 180F to measure distance to achieve fast focus in a shooting scenario.
光学近接センサ180Gは、例えば、発光ダイオード(LED)及び光学検出器、例えば、フォトダイオードを含んでよい。発光ダイオードは赤外線発光ダイオードであってよい。端末100は、発光ダイオードを使用して赤外線を発光する。端末100は、フォトダイオードを使用して、近くの物体からの赤外線反射光を検出する。十分な反射光が検出された場合に、端末100の近くに物体が存在すると決定してよい。不十分な反射光が検出された場合に、端末100は、端末100の近くに物体が存在しないと決定してよい。端末100は、光近接センサ180Gを使用して、ユーザが保持する端末100が通話のために耳の近くにあることを検出して、電力を節約するためにスクリーンを自動的にオフにしてよい。光近接センサ180Gはまた、レザーケースモード又はポケットモードで使用して、スクリーンを自動的にロック解除又はロックしてよい。 Optical proximity sensor 180G may include, for example, a light emitting diode (LED) and an optical detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal 100 uses a light emitting diode to emit infrared light. Terminal 100 uses a photodiode to detect infrared reflected light from nearby objects. If sufficient reflected light is detected, it may be determined that an object is present near the terminal 100. If insufficient reflected light is detected, the terminal 100 may determine that there is no object near the terminal 100. The terminal 100 may use the optical proximity sensor 180G to detect when the terminal 100 held by the user is near the ear for a call and automatically turn off the screen to save power. . Optical proximity sensor 180G may also be used in leather case mode or pocket mode to automatically unlock or lock the screen.
周囲光センサ180Lは、周囲光の輝度を感知するように構成されている。端末100は、感知された周囲光の輝度に基づいてディスプレイ194の輝度を適応的に調整してよい。さらに周囲光センサ180Lは、撮影中にホワイトバランスを自動的に調整するように構成されてよい。また、周囲光センサ180Lは、光学近接センサ180Gと協働して、端末100が誤った接触を防止するためにポケット内にあるか否かを検出してよい。 Ambient light sensor 180L is configured to sense the brightness of ambient light. Terminal 100 may adaptively adjust the brightness of display 194 based on the sensed ambient light brightness. Additionally, ambient light sensor 180L may be configured to automatically adjust white balance during shooting. Ambient light sensor 180L may also cooperate with optical proximity sensor 180G to detect whether terminal 100 is in a pocket to prevent accidental contact.
指紋センサ180Hは、指紋を収集するように構成されている。端末100は、収集された指紋の特徴を使用して、指紋ベースのロック解除、アプリケーションロックアクセス、指紋ベースの写真撮影、指紋ベースの通話応答などを実行してよい。 Fingerprint sensor 180H is configured to collect fingerprints. The terminal 100 may use the collected fingerprint characteristics to perform fingerprint-based unlocking, application lock access, fingerprint-based photo taking, fingerprint-based call answering, etc.
温度センサ180Jは、温度を検出するように構成されている。いくつかの実施形態では、端末100は、温度センサ180Jによって検出された温度を使用して、温度処理ポリシーを実行する。例えば、温度センサ180Jによって報告された温度が閾値を超えると、端末100は、温度センサ180Jの近くに位置するプロセッサの性能を低下させて、熱保護を実施するための電力消費を低減する。いくつかの他の実施形態では、温度が別の閾値より低い場合に、端末100は、低温のために異常に端末100がシャットダウンされるのを防止するために、バッテリ142を加熱する。いくつかの他の実施形態では、温度がさらに別の閾値よりも低い場合に、端末100は、低温によって引き起こされる異常なシャットダウンを回避するために、バッテリ142の出力電圧を上昇させる。 Temperature sensor 180J is configured to detect temperature. In some embodiments, terminal 100 uses the temperature detected by temperature sensor 180J to implement the temperature treatment policy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, terminal 100 reduces the performance of a processor located near temperature sensor 180J to reduce power consumption to implement thermal protection. In some other embodiments, if the temperature is below another threshold, the terminal 100 heats the battery 142 to prevent the terminal 100 from abnormally shutting down due to low temperatures. In some other embodiments, if the temperature is below yet another threshold, terminal 100 increases the output voltage of battery 142 to avoid abnormal shutdown caused by low temperatures.
タッチセンサ180Kは、「タッチパネル」とも称される。タッチセンサ180Kは、ディスプレイ194上に配置されてよく、タッチセンサ180Kとディスプレイ194とは、タッチスクリーンを形成する。タッチセンサ180Kは、タッチセンサ上又はその近傍で実行されるタッチ動作を検出するように構成されている。タッチセンサは、タッチイベントのタイプを決定するために、検出されたタッチ動作をアプリケーションプロセッサに転送してよい。タッチ操作に関連する視覚出力がディスプレイ194で提供されてよい。いくつかの他の実施形態では、タッチセンサ180Kはさらに、ディスプレイ194の位置とは異なる位置で、端末100の表面上に配置されてよい。 The touch sensor 180K is also referred to as a "touch panel." Touch sensor 180K may be disposed on display 194, and touch sensor 180K and display 194 form a touch screen. Touch sensor 180K is configured to detect touch operations performed on or near the touch sensor. The touch sensor may forward detected touch movements to an application processor to determine the type of touch event. Visual output related to touch operations may be provided on display 194. In some other embodiments, touch sensor 180K may also be positioned on the surface of terminal 100 at a different location than display 194.
骨伝導センサ180Mは、振動信号を取得してよい。いくつかの実施形態では、骨伝導センサ180Mは、人の声帯部の振動骨の振動信号を取得してよい。骨伝導センサ180Mはまた、人の脈拍と接触し、血圧拍動信号を受領することができる。いくつかの実施形態では、骨伝導センサ180Mは、骨伝導ヘッドセットを得るように、代替的にヘッドセットに配置されてよい。音声機能を実現するために、音声部分の振動骨の振動信号であって、骨伝導センサ180Mによって取得される振動信号に基づいて解析することによって、オーディオモジュール170は音声信号を取得してよい。アプリケーションプロセッサは、骨伝導センサ180Mによって取得された血圧拍動信号に基づいて心拍数情報を解析して、心拍数検出機能を実施してよい。
ボタン190は、パワーボタン、ボリュームボタンなどを含む。ボタン190は、機械的ボタンであってよく、又はタッチボタンであってよい。端末100は、ボタン入力を受領し、端末100のユーザ設定及び機能制御に関連するボタン信号入力を生成してよい。 Buttons 190 include a power button, a volume button, and the like. Button 190 may be a mechanical button or a touch button. Terminal 100 may receive button inputs and generate button signal inputs related to user settings and feature control of terminal 100.
モータ191は、振動プロンプトを生成してよい。モータ191は、着呼振動プロンプトのために使用されてよく、又はタッチ振動フィードバックのために使用されてよい。例えば、異なるアプリケーション(例えば、写真撮影及びオーディオ再生)に対して実行されるタッチ操作が、異なる振動フィードバック効果に対応してよい。モータ191はまた、ディスプレイ194の異なる領域で実行されたタッチ操作に対する異なる振動フィードバック効果に対応してよい。さらに、異なる応用シナリオ(例えば、時間リマインダ、情報受信、アラーム時計、ゲーム)が、異なる振動フィードバック効果に対応してよい。タッチ振動フィードバック効果はさらにカスタマイズされてよい。 Motor 191 may generate vibration prompts. Motor 191 may be used for incoming call vibration prompts or for touch vibration feedback. For example, touch operations performed for different applications (eg, taking a photo and playing audio) may correspond to different vibration feedback effects. Motor 191 may also accommodate different vibration feedback effects for touch operations performed on different areas of display 194. Furthermore, different application scenarios (eg, time reminder, information reception, alarm clock, game) may correspond to different vibration feedback effects. Touch vibration feedback effects may be further customized.
インジケータ192は、インジケータランプであってよく、充電状態及び電力変化を示すように構成されてよく、又はメッセージ、不在着信、通知などを示すように構成されてよい。 Indicator 192 may be an indicator light and may be configured to indicate charging status and power changes, or may be configured to indicate messages, missed calls, notifications, etc.
本出願の実施形態を述べる前に、本出願の実施形態におけるいくつかの関連する概念を最初に述べる。 Before describing embodiments of the present application, some related concepts in the embodiments of the present application are first described.
近距離通信コントローラインターフェース(NFC controller interface, NCI)は、近距離通信コントローラ(NFC controller, NFCC)とデバイスホスト(device host, DH)との間の通信のための命令とデータとのプロトコル仕様である。 A near field communication controller interface (NCI) is a protocol specification of instructions and data for communication between a near field communication controller (NFC controller) and a device host (DH). .
アプリケーション識別子(applet identifier, AID)は、セキュア要素(secure element, SE)に記憶されたアプリケーション(applet)、又はオペレーティングシステムの側にあるアプリケーションの識別子である。NFCアプリケーションのシナリオでは、1つのカードタイプが1つのAIDに対応してよい。 An application identifier (applet identifier, AID) is an identifier of an application (applet) stored in a secure element (SE) or an application on the side of the operating system. In an NFC application scenario, one card type may correspond to one AID.
図2は、本出願の一実施形態によるシステムアーキテクチャーの概略図である。図2に示すように、システムはピアNFCカードリーダデバイス210と電子デバイス220とを含む。電子デバイス220は、アプリケーションプロセッサ(application processor, AP)221とNFCC222とを含む。AP221は、アプリケーション2211及びオペレーティングシステム(operating system, OS)2212を含む。ピアNFCカードリーダデバイス210は、NFC無線通信標準を使用してNFCC222と通信してよい。NFCC222は、NFC NCIプロトコルを使用してOS2212と通信してよい。OS2212は、システムブロードキャスト又はシステムアプリケーションプログラミングインターフェース(application programming interface, API)を使用してアプリケーション2211と通信してよい。
FIG. 2 is a schematic diagram of a system architecture according to one embodiment of the present application. As shown in FIG. 2, the system includes a peer NFC
一実施形態によると、電子デバイス220は、SE223をさらに含む。SE223は、NFCアプリケーションプロトコルデータユニット(application protocol data unit, APDU)プロトコルを使用して、NFCC222と情報又はデータを交換してよい。SE223は、電子デバイス220に内蔵されているセキュア要素であって、改ざんされることが許されない秘密データを記憶する、例えば、ユーザカード情報を記憶するように構成されたセキュア要素である。セキュア要素は、電子デバイスのセキュリティレベルを向上させることができる。データバックアッププロセスにおいて、SE223は、セキュリティドメイン(security domain)を作成してよい。セキュリティドメイン内のデータは、バックアッププロセスにおけるデータセキュリティを向上させるために、暗号化され、その後、バックアップのためにアプリケーション層にアップロードされる。
According to one embodiment, electronic device 220 further includes an SE 223. SE 223 may exchange information or data with
ピアNFCカードリーダデバイス210は、電子デバイス220に接近するカードリーダであり、例えば、銀行カード販売時点(point of sale, POS)端末、地下鉄カードリーダゲート、バスPOS端末、車両ドアハンドルカードリーダ、及びトレッドミルカードリーダなどである。
The peer NFC
NFCC222は、電子デバイス上のNFCチップコントローラであり、コントローラは、ピアNFCカードリーダデバイス210とのNFC通信を直接実行してよい。
OS2212は、電子デバイス上で動作するオペレーティングシステム、例えば、Androidオペレーティングシステムである。
アプリケーション2211は、OS2212内で動作するアプリケーション(例えば、「ウォレット」又は「Google Pay」)であり、電子デバイス210のオペレーティングシステムインターフェース上で、ユーザが見られるアプリケーションである。
Application 2211 is an application that runs within OS 2212 (eg, “Wallet” or “Google Pay”) and is an application that is visible to the user on the operating system interface of
図3は、本出願の一実施形態に係るNFCシステムブロードキャストメッセージを受信した後、電子デバイスが自動的にアプリケーションをポップアップするプロセスの概略フローチャートである。図3に示すように、このプロセスは、以下のステップを含む。 FIG. 3 is a schematic flowchart of a process for an electronic device to automatically pop up an application after receiving an NFC system broadcast message according to an embodiment of the present application. As shown in FIG. 3, this process includes the following steps.
S301。ピアNFCカードリーダデバイス210に近づいた場合に、電子デバイスは、ピアNFCカードリーダデバイス210によって伝送されたNFCフィールド強度感知メッセージを受領する。
S301. When approaching the peer NFC
ピアNFCカードリーダデバイス210は、NFCC222とNFC通信を行う。NFC通信のための最初の通信命令は、NFCフィールド強度感知メッセージ(又は「NFCフィールドオンメッセージ」と称してよい)であり、NFCC222は、NFCフィールド強度メッセージを感知してよい。
Peer NFC
一実施形態では、ピアNFCカードリーダデバイス210は、さらに、第1指示情報と第2指示情報とをNFCC222へ伝送してよい。第1指示情報は、RFリスニングモードを示すために使用され、第2指示情報は、アプリケーション内のカードの識別情報を示すために使用される。
In one embodiment, peer NFC
例えば、ピアNFCカードリーダデバイス210は、NFCフィールド強度感知メッセージと、第1指示情報と、第2指示情報とを順次NFCC222へ伝送してよい。NFCC222は、NFCフィールド強度感知メッセージを受領した後、NFCフィールド強度メッセージをAPへ伝送してよい。
For example, peer NFC
従来技術では、NFCフィールド強度感知メッセージと、第1指示情報と、第2指示情報とを受領した後、NFCC222は、AP221に対してNFCフィールド強度メッセージのみを報告する。NFCC222は、第1指示情報と第2指示情報との報告をサポートしない。
In the prior art, after receiving the NFC field strength sensing message, the first indication information, and the second indication information, the
S302。NFCC222は、NFCフィールド強度メッセージをAP221へ伝送する。
S302.
例えば、NFCフィールド強度感知メッセージを感知した後、NFCC222は、NCIプロトコルを使用してDH側のOS2212と通信して、NFCフィールド強度イベントをOS2212に通知してよい。
For example, after sensing the NFC field strength sense message , the
OS2212は、NFCC222によって伝送されたNFCフィールド強度メッセージを受領した後、OS2212は、NFCフィールド強度システムブロードキャストメッセージをアプリケーション2211へ伝送する。
After
NFCフィールド強度メッセージ受領後、DH側のOS2212はNFCフィールド強度システムブロードキャストメッセージを伝送する。
After receiving the NFC field strength message, the
S303。AP221は、オンにするようにディスプレイを制御するか、又はインターフェースの前景でポップアップするようにアプリケーション2211を制御する。 S303. The AP 221 controls the display to turn on or controls the application 2211 to pop up in the foreground of the interface.
アプリケーション2211がインストールされると、アプリケーション2211は登録され、NFCフィールド強度システムブロードキャストメッセージを聴く。OS2212によって伝送されたNFCフィールド強度システムブロードキャストメッセージを受領した後、AP221は、オンにするようにディスプレイを制御するか、又はディスプレイがオンにされた後にインターフェース前景で動作するためにアプリケーション2211を起動してよい。
Once application 2211 is installed, application 2211 registers and listens to NFC field strength system broadcast messages. After receiving the NFC field strength system broadcast message transmitted by the
一実施形態では、電子デバイスは、電子デバイスの製造業者のアプリケーションをデフォルトアプリケーションとして使用することが一般的であり、NFCフィールド強度メッセージを受領すると(即ち、カードリーダに近づいた場合に)、電子デバイスは、自動的にデフォルトアプリケーションをポップアップする。 In one embodiment, the electronic device typically uses the electronic device manufacturer's application as the default application, and upon receiving an NFC field strength message (i.e., when approaching a card reader), the electronic device will automatically pop up the default application.
例えば、華為の携帯電話の場合に、「ウォレット」がデフォルトの支払いアプリケーションとして使用されてよく、NFCフィールド強度メッセージを受領すると、電子デバイスは自動的に「ウォレット」をポップアップしてよい。 For example, in the case of a Huawei mobile phone, "Wallet" may be used as the default payment application, and upon receiving an NFC field strength message, the electronic device may automatically pop up "Wallet".
別の例として、iphoneの場合に、「Apple Pay」がデフォルトの支払いアプリケーションとして使用されてよく、NFCフィールド強度メッセージを受信すると、電子デバイスは自動的に「Apple Pay」をポップアップしてよい。 As another example, in the case of an iPhone, "Apple Pay" may be used as the default payment application, and upon receiving an NFC field strength message, the electronic device may automatically pop up "Apple Pay".
本出願のこの実施形態では、アプリケーション2211が「ウォレット」である例を使用して説明する。「ウォレット」は、複数の仮想カード、例えば、公共輸送カード、銀行カード、アクセスカード、及び身分証明カードを含んでよい。各カードは、1つの唯一のAIDに対応してよい。電子デバイスは、SE223で、複数のアプリケーションのカードとAIDとの間の対応を記憶してよい。電子デバイスは、1つのカードをアクティブ化してよい。例えば、表1は、複数のアプリケーションにおけるカードとAIDとの間の対応を示す。
例えば、複数のアプリケーションにおけるカードとAIDとの間でSEに記憶された対応は、各カードの以前の消費情報と残高情報とをさらに含んでよい。表2を参照する。
図2では、電子デバイスが1つのSEを含む例を使用して、説明がなされることが理解されるものとする。これに代えて、電子デバイスは、複数のSEを含んでよく、各SEは、アプリケーション内のカードとAIDとの間の対応を記憶する。各SEにおいて、1つのAIDはアクティブ状態にあり、他のAIDは非アクティブ状態にあってよい。電子デバイスが複数のSEを記憶する場合に、NFCCは、ルーティングテーブルを記憶してよい。ピアNFCカードリーダデバイスがAIDに関する情報を伝送した後、NFCCはルーティングテーブルを使用して対応するSEを見つけ、AIDに関する情報を対応するSEへ伝送してよい。AIDが、対応するSEによってアクティブ化されるAIDである場合に、SEは、AIDに対応する情報、例えば、料金控除情報と残高情報とを修正してよい。関連する操作を実行した後、SEは、関連する操作が完了したことを示すために、NFCCに指示を伝送してよい。NFCCは、その指示をピアNFCカードリーダデバイスに転送することができ、ピアNFCカードリーダデバイスは、対応する動作を行ってよい。例えば、ピアNFCカードリーダデバイスは、ゲートを開くか、又はカードのスワイピングが成功したことを示す情報をユーザにプロンプトする。 It is to be understood that in FIG. 2, the description is made using an example in which the electronic device includes one SE. Alternatively, the electronic device may include multiple SEs, each SE storing a correspondence between a card in an application and an AID. In each SE, one AID may be in an active state and other AIDs in an inactive state. If the electronic device stores multiple SEs, the NFCC may store the routing table. After the peer NFC card reader device transmits the information regarding the AID, the NFCC may use the routing table to find the corresponding SE and transmit the information regarding the AID to the corresponding SE. If the AID is an AID activated by the corresponding SE, the SE may modify the information corresponding to the AID, such as charge deduction information and balance information. After performing the related operations, the SE may transmit an indication to the NFCC to indicate that the related operations are complete. The NFCC may forward the instructions to the peer NFC card reader device, which may take corresponding actions. For example, the peer NFC card reader device opens a gate or prompts the user for information indicating a successful card swipe.
AIDが、対応するSEによってアクティブ化されたAIDではない場合に、SEが関連する操作を実行しないことが可能であり、SEがNFCCに指示を伝送しないことが可能であり、NFCCがピアNFCカードリーダデバイスに指示を伝送しないことが可能であり、又はピアNFCカードリーダデバイスがゲートを開いたり、カードのスワイピングが成功したことを示す情報をユーザにプロンプトしたりするなどの対応する操作を実行しない。 If the AID is not the AID activated by the corresponding SE, it is possible for the SE not to perform the relevant operation, it is possible for the SE not to transmit instructions to the NFCC, and the NFCC is not activated by the peer NFC card. It is possible that no instructions are transmitted to the reader device, or the peer NFC card reader device performs a corresponding operation, such as opening a gate or prompting the user with information indicating a successful card swipe. do not.
電子デバイスでのSEは、複数のアプリケーションにおけるカードとAIDとの間の対応を記憶してよい。アプリケーションによっては、例えば、ドア制御アプリケーション及びトレッドミルアプリケーションのように、カードを含まないことが可能である。SEに記憶された複数のAIDのうちの1つのみがアクティブ状態であってよい。例えば、表1の「長安カード」はアクティブ状態である。西安でバスを利用する場合に、ユーザは携帯電話のNFC機能を有効にし、携帯電話をバスゲートに近づくために移動させてから、カードをスワイピングしてバスに乗ってよい。ユーザが深せんでの地下鉄を利用し、携帯電話を移動させて地下鉄のゲートに近づいた場合に、携帯電話は自動的に「ウォレット」をポップアップし、デフォルトカード、即ち「長安カード」を表示する。この場合に、ユーザは「深せん輸送カード」に手動で切り替える必要があり、その後、カードをスワイピングして駅にはいってよい。この場合に、携帯電話は自動的に誤ったカードをポップアップし、ユーザは手動で切り替える必要がある。その結果、ユーザは面倒な操作を実行し、その結果、ユーザの体験が比較的不十分になる。 The SE at the electronic device may store correspondences between cards and AIDs in multiple applications. Some applications may not include cards, such as door control applications and treadmill applications. Only one of the multiple AIDs stored in the SE may be active. For example, the "Changan Card" in Table 1 is in the active state. When taking a bus in Xi'an, users can enable the NFC function on their mobile phones, move the mobile phone to approach the bus gate, and then swipe their card to board the bus. When the user takes the subway in Shenzhen and moves the mobile phone to get closer to the subway gate, the mobile phone will automatically pop up the "Wallet" and display the default card, that is, "Changan Card". . In this case, the user needs to manually switch to the "Shenzhen Transport Card" and then can swipe the card to enter the station. In this case, the mobile phone will automatically pop up the wrong card and the user will have to switch manually. As a result, the user performs tedious operations, resulting in a relatively poor user experience.
なお、「長安カード」から「深せん輸送カード」へユーザが切り替えたことを携帯電話が検知した場合に、「深せん輸送カード」をアクティブ化し、「長安カード」を非アクティブ化するようSEに指示するように、「ウォレット」は、携帯電話内のSEに命令を伝送してよいことに留意するものとする。SEが「深せん輸送カード」をアクティブ化した後、ユーザはカードをスワイピングして駅にはいってよい。 Additionally, if the mobile phone detects that the user has switched from the "Changan Card" to the "Shenzhen Transport Card", the SE will be instructed to activate the "Shenzhen Transport Card" and deactivate the "Changan Card". Note that the "Wallet" may transmit instructions to the SE in the mobile phone as indicated. After the SE activates the "Shenzhen Transport Card", the user may swipe the card to enter the station.
ユーザがトレッドミルを使用し、トレッドミルのデータを携帯電話へ送信する必要がある場合に、ユーザは、携帯電話を動かしてトレッドミルカードリーダに近づけてよい。この場合に、携帯電話は自動的に「ウォレット」をポップアップし、デフォルトカード、即ち「長安カード」を表示する。ユーザが手動でトレッドミルアプリケーションに切り替えた後にのみ、携帯電話はトレッドミルとNFC通信を行い、トレッドミルはユーザの運動データを携帯電話の側でのトレッドミルアプリケーションへ伝送してよい。 When a user uses a treadmill and needs to send treadmill data to a mobile phone, the user may move the mobile phone closer to the treadmill card reader. In this case, the mobile phone will automatically pop up "Wallet" and display the default card, ie "Changan Card". Only after the user manually switches to the treadmill application, the mobile phone may have NFC communication with the treadmill, and the treadmill may transmit the user's exercise data to the treadmill application on the side of the mobile phone.
NFC機能が有効にされている他の携帯電話に近づくためにユーザが携帯電話を動かすと、携帯電話は自動的に「ウォレット」をポップアップし、デフォルトカード、即ち「長安カード」を表示してよい。しかし、この場合に、ユーザは、携帯電話が「ウォレット」をポップアップすることを期待しない。さらにユーザは、次の操作を行うために「ウォレット」を閉じる必要がある。 When the user moves the mobile phone to approach another mobile phone with NFC function enabled, the mobile phone may automatically pop up "Wallet" and display the default card, i.e. "Changan Card" . However, in this case, the user does not expect the mobile phone to pop up a "wallet". Furthermore, the user must close the "wallet" in order to perform the following operations:
以上の場合に、ユーザが深せんでの地下鉄を利用し、ユーザが地下鉄ゲートに近づくために携帯電話を動かすと、携帯電話は自動的にユーザに対して「ウォレット」の中の「長安カード」をポップアップする。ただし、「長安カード」は、ユーザが期待している公共輸送カードではない。あるいは、ユーザがトレッドミルを使用しているときに、ユーザがトレッドミルカードリーダに近づくために携帯電話を動かすと、携帯電話は自動的に「ウォレット」の中の「長安カード」をポップアップして使用する。しかし、この場合に、ユーザは「ウォレット」がポップアップされることを期待しない。これに代えて、NFC機能が有効になっている他の携帯電話に近づくために移動すると、携帯電話は自動的に「ウォレット」の中の「長安カード」をポップアップする。しかし、この場合に、ユーザは「ウォレット」がポップアップされることを期待しない。いずれの場合も、NFC機能を使用した場合に、ユーザ体験に影響を与える。 In the above case, when the user uses the subway in Shenzhen, and the user moves the mobile phone to approach the subway gate, the mobile phone will automatically send the user the "Changan card" in the "wallet". pop up. However, the "Changan Card" is not the public transportation card that users expect. Or, when the user is using the treadmill, when the user moves the mobile phone to get closer to the treadmill card reader, the mobile phone will automatically pop up the "Changan Card" in the "Wallet" and use. However, in this case, the user does not expect a "wallet" to pop up. Instead, when you move to approach another mobile phone with NFC function enabled, the mobile phone will automatically pop up the "Changan Card" in your "Wallet". However, in this case, the user does not expect a "wallet" to pop up. In either case, the user experience is affected when using the NFC function.
上述の問題の理由は以下の通りである。即ち、カードリーダに近づいた場合に、ピアNFCカードリーダデバイスから伝送されたフィールド強度感知メッセージを電子デバイスが受領するためである。NFCCは、NFCフィールド強度メッセージのみをOSへ伝送する、即ち、NFCCはNFCフィールド強度メッセージのみをOSに報告する。しかしながら、OSはNFCフィールド強度メッセージに基づいてピアNFCカードリーダデバイスのタイプを識別することはできず、NFCフィールド強度メッセージを受領した後、電子デバイスのオペレーティングシステムはNFCフィールド強度システムブロードキャストメッセージを「ウォレット」へ伝送する。その結果、電子デバイスは、「ウォレット」の中の誤ったカードをポップアップしたり、意図せずにカードをポップアップしたりする。 The reasons for the above problem are as follows. That is, when the electronic device approaches the card reader, it receives field strength sensing messages transmitted from the peer NFC card reader device. NFCC only transmits NFC field strength messages to the OS, ie, NFCC only reports NFC field strength messages to the OS. However, the OS cannot identify the type of peer NFC card reader device based on the NFC field strength message, and after receiving the NFC field strength message, the electronic device's operating system transmits the NFC field strength system broadcast message as a "wallet". ”. As a result, the electronic device pops up the wrong card in the "wallet" or pops up a card unintentionally.
本出願のこの実施形態では、電子デバイスがピアカードリーダデバイスとNFC通信を行うプロセスにおいて、NFCコントローラは命令フローをオペレーティングシステムに報告し、オペレーティングシステムは命令フローの特徴に基づいてピアNFCカードリーダデバイスのタイプを決定してよい。あるいは、NFCコントローラがピアカードリーダデバイスから伝送された情報を受領した後、NFCコントローラはピアNFCカードリーダデバイスのタイプを決定し、そのタイプをオペレーティングシステムに報告する。オペレーティングシステムは、ピアNFCカードリーダデバイスのタイプに基づいて、サービス関連アプリケーションを実行することを決定してよい。このようにして、さらに良好なユーザ体験をユーザにもたらすことができる。 In this embodiment of the present application, in the process of an electronic device having NFC communication with a peer card reader device, the NFC controller reports the instruction flow to the operating system, and the operating system communicates with the peer NFC card reader device based on the characteristics of the instruction flow. You may decide the type of Alternatively, after the NFC controller receives the information transmitted from the peer NFC card reader device, the NFC controller determines the type of the peer NFC card reader device and reports the type to the operating system. The operating system may decide to run a service-related application based on the type of peer NFC card reader device. In this way, an even better user experience can be provided to the user.
図4Aないし図4Dは、本出願の一実施形態による一組のグラフィカルユーザインターフェース(graphical user interface, GUI)を示す。 4A-4D illustrate a set of graphical user interfaces (GUIs) according to one embodiment of the present application.
図4Aに示すGUIは、「ウォレット」の表示インターフェースである。表示インターフェース上に、「ウォレット」は、輸送カード、銀行カード、キー、身分証明書、会員証などを含む。輸送カードは、ユーザによってアクティブ化される長安カード、上海公共輸送カード、深せん輸送カードなどを含んでよい。図4Bに示すGUIでは、ユーザは、デフォルトの公共輸送カードとして長安カードを設定してよい。この場合に、SEにおいては、長安カードはアクティブ状態にあり、他のカードは非アクティブ状態にある。 The GUI shown in FIG. 4A is a "wallet" display interface. On the display interface, "wallet" includes transportation cards, bank cards, keys, identification cards, membership cards, etc. The transportation card may include a Changan card, a Shanghai public transportation card, a Shenzhen transportation card, etc. activated by the user. In the GUI shown in FIG. 4B, the user may set the Changan card as the default public transportation card. In this case, in the SE, the Changan card is in the active state and the other cards are in the inactive state.
図4Bに示すGUIは、カードスワイピングによって行われる支払いのインターフェースである。西安でバスを利用する場合に、携帯電話を動かして西安でのバスゲートに近づけてよい。この場合に、ゲートには「カードのスワイプに成功!」という情報が表示され、携帯電話には長安カードのカードスワイピングインターフェースが表示されてよい。 The GUI shown in FIG. 4B is an interface for payments made by card swiping. When taking a bus in Xi'an, you can move your mobile phone closer to the bus gate in Xi'an. In this case, the information "Card swipe successful!" may be displayed at the gate, and the card swiping interface of the Changan card may be displayed on the mobile phone.
図4Cに示すGUIは、カードスワイピングを介して行われる支払いの別のインターフェースである。深せんでのバスを利用する場合に、ユーザは、深せんでのバスゲートに近づくために携帯電話を動かしてよい。この場合に、ゲートには「カードのスワイプに成功!」という情報が表示され、携帯電話には深せん輸送カードのカードスワイピングインターフェースが表示されてよい。 The GUI shown in FIG. 4C is another interface for payments made via card swiping. When using the bus in Shenzhen, the user may move the mobile phone to approach the bus gate in Shenzhen. In this case, the gate may display the information "Card swipe successfully!" and the mobile phone may display the card swiping interface of the Shenzhen transport card.
なお、ユーザが深せんでのバスを利用する場合に、携帯電話の「ウォレット」に記載されているデフォルトの公共輸送カードは、この場合に、依然として長安カードであることを理解するものとする。従って、携帯電話が深せんでのバスゲートに近づいた場合に、携帯電話は、ピアNFCカードリーダデバイスのタイプが深せんでのバスゲートであると決定してよい。この場合に、携帯電話内の「ウォレット」は、ユーザがバスに乗るためにカードをスワイピングすることができるように、「ウォレット」で深せんの公共輸送カードをアクティブ化するようにSEに指示してよい。そのプロセスで、携帯電話の電源を入れ、NFC機能を有効にする必要がある。 It should be noted that if the user uses the bus in Shenzhen, it is understood that the default public transport card listed in the "wallet" of the mobile phone is still the Changan card in this case. Therefore, when the mobile phone approaches a bus gate in Shenzhen, the mobile phone may determine that the type of peer NFC card reader device is a bus gate in Shenzhen. In this case, the "Wallet" in the mobile phone will instruct the SE to activate the Shenzhen public transport card in the "Wallet" so that the user can swipe the card to board the bus. You may do so. The process requires you to turn on your phone and enable NFC functionality.
図4Dに示すGUIは、カードスワイピングを介して行われる支払いの別のインターフェースである。北京でのバスを利用する場合に、ユーザは携帯電話を動かして北京でのバスゲートに近づかせてよい。この場合に、ゲートには「カードの選択に失敗しました。手動で選択してください」という情報が表示される。 The GUI shown in FIG. 4D is another interface for payments made via card swiping. When taking a bus in Beijing, the user may move the mobile phone closer to the bus gate in Beijing. In this case, the information "Card selection failed. Please select manually" is displayed on the gate.
使用者が北京でバスを利用する前に、北京公共輸送カードは使用者の携帯電話ではアクティブ化されないことを理解するものとする。従って、ピアNFCカードリーダデバイスのタイプが北京でのバスゲートであると、携帯電話が決定した後は、公共輸送カードを自動的に切り替えることはできない。この場合に、携帯電話から手動でカードを選択するように、ユーザをプロンプトしてよい。ユーザが北京公共輸送カードを手動でアクティブ化した後、ユーザは、バスに乗るためにカードをスワイピングしてよい。 Before the user uses the bus in Beijing, the user shall understand that the Beijing public transport card is not activated on the user's mobile phone. Therefore, once the mobile phone determines that the peer NFC card reader device type is a bus gate in Beijing, it cannot automatically switch the public transport card. In this case, the user may be prompted to manually select a card from the mobile phone. After the user manually activates the Beijing public transport card, the user may swipe the card to board the bus.
本出願のこの実施形態では、電子デバイスは、ピアNFCカードリーダデバイスのタイプが識別できる。従って、カードを使用する際にユーザが行う煩雑な操作を避けるために、携帯電話は、デバイスのタイプに応じて自動的にカードを切り替え、ピアNFCカードリーダデバイスに対応する現在のカードを自動的にアクティブ化することができる。これは、ユーザの体験を向上させるのに役立つ。 In this embodiment of the present application, the electronic device is capable of identifying the type of peer NFC card reader device. Therefore, in order to avoid complicated operations performed by the user when using the card, the mobile phone will automatically switch the card according to the device type and automatically transfer the current card corresponding to the peer NFC card reader device. can be activated. This helps improve the user's experience.
本出願のこの実施形態では、「ウォレット」は、複数のタイプのカード、例えば、銀行カード、公共輸送カード、身分証明書及び会員カードを含んでよいことを理解するものとする。以上の説明は、単に公共輸送カードを例として説明したものにすぎない。 In this embodiment of the present application, it is understood that a "wallet" may include multiple types of cards, such as bank cards, public transport cards, identity cards and membership cards. The above explanation is merely based on the public transportation card as an example.
一実施形態では、「ウォレット」に加えて、携帯電話はさらに、別のアプリケーション、例えば「Google Pay」を含んでよい。「Google Pay」はまた、公共輸送カード、銀行のカードなどを含んでよい。ユーザが利用する公共輸送カードが「Google Pay」である場合に、携帯電話がピアNFCカードリーダデバイスのタイプを決定した後、携帯電話は「Google Pay」での公共輸送カードを自動的にアクティブ化してよい。 In one embodiment, in addition to "Wallet", the mobile phone may further include another application, such as "Google Pay". "Google Pay" may also include public transport cards, bank cards, etc. If the public transport card used by the user is "Google Pay", after the mobile phone determines the type of peer NFC card reader device, the mobile phone will automatically activate the public transport card with "Google Pay". It's fine.
図5は、本出願の一実施形態による別のシステムアーキテクチャーの概略図である。オペレーティングシステムは、NFCドライバ層(NFC driver),NFCハードウェア抽象化層(NFC hardware abstraction layer, NFC HAL),NFCプロトコルスタック,NFC Javaネイティブインターフェース(NFC Java native interface, NFC JNI),NFCサービス(NFC service),及びカードリーダデバイス決定モジュールを含む。図2と比較して、カードリーダデバイス決定モジュールは、図5のオペレーティングシステムに追加され、モジュールは、ピアNFCカードリーダデバイスのタイプを決定するためにオペレーティングシステムによって使用されてよい。
FIG. 5 is a schematic diagram of another system architecture according to an embodiment of the present application. The operating system consists of an NFC driver layer, an NFC hardware abstraction layer (NFC HAL), an NFC protocol stack, and an NFC Java native interface (NFC Java native interface). NI), NFC service (NFC service), and a card reader device determination module. Compared to FIG. 2, a card reader device determination module has been added to the operating system of FIG. 5, and the module may be used by the operating system to determine the type of peer NFC card reader device.
電子デバイスがピアNFCカードリーダデバイスに近づき、NFCコントローラがNFC無線通信プロトコルに基づいてピアNFCカードリーダデバイスと通信した後、順序付けられたNCI命令フローが生成され、オペレーティングシステムへ伝送される。オペレーティングシステム内のカードリーダデバイス決定モジュールは、命令フローに基づいてピアNFCカードリーダデバイスのタイプを決定してよい。現在の技術的解決策の実施において、NCI命令フローがNFCコントローラによってNFC HALにアップロードされた後、NCI命令フローはNFC Serviceに継続的にアップロードされない。NFC Serviceはアプリケーションと対話するためのユニットであり、NFCフィールド強度メッセージを受信したときに、NFC Serviceはアプリケーションを前景で実行するか否かを決定する。本出願のこの実施形態では、NCI命令フローを受信した後、NFC HALは、NCI命令フローをNFC Serviceにアップロードし続け、NFC Serviceは、ピアNFCカードリーダデバイスのタイプを決定するために、NCI命令フローをカードリーダデバイス決定モジュールへ伝送する。 After the electronic device approaches a peer NFC card reader device and the NFC controller communicates with the peer NFC card reader device based on the NFC wireless communication protocol, an ordered NCI instruction flow is generated and transmitted to the operating system. A card reader device determination module within the operating system may determine the type of peer NFC card reader device based on the instruction flow. In the implementation of current technical solutions, after the NCI instruction flow is uploaded to the NFC HAL by the NFC controller, the NCI instruction flow is not continuously uploaded to the NFC Service. The NFC Service is a unit for interacting with the application, and when receiving the NFC field strength message, the NFC Service decides whether to run the application in the foreground or not. In this embodiment of the present application, after receiving the NCI instruction flow, the NFC HAL continues to upload the NCI instruction flow to the NFC Service, and the NFC Service uploads the NCI instruction flow to determine the type of the peer NFC card reader device. transmitting the flow to a card reader device determination module;
図6は、本出願の一実施形態による近距離通信方法600の概略フローチャートである。方法600は、図5に示すシステムに適用可能である。アプリケーションプロセッサは、1つ以上のアプリケーションを含み、1つ以上のアプリケーションは、第1アプリケーションを含む。第1アプリケーションは、第1カードと第2カードとを含む。第1カードは、アクティブ化されたカードである。第2カードは、アクティブ化されていないカードである。図6に示すように、本方法は、以下のステップを含む。 FIG. 6 is a schematic flowchart of a near field communication method 600 according to one embodiment of the present application. Method 600 is applicable to the system shown in FIG. The application processor includes one or more applications, and the one or more applications include a first application. The first application includes a first card and a second card. The first card is the activated card. The second card is a non-activated card. As shown in FIG. 6, the method includes the following steps.
S601。電子デバイスがピアNFCカードリーダデバイスに接近した場合に、ピアNFCカードリーダデバイスは、NFCフィールド強度感知メッセージと、第1指示情報と、第2指示情報とを電子デバイスへ伝送する。ここで第1指示情報は第1RFリスニングモードを示すために使用され、第2指示情報は第2カードのアプリケーション識別子AIDを示すために使用されるか、又は第2指示情報はアプリケーションデータパケットであり、アプリケーションデータパケットはピアNFCカードリーダデバイスと第2アプリケーションとによって生成されたデータを含み、アプリケーションデータパケットはいかなるAIDに関する情報も含まない。 S601. When the electronic device approaches the peer NFC card reader device, the peer NFC card reader device transmits an NFC field strength sensing message, first indication information, and second indication information to the electronic device. wherein the first indication information is used to indicate a first RF listening mode, the second indication information is used to indicate an application identifier AID of the second card, or the second indication information is an application data packet. , the application data packet includes data generated by the peer NFC card reader device and the second application, and the application data packet does not include information regarding any AID.
一実施形態では、第1RFリスニングモードは、NFC_A_PASSIVEリスニングモードである。
In one embodiment, the first RF listening mode is an NFC_A_PASSIVE listening mode.
第1指示情報が第1RFリスニングモードを示すために使用される場合に、第1指示情報を電子デバイスへ伝送した後、ピアNFCカードリーダデバイスは、さらに、第2指示情報を電子デバイスへ伝送し続けることを理解するものとする。第2指示情報は、電子デバイスでのアプリケーション(例えば、第1アプリケーション)のアプリケーション識別情報(例えば、AID)を示してよい。あるいは、第2指示情報はアプリケーションデータパケットであってよく、アプリケーションデータパケットは、ピアNFCカードリーダデバイスと第2アプリケーションとによって生成されたデータを含む。 After transmitting the first indication information to the electronic device, if the first indication information is used to indicate the first RF listening mode, the peer NFC card reader device further transmits second indication information to the electronic device. It is assumed that you will continue to do so. The second instruction information may indicate application identification information (eg, AID) of the application (eg, the first application) on the electronic device. Alternatively, the second instruction information may be an application data packet, the application data packet including data generated by the peer NFC card reader device and the second application.
例えば、第2カードが深せん公共輸送カードであり、カードリーダデバイスが深せんでのバスゲート又は地下鉄ゲートである場合に、第2指示情報はアプリケーション選択メッセージで搬送され、電子デバイスへ伝送される。アプリケーション選択メッセージは、第2指示情報を搬送する。 For example, if the second card is a Shenzhen public transport card and the card reader device is a Shenzhen bus gate or subway gate, the second instruction information is carried in an application selection message and transmitted to the electronic device. . The application selection message carries second instruction information.
例えば、カードリーダデバイスがトレッドミルのゲートである場合に、トレッドミルのゲートはアプリケーションデータパケットを電子デバイスへ伝送し、アプリケーションデータパケットはAIDに関する情報を搬送しない。 For example, if the card reader device is a treadmill gate, the treadmill gate transmits application data packets to the electronic device, and the application data packets do not carry information regarding the AID.
一実施形態では、第1指示情報が第2リスニングモードを示す場合に、電子デバイスは、ピアデバイスがピアNFCカードリーダデバイスではないと決定してよく、NFC機能が有効とされる別の電子デバイスであってよい。 In one embodiment, if the first indication information indicates a second listening mode, the electronic device may determine that the peer device is not a peer NFC card reader device, and the electronic device is another electronic device with NFC functionality enabled. It may be.
例えば、第2リスニングモードは、NFC_F_PASSIVEリスニングモード、NFC_A_ACTIVEリスニングモード、又はNFC_F_ACTIVEリスニングモードの任意の1つであってよい。 For example, the second listening mode may be any one of NFC_F_PASSIVE listening mode, NFC_A_ACTIVE listening mode, or NFC_F_ACTIVE listening mode.
S602。第2指示情報が第2カードのアプリケーション識別子を示す場合に、電子デバイスは、第2カードを使用してカードリーダデバイスとのトランザクションを実行し、第1アプリケーション内で第2カードに関する情報を自動的に表示する。又は、第2指示情報がアプリケーションデータパケットである場合に、電子デバイスは、いかなるアプリケーションも自動的にポップアップしない。 S602. If the second instruction information indicates an application identifier for the second card, the electronic device performs a transaction with the card reader device using the second card and automatically transmits information about the second card within the first application. to be displayed. Or, if the second instruction information is an application data packet, the electronic device does not automatically pop up any application.
第1アプリケーションは、電子デバイスでのデフォルトアプリケーション(例えば、華為の携帯電話における「ウォレット」)であってよく、又は電子デバイスでのデフォルトアプリケーションでないことが可能であることを理解するものとする。これは、本出願のこの実施形態では限定されない。 It is understood that the first application may be the default application on the electronic device (eg, "Wallet" on a Huawei mobile phone) or may not be the default application on the electronic device. This is not limited in this embodiment of the present application.
例として「ウォレット」を使用する。「ウォレット」はAIDリストを含み、AIDリストは、記録及び記憶のために、NFC serviceネットワーク要素に「ウォレット」で通知される情報である。AIDリストは、新しいカードが「ウォレット」に追加されたり、カードが削除されるたびに更新される。 Let's use "wallet" as an example. The "wallet" includes an AID list, which is information communicated in the "wallet" to the NFC service network element for recording and storage. The AID list is updated each time a new card is added to the Wallet or a card is removed.
図4Bに示すように、携帯電話が西安でのバスゲートに近づいた場合に、西安でのバスゲートは、携帯電話に第1指示情報と第2指示情報とを伝送してよい。第2指示情報は、長安カードのAIDを示す。従って、携帯電話は、カードリーダに近づいた場合に自動的にトランザクションを完了してよい。 As shown in FIG. 4B, when the mobile phone approaches the bus gate in Xi'an, the bus gate in Xi'an may transmit the first instruction information and the second instruction information to the mobile phone. The second instruction information indicates the AID of the Changan card. Thus, the mobile phone may automatically complete the transaction when it approaches the card reader.
図4Cに示されるように、携帯電話が深せんでのバスゲートに近づいた場合に、深せんでのバスゲートは、携帯電話に第1指示情報と第2指示情報とを伝送してよい。第2指示情報は、深せん輸送カードのAIDを示す。従って、カードリーダに近づいた場合に、携帯電話は、まず、深せん輸送カードをアクティブ化するためのカード切り替え操作を自動的に行い、次に、自動的にトランザクションを完了する。 As shown in FIG. 4C, when the mobile phone approaches the Shenzhen bus gate, the Shenzhen bus gate may transmit the first instruction information and the second instruction information to the mobile phone. The second instruction information indicates the AID of the Shenzhen transportation card. Therefore, when approaching the card reader, the mobile phone will first automatically perform a card switching operation to activate the Shenzhen transport card, and then automatically complete the transaction.
以下に、電子デバイスがピアNFCカードリーダデバイスのタイプを決定するプロセスを詳述する。 The following details the process by which an electronic device determines the type of peer NFC card reader device.
図7A及び図7Bは、本出願の一実施形態による近距離通信方法700の概略フローチャートである。この方法は、NFCC、オペレーティングシステム、及び電子デバイスでのアプリケーションによって実施してよい。図7A及び図7Bに示すように、方法700は、以下のステップを含む。 7A and 7B are a schematic flowchart of a near field communication method 700 according to one embodiment of the present application. This method may be implemented by the NFCC, an operating system, and an application on the electronic device. As shown in FIGS. 7A and 7B, method 700 includes the following steps.
S701。NFCCは、ピアNFCカードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージと第1指示情報とを受領する。 S701. The NFCC receives the NFC field strength sense message and first indication information transmitted by the peer NFC card reader device.
一実施形態では、第1指示情報が第1RFリスニングモードを示す場合に、NFCCはさらに第2指示情報を受領する。 In one embodiment, if the first indication information indicates a first RF listening mode, the NFCC further receives second indication information.
本出願のこの実施形態では、NFCCは、NFCフィールド強度感知メッセージと、第1指示情報と、第2指示情報とを順次受信してよい。換言すれば、ピアNFCカードリーダデバイスは、NFCフィールド強度感知メッセージと、第1指示情報と、第2指示情報とを、NFCフィールド強度感知メッセージと、第1指示情報と、第2指示情報とのシーケンスで、NFCCへ伝送してよい。 In this embodiment of the present application, the NFCC may sequentially receive the NFC field strength sensing message, the first indication information, and the second indication information. In other words, the peer NFC card reader device transmits the NFC field strength sensing message, the first indication information, and the second indication information to the NFC field strength sensing message, the first indication information, and the second indication information. The data may be transmitted to the NFCC in sequence.
例えば、第1指示情報は、無線周波数インターフェースアクティブ化メッセージにおいて伝送されてよい。 For example, the first indication information may be transmitted in a radio frequency interface activation message.
例えば、ピアNFCカードリーダデバイスが深せんでのバスゲート又は地下鉄ゲートである場合に、第2指示情報は、アプリケーション選択メッセージの中で搬送され、NFCCへ伝送されてよい。 For example, if the peer NFC card reader device is a bus gate or a subway gate in Shenzhen, the second instruction information may be carried in the application selection message and transmitted to the NFCC.
例えば、ピアNFCカードリーダデバイスがトレッドミルのカードリーダデバイスである場合に、第2指示情報は、アプリケーションデータパケットにおいて搬送されてよい。 For example, if the peer NFC card reader device is a treadmill card reader device, the second instruction information may be carried in the application data packet.
S702。NFCCは、NFCフィールド強度メッセージと第1NCI命令フローとをNFC serviceへ伝送する。 S702. The NFCC transmits the NFC field strength message and the first NCI command flow to the NFC service.
一実施形態では、第1NCI命令フローが第1RFリスニングモードを示す場合に、NFC serviceは、さらに、NFCCによって伝送された第2NCI命令フローを受領してよい。第2NCI命令フローに搬送される情報は、第2指示情報と同じであってよい。 In one embodiment, if the first NCI instruction flow indicates a first RF listening mode, the NFC service may further receive a second NCI instruction flow transmitted by the NFCC. The information carried in the second NCI instruction flow may be the same as the second instruction information.
NFCCは、最初に、NFCフィールド強度メッセージ及び第1NCI命令フロー、又はNFCフィールド強度メッセージ、第1NCI命令フロー及び第2NCI命令フローを、透過的にNFC driverへ伝送してよい。次いで、NFCフィールド強度メッセージ及び第1NCI命令フロー、又はNFCフィールド強度メッセージ、第1NCI命令フロー及び第2NCI命令フローを、NFC driverは、透過的にNFC HALへ送信する。次いで、NFCフィールド強度メッセージ及び第1NCI命令フロー、又はNFCフィールド強度メッセージ、第1NCI命令フロー及び第2NCI命令フローを、NFC HALは、透過的にNFCプロトコルスタックへ送信する。次いで、NFCフィールド強度メッセージ及び第1NCI命令フロー、又はNFCフィールド強度メッセージ、第1NCI命令フロー及び第2NCI命令フローを、NFCプロトコルスタックは、透過的にNFC JNIへ送信する。次いで、NFCフィールド強度メッセージ及び第1NCI命令フロー、又はNFCフィールド強度メッセージ、第1NCI命令フロー及び第2NCI命令フローを、NFC JNIは、透過的にNFC serviceへ送信することが理解されるものとする。 The NFCC may first transparently transmit the NFC field strength message and the first NCI command flow, or the NFC field strength message, the first NCI command flow, and the second NCI command flow to the NFC driver. The NFC driver then transparently sends the NFC field strength message and the first NCI command flow, or the NFC field strength message, the first NCI command flow, and the second NCI command flow to the NFC HAL. The NFC HAL then transparently sends the NFC field strength message and the first NCI instruction flow, or the NFC field strength message, the first NCI instruction flow, and the second NCI instruction flow to the NFC protocol stack. The NFC protocol stack then transparently sends the NFC field strength message and the first NCI instruction flow, or the NFC field strength message, the first NCI instruction flow, and the second NCI instruction flow to the NFC JNI. It shall be understood that the NFC JNI then transparently sends the NFC field strength message and the first NCI instruction flow, or the NFC field strength message, the first NCI instruction flow, and the second NCI instruction flow to the NFC service.
従来技術では、NFCフィールド強度メッセージ、第1NCI命令フロー又はNFCプロトコルスタック、第1NCI命令フロー、及び第2NCI命令フローがNFC HALに透過的に送信された後、NFC HALはNFCプロトコルスタックのみを透過的にNFCプロトコルスタックへ送信し、対応するNCI命令フローを透過的に送信しない。これにより、NFC serviceは、NFCフィールド強度メッセージに基づいてピアNFCカードリーダデバイスのタイプを決定することができない。従って、NFCフィールド強度メッセージを受信した後、アプリケーションが前景にポップアップすることを指示する。 In the prior art, after the NFC field strength message, the first NCI instruction flow or NFC protocol stack, the first NCI instruction flow, and the second NCI instruction flow are transparently sent to the NFC HAL, the NFC HAL transparently transmits only the NFC protocol stack. to the NFC protocol stack and do not transparently transmit the corresponding NCI instruction flow. This prevents the NFC service from determining the type of peer NFC card reader device based on the NFC field strength message. Thus, after receiving the NFC field strength message, the application is directed to pop up to the foreground.
本出願のこの実施形態では、第1NCI命令フローと第2NCI命令フローとは、プライベートインターフェースを使用して報告してよい。又は第1NCI命令フローと第2NCI命令フローとは、既存のNCIプロトコルに追加されてよい。 In this embodiment of the present application, the first NCI instruction flow and the second NCI instruction flow may be reported using a private interface. Alternatively, the first NCI instruction flow and the second NCI instruction flow may be added to an existing NCI protocol.
S703。NFC serviceは、NFCフィールド強度メッセージと第1NCI命令フローとをカードリーダデバイス決定モジュールへ伝送する。 S703. The NFC service transmits the NFC field strength message and the first NCI command flow to the card reader device determination module.
一実施形態では、第1NCI命令フローが第1RFリスニングモードを示す場合に、カードリーダデバイス決定モジュールは、さらに、NFCCによって伝送された第2NCI命令フローを受領してよい。 In one embodiment, if the first NCI instruction flow indicates a first RF listening mode, the card reader device determination module may further receive a second NCI instruction flow transmitted by the NFCC.
S704。カードリーダデバイス決定モジュールは、NFCフィールド強度メッセージと第1NCI命令フローとに基づいて、ピアNFCカードリーダデバイスのタイプを決定し、又は、カードリーダデバイス決定モジュールは、NFCフィールド強度メッセージと第1NCI命令フローと第2NCI命令フローとに基づいて、ピアNFCカードリーダデバイスのタイプを決定する。 S704. The card reader device determination module determines the type of the peer NFC card reader device based on the NFC field strength message and the first NCI command flow, or the card reader device determination module determines the type of the peer NFC card reader device based on the NFC field strength message and the first NCI command flow. and the second NCI instruction flow.
S705。カードリーダデバイス決定モジュールが、第2命令フロー内で搬送されるAIDが、電子デバイスでの第1アプリケーション内の第1カードのAIDであると決定する。第1カードがデフォルトカードである場合に、カードリーダデバイス決定モジュールは、第1指示情報を第1アプリケーションへ伝送する。第1指示情報は、ピアNFCカードリーダデバイスのタイプが第1アプリケーション内の第1カードに関連することを示すために使用される。 S705. A card reader device determination module determines that the AID carried in the second instruction flow is the AID of the first card in the first application at the electronic device. If the first card is a default card, the card reader device determination module transmits first instruction information to the first application. The first indication information is used to indicate that the type of peer NFC card reader device is associated with the first card in the first application.
S706。電子デバイスでの第1アプリケーション内の第1カードが自動的に前景にポップアップされる。 S706. A first card in a first application on the electronic device is automatically popped into the foreground.
一実施形態では、第1アプリケーションはさらに、電子デバイスでのデフォルトアプリケーション(例えば、「ウォレット」)であってよい。電子デバイスでのデフォルトアプリケーション内のアクティブ化されたカードのAIDリストが記憶されてよい。カードリーダデバイス決定モジュールは、決定中に、デフォルトアプリケーションから対応するAIDリストを取得してよい。カードリーダデバイス決定モジュールが受信した第1NCI命令フローが第1RFリスニングモードを示し、第2NCI命令フローに示されたAIDがアプリケーション内のカードに対応し、電子デバイスに記憶されたAIDである場合に、カードリーダデバイス決定モジュールは、アプリケーションがポップアップすること、又はデフォルトアプリケーションが前景にポップアップしないことを指示する。 In one embodiment, the first application may further be a default application (eg, a "wallet") on the electronic device. An AID list of activated cards within a default application on the electronic device may be stored. The card reader device determination module may obtain the corresponding AID list from the default application during determination. if the first NCI instruction flow received by the card reader device determination module indicates a first RF listening mode and the AID indicated in the second NCI instruction flow corresponds to a card in the application and is an AID stored in the electronic device; The card reader device determination module indicates that the application should pop up or that the default application should not pop up in the foreground.
例えば、電子デバイスでのデフォルトアプリケーションは「ウォレット」であり、「ウォレット」でのアクティブ化されたカードは、長安カード、深せん輸送カード、及び上海公共輸送カードを含む。長安カードのAIDはAID1であり、深せん輸送カードのAIDはAID2であり、上海公共輸送カードのAIDはAID3である。 For example, the default application on the electronic device is "Wallet", and the activated cards in "Wallet" include Changan Card, Shenzhen Transport Card, and Shanghai Public Transport Card. The AID of the Changan card is AID1, the AID of the Shenzhen transport card is AID2, and the AID of the Shanghai public transport card is AID3.
第1NCIフローが第1RFリスニングモードを示し、第2NCIフローがAID1を示す場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプが西安でのバス又は地下鉄ゲートであると決定してよく、ピアNFCカードリーダデバイスが「ウォレット」の長安カードに関連することを示してよい。この場合に、第1指示情報はAID1を搬送してよい。 If the first NCI flow indicates the first RF listening mode and the second NCI flow indicates AID1, the card reader device determination module may determine that the type of the peer NFC card reader device is a bus or subway gate in Xi'an. , may indicate that the peer NFC card reader device is associated with a "Wallet" Changan card. In this case, the first instruction information may carry AID1.
一実施形態では、電子デバイスは、さらに、カードの消費情報、残高情報などをインターフェース上に自動的に表示してよい。例えば、図4Bに示すように、公共輸送カードに関する情報、即ち「1中国元が今回消費され、残高は19中国元」が、携帯電話のインターフェースに表示される。 In one embodiment, the electronic device may further automatically display card spending information, balance information, etc. on the interface. For example, as shown in FIG. 4B, information about the public transportation card, ie, "1 Chinese yuan has been consumed this time, the balance is 19 Chinese yuan" is displayed on the mobile phone interface.
第2NCI命令フローを受け取った後、NFCCは、搬送されたAIDがAID1であると決定してよく、NFCCは、AID1をSEへ伝送してよい(電子デバイスは、1つのSEのみを含んでよく、又は複数のSEが存在する場合に、NFCCは、記憶されたルーティングテーブルを使用して、対応するSEにAIDを伝送する)ことが理解されるものとする。SEに記憶されたAIDリストでは、AID1はアクティブ状態にある。この場合に、SEは、AID1に対応する情報、例えば、長安カードの料金控除情報と残高情報とを修正してよい。対応する動作を実行した後、SEはさらに、NFCCを使用してピアNFCカードリーダデバイスと通信してよい。例えば、料金控除の成功と残高情報とをピアNFCカードリーダデバイスに示すために、NFCCを使用してピアNFCカードリーダデバイスに指示を伝送してよい。ピアNFCカードリーダデバイスが指示を受領した後、ピアNFCカードリーダデバイスは、「カードのスワイプに成功! 1中国元が今回消費され、残高は19中国元」という情報を表示してよい。上記のことは、電子デバイスとピアNFCカードリーダデバイスとの間のトランザクションプロセスであってよい。 After receiving the second NCI instruction flow, the NFCC may determine that the carried AID is AID1, and the NFCC may transmit AID1 to the SE (the electronic device may only include one SE). , or if there are multiple SEs, the NFCC uses the stored routing table to transmit the AID to the corresponding SE). In the AID list stored in the SE, AID1 is in the active state. In this case, the SE may modify the information corresponding to AID1, for example, the charge deduction information and balance information of the Changan card. After performing the corresponding operations, the SE may further communicate with the peer NFC card reader device using NFCC. For example, NFCC may be used to transmit instructions to a peer NFC card reader device to indicate successful charge deductions and balance information to the peer NFC card reader device. After the peer NFC card reader device receives the instruction, the peer NFC card reader device may display the information "Card swipe successfully! 1 Chinese yuan was spent this time, and the balance is 19 Chinese yuan." The above may be a transaction process between an electronic device and a peer NFC card reader device.
トランザクションプロセスが実行された後、SEは、トランザクション情報、例えば、料金控除情報と残高情報とをNFC serviceに報告してよい。NFC serviceが対応するトランザクション情報をアプリケーションへ伝送した後、アプリケーションは、ユーザに対してトランザクション情報が表示できる。 After the transaction process is executed, the SE may report transaction information, such as charge deduction information and balance information, to the NFC service. After the NFC service transmits the corresponding transaction information to the application, the application can display the transaction information to the user.
さらに、異なるカードについては、ピアNFCカードリーダデバイスとSEとの間の通信のために1つ以上の情報が必要とされる可能性があることが理解されるものとする。これは、本出願のこの実施形態では限定されない。 Furthermore, it is to be understood that for different cards, one or more pieces of information may be required for communication between the peer NFC card reader device and the SE. This is not limited in this embodiment of the present application.
本出願のこの実施形態ではさらに、電子デバイスとピアNFCカードリーダデバイスとの間のトランザクションプロセスと、電子デバイスでのカードを自動的に前景にポップアップするプロセスとの間には、実際のシーケンスは存在しないことが理解されるものとする。 This embodiment of the present application further provides that there is no actual sequence between the transaction process between the electronic device and the peer NFC card reader device and the process of automatically popping the card into the foreground at the electronic device. It is understood that this does not apply.
S707。第2命令フロー内で搬送されるAIDが、電子デバイスでの第1アプリケーション内のアクティブ化されたカード内の第2カードのAIDであると、カードリーダデバイス決定モジュールが決定し、第2カードがデフォルトカードではない場合に、カードリーダデバイス決定モジュールは、第2指示情報をSEへ伝送して、第2カードをアクティブ化するようにSEに指示する。カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプが第1アプリケーション内の第1カードに関連することを示すために、第3指示情報を第1アプリケーションへ伝送する。 S707. The card reader device determination module determines that the AID carried in the second instruction flow is the AID of the second card in the activated card in the first application at the electronic device; If it is not the default card, the card reader device determination module transmits second instruction information to the SE to instruct the SE to activate the second card. The card reader device determination module transmits third indication information to the first application to indicate that the type of peer NFC card reader device is associated with the first card in the first application.
S708。SEは、SEに記憶されたAIDリストでの第2カードをアクティブ化し、第1カードを非アクティブ化する。 S708. The SE activates the second card and deactivates the first card in the AID list stored in the SE.
S709。電子デバイスでの第1アプリケーション内の第2カードが自動的に前景にポップアップされる。 S709. A second card within the first application on the electronic device is automatically popped into the foreground.
一実施形態では、カードリーダデバイス決定モジュールは、最初に、第1アプリケーションから、第1アプリケーションを使用してユーザによってアクティブ化されたカードに対応するAIDリストを取得してよい。AIDリストでは、第1カードに対応するAIDがアクティブ状態にあり、他のカードに対応するAIDが非アクティブ状態にある。カードリーダデバイス決定モジュールは、第2カードのAIDがAIDリスト内にあるか否かを決定してよい。第2カードのAIDがAIDリストにあり、第2カードのAIDが非アクティブ状態の場合に、カードリーダデバイス決定モジュールは、第2指示情報をSEへ伝送する。 In one embodiment, the card reader device determination module may first obtain from the first application an AID list corresponding to cards activated by a user using the first application. In the AID list, the AID corresponding to the first card is in the active state, and the AIDs corresponding to the other cards are in the inactive state. The card reader device determination module may determine whether the second card's AID is in the AID list. If the AID of the second card is in the AID list and the AID of the second card is in an inactive state, the card reader device determination module transmits the second indication information to the SE.
例えば、第1NCIフローが第1RFリスニングモードを示し、第2NCIフローがAID2を示す場合に、ピアNFCカードリーダデバイスのタイプが深せんでのバス又は地下鉄ゲートであるとカードリーダデバイス決定モジュールが決定してよい。この場合に、まず、深せん輸送カードをアクティブ化し、長安カードを非アクティブ化するように、カードリーダデバイス決定モジュールはSEに指示してよい。次に、ピアNFCカードリーダデバイスが「ウォレット」の深せん輸送カードに関連することをアプリケーションに指示してよい。この場合に、指示情報はAID2を搬送してよい。 For example, if the first NCI flow indicates the first RF listening mode and the second NCI flow indicates AID2, the card reader device determination module determines that the type of the peer NFC card reader device is a bus or subway gate in Shenzhen. It's fine. In this case, the card reader device determination module may instruct the SE to first activate the Shenzhen transportation card and deactivate the Changan card. The application may then be instructed that the peer NFC card reader device is associated with the "Wallet" deep transfer card. In this case, the instruction information may carry AID2.
例えば、図4Cに示すように、携帯電話内のデフォルトカードは、長安カードである。ユーザが深せんでのバスを利用し、携帯電話がバスゲートに近づいた場合に、携帯電話は、「ウォレット」において、ゲートのタイプが深せん輸送カードに関連することを識別してよい。携帯電話は、自動的に深せん輸送カードをアクティブ化し、長安カードを非アクティブ化してよい。この場合に、ユーザは、通常、カードのスワイピング操作を行ってよく、ユーザは、公共輸送カードを手動で切り替える必要がなく、それによって、ユーザの体験を向上させる。 For example, as shown in FIG. 4C, the default card in the mobile phone is the Changan card. When the user takes a bus in Shenzhen and the mobile phone approaches the bus gate, the mobile phone may identify in the "wallet" that the type of gate is associated with the Shenzhen transport card. The mobile phone may automatically activate the Shenzhen transportation card and deactivate the Changan card. In this case, the user may normally perform a card swiping operation, and the user does not have to manually switch public transport cards, thereby improving the user's experience.
電子デバイスでのデフォルトアプリケーションが第1アプリケーションであり、第2命令フローで搬送されるAIDが第2アプリケーション内のアクティブ化された第3カードのAIDである場合に、第3カードをアクティブ化し、第1カードを非アクティブ化するように指示するために、カードリーダデバイス決定モジュールはSEに指示情報を伝送し、カードリーダデバイス決定モジュールは、第2アプリケーションに指示情報を伝送し、ピアNFCカードリーダデバイスのタイプが第2アプリケーション内の第3カードに関連することを示すことが理解されるものとする。電子デバイスでの第2アプリケーションは、自動的に前景にポップアップされることができる。 activating a third card if the default application at the electronic device is the first application and the AID carried in the second instruction flow is the AID of the activated third card within the second application; The card reader device determination module transmits instruction information to the SE to instruct the SE to deactivate one card, and the card reader device determination module transmits instruction information to the second application to instruct the peer NFC card reader device to deactivate the card. It shall be understood that the type of is associated with a third card within the second application. A second application on the electronic device can be automatically popped into the foreground.
例えば、第1NCIフローが第1RFリスニングモードを示し、第2NCIフローがAID4を示す場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプが「Google Pay」の銀行カードに関連すると決定してよい。この場合に、カードリーダデバイスは、まず、銀行カードをアクティブ化し、長安カードを非アクティブ化するようSEに指示してよく、次に、ピアNFCカードリーダデバイスが「Google Pay」において銀行カードに関連することを「Google Pay」に指示してよい。この場合に、指示情報はAID4を搬送してよい。電子デバイスは、自動的に銀行カードを、前景に「Google Pay」でポップアップ表示することができる。 For example, if the first NCI flow indicates a first RF listening mode and the second NCI flow indicates AID4, the card reader device determination module determines that the type of the peer NFC card reader device is associated with a bank card of "Google Pay". It's fine. In this case, the card reader device may first instruct the SE to activate the bank card and deactivate the Changan card, and then the peer NFC card reader device can link the bank card in "Google Pay". You may instruct Google Pay to do so. In this case, the instruction information may carry AID4. The electronic device can automatically pop up a bank card with "Google Pay" in the foreground.
一実施形態では、電子デバイスは、さらに、カードの消費情報、残高情報などをインターフェースに自動的に表示してよい。例えば、図4Cに示すように、携帯電話のインターフェースには、公共輸送カードに関する情報、即ち「2中国元が今回消費され、残高は25中国元」が表示される。 In one embodiment, the electronic device may further automatically display card spending information, balance information, etc. on the interface. For example, as shown in FIG. 4C, the mobile phone interface displays information about the public transportation card, ie, "2 Chinese yuan is consumed this time, and the balance is 25 Chinese yuan."
第2NCI命令フローを受け取った後、NFCCは、搬送されたAIDがAID2であると決定してよく、NFCCは、AID2をSEへ伝送してよい(電子デバイスは、1つのSEのみを含んでよく、又は複数のSEが存在する場合に、NFCCは、記憶されたルーティングテーブルを使用してAIDを対応するSEへ伝送する)ことが理解されるものとする。SEに記憶されたAIDリストでは、AID2が非アクティブ状態になっている。この場合に、SEは、AID2に対応する情報の処理を一切行わないことが可能である。 After receiving the second NCI instruction flow, the NFCC may determine that the carried AID is AID2, and the NFCC may transmit AID2 to the SE (the electronic device may only include one SE). , or if there are multiple SEs, the NFCC uses the stored routing table to transmit the AID to the corresponding SE). In the AID list stored in the SE, AID2 is in an inactive state. In this case, the SE may not process any information corresponding to AID2.
AID2が第1アプリケーション内のデフォルトカードでないと決定した場合に、カードリーダデバイス決定モジュールは、深せん輸送カードをアクティブ化するようにSEに指示してよい。深せん輸送カードをアクティブ化した後、SEは、AID2に対応する情報、例えば、深せん輸送カードの料金控除情報と残高情報とを変更してよい。対応する動作を実行した後、SEは、NFCCを使用してピアNFCカードリーダデバイスとさらに通信することができる。例えば、料金控除の成功と残高情報とをピアNFCカードリーダデバイスに示すために、NFCCを使用してピアNFCカードリーダデバイスに指示を伝送してよい。ピアNFCカードリーダデバイスが指示を受領した後、ピアNFCカードリーダデバイスは、「カードのスワイプに成功! 2中国元が今回消費され、残高は25中国元」という情報を表示してよい。 If it is determined that AID2 is not the default card in the first application, the card reader device determination module may instruct the SE to activate the depth transport card. After activating the Shenzhen transportation card, the SE may change the information corresponding to AID2, such as the fee deduction information and balance information of the Shenzhen transportation card. After performing the corresponding operations, the SE can further communicate with the peer NFC card reader device using NFCC. For example, NFCC may be used to transmit instructions to a peer NFC card reader device to indicate successful charge deductions and balance information to the peer NFC card reader device. After the peer NFC card reader device receives the instruction, the peer NFC card reader device may display the information "Card swipe successfully! 2 Chinese yuan was spent this time, and the balance is 25 Chinese yuan."
本出願のこの実施形態では、カードリーダデバイス決定モジュールが深せん輸送カードをアクティブ化することをSEに指示する場合に、指示情報は、NFC service、NFC JNI、NFCプロトコルスタック、NFC HAL、NFC driver、及びNFCCを使用してSEへ伝送されてよいことをさらに理解するものとする。一実施形態では、電子デバイスは、第2カードを自動的にアクティブ化し、第1カードを非アクティブ化してよい。あるいは、電子デバイスは、ディスプレイを使用して、切り替える必要があるカードを選択するようにユーザにプロンプトすることができる。例えば、カードリーダデバイス決定モジュールは、第2カードがAIDリストでのアクティブ化されたカードではなく、第1アプリケーション内のアクティブ化されたカードに対応するAIDであると決定した場合に、カードリーダデバイス決定モジュールは、第2カードのAIDを第1アプリケーションへ伝送された指示情報に追加してよい。第1アプリケーションは、ユーザに第2カードへの切り替えを実行するか否かについて督促してよい。ユーザが第2カードへの切り替えを行うことを決定した場合に、アプリケーションは、NFC service又はNFCCなどのネットワーク要素を使用して、カード切り替え指示をSEへ伝送する。指示を受領した後、SEは第2カードをアクティブ化し、第1カードを非アクティブ化してよい。 In this embodiment of the present application, when the card reader device determination module instructs the SE to activate the Shenzhen transport card, the instruction information includes NFC service, NFC JNI, NFC protocol stack, NFC HAL, NFC driver , and may be transmitted to the SE using NFCC. In one embodiment, the electronic device may automatically activate the second card and deactivate the first card. Alternatively, the electronic device may use a display to prompt the user to select the card that needs to be switched. For example, if the card reader device determination module determines that the second card is not an activated card in the AID list but an AID that corresponds to an activated card in the first application, the card reader device determination module The determination module may add the AID of the second card to the instruction information transmitted to the first application. The first application may prompt the user whether to perform the switch to the second card. If the user decides to switch to the second card, the application transmits the card switching instruction to the SE using a network element such as an NFC service or NFCC. After receiving the instructions, the SE may activate the second card and deactivate the first card.
S710。第2命令フローで搬送されるAIDが、電子デバイスでのアクティブ化されたカードのいずれか1つのAIDではないと、カードリーダデバイス決定モジュールが決定した場合には、カードリーダデバイス決定モジュールは、第4指示情報をアプリケーションへ伝送し、ピアNFCカードリーダデバイスのタイプが、電子デバイスでのアプリケーション内のアクティブ化されたカードのいずれの1つとも無関係であることを示す。 S710. If the card reader device determination module determines that the AID carried in the second instruction flow is not the AID of any one of the activated cards in the electronic device, the card reader device determination module 4 indication information to the application indicating that the type of peer NFC card reader device is unrelated to any one of the activated cards within the application at the electronic device.
S711。電子デバイスは、自動カード選択が失敗したことを示す情報をユーザにプロンプトする。 S711. The electronic device prompts the user with information indicating that automatic card selection has failed.
例えば、第1NCIフローが第1RFリスニングモードを示し、第2NCIフローがAID6を示す場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプが北京でのバス又は地下鉄ゲートであると決定してよく、ピアNFCカードリーダデバイスが「ウォレット」での北京公共輸送カードに関連することを示してよい。この場合に、指示情報はAID6を搬送してよい。 For example, if the first NCI flow indicates the first RF listening mode and the second NCI flow indicates AID6, the card reader device determination module determines that the type of the peer NFC card reader device is a bus or subway gate in Beijing. may indicate that the peer NFC card reader device is associated with a Beijing public transport card in a "wallet". In this case, the instruction information may carry AID6.
例えば、図4Dに示すように、携帯電話内のデフォルトカードが長安カードであり、北京公共輸送カードが携帯電話内でアクティブ化されていない場合に、及び、ユーザが北京でのバスを利用する場合に、携帯電話は自動的にリマインダボックスをポップアップして、情報、即ち「カードの選択に失敗しました。手動で選択してください!」についてユーザに督促してよい。 For example, as shown in Figure 4D, when the default card in the mobile phone is the Changan card and the Beijing public transport card is not activated in the mobile phone, and when the user takes a bus in Beijing. , the mobile phone may automatically pop up a reminder box to remind the user of the information: "Card selection failed. Please select manually!"
この場合に、カードリーダデバイス決定モジュールは、完全なAIDリストを記憶してよいことが理解されるものとする。AIDリストは、電子デバイスでの各アクティブ化されたカードのAIDに関する情報、及び電子デバイス内ではアクティブ化されていないカードの他のAIDに関する情報を含んでよい。この場合に、電子デバイス内でアクティブ化されていないカードのAIDをさらに取得するとき、カードリーダデバイス決定モジュールは、AIDが電子デバイスでのアクティブ化されたカードのいずれかのAIDではないと決定してよく、さらに、AIDが電子デバイスでのアプリケーション内ではアクティブ化されていないカードのAIDであると決定してよい。この場合に、カードリーダデバイス決定モジュールは、プロンプト情報、即ち「カードの選択に失敗しました。手動で選択してください!」をポップアップするように指示し、さらに、ユーザのためにAIDに対応するカードのカードアクティブ化インターフェースへの入口を提供してよい。入口を見た後に、ユーザはまずカードアクティブ化インターフェースにはいって、カードをアクティブ化し、次にトランザクションを実行する。 It is to be understood that in this case the card reader device determination module may store the complete AID list. The AID list may include information about the AID of each activated card in the electronic device and information about other AIDs of cards that are not activated in the electronic device. In this case, when further obtaining the AID of the card that is not activated in the electronic device, the card reader device determination module determines that the AID is not the AID of any of the activated cards in the electronic device. may further determine that the AID is an AID of a card that is not activated within an application on the electronic device. In this case, the card reader device determination module instructs to pop up prompt information, namely "Card selection failed. Please select manually!", and also responds to the AID for the user. An entry point to the card's card activation interface may be provided. After viewing the entrance, the user first enters the card activation interface to activate the card and then perform the transaction.
一実施形態では、北京公共輸送カードを購入するための入口が、図4Dの携帯電話の表示インターフェース上にさらに表示されてよく、これにより、ユーザは、入口を使用して、北京公共輸送カードのカードアクティブ化インターフェースに、簡便にはいることができる。 In one embodiment, an entrance for purchasing a Beijing public transport card may further be displayed on the display interface of the mobile phone in FIG. 4D, allowing the user to use the entrance to purchase a Beijing public transport card. You can easily enter the card activation interface.
一実施形態では、図4Dの携帯電話の表示インターフェース上に、「ウォレット」内の複数のアクティブ化されたカードに関する一層の情報があってよく、長安カード、深せん輸送カード、及び上海公共輸送カードを表示してよい。カードリーダデバイス決定モジュールは、(比較的低い確率で)決定する際にエラーを生じる可能性があるので、ユーザ選択のために、アクティブ化されたカードに関する情報が表示されてよい。 In one embodiment, on the display interface of the mobile phone in FIG. 4D, there may be further information about multiple activated cards in the "Wallet", including the Changan Card, the Shenzhen Transport Card, and the Shanghai Public Transport Card. may be displayed. Since the card reader device determination module may (with relatively low probability) make an error in making the determination, information regarding the activated card may be displayed for user selection.
S712。カードリーダデバイス決定モジュールは、第2命令フローがAIDを搬送しないと決定した場合に、又はカードリーダデバイスがプリセットの時間内に第2命令を受信しない場合には、カードリーダデバイス決定モジュールは、第5指示情報をアプリケーションへ伝送し、自動的にいかなるアプリケーションも前景でポップアップしないことを指示する。
S712. If the card reader device determination module determines that the second instruction flow does not carry an AID, or if the card reader device does not receive the second instruction within a preset time, the card reader device determination module 5. Sends instruction information to the application to indicate that no application should automatically pop up in the foreground.
例えば、第1NCIフローが第1RFリスニングモードを示し、第2NCI命令フローがデータパケットである場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプが「ウォレット」とは無関係であることを決定してよく、ピアNFCカードリーダデバイスが「ウォレット」とは無関係であることをアプリケーションに示してよい。 For example, if the first NCI flow indicates a first RF listening mode and the second NCI instruction flow is a data packet, the card reader device determination module determines that the type of peer NFC card reader device is independent of "wallet". may be determined and may indicate to the application that the peer NFC card reader device is independent of the "wallet".
第1NCIフローが第1RFリスニングモードを示す場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプが別のNFCデバイスであることを決定してよく、ピアNFCカードリーダデバイスが別のNFCデバイスであることをアプリケーションに示してよい。 If the first NCI flow indicates a first RF listening mode, the card reader device determination module may determine that the type of the peer NFC card reader device is another NFC device; May indicate to the application that it is a device.
一実施形態では、NFC serviceは、アクティブ化されたカードのAIDリストを電子デバイスでの全てのアプリケーションに記憶してよく、カードリーダデバイス決定モジュールは、決定中にアプリケーションから対応するAIDリストを取得してよい。 In one embodiment, the NFC service may store an AID list of activated cards to all applications on the electronic device, and the card reader device determination module retrieves the corresponding AID list from the application during determination. It's fine.
例えば、第1NCIフローが第1RFリスニングモードを示し、第2NCIフローがAID5を示す場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスのタイプがICBC相互接続カードに関連することを決定し、ピアNFCカードリーダデバイスがICBC相互接続カードに関連することを示してよい。 For example, if the first NCI flow indicates a first RF listening mode and the second NCI flow indicates AID5, the card reader device determination module determines that the type of peer NFC card reader device is associated with an ICBC interconnect card; It may indicate that the peer NFC card reader device is associated with an ICBC interconnect card.
本出願のこの実施形態では、オペレーティングシステムに追加されたカードリーダデバイス決定モジュールは、ピアカードリーダデバイスのタイプを決定してよい。デバイスのタイプは、「ウォレット」、Google Payアプリケーション、車両キーアプリケーション、又はトレッドミルアプリケーションに関連してよい。あるいは、ピアデバイスは、単なるモバイルデバイスであって、本物のカードリーダなどのものではない。カードリーダデバイスに近づいた場合に、デバイスのタイプに基づいて、電子デバイスは、カードリーダデバイスに関連するアプリケーションをポップアップするか、又はいずれのアプリケーションもポップアップしない。 In this embodiment of the present application, a card reader device determination module added to the operating system may determine the type of peer card reader device. The type of device may be related to a "wallet", a Google Pay application, a vehicle key application, or a treadmill application. Alternatively, the peer device is simply a mobile device and not something like a true card reader. Based on the type of device, the electronic device either pops up an application associated with the card reader device or does not pop up any application when approaching the card reader device.
図8A及び図8Bは、本出願の一実施形態によるカードリーダデバイス決定モジュールの決定プロセスの概略フローチャートである。図8A及び図8Bに示すように、このプロセスは、以下のステップを含む。 8A and 8B are schematic flowcharts of a determination process of a card reader device determination module according to one embodiment of the present application. As shown in FIGS. 8A and 8B, this process includes the following steps.
S801。電子デバイスはピアNFCカードリーダデバイスに近づく。 S801. The electronic device approaches a peer NFC card reader device.
S802。カードリーダデバイス決定モジュールは、NCI==61070101である命令フローを受信したか否かを決定する。 S802. The card reader device determination module determines whether an instruction flow with NCI==61070101 is received.
NCI==61070101である命令フローは、前述のNFCフィールド強度メッセージであってよいことを理解するものとする。 It shall be understood that the instruction flow with NCI==61070101 may be the NFC field strength message described above.
NCI==61070101である命令フローを受信しなかった場合に、電子デバイスがNFCカードリーダデバイスに近づいた後、カードリーダデバイス決定モジュールは、NCI=61070101であるNCI命令フローを受信するのを待ち続ける。
If the instruction flow with NCI==61070101 is not received, after the electronic device approaches the NFC card reader device, the card reader device determination module waits to receive the NCI instruction flow with NCI= 61070101 . continue.
S803。NCI=61070101である命令フローを受信した場合に、カードリーダデバイス決定モジュールは、第1NCI命令フローを待つ。 S803. If an instruction flow with NCI=61070101 is received, the card reader device determination module waits for the first NCI instruction flow.
S804。カードリーダデバイス決定モジュールが第1NCI命令フローを受信した後、決定モジュールは第1NCI命令フローのタイプを決定する。 S804. After the card reader device determination module receives the first NCI instruction flow, the determination module determines the type of the first NCI instruction flow.
S805。第1NCI命令フローの中でNCI==6105xx01020480であると決定された場合に、カードリーダデバイス決定モジュールはS807を実行する。 S805. If it is determined in the first NCI instruction flow that NCI==6105xx01020480, the card reader device determination module executes S807.
NCI==6105xx01020480は、NFC RFアクティブ化通知メッセージであることが理解されるものとする。ここで、6105は、RFアクティブ化通知メッセージのタイプ定義であり、xxは、以下のバイトの長さを表す。01020480は、特定のRFリスニングモードを表し、本明細書では、NFC_A_PASSIVEリスニングモードであってよい。 It shall be understood that NCI==6105xx01020480 is an NFC RF activation notification message. Here, 6105 is the type definition of the RF activation notification message, and xx represents the length of the following bytes. 01020480 represents a specific RF listening mode, which here may be the NFC_A_PASSIVE listening mode.
本出願のこの実施形態では、デフォルトアプリケーションが「ウォレット」である例が使用される。カードリーダデバイス決定モジュールは、リスニングモードがNFC_A_PASSIVEリスニングモードであると決定した場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスが「ウォレット」に関連すると決定してよい。これに対して、カードリーダデバイス決定モジュールが、リスニングモードがNFC_A_PASSIVEリスニングモードでないと決定した場合に、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスが「ウォレット」とは無関係であると決定してよい。 In this embodiment of the present application, an example is used where the default application is "Wallet". If the card reader device determination module determines that the listening mode is an NFC_A_PASSIVE listening mode, the card reader device determination module may determine that the peer NFC card reader device is associated with a "wallet." On the other hand, if the card reader device determination module determines that the listening mode is not the NFC_A_PASSIVE listening mode, the card reader device determination module determines that the peer NFC card reader device is unrelated to the "Wallet". good.
第1リスニングモードは、特に限定されないことを理解するものとする。例えば、ピアNFCカードリーダデバイスが電子デバイスの非デフォルトアプリケーションに関連するカードリーダデバイスである場合に、カードリーダデバイス決定モジュールは、リスニングモードがNFC_A_PASSIVEリスニングモードであることを決定した後にS807を実行する必要はなく、又はリスニングモードが他のリスニングモードであることを決定した後にS807を実行してよい。 It is understood that the first listening mode is not particularly limited. For example, if the peer NFC card reader device is a card reader device associated with a non-default application of the electronic device, the card reader device determination module needs to perform S807 after determining that the listening mode is the NFC_A_PASSIVE listening mode. S807 may be executed after determining that there is no listening mode or that the listening mode is another listening mode.
S806。第1NCI命令フローの中で、NCI==6105xx0103058[2|3|5]であると決定した場合は、カードリーダデバイス決定モジュールは、S817を実行する。 S806. If it is determined in the first NCI instruction flow that NCI==6105xx0103058[2|3|5], the card reader device determination module executes S817.
NCI==6105xx0102048[2|3|5]は、別のNFC RFアクティブ化通知メッセージであることが理解されるものとする。ここで、6105は、RFアクティブ化通知メッセージのタイプ定義であり、xxは、以下のバイトの長さを表し、0102048[2|3|5]は、01020482、01020483又は01020485の任意の1つを表してよく、特定のRFリスニングモードを表す。ここで、01020482はNFC_F_PASSIVEリスニングモードを表してよく、01020483はNFC_A_ACTIVEリスニングモードを表してよく、01020485はNFC_F_ACTIVEリスニングモードを表してよい。 It shall be understood that NCI==6105xx0102048[2|3|5] is another NFC RF activation notification message. Here, 6105 is the type definition of the RF activation notification message, xx represents the length in bytes, and 0102048[2|3|5] is any one of 01020482, 01020483 or 01020485. may represent a particular RF listening mode. Here, 01020482 may represent NFC_F_PASSIVE listening mode, 01020483 may represent NFC_A_ACTIVE listening mode, and 01020485 may represent NFC_F_ACTIVE listening mode.
S807。NCI==6105xx01020480である第1NCI命令フローを受信した場合に、カードリーダデバイス決定モジュールは、第2NCI命令フローを待つ。 S807. If the first NCI instruction flow with NCI==6105xx01020480 is received, the card reader device determination module waits for the second NCI instruction flow.
S808。カードリーダデバイス決定モジュールが第2NCI命令フローを受信した後、カードリーダデバイス決定モジュールは第2NCI命令フローのタイプを決定する。
S808. After the card reader device determination module receives the second NCI instruction flow, the card reader device determination module determines the type of the second NCI instruction flow.
S809。第2NCI命令フローの中でNCI==6109xxC0[F|0]0yy[AID]であると決定された場合に、カードリーダデバイス決定モジュールはS811を実行する。 S809. If it is determined in the second NCI instruction flow that NCI==6109xxC0[F|0]0yy[AID], the card reader device determination module executes S811.
S810。第2NCI命令フローの中でNCI==00~であると決定された場合に、カードリーダデバイス決定モジュールはS817を実行する。 S810. If it is determined in the second NCI instruction flow that NCI==00~, the card reader device determination module executes S817.
S811。カードリーダデバイス決定モジュールは、デフォルトアプリケーション内で、アクティブ化されたカードのAIDリストを取得する。 S811. The card reader device determination module obtains the AID list of activated cards within the default application.
例えば、電子デバイスでのデフォルトアプリケーションが「ウォレット」の場合に、カードリーダデバイス決定モジュールは、「ウォレット」のアクティブ化されたカードのAIDリストを取得する。 For example, if the default application on the electronic device is "Wallet", the card reader device determination module obtains the AID list of activated cards of "Wallet".
S812。S809で取得した第2NCI命令フローのAIDが、デフォルトアプリケーションのアクティブ化されたカードのAIDリストにあるか否かを決定する。 S812. It is determined whether the AID of the second NCI instruction flow obtained in S809 is in the AID list of activated cards of the default application.
S813。S809で取得した第2NCI命令フローのAIDが、デフォルトアプリケーションのアクティブ化されたカードのAIDリストにある場合に、ピアNFCカードリーダデバイスがデフォルトアプリケーションに関連していると決定し、S814を実行する。 S813. If the AID of the second NCI instruction flow obtained in S809 is in the AID list of activated cards of the default application, it is determined that the peer NFC card reader device is associated with the default application, and S814 is executed.
あるいは、S809で取得された第2NCI命令フローで、AIDがデフォルトアプリケーションのアクティブ化されたカードのAIDリストにない場合に、ピアNFCカードリーダデバイスはデフォルトアプリケーションとは無関係であると決定され、S817が実行される。 Alternatively, in the second NCI instruction flow obtained in S809, if the AID is not in the default application's activated card's AID list, the peer NFC card reader device is determined to be unrelated to the default application, and S817 executed.
S814。カードリーダデバイス決定モジュールは、AIDに対応するカードがデフォルトアプリケーション内でデフォルトカードであるか否かを決定する。 S814. The card reader device determination module determines whether the card corresponding to the AID is the default card within the default application.
AIDに対応するカードが、デフォルトアプリケーション内のデフォルトカードであると決定した場合に、カードリーダデバイス決定モジュールはS815を実行する。 If it is determined that the card corresponding to the AID is the default card in the default application, the card reader device determination module executes S815.
AIDに対応するカードが、デフォルトアプリケーション内のデフォルトカードでないと決定した場合に、カードリーダデバイス決定モジュールはS816を実行する。 If it is determined that the card corresponding to the AID is not the default card in the default application, the card reader device determination module executes S816.
S815。デフォルトアプリケーションがポップアップすることを指示する。 S815. Indicates that the default application will pop up.
S816。AIDに対応するカードをアクティブ化し、デフォルトカードを非アクティブ化するように、アプリケーションは、SEに指示し、S815を実行する。
S816. The application instructs the SE to activate the card corresponding to the AID and deactivate the default card, and performs S815.
本出願のこの実施形態では、AID値は、第2NCI命令フローを解析することによって取得され、その値は、ピアNFCカードリーダデバイスによって選択されたAIDである。現在取得されたAIDは、デフォルトアプリケーション(「ウォレット」など)によって現在アクティブ化されているAIDと比較されてよい。AIDが「ウォレット」によって現在アクティブ化されているAIDではなく、アクティブ化されているカードのうちのカードのAIDである場合に、AID切り替えは直ちに実行される。自動的にAID切り替えを行うため、手動によるカード切り替えは不要であり、カードリーダデバイスに近づいた場合に、カード切り替え及びトランザクションが自動的に完了する。 In this embodiment of the present application, the AID value is obtained by parsing the second NCI instruction flow, and the value is the AID selected by the peer NFC card reader device. The currently obtained AID may be compared to the AID currently activated by a default application (such as a "wallet"). If the AID is not the AID currently activated by the Wallet, but the AID of the activated card, the AID switch is performed immediately. Due to the automatic AID switching, manual card switching is not required and the card switching and transaction are completed automatically when the card reader device is approached.
S817。第1命令フローの中で、カードリーダデバイス決定モジュールがNCI==6105xx0103058[2|3|5]と決定した場合に、又は、S809で取得された第2命令フローの中でAIDが、デフォルトアプリケーション内のアクティブ化されたカードのAIDリストの中にない場合には、電子デバイスは、デフォルトアプリケーションをポップアップしない。 S817. If the card reader device determination module determines NCI==6105xx0103058[2|3|5] in the first instruction flow, or if the AID is the default application in the second instruction flow obtained in S809. The electronic device will not pop up the default application if it is not in the AID list of the activated card within.
カードリーダデバイス決定モジュールが、第2命令フローでNCI==00~であると決定した場合に、電子デバイスは、ピアNFCカードリーダデバイスがホストベースのカードエミュレーション(host-based card emulation, HCE)アプリケーションに関連すると決定してよく、デフォルトアプリケーションをポップアップしない。 If the card reader device determination module determines in the second instruction flow that NCI==00~, the electronic device determines that the peer NFC card reader device is connected to a host-based card emulation (HCE) application. Decided to be relevant and don't pop up the default application.
本出願のこの実施形態では、AID値は、6109NCI命令を解析することによって取得される。AIDが、デフォルトアプリケーション内のアクティブ化されたカードのいずれかのAIDではない場合に、又は第2命令フローにAIDに関するいずれの情報も含まれていない場合に、デフォルトアプリケーションは、第2NCI命令フローに搬送されるAIDがデフォルトアプリケーションに関連しているときにのみ、前景でポップアップされる。これは、アプリケーションが意図せずにポップアップされているためにユーザの体験が影響を受ける場合を避けるためである。 In this embodiment of the present application, the AID value is obtained by parsing the 6109NCI instruction. If the AID is not the AID of any of the activated cards in the default application, or if the second instruction flow does not include any information about the AID, the default application enters the second NCI instruction flow. It will only pop up in the foreground when the AID being carried is related to the default application. This is to avoid cases where the user's experience is affected due to the application being unintentionally popped up.
本出願のこの実施形態におけるカードリーダデバイス決定モジュールの決定プロセスは、図8A及び図8Bに図示されている。このプロセスは、輸送カード、銀行カード、会員証、身分証明書などに適用することができる。本出願のこの実施形態におけるカードリーダデバイス決定モジュールの別の決定プロセスを、以下に述べる。このプロセスは、アクセスカードの決定に適用できる。
The determination process of the card reader device determination module in this embodiment of the present application is illustrated in FIGS. 8A and 8B. This process can be applied to transport cards, bank cards, membership cards, identity cards, etc. Another determination process of the card reader device determination module in this embodiment of the present application is described below. This process can be applied to determining access cards.
図9は、本出願の一実施形態によるカードリーダデバイス決定モジュールの決定プロセスの別の概略フローチャートである。図9に示すように、このプロセスは、以下のステップを含む。 FIG. 9 is another schematic flowchart of the determination process of the card reader device determination module according to one embodiment of the present application. As shown in FIG. 9, this process includes the following steps.
S901。電子デバイスはピアNFCカードリーダデバイスに近づく。 S901. The electronic device approaches a peer NFC card reader device.
S902。カードリーダデバイス決定モジュールは、NCI==61070101である命令フローを受信したか否かを決定する。 S902. The card reader device determination module determines whether an instruction flow with NCI==61070101 is received.
NCI==61070101である命令フローは、前述のNFCフィールド強度メッセージであってよいことを理解するものとする。 It shall be understood that the instruction flow with NCI==61070101 may be the NFC field strength message described above.
NCI==61070101である命令フローを受信しなかった場合に、電子デバイスがNFCカードリーダデバイスに近づいた後、カードリーダデバイス決定モジュールは、NCI=61070101であるNCI命令フローを受信するのを待ち続ける。
If the instruction flow with NCI==61070101 is not received, after the electronic device approaches the NFC card reader device, the card reader device determination module waits to receive the NCI instruction flow with NCI= 61070101 . continue.
S903。NCI==61070101である命令フローを受信したと決定する場合に、カードリーダデバイス決定モジュールはタイマを起動し、タイマが切れる前に第1NCI命令フローを受信しなかった場合にS905を実行する。 S903. If it is determined that an instruction flow with NCI==61070101 has been received, the card reader device determination module starts a timer and executes S905 if the first NCI instruction flow is not received before the timer expires.
この場合に、カードリーダデバイス決定モジュールは、タイマが切れる前に第1NCI命令フローを受信しない場合には、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスがアクセスカードのカードリーダデバイスであることを決定してよい。次に、カードリーダデバイス決定モジュールは、アクセスカードのカードリーダデバイスがユーザ識別(user identification, UID)アクセスカードであることをさらに決定してよい。 In this case, if the card reader device determination module does not receive the first NCI command flow before the timer expires, the card reader device determination module determines that the peer NFC card reader device is the card reader device of the access card. You may decide. The card reader device determination module may then further determine that the card reader device of the access card is a user identification (UID) access card.
S904。NCI==61070101である命令フローが受信されたと決定された後、カードリーダデバイス決定モジュールが第1NCI命令フローを受信し、第1NCI命令フローの中でNCI==6105xxyy00000000000000000000である場合に、カードリーダデバイス決定モジュールはS905を実行する。 S904. After it is determined that an instruction flow with NCI==61070101 is received, the card reader device determination module receives the first NCI instruction flow and if NCI==6105xxyy00000000000000000000 in the first NCI instruction flow, the card reader device The determination module executes S905.
この場合に、カードリーダデバイス決定モジュールは、NCI==61070101である命令フローを受信した後、NCI==6105xxyy00000000000000000000のNCI命令フローをさらに受信した場合には、カードリーダデバイス決定モジュールは、ピアNFCカードリーダデバイスがアクセスカードのカードリーダデバイスであることを決定してよい。次に、カードリーダモジュールは、アクセスカードのカードリーダデバイスがMifareアクセスカードであることをさらに決定してよい。ここで、6105は、RFアクティブ化通知メッセージのタイプ定義であり、xxは以下のバイトの長さを表し、yyは、RF識別番号(identity document, ID)を表す。 In this case, if the card reader device determination module receives an instruction flow with NCI==61070101 and then further receives an NCI instruction flow with NCI==6105xxyy00000000000000000000, the card reader device determination module determines whether the peer NFC card The reader device may be determined to be an access card card reader device. The card reader module may then further determine that the card reader device of the access card is a Mifare access card. Here, 6105 is the type definition of the RF activation notification message, xx represents the length of the following bytes, and yy represents the RF identification number (identity document, ID).
S905。カードリーダデバイス決定モジュールは、デフォルトアプリケーション内で、アクティブ化されたカードのAIDリストを取得する。 S905. The card reader device determination module obtains the AID list of activated cards within the default application.
S906。カードリーダデバイス決定モジュールは、AIDリストがアクセスカードに対応するAIDを含むか否かを決定する。 S906. The card reader device determination module determines whether the AID list includes an AID corresponding to an access card.
S907。AIDリストがアクセスカードに対応するAIDを含むと決定した場合に、カードリーダ決定モジュールは、アクセスカードがデフォルトアプリケーションのデフォルトカードであるか否かを決定する。 S907. If it is determined that the AID list includes an AID corresponding to the access card, the card reader determination module determines whether the access card is a default card for the default application.
S908。AIDリストがアクセスカードに対応するAIDを含まないと決定した場合に、カードリーダ決定モジュールは、デフォルトアプリケーションが前景にポップアップしないことを指示する。 S908. If it is determined that the AID list does not include an AID corresponding to an access card, the card reader determination module indicates that the default application will not pop up to the foreground.
S909。アクセスカードが、デフォルトアプリケーションでデフォルトカードである場合は、デフォルトアプリケーションがアクセスカードを前景でポップアップすることを指示する。 S909. If the access card is the default card in the default application, indicates that the default application should pop up the access card in the foreground.
一実施形態では、デフォルトアプリケーションは、アクセスカードを自動的にポップアップし、電子デバイスは、ディスプレイを使用してアクセスカードに関する情報を表示してよい。 In one embodiment, the default application may automatically pop up the access card and the electronic device may use the display to display information about the access card.
S910。アクセスカードが、デフォルトアプリケーションでデフォルトカードでない場合は、アクセスカードをアクティブ化し、デフォルトカードを非アクティブ化するように、SEに指示する。 S910. If the access card is not the default card in the default application, instruct the SE to activate the access card and deactivate the default card.
例えば、「ウォレット」内のデフォルトカードが長安カードである場合に、対応するアクセスカードをアクティブ化し、長安カードを非アクティブ化するように、カードリーダ決定モジュールはSEに指示してよい。 For example, if the default card in the "wallet" is a Changan card, the card reader determination module may instruct the SE to activate the corresponding access card and deactivate the Changan card.
SEがアクセスカードをアクティブ化し、デフォルトカードを非アクティブ化した後、デフォルトアプリケーションは、アクセスカードを前景でポップアップするように指示される。 After the SE activates the access card and deactivates the default card, the default application is instructed to pop up the access card in the foreground.
一実施形態では、2つ以上のアクセスカードがデフォルトアプリケーションに記憶される。この場合に、アクセスカードをアクティブ化し、デフォルトカードを非アクティブ化するようSEに指示する際に、カードリーダ決定モジュールは、特定のアクセスカードをアクティブ化することを指示してよい。アクティブ化するアクセスカードを選択するとき、履歴としてのカードのスワイピング記録や、電子デバイスの現在の地理的位置などに基づいて、カードリーダ決定モジュールは、アクティブ化する必要があるアクセスカードを選択してよい。 In one embodiment, more than one access card is stored in the default application. In this case, in instructing the SE to activate an access card and deactivate a default card, the card reader determination module may instruct to activate a particular access card. When selecting an access card to activate, the card reader determination module selects the access card that needs to be activated based on historical card swiping records, current geographic location of the electronic device, etc. It's fine.
例えば、ユーザが1か月以内に、第1アクセスカードを100回使用し、第2アクセスカードを2回使用する場合に、カードリーダ決定モジュールは、アクティブ化されようとする第1アクセスカードを選択することができる。 For example, if the user uses the first access card 100 times and the second access card twice within one month, the card reader determination module selects the first access card to be activated. can do.
例えば、アクティブ化する必要があるアクセスカードを選択するとき、カードリーダ決定モジュールは、電子デバイスの現在の地理的位置を決定してよく、例えば、全地球測位システム(global positioning system, GPS)を使用して現在の地理的位置を取得し、次に、地理的位置を使用して、アクティブ化するアクセスカードを決定してよい。 For example, when selecting an access card that needs to be activated, the card reader determination module may determine the current geographic location of the electronic device, e.g., using a global positioning system (GPS). to obtain the current geographic location and then use the geographic location to determine which access card to activate.
アクティブ化する必要があるアクセスカードは、別の方式で選択してよいことを理解するものとする。これは、本出願のこの実施形態では限定されない。 It is understood that the access cards that need to be activated may be selected in other ways. This is not limited in this embodiment of the present application.
前述の実施形態では、以下のことを述べている。即ち、NFCCは、NCI命令フローをNFC serviceネットワーク要素にアップロードし、NFC serviceネットワーク要素は、ピアNFCカードリーダデバイスのタイプを決定するために、決定用のカードリーダデバイス決定モジュールへNCI命令フローを伝送する。本出願は、さらに、図10に示すような別のシステムアーキテクチャーを提供する。NFCCは、NCI命令フローをNFC serviceネットワーク要素にアップロードしないことが可能であるが、NFCCは、決定用のカードリーダデバイス決定モジュールにNCI命令フローを直接伝送する。決定後、NFCC,NFC driver,NFC HAL,NFCプロトコルスタック,NFC JNI,及びNFC serviceを使用して、カードリーダデバイス決定モジュールは、決定結果をアプリケーションへ伝送してよく、アプリケーションが前景にポップアップするように指示、又はアプリケーションが前景にポップアップしないように指示してよい。 The above embodiment describes the following. That is, the NFCC uploads the NCI instruction flow to the NFC service network element, and the NFC service network element transmits the NCI instruction flow to the card reader device determination module for determination in order to determine the type of the peer NFC card reader device. do. The present application further provides another system architecture as shown in FIG. The NFCC may not upload the NCI instruction flow to the NFC service network element, but the NFCC directly transmits the NCI instruction flow to the card reader device determination module for determination. After the determination, using the NFCC, NFC driver, NFC HAL, NFC protocol stack, NFC JNI, and NFC service, the card reader device determination module may transmit the determination result to the application so that the application pops up in the foreground. or you can tell the application not to pop up in the foreground.
カードリーダデバイス決定モジュールの決定結果は、NCI命令フローを使用して報告してよい。この場合に、プライベート拡張NCI指示定義を追加することができ、「カードリーダデバイス決定モジュール」の決定結果を報告及び通知するために指示定義を使用する。従って、新たに追加されたプライベートNCI命令フローを報告及び処理するために、既存のネットワーク要素、即ち「NFCコントローラ」、「NFC HAL」、「NFCプロトコルスタック」、「NFC JNI」及び「NFC service」を修正する必要がある。 The determination results of the card reader device determination module may be reported using the NCI instruction flow. In this case, a private extended NCI instruction definition can be added, and the instruction definition is used to report and notify the decision result of the "Card Reader Device Determination Module". Therefore, in order to report and process the newly added private NCI instruction flow, the existing network elements, namely "NFC controller", "NFC HAL", "NFC protocol stack", "NFC JNI" and "NFC service" needs to be corrected.
本出願の実施形態では、NCI命令フローベースのカードリーダデバイス決定モジュールがNFCコントローラネットワーク要素に追加される。その後、新たに追加されたNCI命令を使用して、決定結果がNFC serviceネットワーク要素に報告及び通知され、ピアカードリーダデバイスのタイプに基づいて、関連アプリケーションが存在しない場合に、特定のアプリケーションをポップアップするか、又はいかなるアプリケーションもポップアップしないかを決定する。 In embodiments of the present application, an NCI instruction flow-based card reader device determination module is added to the NFC controller network element. The decision result is then reported and notified to the NFC service network element using the newly added NCI instructions to pop up the specific application if the associated application is not present based on the type of peer card reader device. or no applications will pop up.
実施形態はさらに、コンピュータ可読な記憶媒体を提供する。コンピュータ記憶媒体はコンピュータ命令を記憶する。コンピュータ命令が電子デバイス上で実行された場合に、電子デバイスは、関連する方法ステップを実行し、前述の実施形態では近距離通信方法を実施することが可能とされる。 Embodiments further provide a computer readable storage medium. Computer storage media store computer instructions. When the computer instructions are executed on the electronic device, the electronic device is enabled to perform the associated method steps and implement the near field communication method in the embodiments described above.
実施形態で提供される電子デバイス、コンピュータ可読な記憶媒体、又はチップは、上記で提供される対応する方法を実行するように構成されている。従って、達成可能な有益な効果については、上記の対応する方法における有益な効果を参照するものとする。詳細は、ここでは再度説明しない。 The electronic device, computer readable storage medium or chip provided in the embodiments is configured to perform the corresponding method provided above. Regarding the achievable beneficial effects, reference is therefore made to the beneficial effects in the corresponding methods described above. The details will not be explained again here.
実施に関する前述の説明は、便利で簡単な説明のために、前述の機能モジュールの分割が例示のための一例として取られていることを、当業者が理解することを可能にする。実際のアプリケーションでは、上述の機能を異なる機能モジュールに割り当てて、要件に基づいて実施してよい。即ち、装置内部の構造を異なる機能モジュールに分割し、上述の機能の全部又は一部を実施する。 The foregoing description of implementation allows those skilled in the art to understand that, for convenience and simple explanation, the foregoing division of functional modules is taken as an illustrative example. In actual applications, the above-mentioned functions may be assigned to different functional modules to be implemented based on requirements. That is, the internal structure of the device is divided into different functional modules to implement all or part of the above-mentioned functions.
本出願で提供されるいくつかの実施形態では、開示された装置及び方法は、他の方式で実施してよいことを理解するものとする。例えば、記載された装置の実施形態は、単なる一例である。例えば、モジュール又はユニットへの分割は、単に論理機能分割であり、実際の実施の間の他の分割であってよい。例えば、複数のユニット又は構成要素は、他の装置に組み合わせられ又は一体化されてよく、又は、いくつかの特徴は、無視されてよく、又は実行されなくてよい。加えて、表示又は説明された相互結合、直接結合、又は通信接続は、いくつかのインターフェースを使用して実現してよい。装置又はユニット間の間接的な結合又は通信接続は、電気的、機械的、又は他の形態で実施してよい。 It is to be understood that in some embodiments provided in this application, the disclosed apparatus and methods may be implemented in other manners. For example, the described device embodiment is merely one example. For example, the division into modules or units may be merely a logical functional division or other division during the actual implementation. For example, units or components may be combined or integrated into other devices, or some features may be ignored or not implemented. Additionally, the interconnections, direct couplings, or communication connections shown or described may be implemented using a number of interfaces. Indirect coupling or communication connections between devices or units may be implemented electrically, mechanically, or otherwise.
別個の部分として記載された単位は、物理的に分離されていてよく、又はされていなくてよく、単位として表示された部分は、1つ以上の物理的単位であってよく、言い換えると、1つの場所に配置されてよく、又は異なる場所に分散されてよい。ユニットの一部又は全部は、実施形態の解決策の目的を達成するために、実際の要件に基づいて選択されてよい。 Units described as separate parts may or may not be physically separated, and parts described as a unit may be one or more physical units, in other words, one They may be located at one location or may be distributed at different locations. Some or all of the units may be selected based on actual requirements to achieve the purpose of the solution of the embodiments.
さらに、本出願の実施形態における機能ユニットは、1つの処理ユニットに統合されてよく、又はユニットの各々は、物理的に単独で存在してよく、又は2つ以上のユニットが1つのユニットに統合されてよい。統合されたユニットは、ハードウェアの形態で実施されてよく、又はソフトウェア機能ユニットの形態で実施されてよい。 Furthermore, the functional units in embodiments of the present application may be integrated into one processing unit, or each of the units may be physically present alone, or two or more units may be integrated into one unit. It's okay to be. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
統合されたユニットがソフトウェア機能ユニットの形態で実施され、独立した製品として販売又は使用される場合に、統合されたユニットは可読な記憶媒体に記憶されてよい。このような理解に基づいて、本質的に、本出願の実施形態の技術的解決策、又は従来技術に寄与する部分、又は技術的解決策の全部又は一部は、ソフトウェア製品の形態で実施してよい。ソフトウェア製品は、記憶媒体に記憶され、本出願の実施形態に記載される方法のステップの全て又は一部を実行するように、デバイス(シングルチップマイクロコンピュータ、チップなどであってよい)又はプロセッサ(processor)に指示するためのいくつかの命令を含む。前述の記憶媒体は、プログラムコードを記憶することができる任意の媒体、例えば、USBフラッシュドライブ、リムーバブルハードディスク、読み出し専用メモリ(read-only memory, ROM)、ランダムアクセスメモリ(random access memory, RAM)、磁気ディスク、又は光ディスクなどを含む。 If the integrated unit is implemented in the form of a software functional unit and sold or used as a separate product, the integrated unit may be stored on a readable storage medium. Based on this understanding, essentially the technical solution of the embodiments of the present application, or the part contributing to the prior art, or all or part of the technical solution, may be implemented in the form of a software product. It's fine. The software product is stored on a storage medium and configured to perform all or some of the method steps described in the embodiments of the present application on a device (which may be a single-chip microcomputer, chip, etc.) or a processor ( Contains several instructions for instructing the processor. The aforementioned storage medium may be any medium capable of storing program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), Includes magnetic disks, optical disks, etc.
前述の内容は、本出願の特定の実施に過ぎないが、本出願の保護範囲を制限することを意図したものではない。本出願に開示された技術的範囲内で、当業者が容易に理解できる変更又は代替は、本出願の保護範囲に含まれる。従って、本出願の保護範囲は、請求項の保護範囲に従うものとする。 The foregoing contents are only specific implementations of the present application, but are not intended to limit the protection scope of the present application. Changes or substitutions that are easily understood by those skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (14)
カードリーダデバイスに近づいた場合に、前記カードリーダデバイスによって伝送された近距離通信(NFC)フィールド強度感知メッセージを、前記電子デバイスによって受領するステップと、
前記カードリーダデバイスによって伝送された第1指示情報を、前記電子デバイスによって受領するステップであって、前記第1指示情報は、無線周波数回路(RF)の第1リスニングモードを示すために使用される、ステップと、
前記カードリーダデバイスによって伝送された第2指示情報を前記電子デバイスによって受領するステップであって、前記第2指示情報は、前記第2カードに対応するアプリケーション識別子(AID)を示すために使用されるか、又は前記第2指示情報は、アプリケーションデータパケットであり、前記アプリケーションデータパケットは、AIDに関する情報を含まないものである、ステップと、
前記第2指示情報が、前記第2カードに対応する前記AIDを示すために使用される場合に、前記電子デバイスによって、前記第2カードを使用することにより、前記カードリーダデバイスとのトランザクションを実行し、前記第1アプリケーション内で前記第2カードに関する情報を表示するステップと、
前記第1リスニングモードがプリセットのリスニングモードでない場合又は前記第2指示情報が前記アプリケーションデータパケットである場合に、前記電子デバイスによって、前記第1アプリケーションに関する情報を表示することをスキップするステップと、
を備えている、方法。 A near field communication method, the method being applied to an electronic device, the electronic device including a first application, the first application including a plurality of virtual cards, and the plurality of virtual cards including a first application. 1 card and a second card, the first card being an activated card and the second card being a non-activated card, the method comprising:
receiving by the electronic device a near field communication ( NFC ) field strength sensing message transmitted by the card reader device when approaching the card reader device;
receiving by the electronic device first indication information transmitted by the card reader device, the first indication information being used to indicate a first listening mode of a radio frequency circuit (RF); , step and
receiving by the electronic device second instructional information transmitted by the card reader device, the second instructional information being used to indicate an application identifier ( AID ) corresponding to the second card; or the second instruction information is an application data packet, and the application data packet does not include information regarding the AID;
performing a transaction with the card reader device by using the second card, when the second instruction information is used to indicate the AID corresponding to the second card; displaying information regarding the second card within the first application ;
skipping displaying information regarding the first application by the electronic device if the first listening mode is not a preset listening mode or if the second instruction information is the application data packet ;
How to do it.
前記電子デバイスが前記第1アプリケーション内で前記第2カードに関する前記情報を表示する前に、当該方法は、
前記電子デバイスによって、前記AIDリストでの前記第2カードをアクティブ化し、前記第1カードを非アクティブ化するステップを、さらに備えている、
請求項1記載の方法。 The electronic device includes a secure element ( SE ) , the SE stores an AID list, the AID list including information about the first card and the information about the second card;
Before the electronic device displays the information regarding the second card within the first application, the method includes:
activating the second card and deactivating the first card in the AID list by the electronic device;
The method according to claim 1.
請求項1又は2記載の方法。 the preset listening mode is NFC_A_PASSIVE listening mode;
The method according to claim 1 or 2 .
前記電子デバイスによって、前記第2カードの料金控除情報及び/又は残高情報を表示することを含む、
請求項1ないし3のいずれか1項に記載の方法。 The second card is a bus card or a bank card, and displaying information regarding the second card within the first application comprises:
displaying charge deduction information and/or balance information of the second card by the electronic device;
A method according to any one of claims 1 to 3 .
ディスプレイと、
1つ以上のプロセッサと、
1つ以上のメモリと、
近距離通信(NFC)チップと、
アプリケーションプロセッサ(AP)チップとを備え、
前記APチップは、第1アプリケーションを含み、前記第1アプリケーションは、複数の仮想カードを含み、複数の前記仮想カードは、第1カードと第2カードとを含み、前記第1カードは、アクティブ化されたカードであり、前記第2カードは、アクティブ化されていないカードであり、
1つ以上の前記メモリは、1つ以上のコンピュータプログラムを記憶し、1つ以上の前記コンピュータプログラムは、命令を含み、前記命令が1つ以上の前記プロセッサによって実行された場合に、当該電子デバイスは、以下のステップ、即ち、
カードリーダデバイスに近づいた場合に、前記カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージを受領するステップと、
前記カードリーダデバイスによって伝送された第1指示情報を受領するステップであって、前記第1指示情報は、無線周波数回路(RF)の第1リスニングモードを示す、ステップと、
前記カードリーダデバイスによって伝送された第2指示情報を受領するステップであって、前記第2指示情報は、前記第2カードに対応するアプリケーション識別子(AID)を示すために使用されるか、又は前記第2指示情報は、アプリケーションデータパケットであり、前記アプリケーションデータパケットは、AIDに関する情報を含まないものである、ステップと、
前記第2指示情報が、前記第2カードに対応する前記AIDを示すために使用される場合に、前記第2カードを使用することにより、前記カードリーダデバイスとのトランザクションを実行し、前記第1アプリケーション内で前記第2カードに関する情報を表示するステップと、
前記第1リスニングモードがプリセットのリスニングモードでない場合又は前記第2指示情報が前記アプリケーションデータパケットである場合に、前記第1アプリケーションに関する情報を表示することをスキップするステップと
を実行することが可能にされる、電子デバイス。 An electronic device,
display and
one or more processors;
one or more memories;
Near field communication ( NFC ) chip,
Equipped with an application processor ( AP ) chip,
The AP chip includes a first application, the first application includes a plurality of virtual cards, the plurality of virtual cards include a first card and a second card, and the first card is activated. the second card is a non-activated card;
One or more of the memories store one or more computer programs, the one or more computer programs including instructions, and when the instructions are executed by the one or more processors, the electronic device requires the following steps, namely:
receiving an NFC field strength sensing message transmitted by the card reader device when approaching the card reader device ;
receiving first indication information transmitted by the card reader device, the first indication information indicating a first listening mode of a radio frequency circuit (RF);
receiving second instructional information transmitted by the card reader device, the second instructional information being used to indicate an application identifier ( AID ) corresponding to the second card; the second instruction information is an application data packet, and the application data packet does not include information regarding the AID;
If the second instruction information is used to indicate the AID corresponding to the second card, then the second card is used to perform a transaction with the card reader device and the first displaying information about the second card within an application ;
skipping displaying information regarding the first application if the first listening mode is not a preset listening mode or if the second instruction information is the application data packet. electronic devices.
前記第1アプリケーション内で前記第2カードに関する前記情報を表示する前に、前記AIDリストでの前記第2カードをアクティブ化し、前記第1カードを非アクティブ化するステップを実行することが可能にされる、
請求項5記載の電子デバイス。 The electronic device further comprises a secure element ( SE ) , the SE storing an AID list, the AID list including information about the first card and the information about the second card, and the SE is configured to: When executed by one or more of the processors, the electronic device performs the following steps:
Prior to displaying the information regarding the second card within the first application, it is possible to perform the steps of activating the second card in the AID list and deactivating the first card. Ru,
The electronic device according to claim 5 .
請求項5又は6記載の電子デバイス。 the preset listening mode is NFC_A_PASSIVE listening mode;
The electronic device according to claim 5 or 6 .
前記第2カードの料金控除情報及び/又は残高情報を表示することを含む、
請求項5ないし7のいずれか1項に記載の電子デバイス。 The second card is a bus card or a bank card, and displaying information regarding the second card within the first application comprises:
Displaying charge deduction information and/or balance information of the second card;
The electronic device according to any one of claims 5 to 7 .
前記APチップは、第1アプリケーションを含み、前記第1アプリケーションは、複数の仮想カードを含み、複数の前記仮想カードは、第1カードと第2カードとを含み、前記第1カードは、アクティブ化されたカードであり、前記第2カードは、アクティブ化されていないカードであり、
前記NFCチップは、カードリーダデバイスによって伝送されたNFCフィールド強度感知メッセージと第1指示情報と第2指示情報とを受領するよう構成され、前記第1指示情報は、無線周波数回路(RF)の第1リスニングモードを示し、前記第2指示情報は、前記第2カードに対応するアプリケーション識別子(AID)を示すために使用されるか、又は前記第2指示情報は、アプリケーションデータパケットであり、前記アプリケーションデータパケットは、AIDに関する情報を含まないものであり、
前記APチップは、前記NFCチップによって伝送されたNFCフィールド強度メッセージと前記第1指示情報と前記第2指示情報とを受領するよう構成され、
前記第2カードに対応する前記AIDを示すために前記第2指示情報が使用される場合に、前記APチップは、前記第2カードを使用することにより、前記カードリーダデバイスとのトランザクションを実行し、前記第1アプリケーション内で前記第2カードに関する情報を表示するようにディスプレイを制御するようさらに構成され、
前記第1リスニングモードがプリセットのリスニングモードでない場合又は前記第2指示情報が前記アプリケーションデータパケットである場合に、前記APチップは、前記第1アプリケーションに関する情報を表示しないように前記ディスプレイを制御するようさらに構成されている、チップシステム。 A chip system comprising an application processor ( AP ) chip and a near field communication ( NFC ) chip, the chip system comprising:
The AP chip includes a first application, the first application includes a plurality of virtual cards, the plurality of virtual cards include a first card and a second card, and the first card is activated. the second card is a non-activated card;
The NFC chip is configured to receive an NFC field strength sensing message transmitted by a card reader device, first instruction information, and second instruction information , the first instruction information being a first instruction information of a radio frequency circuit (RF). 1 listening mode, the second indication information is used to indicate an application identifier ( AID ) corresponding to the second card, or the second indication information is an application data packet, and the second indication information is an application data packet, and the second indication information is used to indicate an application identifier (AID) corresponding to the second card; The data packet does not include information regarding AID,
the AP chip is configured to receive an NFC field strength message, the first indication information and the second indication information transmitted by the NFC chip;
If the second instruction information is used to indicate the AID corresponding to the second card, the AP chip performs a transaction with the card reader device by using the second card. , further configured to control a display to display information about the second card within the first application;
When the first listening mode is not a preset listening mode or when the second instruction information is the application data packet, the AP chip controls the display not to display information regarding the first application. The chip system is further configured.
前記NFCチップは、セキュア要素(SE)に前記指示情報を伝送するようさらに構成され、前記SEは、AIDリストを記憶し、前記AIDリストは、前記第1カードに関する情報と前記第2カードに関する前記情報とを含む、請求項9記載のチップシステム。 The AP chip is further configured to transmit instruction information to the NFC chip before controlling the display to display the information about the second card within the first application, the instruction information comprising : , used to instruct the second card to be activated and the first card to be deactivated;
The NFC chip is further configured to transmit the instruction information to a secure element ( SE ) , the SE storing an AID list, the AID list including information about the first card and the information about the second card. The chip system according to claim 9 , comprising information.
請求項9又は10記載のチップシステム。 the preset listening mode is NFC_A_PASSIVE listening mode;
The chip system according to claim 9 or 10 .
前記第2カードの料金控除情報及び/又は残高情報を表示するように前記ディスプレイを制御するよう具体的に構成されている、
請求項9ないし11のいずれか1項に記載のチップシステム。 The second card is a bus card or a bank card, and the AP chip is
specifically configured to control the display to display charge deduction information and/or balance information of the second card;
Chip system according to any one of claims 9 to 11 .
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910883006.0A CN112529564A (en) | 2019-09-18 | 2019-09-18 | Method and electronic equipment for near field wireless communication |
| CN201910883006.0 | 2019-09-18 | ||
| PCT/CN2020/115904 WO2021052421A1 (en) | 2019-09-18 | 2020-09-17 | Near field communication method and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022548910A JP2022548910A (en) | 2022-11-22 |
| JP7378598B2 true JP7378598B2 (en) | 2023-11-13 |
Family
ID=74883366
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022517411A Active JP7378598B2 (en) | 2019-09-18 | 2020-09-17 | Near field communication methods and electronic devices |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US20220343317A1 (en) |
| EP (1) | EP4024245A4 (en) |
| JP (1) | JP7378598B2 (en) |
| CN (2) | CN114638605A (en) |
| WO (1) | WO2021052421A1 (en) |
Families Citing this family (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105988776B (en) * | 2015-01-27 | 2019-11-26 | 阿里巴巴集团控股有限公司 | Release processing method and processing device |
| CN111581994B (en) * | 2020-05-06 | 2024-05-03 | 维沃移动通信有限公司 | Near field communication NFC communication method and device and electronic equipment |
| CN115348566B (en) * | 2021-05-13 | 2026-01-30 | Oppo广东移动通信有限公司 | Near-field communication methods, mobile terminals and storage media |
| CN114501316B (en) * | 2021-08-19 | 2022-12-16 | 荣耀终端有限公司 | Virtual card switching method and electronic equipment |
| CN113840279B (en) * | 2021-09-22 | 2024-05-14 | Oppo广东移动通信有限公司 | Analog card activation method, device, terminal and storage medium |
| CN115018483B (en) * | 2021-11-19 | 2023-05-30 | 荣耀终端有限公司 | Application processing method, terminal device and storage medium |
| CN114519407B (en) * | 2022-01-10 | 2024-10-29 | 维沃移动通信有限公司 | Display control method, device, electronic equipment and medium |
| CN116489266A (en) * | 2022-01-14 | 2023-07-25 | 深圳市微付充科技有限公司 | Virtual application starting method, mobile device, card reading device and storage medium |
| CN118536117B (en) * | 2022-03-09 | 2025-03-14 | 华为技术有限公司 | Transaction method and terminal for security service |
| CN114501410A (en) * | 2022-04-02 | 2022-05-13 | 北京紫光青藤微系统有限公司 | Method and device for uploading information, secure element and storage medium |
| USD1025131S1 (en) * | 2022-05-05 | 2024-04-30 | Capital One Services, Llc | Display screen with graphical user interface for card communication |
| CN115002659B (en) * | 2022-05-25 | 2025-07-11 | Oppo广东移动通信有限公司 | NFC card determination method, device, electronic device and storage medium |
| CN115438689A (en) * | 2022-08-09 | 2022-12-06 | 深圳市欢太数字科技有限公司 | Near field communication function management method and device, electronic equipment and storage medium |
| CN115167952B (en) * | 2022-08-25 | 2023-01-20 | 深圳市汇顶科技股份有限公司 | Security element, application program management method, electronic device and storage medium |
| CN115665314B (en) * | 2022-10-18 | 2024-07-05 | 杭州逗酷软件科技有限公司 | Screen display method, device, terminal and computer readable storage medium |
| CN115633341B (en) * | 2022-10-27 | 2025-12-05 | 无锡融卡科技有限公司 | A multi-protocol compatible NFC full card |
| CN116647808A (en) * | 2023-06-26 | 2023-08-25 | 深圳市每开创新科技有限公司 | A kind of NFC alignment method, NFC control terminal and storage medium |
| CN119721079A (en) * | 2023-09-28 | 2025-03-28 | Oppo广东移动通信有限公司 | Simulation card processing method, device, equipment, storage medium and product |
| CN117236350A (en) * | 2023-11-13 | 2023-12-15 | 北京紫光青藤微系统有限公司 | Method and device for displaying NFC analog card, electronic equipment and medium |
| CN117749936B (en) * | 2024-02-19 | 2024-12-17 | 花瓣支付(深圳)有限公司 | Display method, electronic device and computer storage medium |
| US20250278717A1 (en) * | 2024-03-01 | 2025-09-04 | Apple Inc. | Third-party application-based credential management |
| US20250278715A1 (en) * | 2024-03-01 | 2025-09-04 | Apple Inc. | Third-party application-based credential management |
| CN121037826B (en) * | 2025-10-31 | 2026-03-31 | 支付宝(杭州)数字服务技术有限公司 | NFC-based information transmission methods, devices, and equipment |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017533528A (en) | 2014-09-22 | 2017-11-09 | マスターカード インターナショナル インコーポレーテッド | Payment system and method for managing use of payment cards |
| WO2019061801A1 (en) | 2017-09-28 | 2019-04-04 | 华为技术有限公司 | Terminal transaction method and terminal |
| WO2019134591A1 (en) | 2018-01-05 | 2019-07-11 | 华为技术有限公司 | Electronic transaction method and terminal |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101421568B1 (en) * | 2012-07-27 | 2014-07-22 | 주식회사 케이티 | Smart card, device and method for smart card service |
| CN105472534A (en) * | 2014-09-24 | 2016-04-06 | 西安酷派软件科技有限公司 | Switching method and switching system of NFC working mode and terminal |
| JP5920747B1 (en) * | 2015-04-07 | 2016-05-18 | エイピーエス.エスエイ | Application programs and cards |
| EP3289549A1 (en) * | 2015-06-07 | 2018-03-07 | Apple Inc. | Provisioning multiple secure credentials on an electronic device |
| CN105491243A (en) * | 2016-01-18 | 2016-04-13 | 努比亚技术有限公司 | NFC mobile terminal and NFC simulation card switching control method |
| WO2018048730A1 (en) * | 2016-09-06 | 2018-03-15 | Apple Inc. | Express credential transaction system |
| US9842330B1 (en) * | 2016-09-06 | 2017-12-12 | Apple Inc. | User interfaces for stored-value accounts |
| CN106920090A (en) * | 2017-02-24 | 2017-07-04 | 北京小米移动软件有限公司 | NFC payment and device |
| CN109478904B (en) * | 2017-06-02 | 2020-12-15 | 华为技术有限公司 | A kind of NFC business processing method, terminal and storage medium |
| CN108734005B (en) * | 2018-02-09 | 2021-02-09 | 深圳市微付充科技有限公司 | Security/identity authentication method, mobile equipment and storage device |
| CN110020569B (en) * | 2019-03-11 | 2022-03-29 | 华为技术有限公司 | Method for automatically selecting NFC analog card, electronic equipment and communication system |
| CN110035180B (en) * | 2019-04-11 | 2022-01-28 | Oppo广东移动通信有限公司 | Card display method, device, terminal and storage medium |
-
2019
- 2019-09-18 CN CN202210131749.4A patent/CN114638605A/en active Pending
- 2019-09-18 CN CN201910883006.0A patent/CN112529564A/en active Pending
-
2020
- 2020-09-17 JP JP2022517411A patent/JP7378598B2/en active Active
- 2020-09-17 US US17/761,329 patent/US20220343317A1/en not_active Abandoned
- 2020-09-17 WO PCT/CN2020/115904 patent/WO2021052421A1/en not_active Ceased
- 2020-09-17 EP EP20864889.9A patent/EP4024245A4/en not_active Withdrawn
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017533528A (en) | 2014-09-22 | 2017-11-09 | マスターカード インターナショナル インコーポレーテッド | Payment system and method for managing use of payment cards |
| WO2019061801A1 (en) | 2017-09-28 | 2019-04-04 | 华为技术有限公司 | Terminal transaction method and terminal |
| WO2019134591A1 (en) | 2018-01-05 | 2019-07-11 | 华为技术有限公司 | Electronic transaction method and terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4024245A4 (en) | 2022-10-26 |
| WO2021052421A1 (en) | 2021-03-25 |
| JP2022548910A (en) | 2022-11-22 |
| CN112529564A (en) | 2021-03-19 |
| EP4024245A1 (en) | 2022-07-06 |
| US20220343317A1 (en) | 2022-10-27 |
| CN114638605A (en) | 2022-06-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7378598B2 (en) | Near field communication methods and electronic devices | |
| CN112351322B (en) | Terminal device, method and system for realizing touch screen projection through remote controller | |
| EP4024168B1 (en) | Hand gesture interaction method and apparatus, and terminal device | |
| WO2021052290A1 (en) | Volume adjustment method and electronic device | |
| WO2020224449A1 (en) | Split-screen display operation method and electronic device | |
| CN118051111A (en) | A high energy efficiency display processing method and device | |
| CN112751954B (en) | Operation prompting method and electronic equipment | |
| CN111124503B (en) | Automatic activation method of NFC application and terminal | |
| CN110798568A (en) | Display control method of electronic equipment with folding screen and electronic equipment | |
| WO2021180089A1 (en) | Interface switching method and apparatus and electronic device | |
| CN112445276A (en) | Folding screen display application method and electronic equipment | |
| CN112583957A (en) | Display method of electronic device, electronic device and computer-readable storage medium | |
| WO2020118490A1 (en) | Automatic screen-splitting method, graphical user interface, and electronic device | |
| WO2021052407A1 (en) | Electronic device control method and electronic device | |
| CN111492678B (en) | A file transmission method and electronic device | |
| CN116027886A (en) | Display method and electronic device of a folding screen | |
| US11977946B2 (en) | Method for automatically activating NFC application and terminal | |
| WO2020221062A1 (en) | Navigation operation method and electronic device | |
| CN115442457B (en) | Method and electronic device for displaying target symbols | |
| CN114661190B (en) | Terminal window display method, terminal and storage medium | |
| CN113920638B (en) | Queuing and calling method and device based on wearable equipment | |
| CN114690985A (en) | Display method and electronic equipment | |
| CN116346976B (en) | A multi-screen unlocking method and electronic device | |
| CN114089902A (en) | Gesture interaction method and device and terminal equipment | |
| WO2024139257A1 (en) | Method for displaying interfaces of application programs and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220509 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220509 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230426 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230523 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230822 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20231003 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231031 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7378598 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |