CN111913773A - NFC card control method, NFC card control device and electronic equipment - Google Patents
NFC card control method, NFC card control device and electronic equipment Download PDFInfo
- Publication number
- CN111913773A CN111913773A CN202010761201.9A CN202010761201A CN111913773A CN 111913773 A CN111913773 A CN 111913773A CN 202010761201 A CN202010761201 A CN 202010761201A CN 111913773 A CN111913773 A CN 111913773A
- Authority
- CN
- China
- Prior art keywords
- card
- nfc card
- state
- target nfc
- input
- 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
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000012795 verification Methods 0.000 claims abstract description 203
- 238000004891 communication Methods 0.000 claims abstract description 11
- 230000004913 activation Effects 0.000 claims description 10
- 238000012546 transfer Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
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/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a NFC card control method, a control device and electronic equipment, and belongs to the technical field of communication. The method can improve the card swiping efficiency of a user through the NFC card, and comprises the following steps: determining that the verification state of the target NFC card is a passing safety verification state; under the condition that the display screen is bright, if a preset input is not received, keeping the verification state of the target NFC card as a passing safety verification state, and keeping a card interface for displaying the target NFC card; or, under the condition that the display screen is turned off, if the preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state; the preset input is input for passing the security verification and logging out the target NFC card.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a NFC card control method, a control device and electronic equipment.
Background
With the development of communication technology, more and more electronic devices are configured with Near Field Communication (NFC) hardware. The NFC card may be emulated in a card emulation mode as a physical card, such as a city transit card, an access card, a bank card, etc.
Generally, in the case that a user uses an NFC card, the user needs to trigger the electronic device to display a card package interface of NFC, then activate a certain NFC card in the card package interface of NFC, and then use the electronic device to swipe the card. In some card swiping scenarios, user 1 needs to pass the electronic device to user 2 so that user 2 helps with swiping the card.
However, the user 2 may mistakenly touch the NFC swipe interface to cause the electronic device to exit the NFC swipe interface, and the user 2 needs to transfer the electronic device back to the user 1, re-verify the identity of the user 1, re-activate the NFC card, and transfer the NFC card to the user 1 for swiping, so that the efficiency of swiping the card by the user through the NFC card is reduced.
Disclosure of Invention
The embodiment of the application aims to provide an NFC card control method, which can solve the problem of low card swiping efficiency of a user through an NFC card.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an NFC card control method, including: determining that the verification state of the target NFC card is a passing safety verification state; under the condition that the display screen is bright, if a preset input is not received, the passing safety verification state is kept, and the card interface of the target NFC card is kept to be displayed; or, under the condition that the display screen is turned off, if the preset input is not received, the passing safety verification state is kept; the preset input is input for passing the security verification and canceling the security verification state of the target NFC card.
In a second aspect, an embodiment of the present application provides an NFC card control apparatus, including: the device comprises a determining module, a control module and a display module; the determining module is used for determining that the verification state of the target NFC card is a passing safety verification state; the control module is used for keeping the passing safety verification state if a preset input is not received under the condition that the display screen is bright; or, the security verification method is used for keeping the passing security verification state if a preset input is not received under the condition that the display screen is turned off; the display module is used for keeping displaying the card interface of the target NFC card if the preset input is not received under the condition that the display screen is bright; the preset input is input for passing the security verification and canceling the security verification state of the target NFC card.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the application, first, the electronic device may determine that the verification state of the target NFC card is a pass-security verification state; then, under the condition that the display screen is bright, if the preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state, and the card interface of the target NFC card is kept to be displayed; or, under the condition that the display screen is turned off, if the preset input is not received, the verification state of the target NFC card is kept to be the passing safety verification state. Because the preset input is the input for passing the security verification and canceling the security verification state of the target NFC card, the embodiment of the application provides a convenient NFC card mode for the user, and the electronic equipment can keep passing the security verification state after the security verification of the user in the card mode. If the display screen is bright, the electronic device can keep displaying the card interface of the target NFC card when the user does not input the input which passes the security verification and cancels the security verification state of the target NFC card, namely, the electronic device can not quit the card interface after receiving other input, for example, the user mistakenly touches the card interface or mistakenly touches other users in the process of transmitting the input to other users, the quitting of the card interface can be avoided, the user does not need to perform the security verification again, the user can conveniently use the NFC card to swipe the card under the condition of keeping displaying the card interface of the target NFC card, the privacy of the user can be protected, and the card swiping efficiency of the user using the NFC card can be improved. If the display screen is turned off, the electronic equipment can also keep the verification state of the target NFC card as the passing safety verification state under the condition that the user does not input the input of the safety verification state of passing the safety verification and cancelling the target NFC card, so that the user can swipe the target NFC card in the screen-off mode, the privacy of the user can be protected, and the efficiency of swiping the target NFC card by the user through the NFC card can be improved.
Drawings
Fig. 1 is a schematic flowchart of an NFC card control method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a management interface of an NFC card according to an embodiment of the present application;
fig. 3 is a second schematic view of a management interface of an NFC card according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an NFC card control apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
First, the related concepts related to the embodiments of the present application are introduced:
1. three working modes of NFC card
(a) And (3) reading and writing modes:
in this mode, the electronic device supporting NFC can read and write information from a business card such as a label, sticker, or business card with an NFC chip.
(b) Card simulation mode:
in the card emulation mode, the electronic device can emulate various physical cards, such as an identification card, a transportation card, a bank card, an access card, and the like.
In the card emulation mode of the NFC card, various implementations may be included. For example, the embedded security element (eSE) -based implementation manner, the Subscriber Identity Module (SIM) -based implementation manner, the Host Card Emulation (HCE) -based implementation manner, and the like.
(c) Point-to-point mode:
in the peer-to-peer mode, a user can link two devices with NFC functions to realize peer-to-peer data transmission.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The NFC card control method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of an NFC card control method provided in an embodiment of the present application, and as shown in fig. 1, the method includes the following steps S101 and S102a, or S101 and S102 b:
s101, the electronic equipment determines that the verification state of the target NFC card is a passing safety verification state.
For example, in this embodiment of the present application, the verification status of the target NFC card may indicate the verification status of the user using the card, for example, the user authorization may be verification using a bank card, but the security verification status may also include the security verification status of the input payment password.
S102a, under the condition that the display screen is bright, if the preset input is not received, the electronic equipment keeps the verification state of the target NFC card as a passing safety verification state, and keeps displaying the card interface of the target NFC card.
The preset input is input for passing the security verification and canceling the security verification state of the target NFC card.
Illustratively, the preset input is an input for triggering the electronic device to control the security authentication state of the target NFC card to log off the target NFC card through biometric authentication (e.g., fingerprint authentication, facial image authentication, iris authentication, etc.) or password authentication.
S102b, under the condition that the display screen is turned off, if the preset input is not received, the electronic equipment keeps the verification state of the target NFC card to be a passing safety verification state.
It can be understood that, under the condition that the electronic device keeps the verification state of the target NFC card to be the passing safety verification state, the user can transfer the electronic device to other users, so that the other users can help the user to fast swipe the card, and the problem of re-verification caused by the fact that the other users mistakenly touch the exit interface to exit the verification is avoided.
It should be noted that, after the electronic device detects that the card is swiped once, the electronic device may control the target NFC card to exit the security verification state, so that other users may be prevented from stealing the card.
According to the NFC card control method provided by the embodiment of the application, firstly, the electronic equipment can determine that the verification state of the target NFC card is a passing safety verification state; then, under the condition that the display screen is bright, if the preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state, and the card interface of the target NFC card is kept to be displayed; or, under the condition that the display screen is turned off, if the preset input is not received, the verification state of the target NFC card is kept to be the passing safety verification state. Because the preset input is the input for passing the security verification and canceling the security verification state of the target NFC card, the embodiment of the application provides a convenient NFC card mode for the user, and the electronic equipment can keep passing the security verification state after the security verification of the user in the card mode. If the display screen is bright, the electronic device can keep displaying the card interface of the target NFC card when the user does not input the input which passes the security verification and cancels the security verification state of the target NFC card, namely, the electronic device can not quit the card interface after receiving other input, for example, the user mistakenly touches the card interface or mistakenly touches other users in the process of transmitting the input to other users, the quitting of the card interface can be avoided, the user does not need to perform the security verification again, the user can conveniently use the NFC card to swipe the card under the condition of keeping displaying the card interface of the target NFC card, the privacy of the user can be protected, and the card swiping efficiency of the user using the NFC card can be improved. If the display screen is turned off, the electronic equipment can also keep the verification state of the target NFC card as the passing safety verification state under the condition that the user does not input the input of the safety verification state of passing the safety verification and cancelling the target NFC card, so that the user can swipe the target NFC card in the screen-off mode, the privacy of the user can be protected, and the efficiency of swiping the target NFC card by the user through the NFC card can be improved.
For convenience of description, in the embodiment of the present application, the card swiping mode provided according to the embodiment of the present application is referred to as a physical card mode, and other modes are referred to as non-physical card modes, that is, the card mode of the NFC card may include two modes, respectively: a physical card mode and a non-physical card mode.
Optionally, before the above S101, the NFC card control method provided in this embodiment may further include the following S103:
s103, controlling the card mode of the target NFC card to be an entity card mode under the condition that the preset condition is met.
In the entity card mode, if the target NFC card passes the security verification, the verification passing state is kept under the condition that the preset input is not received, and if the preset input is received under the condition that the verification passing state is kept, the security verification state of the target NFC card is cancelled.
In this embodiment of the application, the preset condition indicates that the electronic device switches the card mode of the target NFC card to the physical card mode.
Optionally, in this embodiment of the present application, the preset condition is any one of the following: receiving a first input; under the condition that a card swiping interface of a target NFC card is displayed, detecting that the electronic equipment is in a transfer state when the card mode of the target NFC card is a non-entity card mode; under the condition that the target NFC card is a default activation card, the electronic equipment is detected to be in a preset position, a first voice instruction is received, or the electronic equipment is detected to be interconnected with the intelligent wearable equipment.
The first input is input that a user selects the card mode of the target NFC card to be the entity card mode. For example, an input in a setup interface, or a switch of the physical card mode is triggered by the smart wearable device. The first voice instruction indicates that the mode of the target NFC card is switched to be the entity card mode.
Specifically, the first input may be one input, or may include a plurality of sub-inputs, which is not specifically limited in this embodiment of the present application.
For example, fig. 2 is a schematic diagram of card mode switching of an NFC card provided in an embodiment of the present application, as shown in (a) in fig. 2, a user clicks a virtual button "switch entity card mode" on a transportation card 1-eSE activated by default in an NFC card package management interface 20a, and as shown in (b) in fig. 2, an electronic device switches the interface 20a to a card swiping interface 20b corresponding to the transportation card 1-eSE. If the user clicks any one of the NFC cards except the transportation card 1-eSE activated by default in the card package interface shown in fig. 2 (a), the electronic device displays the interface 30a shown in fig. 3 (a), and each NFC card displays a virtual button "switch entity card mode" on which the user can click, for example, the user clicks the virtual button "switch entity card mode" on the bank card 1-eSE, and then as shown in fig. 3 (b), the electronic device switches the interface 30a to the card swiping interface 30b corresponding to the bank card 1-eSE.
Specifically, in the embodiment of the present application, the electronic device may determine whether the location of the electronic device is a preset location through behavior sensing, sound sensing, network connection sensing, and the like.
For example, the electronic device may determine that the electronic device is in the process of being transferred (i.e., behavioral awareness), and may switch the default activated NFC card to a physical card mode. The electronic equipment detects that the current environment is a place such as a subway, a bus or an airport according to the environmental sound. The electronic equipment can determine that the current position is the airport, the bank and other places through wireless positioning, a connected wireless network, nearby hot spots and other position data.
It should be noted that, in the embodiment of the present application, the default activated NFC card may be a card for password-free payment, or may be a card without a password.
Illustratively, the target NFC card is any simulated NFC card in the electronic device, and may be a transportation card, an access card, a bank card, an identity card, or the like.
It should be noted that, in the embodiment of the present application, the card mode of the NFC card includes two modes, one mode is a physical card mode, and the other mode is a non-physical card mode.
Optionally, after the above S102a, the NFC card control method provided in this embodiment may further include the following S103 a:
s103a, if the display screen meets the screen turn-off condition in the screen-on state, the electronic equipment switches the display screen to the screen turn-off state, and continuously keeps the verification state of the target NFC card to be the passing safety verification state.
The screen-off condition can be that a user triggers the electronic equipment to turn off the screen by inputting, or the electronic equipment automatically turns off the screen when the preset time is reached.
For example, if the electronic device does not receive an input within 30 seconds while the electronic device is set to be in the screen-on state by default, the electronic device may control the electronic device to turn off the screen and continue to maintain the verification state of the target NFC card as the safe verification state when it is determined that the input is not received within 30 seconds.
Based on the scheme, in the bright screen state, the electronic equipment can keep displaying the card interface of the target NFC card, if the display screen meets the screen-off condition in the bright screen state, the electronic equipment can be switched to switch the display screen to be in the screen-off state, and the verification state of the target NFC card is continuously kept to be in the safe verification state in the screen-off state, so that a user can continuously use the target NFC card to swipe the card, on one hand, display resources can be saved, and on the other hand, the problem of low card swiping efficiency caused by the failure of card swiping of the target NFC card due to screen-off can also be avoided.
Optionally, after the above S102b, the NFC card control method provided in this embodiment may further include the following S103b and S103 c:
s103b, when the display screen is in the screen-off state, the electronic equipment receives a second input.
And the second input is input for triggering the electronic equipment to light.
S103, 103c, the electronic device responds to the second input and displays a card interface of the target NFC card.
For example, after the user triggers the input of the electronic device, which is only bright, the electronic device may only display the card interface of the target NFC card, and not display other interfaces, so that the privacy content of the user may be prevented from being revealed during the transfer process. In this scenario, if the input second input does not include a preset input that can pass the security verification, the electronic device cancels the input indicating the interface switching in the response second input.
Based on the scheme, under the condition that the verification state of the target NFC card is kept to be the safe verification state, the electronic equipment can respond to the input that the electronic equipment is lightened by triggering the user, then the card interface of the target NFC card is directly displayed, on one hand, the user can conveniently conduct NFC card swiping, on the other hand, other interfaces are not displayed, and the leakage of the privacy data of the user can be avoided.
Optionally, after S102a or S102b, the NFC card control method provided in this embodiment may further include S105 and S106 described below.
S105, the electronic equipment receives the first message under the condition that the verification state of the target NFC card is kept to be the safe verification state.
The first message is a notification message or an incoming call message.
For example, the notification message may be a short message received through a mobile phone number account in the electronic device, or may also be a message received through an application, and may include a push message, or may also include a message sent by another user. The incoming call message can be an incoming call message received by a mobile phone number in the electronic equipment, a video request received by an application, a voice request and the like.
S106, the electronic equipment cancels display content of the first message.
It can be understood that, in the case that the NFC card of the electronic device is in the non-physical card mode, if the first message is a text image type message, the outputting of the first message by the electronic device may include displaying the content of the first message and a prompt tone of a new message; if the first message is an incoming call message, the electronic device outputting the first message may include outputting a ring tone to display a corresponding text message.
Based on the scheme, the electronic equipment can not display the received message or the information of the incoming call in the entity card mode, and the leakage of the privacy data of the user can be avoided.
Optionally, in the NFC card control method provided in this embodiment of the present application, when the verification state of the target NFC card is maintained as the secure verification state, the method may further include S107 and S108 described below.
S107, the electronic equipment receives a third input.
For example, the third input may be an input in which the user clicks a virtual key "exit the physical card mode" in (c) of fig. 3 and then performs fingerprint authentication or password authentication.
It is to be understood that the third input may be one input or multiple inputs, which is not specifically limited in this embodiment of the present application.
And S108, under the condition that the preset input passing the safety verification is received, the electronic equipment logs out the safety verification state of the target NFC card.
That is, if the predetermined input is received, the electronic device controls the target NFC card to exit the physical card mode.
Based on the scheme, under the condition that the target NFC card is in the entity card mode, after the target NFC card passes the security verification, if the preset input which passes the security verification and is input by a user does not exist, the electronic equipment does not exit the entity card mode, and if the preset input which passes the security verification and is input by the user is received, the security verification state of the target NFC card is cancelled (namely, the target NFC card exits the entity card mode), so that the problem of card swiping failure caused by exiting a card swiping interface due to misoperation of the user can be avoided.
Optionally, in this embodiment of the application, after the NFC card of the electronic device enters the physical card mode, if the card swiping operation is not detected after a certain time, the electronic device may exit the physical card mode, so as to prevent other users from stealing the card swiping.
Optionally, the electronic device may also deactivate the current NFC card of the mobile phone based on behavior awareness, sound awareness, location awareness, device interconnection, and the like, that is, exit the security verification mode, for example, determining that the electronic device is far away from a subway station, so that the traffic card may exit the security verification mode. Such as determining to be away from a bank, may cause the bank card to exit the secure authentication mode.
Generally, among NFC cards in electronic equipment, NFC cards activated based on an eSE mode are listed in a list and displayed, NFC cards activated based on other types are displayed in a list under submenus of corresponding types and displayed, if an NFC card under a secondary menu 1 is currently displayed, a user needs to switch one NFC card under a secondary menu 2, the user needs to click the secondary menu 1 to return to the previous level, and then the user can select the secondary menu 2 to select one of the NFC cards.
In order to manage the NFC card in the electronic device more conveniently, in the NFC card control method provided in the embodiment of the present application, a card display manner of the NFC card may be provided.
Specifically, after the user opens the NFC card based on a certain mode (for example, open in cell-phone manufacturer APP, mobile operator APP, other third party APPs), electronic equipment can offer unified card package registration interface for NFC, and the registration interface can include that card type, card are used for parameters such as ID, card implementation mode. After the activation, the NFC cards can be collected into one unified card package interface. The user can select to register in the unified card package immediately when the unified card package is opened, or can perform additional registration after the unified card package is opened, and the user can quickly switch and activate an NFC card in the unified card package interface. Of course, the user may also remove operations such as registration management from the unified card package interface.
For example, referring to fig. 3 (b), the electronic device may display an NFC card provisioned in an eSE manner, an NFC card provisioned in a SIM manner, and an NFC card provisioned in an HCE manner in the same interface. As shown in (b) of fig. 3, the NFC unified card package interface may include: traffic card 1-eSE, traffic card 2-SIM, traffic card 3-HCE, bank card 1-eSE, bank card 2-SIM, bank card 3-HCE. The user can click a virtual key in any card to switch the entity card mode, and the NFC card is switched to the entity card mode. The user may also select one of the NFC cards as the default activation card. Such as (a) in fig. 3, with the transit card 1-eSE as the default activation card.
For example, in the case where the user is provided with a default activation card, the user may enter the interface shown in (a) of fig. 3 by double-clicking a power key of the electronic device, or the like. In the case where the user does not set the default activation card, the user may enter the interface shown in (b) of fig. 3 by double-clicking a power key of the electronic apparatus, or the like.
It can be understood that in the unified card package interface for NFC provided in the embodiment of the present application, a user can conveniently and quickly switch an NFC card, and the user does not need to perform redundant operations, thereby saving the time for user operations.
It should be noted that, in the NFC card control method provided in the embodiment of the present application, the execution main body may be an NFC card control device, or a control module in the NFC card control device for executing the NFC card control method. In this embodiment of the present application, a method for an NFC card control device to perform NFC card control is taken as an example to describe the NFC card control device provided in this embodiment of the present application.
As shown in fig. 4, for the NFC card control apparatus provided in the embodiment of the present application, the NFC card control apparatus 400 includes: a determination module 401, a control module 402, a display module 403; a determining module 401, configured to determine that the verification status of the target NFC card is a pass security verification status; the control module 402 is configured to, under the condition that the display screen is turned on, if a preset input is not received, maintain the verification state of the target NFC card as a pass-security verification state; or, the verification state of the target NFC card is maintained as a passing security verification state if a preset input is not received under the condition that the display screen is turned off; the display module 403 is configured to keep displaying a card interface of the target NFC card if a preset input is not received under the condition that the display screen is bright; the preset input is input for passing the security verification and canceling the security verification state of the target NFC card.
Optionally, the display module is further configured to, after the card interface of the target NFC card is kept displayed, switch the display screen to the screen-off state if the display screen meets the screen-off condition in the screen-on state; and the control module is further used for continuously keeping the verification state of the target NFC card as a passing safety verification state after the display screen is switched to the screen-off state by the display module.
Optionally, the NFC card control device further includes: a receiving module; the receiving module is used for receiving the first message under the condition that the first message passes the safety verification state; the display module is also used for canceling the display content of the first message; the first message is a notification message or an incoming call message.
Optionally, the control module is further configured to, after the verification state of the target NFC card is maintained as the security verification passing state, logout the security verification state of the target NFC card when receiving a preset input that passes the security verification.
Optionally, the control module is further configured to control the card mode of the target NFC card to be an entity card mode when a preset condition is met before the determination module determines that the verification state of the target NFC card passes the security verification state; wherein the preset condition is any one of the following conditions: receiving a first input, wherein the first input is an input that a user selects a mode of a target NFC card as a mode of an entity card; under the condition that a card swiping interface of a target NFC card is displayed, detecting that the electronic equipment is in a transfer state when the card mode of the target NFC card is a non-entity card mode; under the condition that the target NFC card is a default activation card, detecting that the electronic equipment is in a preset position, receiving a first voice instruction, or detecting that the electronic equipment is interconnected with the intelligent wearable equipment; the first voice instruction indicates that the mode of the target NFC card is switched to be an entity card mode; in the entity card mode, if the target NFC card passes the security verification, the verification passing state is maintained without receiving the preset input, and if the preset input is received while the verification passing state is maintained, the security verification state of the target NFC card is cancelled.
Optionally, the display module is further configured to display a first prompt message after the preset condition is met, where the first prompt message prompts that the target NFC card is switched to the entity card mode.
According to the NFC card control device provided by the embodiment of the application, firstly, the electronic equipment can determine that the verification state of a target NFC card is a passing safety verification state; then, under the condition that the display screen is bright, if the preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state, and the card interface of the target NFC card is kept to be displayed; or, under the condition that the display screen is turned off, if the preset input is not received, the verification state of the target NFC card is kept to be the passing safety verification state. Because the preset input is the input for passing the security verification and canceling the security verification state of the target NFC card, the embodiment of the application provides a convenient NFC card mode for the user, and the electronic equipment can keep passing the security verification state after the security verification of the user in the card mode. If the display screen is bright, the electronic device can keep displaying the card interface of the target NFC card when the user does not input the input which passes the security verification and cancels the security verification state of the target NFC card, namely, the electronic device can not quit the card interface after receiving other input, for example, the user mistakenly touches the card interface or mistakenly touches other users in the process of transmitting the input to other users, the quitting of the card interface can be avoided, the user does not need to perform the security verification again, the user can conveniently use the NFC card to swipe the card under the condition of keeping displaying the card interface of the target NFC card, the privacy of the user can be protected, and the card swiping efficiency of the user using the NFC card can be improved. If the display screen is turned off, the electronic equipment can also keep the verification state of the target NFC card as the passing safety verification state under the condition that the user does not input the input of the safety verification state of passing the safety verification and cancelling the target NFC card, so that the user can swipe the target NFC card in the screen-off mode, the privacy of the user can be protected, and the efficiency of swiping the target NFC card by the user through the NFC card can be improved.
The NFC card control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The NFC card control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The NFC card control device provided in this embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the above embodiment of the NFC card control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to determine that the verification state of the target NFC card is a pass-security verification state; under the condition that the display screen is bright, if a preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state; or, under the condition that the display screen is turned off, if the preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state; the display unit 1006 is configured to keep displaying a card interface of the target NFC card if a preset input is not received under the condition that the display screen is bright; the preset input is input for passing the security verification and canceling the security verification state of the target NFC card.
According to the electronic device provided by the embodiment of the application, firstly, the electronic device can determine that the verification state of the target NFC card is a pass safety verification state; then, under the condition that the display screen is bright, if the preset input is not received, the verification state of the target NFC card is kept to be a passing safety verification state, and the card interface of the target NFC card is kept to be displayed; or, under the condition that the display screen is turned off, if the preset input is not received, the verification state of the target NFC card is kept to be the passing safety verification state. Because the preset input is the input for passing the security verification and canceling the security verification state of the target NFC card, the embodiment of the application provides a convenient NFC card mode for the user, and the electronic equipment can keep passing the security verification state after the security verification of the user in the card mode. If the display screen is bright, the electronic device can keep displaying the card interface of the target NFC card when the user does not input the input which passes the security verification and cancels the security verification state of the target NFC card, namely, the electronic device can not quit the card interface after receiving other input, for example, the user mistakenly touches the card interface or mistakenly touches other users in the process of transmitting the input to other users, the quitting of the card interface can be avoided, the user does not need to perform the security verification again, the user can conveniently use the NFC card to swipe the card under the condition of keeping displaying the card interface of the target NFC card, the privacy of the user can be protected, and the card swiping efficiency of the user using the NFC card can be improved. If the display screen is turned off, the electronic equipment can also keep the verification state of the target NFC card as the passing safety verification state under the condition that the user does not input the input of the safety verification state of passing the safety verification and cancelling the target NFC card, so that the user can swipe the target NFC card in the screen-off mode, the privacy of the user can be protected, and the efficiency of swiping the target NFC card by the user through the NFC card can be improved.
Optionally, the processor 1010 is further configured to, after the display unit 1006 keeps displaying the card swiping interface of the target NFC card, switch the display screen to the off-screen state if the display screen meets the off-screen condition in the on-screen state, and continue to keep the verification state of the target NFC card to be the passing security verification state.
Optionally, the radio frequency unit 1001 is configured to receive the first message while maintaining the security verification status; a display unit 1006, further configured to cancel displaying the display content of the first message; the first message is a notification message or an incoming call message.
Optionally, the processor 1010 is further configured to, after the verification status of the target NFC card is maintained as the security verification-passing status, log out the security verification status of the target NFC card if the received input is a preset input that passes the security verification.
Optionally, the processor 1010 is further configured to, before determining that the verification state of the target NFC card is the security verification state, control the card mode of the target NFC card to be the entity card mode if a preset condition is met; wherein the preset condition is any one of the following conditions: receiving a first input, wherein the first input is an input that a user selects a mode of a target NFC card as a mode of an entity card; under the condition that a card swiping interface of a target NFC card is displayed, detecting that the electronic equipment is in a transfer state when the card mode of the target NFC card is a non-entity card mode; under the condition that the target NFC card is a default activation card, detecting that the electronic equipment is in a preset position, receiving a first voice instruction, or detecting that the electronic equipment is interconnected with the intelligent wearable equipment; the first voice instruction indicates that the mode of the target NFC card is switched to be an entity card mode; in the entity card mode, if the target NFC card passes the security verification, the verification passing state is kept under the condition that the preset input is not received, and if the preset input is received under the condition that the verification passing state is kept, the security verification state of the target NFC card is cancelled.
Optionally, the display unit 1006 is further configured to display a first prompt message after the preset condition is met, where the first prompt message prompts that the target NFC card is switched to the physical card mode.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the NFC card control method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction, so as to implement each process of the above embodiment of the NFC card control method, and achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A Near Field Communication (NFC) card control method is characterized by comprising the following steps:
determining that the verification state of the target NFC card is a pass safety verification state;
under the condition that a display screen is bright, if a preset input is not received, the passing safety verification state is kept, and a card interface of the target NFC card is kept to be displayed; or,
under the condition that the display screen is turned off, if a preset input is not received, the passing safety verification state is maintained;
the preset input is input which passes the security verification and cancels the security verification state of the target NFC card.
2. The method of claim 1, wherein after maintaining display of the card interface of the target NFC card, the method further comprises:
and if the display screen meets the screen extinguishing condition in the screen lightening state, switching the display screen to the screen extinguishing state, and continuously keeping the passing safety verification state.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a first message while maintaining the passing security verification state;
canceling the display content of the first message;
the first message is a notification message or an incoming call message.
4. The method of claim 1 or 2, wherein after said maintaining said security-verified state, said method further comprises:
and under the condition of receiving the preset input passing the safety verification, the safety verification state of the target NFC card is cancelled.
5. The method of claim 1, wherein prior to determining that the authentication state of the target NFC card is a pass secure authentication state, the method further comprises:
controlling the card mode of the target NFC card to be an entity card mode under the condition that a preset condition is met;
wherein the preset condition is any one of the following conditions:
receiving a first input, wherein the first input is an input of a user selecting the mode of the target NFC card to be an entity card mode;
under the condition that a card swiping interface of a target NFC card is displayed, detecting that the electronic equipment is in a transfer state when the card mode of the target NFC card is a non-entity card mode;
under the condition that the target NFC card is a default activation card, detecting that the electronic equipment is in a preset position, receiving a first voice instruction, or detecting that the electronic equipment is connected with the intelligent wearable equipment; the first voice instruction indicates that the mode of the target NFC card is switched to be an entity card mode;
in the entity card mode, if the target NFC card passes the security verification, the verification passing state is maintained without receiving a preset input, and if the preset input is received while the verification passing state is maintained, the security verification state of the target NFC card is cancelled.
6. An NFC card control apparatus for near field wireless communication, the NFC card control apparatus comprising: the device comprises a determining module, a control module and a display module;
the determining module is used for determining that the verification state of the target NFC card is a passing safety verification state;
the control module is used for keeping the passing safety verification state if a preset input is not received under the condition that the display screen is bright; or, the security verification passing state is maintained if a preset input is not received under the condition that the display screen is turned off;
the display module is used for keeping displaying the card interface of the target NFC card if a preset input is not received under the condition that a display screen is bright;
the preset input is input which passes the security verification and cancels the security verification state of the target NFC card.
7. The NFC card control apparatus of claim 6,
the display module is further configured to switch the display screen to the screen-off state if the display screen meets the screen-off condition in the screen-on state after the card interface of the target NFC card is kept displayed;
the control module is further configured to continue to maintain the passing security verification state after the display module switches the display screen to the screen-off state.
8. The NFC card control apparatus according to claim 6 or 7, further comprising: a receiving module;
the receiving module is used for receiving a first message under the condition of keeping the passing safety verification state;
the display module is further configured to cancel displaying the display content of the first message;
the first message is a notification message or an incoming call message.
9. The NFC card control apparatus according to claim 6 or 7,
the control module is further configured to, after the security verification passing state is maintained, cancel the security verification state of the target NFC card when receiving a preset input that passes the security verification.
10. The NFC card control apparatus of claim 6,
the control module is further configured to control the card mode of the target NFC card to be an entity card mode when a preset condition is met before the determination module determines that the verification state of the target NFC card passes the security verification state;
wherein the preset condition is any one of the following conditions:
receiving a first input, wherein the first input is an input of a user selecting the mode of the target NFC card to be an entity card mode;
under the condition that a card swiping interface of a target NFC card is displayed, detecting that the electronic equipment is in a transfer state when the card mode of the target NFC card is a non-entity card mode;
under the condition that the target NFC card is a default activation card, detecting that the electronic equipment is in a preset position, receiving a first voice instruction, or detecting that the electronic equipment is connected with the intelligent wearable equipment; the first voice instruction indicates that the mode of the target NFC card is switched to be an entity card mode;
in the entity card mode, if the target NFC card passes the security verification, the verification passing state is maintained without receiving a preset input, and if the preset input is received while the verification passing state is maintained, the security verification state of the target NFC card is cancelled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010761201.9A CN111913773A (en) | 2020-07-31 | 2020-07-31 | NFC card control method, NFC card control device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010761201.9A CN111913773A (en) | 2020-07-31 | 2020-07-31 | NFC card control method, NFC card control device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111913773A true CN111913773A (en) | 2020-11-10 |
Family
ID=73287026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010761201.9A Pending CN111913773A (en) | 2020-07-31 | 2020-07-31 | NFC card control method, NFC card control device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111913773A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115623118A (en) * | 2022-11-22 | 2023-01-17 | 荣耀终端有限公司 | Near field communication control method and electronic equipment |
CN115665314A (en) * | 2022-10-18 | 2023-01-31 | 杭州逗酷软件科技有限公司 | Screen display method, terminal, and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140040983A1 (en) * | 2011-04-02 | 2014-02-06 | Zte Corporation | Terminal authentication method and terminal |
CN110035180A (en) * | 2019-04-11 | 2019-07-19 | Oppo广东移动通信有限公司 | Card display methods, device, terminal and storage medium |
CN110659008A (en) * | 2019-08-27 | 2020-01-07 | 努比亚技术有限公司 | Terminal interface display method, terminal and computer readable storage medium |
CN110866580A (en) * | 2019-10-31 | 2020-03-06 | 小米数字科技有限公司 | Preprocessing method and device for configuring NFC smart card |
CN111212412A (en) * | 2020-01-03 | 2020-05-29 | RealMe重庆移动通信有限公司 | Near field communication method and device, computer readable storage medium and electronic equipment |
-
2020
- 2020-07-31 CN CN202010761201.9A patent/CN111913773A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140040983A1 (en) * | 2011-04-02 | 2014-02-06 | Zte Corporation | Terminal authentication method and terminal |
CN110035180A (en) * | 2019-04-11 | 2019-07-19 | Oppo广东移动通信有限公司 | Card display methods, device, terminal and storage medium |
CN110659008A (en) * | 2019-08-27 | 2020-01-07 | 努比亚技术有限公司 | Terminal interface display method, terminal and computer readable storage medium |
CN110866580A (en) * | 2019-10-31 | 2020-03-06 | 小米数字科技有限公司 | Preprocessing method and device for configuring NFC smart card |
CN111212412A (en) * | 2020-01-03 | 2020-05-29 | RealMe重庆移动通信有限公司 | Near field communication method and device, computer readable storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
李芬娟 等: ""电子商务应用实务"", 30 November 2019, 江西高校出版社, pages: 101 - 102 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115665314A (en) * | 2022-10-18 | 2023-01-31 | 杭州逗酷软件科技有限公司 | Screen display method, terminal, and computer-readable storage medium |
CN115623118A (en) * | 2022-11-22 | 2023-01-17 | 荣耀终端有限公司 | Near field communication control method and electronic equipment |
CN115623118B (en) * | 2022-11-22 | 2023-10-20 | 荣耀终端有限公司 | Near field communication control method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102471289B1 (en) | A method for quickly opening an application or application function, and a terminal | |
CN106778175B (en) | Interface locking method and device and terminal equipment | |
US20160119787A1 (en) | Mobile terminal and control method for the same | |
CN111866270B (en) | Application program control method and device and electronic equipment | |
EP3239913A1 (en) | Method and device for controlling information transmission, and smart terminal | |
EP3531330B1 (en) | Isolation method and device for payment application, and terminal | |
TWI675329B (en) | Information image display method and device | |
CN108475304B (en) | Method and device for associating application program and biological characteristics and mobile terminal | |
CN108781234B (en) | Function control method and terminal | |
CN111581994A (en) | Near Field Communication (NFC) communication method and device and electronic equipment | |
CN108632454B (en) | Information processing method and device, computer readable storage medium and terminal | |
US20190340343A1 (en) | Application interface display method, apparatus, and terminal, and storage medium | |
US20230152956A1 (en) | Wallpaper display control method and apparatus and electronic device | |
CN111913773A (en) | NFC card control method, NFC card control device and electronic equipment | |
CN105225113B (en) | A kind of information processing method and electronic equipment | |
CN106447325B (en) | NFC communication-based processing method and device and mobile terminal | |
CN108647070B (en) | Information reminding method and device, mobile terminal and computer readable medium | |
CN112637195B (en) | Method and device for controlling electronic equipment and electronic equipment | |
CN113360863A (en) | Operation execution method and device, electronic equipment and medium | |
CN115694562A (en) | Information transmission method and medium between terminal devices and terminal device | |
WO2016131181A1 (en) | Fingerprint event processing method, apparatus, and terminal | |
CN104427097A (en) | Terminal equipment and switching method | |
CN110865762B (en) | Method for preventing mistaken screen off, terminal and computer readable storage medium | |
CN110232275B (en) | Control method and terminal equipment | |
CN113703592A (en) | Secure input method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201110 |
|
RJ01 | Rejection of invention patent application after publication |