CN110083397A - A method of shielding iPhone NFC payment function interface pop-up - Google Patents
A method of shielding iPhone NFC payment function interface pop-up Download PDFInfo
- Publication number
- CN110083397A CN110083397A CN201810068204.7A CN201810068204A CN110083397A CN 110083397 A CN110083397 A CN 110083397A CN 201810068204 A CN201810068204 A CN 201810068204A CN 110083397 A CN110083397 A CN 110083397A
- Authority
- CN
- China
- Prior art keywords
- payment function
- nfc payment
- iphone
- pop
- shielding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Abstract
A method of shielding iPhone NFC payment function interface pop-up, bottom library file PassKit is called to load configured local Credential data PKPass, bill addition controller PKAddPassesViewController class under newly-built bottom library file PassKit adds local Credential data PKPass, voucher preview interface is prevented to pop up, to shield the pop-up of NFC payment function interface.The present invention is not necessarily to propose mail application to Apple Inc. and via the interface automatic spring Apple Pay when the mobile phone close NFC certain distance for agreeing to solve the problems, such as iPhone6 or more, optimizes user experience.
Description
Technical field
The present invention relates to a kind of methods of shielding iPhone NFC payment function interface pop-up.
Background technique
The application of NFC technique and planar bar code technology in mobile-phone payment field is more and more wider, and at the same time and depositing.With NFC
The iPhone of function is when entering NFC reader radiofrequency field, the interface of meeting automatic spring Apple Pay.Much answering
With occasion, reader can support the recognition to contactless IC card (mobile phone including having NFC function), also be able to achieve simultaneously pair
The recognition of mobile phone two-dimension code, to complete corresponding application function.For the ease of the use of user, save user IC card is applied and
The operating position of two dimensional code application is distinguished, and the read head of reader and two dimensional code is generally arranged at same position or close positions,
When so as to cause opening the mobile phone of two dimensional code application close to two dimension code reading equipment, can automatic spring Apple Pay interface, from
And two dimensional code shown on two dimensional code application interface has been covered, affect the recognition of two dimensional code.
Especially targetedly a kind of application scenarios are such as: in the AFC system of subway, non-connecing what is supported originally
It on the ticket card basis of touch IC card form, needs to continue the subway ticket for supporting two-dimentional pattern, realizes that brush two dimensional code is out of the station.
In view of user's convenience out of the station, often the identification camera meeting of the reading and writing device antenna and two dimensional code of contactless IC card form
It is arranged in same or similar position, in this way, reader can trigger when user uses iPhone brush two dimensional code
The pop-up of the interface Apple Pay, covers in two dimensional code, to influence the operation to two dimensional code.
If it is intended to shielding Apple Pay payment interface pop-up, then need to file an application to Apple Inc., via apple
Audit team can apply after agreeing to, but the application to be granted an application on the market by apple audit team at present is very rare.
Widespread development with the continuous expansion and the public transport of mobile phone brush in iPhone market into subway, iPhone6 or more
Mobile phone all have NFC function, as long as and when enter the radiofrequency field of 13.56MHz with the iPhone of NFC function,
Mobile phone will determine to carry out paying and the interface of automatic spring Apple Pay, so that other being currently running on mobile phone be answered
It is sheltered from program interface, enters the interface Apple Pay which results in the involuntary formula of iPhone, having seriously affected user makes
With the experience of mobile phone.
Summary of the invention
The present invention provides a kind of method of shielding iPhone NFC payment function interface pop-up, without mentioning to Apple Inc.
Mail application and via automatic spring Apple when agreeing to solve the mobile phone of iPhone6 or more close to NFC certain distance out
The problem of interface Pay, optimize user experience.
In order to achieve the above object, the present invention provides a kind of method of shielding iPhone NFC payment function interface pop-up,
It calls bottom library file PassKit to load configured local Credential data PKPass, creates bottom library file
Bill under PassKit adds controller PKAddPassesViewController class to add the local Credential data of load
PKPass prevents voucher preview interface from popping up, to shield the pop-up of NFC payment function interface.
The method for shielding the pop-up of iPhone NFC payment function interface is applied to support the iPhone of NFC payment function.
When the application program with NFC payment function from when being switched to foreground from the background, shielding iPhone NFC payment is used
The method of function interface pop-up.
The local voucher is legal Wallet voucher, is the boarding card, discount coupon, ticket, general that apple official provides
Any one in this five kinds of legal types vouchers of type, purchase card.
When loading local Credential data PKPass, local or the configured good a certain type format of server are found
Card calls bottom library file PassKit to load binary system Credential data PKPass by configured Card storing path.
The present invention also provides a kind of mobile terminal, which includes processor and memory, processor for realizing
Various instructions, memory are suitable for shielding iPhone NFC payment function interface bullet for storing various instructions, the instruction
Out, include: calling bottom library file PassKit to load configured local Credential data PKPass, create bottom
Bill addition controller PKAddPassesViewController class under library file PassKit come add load it is local with
Data PKPass addition is demonstrate,proved, voucher preview interface is prevented to pop up, to shield the pop-up of NFC payment function interface.
The mobile terminal is the iPhone for supporting NFC payment function.
When the application program with NFC payment function from when being switched to foreground from the background, shielding iPhone NFC payment is used
The method of function interface pop-up.
The local voucher is legal Wallet voucher, is the boarding card, discount coupon, ticket, general that apple official provides
Any one in this five kinds of legal types vouchers of type, purchase card.
When loading local Credential data PKPass, local or the configured good a certain type format of server are found
Card calls bottom library file PassKit to load binary system Credential data PKPass by configured Card storing path.
The present invention is not necessarily to propose mail application to Apple Inc. and lean on via the mobile phone that agreement can solve iPhone6 or more
When nearly NFC certain distance the problem of the automatic spring interface Pay Apple, application program of mobile phone shields NFC payment function interface
After pop-up, obstruction of the NFC payment function interface to other operating functions of software is eliminated, user experience is optimized.
Detailed description of the invention
Fig. 1 is the flow chart of one embodiment of the invention.
Specific embodiment
Presently preferred embodiments of the present invention is illustrated below according to Fig. 1.
The comprehensive administration center Wallet of bill evidence is provided in the application program of iPhone, it can stepping on user
The institutes such as machine board, film ticket, discount coupon, bank card documentary is added to Wallet, in the comprehensive administration center of bill evidence
It can check the information such as the remaining sum, service life, place to use of voucher inside Wallet, when use directly passes through Wallet just
It can see all bill and voucher.
Apple Pay is a kind of mobile phone based on NFC that Apple Inc. issues in 2014 apple autumn new product releases
Payment function, it is formal online on October 20th, 2014.Apple Pay is without the use of special non-contact type terminal device, can
It is directly direct with the Express Pay of China Unionpay, the PayWave of VISA, the Pay Pass of Master Card and American Express
It is compatible.
The voucher having added in the comprehensive administration center Wallet of bill evidence can be carried out by Apple Pay
NFC payment.
As shown in Figure 1, the present invention provides a kind of method of shielding iPhone NFC payment function interface pop-up, Ke Yijin
Only in iPhone the interface Apple Pay pop-up, this method comprising the following steps:
Step S1, judge whether iPhone supports NFC payment function (i.e. support NFC opens wallet wallet), if so, into
Row step S2;
The Apple Pay bottom library text whether opened with Apple Inc. in hardware bottom layer frame by judging the iPhone
Part PassKit judges whether the iPhone supports NFC payment function, if had in the hardware bottom layer frame of the iPhone
The Apple Pay bottom library file PassKit for having Apple Inc. open then illustrates that the iPhone supports NFC payment function, such as
The Apple Pay bottom library file PassKit for not having Apple Inc. open in the hardware bottom layer frame of the fruit iPhone, then say
The bright iPhone does not support NFC payment function, without shielding NFC payment function interface;
Step S2, whether judgement has the function of the application program of NFC payment (Apple Pay) from being switched to foreground from the background, if
It is to carry out step S3;
Function can be monitored by call notification to monitor the application program with NFC payment function whether before being switched to from the background
Platform;
Step S3, judge whether shielded NFC payment function in the application program with NFC payment (Apple Pay)
The pop-up of energy interface, if so, end operation, if not, carrying out step S4;
Step S4, bottom library file PassKit is called to load configured local Credential data PKPass;
The local voucher of load is legal Wallet voucher, which can be five kinds of legal types vouchers of apple official offer
Any one in (boarding card, discount coupon, ticket, universal class, purchase card), the data content needed according to voucher is (in data
As long as appearance, which is arbitrary, meets credential requirement) locally generate;
The card of local or the configured good a certain type format of server is found, bottom library file PassKit is called to pass through
Configured Card storing path loads binary system Credential data PKPass, judges whether is Credential data PKPass under the path
Correctly, it if correctly, subsequent operation can be continued, if incorrect, stops operation;
Wherein, judge that the whether correct method of Credential data PKPass includes:
1, judge the PKPass file made whether can be searched out under path;
2, whether the PKPass file load that judgement is made has value later;
Step S5, the bill under newly-built bottom library file PassKit adds controller PKAddPassesViewController class
To add the local Credential data PKPass of load, prevention voucher preview interface pop-up, to shield NFC payment function interface bullet
Out;
PKAddPassesViewController class is a voucher preview interface, does not pop up this interface and then defaults and does not add.
The present invention realizes addition Wallet certificate portion function by library file to reach the bullet at the shielding interface Apple Pay
Out, by rewriting system method to achieve the effect that forbid the interface Apple Pay to pop up.
Shielding not only may be implemented when first time adding voucher and support the pop-up interface Apple Pay, application program
Also shielding may be implemented when being switched to foreground and support the pop-up interface Apple Pay.
The present invention is not necessarily to propose mail application to Apple Inc. and lean on via the mobile phone that agreement can solve iPhone6 or more
When nearly NFC certain distance the problem of the automatic spring interface Pay Apple, application program of mobile phone shields NFC payment function interface
After pop-up, obstruction of the NFC payment function interface to other operating functions of software is eliminated, user experience is optimized.
It is discussed in detail although the contents of the present invention have passed through above preferred embodiment, but it should be appreciated that above-mentioned
Description is not considered as limitation of the present invention.After those skilled in the art have read above content, for of the invention
A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.
Claims (10)
1. a kind of method of shielding iPhone NFC payment function interface pop-up, which is characterized in that call bottom library file
PassKit loads configured local Credential data PKPass, and the bill under newly-built bottom library file PassKit adds
Add controller PKAddPassesViewController class to add the local Credential data PKPass of load, prevents voucher pre-
Look at interface pop-up, thus shield NFC payment function interface pop-up.
2. the method for shielding iPhone NFC payment function interface pop-up as described in claim 1, which is characterized in that shielding
The method of iPhone NFC payment function interface pop-up is applied to support the iPhone of NFC payment function.
3. the method for shielding iPhone NFC payment function interface pop-up as described in claim 1, which is characterized in that work as tool
There is the application program of NFC payment function from when being switched to foreground from the background, is popped up using shielding iPhone NFC payment function interface
Method.
4. the method for shielding iPhone NFC payment function interface pop-up as described in claim 1, which is characterized in that described
Local voucher be legal Wallet voucher, be apple official provide boarding card, discount coupon, ticket, universal class, purchase card this
Any one in five kinds of legal types vouchers.
5. the method for shielding iPhone NFC payment function interface pop-up as claimed in claim 4, which is characterized in that adding
When carrying local Credential data PKPass, the card of local or the configured good a certain type format of server is found, calls bottom
Layer library file PassKit loads binary system Credential data PKPass by configured Card storing path.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor and memory, and processor is for realizing various
Instruction, memory are suitable for shielding iPhone NFC payment function interface pop-up for storing various instructions, the instruction,
Include: calling bottom library file PassKit to load configured local Credential data PKPass, create bottom library text
Bill under part PassKit adds controller PKAddPassesViewController class to add the local voucher number of load
According to PKPass, voucher preview interface is prevented to pop up, to shield the pop-up of NFC payment function interface.
7. mobile terminal as claimed in claim 6, which is characterized in that the mobile terminal is the apple for supporting NFC payment function
Mobile phone.
8. mobile terminal as claimed in claim 6, which is characterized in that when the application program with NFC payment function is from from the background
When being switched to foreground, the method for shielding iPhone NFC payment function interface pop-up is used.
9. mobile terminal as claimed in claim 6, which is characterized in that the local voucher is legal Wallet voucher, is
Boarding card that apple official provides, discount coupon, ticket, universal class, any one in purchase card this five kinds of legal types vouchers.
10. mobile terminal as claimed in claim 9, which is characterized in that when loading local Credential data PKPass, find this
The card on ground or the configured good a certain type format of server calls bottom library file PassKit to pass through configured card
Piece stores path and loads binary system Credential data PKPass.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810068204.7A CN110083397A (en) | 2018-01-24 | 2018-01-24 | A method of shielding iPhone NFC payment function interface pop-up |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810068204.7A CN110083397A (en) | 2018-01-24 | 2018-01-24 | A method of shielding iPhone NFC payment function interface pop-up |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110083397A true CN110083397A (en) | 2019-08-02 |
Family
ID=67412144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810068204.7A Pending CN110083397A (en) | 2018-01-24 | 2018-01-24 | A method of shielding iPhone NFC payment function interface pop-up |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110083397A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111192035A (en) * | 2019-12-27 | 2020-05-22 | 中电信用服务有限公司 | Multi-system consumption clearing configuration processing method and system |
CN115514744A (en) * | 2022-08-15 | 2022-12-23 | Oppo广东移动通信有限公司 | Page management method and device, mobile terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103392186A (en) * | 2012-12-28 | 2013-11-13 | 华为技术有限公司 | Payment method, payment |
US20170032292A1 (en) * | 2015-07-29 | 2017-02-02 | Flexera Software Llc | Method and Apparatus for Extracting Mobile Application Suitability Features for a Mobile Business Application |
-
2018
- 2018-01-24 CN CN201810068204.7A patent/CN110083397A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103392186A (en) * | 2012-12-28 | 2013-11-13 | 华为技术有限公司 | Payment method, payment |
US20170032292A1 (en) * | 2015-07-29 | 2017-02-02 | Flexera Software Llc | Method and Apparatus for Extracting Mobile Application Suitability Features for a Mobile Business Application |
Non-Patent Citations (1)
Title |
---|
WENTIANEN: "iOS PassKit Wallet 开发(Passbook 开发)", 《CSDN,HTTPS://BLOG.CSDN.NET/ANDANLAN/ARTICLE/ DETAILS/78113486》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111192035A (en) * | 2019-12-27 | 2020-05-22 | 中电信用服务有限公司 | Multi-system consumption clearing configuration processing method and system |
CN115514744A (en) * | 2022-08-15 | 2022-12-23 | Oppo广东移动通信有限公司 | Page management method and device, mobile terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10755256B1 (en) | Systems and methods for payment at a point of sale | |
US10410201B2 (en) | Mobile communication systems and methods for redeeming and reporting coupons | |
Lerner | Mobile payment | |
AU2008245880B2 (en) | Mobile payments system and method | |
AU2006323231B2 (en) | Smart card | |
EP2284783A1 (en) | Electronic wallet device | |
US20080191007A1 (en) | Methods and Systems for Identifying Fraudulent Transactions Across Multiple Accounts | |
US20060175418A1 (en) | Method for providing additional service based on dual UICC | |
CN104966199B (en) | Data processing method, client and payment platform | |
JP2002351623A (en) | Cellular telephone | |
CN106296175A (en) | Method of payment, merchant tenninal, bank transaction system, client terminal and system | |
CN106327175A (en) | Mobile payment application architecture | |
SE0004820D0 (en) | Procedure for increasing security when paying by credit and debit card | |
CN103942676A (en) | Mobile payment method and system | |
CN110020843A (en) | Red packet based on trustship account gets method and device, electronic equipment | |
CN106127478A (en) | Prepaid card account carrier is used to carry out the method for mobile payment under line | |
AU2006227794B2 (en) | Walkaway crediting | |
CN110083397A (en) | A method of shielding iPhone NFC payment function interface pop-up | |
CN101872513B (en) | Data processing method, device and system based on POS (Point-Of-Sale) machine | |
CN106488399A (en) | The determination method and device of point-of-sale terminal POS location | |
CN102081823A (en) | Method and device for reducing mobile payment transaction interferences and mobile terminal | |
CN103871160B (en) | The method and system that stored value card is supplemented with money in a kind of RFID UIM cards | |
CN108064383A (en) | A kind of management-control method, terminal and the POS terminal of application program permission | |
TW200303496A (en) | System and method for issuing card and processing blacklist using wireless communications | |
US20100332349A1 (en) | Systems and methods for fund transfers using prepaid calling cards and telephones |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |