WO2021175198A1 - Method for invoking nfc applications, electronic device, and nfc apparatus - Google Patents

Method for invoking nfc applications, electronic device, and nfc apparatus Download PDF

Info

Publication number
WO2021175198A1
WO2021175198A1 PCT/CN2021/078545 CN2021078545W WO2021175198A1 WO 2021175198 A1 WO2021175198 A1 WO 2021175198A1 CN 2021078545 W CN2021078545 W CN 2021078545W WO 2021175198 A1 WO2021175198 A1 WO 2021175198A1
Authority
WO
WIPO (PCT)
Prior art keywords
nfc
nfc application
electronic device
application group
information
Prior art date
Application number
PCT/CN2021/078545
Other languages
French (fr)
Chinese (zh)
Inventor
王再尚
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21764845.0A priority Critical patent/EP4096256A4/en
Priority to US17/909,132 priority patent/US20230098616A1/en
Publication of WO2021175198A1 publication Critical patent/WO2021175198A1/en

Links

Images

Classifications

    • H04B5/72
    • H04B5/70
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/04Details of telephonic subscriber devices including near field communication means, e.g. RFID

Definitions

  • the embodiments of the present application relate to electronic device technology in the field of artificial intelligence AI, and in particular, to a method for invoking an NFC application, an electronic device, and an NFC device.
  • NFC technology also called short-range wireless communication technology
  • short-range wireless communication technology is a short-distance high-frequency wireless communication technology that allows non-contact device identification and data transmission between devices.
  • NFC applications NFC analog card applications
  • the NFC application may include a transportation card application, an access control card application, a payment card application, or an identity card application, etc.
  • Users can use electronic devices with NFC function to complete payment, travel or identity verification, etc., without having to carry different physical cards (such as ID cards, bank cards or bus cards, etc.).
  • a conventional electronic device wants to call an NFC application
  • the user needs to manually select the NFC application that the user wants to use according to actual usage scenarios. For example, when a user rides a bus, the user needs to find a transportation card application from multiple NFC applications, and then the electronic device can use the transportation card application to perform the NFC card swiping behavior on the bus. This method has complicated operations and low user experience.
  • the present application provides a method for invoking an NFC application, an electronic device, and an NFC device, which can solve the problems of complicated operations and low user experience caused by the user's need to manually select the NFC application to be used.
  • a method for invoking an NFC application is provided.
  • the method is applied to an electronic device.
  • the electronic device includes multiple NFC applications.
  • the electronic device determines the first NFC application group and its use order according to the current scene information; the first NFC application group includes n NFC applications, where n ⁇ 2 and is a positive integer ; The electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the use order of the first NFC application group.
  • the electronic device when the electronic device is close to the NFC device, it can combine one or more of the geographical location information, time information, weather information, sports information or usage information of the electronic device, intelligently based on the situation Perceive and predict the user's needs for NFC applications.
  • an NFC application group with a usage sequence that can meet the needs of the user is invoked to automatically verify the NFC devices that the electronic device is close to one by one, so as to provide the user with a more convenient use experience.
  • the electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, including: the electronic device activates the i-th one in the first NFC application group NFC applications, where i is a positive integer and i ⁇ n; the electronic device verifies the i-th NFC application when it is close to the NFC device; the electronic device activates the i+1-th NFC application after the i-th NFC application is verified NFC applications.
  • the electronic device By activating and invoking the NFC applications in the first NFC application group predicted by the electronic device one by one, it is possible to automatically meet the needs of the user to continuously use multiple NFC applications in the same scenario, and provide the user with a more convenient experience.
  • the i-th NFC application is the i-th NFC application that is called in the first NFC application group and in the usage scenario corresponding to the usage scenario information of the first NFC application group;
  • the +1 NFC application is the i+1th NFC application to be called in the usage scenario corresponding to the usage scenario information of the first NFC application group in the first NFC application group; wherein, the foregoing usage scenario information is the same as the current scenario information Matching, the foregoing usage scenario information includes one or more of geographic location information, time information, weather information, sports information, and operation information of the electronic device when the first group of NFC applications are invoked.
  • the electronic device can specifically predict the time sequence, priority sequence or spatial sequence of the user's NFC application needs based on context awareness, so that it can automatically meet the user's continuous use of multiple NFC applications in the same scenario, and provide users with more Convenient experience.
  • the above-mentioned method may further include: the electronic device displays for the user Confirm whether to use the first interface of the first NFC application group; the electronic device receives the user's operation on the first interface to determine the use of the first NFC application group; wherein, the electronic devices follow the order of use of the first NFC application group in order
  • Activating and invoking the NFC application in the first NFC application group may specifically include: in response to the user's operation of determining to use the first NFC application group on the first interface, the electronic device sequentially activates and Call the NFC application in the first NFC application group. After predicting an NFC application group, the electronic device can ask the user whether to use the NFC application. Through such reminders and inquiries, it is possible to avoid the problem that the electronic device cannot be verified by the electronic device caused by the prediction error of the electronic device
  • the above-mentioned first interface is also used to remind the user of the use order of the n NFC applications in the first NFC application group.
  • the electronic device may also remind the user of the order of use of multiple NCFs in the NFC application group. Through such a reminder, it is possible to avoid the problem that the electronic device cannot pass the verification caused by the error of the electronic device's prediction.
  • multiple NFC application groups are pre-stored in the above electronic device, and each NFC application group includes multiple NFC applications; the above electronic device determines the first NFC application group according to the current scene information, which may be specifically Including: the electronic device determines the first NFC application group from the multiple NFC application groups pre-saved in the electronic device according to the current scene information; wherein the first NFC application group is among the multiple NFC application groups, and the usage scene information is the same as the current scene.
  • the NFC application group with the highest information matching The electronic device can pre-store multiple groups of NFC application groups obtained through learning, and the electronic device can match an NFC application group with matching usage scene information from the current scene information to obtain a better prediction effect.
  • the above method may further include: the electronic device obtains the user's rule of using the NFC application according to the usage scenario information when the electronic device uses the NFC application within the preset time range; the electronic device according to the user's use of the NFC application Multiple NFC application groups are determined regularly and stored in the electronic device in advance; and/or the electronic device receives multiple NFC application groups customized by the user and saves them in the electronic device in advance.
  • the electronic device obtains multiple sets of NFC applications in different usage scenarios according to historical usage information or receiving user customization, and saves them in the electronic device in advance, so that the electronic device can predict the user’s NFC application based on the current scenario information during subsequent use. Usage requirements.
  • the above-mentioned method may further include: the electronic device sequentially activates other NFC applications in the first NFC application group except the i-th NFC application until the electronic device The NFC application of the device is verified. If the electronic device predicts incorrectly, the electronic device can successfully verify the NFC device close to the electronic device by polling the NFC application. Avoid the problem of unsuccessful verification caused by the error of the electronic device's prediction.
  • the above method may further include: in the process of sequentially activating other NFC applications in the first NFC application group by the electronic device except the i-th NFC application, the electronic device records when the electronic device uses the NFC application The usage scenario information of the electronic device; the electronic device updates the user's rule of using NFC application according to the usage scenario information recorded by the electronic device when the electronic device uses the NFC application; the electronic device updates the NFC application matching the current scenario information according to the updated rule of the user's use of the NFC application Group.
  • the electronic device can also record the usage scenario information of the NFC application during the subsequent NFC application invocation process, so that the NFC application group corresponding to the usage scenario information can be further updated to provide the subsequent electronic device predicting the NFC application group Better basis and reference.
  • the electronic device sequentially activates other NFC applications in the first NFC application group except for the i-th NFC application, until the NFC application is successfully invoked
  • the above method may further include: the electronic device according to The order of use of the second NFC application group is to activate and call the NFC applications in the second NFC application group in turn; the second NFC application group is among multiple NFC application groups. Except for the first NFC application group, the usage scene information is different from the current NFC application group.
  • the NFC application group with the highest matching degree of scene information or, the electronic device displays a second interface, and the second interface is used for the user to select the NFC application group to be switched; and, in response to the user's operation of selecting the third NFC application group, the electronic device follows The sequence of using the third NFC application group is to activate and call the NFC applications in the third NFC application group in turn. If the electronic device predicts an error, the electronic device can also switch the currently called NFC application group, or switch to the NFC application group selected by the user, to avoid the problem of failure to successfully verify due to the electronic device's prediction error.
  • the use order of the first NFC application group includes: the priority order, geographic order, or use time order of the n NFC applications in the first NFC application group.
  • an electronic device in a second aspect, includes multiple NFC applications.
  • the electronic device may include: an information acquisition unit for acquiring information including geographic location information, time information, weather information, sports information, or information of the electronic device. The current scene information of one or more items in the usage information; wherein the movement information is used to indicate the movement state of the electronic device, and the usage information is used to indicate that the electronic device uses NFC within a preset time range before the time indicated by the time information.
  • the electronic device when the electronic device is close to the NFC device, it can combine one or more of the geographical location information, time information, weather information, sports information or usage information of the electronic device, intelligently based on the situation Perceive and predict the user's needs for NFC applications.
  • an NFC application group with a usage sequence that can meet the needs of the user is invoked to automatically verify the NFC devices close to the electronic device one by one, so as to provide the user with a more convenient use experience.
  • the above-mentioned NFC invoking unit sequentially activates and invokes the NFC applications in the first NFC application group according to the order in which the first NFC application group is used, including: the NFC invocation unit activates the NFC applications in the first NFC application group The i-th NFC application, where i is a positive integer and i ⁇ n; the NFC calling unit verifies the i-th NFC application when the electronic device is close to the NFC device; the NFC calling unit verifies the i-th NFC application after the above-mentioned i-th NFC application is verified. , Activate the i+1th NFC application.
  • the i-th NFC application is the i-th NFC application that is called in the first NFC application group and in the usage scenario corresponding to the usage scenario information of the first NFC application group;
  • the +1 NFC application is the i+1th NFC application to be called in the usage scenario corresponding to the usage scenario information of the first NFC application group in the first NFC application group; wherein, the foregoing usage scenario information is the same as the current scenario information Matching, the foregoing usage scenario information includes one or more of geographic location information, time information, weather information, sports information, and operation information of the electronic device when the first group of NFC applications are invoked.
  • the electronic device can specifically predict the time sequence, priority sequence or spatial sequence of the user's NFC application needs based on context awareness, so that it can automatically meet the user's continuous use of multiple NFC applications in the same scenario, and provide users with more Convenient experience.
  • the above electronic device further includes: a display unit, configured to activate and call the NFC applications in the first NFC application group in sequence by the NFC invoking unit according to the order of use of the first NFC application group, Display a first interface for the user to confirm whether to use the first NFC application group; and receive the user's operation on the first interface to determine to use the first NFC application group; wherein the NFC calling unit is based on the first NFC application group
  • the order of use, activating and invoking the NFC applications in the first NFC application group in turn, may specifically include: in response to the user's operation of determining to use the first NFC application group on the first interface, the NFC invoking unit follows the use of the first NFC application group In order, the NFC applications in the first NFC application group are activated and invoked sequentially. After predicting an NFC application group, the electronic device can ask the user whether to use the NFC application. Through such reminders and inquiries, it is possible to avoid the problem that the electronic device cannot be
  • the above-mentioned first interface is also used to remind the user of the use order of the n NFC applications in the first NFC application group.
  • the electronic device may also remind the user of the order of use of multiple NCFs in the NFC application group. Through such a reminder, it is possible to avoid the problem that the electronic device cannot pass the verification caused by the error of the electronic device's prediction.
  • the electronic device can pre-store multiple groups of NFC application groups obtained through learning, and the electronic device can match an NFC application group with matching usage scene information from the current scene information to obtain a better prediction effect.
  • the above processing unit is further configured to obtain the rule of the user using the NFC application according to the usage scenario information when the electronic device uses the NFC application within the preset time range; and determine according to the rule of the user using the NFC application Multiple NFC application groups are pre-stored in the electronic device; and/or multiple user-defined NFC application groups are received and pre-stored in the storage unit.
  • the electronic device obtains multiple sets of NFC applications in different usage scenarios according to historical usage information or receiving user customization, and saves them in the electronic device in advance, so that the electronic device can predict the user’s NFC application based on the current scenario information during subsequent use. Usage requirements.
  • the above-mentioned NFC calling unit is also used to, if the above-mentioned i-th NFC application is not verified, activate other NFC applications in the first NFC application group except the i-th NFC application in sequence, until the electronic The NFC application of the device is verified. If the electronic device predicts incorrectly, the electronic device can successfully verify the NFC device close to the electronic device by polling the NFC application. Avoid the problem of unsuccessful verification caused by the error of the electronic device's prediction.
  • the above-mentioned storage unit is also used to record when the NFC application is used by the electronic device during the process of sequentially activating other NFC applications in the first NFC application group by the NFC calling unit except the i-th NFC application.
  • the above-mentioned processing unit is also used to update the user’s rule of using the NFC application according to the use scenario information recorded by the electronic device when the electronic device uses the NFC application; and to update the current scenario information according to the updated rule of the user’s use of the NFC application Matching NFC application group.
  • the electronic device can also record the usage scenario information of the NFC application during the subsequent NFC application invocation process, so that the NFC application group corresponding to the usage scenario information can be further updated to provide the subsequent electronic device predicting the NFC application group Better basis and reference.
  • the NFC calling unit sequentially activates other NFC applications in the first NFC application group except for the i-th NFC application, until the NFC application is successfully called, the NFC calling unit is also used to: According to the order of use of the second NFC application group, the NFC applications in the second NFC application group are sequentially activated and invoked; the second NFC application group is among multiple NFC application groups, except for the first NFC application group, the usage scene information is related to The NFC application group with the highest matching degree of current scene information; or, the above display unit is also used to display a second interface for the user to select the NFC application group to be switched; and the NFC calling unit is also used to respond to the user
  • the operation of selecting the third NFC application group is to sequentially activate and call the NFC applications in the third NFC application group according to the order of use of the third NFC application group. If the electronic device predicts an error, the electronic device can also switch the currently called NFC application group, or switch to the NFC application group selected by the
  • the use order of the first NFC application group includes: the priority order, geographic order, or use time order of the n NFC applications in the first NFC application group.
  • an electronic device in a third aspect, includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; a processor for executing The above instructions enable the electronic device to obtain the current scene information of the electronic device including one or more of geographic location information, time information, weather information, sports information, or usage information; wherein the sports information is used to indicate the sports state of the electronic device ,
  • the usage information is used to instruct the electronic device to use the NFC application information within a preset time range before the time indicated by the time information; determine the first NFC application group and its order of use according to the current scene information; in the first NFC application group It includes n NFC applications, where n ⁇ 2 and is a positive integer; and, according to the order of use of the first NFC application group, sequentially activate and call the NFC applications in the first NFC application group.
  • the electronic device when the electronic device is close to the NFC device, it can combine one or more of the geographical location information, time information, weather information, sports information or usage information of the electronic device, intelligently based on the situation Perceive and predict the user's needs for NFC applications.
  • an NFC application group with a usage sequence that can meet the needs of the user is invoked to automatically verify the NFC devices that the electronic device is close to one by one, so as to provide the user with a more convenient use experience.
  • the foregoing processor is further configured to execute the foregoing instructions, so that the electronic device executes the method for invoking the NFC application in any one of the possible implementation manners of the first aspect.
  • a computer-readable storage medium stores a computer-executable instruction.
  • the computer-executable instruction When executed by a processor, it implements as in any one of the possible implementations of the first aspect.
  • the calling method of the NFC application The calling method of the NFC application.
  • a chip system in a fifth aspect, includes a processor and a memory, and instructions are stored in the memory; The calling method of the NFC application.
  • the chip system can be composed of chips, or it can include chips and other discrete devices.
  • a computer program product which when running on a computer, enables the method for invoking an NFC application as in any one of the possible implementation manners in the first aspect.
  • FIG. 1 is a schematic diagram of an example of NFC application invocation in two payment processes provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of an example of the hardware structure of an electronic device provided by an embodiment of the application.
  • FIG. 3 is a flowchart of a method for invoking an NFC application provided by an embodiment of the application
  • FIG. 4 is a schematic diagram of an example of the sequence of using cards in two types of homecoming scenarios provided by an embodiment of the application;
  • FIG. 5A is an example diagram of a flow of activating an NFC application by an electronic device according to an embodiment of the application.
  • FIG. 5B is an example flow diagram of another electronic device activating an NFC application provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram of an example of entering an NFC interface and entering an interface for modifying an NFC application group provided by an embodiment of the application;
  • FIG. 7 is a flowchart of another method for invoking an NFC application provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of an example of two display forms of first indication information provided by an embodiment of the application.
  • FIG. 9 is a structural block diagram of an electronic device provided by an embodiment of this application.
  • FIG. 10 is a structural block diagram of another electronic device provided by an embodiment of the application.
  • the NFC function usually includes three usage modes: card mode, card reader mode, and point-to-point (P2P) mode.
  • the card mode refers to using the electronic device as a non-contact analog card.
  • the card mode can be used in the process of payment, access control verification or identity verification.
  • the card reader mode refers to an electronic device with NFC function as a non-contact card reader.
  • the card reader mode can be used in a simple data acquisition process.
  • the card reader mode can be used in processes such as obtaining bus station site information, obtaining park map information, reading electronic advertisements, and selling tickets or movie tickets.
  • the P2P mode is used to establish wireless interconnection between two NFC-enabled devices for point-to-point data exchange.
  • the P2P mode can be applied to process scenarios such as exchanging mobile phone business cards and establishing Bluetooth connections.
  • the embodiment of the present application provides a method for invoking an NFC application, which can be applied to the process of realizing payment, access control verification, or identity verification in the card mode through the NFC function of an electronic device.
  • payment may include, but is not limited to, bus swipe payment, subway swipe payment, or shopping payment.
  • the access control verification field may include, but is not limited to, residential area access control verification, residential building access control verification, home key verification, or vehicle key verification, etc.
  • Identity verification may include, but is not limited to, vehicle identity verification, boarding identity verification, company attendance verification or scenic spot identity verification, etc.
  • electronic devices supporting the NFC function can be used as different NFC applications to play the same role as a physical bus card, a physical key, a physical bank card, a physical ID card, or a physical access card.
  • Figure 1 shows a schematic diagram of an example of calling an NFC application in two payment processes.
  • (a) in FIG. 1 shows an example of NFC application invocation in the process of bus swiping and payment.
  • the user can use the mobile phone 100 that supports the NFC analog card function to approach the bus credit card machine to realize the bus credit card payment.
  • the mobile phone 100 can be used as an NFC bus card application, playing the same role of bus payment as a physical bus card.
  • B) in FIG. 1 shows an example of the NFC application call in the shopping payment process.
  • the user can use the mobile phone 100 that supports the NFC analog card function to approach the POS device to realize shopping payment.
  • the mobile phone 100 can be used as an NFC payment card application, playing the same shopping payment function as a physical bank card.
  • NFC application It is an application program used to realize near field communication (also called near field communication), which has an emulation function for simulating a non-contact IC card.
  • NFC applications can be divided into different types. For example, “transportation card” application (such as “bus card” application, “metro card” application, etc.), “access card” application (such as “parking card” application, “key” application, etc.), “payment card” application (such as “Bank Card” application, “Wallet” application, etc.), “Identity Card” application (such as “ID Card” application, “Attendance Card” application, “Social Security Card” application, etc.), etc.
  • the method for invoking the NFC application provided by the embodiment of the present application can be applied to a mobile phone, a tablet computer, or a personal computer (Ultra-mobile Personal Computer, UMPC). Or, it can also be applied to other electronic devices with information transmission functions such as desktop devices, laptop devices, handheld devices, wearable devices, smart home devices, and vehicle-mounted devices. For example, netbooks, smart watches, smart cameras, personal digital assistants (Personal Digital Assistant, PDA), portable multimedia players (Portable Multimedia Player, PMP), dedicated media players or AR (augmented reality)/VR (virtual reality) devices, etc. .
  • PDA Personal Digital Assistant
  • PMP portable multimedia players
  • dedicated media players dedicated media players or AR (augmented reality)/VR (virtual reality) devices, etc.
  • AR augmented reality
  • VR virtual reality
  • FIG. 2 uses a mobile phone as an example to show a schematic diagram of an example of the hardware structure of an electronic device.
  • the mobile phone 100 may specifically include: an NFC chip 201, a processor 202, a radio frequency (RF) circuit 203, a memory 204, a touch screen 205, a Bluetooth device 206, a sensor module 207, a Wi-Fi device 208, and a positioning device 209 , Audio circuit 210, peripheral interface 211, power supply device 212 and other components.
  • the sensor module 207 may include a gyroscope sensor 207A, an acceleration sensor 207B, and so on.
  • the mobile phone 100 may include more or less components than those shown in the figure, or a combination of certain components, or different component arrangements. .
  • the NFC chip 201 includes an NFC controller (near field communication controller, NFCC) 201-1, a radio frequency antenna 201-2, a device host (DH) 201-3, and one or more security elements (SE) ( Not shown in Figure 2).
  • NFC controller near field communication controller
  • NFCC 201-1 is mainly used for NFC radio frequency signal modulation and demodulation and NFC protocol processing.
  • the NFCC 201-1 is connected to the radio frequency antenna 201-2 to realize the transmission and reception of NFC wireless signals.
  • DH 201-3 is responsible for the management of NFCC 201-1, such as initialization, configuration, and power management.
  • SE is used to provide a secure execution environment (such as authentication, authorization, etc.) and an environment for sensitive data storage for NFC applications.
  • SE is a security unit chip. The SE can carry multiple NFC applications at the same time.
  • the DH 201-3 may also be set in the processor 202 of the mobile phone 100, and is responsible for managing the NFCC 201-1.
  • the NFCC 201-1 when it detects a wireless signal, it can identify the frequency of the wireless signal and other information to determine whether the wireless signal is an NFC radio frequency signal. For example, when it is recognized that the wireless signal is a 13.56MHz wireless signal, the NFCC 201-1 determines that the wireless signal is an NFC radio frequency signal.
  • the processor 202 is the control center of the mobile phone 100. It uses various interfaces and lines to connect to various parts of the mobile phone 100, runs or executes the application client program (hereinafter may be referred to as App) stored in the memory 204, and calls the memory stored in the memory 204.
  • App application client program
  • the data inside performs various functions of the mobile phone 100 and processes data.
  • the processor 202 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for control
  • the processor 202 may include one or more CPUs; for example, the processor 202 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the radio frequency circuit 203 can be used for receiving and sending wireless signals during the process of sending and receiving information or talking.
  • the radio frequency circuit 203 may receive the downlink data of the base station and send it to the processor 202 for processing; in addition, it may send the uplink data to the base station.
  • the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency circuit 203 can also communicate with other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, Email, Short Message Service, etc.
  • the memory 204 is used to store application programs and data.
  • the memory 204 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions. Random access memory (RAM) ) Or other types of dynamic storage devices that can store information and instructions. They can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory, CD -ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store instructions or data structures The form of the desired program code and any other medium that can be accessed by the computer, but not limited to this.
  • the processor 202 executes various functions and data processing of the mobile phone 100 by running application programs and data stored in the memory 204.
  • the memory 204 mainly includes a storage program area and a storage data area.
  • the storage program area can store the operating system and at least one application program required by at least one function (such as sound playback function, image playback function, etc.); the storage data area can store Data created at 100 o'clock (such as audio data, phone book, etc.).
  • the memory 204 may store instructions for implementing two modular functions: receiving instructions and connecting instructions, and the processor 202 controls the execution.
  • the processor 202 is configured to execute computer-executable instructions stored in the memory 204, so as to implement the data transmission method provided in the following embodiments of the present application.
  • the memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the memory 204 can store various operating systems, for example, the iOS operating system developed by Apple Inc., the Android operating system developed by Google Inc., and so on.
  • the touch screen 205 may include a touch pad 205-1 and a display 205-2.
  • the touchpad 205-1 can collect touch events on or near the user of the mobile phone 100 (for example, the user uses a finger, a stylus, or any other suitable object on the touchpad 205-1 or on the touchpad 205 -1), and send the collected touch information to other devices such as the processor 202.
  • the touchpad 205-1 and the display 205-2 are used as two independent components to implement the input and output functions of the mobile phone 100, but in some embodiments, the touchpad 205-1 can be used It is integrated with the display 205-2 to realize the input and output functions of the mobile phone 100. It is understandable that the touch screen 205 is formed by stacking multiple layers of materials.
  • the touch pad 205-1 may cover the display 205-2, and the size of the touch pad 205-1 is larger than the size of the display 205-2, so that the display 205-2 is completely Covered under the touchpad 205-1, or the above-mentioned touchpad 205-1 can be configured on the front of the mobile phone 100 in the form of a full panel, that is, the user's touch on the front of the mobile phone 100 can be sensed by the smart phone, so that It can realize the full touch experience on the front of the smartphone.
  • the touchpad 205-1 is configured on the front of the mobile phone 100 in the form of a full panel
  • the display 205-2 can also be configured on the front of the mobile phone 100 in the form of a full panel, so that the front of the smart phone is A frameless structure can be realized.
  • the mobile phone 100 may also have a fingerprint recognition function.
  • a fingerprint recognizer may be disposed on the back of the mobile phone 100 (for example, under the rear camera), or a fingerprint recognizer may be disposed on the front of the mobile phone 100 (for example, under the touch screen 205).
  • the fingerprint collection device 213 can be configured in the touch screen 205 to realize the fingerprint recognition function, that is, the fingerprint collection device 213 can be integrated with the touch screen 205 to realize the fingerprint recognition function of the mobile phone 100.
  • the fingerprint collection device 213 is configured in the touch screen 205, may be a part of the touch screen 205, or may be configured in the touch screen 205 in other ways.
  • the main component of the fingerprint acquisition device 213 in the embodiment of the present application is a fingerprint sensor.
  • the fingerprint sensor can use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technology.
  • the mobile phone 100 may also include a Bluetooth device 206, which is used to implement data exchange between the mobile phone 100 and other short-distance terminals (such as smart phones, smart watches, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip.
  • the Wi-Fi device 208 is used to provide the mobile phone 100 with network access that complies with Wi-Fi related standard protocols.
  • the mobile phone 100 can connect to the Wi-Fi access point through the Wi-Fi device 208 to help users send and receive emails, Browsing web pages and accessing streaming media, etc., it provides users with wireless broadband Internet access.
  • the Wi-Fi device 208 can also be used as a Wi-Fi wireless access point, which can provide Wi-Fi network access for other terminals.
  • the gyroscope sensor 207A can be used to determine the movement posture of the mobile phone 100.
  • the angular velocity of the mobile phone 100 around three axes ie, x, y, and z axes
  • the gyro sensor 207A can be used for image stabilization.
  • the mobile phone 100 can determine the specific posture of the mobile phone 100 in space through the data collected by the gyroscope sensor 207A, and then predict the direction of movement of the mobile phone 100.
  • the acceleration sensor 207B can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the mobile phone, and is used in applications such as horizontal and vertical screen switching, pedometer, magnetometer posture calibration and so on. Specifically, in the embodiment of the present application, the mobile phone 100 can determine the movement speed and direction of the mobile phone 100 through data collected by the acceleration sensor 207B, and thereby predict the scene category in which the mobile phone 100 is located.
  • the positioning device 209 is used to provide a geographic location for the mobile phone 100. It is understandable that the positioning device 209 may specifically be a receiver of a positioning system such as a global positioning system (GPS), a Beidou satellite navigation system, a Galileo satellite navigation system, or a Russian GLONASS. After the positioning device 209 receives the geographic location sent by the above-mentioned positioning system, the information is sent to the processor 202 for processing, or sent to the memory 204 for storage. In some other embodiments, the positioning device 209 may also be a receiver of an assisted global satellite positioning system (AGPS). The AGPS system assists the positioning device 209 to complete ranging and positioning services by acting as an auxiliary server.
  • AGPS assisted global satellite positioning system
  • the auxiliary positioning server communicates with the positioning device 209 (ie GPS receiver) of the mobile phone 100 via a wireless communication network to provide positioning assistance.
  • the positioning device 209 may also be a positioning technology based on a Wi-Fi access point. Since every Wi-Fi access point has a globally unique MAC address, the terminal can scan and collect the broadcast signals of surrounding Wi-Fi access points when Wi-Fi is turned on, so that Wi-Fi can be obtained.
  • the MAC address broadcasted by the Fi access point the terminal sends the data (such as MAC address) that can identify the Wi-Fi access point to the location server through the wireless communication network, and the location server retrieves each Wi-Fi access point Combined with the strength of the Wi-Fi broadcast signal, the geographic location of the terminal is calculated and sent to the positioning device 209 of the terminal.
  • the data such as MAC address
  • the location server retrieves each Wi-Fi access point Combined with the strength of the Wi-Fi broadcast signal, the geographic location of the terminal is calculated and sent to the positioning device 209 of the terminal.
  • the audio circuit 210, the speaker 214, and the microphone 215 can provide an audio interface between the user and the mobile phone 100.
  • the audio circuit 210 can transmit the electric signal after the conversion of the received audio data to the speaker 214, which is converted into a sound signal for output by the speaker 214; on the other hand, the microphone 215 converts the collected sound signal into an electric signal, and the audio circuit 210 After being received, it is converted into audio data, and then the audio data is output to the RF circuit 203 to be sent to, for example, another smart phone, or the audio data is output to the memory 204 for further processing.
  • the peripheral interface 211 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a user identification module card, etc.). For example, it is connected to a mouse through a universal serial bus (USB) interface, and is connected to a subscriber identity module card (SIM) card provided by an operator through a metal contact on a subscriber identity module card slot.
  • the peripheral interface 211 can be used to couple the aforementioned external input/output peripheral devices to the processor 202 and the memory 204.
  • the mobile phone 100 can also include a power supply device 212 (such as a battery and a power management chip) for supplying power to various components.
  • a power supply device 212 such as a battery and a power management chip
  • the battery can be logically connected to the processor 202 through the power management chip, so that the power supply device 212 can manage charging, discharging, and power consumption management. And other functions.
  • the mobile phone 100 may also include a camera (front camera and/or rear camera), a flash, a miniature projection device, etc., which will not be repeated here.
  • a camera front camera and/or rear camera
  • a flash a miniature projection device, etc., which will not be repeated here.
  • an electronic device such as a mobile phone
  • can analyze more than one item of current scene information such as geographic location information, time information, weather information, sports information, or usage information of the electronic device.
  • the order of using the electronic device responds to the NFC application call request received by the electronic device.
  • the method for invoking the NFC application provided in this application solves the problems of complicated operations and low user experience caused by the user's need to manually select the NFC application to be used.
  • Electronic devices can more intelligently predict users' usage needs, and provide users with a more convenient NFC application experience.
  • the NFC application invocation request received by the mobile phone 100 is usually initiated by a terminal device supporting NFC (hereinafter referred to as an NFC device).
  • the NFC device may be a bus card swiping machine as shown in (a) in FIG. 1 or a POS device as shown in (b) in FIG. 1.
  • the NFC device can also be an access control device (such as residential community access control equipment, parking lot access control equipment, etc.) or identity verification equipment (such as boarding verification equipment or scenic spot real-name verification equipment, etc.), or other terminal devices that support NFC.
  • the application embodiment does not limit the specific structure, function, and usage scenarios of the NFC device.
  • an electronic device such as a mobile phone
  • the AI algorithm may be a neural network algorithm, for example, a convolutional neural network algorithm.
  • the embodiments of the present application do not limit the specific AI algorithm and calculation process.
  • the following takes the mobile phone 100 having the hardware structure shown in FIG. 2 as an example to introduce the method for invoking the NFC application provided in the embodiment of the present application. It can be understood that the method for invoking NFC applications provided in this application can also be applied to mobile phones with other hardware structures that support multiple NFC application functions, and can also be applied to other terminal devices that support multiple NFC application functions.
  • the following embodiments only take a mobile phone as an example, and do not limit the type and structure of a specific terminal device.
  • the method for invoking the NFC application provided by the embodiment of the present application may include S301-S303:
  • the mobile phone 100 obtains current scene information of the mobile phone 100.
  • the current scene information of the mobile phone 100 includes, but is not limited to: one or more of geographic location information, time information, weather information, sports information, or usage information.
  • the geographic location information may include the location category where the mobile phone 100 is currently located.
  • the mobile phone 100 can obtain the latitude and longitude information of the mobile phone 100 through positioning systems such as GPS, Beidou satellite navigation system, Galileo satellite navigation system, or Russian GLONASS, and determine the location category of the mobile phone 100 based on the latitude and longitude information of the mobile phone 100 and specific map data.
  • the mobile phone 100 determines that the latitude and longitude of the mobile phone 100 is a residential building based on the latitude and longitude information of the mobile phone 100 and map data, the mobile phone 100 can determine that the location category where the mobile phone 100 is located is a residential building.
  • the mobile phone 100 can also determine the location category of the mobile phone 100 based on the image recognition and other related technologies based on the image of the environment where the mobile phone 100 is located, collected by the camera according to the authorization of the user. For example, if the mobile phone 100 analyzes the image collected by the camera and determines that the image includes the image characteristics of the bus stop sign, the mobile phone 100 can determine that the mobile phone is at the bus stop.
  • the geographic location information may also include the location information of the mobile phone 100 obtained by the mobile phone 100 from a network device (such as a location management function (LMF) network element), and may also be other information used to determine the mobile phone 100.
  • a network device such as a location management function (LMF) network element
  • LMF location management function
  • the NFC application uses the geographic location information of the scene information, and the embodiment of this application does not limit the specific measurement method and specific content of the geographic location information.
  • the exercise information is used to indicate the exercise state of the mobile phone 100.
  • the movement information may include, but is not limited to, the movement speed and/or movement direction of the mobile phone 100.
  • the mobile phone 100 can obtain the motion data through sensor (such as acceleration sensor, gyroscope sensor, etc.) measurement or satellite (such as GPS, Beidou satellite, Galileo satellite or GLONASS, etc.) measurement.
  • sensor such as acceleration sensor, gyroscope sensor, etc.
  • satellite such as GPS, Beidou satellite, Galileo satellite or GLONASS, etc.
  • the embodiment of the present application does not limit the specific measurement method of the exercise information.
  • the specific method and process for the mobile phone 100 to obtain the motion data through the sensor or satellite measurement please refer to the introduction and description in the conventional technology, which will not be repeated here.
  • Time information is used to indicate the current date and specific time. Further, the time information can also be used to indicate whether the current time is a legal working day or a legal holiday.
  • Weather information is used to indicate the current weather, air quality, temperature, etc. Time information and weather information can be obtained by the mobile phone 100 by synchronizing with the Internet.
  • the usage information is used to instruct the mobile phone 100 to use the information of the NFC application within a preset time range before the time indicated by the above-mentioned time information.
  • the usage information may include information such as the time and/or geographic location of calling each NFC application within a preset time period (such as within one month) of the mobile phone 100 before the current moment.
  • the mobile phone 100 can predict the next user's NFC application usage needs based on the current scene information of the mobile phone 100. Specifically, the mobile phone 100 can predict the usage scenario category in which the mobile phone 100 is about to call the NFC application based on the current scene information of the mobile phone 100.
  • the time information indicates that the current time is between 7:40-8:10 in the morning of the working day
  • the usage information indicates that the mobile phone 100 will be in sequence during the time period of 7:40-8:10 in the morning of each working day.
  • the mobile phone 100 can speculate that the user is about to leave home, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a homecoming scene. And, the mobile phone 100 speculates that the user may sequentially need to use the "home key” application, the "residential building access card” application, the "residential community parking card” application, and the "residential community access card” application in turn.
  • the geographic location information indicates that the mobile phone 100 is currently located at a location G, where the location G is a bus stop.
  • the information indicates that the mobile phone 100 will call the “bus card” application every time it is located at the location G; then when it arrives at the location K, the “metro card” application will be called, where the location K is a subway station.
  • the mobile phone 100 can speculate that the user is about to take public transportation, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a public transportation scene. More specifically, the mobile phone 100 can infer that the user needs to take the bus first, and then the subway. In other words, the user may subsequently have the need to use the "Bus Card” application and the "Metro Card” application in turn.
  • the geographic location information indicates that the mobile phone 100 is currently located at a bus stop next to the scenic spot. But the weather information indicates that the current weather is heavy rain.
  • the mobile phone 100 can infer that the possibility that the user is about to take a bus is greater than the possibility of entering a scenic spot, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a public transportation scene. And, the mobile phone 100 speculates that the user may have a need to use a "bus card" in the future.
  • the geographic location information indicates that the mobile phone 100 is located at the gate of the user's residential quarter.
  • the movement information indicates that the movement speed of the mobile phone 100 is 1 meter per second (m/s), and the movement direction is the direction of entering the residential area.
  • the mobile phone 100 can speculate that the user is about to go home through the cell gate, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a homecoming scene. More specifically, the mobile phone 100 can speculate that the user is about to walk home, and then there may be a need to use the "residential community access card", the "residential building access card” application, and the "home key” application in turn.
  • the geographic location information indicates that the mobile phone 100 is located near the L parking lot of a shopping mall.
  • the movement information indicates that the movement speed of the mobile phone 100 is 8 meters per second (m/s), and the movement direction is the direction of entering the L parking lot of the shopping mall.
  • the time information indicates that the current time is noon on a rest day.
  • the mobile phone 100 can speculate that the user is about to drive to the mall, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a mall scene. And, the mobile phone 100 speculates that the user may sequentially need to use the "shopping card parking card” application and the "payment card” application in turn.
  • the mobile phone 100 determines the first NFC application group and its use order according to the current scene information.
  • the first NFC application group includes n NFC applications.
  • the multiple NFC applications included in the first NFC application group have a use order.
  • the order of use can be the order of priority, geographic order, or chronological order.
  • the mobile phone 100 can determine a group of NFC applications to be called (ie, the first NFC application group). It is assumed that the first NFC application group includes n NFC applications, where n ⁇ 2 and is a positive integer.
  • the mobile phone 100 predicts that the user is about to leave the house next, and then the "home key” application, the "residential building access card” application, and the “residential community parking card” application may be used in sequence.
  • the mobile phone 100 can determine that the first NFC application group to be called includes the "home key” application, the "residential building access card” application, and the "residential community parking card” in order of use. Application and "Residential District Access Card” application.
  • the order of use of multiple NFC applications in the first NFC application group in the above example may be a priority order: "home key” application> "residential building access card” application> "residential community parking card” application> "residential community” Access control card” application.
  • the order of using multiple NFC applications in the first NFC application group in the above example may be chronological: "home key” application ⁇ "residential building access card” application ⁇ "residential community parking card” application ⁇ "residential community access control Card” application.
  • the order of use of multiple NFC applications in the first NFC application group in the above example can be the order of location: home corresponds to the "home key” application, residential building door corresponds to the “residential building access card” application, and residential quarter parking lot corresponds to “Residential quarter parking card” application, and residential quarter gates correspond to "Residential quarter access card” application.
  • the mobile phone 100 predicts that the user will leave the residential area and take a bus to work. Then there may be a need to use the "bus card” application and the "company time card” application in turn. When the time, the mobile phone 100 can determine that the first NFC application group to be called includes the "bus card” application and the "company time card” application in the order of use.
  • the mobile phone 100 may determine that the first NFC application group to be called includes the "office building parking card” application and the "company time card” application in order of use.
  • the mobile phone 100 predicts that the user will arrive at a scenic spot next, and then the "ID Card” application (used for identity verification when purchasing tickets) and the "Payment Card” application may be used in sequence. (Used for ticket purchase) and "ID card” application (used for identity verification when entering the scenic spot), the mobile phone 100 can determine that the first NFC application group to be called includes the "ID card” application and "ID card” application with order of use. "Payment card” application and "ID card” application.
  • each NFC application group includes a plurality of NFC applications in order of use.
  • the foregoing step S302 may include:
  • the mobile phone 100 determines the first NFC application group from a plurality of NFC application groups pre-saved in the mobile phone 100 according to the current scene information.
  • the first NFC application group may be a group of NFC applications with the highest matching degree between the usage scene information and the current scene information acquired by the mobile phone 100 in step S301 among the multiple NFC application groups pre-stored in the mobile phone 100.
  • the first NFC application group determined by the mobile phone 100 in S302 may also be an NFC application group determined by the mobile phone 100 from multiple NFC application groups matching the current scene information acquired by the mobile phone 100 in step S301 according to other rules.
  • the mobile phone 100 may randomly select an NFC application group from a plurality of NFC application groups matching the current scene information obtained by the mobile phone 100 in step S301.
  • the mobile phone 100 may determine the first NFC application group from a plurality of NFC application groups matching the current scene information obtained by the mobile phone 100 in step S301 according to the last use record of the NFC application group corresponding to the current scene information.
  • multiple NFC application groups pre-stored in the mobile phone 100 may have a one-to-one correspondence with the current scene information acquired by the mobile phone 100 in S301.
  • one current scene information can also correspond to multiple NFC application groups.
  • the embodiment of the present application does not limit the number of NFC application groups corresponding to different scene information.
  • the mobile phone 100 speculates that the user may use it as shown in Figure 4.
  • the Ath NFC application group in Fig. 4 (that is, the user drives home) may also use the Bth NFC application group in FIG. 4 (that is, the user walks home).
  • the application use order shown by the solid line is the application use order corresponding to the Ath NFC application group (that is, the user drives home).
  • the A NFC application group includes applications in the chronological order of "Residential Community Access Card” application ⁇ "Residential Community Parking Card” application ⁇ "Residential Building Access Control Card” application ⁇ "Home Key” application.
  • the "Residential Quarter Access Control Card” application is used to pass the residential quarter access control 410
  • the "Residential Quarter Parking Card” application is used to pass the underground garage access control 420 of the residential quarter
  • the "Residential Building Access Control Card” application is used to pass the residential building door 430, "home door”.
  • the "key” application is used to pass through the user's home 440.
  • the application use order shown by the dotted line is the application use order corresponding to the Bth NFC application group (that is, the user walks home by car).
  • the B NFC application group includes applications in the time sequence of "Residential Community Access Card” Application ⁇ "Residential Building Access Card” Application ⁇ "House Key” Application.
  • the “residential area access control card” application is used to pass the residential area access control 450
  • the “residential building access control card” application is used to pass the residential building door 430
  • the “home key” application is used to pass the user’s home door 440.
  • the mobile phone 100 can further predict that the user drives home. That is, the mobile phone 100 can determine that the first NFC application group is the Ath NFC application group shown in FIG. 4. In this case, the mobile phone 100 in accordance with the application use order of 410 ⁇ 420 ⁇ 430 ⁇ 440 corresponding to the A NFC application group, sequentially processes the access control of the residential quarter, the access control of the residential underground garage, the access control of the residential building and the access control received by the mobile phone 100 respectively. NFC application call request for home door access control.
  • the mobile phone 100 may further predict that the user walks home.
  • the mobile phone 100 processes the NFC application call requests received by the mobile phone 100 from the residential quarter access control, residential building access control, and home door access control in the order of 450 ⁇ 430 ⁇ 440 corresponding to the B NFC application group. .
  • one NFC application can be associated with multiple analog cards, or in other words, one NFC application can be bound with multiple analog cards.
  • the "payment card” application can be bound to multiple bank cards (such as China Merchants Bank, Construction Bank, Bank of China, etc.).
  • the "Transportation Card” application can be bound to bus and subway cards.
  • the "transportation card” application can be bound to bus cards and subway cards in Beijing, Shanghai, Xi'an, Shenzhen and other cities.
  • the mobile phone 100 can only call one analog card in one NFC application.
  • the mobile phone 100 can call any one of the multiple bank cards bound to the "payment card” application.
  • the mobile phone 100 can also call a user-defined default bank card, and the mobile phone 100 can also call a specific analog card in the NFC application according to other rules. For another example, when the mobile phone 100 calls the "transportation card" application to take public transportation, the mobile phone 100 can combine the geographic location information of the mobile phone 100 to determine which city's transportation card is to be called, and whether to call the bus card or the subway card.
  • the selection rule of a specific analog card in an NFC application is not limited in the embodiment of this application.
  • the mobile phone 100 sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group.
  • the mobile phone 100 may preset n NFC applications in the first NFC application group as NFC applications to be used.
  • the mobile phone 100 may preset the activation timing of the n NFC applications.
  • the mobile phone 100 may first activate the first NFC application in the first NFC application group. And, after the first NFC application is successfully used, the second NFC application is activated; and so on, the mobile phone 100 activates the (i+1)th NFC application after the i-th NFC application is successfully used.
  • i is a positive integer, and i ⁇ n.
  • the mobile phone 100 sequentially activates the n NFC applications in the first NFC application group according to the preset activation timing, until the n NFC applications in the first NFC application group are called.
  • the above-mentioned first NFC application is the first NFC application to be invoked in the first NFC application group according to the usage scenario corresponding to the usage scenario information of the first NFC application group.
  • the usage scene information matches the current scene information acquired by the mobile phone 100 in S301.
  • the usage scenario information includes one or more of geographic location information, time information, weather information, sports information, and operation information of the mobile phone 100 when the first NFC application group is called.
  • the second NFC application is the second NFC application to be called in the first NFC application group in the usage scenario corresponding to the usage scenario information of the first NFC application group.
  • the i-th NFC application is the i-th NFC application that is invoked in the first NFC application group in a usage scenario corresponding to the usage scenario information of the first NFC application group.
  • the (i+1)th NFC application is the (i+1)th NFC application that is invoked in the first NFC application group in a usage scenario corresponding to the usage scenario information of the first NFC application group.
  • step S303 may include S501, S502, and S503-1, or S501, S502, S503-2, and S504 shown in FIG. 5A:
  • the mobile phone 100 activates the i-th NFC application in the first NFC application group.
  • i is a positive integer, and i ⁇ n.
  • the mobile phone 100 executes S503-1; if the i-th NFC application in the mobile phone 100 is not verified, the mobile phone 100 executes S503-2.
  • the mobile phone 100 activates the (i+1)th NFC application in the first NFC application group.
  • the mobile phone 100 executes S503-1, if the i+1th NFC application in the mobile phone 100 passes the verification, the mobile phone 100 continues to activate other applications in the first NFC application group in the order of use after the i+1th NFC application . If the i+1th NFC application in the mobile phone 100 is not verified, the mobile phone 100 executes S503-2.
  • the mobile phone 100 sequentially activates other NFC applications in the first NFC application group until the NFC application of the mobile phone 100 is verified.
  • the mobile phone 100 may sequentially activate other NFC applications in the first NFC application group in the order of the (i+1)th NFC application ⁇ ... ⁇ the nth NFC application.
  • the mobile phone 100 may also activate other NFC applications in the first NFC application group in sequence according to the distance between the other NFC applications in the first NFC application group and the sequence in which the i-th NFC application is called.
  • the mobile phone 100 may sequentially activate other NFC applications in the first NFC application group in the order of the (i+1)th NFC application ⁇ the (i-1)th NFC application ⁇ « ⁇ the nth NFC application.
  • the mobile phone 100 sequentially activates the rules followed by other NFC applications in the first NFC application group, which are not limited in the embodiment of the present application.
  • the mobile phone 100 sequentially activates other NFC applications in the first NFC application group until the NFC application of the mobile phone 100 is verified.
  • the method provided in this embodiment of the application may further include the following step S504:
  • the mobile phone 100 automatically activates and invokes the multiple NFC applications in the second NFC application group in sequence according to the use order of the multiple NFC applications in the second NFC application group.
  • the second NFC application group is the NFC application group with the highest matching degree between the usage scene information and the current scene information acquired by the mobile phone 100 in S301 among the multiple groups of NFC applications pre-stored in the mobile phone 100.
  • the mobile phone 100 predicts that the user will soon enter a residential area to go home according to the current scene information of the mobile phone 100, and the mobile phone 100 determines that the first NFC application group is The Ath NFC application group shown in Figure 4, that is, the user drives home. Next, the mobile phone 100 is about to automatically activate the multiple NFC applications in sequence according to the order of use of the multiple NFC applications in the Ath NFC application group.
  • the first NFC application in the A-th NFC application group (that is, the "residential community access control card” used to pass the residential quarter access control 410 Application) Cannot successfully verify the access control 450 of the residential area.
  • the mobile phone 100 can try to call other NFC applications in the Ath NFC application group (including the "residential community parking card” application, the "residential building access card” application, or the "home key” in turn according to a certain activation frequency. Application), until the mobile phone 100 successfully verifies the residential area access control 450.
  • the mobile phone 100 can re-determine the NFC application group to be used. For example, the Ath NFC application group is switched to the Bth NFC application group, and the NFC application group corresponding to walking home is used to respond to the next NFC device that the mobile phone 100 approaches.
  • the mobile phone 100 sequentially activates other NFC applications in the first NFC application group until the NFC application of the mobile phone 100 is verified.
  • the method provided in this embodiment of the application may further include the following steps: the mobile phone 100 displays The second interface is used for the user to select the NFC application group to be switched. And, after the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
  • the method provided in the embodiment of the present application may further include:
  • the mobile phone 100 records the usage scene information when the mobile phone 100 uses the NFC application, and updates the user's rule of using the NFC application according to the usage scene information when the mobile phone 100 uses the NFC application recorded by the mobile phone 100. Further, the mobile phone 100 updates the NFC application group matching the current scene information according to the updated rule of the user using the NFC application.
  • the mobile phone 100 may also perform S503-3 or S503-4.
  • the mobile phone 100 reminds the user to manually select the NFC application that the user wants to use.
  • the mobile phone 100 may display an interface for the user to select the NFC application to be switched. And, call the NFC application according to the NFC application manually selected by the user.
  • the mobile phone 100 may also display a second interface for the user to select which NFC application group to switch to.
  • the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
  • the mobile phone 100 reminds the user to manually select the NFC application group (such as the third NFC application group) that the user wants to use.
  • the mobile phone 100 may display a second interface for the user to select the NFC application group to be switched. And, after the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
  • the mobile phone 100 may display a second interface for the user to select which NFC application group to switch to. After the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
  • Case (1) The multiple NFC application groups pre-stored in the mobile phone 100 are drawn by the mobile phone 100 according to the usage information of the mobile phone 100.
  • the mobile phone 100 can obtain the rule of the user using the NFC application according to the time and/or geographic location of the NFC application used by the mobile phone 100 within a preset time range, and then determine multiple NFC application groups according to the rule of the user using the NFC application. And it is stored in the mobile phone 100 in advance.
  • the usage information of the mobile phone 100 indicates that the mobile phone 100 usually calls the "residential parking card” application, the "residential building access card” application, and the "home key” application every time after the "residential community access card” application is invoked.
  • the mobile phone 100 usually calls the “residential building access control card” application and the “home key” application every time after calling the “residential community access control card” application. Then, the mobile phone 100 can obtain the Ath NFC application group and the Bth NFC application group shown in FIG. 4, and save them in the mobile phone 100 in advance.
  • multiple NFC application groups pre-stored in the mobile phone 100 and the corresponding relationship between the multiple sets of NFC applications and scene information can be visually displayed on the display interface of the mobile phone 100.
  • the mobile phone 100 may display a setting interface of the NFC application group and scene information in response to the user's operation of selecting "NFC" on the “wireless and network” interface.
  • the "wireless and network” interface may be an interface displayed by the mobile phone 100 in response to the user's selection of "wireless and network” in the "setting" interface.
  • FIG. 6 shows an example schematic diagram of entering the NFC interface and entering the interface for modifying the NFC application group.
  • the mobile phone 100 displays as shown in (b) in FIG. 6 Interface 603.
  • the mobile phone 100 may also display a setting interface of the NFC application group and scene information in response to the user's operation of selecting "NFC" on the “device connection” interface.
  • the "device connection” interface may be an interface displayed by the mobile phone 100 in response to the user's selection of "device connection” on the "settings” interface.
  • the mobile phone 100 in response to the user selecting "NFC” operation 605 on the “device connection” interface 604 as shown in (a2) in FIG. 6, the mobile phone 100 displays an interface as shown in (b) in FIG. 603.
  • the switch keys corresponding to "card reader mode", "P2P mode” and “card mode” can be used to turn on or turn off the corresponding NFC function.
  • the "Transport Card” option allows users to bind a bus card or subway card, etc.
  • the “Payment Card” option allows users to associate bank cards or virtual wallets.
  • the "Access Control Card” option allows users to add residential community access control cards or parking cards, etc.
  • the "Identity Card” option allows users to associate a virtual ID card or company attendance card, etc.
  • the "Portrait with Card” option allows users to customize and modify scene information and/or NFC application groups.
  • user-defined modification of scene information and/or NFC application groups includes but is not limited to: users add or delete scene categories, users add or delete NFC application groups corresponding to a certain scene category, and users add Or delete the NFC application type in a certain NFC application group, the user adds or deletes an analog card bound to a certain NFC application, the user modifies the corresponding relationship between the scene category and the NFC application group, or the user modifies the use of the NFC application in the NFC application group Order etc.
  • the option 606 can be used for the user to add a scene category.
  • Option 607 can be used by the user to delete a certain scene category.
  • Option 608 can be used by the user to modify the corresponding relationship between the scene category and the NFC application group.
  • the mobile phone 100 displays an interface 610 as shown in (c) in FIG.
  • option 611 is used for the user to add the NFC application group corresponding to the homecoming scene.
  • Option 612 can be used for the user to delete the Ath NFC application group.
  • Option 613 can be used by the user to add or delete the NFC application types in the Ath NFC application group, add or delete the analog card in a certain NFC application corresponding to the Ath NFC application group, or modify the use of the NFC application in the Ath NFC application group Order etc.
  • Option 614 can be used for the user to delete the Bth NFC application group.
  • Option 615 can be used for users to add or delete NFC application types in the Bth NFC application group, add or delete an analog card in a certain NFC application corresponding to the Bth NFC application group, or modify the use of NFC applications in the Bth NFC application group Order etc.
  • the method of entering the NFC setting interface shown in (a1) and (a2) in FIG. 6 of this application, and the specific display interface of the NFC setting interface shown in (b) in FIG. 6, And the interface for customizing and modifying the NFC application group shown in (c) in FIG. 6 is only an example. In fact, users can also enter the NFC setting interface through other channels.
  • the NFC setting interface and the interface for customizing and modifying the NFC application group can also display other related options, and the display position and display form of each option can also be modified in other ways.
  • Case (2) The multiple NFC application groups pre-stored in the mobile phone 100 are customized by the mobile phone 100.
  • the mobile phone 100 may obtain an NFC application group according to multiple NFC applications with different priorities manually set by the user.
  • the mobile phone 100 may respond to the user's operation of clicking option 611 on the interface 610 shown in (c) of FIG. 6 to display an interface for adding an NFC application group, so that the user can manually set multiple NFC applications and Manually set the priority of different NFC applications.
  • the mobile phone 100 can obtain multiple NFC application groups according to the above-mentioned custom settings of the user.
  • the electronic device can obtain the NFC application groups corresponding to different scene categories by learning the rules of the user's use of the NFC application. So that when the electronic device receives the NFC application call request, combined with one or more of the electronic device’s geographic location information, time information, weather information, sports information or usage information, intelligently predict the user’s use of the NFC application based on contextual perception In turn, it is predicted that an NFC application group with a sequence of use that can meet the needs of users is used for electronic devices to automatically verify their nearby NFC devices one by one. It solves the problems of complicated operation and low user experience caused by users needing to manually select the NFC application to be used, and provides users with a more convenient NFC application experience.
  • the method for invoking the NFC application provided in the embodiment of the present application may further include steps S304 and S305:
  • the mobile phone 100 displays the first interface.
  • the first interface is used to request the user to confirm whether to use the first NFC application group.
  • the first interface may be used to indicate the first indication information.
  • the first indication information is used to remind the user of the first NFC application group.
  • the first indication information is also used to indicate the order of use of the n NFC applications in the first NFC application group, and for the user to confirm whether according to the order of use of the n NFC applications in the first NFC application group, The n NFC applications are automatically activated to verify the NFC device close to the mobile phone 100.
  • the first indication information can be displayed on the first interface by a pop-up window, as shown in (a) in FIG. 8.
  • the first indication information may also be displayed on the first interface in the form of a pull-down notification, as shown in FIG. 8(b).
  • the first indication information may also be displayed on the first interface in the form of a floating frame.
  • the mobile phone 100 in response to the user's operation of pulling down the notification bar for notifying the first indication information, displays an interface as shown in FIG. 8(c).
  • the mobile phone 100 receives an operation that the user determines to use the first NFC application group on the first interface.
  • the user's operation to determine to use the first NFC application group on the first interface may be that the user clicks the option "Yes” on the interface shown in Figure 8 (a) or Figure 8 (c) operate.
  • step S303 includes: in response to the user's operation of determining to use the first NFC application group on the first interface, the mobile phone 100 activates and invokes the first NFC application group in the order in which the first NFC application group is used. NFC applications in the NFC application group.
  • the NFC application group indicated by the first indication information is predicted by the mobile phone 100 according to the current scene information obtained by the mobile phone 100, and the user may need to use multiple NFC applications next.
  • the mobile phone 100 reminds the user of the multiple NFC applications to be used and the adaptation sequence of the multiple NFC applications, so that the user can give feedback on the prediction result of the mobile phone 100, so that the mobile phone 100 can accurately verify the NFC device close to the mobile phone 100.
  • the mobile phone 100 can also call the "payment card” application.
  • the NFC application such as "application” or "transportation card” application
  • the mobile phone 100 may remind the user in a pull-down notification bar, or a pop-up window to remind the user.
  • the electronic device reminds the user of the multiple NFC applications that the electronic device predicts to be invoked and the order of use of each NFC application, and provides the user to feedback that the prediction result is accurate.
  • the sexual option is more conducive to the accuracy of the response of the electronic device to the received NFC application call request, and provides users with a more convenient NFC application experience.
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in this application.
  • the implementation process of the example constitutes any limitation.
  • the electronic device includes a hardware structure and/or software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application may divide the electronic device into functional modules.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • the electronic device may include an information acquiring unit 910, a processing unit 920, and an NFC calling unit 930.
  • the information obtaining unit 910 is used to support the electronic device to perform the above step S301, and/or used to perform other processes of the technology described herein.
  • the processing unit 920 is used to support the electronic device to perform the above step S302, and/or used to perform other processes of the technology described herein.
  • the NFC calling unit 930 is used to support the electronic device to perform the above steps S303, S501, S502, S503-1, S503-2, S504, S503-3 or S503-4, and/or other processes for performing the technology described herein .
  • the electronic device may further include a storage unit 940 for pre-storing multiple NFC application groups and/or for storing other information of the technology described herein.
  • the electronic device may further include a display unit 950, which is used to support the electronic device to perform the above steps S304 or S305, or display the second interface, and/or display the Other information about the technology.
  • a display unit 950 which is used to support the electronic device to perform the above steps S304 or S305, or display the second interface, and/or display the Other information about the technology.
  • the above electronic device may also include a radio frequency circuit.
  • the electronic device can receive and send wireless signals through a radio frequency circuit.
  • the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency circuit can also communicate with other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, Email, Short Message Service, etc.
  • the electronic device may correspond to the method in the foregoing method embodiment, for example, the method in FIG. 3, FIG. 5A, or FIG. /Or the functions are respectively to implement the corresponding steps of the method in the foregoing method embodiment, so the beneficial effects in the foregoing method embodiment can also be achieved, and for the sake of brevity, details are not described here.
  • each module in the electronic device can be implemented in the form of software and/or hardware, which is not specifically limited.
  • the electronic device is presented in the form of functional modules.
  • the "module” herein may refer to application-specific integrated circuits ASIC, circuits, processors and memories that execute one or more software or firmware programs, integrated logic circuits, and/or other devices that can provide the above-mentioned functions.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the detection device.
  • the processor and the storage medium may also exist as discrete components in the detection device.
  • the present application provides a chip system
  • the chip system includes a processor, a memory, and instructions are stored in the memory; when the instructions are executed by the processor, any one of the possible The calling method of the NFC application in the implementation mode.
  • the chip system can be composed of chips, or it can include chips and other discrete devices.
  • the disclosed user equipment and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Abstract

The present application relates to an electronic device technology in the field of artificial intelligence (AI), provides a method for invoking near field communication (NFC) applications, an electronic device, and an NFC apparatus, and can solve the problems of complicated operation and low user experience due to that a user needs to manually select NFC applications. Specifically, an electronic device can learn the law of using NFC applications by a user so as to intelligently predict, when the electronic device is close to NFC devices, NFC application use requirements of the user on the basis of context awareness in combination with one or more of geographical location information, time information, whether information or use information of the electronic device. Thus, an NFC application group that can meet user requirements and has order of use is invoked, for the electronic device to automatically verify the NFC devices that the electronic device is close to one by one, providing the user with use experience of greater convenience.

Description

一种NFC应用的调用方法、电子设备及NFC装置Method for calling NFC application, electronic equipment and NFC device
本申请要求于2020年03月04日提交国家知识产权局、申请号为202010143986.3、申请名称为“一种NFC应用的调用方法、电子设备及NFC装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on March 4, 2020, the application number is 202010143986.3, and the application name is "An NFC application calling method, electronic equipment and NFC device", and its entire content Incorporated in this application by reference.
技术领域Technical field
本申请实施例涉及人工智能AI领域的电子设备技术,尤其涉及一种NFC应用的调用方法、电子设备及NFC装置。The embodiments of the present application relate to electronic device technology in the field of artificial intelligence AI, and in particular, to a method for invoking an NFC application, an electronic device, and an NFC device.
背景技术Background technique
NFC技术(又称近距离无线通信技术)作为一种短距离的高频无线通信技术,可以允许设备之间进行非接触式的设备识别和数据传输。NFC technology (also called short-range wireless communication technology) is a short-distance high-frequency wireless communication technology that allows non-contact device identification and data transmission between devices.
随着智能设备的发展,越来越多的电子设备支持NFC模拟卡应用(以下简称NFC应用)功能。示例性的,NFC应用可以包括交通卡应用、门禁卡应用、支付卡应用或身份卡应用等。用户可以使用具有NFC功能的电子设备完成支付、出行或身份验证等,而无需随身携带不同的实体卡片(如身份证、银行卡或公交卡等)。With the development of smart devices, more and more electronic devices support NFC analog card applications (hereinafter referred to as NFC applications) functions. Exemplarily, the NFC application may include a transportation card application, an access control card application, a payment card application, or an identity card application, etc. Users can use electronic devices with NFC function to complete payment, travel or identity verification, etc., without having to carry different physical cards (such as ID cards, bank cards or bus cards, etc.).
常规的电子设备如果要调用NFC应用,需要用户根据实际使用场景手动选择用户想要使用的NFC应用。例如,在用户乘坐公交车时,需要用户从多个NFC应用中查找到交通卡应用,然后电子设备可以使用交通卡应用进行公交车上的NFC刷卡行为。该方法操作复杂,用户体验度低。If a conventional electronic device wants to call an NFC application, the user needs to manually select the NFC application that the user wants to use according to actual usage scenarios. For example, when a user rides a bus, the user needs to find a transportation card application from multiple NFC applications, and then the electronic device can use the transportation card application to perform the NFC card swiping behavior on the bus. This method has complicated operations and low user experience.
发明内容Summary of the invention
本申请提供一种NFC应用的调用方法、电子设备及NFC装置,可以解决用户需要手动选择待使用的NFC应用所带来的操作复杂,用户体验度低的问题。The present application provides a method for invoking an NFC application, an electronic device, and an NFC device, which can solve the problems of complicated operations and low user experience caused by the user's need to manually select the NFC application to be used.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the foregoing objectives, the following technical solutions are adopted in the embodiments of this application:
第一方面,提供一种NFC应用的调用方法,该方法应用于电子设备,该述电子设备中包括多个NFC应用,该方法可以包括:电子设备获取电子设备的包括地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项的当前场景信息;其中,运动信息用于指示电子设备的运动状态,使用信息用于指示电子设备在上述时间信息指示的时间之前的预设时间范围内使用NFC应用的信息;电子设备根据当前场景信息确定第一NFC应用组及其使用顺序;该第一NFC应用组中包括n个NFC应用,其中,n≥2,且为正整数;电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。In a first aspect, a method for invoking an NFC application is provided. The method is applied to an electronic device. The electronic device includes multiple NFC applications. The current scene information of one or more of weather information, sports information, or usage information; wherein the movement information is used to indicate the movement state of the electronic device, and the usage information is used to indicate the electronic device's forecast before the time indicated by the above-mentioned time information. Set the NFC application information used within the time range; the electronic device determines the first NFC application group and its use order according to the current scene information; the first NFC application group includes n NFC applications, where n≥2 and is a positive integer ; The electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the use order of the first NFC application group.
上述第一方面提供的技术方案,电子设备在靠近NFC设备时,可以结合电子设备的地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项,智能化地基于情景感知预测用户的NFC应用使用需求。进而调用可以满足用户需求的具有使用顺序的一个NFC应用组,用于电子设备逐一自动化地验证电子设备靠近的NFC设备,为用户提供更加便捷的使用体验。The technical solution provided by the above first aspect, when the electronic device is close to the NFC device, it can combine one or more of the geographical location information, time information, weather information, sports information or usage information of the electronic device, intelligently based on the situation Perceive and predict the user's needs for NFC applications. In turn, an NFC application group with a usage sequence that can meet the needs of the user is invoked to automatically verify the NFC devices that the electronic device is close to one by one, so as to provide the user with a more convenient use experience.
在一种可能的实现方式中,上述电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,包括:电子设备激活第一NFC应用组中 的第i个NFC应用,其中,i为正整数,且i<n;电子设备在靠近NFC设备时,验证第i个NFC应用;电子设备在上述第i个NFC应用被验证通过后,激活第i+1个NFC应用。通过逐一激活和调用电子设备预测的第一NFC应用组中的NFC应用,可以自动化地满足用户连续使用同一场景下的多个NFC应用的需求,为用户提供更加便捷的使用体验。In a possible implementation manner, the electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, including: the electronic device activates the i-th one in the first NFC application group NFC applications, where i is a positive integer and i<n; the electronic device verifies the i-th NFC application when it is close to the NFC device; the electronic device activates the i+1-th NFC application after the i-th NFC application is verified NFC applications. By activating and invoking the NFC applications in the first NFC application group predicted by the electronic device one by one, it is possible to automatically meet the needs of the user to continuously use multiple NFC applications in the same scenario, and provide the user with a more convenient experience.
在一种可能的实现方式中,上述第i个NFC应用是第一NFC应用组中、第一NFC应用组的使用场景信息对应的使用场景下,将第i个被调用的NFC应用;第i+1个NFC应用是第一NFC应用组中、第一NFC应用组的使用场景信息对应的使用场景下,将第i+1个被调用的NFC应用;其中,上述使用场景信息与当前场景信息匹配,上述使用场景信息包括第一组NFC应用被调用时,电子设备的地理位置信息、时间信息、天气信息、运动信息、操作信息中的一项或多项。电子设备基于情景感知可以具体地预测得到用户NFC应用使用需求的时间顺序、优先级顺序或空间顺序等,以便可以自动化地满足用户连续使用同一场景下的多个NFC应用的需求,为用户提供更加便捷的使用体验。In a possible implementation manner, the i-th NFC application is the i-th NFC application that is called in the first NFC application group and in the usage scenario corresponding to the usage scenario information of the first NFC application group; The +1 NFC application is the i+1th NFC application to be called in the usage scenario corresponding to the usage scenario information of the first NFC application group in the first NFC application group; wherein, the foregoing usage scenario information is the same as the current scenario information Matching, the foregoing usage scenario information includes one or more of geographic location information, time information, weather information, sports information, and operation information of the electronic device when the first group of NFC applications are invoked. The electronic device can specifically predict the time sequence, priority sequence or spatial sequence of the user's NFC application needs based on context awareness, so that it can automatically meet the user's continuous use of multiple NFC applications in the same scenario, and provide users with more Convenient experience.
在一种可能的实现方式中,在上述电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用之前,上述方法还可以包括:电子设备显示用于用户确认是否使用所述第一NFC应用组的第一界面;电子设备接收用户在上述第一界面上确定使用第一NFC应用组的操作;其中,电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,具体可以包括:响应于用户在第一界面上确定使用第一NFC应用组的操作,电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。电子设备在预测出一个NFC应用组之后,可以询问用户是否使用该NFC应用。通过这样的提醒和询问,可以避免电子设备预测错误造成的电子设备无法验证通过的问题。In a possible implementation manner, before the above-mentioned electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, the above-mentioned method may further include: the electronic device displays for the user Confirm whether to use the first interface of the first NFC application group; the electronic device receives the user's operation on the first interface to determine the use of the first NFC application group; wherein, the electronic devices follow the order of use of the first NFC application group in order Activating and invoking the NFC application in the first NFC application group may specifically include: in response to the user's operation of determining to use the first NFC application group on the first interface, the electronic device sequentially activates and Call the NFC application in the first NFC application group. After predicting an NFC application group, the electronic device can ask the user whether to use the NFC application. Through such reminders and inquiries, it is possible to avoid the problem that the electronic device cannot be verified by the electronic device caused by the prediction error of the electronic device.
在一种可能的实现方式中,上述第一界面还用于提醒用户第一NFC应用组中的n个NFC应用的使用顺序。电子设备在预测出一个NFC应用组之后,还可以提醒用户该NFC应用组中多个NCF的使用顺序。通过这样的提醒,可以避免电子设备预测错误造成的电子设备无法验证通过的问题。In a possible implementation manner, the above-mentioned first interface is also used to remind the user of the use order of the n NFC applications in the first NFC application group. After predicting an NFC application group, the electronic device may also remind the user of the order of use of multiple NCFs in the NFC application group. Through such a reminder, it is possible to avoid the problem that the electronic device cannot pass the verification caused by the error of the electronic device's prediction.
在一种可能的实现方式中,上述电子设备中预先保存有多个NFC应用组,每个NFC应用组中包括多个NFC应用;上述电子设备根据当前场景信息确定第一NFC应用组,具体可以包括:电子设备根据当前场景信息从电子设备中预先保存的多个NFC应用组中,确定第一NFC应用组;其中,第一NFC应用组是多个NFC应用组中,使用场景信息与当前场景信息匹配度最高的NFC应用组。电子设备中可以预先保存多组通过学习得到的NFC应用组,电子设备可以根据当前场景信息从中匹配出使用场景信息相符的一个NFC应用组,获得更好的预测效果。In a possible implementation manner, multiple NFC application groups are pre-stored in the above electronic device, and each NFC application group includes multiple NFC applications; the above electronic device determines the first NFC application group according to the current scene information, which may be specifically Including: the electronic device determines the first NFC application group from the multiple NFC application groups pre-saved in the electronic device according to the current scene information; wherein the first NFC application group is among the multiple NFC application groups, and the usage scene information is the same as the current scene. The NFC application group with the highest information matching. The electronic device can pre-store multiple groups of NFC application groups obtained through learning, and the electronic device can match an NFC application group with matching usage scene information from the current scene information to obtain a better prediction effect.
在一种可能的实现方式中,上述方法还可以包括:电子设备根据电子设备在预设时间范围内使用NFC应用时的使用场景信息获取用户使用NFC应用的规律;电子设备根据用户使用NFC应用的规律确定多个NFC应用组,并预先保存在电子设备中;和/或,电子设备接收用户自定义的多个NFC应用组,并预先保存在电子设备中。电子设备通过根据历史使用信息或者接收用户自定义得到不同使用场景下的多组NFC 应用,并预先保存在电子设备中,以便电子设备在后续使用过程中,可以根据当前场景信息预测用户的NFC应用使用需求。In a possible implementation manner, the above method may further include: the electronic device obtains the user's rule of using the NFC application according to the usage scenario information when the electronic device uses the NFC application within the preset time range; the electronic device according to the user's use of the NFC application Multiple NFC application groups are determined regularly and stored in the electronic device in advance; and/or the electronic device receives multiple NFC application groups customized by the user and saves them in the electronic device in advance. The electronic device obtains multiple sets of NFC applications in different usage scenarios according to historical usage information or receiving user customization, and saves them in the electronic device in advance, so that the electronic device can predict the user’s NFC application based on the current scenario information during subsequent use. Usage requirements.
在一种可能的实现方式中,若上述第i个NFC应用未验证通过,上述方法还可以包括:电子设备依次激活第一NFC应用组中除第i个NFC应用以外的其他NFC应用,直到电子设备的NFC应用被验证通过。若电子设备预测错误,电子设备可以通过轮询NFC应用的方法,成功验证电子设备靠近的NFC设备。避免由于电子设备预测错误导致的无法成功验证的问题。In a possible implementation manner, if the i-th NFC application is not verified, the above-mentioned method may further include: the electronic device sequentially activates other NFC applications in the first NFC application group except the i-th NFC application until the electronic device The NFC application of the device is verified. If the electronic device predicts incorrectly, the electronic device can successfully verify the NFC device close to the electronic device by polling the NFC application. Avoid the problem of unsuccessful verification caused by the error of the electronic device's prediction.
在一种可能的实现方式中,上述方法还可以包括:在电子设备依次激活第一NFC应用组中除第i个NFC应用以外的其他NFC应用的过程中,电子设备记录电子设备使用NFC应用时的使用场景信息;电子设备根据电子设备记录的电子设备使用NFC应用时的使用场景信息更新用户使用NFC应用的规律;电子设备根据更新的用户使用NFC应用的规律更新与当前场景信息匹配的NFC应用组。若电子设备预测错误,电子设备还可以在后续的NFC应用调用过程中,记录NFC应用的使用场景信息,以便可以进一步更新该使用场景信息对应的NFC应用组,为后续电子设备预测NFC应用组提供更好的依据和参考。In a possible implementation manner, the above method may further include: in the process of sequentially activating other NFC applications in the first NFC application group by the electronic device except the i-th NFC application, the electronic device records when the electronic device uses the NFC application The usage scenario information of the electronic device; the electronic device updates the user's rule of using NFC application according to the usage scenario information recorded by the electronic device when the electronic device uses the NFC application; the electronic device updates the NFC application matching the current scenario information according to the updated rule of the user's use of the NFC application Group. If the electronic device predicts incorrectly, the electronic device can also record the usage scenario information of the NFC application during the subsequent NFC application invocation process, so that the NFC application group corresponding to the usage scenario information can be further updated to provide the subsequent electronic device predicting the NFC application group Better basis and reference.
在一种可能的实现方式中,在电子设备依次激活第一NFC应用组中除所第i个NFC应用以外的其他NFC应用,直到NFC应用被成功调用之后,上述方法还可以包括:电子设备按照第二NFC应用组的使用顺序,依次激活和调用第二NFC应用组中的NFC应用;该第二NFC应用组是多个NFC应用组中,除第一NFC应用组以外,使用场景信息与当前场景信息匹配度最高的NFC应用组;或者,电子设备显示第二界面,第二界面用于用户选择要切换的NFC应用组;以及,响应于用户选择第三NFC应用组的操作,电子设备按照第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。若电子设备预测错误,电子设备还可以切换当前调用的NFC应用组,或者,切换至用户选择的NFC应用组,避免由于电子设备预测错误导致的无法成功验证的问题。In a possible implementation manner, the electronic device sequentially activates other NFC applications in the first NFC application group except for the i-th NFC application, until the NFC application is successfully invoked, the above method may further include: the electronic device according to The order of use of the second NFC application group is to activate and call the NFC applications in the second NFC application group in turn; the second NFC application group is among multiple NFC application groups. Except for the first NFC application group, the usage scene information is different from the current NFC application group. The NFC application group with the highest matching degree of scene information; or, the electronic device displays a second interface, and the second interface is used for the user to select the NFC application group to be switched; and, in response to the user's operation of selecting the third NFC application group, the electronic device follows The sequence of using the third NFC application group is to activate and call the NFC applications in the third NFC application group in turn. If the electronic device predicts an error, the electronic device can also switch the currently called NFC application group, or switch to the NFC application group selected by the user, to avoid the problem of failure to successfully verify due to the electronic device's prediction error.
在一种可能的实现方式中,上述第一NFC应用组的使用顺序包括:第一NFC应用组中的所述n个NFC应用的优先级顺序、地理顺序或使用时间顺序。In a possible implementation manner, the use order of the first NFC application group includes: the priority order, geographic order, or use time order of the n NFC applications in the first NFC application group.
第二方面,提供一种电子设备,还电子设备中包括多个NFC应用,该电子设备可以包括:信息获取单元,用于获取电子设备的包括地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项的当前场景信息;其中,运动信息用于指示电子设备的运动状态,使用信息用于指示电子设备在上述时间信息指示的时间之前的预设时间范围内使用NFC应用的信息;处理单元,用于根据当前场景信息确定第一NFC应用组及其使用顺序;该第一NFC应用组中包括n个NFC应用,其中,n≥2,且为正整数;NFC调用单元,用于按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。In a second aspect, an electronic device is provided, and the electronic device includes multiple NFC applications. The electronic device may include: an information acquisition unit for acquiring information including geographic location information, time information, weather information, sports information, or information of the electronic device. The current scene information of one or more items in the usage information; wherein the movement information is used to indicate the movement state of the electronic device, and the usage information is used to indicate that the electronic device uses NFC within a preset time range before the time indicated by the time information. Application information; a processing unit for determining a first NFC application group and its order of use according to current scene information; the first NFC application group includes n NFC applications, where n≥2 and a positive integer; NFC call The unit is used to activate and call the NFC applications in the first NFC application group in sequence according to the order of use of the first NFC application group.
上述第二方面提供的技术方案,电子设备在靠近NFC设备时,可以结合电子设备的地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项,智能化地基于情景感知预测用户的NFC应用使用需求。进而调用可以满足用户需求的具有使用顺序的一个NFC应用组,用于电子设备逐一自动化地验证电子设备靠近的NFC 设备,为用户提供更加便捷的使用体验。The technical solution provided by the above second aspect, when the electronic device is close to the NFC device, it can combine one or more of the geographical location information, time information, weather information, sports information or usage information of the electronic device, intelligently based on the situation Perceive and predict the user's needs for NFC applications. In turn, an NFC application group with a usage sequence that can meet the needs of the user is invoked to automatically verify the NFC devices close to the electronic device one by one, so as to provide the user with a more convenient use experience.
在一种可能的实现方式中,上述NFC调用单元按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,包括:NFC调用单元激活第一NFC应用组中的第i个NFC应用,其中,i为正整数,且i<n;NFC调用单元在电子设备靠近NFC设备时,验证第i个NFC应用;NFC调用单元在上述第i个NFC应用被验证通过后,激活第i+1个NFC应用。通过逐一激活和调用电子设备预测的第一NFC应用组中的NFC应用,可以自动化地满足用户连续使用同一场景下的多个NFC应用的需求,为用户提供更加便捷的使用体验。In a possible implementation manner, the above-mentioned NFC invoking unit sequentially activates and invokes the NFC applications in the first NFC application group according to the order in which the first NFC application group is used, including: the NFC invocation unit activates the NFC applications in the first NFC application group The i-th NFC application, where i is a positive integer and i<n; the NFC calling unit verifies the i-th NFC application when the electronic device is close to the NFC device; the NFC calling unit verifies the i-th NFC application after the above-mentioned i-th NFC application is verified. , Activate the i+1th NFC application. By activating and invoking the NFC applications in the first NFC application group predicted by the electronic device one by one, it is possible to automatically meet the needs of the user to continuously use multiple NFC applications in the same scenario, and provide the user with a more convenient experience.
在一种可能的实现方式中,上述第i个NFC应用是第一NFC应用组中、第一NFC应用组的使用场景信息对应的使用场景下,将第i个被调用的NFC应用;第i+1个NFC应用是第一NFC应用组中、第一NFC应用组的使用场景信息对应的使用场景下,将第i+1个被调用的NFC应用;其中,上述使用场景信息与当前场景信息匹配,上述使用场景信息包括第一组NFC应用被调用时,电子设备的地理位置信息、时间信息、天气信息、运动信息、操作信息中的一项或多项。电子设备基于情景感知可以具体地预测得到用户NFC应用使用需求的时间顺序、优先级顺序或空间顺序等,以便可以自动化地满足用户连续使用同一场景下的多个NFC应用的需求,为用户提供更加便捷的使用体验。In a possible implementation manner, the i-th NFC application is the i-th NFC application that is called in the first NFC application group and in the usage scenario corresponding to the usage scenario information of the first NFC application group; The +1 NFC application is the i+1th NFC application to be called in the usage scenario corresponding to the usage scenario information of the first NFC application group in the first NFC application group; wherein, the foregoing usage scenario information is the same as the current scenario information Matching, the foregoing usage scenario information includes one or more of geographic location information, time information, weather information, sports information, and operation information of the electronic device when the first group of NFC applications are invoked. The electronic device can specifically predict the time sequence, priority sequence or spatial sequence of the user's NFC application needs based on context awareness, so that it can automatically meet the user's continuous use of multiple NFC applications in the same scenario, and provide users with more Convenient experience.
在一种可能的实现方式中,上述电子设备还包括:显示单元,用于在上述NFC调用单元按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用之前,显示用于用户确认是否使用所述第一NFC应用组的第一界面;以及接收用户在上述第一界面上确定使用第一NFC应用组的操作;其中,NFC调用单元按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,具体可以包括:响应于用户在第一界面上确定使用第一NFC应用组的操作,NFC调用单元按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。电子设备在预测出一个NFC应用组之后,可以询问用户是否使用该NFC应用。通过这样的提醒和询问,可以避免电子设备预测错误造成的电子设备无法验证通过的问题。In a possible implementation manner, the above electronic device further includes: a display unit, configured to activate and call the NFC applications in the first NFC application group in sequence by the NFC invoking unit according to the order of use of the first NFC application group, Display a first interface for the user to confirm whether to use the first NFC application group; and receive the user's operation on the first interface to determine to use the first NFC application group; wherein the NFC calling unit is based on the first NFC application group The order of use, activating and invoking the NFC applications in the first NFC application group in turn, may specifically include: in response to the user's operation of determining to use the first NFC application group on the first interface, the NFC invoking unit follows the use of the first NFC application group In order, the NFC applications in the first NFC application group are activated and invoked sequentially. After predicting an NFC application group, the electronic device can ask the user whether to use the NFC application. Through such reminders and inquiries, it is possible to avoid the problem that the electronic device cannot be verified by the electronic device caused by the prediction error of the electronic device.
在一种可能的实现方式中,上述第一界面还用于提醒用户第一NFC应用组中的n个NFC应用的使用顺序。电子设备在预测出一个NFC应用组之后,还可以提醒用户该NFC应用组中多个NCF的使用顺序。通过这样的提醒,可以避免电子设备预测错误造成的电子设备无法验证通过的问题。In a possible implementation manner, the above-mentioned first interface is also used to remind the user of the use order of the n NFC applications in the first NFC application group. After predicting an NFC application group, the electronic device may also remind the user of the order of use of multiple NCFs in the NFC application group. Through such a reminder, it is possible to avoid the problem that the electronic device cannot pass the verification caused by the error of the electronic device's prediction.
在一种可能的实现方式中,上述电子设备还包括存储单元,该存储单元中预先保存有多个NFC应用组,每个NFC应用组中包括多个NFC应用;上述NFC调用单元根据当前场景信息确定第一NFC应用组,具体可以包括:NFC调用单元根据当前场景信息从电子设备中预先保存的多个NFC应用组中,确定第一NFC应用组;其中,第一NFC应用组是多个NFC应用组中,使用场景信息与当前场景信息匹配度最高的NFC应用组。电子设备中可以预先保存多组通过学习得到的NFC应用组,电子设备可以根据当前场景信息从中匹配出使用场景信息相符的一个NFC应用组,获得更好的预测效果。In a possible implementation manner, the above-mentioned electronic device further includes a storage unit in which a plurality of NFC application groups are pre-stored, and each NFC application group includes a plurality of NFC applications; the above-mentioned NFC calling unit is based on current scene information Determining the first NFC application group may specifically include: the NFC invoking unit determines the first NFC application group from a plurality of NFC application groups pre-saved in the electronic device according to the current scene information; wherein, the first NFC application group is a plurality of NFCs In the application group, the NFC application group with the highest matching degree between the use scene information and the current scene information. The electronic device can pre-store multiple groups of NFC application groups obtained through learning, and the electronic device can match an NFC application group with matching usage scene information from the current scene information to obtain a better prediction effect.
在一种可能的实现方式中,上述处理单元还用于,根据电子设备在预设时间范围 内使用NFC应用时的使用场景信息获取用户使用NFC应用的规律;以及根据用户使用NFC应用的规律确定多个NFC应用组,并预先保存在电子设备中;和/或,接收用户自定义的多个NFC应用组,并预先保存在存储单元中。电子设备通过根据历史使用信息或者接收用户自定义得到不同使用场景下的多组NFC应用,并预先保存在电子设备中,以便电子设备在后续使用过程中,可以根据当前场景信息预测用户的NFC应用使用需求。In a possible implementation manner, the above processing unit is further configured to obtain the rule of the user using the NFC application according to the usage scenario information when the electronic device uses the NFC application within the preset time range; and determine according to the rule of the user using the NFC application Multiple NFC application groups are pre-stored in the electronic device; and/or multiple user-defined NFC application groups are received and pre-stored in the storage unit. The electronic device obtains multiple sets of NFC applications in different usage scenarios according to historical usage information or receiving user customization, and saves them in the electronic device in advance, so that the electronic device can predict the user’s NFC application based on the current scenario information during subsequent use. Usage requirements.
在一种可能的实现方式中,上述NFC调用单元还用于,若上述第i个NFC应用未验证通过,依次激活第一NFC应用组中除第i个NFC应用以外的其他NFC应用,直到电子设备的NFC应用被验证通过。若电子设备预测错误,电子设备可以通过轮询NFC应用的方法,成功验证电子设备靠近的NFC设备。避免由于电子设备预测错误导致的无法成功验证的问题。In a possible implementation manner, the above-mentioned NFC calling unit is also used to, if the above-mentioned i-th NFC application is not verified, activate other NFC applications in the first NFC application group except the i-th NFC application in sequence, until the electronic The NFC application of the device is verified. If the electronic device predicts incorrectly, the electronic device can successfully verify the NFC device close to the electronic device by polling the NFC application. Avoid the problem of unsuccessful verification caused by the error of the electronic device's prediction.
在一种可能的实现方式中,上述存储单元还用于,在NFC调用单元依次激活第一NFC应用组中除第i个NFC应用以外的其他NFC应用的过程中,记录电子设备使用NFC应用时的使用场景信息;上述处理单元还用于,根据电子设备记录的电子设备使用NFC应用时的使用场景信息更新用户使用NFC应用的规律;以及根据更新的用户使用NFC应用的规律更新与当前场景信息匹配的NFC应用组。若电子设备预测错误,电子设备还可以在后续的NFC应用调用过程中,记录NFC应用的使用场景信息,以便可以进一步更新该使用场景信息对应的NFC应用组,为后续电子设备预测NFC应用组提供更好的依据和参考。In a possible implementation manner, the above-mentioned storage unit is also used to record when the NFC application is used by the electronic device during the process of sequentially activating other NFC applications in the first NFC application group by the NFC calling unit except the i-th NFC application. The above-mentioned processing unit is also used to update the user’s rule of using the NFC application according to the use scenario information recorded by the electronic device when the electronic device uses the NFC application; and to update the current scenario information according to the updated rule of the user’s use of the NFC application Matching NFC application group. If the electronic device predicts incorrectly, the electronic device can also record the usage scenario information of the NFC application during the subsequent NFC application invocation process, so that the NFC application group corresponding to the usage scenario information can be further updated to provide the subsequent electronic device predicting the NFC application group Better basis and reference.
在一种可能的实现方式中,在NFC调用单元依次激活第一NFC应用组中除所第i个NFC应用以外的其他NFC应用,直到NFC应用被成功调用之后,上述NFC调用单元还用于,按照第二NFC应用组的使用顺序,依次激活和调用第二NFC应用组中的NFC应用;该第二NFC应用组是多个NFC应用组中,除第一NFC应用组以外,使用场景信息与当前场景信息匹配度最高的NFC应用组;或者,上述显示单元还用于,显示用于用户选择要切换的NFC应用组的第二界面;以及,所述NFC调用单元还用于,响应于用户选择第三NFC应用组的操作,按照第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。若电子设备预测错误,电子设备还可以切换当前调用的NFC应用组,或者,切换至用户选择的NFC应用组,避免由于电子设备预测错误导致的无法成功验证的问题。In a possible implementation manner, the NFC calling unit sequentially activates other NFC applications in the first NFC application group except for the i-th NFC application, until the NFC application is successfully called, the NFC calling unit is also used to: According to the order of use of the second NFC application group, the NFC applications in the second NFC application group are sequentially activated and invoked; the second NFC application group is among multiple NFC application groups, except for the first NFC application group, the usage scene information is related to The NFC application group with the highest matching degree of current scene information; or, the above display unit is also used to display a second interface for the user to select the NFC application group to be switched; and the NFC calling unit is also used to respond to the user The operation of selecting the third NFC application group is to sequentially activate and call the NFC applications in the third NFC application group according to the order of use of the third NFC application group. If the electronic device predicts an error, the electronic device can also switch the currently called NFC application group, or switch to the NFC application group selected by the user, to avoid the problem of failure to successfully verify due to the electronic device's prediction error.
在一种可能的实现方式中,上述第一NFC应用组的使用顺序包括:第一NFC应用组中的所述n个NFC应用的优先级顺序、地理顺序或使用时间顺序。In a possible implementation manner, the use order of the first NFC application group includes: the priority order, geographic order, or use time order of the n NFC applications in the first NFC application group.
第三方面,提供一种电子设备,该电子设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得电子设备获取电子设备的包括地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项的当前场景信息;其中,运动信息用于指示电子设备的运动状态,使用信息用于指示电子设备在上述时间信息指示的时间之前的预设时间范围内使用NFC应用的信息;根据当前场景信息确定第一NFC应用组及其使用顺序;该第一NFC应用组中包括n个NFC应用,其中,n≥2,且为正整数;以及,按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中 的NFC应用。In a third aspect, an electronic device is provided, the electronic device includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; a processor for executing The above instructions enable the electronic device to obtain the current scene information of the electronic device including one or more of geographic location information, time information, weather information, sports information, or usage information; wherein the sports information is used to indicate the sports state of the electronic device , The usage information is used to instruct the electronic device to use the NFC application information within a preset time range before the time indicated by the time information; determine the first NFC application group and its order of use according to the current scene information; in the first NFC application group It includes n NFC applications, where n≥2 and is a positive integer; and, according to the order of use of the first NFC application group, sequentially activate and call the NFC applications in the first NFC application group.
上述第三方面提供的技术方案,电子设备在靠近NFC设备时,可以结合电子设备的地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项,智能化地基于情景感知预测用户的NFC应用使用需求。进而调用可以满足用户需求的具有使用顺序的一个NFC应用组,用于电子设备逐一自动化地验证电子设备靠近的NFC设备,为用户提供更加便捷的使用体验。The technical solution provided by the above third aspect, when the electronic device is close to the NFC device, it can combine one or more of the geographical location information, time information, weather information, sports information or usage information of the electronic device, intelligently based on the situation Perceive and predict the user's needs for NFC applications. In turn, an NFC application group with a usage sequence that can meet the needs of the user is invoked to automatically verify the NFC devices that the electronic device is close to one by one, so as to provide the user with a more convenient use experience.
在一种可能的实现方式中,上述处理器还用于执行上述指令,使得电子设备执行第一方面任一种可能的实现方式中的NFC应用的调用方法。In a possible implementation manner, the foregoing processor is further configured to execute the foregoing instructions, so that the electronic device executes the method for invoking the NFC application in any one of the possible implementation manners of the first aspect.
第四方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机执行指令,该计算机执行指令被处理器执行时实现如第一方面中任一种可能的实现方式中的NFC应用的调用方法。In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer-executable instruction. When the computer-executable instruction is executed by a processor, it implements as in any one of the possible implementations of the first aspect. The calling method of the NFC application.
第五方面,提供一种芯片系统,该芯片系统包括处理器、存储器,存储器中存储有指令;所述指令被所述处理器执行时,实现如第一方面中任一种可能的实现方式中的NFC应用的调用方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a fifth aspect, a chip system is provided. The chip system includes a processor and a memory, and instructions are stored in the memory; The calling method of the NFC application. The chip system can be composed of chips, or it can include chips and other discrete devices.
第六方面,提供一种计算机程序产品,当其在计算机上运行时,使得实现如第一方面中任一种可能的实现方式中的NFC应用的调用方法。In a sixth aspect, a computer program product is provided, which when running on a computer, enables the method for invoking an NFC application as in any one of the possible implementation manners in the first aspect.
附图说明Description of the drawings
图1为本申请实施例提供的两种支付过程中的NFC应用调用示例示意图;FIG. 1 is a schematic diagram of an example of NFC application invocation in two payment processes provided by an embodiment of the application;
图2为本申请实施例提供的一种电子设备的硬件结构示例示意图;2 is a schematic diagram of an example of the hardware structure of an electronic device provided by an embodiment of the application;
图3为本申请实施例提供的一种NFC应用的调用方法流程图;FIG. 3 is a flowchart of a method for invoking an NFC application provided by an embodiment of the application;
图4为本申请实施例提供的两种回家场景类别下的用卡顺序示例示意图;FIG. 4 is a schematic diagram of an example of the sequence of using cards in two types of homecoming scenarios provided by an embodiment of the application; FIG.
图5A为本申请实施例提供的一种电子设备激活NFC应用的流程示例图;FIG. 5A is an example diagram of a flow of activating an NFC application by an electronic device according to an embodiment of the application; FIG.
图5B为本申请实施例提供的另一种电子设备激活NFC应用的流程示例图;FIG. 5B is an example flow diagram of another electronic device activating an NFC application provided by an embodiment of this application;
图6为本申请实施例提供的进入NFC界面以及进入修改NFC应用组的界面的示例示意图;6 is a schematic diagram of an example of entering an NFC interface and entering an interface for modifying an NFC application group provided by an embodiment of the application;
图7为本申请实施例提供的另一种NFC应用的调用方法流程图;FIG. 7 is a flowchart of another method for invoking an NFC application provided by an embodiment of the application;
图8为本申请实施例提供的两种第一指示信息的显示形式示例示意图;FIG. 8 is a schematic diagram of an example of two display forms of first indication information provided by an embodiment of the application; FIG.
图9为本申请实施例提供的一种电子设备的结构框图;FIG. 9 is a structural block diagram of an electronic device provided by an embodiment of this application;
图10为本申请实施例提供的另一种电子设备的结构框图。FIG. 10 is a structural block diagram of another electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
可以理解,NFC功能通常包括三种使用模式:卡模式、读卡器模式和点对点(point-to-point,P2P)模式。其中,卡模式是指将电子设备作为一种非接触模拟卡。卡模式可以应用于支付、门禁验证或身份验证等过程中。读卡器模式是指具有NFC功能的电子设备作为非接触读卡器。读卡器模式可以应用于简单的数据获取过程中。示例性的,读卡器模式可以应用于公交车站站点信息获取、公园地图信息获取、电子广告读取、车票或电影票售卖等过程中。P2P模式用于两个支持NFC功能的设备建立无线互联,进行点对点地数据交互。示例性的,P2P模式可以应用于交换手机名片、建立蓝牙连接等过程景中。It can be understood that the NFC function usually includes three usage modes: card mode, card reader mode, and point-to-point (P2P) mode. Among them, the card mode refers to using the electronic device as a non-contact analog card. The card mode can be used in the process of payment, access control verification or identity verification. The card reader mode refers to an electronic device with NFC function as a non-contact card reader. The card reader mode can be used in a simple data acquisition process. Exemplarily, the card reader mode can be used in processes such as obtaining bus station site information, obtaining park map information, reading electronic advertisements, and selling tickets or movie tickets. The P2P mode is used to establish wireless interconnection between two NFC-enabled devices for point-to-point data exchange. Exemplarily, the P2P mode can be applied to process scenarios such as exchanging mobile phone business cards and establishing Bluetooth connections.
本申请实施例提供一种NFC应用的调用方法,该方法可以应用于通过电子设备的NFC功能实现卡模式下的支付、门禁验证或身份验证等过程中。The embodiment of the present application provides a method for invoking an NFC application, which can be applied to the process of realizing payment, access control verification, or identity verification in the card mode through the NFC function of an electronic device.
其中,支付可以包括但不限于公交刷卡支付、地铁刷卡支付或购物支付等。门禁验证场可以包括但不限于住宅小区门禁验证、住宅楼门禁验证、家门钥匙验证或车钥匙验证等。身份验证可以包括但不限于乘车身份验证、登机身份验证、公司考勤验证或景区身份验证等。在本申请中,在不同的场景中,支持NFC功能的电子设备可以作为不同的NFC应用发挥与实体公交卡、实体钥匙、实体银行卡、实体身份证或实体门禁卡等相同的作用。Among them, payment may include, but is not limited to, bus swipe payment, subway swipe payment, or shopping payment. The access control verification field may include, but is not limited to, residential area access control verification, residential building access control verification, home key verification, or vehicle key verification, etc. Identity verification may include, but is not limited to, vehicle identity verification, boarding identity verification, company attendance verification or scenic spot identity verification, etc. In this application, in different scenarios, electronic devices supporting the NFC function can be used as different NFC applications to play the same role as a physical bus card, a physical key, a physical bank card, a physical ID card, or a physical access card.
请参考图1,图1示出了两种支付过程中的NFC应用调用示例示意图。其中,图1中的(a)示出了公交刷卡支付过程中的NFC应用调用的一种示例。如图1中的(a)所示,在公交刷卡机支持NFC功能时,用户可以使用支持NFC模拟卡功能的手机100接近公交刷卡机以实现公交刷卡支付。在图1中的(a)所示的场景中,手机100可以作为NFC公交卡应用,发挥与实体公交卡相同的公交支付作用。图1中的(b)示出了购物支付过程中的NFC应用调用的一种示例。如图1中的(b)所示,在商户的POS设备支持NFC功能时,用户可以使用支持NFC模拟卡功能的手机100接近POS设备以实现购物支付。在图1中的(b)所示的场景中,手机100可以作为NFC支付卡应用,发挥与实体银行卡相同的购物支付作用。Please refer to Figure 1. Figure 1 shows a schematic diagram of an example of calling an NFC application in two payment processes. Wherein, (a) in FIG. 1 shows an example of NFC application invocation in the process of bus swiping and payment. As shown in Figure 1 (a), when the bus credit card machine supports the NFC function, the user can use the mobile phone 100 that supports the NFC analog card function to approach the bus credit card machine to realize the bus credit card payment. In the scenario shown in (a) in Figure 1, the mobile phone 100 can be used as an NFC bus card application, playing the same role of bus payment as a physical bus card. (B) in FIG. 1 shows an example of the NFC application call in the shopping payment process. As shown in (b) in Figure 1, when the merchant's POS device supports the NFC function, the user can use the mobile phone 100 that supports the NFC analog card function to approach the POS device to realize shopping payment. In the scenario shown in (b) of FIG. 1, the mobile phone 100 can be used as an NFC payment card application, playing the same shopping payment function as a physical bank card.
为了便于理解,示例的给出了部分与本申请实施例相关概念的说明以供参考。如下所示:For ease of understanding, some illustrations of concepts related to the embodiments of the present application are given as examples for reference. As follows:
NFC应用:是用于实现近距离通信(也称近场通信)的应用程序,其具备用于模拟非接触IC卡的仿真功能。根据应用场景的不同,NFC应用可以分为不同的类型。如,“交通卡”应用(如“公交卡”应用、“地铁卡”应用等)、“门禁卡”应用(如“停车卡”应用、“钥匙”应用等)、“支付卡”应用(如“银行卡”应用、“钱包”应用等)、“身份卡”应用(如“身份证”应用、“考勤卡”应用、“社保卡”应用等)等。NFC application: It is an application program used to realize near field communication (also called near field communication), which has an emulation function for simulating a non-contact IC card. According to different application scenarios, NFC applications can be divided into different types. For example, "transportation card" application (such as "bus card" application, "metro card" application, etc.), "access card" application (such as "parking card" application, "key" application, etc.), "payment card" application (such as "Bank Card" application, "Wallet" application, etc.), "Identity Card" application (such as "ID Card" application, "Attendance Card" application, "Social Security Card" application, etc.), etc.
本申请实施例提供的NFC应用的调用方法,可以应用于手机、平板电脑或个人计算机(Ultra-mobile Personal Computer,UMPC)。或者,还可以应用于其他桌面型设备、膝上型设备、手持型设备、可穿戴设备、智能家居设备和车载型设备等具有信息传输功能的电子设备中。例如上网本、智能手表、智能相机、个人数字助理(Personal Digital Assistant,PDA)、便携式多媒体播放器(Portable Multimedia Player,PMP)、专用媒体播放器或AR(增强现实)/VR(虚拟现实)设备等。本申请实施例对电子设备的具体类型和结构等不作限定。The method for invoking the NFC application provided by the embodiment of the present application can be applied to a mobile phone, a tablet computer, or a personal computer (Ultra-mobile Personal Computer, UMPC). Or, it can also be applied to other electronic devices with information transmission functions such as desktop devices, laptop devices, handheld devices, wearable devices, smart home devices, and vehicle-mounted devices. For example, netbooks, smart watches, smart cameras, personal digital assistants (Personal Digital Assistant, PDA), portable multimedia players (Portable Multimedia Player, PMP), dedicated media players or AR (augmented reality)/VR (virtual reality) devices, etc. . The embodiment of the present application does not limit the specific type and structure of the electronic device.
请参考图2,图2以手机为例,示出了一种电子设备的硬件结构示例示意图。如图2所示,手机100具体可以包括:NFC芯片201、处理器202、射频(RF)电路203、存储器204、触摸屏205、蓝牙装置206、传感器模块207、Wi-Fi装置208、定位装置209、音频电路210、外设接口211以及电源装置212等部件。其中,传感器模块207可以包括陀螺仪传感器207A,加速度传感器207B等。Please refer to FIG. 2. FIG. 2 uses a mobile phone as an example to show a schematic diagram of an example of the hardware structure of an electronic device. As shown in FIG. 2, the mobile phone 100 may specifically include: an NFC chip 201, a processor 202, a radio frequency (RF) circuit 203, a memory 204, a touch screen 205, a Bluetooth device 206, a sensor module 207, a Wi-Fi device 208, and a positioning device 209 , Audio circuit 210, peripheral interface 211, power supply device 212 and other components. The sensor module 207 may include a gyroscope sensor 207A, an acceleration sensor 207B, and so on.
这些部件可通过一根或多根通信总线或信号线(图2中未示出)进行通信。本领域技术人员可以理解,图2中示出的硬件结构并不构成对智能手机的限定,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。These components can communicate through one or more communication buses or signal lines (not shown in Figure 2). Those skilled in the art can understand that the hardware structure shown in FIG. 2 does not constitute a limitation on the smart phone. The mobile phone 100 may include more or less components than those shown in the figure, or a combination of certain components, or different component arrangements. .
下面结合图2对手机100的各个部件进行具体的介绍:In the following, each component of the mobile phone 100 will be specifically introduced with reference to FIG. 2:
NFC芯片201包括NFC控制器(near field communication controller,NFCC)201-1、射频天线201-2、设备主机(device host,DH)201-3和一个或多个安全单元(Security Element,SE)(图2中未示出)。NFCC 201-1主要用于NFC射频信号的调制解调以及NFC协议处理。其中,NFCC 201-1与射频天线201-2连接以实现NFC无线信号的发送与接收。DH 201-3用于负责NFCC 201-1的管理,如初始化、配置和电源管理等。SE用于为NFC应用提供安全执行环境(如认证、授权等)以及敏感数据存储的环境。SE是一个安全单元芯片。SE中可同时承载多个NFC应用。The NFC chip 201 includes an NFC controller (near field communication controller, NFCC) 201-1, a radio frequency antenna 201-2, a device host (DH) 201-3, and one or more security elements (SE) ( Not shown in Figure 2). NFCC 201-1 is mainly used for NFC radio frequency signal modulation and demodulation and NFC protocol processing. Among them, the NFCC 201-1 is connected to the radio frequency antenna 201-2 to realize the transmission and reception of NFC wireless signals. DH 201-3 is responsible for the management of NFCC 201-1, such as initialization, configuration, and power management. SE is used to provide a secure execution environment (such as authentication, authorization, etc.) and an environment for sensitive data storage for NFC applications. SE is a security unit chip. The SE can carry multiple NFC applications at the same time.
在一些实施例中,DH 201-3还可以设置在手机100的处理器202中,负责管理NFCC 201-1。In some embodiments, the DH 201-3 may also be set in the processor 202 of the mobile phone 100, and is responsible for managing the NFCC 201-1.
在本申请实施例中,NFCC 201-1在检测到无线信号时,可以通过对无线信号的频率等信息进行识别,进而确定该无线信号是否为NFC射频信号。例如,当识别出无线信号是13.56MHz的无线信号,则NFCC 201-1确定该无线信号是NFC射频信号。In the embodiment of the present application, when the NFCC 201-1 detects a wireless signal, it can identify the frequency of the wireless signal and other information to determine whether the wireless signal is an NFC radio frequency signal. For example, when it is recognized that the wireless signal is a 13.56MHz wireless signal, the NFCC 201-1 determines that the wireless signal is an NFC radio frequency signal.
处理器202是手机100的控制中心,利用各种接口和线路连接手机100的各个部分,通过运行或执行存储在存储器204内的应用客户端程序(以下可以简称App),以及调用存储在存储器204内的数据,执行手机100的各种功能和处理数据。在一些实施例中,处理器202可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路,处理器202可以包括一个或多个CPU;举例来说,处理器202可以是华为技术有限公司制造的麒麟960芯片。The processor 202 is the control center of the mobile phone 100. It uses various interfaces and lines to connect to various parts of the mobile phone 100, runs or executes the application client program (hereinafter may be referred to as App) stored in the memory 204, and calls the memory stored in the memory 204. The data inside performs various functions of the mobile phone 100 and processes data. In some embodiments, the processor 202 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for control For the integrated circuit executed by the program program of this application, the processor 202 may include one or more CPUs; for example, the processor 202 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
射频电路203可用于在收发信息或通话过程中,无线信号的接收和发送。特别地,射频电路203可以将基站的下行数据接收后,给处理器202处理;另外,将涉及上行的数据发送给基站。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路203还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。The radio frequency circuit 203 can be used for receiving and sending wireless signals during the process of sending and receiving information or talking. In particular, the radio frequency circuit 203 may receive the downlink data of the base station and send it to the processor 202 for processing; in addition, it may send the uplink data to the base station. Generally, the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuit 203 can also communicate with other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, Email, Short Message Service, etc.
存储器204用于存储应用程序以及数据,存储器204可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。处理器202通过运行存储在存储器204的应用程序以及数据,执行手机100的各种功能以及数据处理。存储器204主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用手机100时所创建的数据(比如音频数据、电话本等)。 其中,存储器204可以存储用于实现两个模块化功能的指令:接收指令和连接指令,并由处理器202来控制执行。处理器202用于执行存储器204中存储的计算机执行指令,从而实现本申请下述实施例提供的数据传输方法。此外,存储器204可以包括高速随机存取存储器,还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。存储器204可以存储各种操作系统,例如,苹果公司所开发的iOS操作系统,谷歌公司所开发的Android操作系统等。The memory 204 is used to store application programs and data. The memory 204 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions. Random access memory (RAM) ) Or other types of dynamic storage devices that can store information and instructions. They can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory, CD -ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store instructions or data structures The form of the desired program code and any other medium that can be accessed by the computer, but not limited to this. The processor 202 executes various functions and data processing of the mobile phone 100 by running application programs and data stored in the memory 204. The memory 204 mainly includes a storage program area and a storage data area. The storage program area can store the operating system and at least one application program required by at least one function (such as sound playback function, image playback function, etc.); the storage data area can store Data created at 100 o'clock (such as audio data, phone book, etc.). The memory 204 may store instructions for implementing two modular functions: receiving instructions and connecting instructions, and the processor 202 controls the execution. The processor 202 is configured to execute computer-executable instructions stored in the memory 204, so as to implement the data transmission method provided in the following embodiments of the present application. In addition, the memory 204 may include a high-speed random access memory, and may also include a non-volatile memory, such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. The memory 204 can store various operating systems, for example, the iOS operating system developed by Apple Inc., the Android operating system developed by Google Inc., and so on.
触摸屏205可以包括触控板205-1和显示器205-2。其中,触控板205-1可采集手机100的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触控板205-1上或在触控板205-1附近的操作),并将采集到的触摸信息发送给其他器件例如处理器202。虽然在图2中,触控板205-1与显示器205-2是作为两个独立的部件来实现手机100的输入和输出功能,但是在某些实施例中,可以将触控板205-1与显示器205-2集成而实现手机100的输入和输出功能。可以理解的是,触摸屏205是由多层的材料堆叠而成,本申请实施例中只展示出了触控板(层)和显示器(层),其他层在本申请实施例中不予记载。另外,在本申请其他一些实施例中,触控板205-1可以覆盖在显示器205-2之上,并且触控板205-1的尺寸大于显示器205-2的尺寸,使得显示器205-2全部覆盖在触控板205-1下面,或者,上述触控板205-1可以以全面板的形式配置在手机100的正面,也即用户在手机100正面的触摸均能被智能手机感知,这样就可以实现智能手机正面的全触控体验。在其他一些实施例中,触控板205-1以全面板的形式配置在手机100的正面,显示器205-2也可以以全面板的形式配置在手机100的正面,这样在智能手机的正面就能够实现无边框的结构。The touch screen 205 may include a touch pad 205-1 and a display 205-2. Among them, the touchpad 205-1 can collect touch events on or near the user of the mobile phone 100 (for example, the user uses a finger, a stylus, or any other suitable object on the touchpad 205-1 or on the touchpad 205 -1), and send the collected touch information to other devices such as the processor 202. Although in FIG. 2, the touchpad 205-1 and the display 205-2 are used as two independent components to implement the input and output functions of the mobile phone 100, but in some embodiments, the touchpad 205-1 can be used It is integrated with the display 205-2 to realize the input and output functions of the mobile phone 100. It is understandable that the touch screen 205 is formed by stacking multiple layers of materials. In the embodiment of the present application, only the touch panel (layer) and the display (layer) are shown, and other layers are not described in the embodiment of the present application. In addition, in some other embodiments of the present application, the touch pad 205-1 may cover the display 205-2, and the size of the touch pad 205-1 is larger than the size of the display 205-2, so that the display 205-2 is completely Covered under the touchpad 205-1, or the above-mentioned touchpad 205-1 can be configured on the front of the mobile phone 100 in the form of a full panel, that is, the user's touch on the front of the mobile phone 100 can be sensed by the smart phone, so that It can realize the full touch experience on the front of the smartphone. In some other embodiments, the touchpad 205-1 is configured on the front of the mobile phone 100 in the form of a full panel, and the display 205-2 can also be configured on the front of the mobile phone 100 in the form of a full panel, so that the front of the smart phone is A frameless structure can be realized.
在本申请实施例中,手机100还可以具有指纹识别功能。例如,可以在手机100的背面(例如后置摄像头的下方)配置指纹识别器,或者在手机100的正面(例如触摸屏205的下方)配置指纹识别器。又例如,可以在触摸屏205中配置指纹采集器件213来实现指纹识别功能,即指纹采集器件213可以与触摸屏205集成在一起来实现手机100的指纹识别功能。在这种情况下,该指纹采集器件213配置在触摸屏205中,可以是触摸屏205的一部分,也可以以其他方式配置在触摸屏205中。本申请实施例中的指纹采集器件213的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。In the embodiment of the present application, the mobile phone 100 may also have a fingerprint recognition function. For example, a fingerprint recognizer may be disposed on the back of the mobile phone 100 (for example, under the rear camera), or a fingerprint recognizer may be disposed on the front of the mobile phone 100 (for example, under the touch screen 205). For another example, the fingerprint collection device 213 can be configured in the touch screen 205 to realize the fingerprint recognition function, that is, the fingerprint collection device 213 can be integrated with the touch screen 205 to realize the fingerprint recognition function of the mobile phone 100. In this case, the fingerprint collection device 213 is configured in the touch screen 205, may be a part of the touch screen 205, or may be configured in the touch screen 205 in other ways. The main component of the fingerprint acquisition device 213 in the embodiment of the present application is a fingerprint sensor. The fingerprint sensor can use any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technology.
在本申请实施例中,手机100还可以包括蓝牙装置206,用于实现手机100与其他短距离的终端(例如智能手机、智能手表等)之间的数据交换。本申请实施例中的蓝牙装置可以是集成电路或者蓝牙芯片等。In the embodiment of the present application, the mobile phone 100 may also include a Bluetooth device 206, which is used to implement data exchange between the mobile phone 100 and other short-distance terminals (such as smart phones, smart watches, etc.). The Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip.
Wi-Fi装置208,用于为手机100提供遵循Wi-Fi相关标准协议的网络接入,手机100可以通过Wi-Fi装置208接入到Wi-Fi接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在其他一些实施例中,该Wi-Fi装置208也可以作为Wi-Fi无线接入点,可以为其他终端提供Wi-Fi网络接入。The Wi-Fi device 208 is used to provide the mobile phone 100 with network access that complies with Wi-Fi related standard protocols. The mobile phone 100 can connect to the Wi-Fi access point through the Wi-Fi device 208 to help users send and receive emails, Browsing web pages and accessing streaming media, etc., it provides users with wireless broadband Internet access. In some other embodiments, the Wi-Fi device 208 can also be used as a Wi-Fi wireless access point, which can provide Wi-Fi network access for other terminals.
陀螺仪传感器207A可以用于确定手机100的运动姿态。在一些实施例中,可以通过陀螺仪传感器207A确定手机100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器207A可以用于拍摄防抖。具体到本申请的实施例中,手机100可以通过陀螺 仪传感器207A采集得到的数据确定手机100在空间中的具体姿态,进而预测手机100的运动方向。The gyroscope sensor 207A can be used to determine the movement posture of the mobile phone 100. In some embodiments, the angular velocity of the mobile phone 100 around three axes (ie, x, y, and z axes) can be determined by the gyroscope sensor 207A. The gyro sensor 207A can be used for image stabilization. Specifically, in the embodiment of the present application, the mobile phone 100 can determine the specific posture of the mobile phone 100 in space through the data collected by the gyroscope sensor 207A, and then predict the direction of movement of the mobile phone 100.
加速度传感器207B可检测手机100在各个方向上(一般为三轴)加速度的大小。当手机100静止时可检测出重力的大小及方向。还可以用于识别手机的姿态,应用于横竖屏切换,计步器,磁力计姿态校准等应用。具体到本申请的实施例中,手机100可以通过加速度传感器207B采集得到的数据确定手机100的运动速度和运动方向,进而预测手机100所处的场景类别。The acceleration sensor 207B can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the mobile phone, and is used in applications such as horizontal and vertical screen switching, pedometer, magnetometer posture calibration and so on. Specifically, in the embodiment of the present application, the mobile phone 100 can determine the movement speed and direction of the mobile phone 100 through data collected by the acceleration sensor 207B, and thereby predict the scene category in which the mobile phone 100 is located.
定位装置209,用于为手机100提供地理位置。可以理解的是,该定位装置209具体可以是全球定位系统(GPS)、北斗卫星导航系统、伽利略卫星导航系统或俄罗斯GLONASS等等定位系统的接收器。定位装置209在接收到上述定位系统发送的地理位置后,将该信息发送给处理器202进行处理,或者发送给存储器204进行保存。在另外的一些实施例中,该定位装置209还可以是辅助全球卫星定位系统(AGPS)的接收器,AGPS系统通过作为辅助服务器来协助定位装置209完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与终端例如手机100的定位装置209(即GPS接收器)通信而提供定位协助。在另外的一些实施例中,该定位装置209也可以是基于Wi-Fi接入点的定位技术。由于每一个Wi-Fi接入点都有一个全球唯一的MAC地址,终端在开启Wi-Fi的情况下即可扫描并收集周围的Wi-Fi接入点的广播信号,因此可以获取到Wi-Fi接入点广播出来的MAC地址;终端将这些能够标示Wi-Fi接入点的数据(例如MAC地址)通过无线通信网络发送给位置服务器,由位置服务器检索出每一个Wi-Fi接入点的地理位置,并结合Wi-Fi广播信号的强弱程度,计算出该终端的地理位置并发送到该终端的定位装置209中。The positioning device 209 is used to provide a geographic location for the mobile phone 100. It is understandable that the positioning device 209 may specifically be a receiver of a positioning system such as a global positioning system (GPS), a Beidou satellite navigation system, a Galileo satellite navigation system, or a Russian GLONASS. After the positioning device 209 receives the geographic location sent by the above-mentioned positioning system, the information is sent to the processor 202 for processing, or sent to the memory 204 for storage. In some other embodiments, the positioning device 209 may also be a receiver of an assisted global satellite positioning system (AGPS). The AGPS system assists the positioning device 209 to complete ranging and positioning services by acting as an auxiliary server. In this case The auxiliary positioning server communicates with the positioning device 209 (ie GPS receiver) of the mobile phone 100 via a wireless communication network to provide positioning assistance. In some other embodiments, the positioning device 209 may also be a positioning technology based on a Wi-Fi access point. Since every Wi-Fi access point has a globally unique MAC address, the terminal can scan and collect the broadcast signals of surrounding Wi-Fi access points when Wi-Fi is turned on, so that Wi-Fi can be obtained. The MAC address broadcasted by the Fi access point; the terminal sends the data (such as MAC address) that can identify the Wi-Fi access point to the location server through the wireless communication network, and the location server retrieves each Wi-Fi access point Combined with the strength of the Wi-Fi broadcast signal, the geographic location of the terminal is calculated and sent to the positioning device 209 of the terminal.
音频电路210、扬声器214、麦克风215可提供用户与手机100之间的音频接口。音频电路210可将接收到的音频数据转换后的电信号,传输到扬声器214,由扬声器214转换为声音信号输出;另一方面,麦克风215将收集的声音信号转换为电信号,由音频电路210接收后转换为音频数据,再将音频数据输出至RF电路203以发送给比如另一智能手机,或者将音频数据输出至存储器204以便进一步处理。The audio circuit 210, the speaker 214, and the microphone 215 can provide an audio interface between the user and the mobile phone 100. The audio circuit 210 can transmit the electric signal after the conversion of the received audio data to the speaker 214, which is converted into a sound signal for output by the speaker 214; on the other hand, the microphone 215 converts the collected sound signal into an electric signal, and the audio circuit 210 After being received, it is converted into audio data, and then the audio data is output to the RF circuit 203 to be sent to, for example, another smart phone, or the audio data is output to the memory 204 for further processing.
外设接口211,用于为外部的输入/输出设备(例如键盘、鼠标、外接显示器、外部存储器、用户识别模块卡等)提供各种接口。例如通过通用串行总线(USB)接口与鼠标连接,通过用户识别模块卡卡槽上的金属触点与运营商提供的用户识别模块卡(SIM)卡进行连接。外设接口211可以被用来将上述外部的输入/输出外围设备耦接到处理器202和存储器204。The peripheral interface 211 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a user identification module card, etc.). For example, it is connected to a mouse through a universal serial bus (USB) interface, and is connected to a subscriber identity module card (SIM) card provided by an operator through a metal contact on a subscriber identity module card slot. The peripheral interface 211 can be used to couple the aforementioned external input/output peripheral devices to the processor 202 and the memory 204.
手机100还可以包括给各个部件供电的电源装置212(比如电池和电源管理芯片),电池可以通过电源管理芯片与处理器202逻辑相连,从而通过电源装置212实现管理充电、放电、以及功耗管理等功能。The mobile phone 100 can also include a power supply device 212 (such as a battery and a power management chip) for supplying power to various components. The battery can be logically connected to the processor 202 through the power management chip, so that the power supply device 212 can manage charging, discharging, and power consumption management. And other functions.
尽管图2未示出,手机100还可以包括摄像头(前置摄像头和/或后置摄像头)、闪光灯、微型投影装置等,在此不再赘述。Although not shown in FIG. 2, the mobile phone 100 may also include a camera (front camera and/or rear camera), a flash, a miniature projection device, etc., which will not be repeated here.
本申请提供的NFC应用的调用方法中,电子设备(如手机)可以通过分析电子设备的地理位置信息、时间信息、天气信息、运动信息或使用信息等当前场景信息中的一项过多项,智能化地基于情景感知预测用户的NFC应用使用需求,并根据预测结果 预先设置一组待使用的NFC应用(如第一NFC应用组),用于电子设备按照第一NFC应用组中各个NFC应用的使用顺序响应电子设备接收到的NFC应用调用请求。通过本申请提供的NFC应用的调用方法,解决了用户需要手动选择待使用的NFC应用所带来的操作复杂,用户体验度低的问题。电子设备可以更加智能化地预测用户的使用需求,为用户提供更加便捷的NFC应用使用体验。In the method for invoking the NFC application provided in this application, an electronic device (such as a mobile phone) can analyze more than one item of current scene information such as geographic location information, time information, weather information, sports information, or usage information of the electronic device. Intelligently predict the user's NFC application needs based on context awareness, and pre-set a group of NFC applications to be used (such as the first NFC application group) according to the prediction results, for electronic devices to follow each NFC application in the first NFC application group The order of using the electronic device responds to the NFC application call request received by the electronic device. The method for invoking the NFC application provided in this application solves the problems of complicated operations and low user experience caused by the user's need to manually select the NFC application to be used. Electronic devices can more intelligently predict users' usage needs, and provide users with a more convenient NFC application experience.
其中,在本申请实施例中,手机100接收到的NFC应用调用请求通常由支持NFC的终端设备(以下简称NFC设备)发起。示例性的,NFC设备可以是如图1中的(a)所示的公交刷卡机,或者如图1中的(b)所示的POS设备。NFC设备还可以是门禁设备(如住宅小区门禁设备、停车场门禁设备等)或者身份验证设备(如登机验证设备或景区实名验证设备等),或者还可以是其他支持NFC的终端设备,本申请实施例对NFC设备的具体结构、功能和使用场景等不做限定。Among them, in the embodiment of the present application, the NFC application invocation request received by the mobile phone 100 is usually initiated by a terminal device supporting NFC (hereinafter referred to as an NFC device). Exemplarily, the NFC device may be a bus card swiping machine as shown in (a) in FIG. 1 or a POS device as shown in (b) in FIG. 1. The NFC device can also be an access control device (such as residential community access control equipment, parking lot access control equipment, etc.) or identity verification equipment (such as boarding verification equipment or scenic spot real-name verification equipment, etc.), or other terminal devices that support NFC. The application embodiment does not limit the specific structure, function, and usage scenarios of the NFC device.
在一些实施例中,电子设备(如手机)可以采用AI算法完成对当前场景信息的分析,以及预测得到一组待使用的NFC应用(如第一NFC应用组)。示例性的,AI算法可以是神经网络算法,例如,卷积神经网络算法等。本申请实施例对具体的AI算法以及计算过程不做限定。In some embodiments, an electronic device (such as a mobile phone) can use an AI algorithm to analyze the current scene information, and predict a set of NFC applications to be used (such as the first NFC application group). Exemplarily, the AI algorithm may be a neural network algorithm, for example, a convolutional neural network algorithm. The embodiments of the present application do not limit the specific AI algorithm and calculation process.
本申请实施例以下以具有图2所示硬件结构的手机100为例,对本申请实施例提供的NFC应用的调用方法进行介绍。可以理解,本申请提供的NFC应用的调用方法还可以应用于具有其他硬件结构,支持多种NFC应用功能的手机中,也可以应用于其他支持多种NFC应用功能的终端设备。以下实施例仅以手机为例,并不对具体终端设备的类型和结构做限定。In the embodiment of the present application, the following takes the mobile phone 100 having the hardware structure shown in FIG. 2 as an example to introduce the method for invoking the NFC application provided in the embodiment of the present application. It can be understood that the method for invoking NFC applications provided in this application can also be applied to mobile phones with other hardware structures that support multiple NFC application functions, and can also be applied to other terminal devices that support multiple NFC application functions. The following embodiments only take a mobile phone as an example, and do not limit the type and structure of a specific terminal device.
如图3所示,本申请实施例提供的NFC应用的调用方法可以包括S301-S303:As shown in FIG. 3, the method for invoking the NFC application provided by the embodiment of the present application may include S301-S303:
S301、手机100获取手机100的当前场景信息。S301. The mobile phone 100 obtains current scene information of the mobile phone 100.
在本申请中,手机100的当前场景信息包括但不限于:地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项。In this application, the current scene information of the mobile phone 100 includes, but is not limited to: one or more of geographic location information, time information, weather information, sports information, or usage information.
其中,地理位置信息可以包括手机100当前所处的位置类别。例如,办公楼、居民楼、地铁站、公交站、商场、电影院、景区、机场或高铁站等。手机100可以通过GPS、北斗卫星导航系统、伽利略卫星导航系统或俄罗斯GLONASS等定位系统获取手机100的经纬度信息,并根据手机100的经纬度信息结合具体的地图数据,确定手机100所处的位置类别。例如:手机100根据手机100的经纬度信息结合地图数据,确定手机100所处的经纬度处是居民楼,则手机100可以确定手机100所处的位置类别是居民楼。手机100还可以根据用户的授权,通过摄像头采集的手机100所处环境的图像,基于图像识别等相关技术,确定手机100所处的位置类别。例如,手机100分析摄像头采集的图像,确定图像中包括公交站牌的图像特征,则手机100可以确定手机处于公交站。Wherein, the geographic location information may include the location category where the mobile phone 100 is currently located. For example, office buildings, residential buildings, subway stations, bus stations, shopping malls, movie theaters, scenic spots, airports or high-speed rail stations, etc. The mobile phone 100 can obtain the latitude and longitude information of the mobile phone 100 through positioning systems such as GPS, Beidou satellite navigation system, Galileo satellite navigation system, or Russian GLONASS, and determine the location category of the mobile phone 100 based on the latitude and longitude information of the mobile phone 100 and specific map data. For example, if the mobile phone 100 determines that the latitude and longitude of the mobile phone 100 is a residential building based on the latitude and longitude information of the mobile phone 100 and map data, the mobile phone 100 can determine that the location category where the mobile phone 100 is located is a residential building. The mobile phone 100 can also determine the location category of the mobile phone 100 based on the image recognition and other related technologies based on the image of the environment where the mobile phone 100 is located, collected by the camera according to the authorization of the user. For example, if the mobile phone 100 analyzes the image collected by the camera and determines that the image includes the image characteristics of the bus stop sign, the mobile phone 100 can determine that the mobile phone is at the bus stop.
在一些实施例中,地理位置信息还可以包括手机100从网络设备(如定位管理功能(location management function,LMF)网元)获取的手机100的定位信息,还可以是其他用于确定手机100的NFC应用使用场景信息的地理位置信息,本申请实施例对地理位置信息的具体测量方式和具体内容不作限定。In some embodiments, the geographic location information may also include the location information of the mobile phone 100 obtained by the mobile phone 100 from a network device (such as a location management function (LMF) network element), and may also be other information used to determine the mobile phone 100. The NFC application uses the geographic location information of the scene information, and the embodiment of this application does not limit the specific measurement method and specific content of the geographic location information.
运动信息用于指示手机100的运动状态。运动信息可以包括但不限于手机100的 运动速度和/或运动方向等。示例性的,手机100可以通过传感器(如加速度传感器、陀螺仪传感器等)测量或者卫星(如GPS、北斗卫星、伽利略卫星或GLONASS等)测量得到运动数据。本申请实施例对运动信息的具体测量方式不作限定。另外,关于手机100通过传感器或者卫星测量得到运动数据的具体方法和过程,可以参考常规技术中的介绍和说明,这里不做赘述。The exercise information is used to indicate the exercise state of the mobile phone 100. The movement information may include, but is not limited to, the movement speed and/or movement direction of the mobile phone 100. Exemplarily, the mobile phone 100 can obtain the motion data through sensor (such as acceleration sensor, gyroscope sensor, etc.) measurement or satellite (such as GPS, Beidou satellite, Galileo satellite or GLONASS, etc.) measurement. The embodiment of the present application does not limit the specific measurement method of the exercise information. In addition, for the specific method and process for the mobile phone 100 to obtain the motion data through the sensor or satellite measurement, please refer to the introduction and description in the conventional technology, which will not be repeated here.
时间信息用于指示当前日期和具体时刻。进一步的,时间信息还可以用于指示当前时间是法定工作日还是法定节假日。天气信息用于指示当前天气、空气质量和温度等。时间信息和天气信息可以由手机100通过与互联网同步获取。Time information is used to indicate the current date and specific time. Further, the time information can also be used to indicate whether the current time is a legal working day or a legal holiday. Weather information is used to indicate the current weather, air quality, temperature, etc. Time information and weather information can be obtained by the mobile phone 100 by synchronizing with the Internet.
使用信息用于指示手机100在上述时间信息指示的时间之前的预设时间范围内使用NFC应用的信息。例如,使用信息可以包括手机100在当前时刻之前的预设时间段内(如一个月内),调用每一个NFC应用的时间和/或地理位置等信息。The usage information is used to instruct the mobile phone 100 to use the information of the NFC application within a preset time range before the time indicated by the above-mentioned time information. For example, the usage information may include information such as the time and/or geographic location of calling each NFC application within a preset time period (such as within one month) of the mobile phone 100 before the current moment.
在本申请中,手机100可以根据手机100的当前场景信息,预测接下来用户的NFC应用使用需求。具体的,手机100可以根据手机100的当前场景信息,预测手机100即将调用NFC应用的使用场景类别。In this application, the mobile phone 100 can predict the next user's NFC application usage needs based on the current scene information of the mobile phone 100. Specifically, the mobile phone 100 can predict the usage scenario category in which the mobile phone 100 is about to call the NFC application based on the current scene information of the mobile phone 100.
例如,时间信息表明当前时间在工作日的上午7:40-8:10之间,且使用信息表明手机100在每个工作日的上午7:40-8:10这一时间段内,会依次调用“家门钥匙”应用、“住宅楼门禁卡”应用、“住宅小区停车卡”应用和“住宅小区门禁卡”应用。在这种情况下,则手机100可以推测用户即将要离开家,即手机100即将调用NFC应用的使用场景类别为回家场景。以及,手机100推测用户接下来可能会依次有使用“家门钥匙”应用、“住宅楼门禁卡”应用、“住宅小区停车卡”应用和“住宅小区门禁卡”应用的需求。For example, the time information indicates that the current time is between 7:40-8:10 in the morning of the working day, and the usage information indicates that the mobile phone 100 will be in sequence during the time period of 7:40-8:10 in the morning of each working day. Call the "home key" application, "residential building access card" application, "residential community parking card" application and "residential community access card" application. In this case, the mobile phone 100 can speculate that the user is about to leave home, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a homecoming scene. And, the mobile phone 100 speculates that the user may sequentially need to use the "home key" application, the "residential building access card" application, the "residential community parking card" application, and the "residential community access card" application in turn.
又例如,地理位置信息表明手机100当前位于地点G,其中,地点G处为公交站。用信息表明手机100每次位于地点G时,都会调用“公交卡”应用;紧接着在到达地点K时,再调用“地铁卡”应用,其中,地点K处为地铁站。在这种情况下,则手机100可以推测用户即将乘坐公共交通工具,即手机100即将调用NFC应用的使用场景类别为公共交通场景。更为具体的,手机100可以推测用户接下来需要先乘坐公交车,再乘坐地铁。也就是说,用户接下来可能会依次有使用“公交卡”应用和“地铁卡”应用的需求。For another example, the geographic location information indicates that the mobile phone 100 is currently located at a location G, where the location G is a bus stop. The information indicates that the mobile phone 100 will call the “bus card” application every time it is located at the location G; then when it arrives at the location K, the “metro card” application will be called, where the location K is a subway station. In this case, the mobile phone 100 can speculate that the user is about to take public transportation, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a public transportation scene. More specifically, the mobile phone 100 can infer that the user needs to take the bus first, and then the subway. In other words, the user may subsequently have the need to use the "Bus Card" application and the "Metro Card" application in turn.
又例如,地理位置信息表明手机100当前位于景区旁的公交站牌处。但是天气信息表明当前天气为大雨。在这种情况下,手机100可以推测用户即将乘坐公交车的可能性大于进入景区的可能性,即手机100即将调用NFC应用的使用场景类别为公共交通场景。以及,手机100推测用户接下来可能会有使用“公交卡”的需求。For another example, the geographic location information indicates that the mobile phone 100 is currently located at a bus stop next to the scenic spot. But the weather information indicates that the current weather is heavy rain. In this case, the mobile phone 100 can infer that the possibility that the user is about to take a bus is greater than the possibility of entering a scenic spot, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a public transportation scene. And, the mobile phone 100 speculates that the user may have a need to use a "bus card" in the future.
再例如,地理位置信息表明手机100正位于用户住宅小区门口。运动信息表明手机100的运动速度为1米/秒(m/s),且运动方向为进入住宅小区的方向。在这种情况下,则手机100可以推测用户即将通过小区门禁回家,即手机100即将调用NFC应用的使用场景类别为回家场景。更为具体的,手机100可以推测用户即将步行回家,接下来可能会依次有使用“住宅小区门禁卡”、“住宅楼门禁卡”应用和“家门钥匙”应用的需求。For another example, the geographic location information indicates that the mobile phone 100 is located at the gate of the user's residential quarter. The movement information indicates that the movement speed of the mobile phone 100 is 1 meter per second (m/s), and the movement direction is the direction of entering the residential area. In this case, the mobile phone 100 can speculate that the user is about to go home through the cell gate, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a homecoming scene. More specifically, the mobile phone 100 can speculate that the user is about to walk home, and then there may be a need to use the "residential community access card", the "residential building access card" application, and the "home key" application in turn.
再例如,地理位置信息表明手机100正位于商场L停车场附近。运动信息表明手机100的运动速度为8米/秒(m/s),且运动方向为进入商场L停车场的方向。时间 信息表明当前时间为休息日的中午。在这种情况下,则手机100可以推测用户即将开车前往商场,即手机100即将调用NFC应用的使用场景类别为商场场景。以及,手机100推测用户接下来可能会依次有使用“商场停车卡”应用和“支付卡”应用的需求。For another example, the geographic location information indicates that the mobile phone 100 is located near the L parking lot of a shopping mall. The movement information indicates that the movement speed of the mobile phone 100 is 8 meters per second (m/s), and the movement direction is the direction of entering the L parking lot of the shopping mall. The time information indicates that the current time is noon on a rest day. In this case, the mobile phone 100 can speculate that the user is about to drive to the mall, that is, the usage scenario category in which the mobile phone 100 is about to call the NFC application is a mall scene. And, the mobile phone 100 speculates that the user may sequentially need to use the "shopping card parking card" application and the "payment card" application in turn.
S302、手机100根据当前场景信息确定第一NFC应用组及其使用顺序。第一NFC应用组中包括n个NFC应用。S302. The mobile phone 100 determines the first NFC application group and its use order according to the current scene information. The first NFC application group includes n NFC applications.
其中,第一NFC应用组中包括的多个NFC应用具有使用顺序。该使用顺序可以是优先级顺序、地理顺序或时间顺序等。在本申请中,在手机100根据手机100的当前场景信息,预测接下来用户的NFC应用使用需求之后,手机100可以确定即将要调用的一组NFC应用(即第一NFC应用组)。假设第一NFC应用组中包括n个NFC应用,其中,n≥2,且为正整数。Wherein, the multiple NFC applications included in the first NFC application group have a use order. The order of use can be the order of priority, geographic order, or chronological order. In this application, after the mobile phone 100 predicts the next user's NFC application usage needs based on the current scene information of the mobile phone 100, the mobile phone 100 can determine a group of NFC applications to be called (ie, the first NFC application group). It is assumed that the first NFC application group includes n NFC applications, where n≥2 and is a positive integer.
例如,在手机100根据手机100的当前场景信息,预测接下来用户即将要离开家,接下来可能会依次有使用“家门钥匙”应用、“住宅楼门禁卡”应用、“住宅小区停车卡”应用和“住宅小区门禁卡”应用的需求时,手机100可以确定即将要调用的第一NFC应用组包括具有使用顺序的“家门钥匙”应用、“住宅楼门禁卡”应用、“住宅小区停车卡”应用和“住宅小区门禁卡”应用。For example, according to the current scene information of the mobile phone 100, the mobile phone 100 predicts that the user is about to leave the house next, and then the "home key" application, the "residential building access card" application, and the "residential community parking card" application may be used in sequence. When meeting the requirements of the "residential community access card" application, the mobile phone 100 can determine that the first NFC application group to be called includes the "home key" application, the "residential building access card" application, and the "residential community parking card" in order of use. Application and "Residential District Access Card" application.
其中,上述示例中第一NFC应用组中的多个NFC应用的使用顺序可以是优先级顺序:“家门钥匙”应用>“住宅楼门禁卡”应用>“住宅小区停车卡”应用>“住宅小区门禁卡”应用。Among them, the order of use of multiple NFC applications in the first NFC application group in the above example may be a priority order: "home key" application> "residential building access card" application> "residential community parking card" application> "residential community" Access control card" application.
或者,上述示例中第一NFC应用组中的多个NFC应用的使用顺序可以是时间顺序:“家门钥匙”应用→“住宅楼门禁卡”应用→“住宅小区停车卡”应用→“住宅小区门禁卡”应用。Or, the order of using multiple NFC applications in the first NFC application group in the above example may be chronological: "home key" application→"residential building access card" application→"residential community parking card" application→"residential community access control Card" application.
又或者,上述示例中第一NFC应用组中的多个NFC应用的使用顺序可以是位置顺序:家里对应“家门钥匙”应用,住宅楼门对应“住宅楼门禁卡”应用,住宅小区停车场对应“住宅小区停车卡”应用,以及住宅小区大门对应“住宅小区门禁卡”应用。Or, the order of use of multiple NFC applications in the first NFC application group in the above example can be the order of location: home corresponds to the "home key" application, residential building door corresponds to the "residential building access card" application, and residential quarter parking lot corresponds to "Residential quarter parking card" application, and residential quarter gates correspond to "Residential quarter access card" application.
又例如,在手机100根据手机100的当前场景信息,预测接下来用户即将要离开住宅小区,乘坐公交车上班,接下来可能会依次有使用“公交卡”应用和“公司考勤卡”应用的需求时,手机100可以确定即将要调用的第一NFC应用组包括具有使用顺序的“公交卡”应用和“公司考勤卡”应用。或者,在手机100根据手机100的当前场景信息,预测接下来用户即将要离开住宅小区开车上班,接下来可能会依次有使用“办公楼停车卡”应用和“公司考勤卡”应用的需求时,手机100可以确定即将要调用的第一NFC应用组包括具有使用顺序的“办公楼停车卡”应用和“公司考勤卡”应用。For another example, according to the current scene information of the mobile phone 100, the mobile phone 100 predicts that the user will leave the residential area and take a bus to work. Then there may be a need to use the "bus card" application and the "company time card" application in turn. When the time, the mobile phone 100 can determine that the first NFC application group to be called includes the "bus card" application and the "company time card" application in the order of use. Or, when the mobile phone 100 predicts based on the current scene information of the mobile phone 100 that the user will leave the residential area and drive to work next, there may be a need to use the "office parking card" application and the "company time card" application in turn, The mobile phone 100 may determine that the first NFC application group to be called includes the "office building parking card" application and the "company time card" application in order of use.
又例如,在手机100根据手机100的当前场景信息,预测接下来用户即将到达景区游览,接下来可能会依次有使用“身份证”应用(用于购票时身份验证)、“支付卡”应用(用于购票支付)和“身份证”应用(用于进入景区时身份验证)的需求,手机100可以确定即将要调用的第一NFC应用组包括具有使用顺序的“身份证”应用、“支付卡”应用和“身份证”应用。For another example, according to the current scene information of the mobile phone 100, the mobile phone 100 predicts that the user will arrive at a scenic spot next, and then the "ID Card" application (used for identity verification when purchasing tickets) and the "Payment Card" application may be used in sequence. (Used for ticket purchase) and "ID card" application (used for identity verification when entering the scenic spot), the mobile phone 100 can determine that the first NFC application group to be called includes the "ID card" application and "ID card" application with order of use. "Payment card" application and "ID card" application.
在一些实施例中,手机100中可以预先保存有多个NFC应用组。其中,每个NFC应用组中包括多个具有使用顺序的NFC应用。上述步骤S302可以包括:In some embodiments, multiple NFC application groups may be stored in the mobile phone 100 in advance. Among them, each NFC application group includes a plurality of NFC applications in order of use. The foregoing step S302 may include:
手机100根据当前场景信息从手机100中预先保存的多个NFC应用组,确定第一 NFC应用组。其中,第一NFC应用组可以是手机100中预先保存的多个NFC应用组中,使用场景信息与手机100在步骤S301获取的当前场景信息匹配度最高的一组NFC应用。The mobile phone 100 determines the first NFC application group from a plurality of NFC application groups pre-saved in the mobile phone 100 according to the current scene information. Wherein, the first NFC application group may be a group of NFC applications with the highest matching degree between the usage scene information and the current scene information acquired by the mobile phone 100 in step S301 among the multiple NFC application groups pre-stored in the mobile phone 100.
或者,手机100在S302确定的第一NFC应用组还可以是手机100根据其他规则,从与手机100在步骤S301获取的当前场景信息匹配的多个NFC应用组中确定的一个NFC应用组。例如,手机100可以随机从与手机100在步骤S301获取的当前场景信息匹配的多个NFC应用组中选择一个NFC应用组。又如,手机100可以根据最近一次当前场景信息对应的NFC应用组的使用记录,从与手机100在步骤S301获取的当前场景信息匹配的多个NFC应用组中确定得到第一NFC应用组。Alternatively, the first NFC application group determined by the mobile phone 100 in S302 may also be an NFC application group determined by the mobile phone 100 from multiple NFC application groups matching the current scene information acquired by the mobile phone 100 in step S301 according to other rules. For example, the mobile phone 100 may randomly select an NFC application group from a plurality of NFC application groups matching the current scene information obtained by the mobile phone 100 in step S301. For another example, the mobile phone 100 may determine the first NFC application group from a plurality of NFC application groups matching the current scene information obtained by the mobile phone 100 in step S301 according to the last use record of the NFC application group corresponding to the current scene information.
可选的,本申请实施例中,手机100中预先保存的多个NFC应用组与手机100在S301获取的当前场景信息可以是一对一的对应关系。或者,一个当前场景信息还可以对应多个NFC应用组。本申请实施例对不同场景信息对应的NFC应用组的数量不做限定。Optionally, in this embodiment of the present application, multiple NFC application groups pre-stored in the mobile phone 100 may have a one-to-one correspondence with the current scene information acquired by the mobile phone 100 in S301. Or, one current scene information can also correspond to multiple NFC application groups. The embodiment of the present application does not limit the number of NFC application groups corresponding to different scene information.
例如,在手机100的当前场景信息不包括运动信息的情况下,若手机100根据手机100的当前场景信息,预测接下来用户即将进入住宅小区回家,则手机100推测用户可能有使用如图4中的第A NFC应用组(即用户开车回家)的可能,也会有使用如图4中的第B NFC应用组(即用户步行回家)的可能。For example, in the case that the current scene information of the mobile phone 100 does not include sports information, if the mobile phone 100 predicts that the user will soon enter a residential area and go home according to the current scene information of the mobile phone 100, the mobile phone 100 speculates that the user may use it as shown in Figure 4. The Ath NFC application group in Fig. 4 (that is, the user drives home) may also use the Bth NFC application group in FIG. 4 (that is, the user walks home).
如图4所示,实线所示的应用使用顺序是第A NFC应用组(即用户开车回家)对应的应用使用顺序。第A NFC应用组包括时间顺序为“住宅小区门禁卡”应用→“住宅小区停车卡”应用→“住宅楼门禁卡”应用→“家门钥匙”应用的各个应用。其中,“住宅小区门禁卡”应用用于通过住宅小区门禁410,“住宅小区停车卡”应用用于通过小区地下车库门禁420,“住宅楼门禁卡”应用用于通过住宅楼门430,“家门钥匙”应用用于通过用户家门440。As shown in Figure 4, the application use order shown by the solid line is the application use order corresponding to the Ath NFC application group (that is, the user drives home). The A NFC application group includes applications in the chronological order of "Residential Community Access Card" application → "Residential Community Parking Card" application → "Residential Building Access Control Card" application → "Home Key" application. Among them, the "Residential Quarter Access Control Card" application is used to pass the residential quarter access control 410, the "Residential Quarter Parking Card" application is used to pass the underground garage access control 420 of the residential quarter, and the "Residential Building Access Control Card" application is used to pass the residential building door 430, "home door". The "key" application is used to pass through the user's home 440.
如图4所示,虚线所示的应用使用顺序是第B NFC应用组(即用户步行车回家)对应的应用使用顺序。第B NFC应用组包括时间顺序为“住宅小区门禁卡”应用→“住宅楼门禁卡”应用→“家门钥匙”应用的各个应用。其中,“住宅小区门禁卡”应用用于通过住宅小区门禁450,“住宅楼门禁卡”应用用于通过住宅楼门430,“家门钥匙”应用用于通过用户家门440。As shown in FIG. 4, the application use order shown by the dotted line is the application use order corresponding to the Bth NFC application group (that is, the user walks home by car). The B NFC application group includes applications in the time sequence of "Residential Community Access Card" Application → "Residential Building Access Card" Application → "House Key" Application. Among them, the “residential area access control card” application is used to pass the residential area access control 450, the “residential building access control card” application is used to pass the residential building door 430, and the “home key” application is used to pass the user’s home door 440.
在图4所示的场景下,可选的,若手机100的当前场景信息包括运动信息,且运动数据表征手机100的运动速度为8m/s,则手机100可以进一步预测用户开车回家。也就是说,手机100可以确定第一NFC应用组是图4中所示的第A NFC应用组。在这种情况下,手机100按照第A NFC应用组对应的410→420→430→440的应用使用顺序,依次处理手机100接收到的分别来自住宅小区门禁、住宅地下车库门禁、住宅楼门禁和家门门禁的NFC应用调用请求。In the scenario shown in FIG. 4, optionally, if the current scene information of the mobile phone 100 includes motion information, and the motion data indicates that the motion speed of the mobile phone 100 is 8 m/s, the mobile phone 100 can further predict that the user drives home. That is, the mobile phone 100 can determine that the first NFC application group is the Ath NFC application group shown in FIG. 4. In this case, the mobile phone 100 in accordance with the application use order of 410 → 420 → 430 → 440 corresponding to the A NFC application group, sequentially processes the access control of the residential quarter, the access control of the residential underground garage, the access control of the residential building and the access control received by the mobile phone 100 respectively. NFC application call request for home door access control.
或者,若手机100的当前场景信息包括运动信息,且运动数据表征手机100的运动速度为1m/s,则手机100可以进一步预测用户步行回家。在这种情况下,手机100按照第B NFC应用组对应的450→430→440的应用使用顺序,依次处理手机100接收到的分别来自住宅小区门禁、住宅楼门禁和家门门禁的NFC应用调用请求。Alternatively, if the current scene information of the mobile phone 100 includes motion information, and the motion data indicates that the motion speed of the mobile phone 100 is 1 m/s, the mobile phone 100 may further predict that the user walks home. In this case, the mobile phone 100 processes the NFC application call requests received by the mobile phone 100 from the residential quarter access control, residential building access control, and home door access control in the order of 450→430→440 corresponding to the B NFC application group. .
可以理解,在本申请中,一个NFC应用可以与多张模拟卡片相关联,或者说一个 NFC应用可以与多张模拟卡片绑定。示例性的,“支付卡”应用可以与多张银行卡(如招商银行、建设银行和中国银行等)绑定。“交通卡”应用可以与公交卡和地铁卡绑定。进一步的,“交通卡”应用可以与北京、上海、西安、深圳等多个城市的公交卡和地铁卡绑定。但是,在某一时刻,手机100仅能调用一个NFC应用中的一张模拟卡片。例如,在手机100调用“支付卡”应用时,手机100可以调用“支付卡”应用绑定的多张银行卡中的任一张。手机100也可以调用用户自定义的默认银行卡,手机100还可以按照其他规则调用NFC应用中具体的模拟卡片。又如,在手机100调用“交通卡”应用乘坐公交交通工具时,手机100可以结合手机100的地理位置信息,确定要调用的是哪个城市的交通卡,以及确定调用公交卡还是地铁卡。对于一个NFC应用中具体模拟卡片的选择规则,本申请实施例不做限定。It can be understood that in this application, one NFC application can be associated with multiple analog cards, or in other words, one NFC application can be bound with multiple analog cards. Exemplarily, the "payment card" application can be bound to multiple bank cards (such as China Merchants Bank, Construction Bank, Bank of China, etc.). The "Transportation Card" application can be bound to bus and subway cards. Furthermore, the "transportation card" application can be bound to bus cards and subway cards in Beijing, Shanghai, Xi'an, Shenzhen and other cities. However, at a certain moment, the mobile phone 100 can only call one analog card in one NFC application. For example, when the mobile phone 100 calls the "payment card" application, the mobile phone 100 can call any one of the multiple bank cards bound to the "payment card" application. The mobile phone 100 can also call a user-defined default bank card, and the mobile phone 100 can also call a specific analog card in the NFC application according to other rules. For another example, when the mobile phone 100 calls the "transportation card" application to take public transportation, the mobile phone 100 can combine the geographic location information of the mobile phone 100 to determine which city's transportation card is to be called, and whether to call the bus card or the subway card. The selection rule of a specific analog card in an NFC application is not limited in the embodiment of this application.
S303、手机100按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。S303. The mobile phone 100 sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group.
可以理解,在本申请中,在手机100确定好第一NFC应用组之后,手机100可以将第一NFC应用组中的n个NFC应用预先设置为待使用NFC应用。示例性的,手机100可以预先设置好该n个NFC应用的激活时机。It can be understood that, in this application, after the mobile phone 100 determines the first NFC application group, the mobile phone 100 may preset n NFC applications in the first NFC application group as NFC applications to be used. Exemplarily, the mobile phone 100 may preset the activation timing of the n NFC applications.
例如,手机100可以先激活第一NFC应用组中的第1个NFC应用。以及,在第1个NFC应用被成功使用之后,激活第2个NFC应用;以此类推,手机100在第i个NFC应用被成功使用之后,激活第i+1个NFC应用。其中,i为正整数,且i<n。手机100按照预先设置的该激活时机,依次激活第一NFC应用组中的n个NFC应用,直到调用完第一NFC应用组中的n个NFC应用。For example, the mobile phone 100 may first activate the first NFC application in the first NFC application group. And, after the first NFC application is successfully used, the second NFC application is activated; and so on, the mobile phone 100 activates the (i+1)th NFC application after the i-th NFC application is successfully used. Among them, i is a positive integer, and i<n. The mobile phone 100 sequentially activates the n NFC applications in the first NFC application group according to the preset activation timing, until the n NFC applications in the first NFC application group are called.
其中,上述第1个NFC应用是第一NFC应用组中、按照第一NFC应用组的使用场景信息对应的使用场景下,将第1个被调用的NFC应用。该使用场景信息与手机100在S301获取的当前场景信息匹配。使用场景信息包括第一NFC应用组被调用时,手机100的地理位置信息、时间信息、天气信息、运动信息、操作信息中的一项或多项。第2个NFC应用是第一NFC应用组中、按照第一NFC应用组的使用场景信息对应的使用场景下,将第2个被调用的NFC应用。第i个NFC应用是第一NFC应用组中、按照第一NFC应用组的使用场景信息对应的使用场景下,将第i个被调用的NFC应用。第i+1个NFC应用是第一NFC应用组中、按照第一NFC应用组的使用场景信息对应的使用场景下,将第i+1个被调用的NFC应用。Wherein, the above-mentioned first NFC application is the first NFC application to be invoked in the first NFC application group according to the usage scenario corresponding to the usage scenario information of the first NFC application group. The usage scene information matches the current scene information acquired by the mobile phone 100 in S301. The usage scenario information includes one or more of geographic location information, time information, weather information, sports information, and operation information of the mobile phone 100 when the first NFC application group is called. The second NFC application is the second NFC application to be called in the first NFC application group in the usage scenario corresponding to the usage scenario information of the first NFC application group. The i-th NFC application is the i-th NFC application that is invoked in the first NFC application group in a usage scenario corresponding to the usage scenario information of the first NFC application group. The (i+1)th NFC application is the (i+1)th NFC application that is invoked in the first NFC application group in a usage scenario corresponding to the usage scenario information of the first NFC application group.
请参考图5A,步骤S303可以包括图5A所示的S501、S502和S503-1,或者S501、S502和S503-2和S504:Referring to FIG. 5A, step S303 may include S501, S502, and S503-1, or S501, S502, S503-2, and S504 shown in FIG. 5A:
S501、手机100激活第一NFC应用组中的第i个NFC应用。S501. The mobile phone 100 activates the i-th NFC application in the first NFC application group.
其中,i为正整数,且i<n。Among them, i is a positive integer, and i<n.
S502、手机100在靠近NFC设备时,验证第i个NFC应用。S502. When the mobile phone 100 is close to the NFC device, verify the i-th NFC application.
若手机100中的第i个NFC应用验证通过,则手机100执行S503-1;若手机100中的第i个NFC应用未验证通过,则手机100执行S503-2。If the i-th NFC application in the mobile phone 100 is verified, the mobile phone 100 executes S503-1; if the i-th NFC application in the mobile phone 100 is not verified, the mobile phone 100 executes S503-2.
S503-1、手机100激活第一NFC应用组中的第i+1个NFC应用。S503-1. The mobile phone 100 activates the (i+1)th NFC application in the first NFC application group.
在手机100执行完S503-1之后,若手机100中的第i+1个NFC应用验证通过,则手机100继续激活第一NFC应用组中使用顺序在第i+1个NFC应用之后的其他应 用。若手机100中的第i+1个NFC应用未验证通过,则手机100执行S503-2。After the mobile phone 100 executes S503-1, if the i+1th NFC application in the mobile phone 100 passes the verification, the mobile phone 100 continues to activate other applications in the first NFC application group in the order of use after the i+1th NFC application . If the i+1th NFC application in the mobile phone 100 is not verified, the mobile phone 100 executes S503-2.
S503-2、手机100依次激活第一NFC应用组中的其他NFC应用,直到手机100的NFC应用被验证通过。S503-2. The mobile phone 100 sequentially activates other NFC applications in the first NFC application group until the NFC application of the mobile phone 100 is verified.
在一种可能的实现方式中,手机100可以按照第i+1个NFC应用→……→第n个NFC应用的顺序,依次激活第一NFC应用组中的其他NFC应用。或者,手机100也可以按照第一NFC应用组中的其他NFC应用与第i个NFC应用被调用的顺序间隔的远近,依次激活第一NFC应用组中的其他NFC应用。例如,手机100可以按照第i+1个NFC应用→第i-1个NFC应用→……→第n个NFC应用的顺序,依次激活第一NFC应用组中的其他NFC应用。对于手机100依次激活第一NFC应用组中的其他NFC应用所遵循的规则,本申请实施例不做限定。In a possible implementation manner, the mobile phone 100 may sequentially activate other NFC applications in the first NFC application group in the order of the (i+1)th NFC application→...→the nth NFC application. Alternatively, the mobile phone 100 may also activate other NFC applications in the first NFC application group in sequence according to the distance between the other NFC applications in the first NFC application group and the sequence in which the i-th NFC application is called. For example, the mobile phone 100 may sequentially activate other NFC applications in the first NFC application group in the order of the (i+1)th NFC application→the (i-1)th NFC application→……→the nth NFC application. The mobile phone 100 sequentially activates the rules followed by other NFC applications in the first NFC application group, which are not limited in the embodiment of the present application.
在一些实施例中,在手机100依次激活第一NFC应用组中的其他NFC应用,直到手机100的NFC应用被验证通过之后,本申请实施例提供的方法还可以包括以下步骤S504:In some embodiments, the mobile phone 100 sequentially activates other NFC applications in the first NFC application group until the NFC application of the mobile phone 100 is verified. The method provided in this embodiment of the application may further include the following step S504:
S504、手机100按照第二NFC应用组中多个NFC应用的使用顺序,依次自动激活和调用第二NFC应用组中多个NFC应用。S504. The mobile phone 100 automatically activates and invokes the multiple NFC applications in the second NFC application group in sequence according to the use order of the multiple NFC applications in the second NFC application group.
其中,第二NFC应用组是手机100中预先保存的多组NFC应用中,除第一NFC应用组以外,使用场景信息与手机100在S301获取的当前场景信息匹配度最高的一个NFC应用组。Among them, the second NFC application group is the NFC application group with the highest matching degree between the usage scene information and the current scene information acquired by the mobile phone 100 in S301 among the multiple groups of NFC applications pre-stored in the mobile phone 100.
示例性的,在手机100的当前场景信息不包括运动信息的情况下,手机100根据手机100的当前场景信息,预测接下来用户即将进入住宅小区回家,则手机100确定第一NFC应用组为图4所示的第A NFC应用组,即用户开车回家。接下来,手机100即将按照第A NFC应用组中多个NFC应用的使用顺序,依次自动激活该多个NFC应用。其中,假设手机100接收到的第一个NFC应用调用请求来自住宅小区门禁450,则第A NFC应用组中的第1个NFC应用(即用于通过住宅小区门禁410的“住宅小区门禁卡”应用)不能成功验证通过住宅小区门禁450。在这种情况下,手机100可以尝试按照一定的激活频率,依次调用第A NFC应用组中的其他NFC应用(包括“住宅小区停车卡”应用、“住宅楼门禁卡”应用或“家门钥匙”应用),直到手机100成功验证住宅小区门禁450。之后,手机100可以重新确定即将使用的NFC应用组。例如,将第A NFC应用组切换为第B NFC应用组,使用步行回家对应的NFC应用组响应接下来手机100靠近的NFC设备。Exemplarily, when the current scene information of the mobile phone 100 does not include sports information, the mobile phone 100 predicts that the user will soon enter a residential area to go home according to the current scene information of the mobile phone 100, and the mobile phone 100 determines that the first NFC application group is The Ath NFC application group shown in Figure 4, that is, the user drives home. Next, the mobile phone 100 is about to automatically activate the multiple NFC applications in sequence according to the order of use of the multiple NFC applications in the Ath NFC application group. Among them, assuming that the first NFC application call request received by the mobile phone 100 comes from the residential quarter access control 450, the first NFC application in the A-th NFC application group (that is, the "residential community access control card" used to pass the residential quarter access control 410 Application) Cannot successfully verify the access control 450 of the residential area. In this case, the mobile phone 100 can try to call other NFC applications in the Ath NFC application group (including the "residential community parking card" application, the "residential building access card" application, or the "home key" in turn according to a certain activation frequency. Application), until the mobile phone 100 successfully verifies the residential area access control 450. After that, the mobile phone 100 can re-determine the NFC application group to be used. For example, the Ath NFC application group is switched to the Bth NFC application group, and the NFC application group corresponding to walking home is used to respond to the next NFC device that the mobile phone 100 approaches.
在另一些实施例中,在手机100依次激活第一NFC应用组中的其他NFC应用,直到手机100的NFC应用被验证通过之后,本申请实施例提供的方法还可以包括以下步骤:手机100显示第二界面,用于用户选择要切换的NFC应用组。以及,在用户选择第三NFC应用组之后,响应于用户选择第三NFC应用组的操作,手机100按照第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。In other embodiments, the mobile phone 100 sequentially activates other NFC applications in the first NFC application group until the NFC application of the mobile phone 100 is verified. The method provided in this embodiment of the application may further include the following steps: the mobile phone 100 displays The second interface is used for the user to select the NFC application group to be switched. And, after the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
在一些实施例中,在手机100执行上述步骤S503-2的过程中,本申请实施例提供的方法还可以包括:In some embodiments, when the mobile phone 100 executes the above step S503-2, the method provided in the embodiment of the present application may further include:
手机100记录手机100使用NFC应用时的使用场景信息,根据手机100记录的手机100使用NFC应用时的使用场景信息更新用户使用NFC应用的规律。进一步的, 手机100根据更新的用户使用NFC应用的规律更新与当前场景信息匹配的NFC应用组。The mobile phone 100 records the usage scene information when the mobile phone 100 uses the NFC application, and updates the user's rule of using the NFC application according to the usage scene information when the mobile phone 100 uses the NFC application recorded by the mobile phone 100. Further, the mobile phone 100 updates the NFC application group matching the current scene information according to the updated rule of the user using the NFC application.
在本申请实施例中,如图5B所示,若手机100中的第i个NFC应用未验证通过,则手机100还可以执行S503-3或S503-4。In the embodiment of the present application, as shown in FIG. 5B, if the i-th NFC application in the mobile phone 100 is not verified, the mobile phone 100 may also perform S503-3 or S503-4.
S503-3、手机100提醒用户手动选择用户想要使用的NFC应用。S503-3. The mobile phone 100 reminds the user to manually select the NFC application that the user wants to use.
例如,手机100可以显示界面,用于用户选择要切换的NFC应用。以及,根据用户手动选择的NFC应用调用该NFC应用。For example, the mobile phone 100 may display an interface for the user to select the NFC application to be switched. And, call the NFC application according to the NFC application manually selected by the user.
进一步的,在使用用户手动选择的NFC应用成功验证手机100靠近的NFC设备之后,手机100还可以显示第二界面,用于用户选择要切换至哪个NFC应用组。在用户选择第三NFC应用组之后,响应于用户选择第三NFC应用组的操作,手机100按照第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。Further, after successfully verifying the NFC device close to the mobile phone 100 using the NFC application manually selected by the user, the mobile phone 100 may also display a second interface for the user to select which NFC application group to switch to. After the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
S503-4、手机100提醒用户手动选择用户想要使用的NFC应用组(如第三NFC应用组)。S503-4. The mobile phone 100 reminds the user to manually select the NFC application group (such as the third NFC application group) that the user wants to use.
例如,手机100可以显示第二界面,用于用户选择要切换的NFC应用组。以及,在用户选择第三NFC应用组之后,响应于用户选择第三NFC应用组的操作,手机100按照第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。For example, the mobile phone 100 may display a second interface for the user to select the NFC application group to be switched. And, after the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
例如,手机100可以显示第二界面,用于用户选择要切换至哪个NFC应用组。在用户选择第三NFC应用组之后,响应于用户选择第三NFC应用组的操作,手机100按照第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。For example, the mobile phone 100 may display a second interface for the user to select which NFC application group to switch to. After the user selects the third NFC application group, in response to the user's operation of selecting the third NFC application group, the mobile phone 100 sequentially activates and invokes the NFC applications in the third NFC application group according to the order of use of the third NFC application group.
进一步的,在本申请实施例中,若手机100中预先保存有多个NFC应用组,则存在以下两种情况:Further, in the embodiment of the present application, if multiple NFC application groups are pre-stored in the mobile phone 100, there are the following two situations:
情况(1)、手机100中预先保存的多个NFC应用组是手机100根据手机100的使用信息绘制的。Case (1): The multiple NFC application groups pre-stored in the mobile phone 100 are drawn by the mobile phone 100 according to the usage information of the mobile phone 100.
具体的,手机100可以根据手机100在预设时间范围内使用NFC应用的时间和/或地理位置等信息获取用户使用NFC应用的规律,然后根据用户使用NFC应用的规律确定多个NFC应用组,并预先保存在手机100中。Specifically, the mobile phone 100 can obtain the rule of the user using the NFC application according to the time and/or geographic location of the NFC application used by the mobile phone 100 within a preset time range, and then determine multiple NFC application groups according to the rule of the user using the NFC application. And it is stored in the mobile phone 100 in advance.
示例性的,手机100的使用信息表明手机100在每次调用“住宅小区门禁卡”应用之后,通常会依次调用“住宅停车卡”应用、“住宅楼门禁卡”应用和“家门钥匙”应用。或者,手机100在每次调用“住宅小区门禁卡”应用之后,通常会依次调用“住宅楼门禁卡”应用和“家门钥匙”应用。则手机100可以得到图4所示的第A NFC应用组和第B NFC应用组,并预先保存在手机100中。Exemplarily, the usage information of the mobile phone 100 indicates that the mobile phone 100 usually calls the "residential parking card" application, the "residential building access card" application, and the "home key" application every time after the "residential community access card" application is invoked. Alternatively, the mobile phone 100 usually calls the “residential building access control card” application and the “home key” application every time after calling the “residential community access control card” application. Then, the mobile phone 100 can obtain the Ath NFC application group and the Bth NFC application group shown in FIG. 4, and save them in the mobile phone 100 in advance.
在本申请实施例中,手机100中预先保存的多个NFC应用组,以及该多组NFC应用与场景信息的对应关系可以可视化地显示在手机100的显示界面上。In the embodiment of the present application, multiple NFC application groups pre-stored in the mobile phone 100 and the corresponding relationship between the multiple sets of NFC applications and scene information can be visually displayed on the display interface of the mobile phone 100.
例如,手机100可以响应于用户在“无线和网络”界面选择“NFC”的操作,显示NFC应用组和场景信息的设置界面。其中,“无线和网络”界面可以是手机100响应于用户在“设置”界面选择“无线和网络”的操作显示的界面。For example, the mobile phone 100 may display a setting interface of the NFC application group and scene information in response to the user's operation of selecting "NFC" on the "wireless and network" interface. The "wireless and network" interface may be an interface displayed by the mobile phone 100 in response to the user's selection of "wireless and network" in the "setting" interface.
请参考图6,图6示出了进入NFC界面以及进入修改NFC应用组的界面的示例示意图。如图6所示,响应于用户在如图6中的(a1)所示的“无线和网络”界面601上选择“NFC”的操作602,手机100显示如图6中的(b)所示的界面603。Please refer to FIG. 6, which shows an example schematic diagram of entering the NFC interface and entering the interface for modifying the NFC application group. As shown in FIG. 6, in response to the user selecting "NFC" operation 602 on the "Wireless and Network" interface 601 as shown in (a1) in FIG. 6, the mobile phone 100 displays as shown in (b) in FIG. 6 Interface 603.
又例如,手机100还可以响应于用户在“设备连接”界面选择“NFC”的操作,显示NFC应用组和场景信息的设置界面。其中,“设备连接”界面可以是手机100响应于用户在“设置”界面选择“设备连接”的操作显示的界面。For another example, the mobile phone 100 may also display a setting interface of the NFC application group and scene information in response to the user's operation of selecting "NFC" on the "device connection" interface. The "device connection" interface may be an interface displayed by the mobile phone 100 in response to the user's selection of "device connection" on the "settings" interface.
如图6所示,响应于用户如图6中的(a2)所示的“设备连接”界面604上选择“NFC”的操作605,手机100显示如图6中的(b)所示的界面603。As shown in FIG. 6, in response to the user selecting "NFC" operation 605 on the "device connection" interface 604 as shown in (a2) in FIG. 6, the mobile phone 100 displays an interface as shown in (b) in FIG. 603.
如图6中的(b)所示,“读卡器模式”、“P2P模式”和“卡模式”对应的开关键可以用于开启或者关闭对应的NFC功能。“交通卡”选项可以供用户绑定公交卡或地铁卡等。“支付卡”选项可以供用户关联银行卡或虚拟钱包等。“门禁卡”选项可以供用户添加住宅小区门禁卡或停车卡等。“身份卡”选项可以供用户关联虚拟身份证或公司考勤卡等。“用卡画像”选项可以供用户自定义修改场景信息和/或NFC应用组等。As shown in (b) in Fig. 6, the switch keys corresponding to "card reader mode", "P2P mode" and "card mode" can be used to turn on or turn off the corresponding NFC function. The "Transport Card" option allows users to bind a bus card or subway card, etc. The "Payment Card" option allows users to associate bank cards or virtual wallets. The "Access Control Card" option allows users to add residential community access control cards or parking cards, etc. The "Identity Card" option allows users to associate a virtual ID card or company attendance card, etc. The "Portrait with Card" option allows users to customize and modify scene information and/or NFC application groups.
需要说明,在本申请实施例中,用户自定义修改场景信息和/或NFC应用组包括但不限于:用户增加或删除场景类别,用户增加或删除某一场景类别对应的NFC应用组,用户增加或删除某一NFC应用组中的NFC应用种类,用户增加或删除某一个NFC应用绑定的模拟卡片,用户修改场景类别和NFC应用组的对应关系,或者用户修改NFC应用组中NFC应用的使用顺序等。It should be noted that in the embodiments of this application, user-defined modification of scene information and/or NFC application groups includes but is not limited to: users add or delete scene categories, users add or delete NFC application groups corresponding to a certain scene category, and users add Or delete the NFC application type in a certain NFC application group, the user adds or deletes an analog card bound to a certain NFC application, the user modifies the corresponding relationship between the scene category and the NFC application group, or the user modifies the use of the NFC application in the NFC application group Order etc.
示例性的,如图6中的(b)所示,选项606可以用于用户增加场景类别。选项607可以用于用户删除某一场景类别。选项608可以用于用户修改场景类别和NFC应用组的对应关系等。如图6中的(b)所示,响应于用户选择回家场景对应的“修改”选项的操作609,手机100显示如图6中的(c)所示的界面610。如图6中的(c)所示,选项611用于用户增加回家场景对应的NFC应用组。选项612可以用于用户删除第A NFC应用组。选项613可以用于用户增加或删除第A NFC应用组中的NFC应用种类,增加或删除第A NFC应用组对应的某一个NFC应用中模拟卡片,或者修改第A NFC应用组中NFC应用的使用顺序等。选项614可以用于用户删除第B NFC应用组。选项615可以用于用户增加或删除第B NFC应用组中的NFC应用种类,增加或删除第B NFC应用组对应的某一个NFC应用中模拟卡片,或者修改第B NFC应用组中NFC应用的使用顺序等。Exemplarily, as shown in FIG. 6(b), the option 606 can be used for the user to add a scene category. Option 607 can be used by the user to delete a certain scene category. Option 608 can be used by the user to modify the corresponding relationship between the scene category and the NFC application group. As shown in (b) in FIG. 6, in response to the operation 609 of the user selecting the "modify" option corresponding to the homecoming scene, the mobile phone 100 displays an interface 610 as shown in (c) in FIG. As shown in (c) in FIG. 6, option 611 is used for the user to add the NFC application group corresponding to the homecoming scene. Option 612 can be used for the user to delete the Ath NFC application group. Option 613 can be used by the user to add or delete the NFC application types in the Ath NFC application group, add or delete the analog card in a certain NFC application corresponding to the Ath NFC application group, or modify the use of the NFC application in the Ath NFC application group Order etc. Option 614 can be used for the user to delete the Bth NFC application group. Option 615 can be used for users to add or delete NFC application types in the Bth NFC application group, add or delete an analog card in a certain NFC application corresponding to the Bth NFC application group, or modify the use of NFC applications in the Bth NFC application group Order etc.
需要说明的是,本申请图6中的(a1)和图6中的(a2)所示的进入NFC设置界面的方法,图6中的(b)所示的NFC设置界面的具体显示界面,以及图6中的(c)所示的自定义修改NFC应用组的界面仅作为示例。事实上,用户还可以通过其他途径进入NFC设置界面。以及,NFC设置界面和自定义修改NFC应用组的界面还可以显示其他的相关选项,每一种选项的显示位置和显示形式也可以有其他变形等。It should be noted that the method of entering the NFC setting interface shown in (a1) and (a2) in FIG. 6 of this application, and the specific display interface of the NFC setting interface shown in (b) in FIG. 6, And the interface for customizing and modifying the NFC application group shown in (c) in FIG. 6 is only an example. In fact, users can also enter the NFC setting interface through other channels. In addition, the NFC setting interface and the interface for customizing and modifying the NFC application group can also display other related options, and the display position and display form of each option can also be modified in other ways.
情况(2)、手机100中预先保存的多个NFC应用组是手机100接受用户自定义设置的。Case (2): The multiple NFC application groups pre-stored in the mobile phone 100 are customized by the mobile phone 100.
具体的,手机100可以根据用户手动设置的具有不同优先级的多个NFC应用,得到一个NFC应用组。Specifically, the mobile phone 100 may obtain an NFC application group according to multiple NFC applications with different priorities manually set by the user.
例如,手机100可以响应于用户在如图6中的(c)所示的界面610上点击选项611的操作,显示增加NFC应用组的界面,以便用户在该界面上手动设置多个NFC应用以及手动设置不同NFC应用的优先级。手机100可以根据用户的上述自定义设置得到多个NFC应用组。For example, the mobile phone 100 may respond to the user's operation of clicking option 611 on the interface 610 shown in (c) of FIG. 6 to display an interface for adding an NFC application group, so that the user can manually set multiple NFC applications and Manually set the priority of different NFC applications. The mobile phone 100 can obtain multiple NFC application groups according to the above-mentioned custom settings of the user.
可以理解,本申请提供的NFC应用的调用方法中,电子设备可以通过学习用户使用NFC应用的规律,得到不同场景类别对应的NFC应用组。以便在电子设备接收到NFC应用调用请求时,结合电子设备的地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项,智能化地基于情景感知预测用户使用NFC应用的需求,进而预测可以满足用户使用需求的具有使用顺序的一个NFC应用组,用于电子设备逐一自动化地验证其靠近的NFC设备。解决了用户需要手动选择待使用的NFC应用所带来的操作复杂,用户体验度低的问题,为用户提供更加便捷的NFC应用使用体验。It can be understood that in the method for invoking the NFC application provided in this application, the electronic device can obtain the NFC application groups corresponding to different scene categories by learning the rules of the user's use of the NFC application. So that when the electronic device receives the NFC application call request, combined with one or more of the electronic device’s geographic location information, time information, weather information, sports information or usage information, intelligently predict the user’s use of the NFC application based on contextual perception In turn, it is predicted that an NFC application group with a sequence of use that can meet the needs of users is used for electronic devices to automatically verify their nearby NFC devices one by one. It solves the problems of complicated operation and low user experience caused by users needing to manually select the NFC application to be used, and provides users with a more convenient NFC application experience.
可选的,如图7所示,在步骤S302之后,在步骤S303之前,本申请实施例提供的NFC应用的调用方法还可以包括步骤S304和S305:Optionally, as shown in FIG. 7, after step S302 and before step S303, the method for invoking the NFC application provided in the embodiment of the present application may further include steps S304 and S305:
S304、手机100显示第一界面。第一界面用于请求用户确认是否使用所述第一NFC应用组。S304. The mobile phone 100 displays the first interface. The first interface is used to request the user to confirm whether to use the first NFC application group.
具体的,第一界面可以用于指示第一指示信息。第一指示信息用于提醒用户第一NFC应用组。以及进一步的,第一指示信息还用于指示第一NFC应用组中的n个NFC应用的使用顺序,以及用于用户确认是否根据第一NFC应用组中的n个NFC应用的使用顺序,依次自动激活该n个NFC应用,以验证手机100靠近的NFC设备。Specifically, the first interface may be used to indicate the first indication information. The first indication information is used to remind the user of the first NFC application group. And further, the first indication information is also used to indicate the order of use of the n NFC applications in the first NFC application group, and for the user to confirm whether according to the order of use of the n NFC applications in the first NFC application group, The n NFC applications are automatically activated to verify the NFC device close to the mobile phone 100.
其中,第一指示信息可以弹窗显示在第一界面上,如图8中的(a)所示。或者,为了不打断用户正在操作的界面,提高用户体验,第一指示信息也可以以可下拉通知的形式显示在第一界面上,如图8中的(b)所示。或者,第一指示信息还可以以悬浮框的形式显示在第一界面上。Wherein, the first indication information can be displayed on the first interface by a pop-up window, as shown in (a) in FIG. 8. Or, in order not to interrupt the interface that the user is operating and improve the user experience, the first indication information may also be displayed on the first interface in the form of a pull-down notification, as shown in FIG. 8(b). Alternatively, the first indication information may also be displayed on the first interface in the form of a floating frame.
示例性的,如图8中的(b)所示,响应于用户下拉用于通知第一指示信息的通知栏的操作,手机100显示如图8中的(c)所示的界面。Exemplarily, as shown in FIG. 8(b), in response to the user's operation of pulling down the notification bar for notifying the first indication information, the mobile phone 100 displays an interface as shown in FIG. 8(c).
需要说明的是,本申请图8中的(a)和图8中的(b)仅作为两种第一指示信息的显示形式示例。对于第一指示信息的具体显示形式以及具体显示的信息内容,本申请实施例不做限定。It should be noted that (a) in FIG. 8 and (b) in FIG. 8 of the present application are only used as examples of the display form of the two first indication information. The specific display form and specific displayed information content of the first indication information are not limited in the embodiment of the present application.
S305、手机100接收用户在第一界面上确定使用第一NFC应用组的操作。S305. The mobile phone 100 receives an operation that the user determines to use the first NFC application group on the first interface.
示例性的,用户在第一界面上确定使用第一NFC应用组的操作可以是用户在图8中的(a)或者图8中的(c)所示的界面上,点击选项“是”的操作。Exemplarily, the user's operation to determine to use the first NFC application group on the first interface may be that the user clicks the option "Yes" on the interface shown in Figure 8 (a) or Figure 8 (c) operate.
在手机100执行步骤S304的情况下,步骤S303包括:响应于用户在第一界面上确定使用第一NFC应用组的操作,手机100按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。When the mobile phone 100 executes step S304, step S303 includes: in response to the user's operation of determining to use the first NFC application group on the first interface, the mobile phone 100 activates and invokes the first NFC application group in the order in which the first NFC application group is used. NFC applications in the NFC application group.
示例性的,如图8中的(b)所示,响应于用户在如图8中的(c)所示的界面上点击选项“是”的操作,或者响应于用户在如图8中的(a)所示的界面上点击选项“是”的操作,手机100按照第一组NFC应用中至少n个NFC应用的使用顺序,依次自动激活该n个NFC应用,用于验证手机100靠近的NFC设备。Exemplarily, as shown in FIG. 8(b), in response to the user's operation of clicking the option "Yes" on the interface as shown in FIG. 8(c), or in response to the user's operation in FIG. 8 (a) Click the option "Yes" on the interface shown, and the mobile phone 100 will automatically activate the n NFC applications in sequence according to the order in which at least n NFC applications in the first group of NFC applications are used to verify the proximity of the mobile phone 100 NFC device.
可以理解,上述第一指示信息指示的NFC应用组是手机100根据手机100获取的当前场景信息预测的,用户接下来有可能需要使用的多个NFC应用。手机100向用户提醒即将使用的多个NFC应用以及多个NFC应用的适应顺序,以便用户可以对手机100的预测结果做出反馈,便于手机100可以准确验证手机100靠近的NFC设备。It can be understood that the NFC application group indicated by the first indication information is predicted by the mobile phone 100 according to the current scene information obtained by the mobile phone 100, and the user may need to use multiple NFC applications next. The mobile phone 100 reminds the user of the multiple NFC applications to be used and the adaptation sequence of the multiple NFC applications, so that the user can give feedback on the prediction result of the mobile phone 100, so that the mobile phone 100 can accurately verify the NFC device close to the mobile phone 100.
可选的,在本申请实施例中,若手机100调用了“支付卡”应用或者“交通卡”应用 等关联用户银行卡或虚拟钱包的NFC应用,则手机100还可以在调用完“支付卡”应用或者“交通卡”应用等NFC应用之后,提醒用户本次刷卡的扣款情况。示例性的,手机100可以在可下拉通知栏中提醒用户,也可以弹窗提醒用户等。Optionally, in this embodiment of the application, if the mobile phone 100 calls the "payment card" application or the "transport card" application and other NFC applications associated with the user's bank card or virtual wallet, the mobile phone 100 can also call the "payment card" application. After the NFC application such as "application" or "transportation card" application, remind the user of the deduction of this card swiping. Exemplarily, the mobile phone 100 may remind the user in a pull-down notification bar, or a pop-up window to remind the user.
可以理解,本申请提供的NFC应用的调用方法中,电子设备通过提醒用户该电子设备预测的即将要调用的多个NFC应用以及各个NFC应用的使用顺序,以及提供用于用户反馈该预测结果准确性的选项,更加有利于电子设备对收到的NFC应用调用请求的响应的准确度,为用户提供更加便捷的NFC应用使用体验。It can be understood that in the method for invoking the NFC application provided in this application, the electronic device reminds the user of the multiple NFC applications that the electronic device predicts to be invoked and the order of use of each NFC application, and provides the user to feedback that the prediction result is accurate. The sexual option is more conducive to the accuracy of the response of the electronic device to the received NFC application call request, and provides users with a more convenient NFC application experience.
应理解,本申请实施例的各个方案可以进行合理的组合使用,并且实施例中出现的各个术语的解释或说明可以在各个实施例中互相参考或解释,对此不作限定。It should be understood that the various solutions of the embodiments of the present application can be used in a reasonable combination, and the explanations or descriptions of various terms appearing in the embodiments can be referred to or explained in the various embodiments, which is not limited.
还应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should also be understood that, in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not be implemented in this application. The implementation process of the example constitutes any limitation.
可以理解的是,电子设备为了实现上述任一个实施例的功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the function of any one of the foregoing embodiments, the electronic device includes a hardware structure and/or software module corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into functional modules. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
比如,以采用集成的方式划分各个功能模块的情况下,如图9所示,为本申请实施例提供的一种电子设备的结构框图。该电子设备可以包括信息获取单元910、处理单元920和NFC调用单元930。For example, in the case of dividing various functional modules in an integrated manner, as shown in FIG. 9, a structural block diagram of an electronic device provided in an embodiment of this application. The electronic device may include an information acquiring unit 910, a processing unit 920, and an NFC calling unit 930.
其中,信息获取单元910用于支持电子设备执行上述步骤S301,和/或用于执行本文所描述的技术的其他过程。处理单元920用于支持电子设备执行上述步骤S302,和/或用于执行本文所描述的技术的其他过程。NFC调用单元930用于支持电子设备执行上述步骤S303、S501、S502、S503-1、S503-2、S504、S503-3或S503-4,和/或用于执行本文所描述的技术的其他过程。Wherein, the information obtaining unit 910 is used to support the electronic device to perform the above step S301, and/or used to perform other processes of the technology described herein. The processing unit 920 is used to support the electronic device to perform the above step S302, and/or used to perform other processes of the technology described herein. The NFC calling unit 930 is used to support the electronic device to perform the above steps S303, S501, S502, S503-1, S503-2, S504, S503-3 or S503-4, and/or other processes for performing the technology described herein .
进一步的,如图9所示,电子设备还可以包括存储单元940,用于预先存储多个NFC应用组,和/或用于存储本文所描述的技术的其他信息。Further, as shown in FIG. 9, the electronic device may further include a storage unit 940 for pre-storing multiple NFC application groups and/or for storing other information of the technology described herein.
在一种可能的结构中,如图10所示,电子设备还可以包括显示单元950,用于支持电子设备执行上述步骤S304或S305,或者显示第二界面,和/或显示用于本文所描述的技术的其他信息。In a possible structure, as shown in FIG. 10, the electronic device may further include a display unit 950, which is used to support the electronic device to perform the above steps S304 or S305, or display the second interface, and/or display the Other information about the technology.
需要说明的是,上述电子设备还可以包括射频电路。具体的,电子设备可以通过射频电路进行无线信号的接收和发送。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路还可以通过无 线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。It should be noted that the above electronic device may also include a radio frequency circuit. Specifically, the electronic device can receive and send wireless signals through a radio frequency circuit. Generally, the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuit can also communicate with other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, Email, Short Message Service, etc.
应理解,根据本申请实施例的电子设备可对应于前述方法实施例中的方法,比如,图3、图5A或图5B中的方法,并且电子设备中的各个模块的上述和其它管理操作和/或功能分别为了实现前述方法实施例中的方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。It should be understood that the electronic device according to the embodiment of the present application may correspond to the method in the foregoing method embodiment, for example, the method in FIG. 3, FIG. 5A, or FIG. /Or the functions are respectively to implement the corresponding steps of the method in the foregoing method embodiment, so the beneficial effects in the foregoing method embodiment can also be achieved, and for the sake of brevity, details are not described here.
还应理解,电子设备中的各个模块可以通过软件和/或硬件形式实现,对此不作具体限定。换言之,电子设备是以功能模块的形式来呈现。这里的“模块”可以指特定应用集成电路ASIC、电路、执行一个或多个软件或固件程序的处理器和存储器、集成逻辑电路,和/或其他可以提供上述功能的器件。It should also be understood that each module in the electronic device can be implemented in the form of software and/or hardware, which is not specifically limited. In other words, the electronic device is presented in the form of functional modules. The "module" herein may refer to application-specific integrated circuits ASIC, circuits, processors and memories that execute one or more software or firmware programs, integrated logic circuits, and/or other devices that can provide the above-mentioned functions.
在一种可选的方式中,当使用软件实现数据传输时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地实现本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In an optional manner, when software is used to implement data transmission, it may be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are realized. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
结合本申请实施例所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于探测装置中。当然,处理器和存储介质也可以作为分立组件存在于探测装置中。The steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the detection device. Of course, the processor and the storage medium may also exist as discrete components in the detection device.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在一种可选的方式中,本申请提供一种芯片系统,该芯片系统包括处理器、存储器,存储器中存储有指令;当指令被处理器执行时,实现本申请提供的任一种可能的实现方式中的NFC应用的调用方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In an optional manner, the present application provides a chip system, the chip system includes a processor, a memory, and instructions are stored in the memory; when the instructions are executed by the processor, any one of the possible The calling method of the NFC application in the implementation mode. The chip system can be composed of chips, or it can include chips and other discrete devices.
在本申请所提供的几个实施例中,应该理解到,所揭露的用户设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed user equipment and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate parts may or may not be physically separate. The parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application shall be covered by the protection scope of this application. . Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (26)

  1. 一种近场通信NFC应用的调用方法,其特征在于,应用于电子设备,所述电子设备中包括多个NFC应用,所述方法包括:A method for invoking a near field communication NFC application, characterized in that it is applied to an electronic device, and the electronic device includes a plurality of NFC applications, and the method includes:
    所述电子设备获取所述电子设备的当前场景信息;所述当前场景信息包括地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项,所述运动信息用于指示所述电子设备的运动状态,所述使用信息用于指示所述电子设备在所述时间信息指示的时间之前的预设时间范围内使用NFC应用的信息;The electronic device obtains current scene information of the electronic device; the current scene information includes one or more of geographic location information, time information, weather information, sports information, or usage information, and the sports information is used to indicate The motion state of the electronic device, and the usage information is used to indicate that the electronic device uses the NFC application information within a preset time range before the time indicated by the time information;
    所述电子设备根据当前场景信息确定第一NFC应用组及其使用顺序;所述第一NFC应用组中包括n个NFC应用,其中,n≥2,且为正整数;The electronic device determines a first NFC application group and its order of use according to current scene information; the first NFC application group includes n NFC applications, where n≥2 and is a positive integer;
    所述电子设备按照所述第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。The electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the use order of the first NFC application group.
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,包括:The method according to claim 1, wherein the electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, comprising:
    所述电子设备激活所述第一NFC应用组中的第i个NFC应用,其中,i为正整数,且i<n;The electronic device activates the i-th NFC application in the first NFC application group, where i is a positive integer and i<n;
    所述电子设备在靠近NFC设备时,验证所述第i个NFC应用;Verifying the i-th NFC application when the electronic device is close to the NFC device;
    所述电子设备在所述第i个NFC应用被验证通过后,激活第i+1个NFC应用。The electronic device activates the (i+1)th NFC application after the verification of the i-th NFC application is passed.
  3. 根据权利要求2所述的方法,其特征在于,所述第i个NFC应用是所述第一NFC应用组中、所述第一NFC应用组的使用场景信息对应的使用场景下,将第i个被调用的NFC应用;所述第i+1个NFC应用是所述第一NFC应用组中、所述第一NFC应用组的使用场景信息对应的使用场景下,将第i+1个被调用的NFC应用;The method according to claim 2, wherein the i-th NFC application is in the first NFC application group and in the usage scenario corresponding to the usage scenario information of the first NFC application group, the i-th NFC application is NFC applications to be called; the (i+1)th NFC application is in the first NFC application group and in the usage scenario corresponding to the usage scenario information of the first NFC application group, the (i+1)th NFC application is NFC application called;
    其中,所述使用场景信息与所述当前场景信息匹配,所述使用场景信息包括所述第一组NFC应用被调用时,所述电子设备的地理位置信息、时间信息、天气信息、运动信息、操作信息中的一项或多项。Wherein, the usage scene information matches the current scene information, and the usage scene information includes geographic location information, time information, weather information, sports information, and One or more items in the operation information.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,在所述电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用之前,所述方法还包括:The method according to any one of claims 1 to 3, characterized in that, before the electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the use order of the first NFC application group, all The method also includes:
    所述电子设备显示第一界面,所述第一界面用于用户确认是否使用所述第一NFC应用组;The electronic device displays a first interface, and the first interface is used by the user to confirm whether to use the first NFC application group;
    所述电子设备接收用户在所述第一界面上确定使用所述第一NFC应用组的操作;Receiving, by the electronic device, a user's operation on the first interface to determine to use the first NFC application group;
    其中,所述电子设备按照第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,包括:Wherein, the electronic device sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, including:
    响应于用户在所述第一界面上确定使用所述第一NFC应用组的操作,所述电子设备按照所述第一NFC应用组的使用顺序,依次激活和调用所述第一NFC应用组中的NFC应用。In response to the user's operation of determining to use the first NFC application group on the first interface, the electronic device sequentially activates and calls the first NFC application group in the order in which the first NFC application group is used NFC application.
  5. 根据权利要求4所述的方法,其特征在于,所述第一界面还用于提醒用户所述第一NFC应用组中的所述n个NFC应用的使用顺序。The method according to claim 4, wherein the first interface is further used to remind the user of the use order of the n NFC applications in the first NFC application group.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述电子设备中预先保存有多个NFC应用组,每个NFC应用组中包括多个NFC应用;The method according to any one of claims 1-5, wherein a plurality of NFC application groups are pre-stored in the electronic device, and each NFC application group includes a plurality of NFC applications;
    所述电子设备根据当前场景信息确定第一NFC应用组,包括:The electronic device determining the first NFC application group according to the current scene information includes:
    所述电子设备根据当前场景信息从所述电子设备中预先保存的多个NFC应用组中,确定所述第一NFC应用组;The electronic device determines the first NFC application group from a plurality of NFC application groups pre-saved in the electronic device according to the current scene information;
    其中,所述第一NFC应用组是所述多个NFC应用组中,使用场景信息与所述当前场景信息匹配度最高的NFC应用组。Wherein, the first NFC application group is the NFC application group with the highest matching degree between the usage scene information and the current scene information among the multiple NFC application groups.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    所述电子设备根据所述电子设备在预设时间范围内使用NFC应用时的使用场景信息获取用户使用NFC应用的规律;Acquiring, by the electronic device, the rule of the user using the NFC application according to the usage scenario information when the electronic device uses the NFC application within a preset time range;
    所述电子设备根据所述用户使用NFC应用的规律确定多个NFC应用组,并预先保存在所述电子设备中;The electronic device determines a plurality of NFC application groups according to the rules of the user's use of NFC applications, and saves them in the electronic device in advance;
    和/或,and / or,
    所述电子设备接收用户自定义的多个NFC应用组,并预先保存在所述电子设备中。The electronic device receives a plurality of user-defined NFC application groups, and stores them in the electronic device in advance.
  8. 根据权利要求2-7中任一项所述的方法,其特征在于,若所述第i个NFC应用未验证通过,所述方法还包括:The method according to any one of claims 2-7, wherein if the i-th NFC application is not verified, the method further comprises:
    所述电子设备依次激活所述第一NFC应用组中除所述第i个NFC应用以外的其他NFC应用,直到所述电子设备的NFC应用被验证通过。The electronic device sequentially activates other NFC applications in the first NFC application group except the i-th NFC application until the NFC application of the electronic device is verified.
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    在所述电子设备依次激活所述第一NFC应用组中除所述第i个NFC应用以外的其他NFC应用的过程中,所述电子设备记录所述电子设备使用NFC应用时的使用场景信息;When the electronic device sequentially activates other NFC applications in the first NFC application group except the i-th NFC application, the electronic device records usage scenario information when the electronic device uses the NFC application;
    所述电子设备根据所述电子设备记录的所述电子设备使用NFC应用时的使用场景信息更新所述用户使用NFC应用的规律;The electronic device updates the rule of the user's use of the NFC application according to the usage scenario information recorded by the electronic device when the electronic device uses the NFC application;
    所述电子设备根据更新的所述用户使用NFC应用的规律更新与所述当前场景信息匹配的NFC应用组。The electronic device updates the NFC application group matching the current scene information according to the updated rule of the user using the NFC application.
  10. 根据权利要求8或9所述的方法,其特征在于,在所述电子设备依次激活所述第一NFC应用组中除所述第i个NFC应用以外的其他NFC应用,直到NFC应用被成功调用之后,所述方法还包括:The method according to claim 8 or 9, wherein the electronic device sequentially activates other NFC applications in the first NFC application group except the i-th NFC application until the NFC application is successfully invoked After that, the method further includes:
    所述电子设备按照第二NFC应用组的使用顺序,依次激活和调用第二NFC应用组中的NFC应用;所述第二NFC应用组是所述多个NFC应用组中,除所述第一NFC应用组以外,使用场景信息与所述当前场景信息匹配度最高的NFC应用组;或者,The electronic device sequentially activates and invokes the NFC applications in the second NFC application group according to the order of use of the second NFC application group; the second NFC application group is among the plurality of NFC application groups, except for the first NFC application group. In addition to the NFC application group, use the NFC application group with the highest degree of match between the scene information and the current scene information; or,
    所述电子设备显示第二界面,所述第二界面用于用户选择要切换的NFC应用组;以及,响应于用户选择第三NFC应用组的操作,所述电子设备按照所述第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。The electronic device displays a second interface for the user to select the NFC application group to be switched; and, in response to the user's operation of selecting the third NFC application group, the electronic device follows the third NFC application group The order of group usage is to activate and call the NFC applications in the third NFC application group in turn.
  11. 根据权利要求5-10中任一项所述的方法,其特征在于,所述第一NFC应用组的使用顺序包括:第一NFC应用组中的所述n个NFC应用的优先级顺序、地理顺序或使用时间顺序。The method according to any one of claims 5-10, wherein the order of use of the first NFC application group comprises: the priority order of the n NFC applications in the first NFC application group, and geographic Order or use chronological order.
  12. 一种电子设备,其特征在于,所述电子设备中包括多个NFC应用,所述电子设备包括:An electronic device, characterized in that the electronic device includes a plurality of NFC applications, and the electronic device includes:
    信息获取单元,用于获取所述电子设备的当前场景信息;所述当前场景信息包括 地理位置信息、时间信息、天气信息、运动信息或使用信息中的一项或多项,所述运动信息用于指示所述电子设备的运动状态,所述使用信息用于指示所述电子设备在所述时间信息指示的时间之前的预设时间范围内使用NFC应用的信息;The information acquiring unit is configured to acquire current scene information of the electronic device; the current scene information includes one or more of geographic location information, time information, weather information, sports information, or usage information, and the sports information is used for For indicating the movement state of the electronic device, the usage information is used to indicate that the electronic device uses the NFC application information within a preset time range before the time indicated by the time information;
    处理单元,用于根据当前场景信息确定第一NFC应用组及其使用顺序;所述第一NFC应用组中包括n个NFC应用,其中,n≥2,且为正整数;A processing unit, configured to determine a first NFC application group and its order of use according to current scene information; the first NFC application group includes n NFC applications, where n≥2 and a positive integer;
    NFC调用单元,用于按照所述第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用。The NFC calling unit is configured to activate and call the NFC applications in the first NFC application group in sequence according to the use order of the first NFC application group.
  13. 根据权利要求12所述的电子设备,其特征在于,所述NFC调用单元按照所述第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,具体包括:The electronic device according to claim 12, wherein the NFC invoking unit sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, which specifically includes:
    所述NFC调用单元激活所述第一NFC应用组中的第i个NFC应用,其中,i为正整数,且i<n;The NFC calling unit activates the i-th NFC application in the first NFC application group, where i is a positive integer and i<n;
    所述NFC调用单元在所述电子设备靠近NFC设备时,验证所述第i个NFC应用;The NFC invoking unit verifies the i-th NFC application when the electronic device is close to the NFC device;
    所述NFC调用单元在所述第i个NFC应用被验证通过后,激活第i+1个NFC应用。The NFC invoking unit activates the (i+1)th NFC application after the i-th NFC application is verified.
  14. 根据权利要求13所述的电子设备,其特征在于,所述第i个NFC应用是所述第一NFC应用组中、所述第一NFC应用组的使用场景信息对应的使用场景下,将第i个被调用的NFC应用;所述第i+1个NFC应用是所述第一NFC应用组中、所述第一NFC应用组的使用场景信息对应的使用场景下,将第i+1个被调用的NFC应用;The electronic device according to claim 13, wherein the i-th NFC application is the first NFC application group in the use scenario corresponding to the use scenario information of the first NFC application group. i called NFC applications; the i+1th NFC application is in the first NFC application group, in the usage scenario corresponding to the usage scenario information of the first NFC application group, the i+1th NFC application is The NFC application being called;
    其中,所述使用场景信息与所述当前场景信息匹配,所述使用场景信息包括所述第一组NFC应用被调用时,所述电子设备的地理位置信息、时间信息、天气信息、运动信息、操作信息中的一项或多项。Wherein, the usage scene information matches the current scene information, and the usage scene information includes geographic location information, time information, weather information, sports information, and One or more items in the operation information.
  15. 根据权利要求12-14中任一项所述的电子设备,其特征在于,所述电子设备还包括:The electronic device according to any one of claims 12-14, wherein the electronic device further comprises:
    显示单元,用于显示第一界面,所述第一界面用于用户确认是否使用所述第一NFC应用组;以及,接收用户在所述第一界面上确定使用所述第一NFC应用组的操作;The display unit is configured to display a first interface, where the first interface is used by the user to confirm whether to use the first NFC application group; operate;
    其中,所述NFC调用单元按照所述第一NFC应用组的使用顺序,依次激活和调用第一NFC应用组中的NFC应用,具体包括:Wherein, the NFC invoking unit sequentially activates and invokes the NFC applications in the first NFC application group according to the order of use of the first NFC application group, which specifically includes:
    响应于用户在所述第一界面上确定使用所述第一NFC应用组的操作,所述NFC调用单元按照所述第一NFC应用组的使用顺序,依次激活和调用所述第一NFC应用组中的NFC应用。In response to the user's operation of determining to use the first NFC application group on the first interface, the NFC invoking unit sequentially activates and invokes the first NFC application group in the order in which the first NFC application group is used NFC application in.
  16. 根据权利要求15所述的电子设备,其特征在于,所述第一界面还用于提醒用户所述第一NFC应用组中的所述n个NFC应用的使用顺序。The electronic device according to claim 15, wherein the first interface is further used to remind a user of the order of use of the n NFC applications in the first NFC application group.
  17. 根据权利要求12-16中任一项所述的电子设备,其特征在于,所述电子设备还包括:存储单元,用于预先保存多个NFC应用组,每个NFC应用组中包括多个NFC应用;The electronic device according to any one of claims 12-16, wherein the electronic device further comprises: a storage unit configured to pre-store a plurality of NFC application groups, and each NFC application group includes a plurality of NFC applications. application;
    其中,所述处理单元根据当前场景信息确定第一NFC应用组及其使用顺序,具体包括:Wherein, the processing unit determines the first NFC application group and its use order according to the current scene information, which specifically includes:
    所述处理单元根据当前场景信息从所述存储单元中预先保存的多个NFC应用组 中,确定所述第一NFC应用组;The processing unit determines the first NFC application group from a plurality of NFC application groups pre-saved in the storage unit according to the current scene information;
    其中,所述第一NFC应用组是所述多个NFC应用组中,使用场景信息与所述当前场景信息匹配度最高的NFC应用组。Wherein, the first NFC application group is the NFC application group with the highest matching degree between the usage scene information and the current scene information among the multiple NFC application groups.
  18. 根据权利要求17所述的电子设备,其特征在于,所述处理单元还用于,根据所述电子设备在预设时间范围内使用NFC应用时的使用场景信息获取用户使用NFC应用的规律;以及根据所述用户使用NFC应用的规律确定多个NFC应用组,并预先保存在所述存储单元中;或者,The electronic device according to claim 17, wherein the processing unit is further configured to obtain the rule of the user using the NFC application according to the usage scenario information when the electronic device uses the NFC application within a preset time range; and Determine multiple NFC application groups according to the rule of the user using NFC applications, and save them in the storage unit in advance; or,
    接收用户自定义的多个NFC应用组,并预先保存在所述存储单元中。Multiple NFC application groups customized by the user are received and stored in the storage unit in advance.
  19. 根据权利要求12-18中任一项所述的电子设备,其特征在于,若所述第i个NFC应用未验证通过,所述NFC调用单元还用于,依次激活所述第一NFC应用组中除所述第i个NFC应用以外的其他NFC应用,直到所述电子设备的NFC应用被验证通过。The electronic device according to any one of claims 12-18, wherein if the i-th NFC application is not verified, the NFC invoking unit is further configured to activate the first NFC application group in sequence NFC applications other than the i-th NFC application in the NFC application until the NFC application of the electronic device is verified.
  20. 根据权利要求19所述的电子设备,其特征在于,所述存储单元还用于,在所述NFC调用单元依次激活所述第一NFC应用组中除所述第i个NFC应用以外的其他NFC应用的过程中,记录使用场景信息;The electronic device according to claim 19, wherein the storage unit is further configured to sequentially activate other NFC applications in the first NFC application group except the i-th NFC application in the NFC calling unit During the application process, record the usage scenario information;
    所述处理单元还用于,根据更新的所述用户使用NFC应用的规律更新与所述当前场景信息匹配的NFC应用组。The processing unit is further configured to update the NFC application group matching the current scene information according to the updated rule of the user using the NFC application.
  21. 根据权利要求19或20所述的电子设备,其特征在于,在所述NFC调用单元依次激活所述第一NFC应用组中除所述第i个NFC应用以外的其他NFC应用,直到NFC应用被成功调用之后,所述NFC调用单元还用于,按照第二NFC应用组的使用顺序,依次激活和调用第二NFC应用组中的NFC应用;所述第二NFC应用组是所述多个NFC应用组中,除所述第一NFC应用组以外,使用场景信息与所述当前场景信息匹配度最高的NFC应用组;The electronic device according to claim 19 or 20, wherein the NFC invoking unit sequentially activates other NFC applications in the first NFC application group except the i-th NFC application until the NFC application is After the successful call, the NFC calling unit is further used to activate and call the NFC applications in the second NFC application group in sequence according to the use order of the second NFC application group; the second NFC application group is the plurality of NFC applications Among the application groups, except for the first NFC application group, use the NFC application group with the highest degree of match between the use scene information and the current scene information;
    或者,or,
    所述显示单元还用于,显示第二界面,所述第二界面用于用户选择要切换的NFC应用组;以及,所述NFC调用单元还用于,响应于用户选择第三NFC应用组的操作,按照所述第三NFC应用组的使用顺序,依次激活和调用第三NFC应用组中的NFC应用。The display unit is further configured to display a second interface for the user to select the NFC application group to be switched; and the NFC invocation unit is also configured to respond to the user's selection of the third NFC application group Operation, according to the use order of the third NFC application group, sequentially activate and call the NFC applications in the third NFC application group.
  22. 根据权利要求16-21中任一项所述的电子设备,其特征在于,所述第一NFC应用组的使用顺序包括:第一NFC应用组中的所述n个NFC应用的优先级顺序、地理顺序或使用时间顺序。The electronic device according to any one of claims 16-21, wherein the order of use of the first NFC application group comprises: the priority order of the n NFC applications in the first NFC application group, Geographic order or use chronological order.
  23. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, characterized in that, the electronic device includes:
    存储器,用于存储计算机程序代码,所述计算机程序代码包括指令;The memory is used to store computer program code, where the computer program code includes instructions;
    射频电路,用于进行无线信号的发送和接收;Radio frequency circuit, used for sending and receiving wireless signals;
    处理器,用于执行所述指令,使得所述电子设备执行如权利要求1-11中任一项所述的近场通信NFC应用的调用方法。The processor is configured to execute the instruction, so that the electronic device executes the method for invoking a near field communication NFC application according to any one of claims 1-11.
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机执行指令,所述计算机执行指令被处理电路执行时实现如权利要求1-11中任一项所述的近场通信NFC应用的调用方法。A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processing circuit, the computer-readable Calling method of NFC application of near field communication.
  25. 一种芯片系统,其特征在于,所述芯片系统包括处理电路、存储介质,所述存储介质中存储有指令;所述指令被所述处理电路执行时,实现如权利要求1-11中任一项所述的近场通信NFC应用的调用方法。A chip system, characterized in that the chip system includes a processing circuit and a storage medium, and instructions are stored in the storage medium; when the instructions are executed by the processing circuit, the implementation is as in any one of claims 1-11. The method for invoking the NFC application of Near Field Communication described in the item.
  26. 一种计算机程序产品,其特征在于,所述计算机程序产品包括程序指令,所述程序指令被执行时,以实现如权利要求1-11中任一项所述的近场通信NFC应用的调用方法。A computer program product, characterized in that the computer program product includes program instructions, when the program instructions are executed, to implement the method for invoking a near field communication NFC application according to any one of claims 1-11 .
PCT/CN2021/078545 2020-03-04 2021-03-01 Method for invoking nfc applications, electronic device, and nfc apparatus WO2021175198A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21764845.0A EP4096256A4 (en) 2020-03-04 2021-03-01 Method for invoking nfc applications, electronic device, and nfc apparatus
US17/909,132 US20230098616A1 (en) 2020-03-04 2021-03-01 Method for Invoking NFC Application, Electronic Device, and NFC Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010143986.3 2020-03-04
CN202010143986.3A CN113364490B (en) 2020-03-04 2020-03-04 NFC application calling method, electronic equipment and NFC device

Publications (1)

Publication Number Publication Date
WO2021175198A1 true WO2021175198A1 (en) 2021-09-10

Family

ID=77523514

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078545 WO2021175198A1 (en) 2020-03-04 2021-03-01 Method for invoking nfc applications, electronic device, and nfc apparatus

Country Status (4)

Country Link
US (1) US20230098616A1 (en)
EP (1) EP4096256A4 (en)
CN (2) CN115361040A (en)
WO (1) WO2021175198A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113692066A (en) * 2021-09-17 2021-11-23 中国联合网络通信集团有限公司 Short-distance communication equipment connection method and device and terminal
CN114257679A (en) * 2021-12-20 2022-03-29 珠海格力电器股份有限公司 Function display method and device, storage medium and electronic device
CN114745469A (en) * 2022-04-08 2022-07-12 润芯微科技(江苏)有限公司 Method and system for automatically switching NFC analog cards according to positioning scene
CN116402075A (en) * 2023-04-03 2023-07-07 众虎物联网(广州)有限公司 Medical data acquisition method and system based on Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463254A (en) * 2013-09-12 2015-03-25 中国电信股份有限公司 Electronic card account number management apparatus and method, and safe digital card
CN104881805A (en) * 2015-05-27 2015-09-02 丰唐物联技术(深圳)有限公司 Rapid shopping method and apparatus
CN105721670A (en) * 2016-01-15 2016-06-29 广东小天才科技有限公司 Method and device for automatically activating NFC operation function
US10219135B1 (en) * 2017-03-17 2019-02-26 American Megatrends, Inc. Near field communication (NFC) enhanced computing systems
CN110673896A (en) * 2019-09-29 2020-01-10 北京小米移动软件有限公司 Near field communication card activation method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9654905B2 (en) * 2015-04-07 2017-05-16 International Business Machines Corporation Enabling near field communications using indicators
US20210067201A1 (en) * 2017-12-29 2021-03-04 Huawei Technologies Co., Ltd. Emulated Card Selection Method and Mobile Device
CN109547987A (en) * 2018-11-21 2019-03-29 北京小米支付技术有限公司 The call method and device of nfc card
CN109919600A (en) * 2019-03-04 2019-06-21 出门问问信息科技有限公司 A kind of virtual card call method, device, equipment and storage medium
CN110035180B (en) * 2019-04-11 2022-01-28 Oppo广东移动通信有限公司 Card display method, device, terminal and storage medium
CN110381443B (en) * 2019-09-05 2022-04-22 北京小米移动软件有限公司 Near field communication card activation method and device
CN110795949A (en) * 2019-09-25 2020-02-14 维沃移动通信(杭州)有限公司 Card swiping method and device, electronic equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463254A (en) * 2013-09-12 2015-03-25 中国电信股份有限公司 Electronic card account number management apparatus and method, and safe digital card
CN104881805A (en) * 2015-05-27 2015-09-02 丰唐物联技术(深圳)有限公司 Rapid shopping method and apparatus
CN105721670A (en) * 2016-01-15 2016-06-29 广东小天才科技有限公司 Method and device for automatically activating NFC operation function
US10219135B1 (en) * 2017-03-17 2019-02-26 American Megatrends, Inc. Near field communication (NFC) enhanced computing systems
CN110673896A (en) * 2019-09-29 2020-01-10 北京小米移动软件有限公司 Near field communication card activation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4096256A4

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113692066A (en) * 2021-09-17 2021-11-23 中国联合网络通信集团有限公司 Short-distance communication equipment connection method and device and terminal
CN114257679A (en) * 2021-12-20 2022-03-29 珠海格力电器股份有限公司 Function display method and device, storage medium and electronic device
CN114745469A (en) * 2022-04-08 2022-07-12 润芯微科技(江苏)有限公司 Method and system for automatically switching NFC analog cards according to positioning scene
CN116402075A (en) * 2023-04-03 2023-07-07 众虎物联网(广州)有限公司 Medical data acquisition method and system based on Internet of things
CN116402075B (en) * 2023-04-03 2023-12-12 众虎物联网(广州)有限公司 Medical data acquisition method and system based on Internet of things

Also Published As

Publication number Publication date
CN115361040A (en) 2022-11-18
CN113364490B (en) 2022-07-29
CN113364490A (en) 2021-09-07
EP4096256A1 (en) 2022-11-30
US20230098616A1 (en) 2023-03-30
EP4096256A4 (en) 2023-06-21

Similar Documents

Publication Publication Date Title
WO2021175198A1 (en) Method for invoking nfc applications, electronic device, and nfc apparatus
CN108604342B (en) NFC-based data transmission method and mobile device
WO2019134591A1 (en) Electronic transaction method and terminal
WO2019133838A1 (en) Traffic detection method, device, and system
KR102186547B1 (en) Communication Method and Apparatus Supporting Selective Communication Services
CN105284163A (en) Reduced power location determinations for detecting geo-fences
US9081986B2 (en) Method and apparatus for user information exchange
US20150120180A1 (en) Method and apparatus for providing location based service
CN107657007B (en) Information pushing method, device, terminal, readable storage medium and system
EP3128771A1 (en) Electronic device and method for providing service in the electronic device
KR20160009378A (en) Beacon process method of electronic apparatus and electronic apparatus thereof
EP3333790A1 (en) Automatic context-based selection from a digital wallet
KR20220136306A (en) Method for estimating of terminal position in building, apparatus and system for the same
KR20180063538A (en) Method for providing point of interest and electronic device supporting the same
CN110622528B (en) Information recommendation method and device
KR102230583B1 (en) Method for providing location based service, electronic apparatus, server and storage medium
WO2021072775A1 (en) Method and apparatus for terminal payment, terminal device and computer-readable storage medium
US20150161592A1 (en) Method for payment using membership card and electronic device thereof
KR102514593B1 (en) Method and Apparatus for Building RF Fingerprint
JP5522875B1 (en) Information processing method, portable device, and information processing program
US20140258112A1 (en) Method and apparatus for performing electronic transactions
JP2017528841A (en) Method, apparatus and system for displaying usage history
KR20210067784A (en) Electronic device for providing geo-fencing service and method thereof
KR102533853B1 (en) System for processing offline payment, method of processing offline payment based on check-in using two-step location determination and apparatus for the same
US20230098627A1 (en) Techniques for secure data transmission using user and secondary devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21764845

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021764845

Country of ref document: EP

Effective date: 20220825

NENP Non-entry into the national phase

Ref country code: DE