WO2018133178A1 - Nfc-based data transmission method and mobile device - Google Patents

Nfc-based data transmission method and mobile device Download PDF

Info

Publication number
WO2018133178A1
WO2018133178A1 PCT/CN2017/075632 CN2017075632W WO2018133178A1 WO 2018133178 A1 WO2018133178 A1 WO 2018133178A1 CN 2017075632 W CN2017075632 W CN 2017075632W WO 2018133178 A1 WO2018133178 A1 WO 2018133178A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile device
nfc
card
payment
analog card
Prior art date
Application number
PCT/CN2017/075632
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 CN201780010526.XA priority Critical patent/CN108604342B/en
Publication of WO2018133178A1 publication Critical patent/WO2018133178A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/326Payment applications installed on the mobile devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4015Transaction verification using location information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/321Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wearable devices

Definitions

  • the present invention relates to the field of data processing, and in particular, to a method and a mobile device for data transmission based on NFC.
  • NFC Near Field Communication
  • P2P point-to-point
  • P2P point-to-point
  • the NFC mobile device is used as a contactless card reader. For example, read relevant information from the NFC tag of a poster or exhibition.
  • NFC mobile devices with read and write capabilities can collect data from NFC tags and then process the data. Typical scenarios based on this model include electronic advertisement reading and ticket sales, cinema ticket sales, and the like. For example, if an NFC tag is attached to a movie poster, the user can use the NFC-enabled mobile device to get close to the movie poster to obtain the movie details, or immediately use the credit card to purchase the movie ticket online.
  • the card reader mode can also be used for simple data acquisition, such as bus station site information, park maps and other information.
  • NFC mobile devices In point-to-point mode, two NFC mobile devices establish a connection to achieve point-to-point data transmission. Based on this mode, multiple NFC-enabled digital cameras, tablets, and mobile phones can be wirelessly interconnected for data exchange. Typical application scenarios based on this mode include quickly establishing a Bluetooth connection, exchanging contact business cards, and the like.
  • the NFC card reader In the card emulation mode, the NFC card reader is an active device that generates an NFC radio field, and the NFC mobile device is a passive device, simulating an NFC-compliant contactless RF card to perform data interaction with the NFC card reader. Mainly used in non-contact mobile payment scenarios such as shops and transportation.
  • a contactless payment service can be performed using an NFC mobile device. Typical scenarios based on this model include local payments, access control, and the like.
  • the current NFC mobile device can simultaneously support three types of analog cards, and the analog card refers to a radio frequency card that the mobile device simulates through NFC hardware. These three types of analog cards are bank cards, bus cards, and access cards.
  • An NFC mobile device can support the above three types of analog cards at the same time. However, only one of the cards can be selected as the currently used analog card at a time.
  • the user manually selects a card, the user needs to judge the card to be selected according to the scenario in which the NFC analog card is used, and the operation procedure performed in the mobile device is very cumbersome, which seriously reduces the intelligence of the mobile device and the user. Pay Mutual capabilities also make mobile devices less efficient.
  • the embodiment of the present application provides a method for data transmission based on NFC and a mobile device, so that the mobile device can automatically select an analog card between different analog cards based on different scenarios when the user uses the NFC analog card.
  • the intelligent interaction ability between the mobile device and the user is greatly improved.
  • an embodiment of the present application provides a method for data transmission based on NFC, where the method is implemented on a mobile device with an NFC function, the method includes: the mobile device receives a touch operation of a user, and the touch operation may be Performing on the touch screen; the mobile device opens an application related to the NFC payment based on the touch operation; displaying a graphical user interface of the application on the mobile device; and acquiring, by the mobile device, context information related to the environment in which the mobile device is located
  • the context information includes a geographical location, a time, and specific context information of the mobile device, and the specific context information may include at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, a mobile device a motion state in which the mobile device determines an analog card for performing NFC payment based on the scenario information; the mobile device prompts the determined analog card to the user; and after receiving the confirmation operation of the user, the mobile device selects the analog card
  • the mobile device performs NFC
  • the method may further include: the mobile device receiving and storing NFC payment information, where the NFC payment information includes a payment place and a payment time when the NFC is paid. And the payment amount; and the specific scenario information further includes the NFC payment information, so that the mobile device can determine the analog card for performing the NFC payment based on the geographical location, the time, the Wi-Fi hotspot broadcast message, and the NFC payment information.
  • the mobile device can be made to more accurately determine the required NFC analog card.
  • At least two different types of analog cards are displayed in the graphical user interface of the application; when the mobile device displays the determined analog card to the user, the determined analog card can be enlarged. Display, other analog cards are displayed in a reduced size. In this way, the determined analog card can be highlighted to better prompt the user.
  • the mobile device may allow the user to further perform biometric information (such as a fingerprint). Or iris) verification, after the user biometric information verification is passed, the mobile device performs NFC payment based on the selected analog card.
  • biometric information such as a fingerprint
  • iris iris
  • the embodiment of the present application provides a method for data transmission based on NFC, where the method is implemented on a mobile device with an NFC function, and the method may include: when the mobile device senses an NFC radio frequency field, acquiring The context information related to the environment in which the mobile device is located, the NFC radio frequency field is sent by the NFC card reader, and the scenario information includes at least one of a geographical location, a time, and specific scenario information of the mobile device, the specific context information.
  • the specific context information may be the product discount information sent by the Twitter friend, the discount information in the Wi-Fi hotspot broadcast message, etc.; the mobile device determines the simulation of performing the NFC payment based on the above scenario information. a card; the mobile device generates an analog card selection command based on the determined analog card; the mobile device selects a corresponding analog card according to the analog card selection instruction; the mobile device reads based on the selected analog card and NFC
  • the card holder performs NFC payment.
  • the technical solution provided by the embodiment of the present application can make the mobile device more intelligent when performing NFC payment, thereby improving the efficiency of the mobile device, reducing the operation of the user, and improving the user experience for performing NFC payment.
  • the mobile device when the mobile device senses the NFC radio frequency field, the scenario information related to the environment in which the mobile device is located is obtained, so that the mobile device can obtain high-efficiency acquisition when the scenario information is needed. It also ensures the accuracy and real-time of the acquired context information when the mobile device is ready to make NFC payment, further ensuring the convenience and security of NFC payment.
  • obtaining context information related to the environment in which the mobile device is located may also occur before the mobile device senses the NFC radio frequency field. The advantage is that the mobile device can process related context information at any time, reducing Some steps in the NFC payment.
  • the foregoing scenario information may also be acquired when receiving the NFC payment indication of the user, where the NFC payment indication may be a gesture operation performed by the user's finger on the touch screen of the mobile phone, and the gesture operation may be open.
  • An application for NFC payment for example, the NFC payment indication may also be a double tap of the mobile device's Home button.
  • the specific context information may include at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, and a motion state in which the mobile device is located. Obtaining specific context information is also for the mobile device to more accurately determine the analog card that requires NFC payment.
  • the method may further include: the mobile device receiving and storing NFC payment information, where the NFC payment information includes a payment location and a payment time when the NFC is paid. , the amount paid.
  • the specific context information further includes the NFC payment information, and therefore, the mobile device can determine to perform an NFC payment based on the geographical location, the time, the Wi-Fi hotspot broadcast message, and the NFC payment information. Analog card.
  • the mobile device when the mobile device determines the analog card based on the scenario information, the mobile device may illuminate the touch screen, and prompt the user to use the analog card under the interface of the lock screen; After confirming the operation, the mobile device selects the analog card for NFC payment when the screen is locked.
  • the mobile device lights the touch screen only when needed, thereby reducing power consumption.
  • an embodiment of the present application provides a method for data transmission based on NFC, where the method can be implemented on a smart watch and a mobile phone, and the smart watch and the mobile phone can establish a wireless link by using a short-distance communication protocol, and the method can The method includes: when the smart watch senses the NFC radio frequency field, sending a notification message to the mobile phone through the wireless link; the mobile phone acquires context information related to the environment in which the mobile phone is located, where the context information includes the geographical location, time, and At least one of the specific context information, the specific context information may refer to information related to the NFC payment; the mobile phone determines an analog card for performing NFC payment based on the context information, and sends the analog card to the smart watch through the wireless link The instruction is selected; after receiving the analog card selection command, the smart watch selects the determined analog card; the smart watch performs NFC payment based on the selected analog card.
  • the technical solution jointly implemented on the mobile phone and the smart watch greatly improves the efficiency of performing
  • the method may further include: the smart watch detecting whether the wireless link with the mobile phone is normal. If the smart watch detects that the wireless link with the phone is normal, the smart watch makes NFC payment based on the selected analog card, or if smart When the watch detects that the wireless link with the mobile phone is disconnected, the smart watch terminates the NFC payment and prompts the user. In this way, the smart watch can further determine the security of the NFC payment according to whether the NFC payment is made according to the wireless connection with the mobile phone.
  • the embodiment of the present application provides a mobile device that performs data transmission based on NFC
  • the mobile device may specifically include: a touch screen, a processor, a memory, an NFC device, a positioning device, a Bluetooth device, a Wi-Fi device, or one a plurality of sensors, wherein: the touch screen receives a user's touch operation; the processor opens an application related to the NFC payment based on the touch operation, and displays a graphical user interface of the application on the touch screen; the processor acquires The context information related to the environment in which the mobile device is located, the context information includes a geographical location, time and specific context information of the mobile device collected by the positioning device, and the specific context information includes at least one of the following messages: An instant message, a Bluetooth broadcast message received by the Bluetooth device, a Wi-Fi hotspot broadcast message received by the Wi-Fi device, a motion state of the mobile device collected by the one or more sensors; The processor determines an analog card for performing NFC payment based on the context information;
  • FIG. 1 is a schematic diagram of a network environment in which mobile devices (eg, mobile phones, smart watches, etc.) are located in some embodiments;
  • mobile devices eg, mobile phones, smart watches, etc.
  • FIG. 2 is a schematic diagram showing the hardware structure of a smart watch in some embodiments
  • FIG. 3 is a schematic diagram showing the hardware structure of a mobile phone in some embodiments.
  • FIG. 4 is a schematic structural view of an NFC device in some embodiments.
  • FIG. 5 is a schematic structural diagram of a smart watch and a mobile phone in some embodiments.
  • FIG. 6 is a flow chart of a method for data transmission based on NFC in some embodiments.
  • FIG. 7 is a schematic diagram of signaling interaction between an NFC card reader and a mobile device in some embodiments
  • Figure 8 is a schematic diagram of a network framework involved in NFC payment in some embodiments.
  • 9A-9F are schematic illustrations of graphical user interfaces for setting a default analog card on a mobile device, such as a smart watch, in some embodiments;
  • FIG. 10 is a schematic diagram of a graphical user interface displayed on a touch screen of a mobile phone in some embodiments
  • Figure 11 is a schematic illustration of a graphical user interface of an application "card package” in some embodiments.
  • FIG. 12 is a schematic illustration of another graphical user interface of an application "card package” in some embodiments.
  • Figure 13 is a schematic illustration of another graphical user interface of an application "card package” in some embodiments.
  • FIG. 14 is a schematic illustration of another graphical user interface of an application "card package” in some embodiments.
  • 15 is a schematic diagram of a graphical user interface displayed when a mobile phone is locked in a screen in some embodiments
  • 16A is a schematic diagram of a scenario server and a client network framework in a mobile device in some embodiments
  • 16B is a schematic diagram of a network framework between a scenario server, a mobile phone, and a smart watch in some embodiments;
  • 17 is a schematic diagram of an NFC payment process in some embodiments.
  • 19 is a schematic diagram of another NFC payment process in some embodiments.
  • 20 is a hardware framework diagram of a mobile device in some embodiments.
  • 21 is a schematic flow chart of setting a default analog card for NFC payment in some embodiments.
  • 22 is a schematic diagram of a framework of NFC payment in some embodiments.
  • 23A is a schematic illustration of a graphical user interface displayed on a mobile device in some embodiments.
  • 23B is a schematic illustration of another graphical user interface displayed on a mobile device in some embodiments.
  • 24 is a schematic diagram of a graphical user interface displayed on a mobile device in still other embodiments.
  • the mobile device in the following embodiments may be various mobile communication devices with NFC functions, for example, may be an NFC-enabled wearable electronic device (such as the smart watch 200 in FIG. 2), or may be the mobile phone shown in FIG. 300, which may also be a tablet computer or the like.
  • NFC-enabled wearable electronic device such as the smart watch 200 in FIG. 2
  • FIG. 300 which may also be a tablet computer or the like.
  • the following embodiments do not particularly limit the specific form of the mobile device.
  • the present embodiment provides a smart watch 200 with an NFC function, which can wirelessly communicate with the wireless communication base station 100 or with the mobile phone 300 in a wireless manner.
  • the smart watch 200 can transmit a wireless signal to the base station 100 through the wireless communication link L1 through its own radio frequency circuit and antenna, and then request the base station 100 to perform wireless network service processing on the specific service requirements of the smart watch 200; for example, a smart watch.
  • the 200 can be matched with the mobile phone 30 through its own Bluetooth. After the matching is successful, the data communication with the mobile phone through the Bluetooth communication link L2, and of course, the data communication with the mobile phone through other wireless communication methods, such as radio frequency identification technology, short-range wireless communication Technology, etc.
  • the smart watch 200 can also detect data of various environments by its own various sensors.
  • the smart watch 200 can have an NFC function, the smart watch 200 can perform NFC communication with the NFC card reader 500 (for example, a POS machine having an NFC function, etc.) via the wireless communication link L3.
  • the NFC card reader 500 for example, a POS machine having an NFC function, etc.
  • the smart watch 200 may specifically include a body and a wristband (not shown in FIG. 2) connected to each other, wherein the watch body
  • the touch screen 201, the NFC device 202, the processor 203, the micro control unit 204, the memory 205, the microphone 206, the ambient light sensor 207, the Bluetooth device 208, the positioning device 209, the heart rate sensor 210, the gravity acceleration sensor 211, and the power management system may be included.
  • 213 including power source 212
  • Wi-Fi device 214 and the like.
  • the smart watch 200 may also include an antenna, a speaker, an accelerometer, a gyroscope, and the like.
  • the touch screen 201 includes a touch panel and a display panel, and the touch panel can be overlaid on the display panel.
  • the touch panel can collect touch operations on or near the user of the smart watch 200 (such as a user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel), and according to A preset program drives the connected connection device.
  • the touch panel may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 203 is provided and can receive commands transmitted by the processor 203 and executed.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display panel (generally referred to as a display screen) can be used to display information entered by the user or information provided to the user as well as various menus of the watch.
  • the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touch panel may be overlaid on the display screen. When the touch panel detects a touch operation on or near it, the touch panel transmits to the processor 203 to determine the type of the touch event, and then the processor 203 displays the type according to the type of the touch event.
  • a corresponding visual output is provided on the screen.
  • the touch panel and the display screen are used as two separate components to implement the input and output functions of the watch, in some embodiments, the smart watch 200 can be implemented by integrating the touch panel with the display screen. Input and output functions.
  • the NFC device 202 is used to provide an NFC function to the smart watch 200, which can have three application modes, namely a card reader mode, a peer-to-peer mode, and a card emulation mode.
  • the hardware structure of the NFC device may be as shown in FIG. 4, and the NFC device 202 may include an NFC controller 401, an NFC radio frequency circuit 402, and a Secure Element 403.
  • the NFC controller 401 is respectively connected to the NFC radio frequency circuit 402 and the security unit 403, and is mainly used for modulation and demodulation of the contactless communication signal, controls input and output of data in the NFC device, and performs data interaction with the processor 203;
  • NFC The RF circuit is connected to the NFC controller to realize the transmission and reception of the 13.56 MHz RF signal, and can be composed of an EMC filter circuit, a matching circuit, a receiving circuit, and an NFC antenna.
  • the security unit 403 may include a memory, one or more processors, and the main function of the security unit is to implement secure storage of applications and data, and provide secure computing services externally.
  • the security module also communicates with external devices through the NFC controller to achieve data storage and transaction security.
  • the security unit 403 can be a tamper-resistant component in a mobile device for providing security, confidentiality, and to support various application environments.
  • the security unit 403 can exist in a variety of shapes, for example, the security unit 403 can be integrated in a Universal Integrated Circuit Card (UICC) such as a Subscriber Identity Module SIM card, an embedded security unit (on a circuit board of a mobile device), Secure Digital (SD) Card, micro SD card, etc.
  • UICC Universal Integrated Circuit Card
  • SIM Subscriber Identity Module
  • SD Secure Digital
  • security unit 403 can also include one or more applications executing in the context of security unit 403, such as in the operating system of security unit 403 and/or in the Java runtime environment running on security unit 403. Additionally, the one or more applications can include one or more payment applications that can be saved in the memory 205.
  • the security unit 403 supports application secure transaction and secure data storage, supports downloading, installing, deleting, updating, etc. of multiple applications.
  • the security unit 403 also supports secure isolation of application data. For security, the security unit may not allow different applications. Free access between; security unit 403 also Provides symmetric, asymmetric encryption algorithms and certificate capabilities for all types of payment needs, provides a program interface for secure transaction application access, and supports two-way communication with NFC controller 401 or processor 203.
  • the processor 203 is a control center of the smart watch 200, and connects various parts of the watch using various interfaces and lines, executes the watch 200 by running or executing an application stored in the memory 205, and calling data stored in the memory 205.
  • the processor 203 can include one or more processing units; the processor 203 can also integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 203.
  • the processor 203 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the micro control unit 204 is configured to control various sensors, collect data of various sensors, perform preliminary operations on the data of the sensor, and communicate with the processor 203.
  • the sensor may be an air pressure sensor, a heart rate sensor 210, a gravity acceleration sensor 211, Ambient light sensor 207 or other sensor.
  • Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like which are also configurable in the watch will not be described here.
  • the memory 205 is used to store applications and data, and the processor 203 executes various functions of the watch 200 and data processing by running applications and data stored in the memory.
  • the memory 205 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the watch.
  • the data created (such as audio data, phone book, etc.).
  • the memory may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 205 can store an operating system that enables the smart watch to operate, such as the Watch operating system developed by Apple, Android developed by Google Inc. Operating system, etc.
  • a positioning device 209 is provided for providing a geographic location to the watch 200. It can be understood that the positioning device 209 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system, or a Russian GLONASS. After receiving the geographical location transmitted by the positioning system, the positioning device 209 sends the information to the processor 203 for processing, or sends it to the memory 205 for storage. In some other embodiments, the positioning device 209 can be a receiver for assisting an Global Positioning System (AGPS).
  • the AGPS is an operation mode for performing GPS positioning with a certain assist, which can utilize the signal of the base station.
  • the GPS satellite signal can make the watch 200 locate faster; in the AGPS system, the positioning device 209 can obtain positioning assistance by communicating with an auxiliary positioning server (such as a mobile phone positioning server).
  • the AGPS system assists the positioning device 209 in performing the ranging and positioning services by acting as an auxiliary server, in which case the auxiliary positioning server communicates with the mobile device via the wireless communication network (eg, the watch 200, the positioning device 209 of the mobile phone 300 (ie, the GPS receiver) Providing location assistance in communication.
  • the location device 209 may also be a Wi-Fi access point based location technology.
  • each Wi-Fi access point has a globally unique MAC address
  • the mobile device can scan and collect the broadcast signals of the surrounding Wi-Fi access points when Wi-Fi is turned on, so that the MAC address broadcasted by the Wi-Fi access point can be obtained; the mobile device can mark these
  • the data of the Wi-Fi access point (such as the MAC address) is sent to the location server through the wireless communication network, and the location server retrieves the geographic location of each Wi-Fi access point and combines the strength of the Wi-Fi broadcast signal.
  • the geographic location of the mobile device is calculated and sent to the location device 209 of the mobile device.
  • Wi-Fi device 214 for providing Wi-Fi network access to watch 200
  • watch 200 can be accessed through Wi-Fi device 214 To the Wi-Fi access point, which helps users to send and receive e-mail, browse the web and access streaming media, it provides users with wireless broadband Internet access.
  • the Wi-Fi device 214 can also function as a Wi-Fi access point to provide Wi-Fi network access to other mobile devices.
  • the watch also includes a power source 212 (such as a battery) that supplies power to the various components.
  • the power source 212 can be logically coupled to the processor 203 via the power management system 213 to enable functions such as managing charging, discharging, and power management through the power management system 213.
  • the microphone 206 can convert the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data; Bluetooth 208, the smart watch can exchange information with other electronic devices (such as the mobile phone 300) through the Bluetooth, and through the electronic device Connect to the network, connect to the server, and handle voice recognition.
  • the mobile device in this embodiment may also be the mobile phone 300.
  • the embodiment will be specifically described below by taking the mobile phone 300 as an example. It should be understood that the illustrated mobile phone 300 is only one example of a mobile device, and the mobile phone 300 may have more or fewer components than those shown in the figures, two or more components may be combined, or Has a different component configuration.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile phone 300 includes an RF (Radio Frequency) circuit 310, a memory 320, a touch screen 330, a positioning device 340, an NFC device 202, a sensor 350, an audio circuit 360, a Wi-Fi device 370, and a processor 380. And components such as power system 390. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • RF Radio Frequency
  • the components of the mobile phone 300 will be specifically described below with reference to FIG. 3:
  • the RF circuit 310 can be used to transmit and receive information and receive and transmit signals during a call. Specifically, the RF circuit 310 receives the downlink data of the base station and then processes it to the processor 380; in addition, transmits data related to the uplink to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • RF circuitry 310 can also communicate with other devices over a wireless communication network.
  • the wireless communication network may use any communication standard or protocol including, but not limited to, global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the handset 300 can also include at least one sensor 350, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel of the touch screen 330 according to the brightness of the ambient light, and the proximity sensor may close the display panel when the mobile phone 300 moves to the ear.
  • Power supply As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 360, the speaker 361, and the microphone 362 can provide an audio interface between the user and the handset 300.
  • the audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361, and convert it into a sound signal output by the speaker 361;
  • the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and then converted into audio data, and then the audio data is output to the RF circuit 310 for transmission to, for example, another mobile phone, or the audio data is output to Memory 320 is for further processing.
  • the processor 380 is a control center of the mobile phone 300, and connects various parts of the mobile phone using various interfaces and lines, and executes each of the mobile phones 300 by running or executing an application stored in the memory 320 and calling data stored in the memory 320. The function and processing of data to monitor the phone as a whole.
  • processor 380 can include one or more processing units; processor 380 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, and the like The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
  • the handset 300 also includes a power system 390 (including a battery and power management chip) that powers the various components.
  • the battery can be logically coupled to the processor 380 via a power management chip to manage functions such as charging, discharging, and power consumption through the power system 390.
  • the mobile phone 300 may further include a camera, a Subscriber Identity Module (SIM) card slot, a peripheral interface (for connecting other input/output devices), and the like, and details are not described herein.
  • SIM Subscriber Identity Module
  • the functions and functions of the components of the memory 320, the touch screen 330, the positioning device 340, the NFC device 202, the Wi-Fi device 370, the Bluetooth device 381, and the like in the mobile phone 300 may be the same as those in the smart watch 200 of the above embodiment.
  • the functions and functions of the memory 205, the touch screen 201, the positioning device 209, the NFC device 202, the Wi-Fi device 214, and the Bluetooth device 208 are the same or similar, and the above components are not described too much herein.
  • the smart watch 200 can adopt the same hardware structure as the mobile phone 300, but only is different in appearance from the mobile phone 300. Therefore, in this embodiment, the smart watch 200 and the mobile phone 300 Although the names are different, their functions and functions are the same; in the following embodiments, the smart watch 200 and the mobile phone 300 can adopt the same hardware structure unless otherwise specified.
  • the security unit 403 of the NFC device 202 may also be encapsulated in a SIM card issued by a telecommunications carrier. This SIM card-based NFC payment method is welcomed by most telecom operators and is also reduced. The cost of the mobile phone manufacturer; in other embodiments, the security unit 403 can also be integrated in the processor 380 or stored separately in the memory 320, so that the security unit 403 can be independent of the mobile phone operating system and hardware, and supports encryption. Protocols to enhance access control, only authenticated applications can access security unit 403 and initiate NFC transactions, thus ensuring transaction security.
  • the mobile device may also have no security unit 403, but the related functions of the security unit 403 may be implemented by an application running in the mobile device or a server in the network to implement NFC payment.
  • This approach bypasses the hardware limitations of the mobile device 403.
  • This technology is called Host-based Card Emulation (HCE) technology, such as NFC payment Android developed by Google Inc. Pay uses this technical solution.
  • HCE Host-based Card Emulation
  • the security unit 403 may be disposed on the mobile phone 300, and the NFC controller 401 and the NFC radio frequency circuit 402 may be disposed on the smart watch 200.
  • the mobile phone and the smart watch establish a wireless connection through a short-distance communication technology (such as Bluetooth, Wi-Fi, etc.)
  • the mobile phone 300 can serve as a master device to control the NFC payment through the smart watch 200, and the specific control includes NFC authentication and authentication. Wait.
  • the wireless connection will be interrupted, that Whether attempting to make an NFC payment with the mobile phone 300 or attempting an NFC payment with the watch 200 will not succeed, so that NFC payment can be performed more securely on the mobile device.
  • the security unit 403 can also be disposed on the smart watch 200, and the NFC controller 401 and the NFC radio frequency circuit 402 are disposed on the handset.
  • the embodiment provides a method for data transmission by using NFC.
  • the method may be implemented in the smart watch 200 or the mobile phone 300, or may be implemented by the smart watch 200 and the mobile phone 300.
  • the method specifically includes the following steps:
  • Step 601 When the mobile device senses the NFC radio frequency field, acquire context information related to the environment where the mobile device is located, where the context information includes a geographical location, a time, and specific context information of the mobile device, where the specific context information is Refers to business information related to NFC payments.
  • the NFC RF field is generally sent by an NFC card reader, and one of 106 Kbit/s, 212 Kbit/s or 424 Kbit/s can be selected as the transmission speed to communicate with the mobile device.
  • the NFC device 202 of the mobile device can sense the RF field emitted by the NFC card reader.
  • the NFC antenna (or coil) of the mobile device 600 eg, the cell phone 300, the smart watch 200
  • the NFC card reader transmit antenna Or the load of the coil, such that the mobile device modulates the parameters of the antenna loop (such as resonance and detuning) so that the NFC reader is modulated so that the mobile device can transmit data back to the NFC reader at the same speed.
  • Data transmission from the mobile device to the NFC reader with weak energy is achieved.
  • the ability to obtain data backhaul through load modulation technology can significantly reduce mobile device power consumption and extend battery life.
  • the above scenario information refers to some specific information that the environment in which the mobile device is located reacts in the mobile device, that is, the environment in which the mobile device is located may be mapped to some information in the mobile device, where the environment in which the mobile device is located is Dataization in mobile devices. For example, if the mobile device is currently in a dark environment with very little light, then the reaction on the mobile device is information such as the ambient light intensity collected by the relevant sensor on the mobile device (such as an ambient light sensor), so that the mobile The light environment in which the device is located reacts to the mobile device.
  • the environment response is obtained by the positioning device of the mobile device on the mobile device, and then processed by the processor to obtain the geographic location of the mobile device is Beijing.
  • the context information may also be the time of the mobile device, for example, when the mobile device senses the NFC radio frequency field, the mobile device is at 8 am on Wednesday.
  • the above geographical location, time, etc. can be used as one of the consideration parameters when determining the analog card.
  • the context information may also be specific context information received by the mobile device.
  • the specific context information may refer to service information related to the NFC payment.
  • the specific context information may be that the mobile device receives the broadcast message broadcast by the Bluetooth Beacon (such as 803 in FIG. 8) through the Bluetooth, for example, the broadcast message may be : "Good news! Eat a 20% discount on NFC payments with China Merchants Bank Credit Card in Beijing from December 3rd to 4th.”
  • the mobile device can determine, according to the content in the broadcast message, that the two days on December 3 and 4 are the payment discount date of the China Merchants Bank credit card in Beijing, and then the mobile device saves the specific context information in the memory and determines NFC as a follow-up.
  • the message broadcasted by the Wi-Fi wireless access point may also include specific context information that is the same as or similar to the above message, and the mobile device may be connected to the Wi-Fi.
  • the in-point Wi-Fi link 805 receives the specific context information.
  • the specific context information may also be specific content in a message such as a short message acquired by the mobile device through the network side, an instant message of the application, or the like, and the specific content may be related to or similar to the content of the Bluetooth broadcast message, indicating that the NFC payment is related.
  • Business information such as Facebook friends sent an instant message: "On December 3, using China Merchants Bank credit card for NFC payment in Beijing can be discounted!, then the mobile device passed The instant message can obtain a specific context information related to the NFC payment.
  • the specific context information may also be the state of motion of the mobile device.
  • the mobile device collects relevant data through the various sensors mentioned in the above embodiments, and then can determine the motion state of the mobile device, such as running, walking, or stationary, based on the collected data. For example, the mobile device obtains the time at 7:30 am on Wednesday, and the acquired geographic location is at a certain bus stop.
  • the mobile device can determine an analog card of the type of the bus card; if the acquired motion state of the mobile device is walking or running, it indicates that the user only passes the bus stop, and does not want to take the bus, so the mobile The device does not have to determine which analog card to use.
  • the specific context information may also be weather information of an environment in which the mobile device is located. It can be understood that the specific context information in this application includes but is not limited to the examples cited in the above embodiments.
  • the context information related to the environment in which the mobile device is located is obtained, so that the mobile device can obtain high-efficiency information when the situation information is needed. It ensures the accuracy and real-time of the acquired situation information when the mobile device is ready to make NFC payment, which further ensures the convenience and security of NFC payment.
  • obtaining context information related to the environment in which the mobile device is located in step 601 may also occur before the mobile device senses the NFC radio frequency field, which has the advantage that the mobile device can process related scenarios at any time. Information reduces some of the operational steps in NFC payments.
  • the scenario information may also be obtained when the NFC payment indication of the user is received, and the NFC payment indication may be a gesture operation performed by the user's finger on the touch screen 330 of the mobile phone 300, and the gesture operation may be performed.
  • the application for NFC payment is opened; for example, the NFC payment indication may also be a double tap of the Home button of the mobile device.
  • the above scenario information may be stored in a memory of the mobile device for subsequent mobile device to read and process the context information, or may be displayed on the touch screen of the mobile device.
  • the context information may include at least three types: a geographical location, a time, and specific context information of the mobile device, and the context information may further include, for example, a geographic location where the mobile device is located. the weather.
  • the context information is not limited to the examples listed above.
  • Step 602 Based on the acquired context information, the mobile device determines an analog card for the NFC payment.
  • the analog card that is, the RF card simulated by the mobile device in the card emulation mode, allows the mobile device to perform contactless mobile payment through NFC technology.
  • the mobile device can obtain the following scenario information related to the device: the mobile device is in the morning at 8:00 am, then, The mobile device can determine that the analog card to be used by the mobile device is a bus card based on the above scenario information (time); for example, when the NFC device of the mobile device senses the NFC radio frequency field emitted by the NFC card reader, the mobile device can The current time to get the mobile device is 8:00 am on Wednesday and the location is in Shenzhen.
  • the mobile device determines that the NFC analog card to be used is “Shenzhen Tong” (a type in Shenzhen).
  • the NFC card used in the public transportation system of the city for example, when the mobile device receives the NFC payment instruction of the user, the mobile device acquires a geographical location in a Starbucks coffee shop in Shenzhen, and is connected via Wi-Fi.
  • the broadcast message obtained by the entry point indicates that the NFC payment with the China Merchants Bank credit card is 20% off (ie, specific context information), then the mobile device is based on The above scenario information (geographic location and specific scenario information) determines the NFC branch
  • the NFC simulation card to be used for payment is the China Merchants Bank Credit Card.
  • the mobile device when the NFC device of the mobile device senses the NFC radio frequency field emitted by the NFC card reader, the mobile device acquires the following scenario information related to the device: the current time of the mobile device is 8:00 am on Wednesday, the geographic location It is a Starbucks coffee shop in Shenzhen.
  • the broadcast message ie, specific context information
  • SSID service set identifier
  • the mobile device can simultaneously obtain the above various scene information.
  • the mobile device analyzes and determines an analog card suitable for the environment in which the mobile device is located according to the foregoing multiple context information, and then selects the analog card for NFC payment.
  • the bus card and the bank card may be separately scored based on the above scenario information.
  • the above formula (1) is a bus card score S T calculation method, wherein: K D represents the distance weight coefficient of the bus card, and D T represents the distance between the nearest bus stop and the subway station from the mobile device. If the distance is greater than 500m, it is considered that there is no bus stop nearby; the distance is less than 1 meter, calculated by 1 meter.
  • E T represents the signal strength of the bus station Wi-Fi wireless access point
  • K S represents the weight coefficient of the signal strength of the Wi-Fi wireless access point, where K S >K D .
  • InTraficTime (time) function if the input time is morning and evening peak (for example, 06:00-09:30 is the morning peak of work, 17:00-20:00 is the peak of work late), the value is 1, and vice versa.
  • K T represents the weighting factor of morning and evening peak hours.
  • the above formula (2) is a bank card score S P calculation method, where: D P represents the distance from the nearest store to the mobile device. If the distance is greater than 500m, it is considered that there is no store nearby; the distance is less than 1 meter, calculated by 1 meter. E P represents the signal strength of the store Wi-Fi access point and Bluetooth beacon. K S represents the weighting coefficient of the signal strength of the Wi-Fi wireless access point and the Bluetooth beacon.
  • the mobile device may further determine whether there is activity information of the relevant store, and if there is a related preferential activity, perform an NFC payment with the active bank card as an option. Cards; if there are multiple banks with promotions, use the bank card recommended by the store to select the card.
  • the mobile device can acquire various scenario information at an appropriate time, analyze and process the acquired various scenario information, and finally determine the analog card that needs to perform NFC payment.
  • the mobile device can be made more intelligent when performing NFC payment, thereby improving the efficiency of the mobile device, reducing the operation of the user, and improving the user experience for performing NFC payment.
  • Step 603 The mobile device generates an analog card selection instruction based on the determined analog card.
  • Step 604 The mobile device selects a corresponding analog card according to the analog card selection instruction.
  • Step 605 The mobile device performs NFC payment with the NFC card reader according to the selected analog card.
  • the mobile device may determine an NFC analog card according to the above scenario information, and generate an analog card selection command to send to the mobile device an application related to the NFC payment, and then the application according to the analog card selection instruction. Select the corresponding analog card; finally use the analog card to communicate with the NFC reader for NFC payment.
  • the mobile device can return payment-related data to the NFC reader through load modulation techniques.
  • step 603 may specifically include:
  • Step 6031 The mobile device prompts the user whether to use the determined analog card.
  • Step 6032 The mobile device determines whether an indication of the user's confirmation use is received. After receiving the indication of the user's confirmation use, step 6033 is performed, and after receiving the indication that the user's confirmation is not used, step 6034 may be performed;
  • Step 6033 Generate an analog card selection instruction, and perform step 604;
  • Step 6034 Receive the user's analog card selection instruction, and perform step 604.
  • the scenario in this embodiment is applicable to: when the mobile device determines the analog card based on the scenario information, and prompts the user to re-confirm, but receives an indication that the user does not use the confirmation, and then the user manually selects an analog card to perform the process.
  • the situation of NFC payments may also abandon (terminate) the NFC payment without selecting another analog card.
  • the mobile device can disconnect the NFC from the power supply, making it impossible to make NFC payments.
  • the user can turn on the NFC payment function by turning on the NFC switch in the setting.
  • the foregoing method for data transmission based on NFC may further include the following steps:
  • Step 606 The mobile device receives the payment response message sent by the network side; the payment response message may be a message indicating that the NFC payment is successful, and may also indicate a message that the NFC payment fails;
  • Step 607 The mobile device prompts the user based on the payment response message.
  • the mobile device When the payment response message indicates that the NFC payment is successful, the mobile device prompts the user that the NFC payment is successful based on the message; otherwise, when the payment response message indicates that the NFC payment failed. Based on the message, the mobile device prompts the user to fail the NFC payment.
  • the manner of prompting/reminding may be various, such as lighting the touch screen 330 and displaying a message of success or failure of the NFC payment in the touch screen 330 to prompt the user, or prompting the user by playing the related audio through the speaker 361, or prompting the user by vibration. You can also use the above three methods to prompt at the same time.
  • the above method steps can be performed with the touch screen power of the mobile device turned off.
  • the mobile device can also light up the screen when needed for the user to confirm.
  • FIG. 8 is a schematic diagram of a network framework involved in NFC payment in some embodiments.
  • the NFC card reader 500 receives the payment-related payment data returned by the mobile device (for example, the mobile phone 300)
  • the NFC card reader 500 performs preliminary processing on the obtained payment data, and then processes the result.
  • the server 801 is sent to the server 801 on the network side through the wireless link 804.
  • the server 801 mainly functions to perform NFC payment service distribution, authentication, and the like.
  • the server 801 sends the mobile phone 806 to the mobile phone.
  • the mobile phone 300 sends a message that the NFC payment is successful (that is, the above payment response message), and then after receiving the message that the NFC payment succeeded by the server 801, the mobile phone 300 prompts the relevant message on the mobile phone 300 to indicate that the NFC payment is successful, so that the user
  • the mobile phone 300 can send a message that the payment is successful to the smart watch 200 via the wireless link 807 (usually a Bluetooth link, etc.), and the smart watch 200 displays the message on the display 201 after receiving the message. Display A message indicating the success of the payment.
  • the server 801 can also send a message of successful mobile payment to the smart watch 200 through the wireless link without passing through the mobile phone 300.
  • the NFC card reader 500 after receiving the payment related payment data returned by the mobile device, performs preliminary encryption processing on the payment data.
  • the server 801 can be sent to the server 801 on the network side through the wireless link 804.
  • the server 801 performs authentication processing on the encrypted payment data, and can deliver the data to the NFC card reader 500 through the wireless link 804 after the authentication is passed.
  • the authentication result is, for example, a message that the NFC payment authentication passes.
  • the server 801 can also send a notification of the authentication result, that is, the mobile payment confirmation, to the mobile device (for example, the mobile phone 300) via the wireless link 806.
  • the user can also set a default analog card for NFC payment on the smart watch 200.
  • a menu option of NFC payment is displayed on the touch screen 201 of the watch 200.
  • the NFC emulation card may include various types of cards, for example, the icon 901 indicates a bank card, the icon 902 is a bus card, the icon 903 is an access card, and the icon 904 indicates that the default analog card selected by the user for the NFC payment is a bus card.
  • the icon 902 indicates a bank card
  • the icon 902 is a bus card
  • the icon 903 is an access card
  • the icon 904 indicates that the default analog card selected by the user for the NFC payment is a bus card.
  • icon 9021 is an NFC bus card named Wuhan Tong
  • icon 9022 is an NFC bus card named Shenzhen Tong
  • icon 9023 is named Yangchengtong (a type of public transportation system in Guangzhou).
  • the NFC bus card of the analog card used indicates that the geographical location of the smart watch is consistent with the geographic location (Shenzhen) used by the Shenzhen Express bus card by default.
  • the icon 905 is also It can be behind the icon 9021 (as shown in FIG. 9C), indicating that the geographic location of the smart watch is consistent with the geographic location (Wuhan) used by the Wuhan Tonggong card, and the icon 904 indicates the default bus set by the user.
  • the card is Wuhan Tong. Therefore, from FIG. 9C, the default bus card (Wuhantong) set by the user is exactly the same as the geographical location (Wuhan) where the mobile device is located, so the setting is suitable.
  • the user can give the user an intuitive feeling from the graphical user interface (hereinafter referred to as GUI), so that the mobile device can better assist the user in selecting.
  • GUI graphical user interface
  • a suitable default NFC emulation card is inconsistent with the default card for the NFC payment set by the user, and the mobile device can prompt the user through the speaker 361 "Your current setting.
  • the default NFC payment for Wuhan is inconsistent with the Shenzhen you are in, whether it will be changed to Shenzhen by default?", or as shown in Figure 9D, by prompting the prompt box 906 on the touch screen 201 to prompt the user to change the default of NFC payment.
  • the analog card when the user clicks on the icon 908, the mobile device receives the touch event of the user and determines that the user wants to change the default analog card of the currently set NFC payment, the mobile device automatically changes the default analog card to Shenzhen Tong, as shown in FIG. 9E.
  • the icon 904 and the icon 905 are respectively on the two sides of the icon 9022 "Shenzhen Tong", indicating that the set default analog card "Shenzhen Tong" is consistent with the geographical location (Shenzhen) where the mobile device is located.
  • the mobile device determines whether the default analog card manually set by the user is suitable based on the default analog card (such as a bus card) set by the user and the geographical location of the mobile device. The way the device is automatically set up can more efficiently select the default analog card for NFC payment, so that the next NFC payment can be quickly paid.
  • the GUI displayed on the touch screen 201 can display more icons downward, such as the icon 9024, in an animated form.
  • the icon 9024 (“Auto Select")
  • the mobile device can automatically set the analog card that is used by default when performing NFC payment based on various context information received by the mobile device. It can be understood that the steps in the foregoing embodiments can be performed in the scenario of automatically selecting a default analog card. This automatic setting method further improves the efficiency of NFC payment, and also makes the mobile device more intelligent and improves the user experience.
  • the mobile device can also set the priority of the analog card used in making the NFC payment. For example, the mobile device can determine that the payment priority of the bus card is the highest, the priority of the access card is second, and the priority of the bank card is the lowest according to the user's previous usage habits (for example, the frequency of use of the NFC payment).
  • the analog card that the mobile device preferentially provides to the user is a bus card.
  • the mobile device can provide the mobile device again. The user has an access card until the user accepts an analog card.
  • the mobile device can also automatically adjust the priority of the NFC payment according to the acquired various context information.
  • FIG. 10 is a GUI displayed on touch screen 330 of a mobile device (e.g., handset 300) in some embodiments.
  • the GUI displays one of three main interfaces, and the displayed main interface has icons of various applications and other controls, for example, the icon 1001 indicates an application named "card package" when the user's finger touches 1002.
  • the icon 1001 When the icon 1001 is reached, the application is opened and the GUI of the application is displayed on the touch screen.
  • Figure 11 is an exemplary GUI displayed after the application "card package" is opened.
  • various cards included in the three types of analog cards are displayed; among them, the analog cards classified in the bank card 1101 include China Merchants Bank Credit Card, Bank of China Savings Card and Citibank Credit Card, which are classified in the bus card.
  • the analog cards in 1102 include Yangchengtong, Wuhantong and Shenzhentong, and the analog cards classified in the access control card 1103 include the home access card and the company access card. It will be appreciated that other cards that utilize mobile barcodes (eg, two-dimensional codes, etc.) for mobile payments may also be included in the application.
  • mobile barcodes eg, two-dimensional codes, etc.
  • the mobile device When the mobile device receives the user's instruction to open the application, it indicates that the user needs to select an analog card for NFC payment. At this time, the mobile device can acquire context information related to the environment in which the mobile device is located. The mobile device then automatically determines the analog card to be selected based on the acquired context information. As shown in Figure 12, the mobile device can prompt the user whether to use this analog card.
  • an enlarged analog card icon 1202 is displayed on the touch screen of the mobile device, and the icon 1202 indicates that the analog card determined by the mobile device based on the acquired context information is a Merchants Bank credit card, and at the same time, in the application Other analog cards are shrunk stacked together as shown by icon 1203.
  • the prompt box 1201 indicates that the mobile device needs the user to confirm whether to use the analog card; when the user clicks on the icon 1204, it indicates that the user agrees to select the analog card automatically determined by the mobile device to perform NFC payment.
  • the prompt box 1301, 1302 can be displayed on the touch screen 330 for the user. Indicates that NFC payments are in progress, close to the NFC reader to complete the payment. As shown in FIG.
  • a prompt box 1401 may be displayed on the touch screen 330 to indicate that the NFC payment is successful, and some of the NFC payment using the analog card may also be displayed in the prompt box 1402.
  • NFC payment information such as the payment location at the time of NFC payment (in the picture, Shenzhen Starbucks Coffee Shop), payment amount, payment time, etc.
  • the mobile device may store the above basic information at the time of the last or historical NFC payment in the memory 320, and the mobile device may be based on the context information acquired in the above embodiment and the above NFC payment. Information to determine the analog card that the mobile device needs to select, in order to provide the user with an analog card more intelligently and more accurately.
  • the mobile device may acquire the above-mentioned context information related to the environment in which the mobile device is located when sensing the NFC radio frequency field; and when determining the required analog card for the NFC payment based on the scenario information.
  • the mobile device lights up the touch screen, and can prompt the user to select an automatically determined analog card under the lock screen interface.
  • the touch screen of the mobile device is illuminated.
  • the lock screen is displayed on the touch screen, and the icon 1503 indicates that the mobile device is a lock screen interface, and the lock screen is displayed.
  • the determined analog card, such as icon 1501 can also be displayed on the interface, with a prompt box 1502.
  • Prompting the user to confirm whether the NFC payment needs to be made with the determined analog card the user can press the physical button 1504 at the bottom of the mobile device, which indicates that the analog card automatically determined by the mobile device is confirmed by the user, and then moved
  • the device selects the determined analog card for NFC payment according to the confirmation of the user; after the NFC payment is completed, the NFC payment success information can be displayed on the lock screen interface; and the touch screen can be extinguished after being displayed for a predetermined time (for example, 5 seconds). .
  • the relevant payment information (such as payment place, payment time, payment amount, etc.) may not be displayed after the NFC payment is successful, and the payment needs to be displayed after the user unlocks the screen. Information, which further ensures the security of NFC payments.
  • biometric information eg, fingerprint, iris, etc.
  • the mobile device when the mobile device selects the determined analog card, the mobile device further prompts the user to perform fingerprint or iris verification to perform the next NFC payment. NFC payment can only be made after the user has verified by fingerprint or iris.
  • the mobile device can automatically select and pay for the card without lighting the screen, without any operation by the user, especially when the determined analog card is a bus card. . This simplifies the steps and improves the user experience.
  • the mobile device may also implement selection of an NFC analog card in conjunction with a server associated with the network side.
  • the NFC payment system framework is divided into two parts: a scenario server and a client installed on the mobile device, as shown in FIG. 16A.
  • the scenario server determines the current card swiping expectation of the user of the mobile device based on the scenario information related to the mobile device reported by the client.
  • the client dynamically sets the default analog card based on the analysis results of the scenario server.
  • the technical solution may include the following steps:
  • Step 1701 The mobile device acquires context information related to the mobile device.
  • the scenario information is collected mainly through the scenario intelligence module in FIG. 16A.
  • Step 1702 The mobile device sends the acquired context information to the scenario server through the wireless communication network.
  • Step 1703 The scenario server determines an NFC payment scenario of the mobile device based on the scenario information reported by the mobile device.
  • the context information is that the location of the mobile device is in a Starbucks coffee shop in Shenzhen, and the scenario server determines that the NFC payment scenario is currently consumed by the bank card; for example, the context information is that the location of the mobile device is in Shenzhen.
  • the time is 8:00 am on Wednesday, then the scenario server determines that it is currently the NFC payment scenario for the Shenzhen bus card.
  • the scenario information may include at least various types of scenario information involved in the foregoing embodiments, and the embodiment does not specifically limit the scenario information.
  • Step 1704 The scenario server generates an NFC configuration parameter according to the determined NFC payment scenario and sends the NFC configuration parameter to the mobile device.
  • the NFC configuration command is used to instruct the mobile device to configure a default analog card for performing NFC payment.
  • the current NFC payment scenario for the Shenzhen bus card is the NFC configuration parameter for configuring the default bus card to be Shenzhen Tong.
  • the NFC configuration parameters sent by the scenario server on the network side are received by the contextual intelligence application (App).
  • Step 1705 The mobile device receives the NFC configuration parameter, and configures the analog card according to the NFC configuration parameter.
  • the scenario intelligence module notifies the system setting module to set a default analog card according to the received NFC configuration parameter, and the system setting module configures various NFC payment related application programs at the application layer according to the NFC configuration parameter.
  • the default emulation card for NFC payment for the system wallet App in FIG. 16A is a Merchants Bank credit card (a bank card)
  • the default emulation card for the NFC payment of the operator's wallet App is Shenzhen Tong (a type of bus card).
  • Step 1706 The mobile device performs NFC payment with the NFC card reader according to the configured default analog card.
  • the communication between the mobile device and the scenario server is utilized, and the powerful analog data processing capability of the scenario server is used to determine the default analog card, thereby improving the processing efficiency of the mobile device and avoiding waste of resources of the mobile device.
  • step 1706 above may specifically include :
  • Step 1706-1 The mobile phone sends the foregoing NFC configuration parameter to the smart watch through the short-distance communication protocol.
  • Step 1706-2 the smart watch receives the NFC configuration parameter, and configures the analog card according to the configuration parameter
  • Step 1706-3 The smart watch performs NFC payment with the NFC card reader according to the configured analog card.
  • the network side scenario server analyzes and determines the simulation card when the NFC payment is performed based on the scenario information reported by the scenario smart app in the mobile phone, and sends the configuration parameter of the simulation card to the scenario smart App; the scenario smart application is configured according to the configuration parameter.
  • the analog card is set in the watch wallet App; the watch wallet App synchronizes the above configuration parameters to the wallet App of the smart watch through the short-distance communication protocol; the smart watch sets the analog card for NFC payment according to the synchronized configuration parameter; finally, the smart watch The RF field sent by the NFC reader is sensed, and the NFC payment process is completed through the NFC related communication protocol.
  • the above embodiment is an NFC payment completed by a smart watch, and is a very flexible and efficient NFC payment method.
  • a wireless connection such as smart watch 200 and mobile phone 300
  • a short-range communication protocol such as Bluetooth
  • the above scenario server can receive and
  • the first context information related to the environment in which the smart watch 200 is located can also receive the second context information related to the environment in which the mobile phone 300 is located.
  • the scenario server may determine the NFC default analog card to be configured based on the received first scenario information and the second context information.
  • the method provided in this embodiment may specifically include the following steps:
  • Step 1801 The smart watch acquires first scenario information related to the environment in which the smart watch is located, and sends the scenario information to the scenario server through the wireless communication network.
  • the smart watch can send the first scene information to the mobile phone through Bluetooth, and then the first scene information is forwarded to the scene server by the mobile phone; or the smart watch can be sent to the scene server through another communication manner, and It does not need to be sent to the phone first and then forwarded by the phone.
  • the first context information may include first identifier information that can uniquely identify the smart watch, for example, the first identifier information may be an international mobile of the smart watch.
  • the device identity code (IMEI) may also be a globally unique identifier (UUID) of the smart watch, or may be a Wi-Fi MAC address of the smart watch or a Bluetooth MAC address.
  • Step 1802 The mobile phone acquires second context information related to the environment in which the mobile phone is located, and sends the scenario information to the scenario server.
  • the second context information may include the second identifier information that can uniquely identify the mobile phone, for example, the second identifier information may be the IMEI of the mobile phone, or It is the UUID of the mobile phone, and it can also be the MAC address of the mobile phone's Wi-Fi or the MAC address of the Bluetooth.
  • Step 1803 The scenario server determines an NFC payment scenario of the mobile device (mobile phone or smart watch) based on the received first scenario information and the second scenario information.
  • Step 1804 The scenario server generates an NFC configuration parameter according to the determined NFC payment scenario, and sends the NFC configuration parameter. Giving a mobile phone corresponding to the first identification information or a smart watch corresponding to the second identification information; the NFC configuration instruction is used to instruct the mobile phone or the smart watch to configure a default analog card for performing NFC payment.
  • Step 1805 The mobile phone or the smart watch receives the NFC configuration parameter, and configures the default analog card according to the NFC configuration parameter.
  • the mobile phone as the master device can also determine how to configure the smart watch according to its own NFC configuration.
  • the default analog card that the mobile phone needs to configure for NFC payment is Shenzhen Tong (bus card)
  • the smart watch needs to be configured as a Merchants Bank credit card (bank card)
  • the mobile phone needs to ensure NFC payment security.
  • the NFC analog card configuration of the smart watch can be changed to Shenzhen Tong (bus card).
  • Step 1806 The mobile phone or the smart watch performs NFC payment with the NFC card reader according to the configured default analog card.
  • the scenario server simultaneously acquires scenario information of two mobile devices (the mobile phone 300 and the smart watch 200), so that the NFC analog card can be automatically configured more accurately and specifically, and the mobile device is also improved. operating efficiency.
  • first, second, etc. may be used herein to describe various contextual information, such contextual information should not be limited by these terms. These terms are only used to distinguish one contextual information from another.
  • first context information may be named as the second context information, and similarly, the second context information may also be named as the first context information without departing from the scope of the above-described embodiments.
  • Step 1901 When the smart watch senses the NFC radio frequency field, the notification message is sent to the mobile phone via Bluetooth.
  • Step 1902 After receiving the notification message, the mobile phone acquires scenario information related to the environment in which the mobile phone is located, and the scenario information includes at least one of a geographical location, a time, and specific scenario information of the smart watch.
  • the specific context information herein has the same meaning as the specific scenario information described in the above embodiments, and details are not described herein again.
  • the smart watch since the smart watch establishes a wireless link with the mobile phone through a short-range communication protocol such as Bluetooth, the mobile phone as the master device can also acquire the scene information of the smart watch as the slave device.
  • Step 1903 The mobile phone determines, according to the acquired context information related to the mobile phone, an analog card that performs NFC payment;
  • Step 1904 The mobile phone sends an analog card selection instruction to the smart watch through a short-range communication protocol such as Bluetooth;
  • Step 1905 After receiving the analog card selection instruction, the smart watch selects the determined analog card
  • Step 1906 The smart watch performs NFC payment based on the selected analog card, and can feed back a response message of the NFC payment to the mobile phone.
  • the selection of the NFC analog card can be automatically completed, and the NFC payment can be quickly performed.
  • the solution further improves the efficiency of the mobile device, and also reduces the power consumption of the smart watch 200, while also improving the user experience.
  • the method may further include:
  • Step 1907 The smart watch detects whether the wireless link with the mobile phone is normal. If the smart watch detects that the wireless link is disconnected from the mobile phone, step 1908 is performed. If the smart watch detects that the wireless link with the mobile phone is normal, Then step 1906 is performed.
  • Step 1908 The smart watch terminates the process of performing the NFC payment and prompts the user.
  • the above embodiment can further ensure the security of the NFC payment by detecting whether the wireless link (for example, Bluetooth connection) with the mobile phone is normal by the smart watch.
  • the wireless link for example, Bluetooth connection
  • step 1901, step 1902, and step 1903 may also be:
  • Step 19011 When the NFC smart watch RF induction field associated with the smart watch smart watch acquires the environment information of the scene;
  • Step 19021 the smart watch to send the acquired context information to mobile phones
  • Step 19031 phone scenarios based on information related to the acquisition of smart watch to determine an NFC payments analog cards.
  • the acquired contextual information is about the watch
  • the final NFC payment is also a smart watch, which is also a more flexible NFC payment solution.
  • the embodiment of the present application provides a mobile device that performs data transmission based on NFC.
  • the mobile device may perform the method in the foregoing embodiment, where the mobile device may specifically include: a touch screen 2001, a processor 2002, a memory 2003, an NFC device 2004, a positioning device 2005, a Bluetooth device 2006, a Wi-Fi device 2007, one or more
  • the sensors 2008 may be connected by a communication bus 2009, wherein the touch screen 2001 receives a touch operation of the user; the processor 2002 opens an application related to the NFC payment based on the touch operation, and is on the touch screen 2001.
  • the processor 2002 acquires context information related to an environment in which the mobile device is located, the context information including a geographic location, time, and specificity of the mobile device collected by the positioning device 2005 Scenario information, the specific context information including at least one of an instant message, a Bluetooth broadcast message received through the Bluetooth device 2006, a Wi-Fi hotspot broadcast message received through the Wi-Fi device 2007, by the The motion state of the mobile device collected by one or more sensors 2008; the processor 20 Determining, by the scenario information, an analog card for performing NFC payment; the processor 2002 displays the determined analog card to the user through the touch screen 2001; and after receiving the confirmation operation of the user, the processor 2002 selects the analog card; the NFC The device 2004 performs an NFC payment based on the selected analog card and the NFC card reader.
  • the memory 2003 can store payment information, such as a payment place, a payment time, a payment amount, and the like, which are received after the completion of the NFC payment.
  • a method for setting a default analog card for NFC payment is provided in this embodiment.
  • the method may be implemented in the mobile device in the foregoing embodiment.
  • the method may include the following steps:
  • Step 2101 The mobile device obtains the geographical location in which it is located.
  • Step 2102 The mobile device determines, according to the geographic location, whether a bus card corresponding to the geographic location is configured. When the mobile device determines that the mobile device is configured with a bus card corresponding to the geographic location, step 2103 is performed; when the mobile device determines that there is no bus card corresponding to the geographic location, step 2104 is performed.
  • Step 2103 The mobile device configures the bus card as a default analog card for NFC payment.
  • Step 2104 The mobile device acquires a broadcast message of the Wi-Fi wireless access point or a broadcast message sent by the Bluetooth beacon.
  • Step 2105 The mobile device determines whether it is in a consumer interest point based on the above broadcast message.
  • the mobile device can determine/determine whether the location where the mobile device is located is a consumer interest point such as a supermarket, a restaurant, etc. according to the SSID of the Wi-Fi wireless access point.
  • Step 2106 When the mobile device determines that the consumer is in a consumer category, the mobile device configures the default analog card for the NFC payment as a bank card.
  • Step 2107 When the mobile device determines that the point of interest is not in the consumer category, the mobile device determines the current time
  • Step 2108 Move to configure different default analog cards according to the current time. For example, if the current time is 8:00 in the morning, configure the default analog card as the bus card. If the current time is 10:00, configure the default analog card as the access card, or the simulation that the mobile device will use for the last NFC payment. The card acts as the default analog card.
  • the foregoing method embodiment is applicable to the following scenario: for example, if the location of the mobile device is Shenzhen, the mobile device determines whether a bus card (such as Shenzhen Tong) used in Shenzhen is configured. If the mobile device is configured with Shenzhen Tong, the analog card is configured as a default analog card for NFC payment; if the mobile device is not configured with Shenzhen Tong, the mobile device obtains a broadcast message or Bluetooth of a nearby Wi-Fi wireless access point. The broadcast message sent by the beacon, for example, the mobile device can search for a nearby Wi-Fi access point, and then automatically or through the user's selection to join the wireless access point, thereby acquiring the broadcast message of the wireless access point.
  • a bus card such as Shenzhen Tong
  • the mobile device can determine whether it is in a consumer interest point according to the above broadcast message. For example, if a mobile device establishes a Wi-Fi connection with a wireless access point whose SSID name is a Starbucks coffee shop, the mobile device can determine the point of interest in the consumer based on the SSID name (Starbucks Coffee Shop), then move The default analog card selected when the device is configured for NFC payment is a bank card. If the mobile device determines that the point of interest (ie, the geographic location) is non-consumer, the analog card used when the NFC payment was last made may be used as the default analog card, so that the NFC payment can be made next time.
  • the point of interest ie, the geographic location
  • the analog card used when the NFC payment was last made may be used as the default analog card, so that the NFC payment can be made next time.
  • the mobile device can also determine whether the geographic location is near the home or near the company, and if so, select the corresponding access card as the default simulation. card.
  • mobile device 600 can include NFC device 601, memory 602, processor 603, and the like.
  • the NFC device 601 includes an NFC controller 6011, a security unit 6012, and an NFC radio frequency circuit 6013.
  • the memory 602 of the mobile device 600 also stores an application for performing NFC payment based on the HCE technology, such as a bank flash payment App 604, based on the SIM card (inside) An embedded security unit) an application that performs NFC payment, such as the operator wallet App 605, and an application that performs NFC payment based on the full terminal, such as the system wallet App 606 and the like.
  • a SIM card 607 of the embedded security unit is housed in the SIM card slot of the mobile device, and the SIM card 607 is coupled to the NFC radio frequency circuit 6013 on the mobile device 600 via the NFC controller 6011.
  • the memory 602 may further include a contextual smart App 608 for acquiring context information related to the environment in which the mobile device 600 is located, and analyzing based on the context information to determine an analog card when the NFC payment is made.
  • the contextual smart app can receive various context information collected by, for example, the Bluetooth device 610, the positioning device 611, the Wi-Fi device 612, and the sensor 613.
  • the scenario information in this embodiment may be the same or similar meaning as the scenario information in the above embodiment.
  • the notification system setting module 609 is in the application corresponding to the analog card (eg, bank flash payment app 604, carrier wallet App 605, system wallet App). 606) configuring the analog card to perform NFC payment with the default analog card at the time of payment, and the system setting module 609 can.
  • the App determines that the NFC payment can be currently performed using the China Merchants Bank credit card, and the system setting 209 configures the analog card of the bank flash payment App 604 and simulates an analog card, and the bank flash payment App 604 can be connected with the network side.
  • Payment server 614 communicates.
  • the App can make an NFC payment with the NFC card reader 615 based on the NFC device (specifically, the NFC controller, NFC antenna) on the mobile device 600.
  • the contextual smart app determines that the bus card (Shenzhen Pass) can be used according to the above scenario information, and the bus card is in the operator wallet App, and the system setting module 609 configures the operator wallet App 605 and simulates a piece.
  • the analog card, the NFC controller 6011 communicates with the security unit embedded in the SIM card 607.
  • the operator wallet App can be based on the NFC device (specifically, the NFC controller, the NFC antenna) and the NFC card reader 615.
  • the contextual smart app determines that the NFC payment can be made using the analog card of the system wallet App, such as Apple Pay, Huawei Pay, etc. in the system wallet App; then the system setting module 609 configures the system wallet App 606 An analog card, the NFC controller 6011 communicates with the security unit 6012. After the verification is passed, the analog card in the system wallet App can perform NFC payment based on the NFC device and the NFC card reader 615.
  • the mobile device 600 can also implement the determination and selection of the NFC analog card in conjunction with the scenario server 616 on the network side.
  • the specific implementation steps are detailed in the foregoing embodiments, and details are not described herein again.
  • the mobile device 600 illustrated in FIG. 22 can also perform all of the method steps of the above-described embodiments.
  • the above scenario smart app 608 and system setup module 609 can also be integrated to perform the above functions.
  • the mobile device 600 in this embodiment may include other hardware mentioned in the foregoing embodiment, such as a camera, a subscriber identity module (SIM) card slot, in addition to the foregoing hardware and software shown in FIG. Peripheral interface, etc.
  • SIM subscriber identity module
  • the mobile device can intelligently recommend a suitable analog card such as a bank card, a bus card, etc., and the smart recommendation may be based on the geographic location of the mobile device and Specific context information related to NFC payments is determined.
  • a suitable analog card such as a bank card, a bus card, etc.
  • the smart recommendation may be based on the geographic location of the mobile device and Specific context information related to NFC payments is determined.
  • FIG. 23A for example, when the user arrives in Shenzhen from Wuhan, relevant push information is displayed on the touch screen of the mobile device, and the prompt box 2301 indicates that the mobile device 600 has set up the analog card used by the user in Shenzhen.
  • the bank card used by default in the city is the Citibank credit card shown by the icon 2302.
  • the control 2303 indicates that the user can manually replace the bank card used in the city by default.
  • the device 600 can display a plurality of bank cards to the user for the user to manually select a default bank card for NFC payment.
  • icon 2311 it indicates that the user has selected a Chinese bank deposit card (as indicated by icon 2310) as the default bank card.
  • icon 2304 indicates that the bus card used by default in the city is Shenzhen Tong
  • control 2305 indicates that the user can also manually change the bus card.
  • the mobile device 600 can display multiple bus cards to the user. The user makes a selection.
  • Icon 2306 indicates that other cards used by default in the city are Starbucks membership cards, and control 2307 indicates that the user can also manually change cards.
  • the mobile device can automatically configure the default analog card, which makes it more convenient for users to make payments.
  • the mobile device 600 can determine the particular geographic location in which it is located and then use the corresponding default analog card. For example, the user double-clicks the home button (as shown by icon 2308 in FIG. 23) to perform NFC payment, and the mobile device 600 determines that the location is at a certain bus stop, and the mobile device 600 calls the default bus card (Shenzhen Tong).
  • the mobile device 600 determines that the location is a store, the mobile device 600 invokes a default bank card (Citibank credit card) for NFC Pay.
  • a default bank card (Citibank credit card) for NFC Pay.
  • the mobile device can self-learn to achieve a more accurate smart recommendation card.
  • the bank card that the user used to use in Shenzhen last time is the China Merchants Bank credit card.
  • Other cards that are frequently used are Sam's membership card.
  • the default bank card recommended to the user is the Merchants Bank credit card.
  • the default other card is the Sam membership card. As shown in FIG.
  • the prompt box 2401 indicates that the card displayed on the display screen of the mobile device is a corresponding default analog card set according to the user's last use of the card in Shenzhen. It can be understood that the recommended card user can also be manually replaced by the controls 2403, 2405, 2407.
  • the term “when” can be interpreted to mean “if” or “after” or “in response to determining” or “in response to detecting”, depending on the context.
  • the phrase “when determining" or “if detected (condition or event stated)” can be interpreted to mean “if determined" or “in response to determining... “or “when detected (conditions or events stated)” or “in response to detection (conditions or events stated)”.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory or a random access memory.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Telephone Function (AREA)

Abstract

Embodiments of the present application provide an NFC-based data transmission method, comprising: when a mobile device senses an NFC radio-frequency field, obtain situation information related to the environment where the mobile device is located, the situation information comprising at least one of geographical position where the mobile device is located, time, and specific situation information, the specific situation information being information related to NFC payment; the mobile device determines a simulation card for NFC payment based on the situation information; the mobile device selects the simulation card after receiving a confirm operation of a user; the mobile device performs NFC payment with an NFC card reader based on the selected simulation signal. By means of the technical solution provided by the embodiments of the present application, the mobile device is more intellectualized in NFC payment, improving the efficiency of the mobile device, reducing user operations, and improving user experience in NFC payment.

Description

基于NFC进行数据传输的方法及移动设备Method for data transmission based on NFC and mobile device
本申请要求于2017年1月20日提交中国专利局、申请号为201710046050.7、发明名称为“一种智能切换NFC支付的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on Jan. 20, 2017, filed on Jan. 20, 2011, filed Jan. In this application.
技术领域Technical field
本发明涉及数据处理领域,尤其涉及基于NFC进行数据传输的方法及移动设备。The present invention relates to the field of data processing, and in particular, to a method and a mobile device for data transmission based on NFC.
背景技术Background technique
近场通讯(Near Field Communication,以下简称NFC)是一种短距离高频的无线电技术,在13.56MHz±7kHz操作频率下运行于10厘米距离内,其传输速度有106Kbit/s、212Kbit/s或者424Kbit/s三种。目前,NFC技术已成为相关国际标准,并被广泛应用。NFC移动设备(例如手机、平板电脑、具备无线通信功能的可穿戴电子设备等)是指带有NFC硬件的移动设备。NFC移动设备可以支持很多相应的应用程序。一般而言,上述移动设备具有三种应用模式,即读卡器模式、点对点(P2P)模式和卡模拟模式。读卡器模式下,即NFC移动设备作为非接触式读卡器使用。比如从海报或者展览的NFC标签上读取相关信息。在该模式中,具备读写功能的NFC移动设备可从NFC标签中采集数据,然后对该数据进行处理。基于该模式的典型场景包括电子广告读取和车票、电影院门票售卖等。比如如果在电影海报上贴有NFC标签,用户可以利用支持NFC的移动设备贴近该电影海报以便获得该电影的详细信息,或是立即联机使用信用卡购买电影票。读卡器模式还能够用于简单的数据获取,比如公交车站站点信息、公园地图等信息的获取。点对点模式下,即两个NFC移动设备建立连接,实现点对点数据传输。基于该模式,多个具有NFC功能的数字相机、平板电脑、手机之间都可以进行无线互联,实现数据交换。基于该模式的典型应用场景有快速建立蓝牙连接、交换联系人名片等。卡模拟模式下,NFC读卡器是主动设备,产生NFC射频场,NFC移动设备为被动设备,模拟一张符合NFC标准的非接触式的射频卡与上述NFC读卡器进行数据交互,该模式主要用于商店、交通等非接触移动支付场景中,用户只要将NFC移动设备靠近NFC读卡器,并输入密码确认交易或者直接接收交易即可,这使得在不改变现有设施的基础上就可以使用NFC移动设备进行非接触的支付业务。基于该模式的典型场景包括本地支付、门禁控制等。Near Field Communication (NFC) is a short-range high-frequency radio technology that operates at a distance of 10 cm at a frequency of 13.56 MHz ± 7 kHz. Its transmission speed is 106 Kbit/s, 212 Kbit/s or 424Kbit/s three. At present, NFC technology has become a relevant international standard and is widely used. NFC mobile devices (such as mobile phones, tablets, wearable electronic devices with wireless communication capabilities, etc.) are mobile devices with NFC hardware. NFC mobile devices can support many corresponding applications. In general, the mobile device described above has three application modes, a card reader mode, a point-to-point (P2P) mode, and a card emulation mode. In the card reader mode, the NFC mobile device is used as a contactless card reader. For example, read relevant information from the NFC tag of a poster or exhibition. In this mode, NFC mobile devices with read and write capabilities can collect data from NFC tags and then process the data. Typical scenarios based on this model include electronic advertisement reading and ticket sales, cinema ticket sales, and the like. For example, if an NFC tag is attached to a movie poster, the user can use the NFC-enabled mobile device to get close to the movie poster to obtain the movie details, or immediately use the credit card to purchase the movie ticket online. The card reader mode can also be used for simple data acquisition, such as bus station site information, park maps and other information. In point-to-point mode, two NFC mobile devices establish a connection to achieve point-to-point data transmission. Based on this mode, multiple NFC-enabled digital cameras, tablets, and mobile phones can be wirelessly interconnected for data exchange. Typical application scenarios based on this mode include quickly establishing a Bluetooth connection, exchanging contact business cards, and the like. In the card emulation mode, the NFC card reader is an active device that generates an NFC radio field, and the NFC mobile device is a passive device, simulating an NFC-compliant contactless RF card to perform data interaction with the NFC card reader. Mainly used in non-contact mobile payment scenarios such as shops and transportation. Users only need to close the NFC mobile device to the NFC card reader and enter the password to confirm the transaction or directly receive the transaction. This makes it possible to change the existing facilities. A contactless payment service can be performed using an NFC mobile device. Typical scenarios based on this model include local payments, access control, and the like.
在卡模拟模式下,目前的NFC移动设备能够同时支持三种模拟卡类型,模拟卡是指移动设备通过NFC硬件模拟的射频卡。这三种类型的模拟卡分别为银行卡、公交卡和门禁卡。一台NFC移动设备可以同时能支持以上三种类型的模拟卡。但是,在某一时刻只能选中其中一张卡作为当前使用的模拟卡。用户在进行手动选择卡片时,需要用户根据具体使用NFC模拟卡的场景来判断所要选择的卡,而该过程在移动设备中所进行的操作步骤非常繁琐,严重降低了该移动设备与用户的智能交 互能力,也使得移动设备的效率低下。In the card emulation mode, the current NFC mobile device can simultaneously support three types of analog cards, and the analog card refers to a radio frequency card that the mobile device simulates through NFC hardware. These three types of analog cards are bank cards, bus cards, and access cards. An NFC mobile device can support the above three types of analog cards at the same time. However, only one of the cards can be selected as the currently used analog card at a time. When the user manually selects a card, the user needs to judge the card to be selected according to the scenario in which the NFC analog card is used, and the operation procedure performed in the mobile device is very cumbersome, which seriously reduces the intelligence of the mobile device and the user. Pay Mutual capabilities also make mobile devices less efficient.
发明内容Summary of the invention
为解决上述技术问题,本申请实施例提供一种基于NFC进行数据传输的方法及移动设备,使移动设备能够基于用户使用NFC模拟卡时的不同场景而在不同模拟卡之间实现自动选择模拟卡,从而满足用户对于切换过程快捷方便的需求,极大提高了移动设备与用户的智能交互能力。To solve the above technical problem, the embodiment of the present application provides a method for data transmission based on NFC and a mobile device, so that the mobile device can automatically select an analog card between different analog cards based on different scenarios when the user uses the NFC analog card. In order to meet the user's need for fast and convenient switching process, the intelligent interaction ability between the mobile device and the user is greatly improved.
第一方面,本申请的实施例提供一种基于NFC进行数据传输的方法,该方法在具备NFC功能的移动设备上实现,该方法包括:移动设备接收用户的触摸操作,该触摸操作可以是在触摸屏上进行的;该移动设备基于上述触摸操作,打开与NFC支付相关的应用程序;在该移动设备上显示该应用程序的图形用户界面;移动设备获取与该移动设备所处环境相关的情景信息,该情景信息包括该移动设备所处的地理位置、时间和特定情景信息,该特定情景信息可以包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、移动设备所处的运动状态;该移动设备基于上述情景信息确定进行NFC支付的模拟卡;所述移动设备将所确定的模拟卡提示给用户;该移动设备接收到用户的确认操作后,选择该模拟卡;该移动设备基于选择的模拟卡与NFC读卡器进行NFC支付。通过本申请实施例提供的技术方案,能够使得上述移动设备在进行NFC支付时更加智能化,进而提高了移动设备的效率,同时也减少了用户的操作,提高了进行NFC支付的用户体验。In a first aspect, an embodiment of the present application provides a method for data transmission based on NFC, where the method is implemented on a mobile device with an NFC function, the method includes: the mobile device receives a touch operation of a user, and the touch operation may be Performing on the touch screen; the mobile device opens an application related to the NFC payment based on the touch operation; displaying a graphical user interface of the application on the mobile device; and acquiring, by the mobile device, context information related to the environment in which the mobile device is located The context information includes a geographical location, a time, and specific context information of the mobile device, and the specific context information may include at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, a mobile device a motion state in which the mobile device determines an analog card for performing NFC payment based on the scenario information; the mobile device prompts the determined analog card to the user; and after receiving the confirmation operation of the user, the mobile device selects the analog card The mobile device performs NFC based on the selected analog card and the NFC card reader Pay. The technical solution provided by the embodiment of the present application can make the mobile device more intelligent when performing NFC payment, thereby improving the efficiency of the mobile device, reducing the operation of the user, and improving the user experience for performing NFC payment.
在一种可能的实施例中,在该移动设备接收用户的触摸操作之前,该方法还可以包括:该移动设备接收并存储NFC支付信息,该NFC支付信息包括NFC支付时的支付地点、支付时间、支付金额;而上述特定情景信息还包括该NFC支付信息,这样,该移动设备可以基于所处的地理位置、时间、Wi-Fi热点广播消息和NFC支付信息,确定进行NFC支付的模拟卡。通过该技术方案,可以使得移动设备更准确地确定所需要的NFC模拟卡。In a possible embodiment, before the mobile device receives the touch operation of the user, the method may further include: the mobile device receiving and storing NFC payment information, where the NFC payment information includes a payment place and a payment time when the NFC is paid. And the payment amount; and the specific scenario information further includes the NFC payment information, so that the mobile device can determine the analog card for performing the NFC payment based on the geographical location, the time, the Wi-Fi hotspot broadcast message, and the NFC payment information. With this technical solution, the mobile device can be made to more accurately determine the required NFC analog card.
在一种可能的实施例中,该应用程序的图形用户界面中显示有至少2张不同类型的模拟卡;当该移动设备将确定的模拟卡显示给用户时,该确定的模拟卡可以被放大显示,其他模拟卡被缩小显示。这样,可以突出所确定的模拟卡以便更好的提示用户。In a possible embodiment, at least two different types of analog cards are displayed in the graphical user interface of the application; when the mobile device displays the determined analog card to the user, the determined analog card can be enlarged. Display, other analog cards are displayed in a reduced size. In this way, the determined analog card can be highlighted to better prompt the user.
在一种可能的实施例中,在该移动设备基于选择的模拟卡与NFC读卡器进行NFC支付之前,为了进一步提高NFC支付的安全性,移动设备可以让用户进一步进行生物特征信息(例如指纹或虹膜)验证,在用户生物特征信息验证通过之后,移动设备才基于选择的模拟卡进行NFC支付。In a possible embodiment, before the mobile device performs NFC payment based on the selected analog card and the NFC card reader, in order to further improve the security of the NFC payment, the mobile device may allow the user to further perform biometric information (such as a fingerprint). Or iris) verification, after the user biometric information verification is passed, the mobile device performs NFC payment based on the selected analog card.
第二方面,本申请实施例提供一种基于NFC进行数据传输的方法,该方法在具备NFC功能的移动设备上实现,该方法可以包括:当该移动设备感应到NFC射频场时,获取与该移动设备所处环境相关的情景信息,该NFC射频场时由NFC读卡器发出,该情景信息包括该移动设备所处的地理位置、时间和特定情景信息中的至少一种,该特定情景信息是指与NFC支付相关的信息,例如特定情景信息可以是推特好友发送的商品打折信息,Wi-Fi热点广播消息中的优惠信息等;该移动设备基于上述情景信息,确定进行NFC支付的模拟卡;该移动设备基于所确定的模拟卡,生成模拟卡选择指令;该移动设备根据该模拟卡选择指令,选择相应的模拟卡;该移动设备基于所选择的模拟卡与NFC读 卡器进行NFC支付。通过本申请实施例提供的技术方案,能够使得上述移动设备在进行NFC支付时更加智能化,进而提高了移动设备的效率,同时也减少了用户的操作,提高了进行NFC支付的用户体验。In a second aspect, the embodiment of the present application provides a method for data transmission based on NFC, where the method is implemented on a mobile device with an NFC function, and the method may include: when the mobile device senses an NFC radio frequency field, acquiring The context information related to the environment in which the mobile device is located, the NFC radio frequency field is sent by the NFC card reader, and the scenario information includes at least one of a geographical location, a time, and specific scenario information of the mobile device, the specific context information. Refers to the information related to the NFC payment, for example, the specific context information may be the product discount information sent by the Twitter friend, the discount information in the Wi-Fi hotspot broadcast message, etc.; the mobile device determines the simulation of performing the NFC payment based on the above scenario information. a card; the mobile device generates an analog card selection command based on the determined analog card; the mobile device selects a corresponding analog card according to the analog card selection instruction; the mobile device reads based on the selected analog card and NFC The card holder performs NFC payment. The technical solution provided by the embodiment of the present application can make the mobile device more intelligent when performing NFC payment, thereby improving the efficiency of the mobile device, reducing the operation of the user, and improving the user experience for performing NFC payment.
在本实施例中,是当移动设备感应到NFC射频场时才去获取与该移动设备所处环境相关的情景信息,这样能够保证移动设备在需要用到情景信息的时去高效率地获取,也保证了在移动设备准备进行NFC支付时,获取到的情景信息的准确性、实时性,进一步保证了NFC支付的便利性和安全性。当然,在其他的一些实施例中,获取与该移动设备所处环境相关的情景信息也可以发生在移动设备感应到NFC射频场之前,这样的好处是,移动设备能够随时处理相关情景信息,减少了在NFC支付时的一些操作步骤。在另外的一些实施例中,上述情景信息也可以在接收到用户的NFC支付指示时来获取,该NFC支付指示可以是用户的手指在手机的触摸屏上进行的手势操作,该手势操作可以是打开用于NFC支付的应用程序;还例如,该NFC支付指示还可以是双击移动设备的Home键。In this embodiment, when the mobile device senses the NFC radio frequency field, the scenario information related to the environment in which the mobile device is located is obtained, so that the mobile device can obtain high-efficiency acquisition when the scenario information is needed. It also ensures the accuracy and real-time of the acquired context information when the mobile device is ready to make NFC payment, further ensuring the convenience and security of NFC payment. Of course, in some other embodiments, obtaining context information related to the environment in which the mobile device is located may also occur before the mobile device senses the NFC radio frequency field. The advantage is that the mobile device can process related context information at any time, reducing Some steps in the NFC payment. In some other embodiments, the foregoing scenario information may also be acquired when receiving the NFC payment indication of the user, where the NFC payment indication may be a gesture operation performed by the user's finger on the touch screen of the mobile phone, and the gesture operation may be open. An application for NFC payment; for example, the NFC payment indication may also be a double tap of the mobile device's Home button.
在一种可能的实施例中,该特定情景信息可以包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、移动设备所处的运动状态。获取特定情景信息也是为了移动设备更准确地去确定所需要进行NFC支付的模拟卡。In a possible embodiment, the specific context information may include at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, and a motion state in which the mobile device is located. Obtaining specific context information is also for the mobile device to more accurately determine the analog card that requires NFC payment.
在一种可能的实施例中,在该移动设备感应到NFC射频场之前,该方法还可以包括:该移动设备接收并存储NFC支付信息,该NFC支付信息包括NFC支付时的支付地点、支付时间、支付金额。In a possible embodiment, before the mobile device senses the NFC radio frequency field, the method may further include: the mobile device receiving and storing NFC payment information, where the NFC payment information includes a payment location and a payment time when the NFC is paid. , the amount paid.
在一种可能的实施例中,该特定情景信息还包括该NFC支付信息,因此,该移动设备可以基于所处的地理位置、时间、Wi-Fi热点广播消息和NFC支付信息,确定进行NFC支付的模拟卡。In a possible embodiment, the specific context information further includes the NFC payment information, and therefore, the mobile device can determine to perform an NFC payment based on the geographical location, the time, the Wi-Fi hotspot broadcast message, and the NFC payment information. Analog card.
在一种可能的实施例中,当移动设备基于上述情景信息确定了模拟卡时,移动设备可以点亮触摸屏,并在锁屏的界面下提示用户是否用这张模拟卡;在接收到用户的确认操作后,移动设备在锁屏的情况下选择该模拟卡进行NFC支付。通过上述实施例的技术方案,移动设备只在需要的时候点亮触摸屏,降低了功耗。In a possible embodiment, when the mobile device determines the analog card based on the scenario information, the mobile device may illuminate the touch screen, and prompt the user to use the analog card under the interface of the lock screen; After confirming the operation, the mobile device selects the analog card for NFC payment when the screen is locked. Through the technical solution of the above embodiment, the mobile device lights the touch screen only when needed, thereby reducing power consumption.
第三方面,本申请实施例提供一种基于NFC进行数据传输的方法,该方法可以在智能手表和手机上实现,该智能手表和该手机可以通过短距离通信协议建立无线链路,该方法可以包括:当智能手表感应到NFC射频场时,通过上述无线链路发送通知消息给手机;手机获取与该手机所处环境相关的情景信息,该情景信息包括该手机所处的地理位置、时间和特定情景信息中的至少一种,特定情景信息可以是指与NFC支付相关的信息;该手机基于所述情景信息,确定进行NFC支付的模拟卡,并通过上述无线链路向智能手表发送模拟卡选择指令;智能手表在接收到模拟卡选择指令后,选择所确定的模拟卡;智能手表基于所选择的模拟卡进行NFC支付。本实施例通过在手机和智能手表上共同完成的技术方案,极大提高了进行NFC支付的效率。In a third aspect, an embodiment of the present application provides a method for data transmission based on NFC, where the method can be implemented on a smart watch and a mobile phone, and the smart watch and the mobile phone can establish a wireless link by using a short-distance communication protocol, and the method can The method includes: when the smart watch senses the NFC radio frequency field, sending a notification message to the mobile phone through the wireless link; the mobile phone acquires context information related to the environment in which the mobile phone is located, where the context information includes the geographical location, time, and At least one of the specific context information, the specific context information may refer to information related to the NFC payment; the mobile phone determines an analog card for performing NFC payment based on the context information, and sends the analog card to the smart watch through the wireless link The instruction is selected; after receiving the analog card selection command, the smart watch selects the determined analog card; the smart watch performs NFC payment based on the selected analog card. In the embodiment, the technical solution jointly implemented on the mobile phone and the smart watch greatly improves the efficiency of performing NFC payment.
在一可能的实施例中,在智能手表选择所确定的模拟卡之后,在智能手表基于所选择的模拟卡进行NFC支付之前,该方法还可以包括:智能手表检测与手机的无线链路是否正常;如果智能手表检测到与手机之间的无线链路正常,则智能手表基于所选择的模拟卡进行NFC支付,或者如果智能 手表检测到与手机之间的无线链路断开,则智能手表终止进行NFC支付,并提示用户。这样,智能手表能够根据与手机的无线连接情况来判断是否进行NFC支付,就进一步保证了NFC支付的安全性。In a possible embodiment, after the smart watch selects the determined analog card, before the smart watch performs NFC payment based on the selected analog card, the method may further include: the smart watch detecting whether the wireless link with the mobile phone is normal. If the smart watch detects that the wireless link with the phone is normal, the smart watch makes NFC payment based on the selected analog card, or if smart When the watch detects that the wireless link with the mobile phone is disconnected, the smart watch terminates the NFC payment and prompts the user. In this way, the smart watch can further determine the security of the NFC payment according to whether the NFC payment is made according to the wireless connection with the mobile phone.
第四方面,本申请实施例提供一种基于NFC进行数据传输的移动设备,该移动设备具体可以包括:触摸屏,处理器、存储器、NFC装置、定位装置、蓝牙装置、Wi-Fi装置、一个或多个传感器,其中:该触摸屏接收用户的触摸操作;该处理器基于该触摸操作,打开与NFC支付相关的应用程序,并在该触摸屏上显示该应用程序的图形用户界面;该处理器获取与该移动设备所处环境相关的情景信息,该情景信息包括通过该定位装置采集到的该移动设备所处的地理位置,时间和特定情景信息,该特定情景信息包括以下消息中的至少一种:即时消息、通过该蓝牙装置接收到的蓝牙广播消息、通过该Wi-Fi装置接收到的Wi-Fi热点广播消息、通过该一个或多个传感器采集到的该移动设备所处的运动状态;该处理器基于该情景信息确定进行NFC支付的模拟卡;该处理器将该确定的模拟卡通过该触摸屏显示给用户;该处理器接收到用户的确认操作后,选择该模拟卡;该NFC装置与NFC读卡器进行NFC支付。In a fourth aspect, the embodiment of the present application provides a mobile device that performs data transmission based on NFC, and the mobile device may specifically include: a touch screen, a processor, a memory, an NFC device, a positioning device, a Bluetooth device, a Wi-Fi device, or one a plurality of sensors, wherein: the touch screen receives a user's touch operation; the processor opens an application related to the NFC payment based on the touch operation, and displays a graphical user interface of the application on the touch screen; the processor acquires The context information related to the environment in which the mobile device is located, the context information includes a geographical location, time and specific context information of the mobile device collected by the positioning device, and the specific context information includes at least one of the following messages: An instant message, a Bluetooth broadcast message received by the Bluetooth device, a Wi-Fi hotspot broadcast message received by the Wi-Fi device, a motion state of the mobile device collected by the one or more sensors; The processor determines an analog card for performing NFC payment based on the context information; the processor determines the determination Analog cards by a user of the touch screen display; the processor after receiving a confirmation operation by the user, select the analog card; the NFC device for NFC payment with the NFC reader.
应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或有益效果。因此,本说明书中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合本实施例中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或有益效果即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和有益效果。The description of the technical features, technical solutions, advantages, or similar language in this application is not intended to suggest that all features and advantages may be realized in any single embodiment. Rather, it is to be understood that a description of a feature or benefit is meant to include a particular technical feature, technical solution, or benefit in at least one embodiment. Therefore, descriptions of technical features, technical solutions, or advantageous effects in the present specification are not necessarily referring to the same embodiments. Further, the technical features, technical solutions, and advantageous effects described in the embodiment can also be combined in any suitable manner. Those skilled in the art will appreciate that embodiments may be implemented without one or more specific technical features, technical solutions, or advantages of the specific embodiments. In other embodiments, additional technical features and benefits may also be identified in a particular embodiment that does not embody all embodiments.
附图说明DRAWINGS
图1是一些实施例中移动设备(例如手机、智能手表等)所处的网络环境的示意图;1 is a schematic diagram of a network environment in which mobile devices (eg, mobile phones, smart watches, etc.) are located in some embodiments;
图2是一些实施例中智能手表的硬件结构示意图;2 is a schematic diagram showing the hardware structure of a smart watch in some embodiments;
图3是一些实施例中手机的硬件结构示意图;3 is a schematic diagram showing the hardware structure of a mobile phone in some embodiments;
图4是一些实施例中NFC装置的结构示意图;4 is a schematic structural view of an NFC device in some embodiments;
图5是一些实施例中智能手表与手机的结构示意图;FIG. 5 is a schematic structural diagram of a smart watch and a mobile phone in some embodiments; FIG.
图6是一些实施例中基于NFC进行数据传输的方法流程图;6 is a flow chart of a method for data transmission based on NFC in some embodiments;
图7是一些实施例中的NFC读卡器与移动设备之间的信令交互示意图;7 is a schematic diagram of signaling interaction between an NFC card reader and a mobile device in some embodiments;
图8是一些实施例中NFC支付所涉及的网络框架示意图;Figure 8 is a schematic diagram of a network framework involved in NFC payment in some embodiments;
图9A-9F是一些实施例中的在移动设备(例如智能手表)上设置默认的模拟卡的图形用户界面的示意图;9A-9F are schematic illustrations of graphical user interfaces for setting a default analog card on a mobile device, such as a smart watch, in some embodiments;
图10是一些实施例中手机的触摸屏上显示的图形用户界面的示意图;10 is a schematic diagram of a graphical user interface displayed on a touch screen of a mobile phone in some embodiments;
图11是一些实施例中应用程序“卡包”的一图形用户界面的示意图;Figure 11 is a schematic illustration of a graphical user interface of an application "card package" in some embodiments;
图12是一些实施例中应用程序“卡包”的另一图形用户界面的示意图; 12 is a schematic illustration of another graphical user interface of an application "card package" in some embodiments;
图13是一些实施例中应用程序“卡包”的另一图形用户界面的示意图;Figure 13 is a schematic illustration of another graphical user interface of an application "card package" in some embodiments;
图14是一些实施例中应用程序“卡包”的另一图形用户界面的示意图;14 is a schematic illustration of another graphical user interface of an application "card package" in some embodiments;
图15是一些实施例中手机在锁屏时显示的图形用户界面的示意图;15 is a schematic diagram of a graphical user interface displayed when a mobile phone is locked in a screen in some embodiments;
图16A是一些实施例中情景服务器与在移动设备里的客户端网络框架示意图;16A is a schematic diagram of a scenario server and a client network framework in a mobile device in some embodiments;
图16B是一些实施例中情景服务器、手机、智能手表之间的网络框架示意图;16B is a schematic diagram of a network framework between a scenario server, a mobile phone, and a smart watch in some embodiments;
图17是一些实施例中一种NFC支付流程示意图;17 is a schematic diagram of an NFC payment process in some embodiments;
图18是一些实施例中另一种NFC支付流程示意图;18 is a schematic diagram of another NFC payment process in some embodiments;
图19是一些实施例中另一种NFC支付流程示意图;19 is a schematic diagram of another NFC payment process in some embodiments;
图20是一些实施例中移动设备的硬件框架图;20 is a hardware framework diagram of a mobile device in some embodiments;
图21是一些实施例中设置NFC支付的默认模拟卡的流程示意图;21 is a schematic flow chart of setting a default analog card for NFC payment in some embodiments;
图22是一些实施例中NFC支付的框架示意图;22 is a schematic diagram of a framework of NFC payment in some embodiments;
图23A是一些实施例中移动设备上显示的一图形用户界面的示意图;23A is a schematic illustration of a graphical user interface displayed on a mobile device in some embodiments;
图23B是一些实施例中移动设备上显示的另一图形用户界面的示意图;23B is a schematic illustration of another graphical user interface displayed on a mobile device in some embodiments;
图24是另外一些实施例中移动设备上显示的一图形用户界面的示意图。24 is a schematic diagram of a graphical user interface displayed on a mobile device in still other embodiments.
具体实施方式detailed description
在本文中对本发明的描述中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本发明的限制。如本在发明的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention. The singular expression "a", "an", "sai", "said", "the", "the" and "the" are intended to be used in the description of the invention and the appended claims. The plural expressions are included unless they are expressly indicated to the contrary. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
以下实施例中的移动设备可以是具备NFC功能的各种移动通讯设备,例如可以是具备NFC功能的可穿戴电子设备(如图2中的智能手表200),也可以是图3所示的手机300,还可以是平板电脑等,以下实施例对移动设备的具体形态不做特别限制。The mobile device in the following embodiments may be various mobile communication devices with NFC functions, for example, may be an NFC-enabled wearable electronic device (such as the smart watch 200 in FIG. 2), or may be the mobile phone shown in FIG. 300, which may also be a tablet computer or the like. The following embodiments do not particularly limit the specific form of the mobile device.
如图1所示,本实施例提供一种具备NFC功能的智能手表200,该智能手表200可以通过无线方式与无线通信基站100或者与手机300进行无线网络通信。例如,该智能手表200可以通过自身的射频电路和天线,通过无线通信链路L1发送无线信号给基站100,进而请求基站100进行无线网络业务处理该智能手表200具体业务需求;又例如,智能手表200可以通过自身的蓝牙与手机30进行匹配,匹配成功后与手机通过蓝牙通信链路L2进行数据通信,当然也可以通过其他无线通信方式与手机进行数据通信,比如射频识别技术,近距离无线通信技术等。该智能手表200也可以通过自身的各种传感器检测各种环境的数据。另外,由于该智能手表200可以有NFC功能,因此该智能手表200可以通过无线通信链路L3与NFC读卡器500(例如具有NFC功能的POS机等)进行NFC通信。As shown in FIG. 1 , the present embodiment provides a smart watch 200 with an NFC function, which can wirelessly communicate with the wireless communication base station 100 or with the mobile phone 300 in a wireless manner. For example, the smart watch 200 can transmit a wireless signal to the base station 100 through the wireless communication link L1 through its own radio frequency circuit and antenna, and then request the base station 100 to perform wireless network service processing on the specific service requirements of the smart watch 200; for example, a smart watch. The 200 can be matched with the mobile phone 30 through its own Bluetooth. After the matching is successful, the data communication with the mobile phone through the Bluetooth communication link L2, and of course, the data communication with the mobile phone through other wireless communication methods, such as radio frequency identification technology, short-range wireless communication Technology, etc. The smart watch 200 can also detect data of various environments by its own various sensors. In addition, since the smart watch 200 can have an NFC function, the smart watch 200 can perform NFC communication with the NFC card reader 500 (for example, a POS machine having an NFC function, etc.) via the wireless communication link L3.
如图2所示,该智能手表200具体可以包括相互连接的表体和腕带(图2未示出),其中表体 可以包括触摸屏201、NFC装置202、处理器203、微控制单元204、存储器205、麦克风206、环境光传感器207、蓝牙装置208、、定位装置209、心率传感器210、重力加速度传感器211、电源管理系统213(包括电源212)、Wi-Fi装置214等。尽管未示出,智能手表200还可以包括天线、扬声器、加速计、陀螺仪等。As shown in FIG. 2, the smart watch 200 may specifically include a body and a wristband (not shown in FIG. 2) connected to each other, wherein the watch body The touch screen 201, the NFC device 202, the processor 203, the micro control unit 204, the memory 205, the microphone 206, the ambient light sensor 207, the Bluetooth device 208, the positioning device 209, the heart rate sensor 210, the gravity acceleration sensor 211, and the power management system may be included. 213 (including power source 212), Wi-Fi device 214, and the like. Although not shown, the smart watch 200 may also include an antenna, a speaker, an accelerometer, a gyroscope, and the like.
下面分别对智能手表200的各功能组件进行介绍:The following describes each functional component of the smart watch 200:
触摸屏201包括触控面板和显示面板,触控面板可以覆盖在显示面板之上。触控面板可采集智能手表200的用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并根据预先设定的程式驱动响应的连接装置。触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器203,并可以接收处理器203发送的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板。显示面板(一般称为显示屏)可用于显示由用户输入的信息或提供给用户的信息以及手表的各种菜单。可选的,可以采用液晶显示器、有机发光二极管等形式来配置显示面板。触控面板可覆盖在显示屏之上,当触控面板检测到在其上或附近的触摸操作后,传送给处理器203以确定触摸事件的类型,随后处理器203根据触摸事件的类型在显示屏上提供相应的视觉输出。虽然在图2中,触控面板与显示屏是作为两个独立的部件来实现手表的输入和输出功能,但是在某些实施例中,可以将触控面板与显示屏集成而实现智能手表200的输入和输出功能。The touch screen 201 includes a touch panel and a display panel, and the touch panel can be overlaid on the display panel. The touch panel can collect touch operations on or near the user of the smart watch 200 (such as a user using a finger, a stylus, or the like, any suitable object or accessory on or near the touch panel), and according to A preset program drives the connected connection device. The touch panel may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 203 is provided and can receive commands transmitted by the processor 203 and executed. In addition, touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. A display panel (generally referred to as a display screen) can be used to display information entered by the user or information provided to the user as well as various menus of the watch. Optionally, the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The touch panel may be overlaid on the display screen. When the touch panel detects a touch operation on or near it, the touch panel transmits to the processor 203 to determine the type of the touch event, and then the processor 203 displays the type according to the type of the touch event. A corresponding visual output is provided on the screen. Although in FIG. 2, the touch panel and the display screen are used as two separate components to implement the input and output functions of the watch, in some embodiments, the smart watch 200 can be implemented by integrating the touch panel with the display screen. Input and output functions.
NFC装置202用于给智能手表200提供NFC功能,该NFC装置可以具有三种应用模式,即读卡器模式、点对点模式和卡模拟模式。在一些实施例中,该NFC装置的硬件结构可以是图4所示,该NFC装置202可以包括NFC控制器401,NFC射频电路402,安全单元(Secure Element)403。其中,NFC控制器401分别与NFC射频电路402和安全单元403连接,主要用于非接触通信信号的调制解调,控制NFC装置中数据的输入和输出,并与处理器203进行数据交互;NFC射频电路与NFC控制器连接,实现13.56MHz射频信号的发送与接收,可以由EMC滤波电路、匹配电路、接收电路、NFC天线四部分组成。安全单元403可包括存储器,一个或多个处理器,安全单元的主要功能是实现应用程序和数据的安全存储,对外提供安全运算服务。安全模块还通过NFC控制器与外部设备进行通信,实现数据存储及交易过程的安全性。需要指出,安全单元403可以是在移动设备中用于提供安全性、机密性、以及为了支持各种应用环境的防篡改部件。安全单元403可以多种形状存在,例如安全单元403可以集成在通用集成电路卡(UICC)例如用户识别模块SIM卡中、嵌入式安全单元(位于移动设备的电路板上)、安全数字(SD)卡、微型SD卡等中。此外,安全单元403还可以包括在安全单元403的环境中(诸如在安全单元403的操作系统中/或在运行在安全单元403上的Java运行环境中)执行的一个或多个应用程序。此外,该一个或多个应用程序可包括一个或多个支付应用程序,该一个或多个支付应用程序可以保存在存储器205中。安全单元403支持应用程序安全交易和安全数据存储,支持多应用程序的下载、安装、删除、更新等,安全单元403还支持应用程序数据的安全隔离,为了安全,安全单元可以不允许不同应用程序之间的自由访问;安全单元403还 提供各类支付需要的对称、非对称加密算法和证书能力,提供安全交易应用访问的程序接口,支持和NFC控制器401或处理器203的双向通信。The NFC device 202 is used to provide an NFC function to the smart watch 200, which can have three application modes, namely a card reader mode, a peer-to-peer mode, and a card emulation mode. In some embodiments, the hardware structure of the NFC device may be as shown in FIG. 4, and the NFC device 202 may include an NFC controller 401, an NFC radio frequency circuit 402, and a Secure Element 403. The NFC controller 401 is respectively connected to the NFC radio frequency circuit 402 and the security unit 403, and is mainly used for modulation and demodulation of the contactless communication signal, controls input and output of data in the NFC device, and performs data interaction with the processor 203; NFC The RF circuit is connected to the NFC controller to realize the transmission and reception of the 13.56 MHz RF signal, and can be composed of an EMC filter circuit, a matching circuit, a receiving circuit, and an NFC antenna. The security unit 403 may include a memory, one or more processors, and the main function of the security unit is to implement secure storage of applications and data, and provide secure computing services externally. The security module also communicates with external devices through the NFC controller to achieve data storage and transaction security. It is noted that the security unit 403 can be a tamper-resistant component in a mobile device for providing security, confidentiality, and to support various application environments. The security unit 403 can exist in a variety of shapes, for example, the security unit 403 can be integrated in a Universal Integrated Circuit Card (UICC) such as a Subscriber Identity Module SIM card, an embedded security unit (on a circuit board of a mobile device), Secure Digital (SD) Card, micro SD card, etc. Moreover, security unit 403 can also include one or more applications executing in the context of security unit 403, such as in the operating system of security unit 403 and/or in the Java runtime environment running on security unit 403. Additionally, the one or more applications can include one or more payment applications that can be saved in the memory 205. The security unit 403 supports application secure transaction and secure data storage, supports downloading, installing, deleting, updating, etc. of multiple applications. The security unit 403 also supports secure isolation of application data. For security, the security unit may not allow different applications. Free access between; security unit 403 also Provides symmetric, asymmetric encryption algorithms and certificate capabilities for all types of payment needs, provides a program interface for secure transaction application access, and supports two-way communication with NFC controller 401 or processor 203.
处理器203是智能手表200的控制中心,利用各种接口和线路连接手表的各个部分,通过运行或执行存储在存储器205内的应用程序,以及调用存储在存储器205内的数据,执行手表200的各种功能和处理数据。在一些实施例中,处理器203可包括一个或多个处理单元;处理器203还可以集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器203中。举例来说,处理器203可以是华为技术有限公司制造的麒麟960芯片。The processor 203 is a control center of the smart watch 200, and connects various parts of the watch using various interfaces and lines, executes the watch 200 by running or executing an application stored in the memory 205, and calling data stored in the memory 205. Various functions and processing data. In some embodiments, the processor 203 can include one or more processing units; the processor 203 can also integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 203. For example, the processor 203 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
微控制单元204:用于控制各种传感器,收集各种传感器的数据并对传感器的数据进行初步运算,与处理器203通信等功能;传感器可以是气压传感器、心率传感器210、重力加速度传感器211、环境光传感器207或其他传感器。至于手表还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The micro control unit 204 is configured to control various sensors, collect data of various sensors, perform preliminary operations on the data of the sensor, and communicate with the processor 203. The sensor may be an air pressure sensor, a heart rate sensor 210, a gravity acceleration sensor 211, Ambient light sensor 207 or other sensor. Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like which are also configurable in the watch will not be described here.
存储器205用于存储应用程序以及数据,处理器203通过运行存储在存储器的应用程序以及数据,执行手表200的各种功能以及数据处理。存储器205主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用手表所创建的数据(比如音频数据、电话本等)。此外,存储器可以包括高速随机存取存储器,还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件。存储器205可以存储有使得智能手表能运行的操作系统,例如苹果公司所开发的Watch操作系统,谷歌公司所开发的Android
Figure PCTCN2017075632-appb-000001
操作系统等。
The memory 205 is used to store applications and data, and the processor 203 executes various functions of the watch 200 and data processing by running applications and data stored in the memory. The memory 205 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the watch. The data created (such as audio data, phone book, etc.). Further, the memory may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device. The memory 205 can store an operating system that enables the smart watch to operate, such as the Watch operating system developed by Apple, Android developed by Google Inc.
Figure PCTCN2017075632-appb-000001
Operating system, etc.
定位装置209,用于为手表200提供地理位置。可以理解的是,该定位装置209具体可以是全球定位系统(GPS)或北斗卫星导航系统、俄罗斯GLONASS等定位系统的接收器。定位装置209在接收到上述定位系统发送的地理位置后,将该信息发送给处理器203进行处理,或者发送给存储器205进行保存。在另外的一些实施例中,该定位装置209可以是辅助全球卫星定位系统(AGPS)的接收器,AGPS是一种在一定辅助配合下进行GPS定位的运行方式,它可以利用基站的信号,配合GPS卫星信号,可以让手表200定位的速度更快;在AGPS系统中,该定位装置209可通过与辅助定位服务器(例如手机定位服务器)的通信而获得定位辅助。AGPS系统通过作为辅助服务器来协助定位装置209完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与移动设备(例如手表200、手机300的定位装置209(即GPS接收器)通信而提供定位协助。在另外的一些实施例中,该定位装置209也可以是基于Wi-Fi接入点的定位技术。由于每一个Wi-Fi接入点都有一个全球唯一的MAC地址,移动设备在开启Wi-Fi的情况下即可扫描并收集周围的Wi-Fi接入点的广播信号,因此可以获取到Wi-Fi接入点广播出来的MAC地址;移动设备将这些能够标示Wi-Fi接入点的数据(例如MAC地址)通过无线通信网络发送给位置服务器,由位置服务器检索出每一个Wi-Fi接入点的地理位置,并结合Wi-Fi广播信号的强弱程度,计算出该移动设备的地理位置并发送到移动设备的定位装置209中。A positioning device 209 is provided for providing a geographic location to the watch 200. It can be understood that the positioning device 209 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system, or a Russian GLONASS. After receiving the geographical location transmitted by the positioning system, the positioning device 209 sends the information to the processor 203 for processing, or sends it to the memory 205 for storage. In some other embodiments, the positioning device 209 can be a receiver for assisting an Global Positioning System (AGPS). The AGPS is an operation mode for performing GPS positioning with a certain assist, which can utilize the signal of the base station. The GPS satellite signal can make the watch 200 locate faster; in the AGPS system, the positioning device 209 can obtain positioning assistance by communicating with an auxiliary positioning server (such as a mobile phone positioning server). The AGPS system assists the positioning device 209 in performing the ranging and positioning services by acting as an auxiliary server, in which case the auxiliary positioning server communicates with the mobile device via the wireless communication network (eg, the watch 200, the positioning device 209 of the mobile phone 300 (ie, the GPS receiver) Providing location assistance in communication. In still other embodiments, the location device 209 may also be a Wi-Fi access point based location technology. Since each Wi-Fi access point has a globally unique MAC address The mobile device can scan and collect the broadcast signals of the surrounding Wi-Fi access points when Wi-Fi is turned on, so that the MAC address broadcasted by the Wi-Fi access point can be obtained; the mobile device can mark these The data of the Wi-Fi access point (such as the MAC address) is sent to the location server through the wireless communication network, and the location server retrieves the geographic location of each Wi-Fi access point and combines the strength of the Wi-Fi broadcast signal. The geographic location of the mobile device is calculated and sent to the location device 209 of the mobile device.
Wi-Fi装置214,用于为手表200提供Wi-Fi网络接入,手表200可以通过Wi-Fi装置214接入 到Wi-Fi接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在另外的一些实施例中,该Wi-Fi装置214也可以作为Wi-Fi接入点,为其他移动设备提供Wi-Fi网络接入。Wi-Fi device 214 for providing Wi-Fi network access to watch 200, watch 200 can be accessed through Wi-Fi device 214 To the Wi-Fi access point, which helps users to send and receive e-mail, browse the web and access streaming media, it provides users with wireless broadband Internet access. In still other embodiments, the Wi-Fi device 214 can also function as a Wi-Fi access point to provide Wi-Fi network access to other mobile devices.
手表还包括给各个部件供电的电源212(比如电池),电源212可以通过电源管理系统213与处理器203逻辑相连,从而通过电源管理系统213实现管理充电、放电、以及功耗管理等功能。麦克风206,可以将收集的声音信号转换为电信号,由音频电路接收后转换为音频数据;蓝牙208,智能手表通过蓝牙可以与其他电子设备(如手机300等)交互信息,并通过上述电子设备连接网络,与服务器连接,处理语音识别等功能。The watch also includes a power source 212 (such as a battery) that supplies power to the various components. The power source 212 can be logically coupled to the processor 203 via the power management system 213 to enable functions such as managing charging, discharging, and power management through the power management system 213. The microphone 206 can convert the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data; Bluetooth 208, the smart watch can exchange information with other electronic devices (such as the mobile phone 300) through the Bluetooth, and through the electronic device Connect to the network, connect to the server, and handle voice recognition.
以下实施例中的方法均可以在具有上述硬件结构的智能手表200中实现。The methods in the following embodiments can all be implemented in the smart watch 200 having the above-described hardware structure.
如图3所示,本实施例中的移动设备还可以为手机300。下面以手机300为例对实施例进行具体说明。应该理解的是,图示手机300仅是移动设备的一个范例,并且手机300可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。As shown in FIG. 3, the mobile device in this embodiment may also be the mobile phone 300. The embodiment will be specifically described below by taking the mobile phone 300 as an example. It should be understood that the illustrated mobile phone 300 is only one example of a mobile device, and the mobile phone 300 may have more or fewer components than those shown in the figures, two or more components may be combined, or Has a different component configuration. The various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
如图3所示,手机300包括:RF(Radio Frequency,射频)电路310、存储器320、触摸屏330、定位装置340、NFC装置202、传感器350、音频电路360、Wi-Fi装置370、处理器380、以及电源系统390等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 3, the mobile phone 300 includes an RF (Radio Frequency) circuit 310, a memory 320, a touch screen 330, a positioning device 340, an NFC device 202, a sensor 350, an audio circuit 360, a Wi-Fi device 370, and a processor 380. And components such as power system 390. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 3 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
下面结合图3对手机300的各个构成部件进行具体的介绍:The components of the mobile phone 300 will be specifically described below with reference to FIG. 3:
RF电路310可用于收发信息或通话过程中,信号的接收和发送。特别地,RF电路310将基站的下行数据接收后,给处理器380处理;另外,将涉及上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,RF电路310还可以通过无线通信网络和其他设备通信。所述无线通信网络可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。The RF circuit 310 can be used to transmit and receive information and receive and transmit signals during a call. Specifically, the RF circuit 310 receives the downlink data of the base station and then processes it to the processor 380; in addition, transmits data related to the uplink to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, RF circuitry 310 can also communicate with other devices over a wireless communication network. The wireless communication network may use any communication standard or protocol including, but not limited to, global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
手机300还可以包括至少一种传感器350,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏330的显示面板的亮度,接近传感器可在手机300移动到耳边时,关闭显示面板的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机300还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset 300 can also include at least one sensor 350, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel of the touch screen 330 according to the brightness of the ambient light, and the proximity sensor may close the display panel when the mobile phone 300 moves to the ear. Power supply. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone 300 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路360、扬声器361,麦克风362可提供用户与手机300之间的音频接口。音频电路360可将接收到的音频数据转换后的电信号,传输到扬声器361,由扬声器361转换为声音信号输出; 另一方面,麦克风362将收集的声音信号转换为电信号,由音频电路360接收后转换为音频数据,再将音频数据输出至RF电路310以发送给比如另一手机,或者将音频数据输出至存储器320以便进一步处理。The audio circuit 360, the speaker 361, and the microphone 362 can provide an audio interface between the user and the handset 300. The audio circuit 360 can transmit the converted electrical data of the received audio data to the speaker 361, and convert it into a sound signal output by the speaker 361; On the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and then converted into audio data, and then the audio data is output to the RF circuit 310 for transmission to, for example, another mobile phone, or the audio data is output to Memory 320 is for further processing.
处理器380是手机300的控制中心,利用各种接口和线路连接手机的各个部分,通过运行或执行存储在存储器320内的应用程序,以及调用存储在存储器320内的数据,执行手机300的各种功能和处理数据,从而对手机进行整体监控。在一些实施例中,处理器380可包括一个或多个处理单元;处理器380还可以集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器380中。The processor 380 is a control center of the mobile phone 300, and connects various parts of the mobile phone using various interfaces and lines, and executes each of the mobile phones 300 by running or executing an application stored in the memory 320 and calling data stored in the memory 320. The function and processing of data to monitor the phone as a whole. In some embodiments, processor 380 can include one or more processing units; processor 380 can also integrate an application processor and a modem processor, where the application processor primarily processes operating systems, user interfaces, applications, and the like The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 380.
手机300还包括给各个部件供电的电源系统390(包括电池和电源管理芯片)。电池可以通过电源管理芯片与处理器380逻辑相连,从而通过电源系统390实现管理充电、放电、以及功耗等功能。尽管未示出,手机300还可以包括摄像头、用户识别模块(SIM)卡槽、外设接口(用于连接其他输入/输出设备)等,在此不再赘述。The handset 300 also includes a power system 390 (including a battery and power management chip) that powers the various components. The battery can be logically coupled to the processor 380 via a power management chip to manage functions such as charging, discharging, and power consumption through the power system 390. Although not shown, the mobile phone 300 may further include a camera, a Subscriber Identity Module (SIM) card slot, a peripheral interface (for connecting other input/output devices), and the like, and details are not described herein.
在一些实施例中,手机300中的存储器320、触摸屏330、定位装置340、NFC装置202、Wi-Fi装置370、蓝牙装置381等部件的功能、作用可以与上述实施例的智能手表200中的存储器205、触摸屏201、定位装置209、NFC装置202、Wi-Fi装置214、蓝牙装置208的功能、作用相同或者相似,在此不再对上述部件进行过多描述。In some embodiments, the functions and functions of the components of the memory 320, the touch screen 330, the positioning device 340, the NFC device 202, the Wi-Fi device 370, the Bluetooth device 381, and the like in the mobile phone 300 may be the same as those in the smart watch 200 of the above embodiment. The functions and functions of the memory 205, the touch screen 201, the positioning device 209, the NFC device 202, the Wi-Fi device 214, and the Bluetooth device 208 are the same or similar, and the above components are not described too much herein.
可以理解的是,在另外一些实施例中,智能手表200可以采用与手机300完全相同的硬件结构,而只是外形上与手机300有区别,因此在这种实施例中,智能手表200与手机300在虽然在名称上不同,但其功能和作用是相同的;在以下实施例中,如果没有特别的说明,智能手表200和手机300均可以采用相同的硬件结构。It can be understood that in other embodiments, the smart watch 200 can adopt the same hardware structure as the mobile phone 300, but only is different in appearance from the mobile phone 300. Therefore, in this embodiment, the smart watch 200 and the mobile phone 300 Although the names are different, their functions and functions are the same; in the following embodiments, the smart watch 200 and the mobile phone 300 can adopt the same hardware structure unless otherwise specified.
在一些实施例中,上述NFC装置202的安全单元403也可以封装在电信运营商下发的SIM卡中,这种基于SIM卡的NFC支付方法受到大多数电信运营商的欢迎,同时也降低了手机制造商的成本;在另外的一些实施例中,安全单元403也可以集成在处理器380或在存储器320中单独存储,这样可以保证安全单元403与手机操作系统及各硬件相互独立,支持加密协议以加强访问控制,只有经过认证的应用程序才能访问安全单元403并发起NFC交易,从而保证了交易的安全性。在另外的一些实施例中,上述移动设备也可以没有安全单元403,而由在移动设备中运行的一个应用程序或网络中的服务器完成安全单元403的相关功能从而实现NFC支付。这种方式绕过了移动设备需要具备安全单元403的硬件限制,这种技术称之为基于主机的卡模拟(Host-based Card Emulation,以下简称HCE)技术,例如由谷歌公司开发的NFC支付Android Pay即采用该技术方案。In some embodiments, the security unit 403 of the NFC device 202 may also be encapsulated in a SIM card issued by a telecommunications carrier. This SIM card-based NFC payment method is welcomed by most telecom operators and is also reduced. The cost of the mobile phone manufacturer; in other embodiments, the security unit 403 can also be integrated in the processor 380 or stored separately in the memory 320, so that the security unit 403 can be independent of the mobile phone operating system and hardware, and supports encryption. Protocols to enhance access control, only authenticated applications can access security unit 403 and initiate NFC transactions, thus ensuring transaction security. In still other embodiments, the mobile device may also have no security unit 403, but the related functions of the security unit 403 may be implemented by an application running in the mobile device or a server in the network to implement NFC payment. This approach bypasses the hardware limitations of the mobile device 403. This technology is called Host-based Card Emulation (HCE) technology, such as NFC payment Android developed by Google Inc. Pay uses this technical solution.
在另外的一些实施例中,如图5所示,安全单元403可以设置在手机300上,而NFC控制器401、NFC射频电路402可以设置在智能手表200上。当手机与智能手表通过短距离通信技术(例如蓝牙、Wi-Fi等)建立了无线连接时,手机300可以作为主设备来控制通过智能手表200进行的NFC支付,具体控制包括NFC鉴权、认证等。而当手机300远离智能手表200,该无线连接会中断,那 么无论是用手机300尝试进行NFC支付,或是用手表200尝试进行NFC支付都将无法成功,这样能够更安全地在移动设备进行NFC支付。在另外的一些实施例中,安全单元403也可以设置在智能手表200上,而NFC控制器401和NFC射频电路402设置在手机上。In some other embodiments, as shown in FIG. 5, the security unit 403 may be disposed on the mobile phone 300, and the NFC controller 401 and the NFC radio frequency circuit 402 may be disposed on the smart watch 200. When the mobile phone and the smart watch establish a wireless connection through a short-distance communication technology (such as Bluetooth, Wi-Fi, etc.), the mobile phone 300 can serve as a master device to control the NFC payment through the smart watch 200, and the specific control includes NFC authentication and authentication. Wait. And when the mobile phone 300 is away from the smart watch 200, the wireless connection will be interrupted, that Whether attempting to make an NFC payment with the mobile phone 300 or attempting an NFC payment with the watch 200 will not succeed, so that NFC payment can be performed more securely on the mobile device. In still other embodiments, the security unit 403 can also be disposed on the smart watch 200, and the NFC controller 401 and the NFC radio frequency circuit 402 are disposed on the handset.
如图6所示,本实施例提供一种利用NFC进行数据传输的方法,该方法可以在上述智能手表200或者手机300中实现,也可以通过上述智能手表200和手机300共同实现。该方法具体包括以下步骤:As shown in FIG. 6, the embodiment provides a method for data transmission by using NFC. The method may be implemented in the smart watch 200 or the mobile phone 300, or may be implemented by the smart watch 200 and the mobile phone 300. The method specifically includes the following steps:
步骤601:当移动设备感应到NFC射频场时,获取与该移动设备所处环境相关的情景信息,该情景信息包括该移动设备所处的地理位置、时间和特定情景信息,该特定情景信息是指与NFC支付相关的业务信息。Step 601: When the mobile device senses the NFC radio frequency field, acquire context information related to the environment where the mobile device is located, where the context information includes a geographical location, a time, and specific context information of the mobile device, where the specific context information is Refers to business information related to NFC payments.
如图7所示,NFC射频场(RF field)一般是由NFC读卡器发出的,可以选择106Kbit/s、212Kbit/s或者424Kbit/s其中一种作为传输速度与移动设备进行通信。移动设备的NFC装置202可以感应到NFC读卡器所发射出的射频场,具体地,移动设备600(例如手机300、智能手表200)的NFC天线(或线圈)是NFC读卡器发射天线(或线圈)的负载,这样,移动设备通过改变天线回路的参数(比如谐振和失谐),使NFC读卡器被调制,从而使得移动设备可以相同的速度将数据传回到NFC读卡器,实现了以微弱的能量从移动设备到NFC读卡器的数据传输。通过负载调制技术获得数据回传的能力,可以大幅降低移动设备功耗并延长电池续航能力。As shown in FIG. 7, the NFC RF field is generally sent by an NFC card reader, and one of 106 Kbit/s, 212 Kbit/s or 424 Kbit/s can be selected as the transmission speed to communicate with the mobile device. The NFC device 202 of the mobile device can sense the RF field emitted by the NFC card reader. Specifically, the NFC antenna (or coil) of the mobile device 600 (eg, the cell phone 300, the smart watch 200) is an NFC card reader transmit antenna ( Or the load of the coil, such that the mobile device modulates the parameters of the antenna loop (such as resonance and detuning) so that the NFC reader is modulated so that the mobile device can transmit data back to the NFC reader at the same speed. Data transmission from the mobile device to the NFC reader with weak energy is achieved. The ability to obtain data backhaul through load modulation technology can significantly reduce mobile device power consumption and extend battery life.
上述情景信息是指移动设备所处的环境反应在该移动设备中的一些具体信息,也就是说移动设备所处的环境可以映射为移动设备中的一些信息,是移动设备所处的环境在该移动设备中的数据化。例如移动设备当前处在光线非常少的黑暗环境中,那么反应在该移动设备上则是由该移动设备上的相关传感器(例如环境光传感器)采集到的环境光强度等信息,这样就把移动设备所处的光环境反应在了移动设备上。再例如,移动设备所处的地理位置是北京,那么该环境反应在该移动设备上则是由移动设备的定位装置获取定位信息,然后由处理器进行处理得到移动设备的地理位置是北京。该情景信息还可以是该移动设备的时间,例如在移动设备感应到NFC射频场时,该移动设备所处的时间是周三早上8点。上述地理位置、时间等都可以作为后续确定模拟卡时的考虑参数之一。The above scenario information refers to some specific information that the environment in which the mobile device is located reacts in the mobile device, that is, the environment in which the mobile device is located may be mapped to some information in the mobile device, where the environment in which the mobile device is located is Dataization in mobile devices. For example, if the mobile device is currently in a dark environment with very little light, then the reaction on the mobile device is information such as the ambient light intensity collected by the relevant sensor on the mobile device (such as an ambient light sensor), so that the mobile The light environment in which the device is located reacts to the mobile device. For another example, if the geographical location of the mobile device is Beijing, then the environment response is obtained by the positioning device of the mobile device on the mobile device, and then processed by the processor to obtain the geographic location of the mobile device is Beijing. The context information may also be the time of the mobile device, for example, when the mobile device senses the NFC radio frequency field, the mobile device is at 8 am on Wednesday. The above geographical location, time, etc. can be used as one of the consideration parameters when determining the analog card.
该情景信息还可以是该移动设备所接收到的特定情景信息。该特定情景信息可以是指与NFC支付相关的业务信息,例如,该特定情景信息可以是移动设备通过蓝牙接收由蓝牙Beacon(如图8中的803)广播的广播消息,如该广播消息可以为:“好消息!12月3日至4日在北京使用招商银行信用卡进行NFC支付享受八折优惠”。移动设备可以根据该广播消息中的内容确定12月3日、4日这两天是招商银行信用卡在北京的支付优惠日,进而,移动设备将该特定情景信息保存在存储器中并作为后续确定NFC支付时的模拟卡的考虑参数之一。同样的,在Wi-Fi无线接入点(如图8中的802)所广播的消息中也可以包含与上述消息相同或相似的特定情景信息,而移动设备可以通过与该Wi-Fi无线接入点的Wi-Fi链接805接收到该特定情景信息。特定情景信息还可以是移动设备通过网络侧获取到的短消息、应用程序的即时消息等消息中的特定内容,该特定内容可以与上述蓝牙广播消息的内容相关或相似,表明与NFC支付相关的业务信息,例如Facebook好友发来一条即时消息:“12月3号在北京使用招商银行信用卡进行NFC支付可以打折哦!”,那么该移动设备通过 该即时消息能够获取一条与NFC支付相关的特定情景信息。The context information may also be specific context information received by the mobile device. The specific context information may refer to service information related to the NFC payment. For example, the specific context information may be that the mobile device receives the broadcast message broadcast by the Bluetooth Beacon (such as 803 in FIG. 8) through the Bluetooth, for example, the broadcast message may be : "Good news! Enjoy a 20% discount on NFC payments with China Merchants Bank Credit Card in Beijing from December 3rd to 4th." The mobile device can determine, according to the content in the broadcast message, that the two days on December 3 and 4 are the payment discount date of the China Merchants Bank credit card in Beijing, and then the mobile device saves the specific context information in the memory and determines NFC as a follow-up. One of the consideration parameters of the analog card when paying. Similarly, the message broadcasted by the Wi-Fi wireless access point (such as 802 in FIG. 8) may also include specific context information that is the same as or similar to the above message, and the mobile device may be connected to the Wi-Fi. The in-point Wi-Fi link 805 receives the specific context information. The specific context information may also be specific content in a message such as a short message acquired by the mobile device through the network side, an instant message of the application, or the like, and the specific content may be related to or similar to the content of the Bluetooth broadcast message, indicating that the NFC payment is related. Business information, such as Facebook friends sent an instant message: "On December 3, using China Merchants Bank credit card for NFC payment in Beijing can be discounted!", then the mobile device passed The instant message can obtain a specific context information related to the NFC payment.
在其他的一些实施例中,特定情景信息还可以是该移动设备所处的运动状态。移动设备通过上述实施例中提到的各种传感器采集到相关的数据,然后可以基于所采集到的数据来确定该移动设备所处的运动状态例如跑步、走路或静止等。举个例子,移动设备获取到的时间是周三早上7点半,获取到的地理位置是在某个公交站台,如果该移动设备的运动状态是静止,则表明用户是在站台等公交车,那么,移动设备可以确定出一张公交卡类型的模拟卡;如果获取到的该移动设备的运动状态是走路或跑步,则表明该用户只是经过上述公交站台,并不是要坐公交车,因此该移动设备可以不用确定使用哪张模拟卡。In some other embodiments, the specific context information may also be the state of motion of the mobile device. The mobile device collects relevant data through the various sensors mentioned in the above embodiments, and then can determine the motion state of the mobile device, such as running, walking, or stationary, based on the collected data. For example, the mobile device obtains the time at 7:30 am on Wednesday, and the acquired geographic location is at a certain bus stop. If the mobile device's motion state is still, it indicates that the user is on a bus such as a platform, then The mobile device can determine an analog card of the type of the bus card; if the acquired motion state of the mobile device is walking or running, it indicates that the user only passes the bus stop, and does not want to take the bus, so the mobile The device does not have to determine which analog card to use.
在其他的一些实施例中,上述特定情景信息还可以是该移动设备所处环境的天气信息。可以理解的是,本申请中的特定情景信息包括但不限于上述实施例中所举出的例子。In some other embodiments, the specific context information may also be weather information of an environment in which the mobile device is located. It can be understood that the specific context information in this application includes but is not limited to the examples cited in the above embodiments.
在本实施例中,当移动设备感应到NFC射频场时才去获取与该移动设备所处环境相关的情景信息,这样能够保证移动设备在需要用到情景信息的时去高效率地获取,也保证了在移动设备准备进行NFC支付时,获取到的情景信息的准确性、实时性,进一步保证了NFC支付的便利性和安全性。当然,在其他的一些实施例中,步骤601中获取与该移动设备所处环境相关的情景信息也可以发生在移动设备感应到NFC射频场之前,这样的好处是,移动设备能够随时处理相关情景信息,减少了在NFC支付时的一些操作步骤。在另外的一些实施例中,上述情景信息也可以在接收到用户的NFC支付指示时来获取,该NFC支付指示可以是用户的手指在手机300的触摸屏330上进行的手势操作,该手势操作可以是打开用于NFC支付的应用程序;还例如,该NFC支付指示还可以是双击移动设备的Home键。In this embodiment, when the mobile device senses the NFC radio frequency field, the context information related to the environment in which the mobile device is located is obtained, so that the mobile device can obtain high-efficiency information when the situation information is needed. It ensures the accuracy and real-time of the acquired situation information when the mobile device is ready to make NFC payment, which further ensures the convenience and security of NFC payment. Of course, in some other embodiments, obtaining context information related to the environment in which the mobile device is located in step 601 may also occur before the mobile device senses the NFC radio frequency field, which has the advantage that the mobile device can process related scenarios at any time. Information reduces some of the operational steps in NFC payments. In some other embodiments, the scenario information may also be obtained when the NFC payment indication of the user is received, and the NFC payment indication may be a gesture operation performed by the user's finger on the touch screen 330 of the mobile phone 300, and the gesture operation may be performed. The application for NFC payment is opened; for example, the NFC payment indication may also be a double tap of the Home button of the mobile device.
上述情景信息可以存储在移动设备的存储器中以便后续移动设备读取该情景信息并进行处理,也可以显示在移动设备的触摸屏上。一般来说,移动设备获取到的情景信息越多,对情景信息分析出的结果就越准确。所以,在另外的一些实施例中,情景信息可以包括至少以下三种:该移动设备所处的地理位置、时间、和特定情景信息,情景信息还可以包括例如该移动设备所处的地理位置的天气。当然,可以理解的是,情景信息不限于上述列举的例子。The above scenario information may be stored in a memory of the mobile device for subsequent mobile device to read and process the context information, or may be displayed on the touch screen of the mobile device. In general, the more context information a mobile device obtains, the more accurate the results of the scenario information analysis. Therefore, in some other embodiments, the context information may include at least three types: a geographical location, a time, and specific context information of the mobile device, and the context information may further include, for example, a geographic location where the mobile device is located. the weather. Of course, it can be understood that the context information is not limited to the examples listed above.
步骤602:基于上述获取到的情景信息,移动设备确定NFC支付的模拟卡。Step 602: Based on the acquired context information, the mobile device determines an analog card for the NFC payment.
模拟卡,即移动设备在卡模拟模式下所模拟出的射频卡,该模拟卡允许该移动设备通过NFC技术进行非接触式移动支付等。例如,当移动设备的NFC装置感应到NFC读卡器发出的NFC射频场时,该移动设备可以获取与该设备相关的如下情景信息:该移动设备所处的时间是周三早上八点,那么,移动设备基于上述情景信息(时间)即可确定移动设备所要使用的模拟卡为公交卡;再例如,当移动设备的NFC装置感应到NFC读卡器发射出的NFC射频场时,该移动设备可以获取到该移动设备当前的时间是周三早上八点、地理位置在深圳,那么,移动设备基于上述情景信息(时间和地理位置)确定所要使用的NFC模拟卡为“深圳通”(一种在深圳市公共交通系统中使用的NFC卡);在例如,当移动设备接收到用户的NFC支付指示时,该移动设备获取所处的地理位置是深圳的某家星巴克咖啡店,通过Wi-Fi无线接入点获取到的广播消息表明用招商银行信用卡进行NFC支付打八折(即特定情景信息),则该移动设备根据上述情景信息(地理位置和特定情景信息)确定NFC支 付所要使用的NFC模拟卡为招商银行信用卡。The analog card, that is, the RF card simulated by the mobile device in the card emulation mode, allows the mobile device to perform contactless mobile payment through NFC technology. For example, when the NFC device of the mobile device senses the NFC radio frequency field sent by the NFC card reader, the mobile device can obtain the following scenario information related to the device: the mobile device is in the morning at 8:00 am, then, The mobile device can determine that the analog card to be used by the mobile device is a bus card based on the above scenario information (time); for example, when the NFC device of the mobile device senses the NFC radio frequency field emitted by the NFC card reader, the mobile device can The current time to get the mobile device is 8:00 am on Wednesday and the location is in Shenzhen. Then, based on the above scenario information (time and geographical location), the mobile device determines that the NFC analog card to be used is “Shenzhen Tong” (a type in Shenzhen). The NFC card used in the public transportation system of the city; for example, when the mobile device receives the NFC payment instruction of the user, the mobile device acquires a geographical location in a Starbucks coffee shop in Shenzhen, and is connected via Wi-Fi. The broadcast message obtained by the entry point indicates that the NFC payment with the China Merchants Bank credit card is 20% off (ie, specific context information), then the mobile device is based on The above scenario information (geographic location and specific scenario information) determines the NFC branch The NFC simulation card to be used for payment is the China Merchants Bank Credit Card.
再例如,当移动设备的NFC装置感应到NFC读卡器发射出的NFC射频场时,该移动设备获取与该设备相关的如下情景信息:该移动设备当前的时间是周三早上8点,地理位置是深圳的某家星巴克咖啡店,通过服务集标识(SSID)名称为星巴克咖啡店的Wi-Fi无线接入点获取到的广播消息(即特定情景信息)表明用招商银行信用卡进行NFC支付打八折,所在地理位置的天气是暴雨……等等,移动设备可以同时获取上述多种情景信息。然后移动设备根据上述多种情景信息,分析、确定一种合适于移动设备所处环境的模拟卡,进而选择该模拟卡进行NFC支付。在一些实施例中,例如,可以基于上述情景信息对公交卡、银行卡分别进行分值计算。For another example, when the NFC device of the mobile device senses the NFC radio frequency field emitted by the NFC card reader, the mobile device acquires the following scenario information related to the device: the current time of the mobile device is 8:00 am on Wednesday, the geographic location It is a Starbucks coffee shop in Shenzhen. The broadcast message (ie, specific context information) obtained by the service set identifier (SSID) name for the Wi-Fi wireless access point of the Starbucks coffee shop indicates that the NFC payment is made with the China Merchants Bank credit card. Fold, the weather in the geographical location is heavy rain...etc., the mobile device can simultaneously obtain the above various scene information. Then, the mobile device analyzes and determines an analog card suitable for the environment in which the mobile device is located according to the foregoing multiple context information, and then selects the analog card for NFC payment. In some embodiments, for example, the bus card and the bank card may be separately scored based on the above scenario information.
ST=KD/DT+ET*KS+inTraficTime(time)*KT      (1)S T =K D /D T +E T *K S +inTraficTime(time)*K T (1)
SP=KD/DP+EP*KS       (2)S P =K D /D P +E P *K S (2)
上述公式(1)为公交卡分值ST计算方法,其中:KD表示公交卡的距离权重系数,DT表示与移动设备距离最近公交站、地铁站的距离。若距离大于500m,则认为附近没有公交站点;距离小于1米,按1米计算。ET表示公交站Wi-Fi无线接入点的信号强度,KS表示Wi-Fi无线接入点的信号强度的权重系数,其中KS>KD。InTraficTime(time)函数,若输入的时间为早晚高峰(例如06:00-09:30为上班早高峰,17:00-20:00为下班晚高峰),则值为1,反之为0。KT表示早晚高峰时间的权重系数。上述公式(2)为银行卡分值SP计算方法,其中:DP表示与移动设备距离最近商店的距离。若距离大于500m,则认为附近没有商店;距离小于1米,按1米计算。EP表示商店Wi-Fi无线接入点、蓝牙beacon的信号强度。KS表示Wi-Fi无线接入点、蓝牙beacon的信号强度的权重系数。The above formula (1) is a bus card score S T calculation method, wherein: K D represents the distance weight coefficient of the bus card, and D T represents the distance between the nearest bus stop and the subway station from the mobile device. If the distance is greater than 500m, it is considered that there is no bus stop nearby; the distance is less than 1 meter, calculated by 1 meter. E T represents the signal strength of the bus station Wi-Fi wireless access point, and K S represents the weight coefficient of the signal strength of the Wi-Fi wireless access point, where K S >K D . InTraficTime (time) function, if the input time is morning and evening peak (for example, 06:00-09:30 is the morning peak of work, 17:00-20:00 is the peak of work late), the value is 1, and vice versa. K T represents the weighting factor of morning and evening peak hours. The above formula (2) is a bank card score S P calculation method, where: D P represents the distance from the nearest store to the mobile device. If the distance is greater than 500m, it is considered that there is no store nearby; the distance is less than 1 meter, calculated by 1 meter. E P represents the signal strength of the store Wi-Fi access point and Bluetooth beacon. K S represents the weighting coefficient of the signal strength of the Wi-Fi wireless access point and the Bluetooth beacon.
比较公式(1)中公交卡分值ST和公式(2)中的银行卡分值SP,分值大者即为确定出的模拟卡(公交卡或银行卡)。Compare the bus card score S T in formula (1) with the bank card score S P in formula (2), and the larger score is the determined analog card (bus card or bank card).
在另外的一些实施例中,如果确定出的模拟卡是银行卡,则移动设备可以进一步判断是否有相关商店的活动信息,如果有相关优惠活动,则以有活动的银行卡为选择进行NFC支付的卡片;如果有多家银行都有优惠活动,则以商店推荐的银行卡来选择模拟卡。In some other embodiments, if the determined analog card is a bank card, the mobile device may further determine whether there is activity information of the relevant store, and if there is a related preferential activity, perform an NFC payment with the active bank card as an option. Cards; if there are multiple banks with promotions, use the bank card recommended by the store to select the card.
由上可知,移动设备能在适当的时候获取各种情景信息,并对获取到的各种情景信息进行分析处理,最后确定需要进行NFC支付的模拟卡。这样就能够使得上述移动设备在进行NFC支付时更加智能化,进而提高了移动设备的效率,同时也减少了用户的操作,提高了进行NFC支付的用户体验。It can be seen from the above that the mobile device can acquire various scenario information at an appropriate time, analyze and process the acquired various scenario information, and finally determine the analog card that needs to perform NFC payment. In this way, the mobile device can be made more intelligent when performing NFC payment, thereby improving the efficiency of the mobile device, reducing the operation of the user, and improving the user experience for performing NFC payment.
步骤603:移动设备基于所确定的模拟卡,生成模拟卡选择指令;Step 603: The mobile device generates an analog card selection instruction based on the determined analog card.
步骤604:移动设备根据该模拟卡选择指令,选择相应的模拟卡;Step 604: The mobile device selects a corresponding analog card according to the analog card selection instruction.
步骤605:移动设备根据所选择的模拟卡,与NFC读卡器进行NFC支付。 Step 605: The mobile device performs NFC payment with the NFC card reader according to the selected analog card.
在一些实施例中,移动设备可以根据上述情景信息确定出NFC模拟卡,并生成模拟卡选择指令发送给该移动设备中与NFC支付相关的应用程序,然后由应用程序根据该模拟卡选择指令来选择相应的模拟卡;最后用该模拟卡与NFC读卡器通信,进行NFC支付。一般而言,移动设备可以通过负载调制技术向NFC读卡器回传与支付相关的数据。In some embodiments, the mobile device may determine an NFC analog card according to the above scenario information, and generate an analog card selection command to send to the mobile device an application related to the NFC payment, and then the application according to the analog card selection instruction. Select the corresponding analog card; finally use the analog card to communicate with the NFC reader for NFC payment. In general, the mobile device can return payment-related data to the NFC reader through load modulation techniques.
在其他的一些实施例中,步骤603可以具体包括:In some other embodiments, step 603 may specifically include:
步骤6031:移动设备提示用户是否使用所确定的所述模拟卡;Step 6031: The mobile device prompts the user whether to use the determined analog card.
步骤6032:移动设备确定是否接收到用户的确认使用的指示。当接收到用户的确认使用的指示后,再执行步骤6033,当接收到用户的确认不使用的指示后,可以执行步骤6034;Step 6032: The mobile device determines whether an indication of the user's confirmation use is received. After receiving the indication of the user's confirmation use, step 6033 is performed, and after receiving the indication that the user's confirmation is not used, step 6034 may be performed;
步骤6033:生成模拟卡选择指令,执行步骤604;Step 6033: Generate an analog card selection instruction, and perform step 604;
步骤6034:接收用户的模拟卡选择指令,执行步骤604。本实施例的场景适用于:在移动设备基于上述情景信息确定了模拟卡,提示给用户进行再次确认时,却接收到用户的确认不使用的指示,然后用户自己手动去选择一张模拟卡进行NFC支付的情况。当然,在另外的一些实施例中,当移动设备接收到用户的确认不使用的指示后,用户也可以不选择其他模拟卡而放弃(终止)NFC支付,在这种场景下,为了节省电量,移动设备可以断开NFC的电源,使其不能进行NFC支付。当下次用户需要使用NFC时,用户可以通过打开设置中的NFC开关,来开启NFC支付功能。Step 6034: Receive the user's analog card selection instruction, and perform step 604. The scenario in this embodiment is applicable to: when the mobile device determines the analog card based on the scenario information, and prompts the user to re-confirm, but receives an indication that the user does not use the confirmation, and then the user manually selects an analog card to perform the process. The situation of NFC payments. Of course, in some other embodiments, after the mobile device receives the indication that the user's confirmation is not used, the user may also abandon (terminate) the NFC payment without selecting another analog card. In this scenario, in order to save power, The mobile device can disconnect the NFC from the power supply, making it impossible to make NFC payments. When the user needs to use NFC next time, the user can turn on the NFC payment function by turning on the NFC switch in the setting.
在另外的一些实施例中,上述基于NFC进行数据传输的方法还可以包括以下步骤:In some other embodiments, the foregoing method for data transmission based on NFC may further include the following steps:
步骤606:移动设备接收到网络侧发送的支付响应消息;该支付响应消息可以是指示NFC支付成功的消息,也可以指示NFC支付失败的消息;Step 606: The mobile device receives the payment response message sent by the network side; the payment response message may be a message indicating that the NFC payment is successful, and may also indicate a message that the NFC payment fails;
步骤607:移动设备基于所述支付响应消息,提示用户。Step 607: The mobile device prompts the user based on the payment response message.
当该支付响应消息表明NFC支付成功时,移动设备基于该消息,提示用户NFC支付成功;反之,当该支付响应消息表明NFC支付失败时。移动设备基于该消息,提示用户NFC支付失败。提示/提醒的方式可以是多种,例如点亮触摸屏330并在触摸屏330中显示NFC支付成功或者失败的消息以便提示用户,或者通过扬声器361播放相关音频来提示用户,或者通过振动来提示用户,也可以同时采用上述三种方式进行提示。When the payment response message indicates that the NFC payment is successful, the mobile device prompts the user that the NFC payment is successful based on the message; otherwise, when the payment response message indicates that the NFC payment failed. Based on the message, the mobile device prompts the user to fail the NFC payment. The manner of prompting/reminding may be various, such as lighting the touch screen 330 and displaying a message of success or failure of the NFC payment in the touch screen 330 to prompt the user, or prompting the user by playing the related audio through the speaker 361, or prompting the user by vibration. You can also use the above three methods to prompt at the same time.
可以理解的是,在另外一些实施例中,为了节省电量,也为了进一步简化用户的操作,上述方法步骤均可以在关闭移动设备的触摸屏电源的情况下进行。当然,为了使得处理的结果更准确,移动设备也可以在需要时点亮屏幕,以便用户进行确认。It can be understood that in other embodiments, in order to save power and to further simplify the operation of the user, the above method steps can be performed with the touch screen power of the mobile device turned off. Of course, in order to make the result of the processing more accurate, the mobile device can also light up the screen when needed for the user to confirm.
图8为一些实施例中NFC支付所涉及的网络框架示意图。如图8所示,在NFC读卡器500接收到移动设备(例如手机300)回传的与支付相关的支付数据后,NFC读卡器500将得到的支付数据进行初步处理,然后将处理结果通过无线链路804发送给网络侧的服务器801,该服务器801主要作用是对NFC支付业务分发、鉴权等操作,当服务器801接收到该处理结果后,服务器801会通过无线链路806向手机300发送NFC支付成功的消息(也即上述支付响应消息),然后手机300在接收到服务器801发送的NFC支付成功的消息后,会在该手机300上提示相关消息以表明NFC支付成功,以便用户及时获知移动支付成功的消息;或者手机300可以将支付成功的消息通过无线链路807(通常是蓝牙链路等)发送给智能手表200,智能手表200在收到消息后,在显示屏201上显 示支付成功的消息。可以理解的是,服务器801也可以通过无线链路向智能手表200下发移动支付成功的消息而不经过手机300。在另外的一些实施例中,为了进一步保证NFC支付安全,NFC读卡器500在接收到移动设备回传的与支付相关的支付数据后,NFC读卡器500对该支付数据进行初步加密处理后,可以通过无线链路804发送给网络侧的服务器801,服务器801对该加密处理后的支付数据进行鉴权处理,并可以在鉴权通过后通过无线链路804向NFC读卡器500下发鉴权结果例如NFC支付鉴权通过的消息,当然,服务器801也可以通过无线链路806向移动设备(例如手机300)下发鉴权结果即移动支付予以确认的通知。FIG. 8 is a schematic diagram of a network framework involved in NFC payment in some embodiments. As shown in FIG. 8, after the NFC card reader 500 receives the payment-related payment data returned by the mobile device (for example, the mobile phone 300), the NFC card reader 500 performs preliminary processing on the obtained payment data, and then processes the result. The server 801 is sent to the server 801 on the network side through the wireless link 804. The server 801 mainly functions to perform NFC payment service distribution, authentication, and the like. After the server 801 receives the processing result, the server 801 sends the mobile phone 806 to the mobile phone. 300 sends a message that the NFC payment is successful (that is, the above payment response message), and then after receiving the message that the NFC payment succeeded by the server 801, the mobile phone 300 prompts the relevant message on the mobile phone 300 to indicate that the NFC payment is successful, so that the user The mobile phone 300 can send a message that the payment is successful to the smart watch 200 via the wireless link 807 (usually a Bluetooth link, etc.), and the smart watch 200 displays the message on the display 201 after receiving the message. Display A message indicating the success of the payment. It can be understood that the server 801 can also send a message of successful mobile payment to the smart watch 200 through the wireless link without passing through the mobile phone 300. In still other embodiments, in order to further ensure NFC payment security, after receiving the payment related payment data returned by the mobile device, the NFC card reader 500 performs preliminary encryption processing on the payment data. The server 801 can be sent to the server 801 on the network side through the wireless link 804. The server 801 performs authentication processing on the encrypted payment data, and can deliver the data to the NFC card reader 500 through the wireless link 804 after the authentication is passed. The authentication result is, for example, a message that the NFC payment authentication passes. Of course, the server 801 can also send a notification of the authentication result, that is, the mobile payment confirmation, to the mobile device (for example, the mobile phone 300) via the wireless link 806.
用户还可以在智能手表200上设置进行NFC支付的默认模拟卡。示例性的,如图9A所示,手表200的触摸屏201上显示有NFC支付的菜单选项。其中,NFC模拟卡可以包括各种类型的卡片,例如图标901表明是银行卡,图标902是公交卡,图标903为门禁卡,图标904表明用户选定的NFC支付默认的模拟卡是公交卡。当用户点击图标902时,在智能手表的触摸屏中显示公交卡的下一级菜单,如图9B所示。在该下一级菜单中,如图标9021为名称为武汉通的NFC公交卡,图标9022为名称为深圳通的NFC公交卡,图标9023为名称为羊城通(一种在广州市公共交通系统中使用的模拟卡卡)的NFC公交卡,图标905表明该智能手表所处的地理位置与深圳通公交卡默认使用的地理位置(深圳)是一致的,在另外的一些实施例中,图标905也可以在图标9021的后面(如图9C所示),表明该智能手表所处的地理位置是与武汉通公家卡所使用的地理位置(武汉)是一致的,而图标904表明用户设置的默认公交卡是武汉通。所以从图9C来看,用户设置的默认公交卡(武汉通)正好与该移动设备所处的地理位置(武汉)一致,因此该设置是合适的。通过上述图标904、图标905,用户在设置默认的NFC支付的模拟卡时,能够从图形用户界面(以下简称GUI)上给用户一种直观的感觉,这样的话移动设备能够更好的协助用户选择合适的默认NFC模拟卡。在另外的一些实施例中,如图9C所示,该移动设备所处的地理位置与用户设置的默认进行NFC支付的模拟卡不一致,那么该移动设备可以通过扬声器361来提示用户“你当前设置的默认NFC支付的武汉通与你所处的深圳不一致,是否将默认改为深圳通?”,或者如图9D所示,通过在触摸屏201上弹出提示框906来提示用户是否更改NFC支付的默认模拟卡,当用户点击图标908后,移动设备接收到用户的触摸事件并确定用户希望更改当前设置的NFC支付的默认模拟卡,则移动设备自动将默认模拟卡改为深圳通,如图9E所示,图标904和图标905分别在图标9022“深圳通”的两侧,表明设置的默认模拟卡“深圳通”与该移动设备所处的地理位置(深圳)是一致的。在上述实施例中,是移动设备基于用户设置的默认模拟卡(例如公交卡)与该移动设备所处的地理位置,来判断用户手动设置的默认模拟卡是否合适,这种用户手动设置结合移动设备自动设置的方式,可以更高效地选择进行NFC支付的默认模拟卡,以便下次NFC支付时进行快速支付。The user can also set a default analog card for NFC payment on the smart watch 200. Illustratively, as shown in FIG. 9A, a menu option of NFC payment is displayed on the touch screen 201 of the watch 200. The NFC emulation card may include various types of cards, for example, the icon 901 indicates a bank card, the icon 902 is a bus card, the icon 903 is an access card, and the icon 904 indicates that the default analog card selected by the user for the NFC payment is a bus card. When the user clicks on the icon 902, the next menu of the bus card is displayed on the touch screen of the smart watch, as shown in FIG. 9B. In the next level menu, for example, icon 9021 is an NFC bus card named Wuhan Tong, icon 9022 is an NFC bus card named Shenzhen Tong, and icon 9023 is named Yangchengtong (a type of public transportation system in Guangzhou). The NFC bus card of the analog card used, the icon 905 indicates that the geographical location of the smart watch is consistent with the geographic location (Shenzhen) used by the Shenzhen Express bus card by default. In other embodiments, the icon 905 is also It can be behind the icon 9021 (as shown in FIG. 9C), indicating that the geographic location of the smart watch is consistent with the geographic location (Wuhan) used by the Wuhan Tonggong card, and the icon 904 indicates the default bus set by the user. The card is Wuhan Tong. Therefore, from FIG. 9C, the default bus card (Wuhantong) set by the user is exactly the same as the geographical location (Wuhan) where the mobile device is located, so the setting is suitable. Through the above icon 904 and icon 905, when setting the default NFC payment analog card, the user can give the user an intuitive feeling from the graphical user interface (hereinafter referred to as GUI), so that the mobile device can better assist the user in selecting. A suitable default NFC emulation card. In some other embodiments, as shown in FIG. 9C, the geographic location of the mobile device is inconsistent with the default card for the NFC payment set by the user, and the mobile device can prompt the user through the speaker 361 "Your current setting. The default NFC payment for Wuhan is inconsistent with the Shenzhen you are in, whether it will be changed to Shenzhen by default?", or as shown in Figure 9D, by prompting the prompt box 906 on the touch screen 201 to prompt the user to change the default of NFC payment. The analog card, when the user clicks on the icon 908, the mobile device receives the touch event of the user and determines that the user wants to change the default analog card of the currently set NFC payment, the mobile device automatically changes the default analog card to Shenzhen Tong, as shown in FIG. 9E. The icon 904 and the icon 905 are respectively on the two sides of the icon 9022 "Shenzhen Tong", indicating that the set default analog card "Shenzhen Tong" is consistent with the geographical location (Shenzhen) where the mobile device is located. In the above embodiment, the mobile device determines whether the default analog card manually set by the user is suitable based on the default analog card (such as a bus card) set by the user and the geographical location of the mobile device. The way the device is automatically set up can more efficiently select the default analog card for NFC payment, so that the next NFC payment can be quickly paid.
在图9F中,当用户在触摸屏201上做出向上滑动的触摸手势后,触摸屏201上显示的GUI可以以动画形式向下展示出更多的图标,例如图标9024。当用户选定图标9024(“自动选择”)时,表明移动设备可以基于该移动设备所接收到的各种情景信息来自动设置进行NFC支付时默认使用的模拟卡。可以理解的是,上述实施例中的步骤均可以在该自动选择默认的模拟卡的场景下进行。这样的自动设置方式进一步提高了NFC支付的效率,也使得移动设备更加智能化,也提高了用户体验。 In FIG. 9F, when the user makes a touch gesture of sliding up on the touch screen 201, the GUI displayed on the touch screen 201 can display more icons downward, such as the icon 9024, in an animated form. When the user selects the icon 9024 ("Auto Select"), it indicates that the mobile device can automatically set the analog card that is used by default when performing NFC payment based on various context information received by the mobile device. It can be understood that the steps in the foregoing embodiments can be performed in the scenario of automatically selecting a default analog card. This automatic setting method further improves the efficiency of NFC payment, and also makes the mobile device more intelligent and improves the user experience.
在一些实施例中,移动设备还可以设置进行NFC支付时所使用的模拟卡的优先级。例如,移动设备可以根据用户之前的使用习惯(例如NFC支付的使用频率),确定公交卡的支付优先级最高,门禁卡优先级次之,银行卡优先级最低。在该场景下,当用户需要选择模拟卡进行NFC支付时,移动设备优先提供给用户的模拟卡是某张公交卡,在接收到用户拒绝了该公交卡的操作之后,移动设备可以再提供给用户一张门禁卡,直至用户接受了某张模拟卡为止。在另外的一些实施例中,移动设备还可以根据所获取到的各种情景信息对NFC支付的优先级进行自动调整。In some embodiments, the mobile device can also set the priority of the analog card used in making the NFC payment. For example, the mobile device can determine that the payment priority of the bus card is the highest, the priority of the access card is second, and the priority of the bank card is the lowest according to the user's previous usage habits (for example, the frequency of use of the NFC payment). In this scenario, when the user needs to select an analog card for NFC payment, the analog card that the mobile device preferentially provides to the user is a bus card. After receiving the operation that the user rejects the bus card, the mobile device can provide the mobile device again. The user has an access card until the user accepts an analog card. In some other embodiments, the mobile device can also automatically adjust the priority of the NFC payment according to the acquired various context information.
示例性的,如图10所示,为一些实施例中的移动设备(例如手机300)的触摸屏330上显示的GUI。该GUI显示了三个主界面中的其中一个,所显示的主界面中有各种应用程序的图标及其他控件,例如图标1001表明名称为“卡包”的应用程序,当用户的手指1002触摸到该图标1001时,该应用程序即被打开,该应用程序的GUI显示在触摸屏上。图11是应用程序“卡包”被打开后所显示出的一个示例性的GUI。在该GUI中,显示了三种模拟卡类型所包含的各种卡;其中,归类在银行卡1101中的模拟卡包括招商银行信用卡、中国银行储蓄卡和花旗银行信用卡,归类在公交卡1102中的模拟卡包括羊城通、武汉通和深圳通,归类在门禁卡1103中的模拟卡包括家里的门禁卡和公司门禁卡。可以理解的是,在该应用程序中也可以包括利用条码(例如二维码等)进行移动支付的其他卡。Illustratively, as shown in FIG. 10, is a GUI displayed on touch screen 330 of a mobile device (e.g., handset 300) in some embodiments. The GUI displays one of three main interfaces, and the displayed main interface has icons of various applications and other controls, for example, the icon 1001 indicates an application named "card package" when the user's finger touches 1002. When the icon 1001 is reached, the application is opened and the GUI of the application is displayed on the touch screen. Figure 11 is an exemplary GUI displayed after the application "card package" is opened. In the GUI, various cards included in the three types of analog cards are displayed; among them, the analog cards classified in the bank card 1101 include China Merchants Bank Credit Card, Bank of China Savings Card and Citibank Credit Card, which are classified in the bus card. The analog cards in 1102 include Yangchengtong, Wuhantong and Shenzhentong, and the analog cards classified in the access control card 1103 include the home access card and the company access card. It will be appreciated that other cards that utilize mobile barcodes (eg, two-dimensional codes, etc.) for mobile payments may also be included in the application.
在移动设备接收到用户的指令打开该应用程序时,表明用户需要选择一张模拟卡进行NFC支付。此时,该移动设备可以获取与该移动设备所处环境相关的情景信息。然后该移动设备基于获取到的情景信息自动确定需要选择的模拟卡。如图12所示,移动设备可以提示用户是否使用这张模拟卡。在图12中,移动设备的触摸屏上显示一个被放大的模拟卡图标1202,该图标1202表明该移动设备基于获取到的情景信息所确定的模拟卡是招商银行信用卡,同时,该应用程序中的其他模拟卡被缩小堆叠在一起,如图标1203所示。提示框1201表明移动设备需要用户确认是否使用这张模拟卡;当用户点击图标1204时,表明用户同意选择移动设备自动确定的这张模拟卡来进行NFC支付。如图13所示,在选定了模拟卡之后,该移动设备需要靠近NFC读卡器以便进行数据传输,因此为了进一步提示用户,可以在触摸屏330上显示提示框1301、1302,用以向用户表明NFC支付正在进行,靠近NFC读卡器以便完成支付。如图14所示,在用该模拟卡完成NFC支付后,可以在触摸屏330上显示提示框1401用以表明NFC支付成功,也可以在提示框1402中显示用该模拟卡进行NFC支付时的一些NFC支付信息,例如NFC支付时的支付地点(图中为深圳市星巴克咖啡店)、支付金额、支付时间等。在另外的一些实施例中,移动设备可以将上次或者历史上所有的NFC支付时的上述基本信息存储在存储器320中,该移动设备可以基于上述实施例中获取到的情景信息和上述NFC支付信息,来确定移动设备需要选择的模拟卡,这样也是为了更智能更准确地向用户提供模拟卡。When the mobile device receives the user's instruction to open the application, it indicates that the user needs to select an analog card for NFC payment. At this time, the mobile device can acquire context information related to the environment in which the mobile device is located. The mobile device then automatically determines the analog card to be selected based on the acquired context information. As shown in Figure 12, the mobile device can prompt the user whether to use this analog card. In FIG. 12, an enlarged analog card icon 1202 is displayed on the touch screen of the mobile device, and the icon 1202 indicates that the analog card determined by the mobile device based on the acquired context information is a Merchants Bank credit card, and at the same time, in the application Other analog cards are shrunk stacked together as shown by icon 1203. The prompt box 1201 indicates that the mobile device needs the user to confirm whether to use the analog card; when the user clicks on the icon 1204, it indicates that the user agrees to select the analog card automatically determined by the mobile device to perform NFC payment. As shown in FIG. 13, after the analog card is selected, the mobile device needs to be close to the NFC card reader for data transmission, so in order to further prompt the user, the prompt box 1301, 1302 can be displayed on the touch screen 330 for the user. Indicates that NFC payments are in progress, close to the NFC reader to complete the payment. As shown in FIG. 14 , after the NFC payment is completed by using the analog card, a prompt box 1401 may be displayed on the touch screen 330 to indicate that the NFC payment is successful, and some of the NFC payment using the analog card may also be displayed in the prompt box 1402. NFC payment information, such as the payment location at the time of NFC payment (in the picture, Shenzhen Starbucks Coffee Shop), payment amount, payment time, etc. In still other embodiments, the mobile device may store the above basic information at the time of the last or historical NFC payment in the memory 320, and the mobile device may be based on the context information acquired in the above embodiment and the above NFC payment. Information to determine the analog card that the mobile device needs to select, in order to provide the user with an analog card more intelligently and more accurately.
在另外的一些实施例中,移动设备可以在感应到NFC射频场时,获取上述与该移动设备所处环境相关的情景信息;并且在基于上述情景信息确定了所需的NFC支付的模拟卡时,移动设备点亮触摸屏,并可以在锁屏界面下,提示用户是否选择自动确定的模拟卡。如图15所示,在移动设备基于上述情景信息确定了模拟卡时,移动设备的触摸屏被点亮,此时触摸屏上显示锁屏界面,图标1503即表明移动设备是锁屏界面,在锁屏界面上还可以显示所确定的模拟卡如图标1501,用提示框1502 对用户进行提示,以便用户确认是否需要用所确定的模拟卡进行NFC支付;用户可以按下处于移动设备底部的实体按键1504,此操作表明移动设备自动确定的模拟卡得到用户的确认,然后移动设备根据用户的确认,选择所确定的模拟卡进行NFC支付;NFC支付完成后,锁屏界面上可以显示NFC支付成功的信息;并可以在显示一预定时间(例如5秒钟)后,熄灭触摸屏。另外,如果是在锁屏情况下进行NFC支付,那么可以在NFC支付成功后不显示相关支付信息(例如支付地点、支付时间、支付金额等),而需要在用户解锁屏幕之后才能看到该支付信息,这样也就进一步保证了NFC支付的安全。In still other embodiments, the mobile device may acquire the above-mentioned context information related to the environment in which the mobile device is located when sensing the NFC radio frequency field; and when determining the required analog card for the NFC payment based on the scenario information. The mobile device lights up the touch screen, and can prompt the user to select an automatically determined analog card under the lock screen interface. As shown in FIG. 15, when the mobile device determines the analog card based on the scenario information, the touch screen of the mobile device is illuminated. At this time, the lock screen is displayed on the touch screen, and the icon 1503 indicates that the mobile device is a lock screen interface, and the lock screen is displayed. The determined analog card, such as icon 1501, can also be displayed on the interface, with a prompt box 1502. Prompting the user to confirm whether the NFC payment needs to be made with the determined analog card; the user can press the physical button 1504 at the bottom of the mobile device, which indicates that the analog card automatically determined by the mobile device is confirmed by the user, and then moved The device selects the determined analog card for NFC payment according to the confirmation of the user; after the NFC payment is completed, the NFC payment success information can be displayed on the lock screen interface; and the touch screen can be extinguished after being displayed for a predetermined time (for example, 5 seconds). . In addition, if the NFC payment is made in the case of a lock screen, the relevant payment information (such as payment place, payment time, payment amount, etc.) may not be displayed after the NFC payment is successful, and the payment needs to be displayed after the user unlocks the screen. Information, which further ensures the security of NFC payments.
在另外的一些实施例中,当用户在锁屏情况下进行NFC支付时,还可以结合生物特征信息(例如指纹、虹膜等)验证来进一步提高NFC支付的安全性。例如,在上述实施例中,当移动设备选择了所确定的模拟卡时,该移动设备进一步提示用户需要进行指纹或者虹膜验证才能进行下一步的NFC支付。在用户通过指纹或虹膜验证后,才能进行NFC支付。In still other embodiments, when the user performs NFC payment in the case of a lock screen, biometric information (eg, fingerprint, iris, etc.) verification may also be combined to further improve the security of the NFC payment. For example, in the above embodiment, when the mobile device selects the determined analog card, the mobile device further prompts the user to perform fingerprint or iris verification to perform the next NFC payment. NFC payment can only be made after the user has verified by fingerprint or iris.
在另外的一些实施例中,移动设备可以在不点亮屏幕的情况下,对卡进行自动选择并支付,不需要用户的任何操作,特别是在所确定的模拟卡是某张公交卡的时候。这样可以简化操作步骤,提高用户体验。In still other embodiments, the mobile device can automatically select and pay for the card without lighting the screen, without any operation by the user, especially when the determined analog card is a bus card. . This simplifies the steps and improves the user experience.
在另外的一些实施例中,移动设备(例如手机300、智能手表200等)也可以结合网络侧相关的服务器来实现NFC模拟卡的选择。在本实施例中,NFC支付系统框架如图16A所示,分为情景服务器和安装在移动设备上的客户端两个部分。情景服务器主要根据客户端上报的与移动设备相关的情景信息,确定出该移动设备的用户当前的刷卡期望。客户端根据情景服务器的分析结果,动态设置默认的模拟卡。如图17所示,该技术方案可以包括以下步骤:In some other embodiments, the mobile device (eg, mobile phone 300, smart watch 200, etc.) may also implement selection of an NFC analog card in conjunction with a server associated with the network side. In this embodiment, the NFC payment system framework is divided into two parts: a scenario server and a client installed on the mobile device, as shown in FIG. 16A. The scenario server determines the current card swiping expectation of the user of the mobile device based on the scenario information related to the mobile device reported by the client. The client dynamically sets the default analog card based on the analysis results of the scenario server. As shown in FIG. 17, the technical solution may include the following steps:
步骤1701:移动设备获取与该移动设备相关的情景信息;在本实施例中,主要是通过图16A中的情景智能模块搜集情景信息。Step 1701: The mobile device acquires context information related to the mobile device. In this embodiment, the scenario information is collected mainly through the scenario intelligence module in FIG. 16A.
步骤1702:移动设备将获取到的情景信息通过无线通信网络发送给情景服务器;Step 1702: The mobile device sends the acquired context information to the scenario server through the wireless communication network.
步骤1703:情景服务器基于该移动设备上报的情景信息,确定移动设备的NFC支付场景。例如,情景信息是该移动设备所处的地理位置在深圳某家星巴克咖啡店,则情景服务器确定当前是银行卡消费的NFC支付场景;再例如情景信息是该移动设备所处的地理位置在深圳,时间是周三上午8点,则情景服务器确定当前是深圳市公交卡的NFC支付场景。可以理解的是,情景信息至少可以包括以上实施例中所涉及的各种类型的情景信息,本实施例对情景信息不做具体限制。Step 1703: The scenario server determines an NFC payment scenario of the mobile device based on the scenario information reported by the mobile device. For example, the context information is that the location of the mobile device is in a Starbucks coffee shop in Shenzhen, and the scenario server determines that the NFC payment scenario is currently consumed by the bank card; for example, the context information is that the location of the mobile device is in Shenzhen. The time is 8:00 am on Wednesday, then the scenario server determines that it is currently the NFC payment scenario for the Shenzhen bus card. It can be understood that the scenario information may include at least various types of scenario information involved in the foregoing embodiments, and the embodiment does not specifically limit the scenario information.
步骤1704:情景服务器根据确定的NFC支付场景生成NFC配置参数并发送给该移动设备;所述NFC配置指令用于指示该移动设备对进行NFC支付的默认模拟卡进行配置。例如,当前是深圳市公交卡的NFC支付场景,则NFC配置参数为配置默认公交卡为深圳通。示例性地,在图16A张,由情景智能应用程序(App)接收网络侧的情景服务器发送的NFC配置参数。Step 1704: The scenario server generates an NFC configuration parameter according to the determined NFC payment scenario and sends the NFC configuration parameter to the mobile device. The NFC configuration command is used to instruct the mobile device to configure a default analog card for performing NFC payment. For example, the current NFC payment scenario for the Shenzhen bus card is the NFC configuration parameter for configuring the default bus card to be Shenzhen Tong. Illustratively, in FIG. 16A, the NFC configuration parameters sent by the scenario server on the network side are received by the contextual intelligence application (App).
步骤1705:该移动设备接收该NFC配置参数,并根据所述NFC配置参数对模拟卡进行配置。具体地,情景智能模块根据收到的NFC配置参数,通知系统设置模块对默认的模拟卡进行设置,系统设置模块根据上述NFC配置参数,对应用层的各类NFC支付相关的应用程序进行配置,例如,在图16A中对系统钱包App设置进行NFC支付的默认模拟卡为招商银行信用卡(一种银行卡),对 运营商钱包App设置进行NFC支付的默认模拟卡为深圳通(一种公交卡)。Step 1705: The mobile device receives the NFC configuration parameter, and configures the analog card according to the NFC configuration parameter. Specifically, the scenario intelligence module notifies the system setting module to set a default analog card according to the received NFC configuration parameter, and the system setting module configures various NFC payment related application programs at the application layer according to the NFC configuration parameter. For example, the default emulation card for NFC payment for the system wallet App in FIG. 16A is a Merchants Bank credit card (a bank card), The default emulation card for the NFC payment of the operator's wallet App is Shenzhen Tong (a type of bus card).
步骤1706:移动设备根据配置好的默认模拟卡,与NFC读卡器进行NFC支付。Step 1706: The mobile device performs NFC payment with the NFC card reader according to the configured default analog card.
本实施例通过移动设备与情景服务器之间的通信,并利用情景服务器强大的数据处理能力来确定默认的模拟卡,提高了移动设备的处理效率,也避免了移动设备的资源浪费。In this embodiment, the communication between the mobile device and the scenario server is utilized, and the powerful analog data processing capability of the scenario server is used to determine the default analog card, thereby improving the processing efficiency of the mobile device and avoiding waste of resources of the mobile device.
在另外的一些实施例中,如果上述移动设备(例如手机300)通过短距离通信协议(例如蓝牙)与另一个移动设备(例如智能手表200)建立了无线连接,那么,上述步骤1706可以具体包括:In still other embodiments, if the mobile device (eg, mobile phone 300) establishes a wireless connection with another mobile device (eg, smart watch 200) via a short-range communication protocol (eg, Bluetooth), then step 1706 above may specifically include :
步骤1706-1:手机通过上述短距离通信协议向智能手表发送上述NFC配置参数;Step 1706-1: The mobile phone sends the foregoing NFC configuration parameter to the smart watch through the short-distance communication protocol.
步骤1706-2:该智能手表接收该NFC配置参数,并根据该配置参数配置模拟卡;Step 1706-2: the smart watch receives the NFC configuration parameter, and configures the analog card according to the configuration parameter;
步骤1706-3:智能手表根据配置好的模拟卡,与NFC读卡器进行NFC支付。Step 1706-3: The smart watch performs NFC payment with the NFC card reader according to the configured analog card.
示例性地,如图16B所示,为本发明实施例的一个具体应用场景。网络侧情景服务器基于手机中的情景智能App上报的情景信息,分析并确定进行NFC支付时的模拟卡,并将该模拟卡的配置参数发送给情景智能App;该情景智能App根据上述配置参数,在手表钱包App中设置模拟卡;手表钱包App将上述配置参数通过短距离通信协议同步到智能手表的钱包App中;智能手表根据同步过来的配置参数设置进行NFC支付的模拟卡;最后,智能手表感应到NFC读卡器发出的射频场,通过NFC相关通信协议完成NFC支付流程。上述实施例是由智能手表完成了NFC支付,是一种非常灵活、高效的NFC支付方式。Illustratively, as shown in FIG. 16B, it is a specific application scenario of an embodiment of the present invention. The network side scenario server analyzes and determines the simulation card when the NFC payment is performed based on the scenario information reported by the scenario smart app in the mobile phone, and sends the configuration parameter of the simulation card to the scenario smart App; the scenario smart application is configured according to the configuration parameter. The analog card is set in the watch wallet App; the watch wallet App synchronizes the above configuration parameters to the wallet App of the smart watch through the short-distance communication protocol; the smart watch sets the analog card for NFC payment according to the synchronized configuration parameter; finally, the smart watch The RF field sent by the NFC reader is sensed, and the NFC payment process is completed through the NFC related communication protocol. The above embodiment is an NFC payment completed by a smart watch, and is a very flexible and efficient NFC payment method.
在另外的一些实施例中,如果有两个或两个以上的移动设备之间,通过短距离通信协议例如蓝牙建立无线连接(例如智能手表200和手机300),那么,上述情景服务器可以接收与该智能手表200所处环境相关的第一情景信息,同时还可以接收与该手机300所处环境相关的第二情景信息。上述情景服务器可以基于上述接收到的第一情景信息和第二情景信息来确定所需要配置的NFC默认的模拟卡。如图18所示,本实施例所提供的方法具体可以包括以下步骤:In still other embodiments, if there are two or more mobile devices, a wireless connection (such as smart watch 200 and mobile phone 300) is established through a short-range communication protocol such as Bluetooth, then the above scenario server can receive and The first context information related to the environment in which the smart watch 200 is located can also receive the second context information related to the environment in which the mobile phone 300 is located. The scenario server may determine the NFC default analog card to be configured based on the received first scenario information and the second context information. As shown in FIG. 18, the method provided in this embodiment may specifically include the following steps:
步骤1801:智能手表获取与该智能手表所处环境相关的第一情景信息,并通过无线通信网络发送给情景服务器。在该步骤中,智能手表可以通过蓝牙将第一情景信息先发送给手机,然后由手机将该第一情景信息转发给情景服务器;也可以是智能手表通过另外的通信方式发送给情景服务器,而不需要先发送给手机然后再由手机进行转发。可以理解的是,为了情景服务器更准确地发送NFC配置参数,该第一情景信息中可以包含能够唯一标识该智能手表的第一标识信息,例如该第一标识信息可以是该智能手表的国际移动设备身份码(IMEI),也可以是该智能手表的全局唯一标识符(UUID),还可以是该智能手表的Wi-Fi的MAC地址或蓝牙的MAC地址等。Step 1801: The smart watch acquires first scenario information related to the environment in which the smart watch is located, and sends the scenario information to the scenario server through the wireless communication network. In this step, the smart watch can send the first scene information to the mobile phone through Bluetooth, and then the first scene information is forwarded to the scene server by the mobile phone; or the smart watch can be sent to the scene server through another communication manner, and It does not need to be sent to the phone first and then forwarded by the phone. It can be understood that, for the scenario server to send the NFC configuration parameter more accurately, the first context information may include first identifier information that can uniquely identify the smart watch, for example, the first identifier information may be an international mobile of the smart watch. The device identity code (IMEI) may also be a globally unique identifier (UUID) of the smart watch, or may be a Wi-Fi MAC address of the smart watch or a Bluetooth MAC address.
步骤1802:手机获取与该手机所处环境相关的第二情景信息,并发送给情景服务器。可以理解的是,为了情景服务器更准确地发送NFC配置参数,该第二情景信息中可以包含能够唯一标识该手机的第二标识信息,例如该第二标识信息可以是该手机的IMEI,也可以是该手机的UUID,还可以是该手机的Wi-Fi的MAC地址或蓝牙的MAC地址等。Step 1802: The mobile phone acquires second context information related to the environment in which the mobile phone is located, and sends the scenario information to the scenario server. It can be understood that, for the scenario server to send the NFC configuration parameter more accurately, the second context information may include the second identifier information that can uniquely identify the mobile phone, for example, the second identifier information may be the IMEI of the mobile phone, or It is the UUID of the mobile phone, and it can also be the MAC address of the mobile phone's Wi-Fi or the MAC address of the Bluetooth.
步骤1803:情景服务器基于接收到的所述第一情景信息和所述第二情景信息,确定移动设备(手机或者智能手表)的NFC支付场景。Step 1803: The scenario server determines an NFC payment scenario of the mobile device (mobile phone or smart watch) based on the received first scenario information and the second scenario information.
步骤1804:情景服务器根据确定的NFC支付场景生成NFC配置参数,并将NFC配置参数发送 给与第一标识信息对应的手机或与第二标识信息对应的智能手表;所述NFC配置指令用于指示手机或智能手表对进行NFC支付的默认的模拟卡进行配置。Step 1804: The scenario server generates an NFC configuration parameter according to the determined NFC payment scenario, and sends the NFC configuration parameter. Giving a mobile phone corresponding to the first identification information or a smart watch corresponding to the second identification information; the NFC configuration instruction is used to instruct the mobile phone or the smart watch to configure a default analog card for performing NFC payment.
步骤1805:手机或智能手表接收该NFC配置参数,并根据所述NFC配置参数对默认的模拟卡进行配置。在该步骤中,由于手机与智能手表通过蓝牙建立了无线连接,因此作为主设备的手机也可以根据自身的NFC配置情况来确定如何对智能手表进行配置。例如,根据情景服务器发送的NFC配置参数,手机需要配置进行NFC支付的默认的模拟卡是深圳通(公交卡),而智能手表需要配置为招商银行信用卡(银行卡)但是手机为了保证NFC支付安全,可以对智能手表的NFC模拟卡配置更改为深圳通(公交卡)。Step 1805: The mobile phone or the smart watch receives the NFC configuration parameter, and configures the default analog card according to the NFC configuration parameter. In this step, since the mobile phone and the smart watch establish a wireless connection through Bluetooth, the mobile phone as the master device can also determine how to configure the smart watch according to its own NFC configuration. For example, according to the NFC configuration parameters sent by the scenario server, the default analog card that the mobile phone needs to configure for NFC payment is Shenzhen Tong (bus card), and the smart watch needs to be configured as a Merchants Bank credit card (bank card), but the mobile phone needs to ensure NFC payment security. The NFC analog card configuration of the smart watch can be changed to Shenzhen Tong (bus card).
步骤1806:手机或智能手表根据配置好的默认模拟卡,与NFC读卡器进行NFC支付。Step 1806: The mobile phone or the smart watch performs NFC payment with the NFC card reader according to the configured default analog card.
通过本实施例的技术方案,情景服务器同时获取两个移动设备(手机300和智能手表200)的情景信息,这样可以便于更准确地有针对性地自动配置NFC模拟卡,也提高了移动设备的运行效率。Through the technical solution of the embodiment, the scenario server simultaneously acquires scenario information of two mobile devices (the mobile phone 300 and the smart watch 200), so that the NFC analog card can be automatically configured more accurately and specifically, and the mobile device is also improved. operating efficiency.
虽然术语“第一”、“第二”等可以在本文中用来描述各种情景信息,但是这些情景信息不应当被这些术语限定。这些术语只是用来将一个情景信息与另一情景信息区分开。例如,第一情景信息可以被命名为第二情景信息,并且类似地,第二情景信息也可以被命名为第一情景信息,而不背离上述实施例的范围。Although the terms "first," "second," etc. may be used herein to describe various contextual information, such contextual information should not be limited by these terms. These terms are only used to distinguish one contextual information from another. For example, the first context information may be named as the second context information, and similarly, the second context information may also be named as the first context information without departing from the scope of the above-described embodiments.
在其他的一些实施例中,当用户身上有手机,同时还有佩戴在手腕上的智能手表时,用户用哪种移动设备进行NFC支付可能会导致选择不同的模拟卡。该智能手表与手机通过短距离通信协议(例如蓝牙等)建立无线链路。下面就该场景描述本实施例的技术方案。在该实施例中,结合图2、3、5、19,可以具有以下步骤:In other embodiments, when a user has a mobile phone and a smart watch worn on the wrist, which mobile device the user uses for NFC payment may result in the selection of a different analog card. The smart watch and the mobile phone establish a wireless link through a short-range communication protocol such as Bluetooth. The technical solution of this embodiment will be described below in this scenario. In this embodiment, in conjunction with Figures 2, 3, 5, 19, the following steps can be performed:
步骤1901:当智能手表感应到NFC射频场时,通过蓝牙发送通知消息给手机。Step 1901: When the smart watch senses the NFC radio frequency field, the notification message is sent to the mobile phone via Bluetooth.
步骤1902:手机收到该通知消息后,获取与手机所处环境相关的情景信息,该情景信息包括该智能手表所处的地理位置、时间、特定情景信息中的至少一种。此处特定情景信息与以上实施例中所描述的特定情景信息具有相同含义,在此不再赘述。在本步骤中,由于智能手表通过短距离通信协议例如蓝牙等与手机建立了无线链路,作为主设备的手机还可以获取到作为从设备的智能手表所处的情景信息。Step 1902: After receiving the notification message, the mobile phone acquires scenario information related to the environment in which the mobile phone is located, and the scenario information includes at least one of a geographical location, a time, and specific scenario information of the smart watch. The specific context information herein has the same meaning as the specific scenario information described in the above embodiments, and details are not described herein again. In this step, since the smart watch establishes a wireless link with the mobile phone through a short-range communication protocol such as Bluetooth, the mobile phone as the master device can also acquire the scene information of the smart watch as the slave device.
步骤1903:手机基于获取到的与该手机相关的情景信息,确定进行NFC支付的模拟卡;Step 1903: The mobile phone determines, according to the acquired context information related to the mobile phone, an analog card that performs NFC payment;
步骤1904:手机通过短距离通信协议例如蓝牙等向智能手表发送模拟卡选择指令;Step 1904: The mobile phone sends an analog card selection instruction to the smart watch through a short-range communication protocol such as Bluetooth;
步骤1905:智能手表在接收到模拟卡选择指令后,选择所确定的模拟卡;Step 1905: After receiving the analog card selection instruction, the smart watch selects the determined analog card;
步骤1906:智能手表基于所选择的模拟卡进行NFC支付,并可以向手机反馈NFC支付的响应消息。Step 1906: The smart watch performs NFC payment based on the selected analog card, and can feed back a response message of the NFC payment to the mobile phone.
上述实施例中,通过手机300与智能手表200的数据交互,即可自动完成NFC模拟卡的选择,并快速进行NFC支付。该方案进一步提高了移动设备的效率,也降低了智能手表200的功耗,同时也提高了用户体验。In the above embodiment, by the data interaction between the mobile phone 300 and the smart watch 200, the selection of the NFC analog card can be automatically completed, and the NFC payment can be quickly performed. The solution further improves the efficiency of the mobile device, and also reduces the power consumption of the smart watch 200, while also improving the user experience.
在另外的一些实施例中,在智能手表接收到模拟卡选择指令后,进行NFC支付之前,还可以包括: In some other embodiments, after the smart watch receives the analog card selection instruction, before performing the NFC payment, the method may further include:
步骤1907:智能手表检测与该手机的无线链路是否正常,如果智能手表检测到与该手机断开了无线链路,执行步骤1908,如果检测到智能手表检测与该手机的无线链路正常,则执行步骤1906。Step 1907: The smart watch detects whether the wireless link with the mobile phone is normal. If the smart watch detects that the wireless link is disconnected from the mobile phone, step 1908 is performed. If the smart watch detects that the wireless link with the mobile phone is normal, Then step 1906 is performed.
步骤1908:智能手表终止进行NFC支付的流程,并提示用户。Step 1908: The smart watch terminates the process of performing the NFC payment and prompts the user.
上述实施例通过智能手表检测与手机的无线链路(例如蓝牙连接)是否正常,可以进一步保证NFC支付的安全性。The above embodiment can further ensure the security of the NFC payment by detecting whether the wireless link (for example, Bluetooth connection) with the mobile phone is normal by the smart watch.
在另外的一些实施例中,步骤1901、步骤1902和步骤1903还可以是:In some other embodiments, step 1901, step 1902, and step 1903 may also be:
步骤19011:当智能手表感应到NFC射频场时,智能手表获取与该智能手表所处环境相关的情景信息;Step 19011: When the NFC smart watch RF induction field associated with the smart watch smart watch acquires the environment information of the scene;
步骤19021:智能手表向手机发送上述获取到的情景信息;Step 19021: the smart watch to send the acquired context information to mobile phones;
步骤19031:手机基于获取到的与该智能手表相关的情景信息,确定进行NFC支付的模拟卡。Step 19031: phone scenarios based on information related to the acquisition of smart watch to determine an NFC payments analog cards.
在该另外的实施例中,获取的情景信息是关于手表的,而最终进行NFC支付的也是智能手表,这也是一种比较灵活的NFC支付方案。In this further embodiment, the acquired contextual information is about the watch, and the final NFC payment is also a smart watch, which is also a more flexible NFC payment solution.
如图20所示,本申请实施例提供一种基于NFC进行数据传输的移动设备。该移动设备可以执行上述实施例中的方法,该移动设备具体可以包括:触摸屏2001,处理器2002、存储器2003、NFC装置2004、定位装置2005、蓝牙装置2006、Wi-Fi装置2007、一个或多个传感器2008,上述各硬件可以通过一通信总线2009连接,其中:该触摸屏2001接收用户的触摸操作;该处理器2002基于该触摸操作,打开与NFC支付相关的应用程序,并在该触摸屏2001上显示该应用程序的图形用户界面;该处理器2002获取与该移动设备所处环境相关的情景信息,该情景信息包括通过该定位装置2005采集到的该移动设备所处的地理位置,时间和特定情景信息,该特定情景信息包括以下消息中的至少一种:即时消息、通过该蓝牙装置2006接收到的蓝牙广播消息、通过该Wi-Fi装置2007接收到的Wi-Fi热点广播消息、通过该一个或多个传感器2008采集到的该移动设备的运动状态;该处理器2002基于该情景信息确定进行NFC支付的模拟卡;该处理器2002将该确定的模拟卡通过该触摸屏2001显示给用户;该处理器2002接收到用户的确认操作后,选择该模拟卡;该NFC装置2004基于该选择的模拟卡与NFC读卡器进行NFC支付。存储器2003可以存储NFC支付完成后收到的支付信息例如支付地点、支付时间、支付金额等。As shown in FIG. 20, the embodiment of the present application provides a mobile device that performs data transmission based on NFC. The mobile device may perform the method in the foregoing embodiment, where the mobile device may specifically include: a touch screen 2001, a processor 2002, a memory 2003, an NFC device 2004, a positioning device 2005, a Bluetooth device 2006, a Wi-Fi device 2007, one or more The sensors 2008 may be connected by a communication bus 2009, wherein the touch screen 2001 receives a touch operation of the user; the processor 2002 opens an application related to the NFC payment based on the touch operation, and is on the touch screen 2001. Displaying a graphical user interface of the application; the processor 2002 acquires context information related to an environment in which the mobile device is located, the context information including a geographic location, time, and specificity of the mobile device collected by the positioning device 2005 Scenario information, the specific context information including at least one of an instant message, a Bluetooth broadcast message received through the Bluetooth device 2006, a Wi-Fi hotspot broadcast message received through the Wi-Fi device 2007, by the The motion state of the mobile device collected by one or more sensors 2008; the processor 20 Determining, by the scenario information, an analog card for performing NFC payment; the processor 2002 displays the determined analog card to the user through the touch screen 2001; and after receiving the confirmation operation of the user, the processor 2002 selects the analog card; the NFC The device 2004 performs an NFC payment based on the selected analog card and the NFC card reader. The memory 2003 can store payment information, such as a payment place, a payment time, a payment amount, and the like, which are received after the completion of the NFC payment.
如图21所示,为本实施例提供的一种设置NFC支付时的默认模拟卡的方法,该方法可以在上述实施例中的移动设备中实现,该方法可以包括如下步骤:As shown in FIG. 21, a method for setting a default analog card for NFC payment is provided in this embodiment. The method may be implemented in the mobile device in the foregoing embodiment. The method may include the following steps:
步骤2101:移动设备获取其所处的地理位置。Step 2101: The mobile device obtains the geographical location in which it is located.
步骤2102:移动设备基于该地理位置确定是否配置有与该地理位置对应的公交卡。当移动设备确定该移动设备配置有与该地理位置对应的公交卡时,执行步骤2103;当移动设备确定没有与该地理位置对应的公交卡时,执行步骤2104。Step 2102: The mobile device determines, according to the geographic location, whether a bus card corresponding to the geographic location is configured. When the mobile device determines that the mobile device is configured with a bus card corresponding to the geographic location, step 2103 is performed; when the mobile device determines that there is no bus card corresponding to the geographic location, step 2104 is performed.
步骤2103:移动设备将该公交卡配置为NFC支付的默认模拟卡。Step 2103: The mobile device configures the bus card as a default analog card for NFC payment.
步骤2104:移动设备获取Wi-Fi无线接入点的广播消息或蓝牙beacon发出的广播消息。 Step 2104: The mobile device acquires a broadcast message of the Wi-Fi wireless access point or a broadcast message sent by the Bluetooth beacon.
步骤2105:移动设备基于上述广播消息,确定是否处于消费类的兴趣点。移动设备可以根据该Wi-Fi无线接入点的SSID来确定/判断移动设备所处的位置是否为消费类的兴趣点例如超市、餐厅等。Step 2105: The mobile device determines whether it is in a consumer interest point based on the above broadcast message. The mobile device can determine/determine whether the location where the mobile device is located is a consumer interest point such as a supermarket, a restaurant, etc. according to the SSID of the Wi-Fi wireless access point.
步骤2106:当移动设备确定处于消费类的兴趣点时,移动设备将NFC支付的默认模拟卡配置为银行卡。Step 2106: When the mobile device determines that the consumer is in a consumer category, the mobile device configures the default analog card for the NFC payment as a bank card.
步骤2107:当移动设备确定不是处于消费类的兴趣点时,移动设备确定当前的时间;Step 2107: When the mobile device determines that the point of interest is not in the consumer category, the mobile device determines the current time;
步骤2108:移动根据当前的时间来配置不同的默认模拟卡。例如当前的时间是早上八点,则配置默认模拟卡为公交卡,若当前的时间是晚上十点,则配置默认模拟卡为门禁卡,或移动设备将上一次进行NFC支付时所使用的模拟卡作为默认模拟卡。Step 2108: Move to configure different default analog cards according to the current time. For example, if the current time is 8:00 in the morning, configure the default analog card as the bus card. If the current time is 10:00, configure the default analog card as the access card, or the simulation that the mobile device will use for the last NFC payment. The card acts as the default analog card.
上述方法实施例适用于以下场景:例如,移动设备获取到所在地理位置是深圳,则移动设备判断是否配置有在深圳市使用的公交卡(例如深圳通)。如果移动设备配置有深圳通,则将该模拟卡配置为进行NFC支付时的默认模拟卡;如果该移动设备没有配置深圳通,则移动设备获取附近Wi-Fi无线接入点的广播消息或蓝牙beacon发出的广播消息,例如移动设备可以搜索附近Wi-Fi无线接入点,然后自动或者通过用户的选择加入到无线接入点,进而获取到该无线接入点的广播消息。移动设备可以根据上述广播消息,确定是否处于消费类的兴趣点。例如,移动设备与一个SSID名称为星巴克咖啡店的无线接入点建立了Wi-Fi连接,则该移动设备可以根据该SSID名称(星巴克咖啡店)即可确定处于消费类的兴趣点,则移动设备配置进行NFC支付时选择的默认模拟卡为银行卡。如果移动设备确定出所处的兴趣点(也即地理位置)为非消费类的,则可以根据上一次进行NFC支付时所使用的模拟卡作为默认模拟卡,以便下次快捷地进行NFC支付。The foregoing method embodiment is applicable to the following scenario: for example, if the location of the mobile device is Shenzhen, the mobile device determines whether a bus card (such as Shenzhen Tong) used in Shenzhen is configured. If the mobile device is configured with Shenzhen Tong, the analog card is configured as a default analog card for NFC payment; if the mobile device is not configured with Shenzhen Tong, the mobile device obtains a broadcast message or Bluetooth of a nearby Wi-Fi wireless access point. The broadcast message sent by the beacon, for example, the mobile device can search for a nearby Wi-Fi access point, and then automatically or through the user's selection to join the wireless access point, thereby acquiring the broadcast message of the wireless access point. The mobile device can determine whether it is in a consumer interest point according to the above broadcast message. For example, if a mobile device establishes a Wi-Fi connection with a wireless access point whose SSID name is a Starbucks coffee shop, the mobile device can determine the point of interest in the consumer based on the SSID name (Starbucks Coffee Shop), then move The default analog card selected when the device is configured for NFC payment is a bank card. If the mobile device determines that the point of interest (ie, the geographic location) is non-consumer, the analog card used when the NFC payment was last made may be used as the default analog card, so that the NFC payment can be made next time.
在其他的一些实施例中,在移动设备获取所处的地理位置(步骤2101)后,移动设备还可以确定该地理位置是否在家附近或者公司附近,如果是,则选择相应的门禁卡作为默认模拟卡。In some other embodiments, after the mobile device acquires the geographic location (step 2101), the mobile device can also determine whether the geographic location is near the home or near the company, and if so, select the corresponding access card as the default simulation. card.
如图22所示,在另外的一些实施例中移动设备600可以包括NFC装置601、存储器602、处理器603等。其中NFC装置601包括NFC控制器6011、安全单元6012、NFC射频电路6013;该移动设备600的存储器602还存储有基于HCE技术进行NFC支付的应用程序例如银行闪付App 604,基于SIM卡(内嵌安全单元)进行NFC支付的应用程序例如运营商钱包App 605,还有基于全终端进行NFC支付的应用程序例如系统钱包App 606等。在移动设备的SIM卡卡槽中容纳有嵌入的安全单元的SIM卡607,该SIM卡607与移动设备600上的NFC射频电路6013通过NFC控制器6011进行连接。存储器602还可以包括情景智能App 608,该App用于获取与移动设备600所处环境相关的情景信息,并基于该情景信息进行分析、确定出进行NFC支付时的模拟卡。具体地,情景智能App可以接收例如蓝牙装置610、定位装置611、Wi-Fi装置612、传感器613所采集到的各种情景信息。另外,可以理解的是,本实施例中情景信息可以是具有上述实施例中的情景信息相同或类似的含义。As shown in FIG. 22, in still other embodiments mobile device 600 can include NFC device 601, memory 602, processor 603, and the like. The NFC device 601 includes an NFC controller 6011, a security unit 6012, and an NFC radio frequency circuit 6013. The memory 602 of the mobile device 600 also stores an application for performing NFC payment based on the HCE technology, such as a bank flash payment App 604, based on the SIM card (inside) An embedded security unit) an application that performs NFC payment, such as the operator wallet App 605, and an application that performs NFC payment based on the full terminal, such as the system wallet App 606 and the like. A SIM card 607 of the embedded security unit is housed in the SIM card slot of the mobile device, and the SIM card 607 is coupled to the NFC radio frequency circuit 6013 on the mobile device 600 via the NFC controller 6011. The memory 602 may further include a contextual smart App 608 for acquiring context information related to the environment in which the mobile device 600 is located, and analyzing based on the context information to determine an analog card when the NFC payment is made. Specifically, the contextual smart app can receive various context information collected by, for example, the Bluetooth device 610, the positioning device 611, the Wi-Fi device 612, and the sensor 613. In addition, it can be understood that the scenario information in this embodiment may be the same or similar meaning as the scenario information in the above embodiment.
当该情景智能App 608基于上述情景信息确定了一张模拟卡时,通知系统设置模块609在该模拟卡所对应的应用程序里(例如银行闪付App 604、运营商钱包App 605、系统钱包App 606)对该模拟卡进行配置,以便在支付时用该默认模拟卡进行NFC支付,该系统设置模块609可以。例如情景智能 App根据上述情景信息确定当前可以使用招商银行信用卡进行NFC支付,则系统设置209对银行闪付App 604的模拟卡进行配置并模拟出一张模拟卡,该银行闪付App 604可以与网络侧的支付服务器614进行通信。在支付服务器614验证通过后,该App才能基于移动设备600上的NFC装置(具体是NFC控制器、NFC天线)与NFC读卡器615进行NFC支付。还例如,情景智能App根据上述情景信息确定可以使用公交卡(深圳通),而该公交卡是在运营商钱包App内,则系统设置模块609对运营商钱包App 605进行配置并模拟出一张模拟卡,NFC控制器6011与SIM卡607中内嵌的安全单元进行通信,验证通过后,该运营商钱包App才能基于NFC装置(具体是NFC控制器、NFC天线)与NFC读卡器615进行NFC支付;再例如,情景智能App确定可以使用系统钱包App的模拟卡进行NFC支付,该系统钱包App里的模拟卡例如Apple Pay,Huawei Pay等;则系统设置模块609对系统钱包App 606进行配置一张模拟卡,NFC控制器6011与安全单元6012进行通信,验证通过后,该系统钱包App中的模拟卡才能基于NFC装置与NFC读卡器615进行NFC支付。When the scenario smart app 608 determines an analog card based on the scenario information, the notification system setting module 609 is in the application corresponding to the analog card (eg, bank flash payment app 604, carrier wallet App 605, system wallet App). 606) configuring the analog card to perform NFC payment with the default analog card at the time of payment, and the system setting module 609 can. Such as situational intelligence Based on the above scenario information, the App determines that the NFC payment can be currently performed using the China Merchants Bank credit card, and the system setting 209 configures the analog card of the bank flash payment App 604 and simulates an analog card, and the bank flash payment App 604 can be connected with the network side. Payment server 614 communicates. After the payment server 614 passes the verification, the App can make an NFC payment with the NFC card reader 615 based on the NFC device (specifically, the NFC controller, NFC antenna) on the mobile device 600. For example, the contextual smart app determines that the bus card (Shenzhen Pass) can be used according to the above scenario information, and the bus card is in the operator wallet App, and the system setting module 609 configures the operator wallet App 605 and simulates a piece. The analog card, the NFC controller 6011 communicates with the security unit embedded in the SIM card 607. After the verification is passed, the operator wallet App can be based on the NFC device (specifically, the NFC controller, the NFC antenna) and the NFC card reader 615. NFC payment; for example, the contextual smart app determines that the NFC payment can be made using the analog card of the system wallet App, such as Apple Pay, Huawei Pay, etc. in the system wallet App; then the system setting module 609 configures the system wallet App 606 An analog card, the NFC controller 6011 communicates with the security unit 6012. After the verification is passed, the analog card in the system wallet App can perform NFC payment based on the NFC device and the NFC card reader 615.
在其他实施例中,移动设备600也可以结合网络侧的情景服务器616来实现NFC模拟卡的确定及选择,其具体实现步骤在上述实施例中已经详述,在此不再赘述。In other embodiments, the mobile device 600 can also implement the determination and selection of the NFC analog card in conjunction with the scenario server 616 on the network side. The specific implementation steps are detailed in the foregoing embodiments, and details are not described herein again.
在另外的一些实施例中,图22所示的移动设备600也可以执行上述实施例中的所有方法步骤。In still other embodiments, the mobile device 600 illustrated in FIG. 22 can also perform all of the method steps of the above-described embodiments.
上述情景智能App 608与系统设置模块609也可以集成在一起完成上述功能。The above scenario smart app 608 and system setup module 609 can also be integrated to perform the above functions.
可以理解的是,本实施例中的移动设备600除了图22中所示的上述硬件和软件外,还可以包括上述实施例中提到的其他硬件例如摄像头、用户识别模块(SIM)卡槽、外设接口等。It can be understood that the mobile device 600 in this embodiment may include other hardware mentioned in the foregoing embodiment, such as a camera, a subscriber identity module (SIM) card slot, in addition to the foregoing hardware and software shown in FIG. Peripheral interface, etc.
在另外的一些实施例中,当用户从一个城市达到另一个城市时,移动设备可以智能推荐合适的模拟卡例如银行卡、公交卡等,该智能推荐可以是基于移动设备所处的地理位置及与NFC支付相关的特定情景信息来确定的。如图23A所示,例如当用户从武汉到达深圳时,在移动设备的触摸屏上显示相关的推送信息,提示框2301表明移动设备600为用户设置好了在深圳市使用的模拟卡。其中,在该城市默认使用的银行卡是图标2302所示的花旗银行信用卡,控件2303表明用户可以手动更换在该城市默认使用的银行卡,当用户点击控件2303时,如图23B所示,移动设备600可以向用户显示多张银行卡以便用户手动选择进行NFC支付的默认银行卡。当用户点击图标2311时,表明用户选择了中国银行储蓄卡(如图标2310所示)作为默认的银行卡。在图23A中,图标2304表明在该城市默认使用的公交卡为深圳通,控件2305表明用户也可以手动更换公交卡,当用户点击控件2305时,移动设备600可以向用户显示多张公交卡以便用户进行选择。图标2306表明在该城市默认使用的其他卡片为星巴克会员卡,控件2307表明用户也可以手动更换卡片。通过上述智能配置的方式,移动设备能自动配置默认使用的模拟卡,这样就更加方便用户进行支付。在设置完成后,当移动设备600接收到用户的NFC支付指示时,移动设备600可以确定所处的具体的地理位置,然后使用相应的默认的模拟卡。例如,用户双击home键(如图23中图标2308所示)来进行NFC支付,移动设备600确定所处的位置是在某个公交站台,则移动设备600调用默认的公交卡(深圳通)来进行NFC支付,如果移动设备600确定所处的位置是某个商店,则移动设备600调用默认的银行卡(花旗银行信用卡)来进行NFC 支付。在其他的一些实施例中,移动设备可以通过自我学习,来达到更准确地进行智能推荐卡片。例如用户上次在深圳市经常使用的银行卡是招商银行信用卡,经常使用的其他卡片是山姆会员卡,那么,当用户下次再来到深圳时,移动设备根据用户上次在深圳的卡片使用情况,推荐给用户默认的银行卡是招商银行信用卡,默认的其他卡片是山姆会员卡。如图24所示,提示框2401表明移动设备的显示屏上显示的卡片是根据用户上次在深圳市的使用卡片的情况来设置的相应的默认的模拟卡。可以理解的是,推荐的卡片用户也可以通过控件2403、2405、2407手动进行更换。In some other embodiments, when the user reaches from another city to another city, the mobile device can intelligently recommend a suitable analog card such as a bank card, a bus card, etc., and the smart recommendation may be based on the geographic location of the mobile device and Specific context information related to NFC payments is determined. As shown in FIG. 23A, for example, when the user arrives in Shenzhen from Wuhan, relevant push information is displayed on the touch screen of the mobile device, and the prompt box 2301 indicates that the mobile device 600 has set up the analog card used by the user in Shenzhen. The bank card used by default in the city is the Citibank credit card shown by the icon 2302. The control 2303 indicates that the user can manually replace the bank card used in the city by default. When the user clicks the control 2303, as shown in FIG. 23B, the mobile phone is moved as shown in FIG. 23B. The device 600 can display a plurality of bank cards to the user for the user to manually select a default bank card for NFC payment. When the user clicks on the icon 2311, it indicates that the user has selected a Chinese bank deposit card (as indicated by icon 2310) as the default bank card. In FIG. 23A, icon 2304 indicates that the bus card used by default in the city is Shenzhen Tong, and control 2305 indicates that the user can also manually change the bus card. When the user clicks on the control 2305, the mobile device 600 can display multiple bus cards to the user. The user makes a selection. Icon 2306 indicates that other cards used by default in the city are Starbucks membership cards, and control 2307 indicates that the user can also manually change cards. Through the above intelligent configuration, the mobile device can automatically configure the default analog card, which makes it more convenient for users to make payments. After the setup is complete, when the mobile device 600 receives the user's NFC payment indication, the mobile device 600 can determine the particular geographic location in which it is located and then use the corresponding default analog card. For example, the user double-clicks the home button (as shown by icon 2308 in FIG. 23) to perform NFC payment, and the mobile device 600 determines that the location is at a certain bus stop, and the mobile device 600 calls the default bus card (Shenzhen Tong). Making an NFC payment, if the mobile device 600 determines that the location is a store, the mobile device 600 invokes a default bank card (Citibank credit card) for NFC Pay. In some other embodiments, the mobile device can self-learn to achieve a more accurate smart recommendation card. For example, the bank card that the user used to use in Shenzhen last time is the China Merchants Bank credit card. Other cards that are frequently used are Sam's membership card. Then, when the user comes to Shenzhen next time, the mobile device is based on the user's last card usage in Shenzhen. The default bank card recommended to the user is the Merchants Bank credit card. The default other card is the Sam membership card. As shown in FIG. 24, the prompt box 2401 indicates that the card displayed on the display screen of the mobile device is a corresponding default analog card set according to the user's last use of the card in Shenzhen. It can be understood that the recommended card user can also be manually replaced by the controls 2403, 2405, 2407.
如上述实施例中所用,根据上下文,术语“当...时”可以被解释为意思是“如果”或“在...后”或“响应于确定”或“响应于检测到”。类似地,根据上下文,短语“在确定...时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定...”或“响应于确定...”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。As used in the above embodiments, the term "when" can be interpreted to mean "if" or "after" or "in response to determining" or "in response to detecting", depending on the context. Similarly, depending on the context, the phrase "when determining..." or "if detected (condition or event stated)" can be interpreted to mean "if determined..." or "in response to determining... "or "when detected (conditions or events stated)" or "in response to detection (conditions or events stated)".
需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器或随机存储器等。It should be noted that those skilled in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage. In the medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory or a random access memory.
为了解释的目的,前面的描述是通过参考具体实施例来进行描述的。然而,上面的示例性的讨论并非意图是详尽的,也并非意图要将本技术方案限制到所公开的精确形式。根据以上教导内容,很多修改形式和变型形式都是可能的。选择和描述实施例是为了充分阐明本技术方案的原理及其实际应用,以由此使得本领域的其他技术人员能够充分利用具有适合于所构想的特定用途的各种修改的本技术方案以及各种实施例。 For the purposes of explanation, the foregoing description has been described by reference to the specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. The embodiments were chosen and described in order to explain the principles of the embodiments of the invention, An embodiment.

Claims (14)

  1. 一种基于NFC进行数据传输的方法,所述方法在具备NFC功能的移动设备上实现,其特征在于,所述方法包括:A method for data transmission based on NFC, the method being implemented on a mobile device with NFC function, wherein the method comprises:
    所述移动设备接收用户的触摸操作;The mobile device receives a touch operation of a user;
    响应于所述触摸操作,所述移动设备打开与NFC支付相关的应用程序;Responding to the touch operation, the mobile device opens an application related to an NFC payment;
    在所述移动设备上显示所述应用程序的图形用户界面;Displaying a graphical user interface of the application on the mobile device;
    所述移动设备获取与所述移动设备所处环境相关的情景信息,所述情景信息包括所述移动设备所处的地理位置、时间和特定情景信息,所述特定情景信息包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、移动设备所处的运动状态;The mobile device acquires context information related to an environment in which the mobile device is located, the context information includes a geographic location, time, and specific context information in which the mobile device is located, the specific context information including at least one of the following messages One type: instant message, Bluetooth broadcast message, Wi-Fi hotspot broadcast message, motion state of the mobile device;
    所述移动设备基于所述情景信息确定进行NFC支付的模拟卡;The mobile device determines an analog card for performing NFC payment based on the scenario information;
    所述移动设备将所述确定的模拟卡提示给用户;The mobile device prompts the determined analog card to the user;
    所述移动设备接收到用户的确认操作后,选择所述模拟卡;After the mobile device receives the confirmation operation of the user, selecting the analog card;
    所述移动设备基于所选择的模拟卡与NFC读卡器进行NFC支付。The mobile device performs an NFC payment based on the selected analog card and the NFC card reader.
  2. 如权利要求1所述的方法,其特征在于,在所述移动设备接收用户的触摸操作之前,所述方法还包括:所述移动设备接收并存储NFC支付信息,所述NFC支付信息包括NFC支付时的支付地点、支付时间、支付金额;The method of claim 1, wherein before the mobile device receives a touch operation by a user, the method further comprises: the mobile device receiving and storing NFC payment information, the NFC payment information including an NFC payment Place of payment, time of payment, amount of payment;
    所述特定情景信息还包括所述NFC支付信息,所述移动设备基于所述情景信息确定进行NFC支付的模拟卡,具体为:The specific scenario information further includes the NFC payment information, and the mobile device determines, according to the scenario information, an analog card that performs an NFC payment, specifically:
    所述移动设备基于所处的地理位置、时间、Wi-Fi热点广播消息和NFC支付信息,确定进行NFC支付的模拟卡。The mobile device determines an analog card that performs an NFC payment based on the geographic location, time, Wi-Fi hotspot broadcast message, and NFC payment information.
  3. 如权利要求1或2所述的方法,其特征在于,所述应用程序的图形用户界面显示有至少2张不同类型的模拟卡;当所述移动设备将所述确定的模拟卡提示给用户时,所述确定的模拟卡被放大显示,其他模拟卡被缩小显示。The method of claim 1 or 2, wherein the graphical user interface of the application displays at least two different types of analog cards; when the mobile device prompts the determined analog card to the user The determined analog card is displayed in an enlarged manner, and other analog cards are displayed in a reduced size.
  4. 一种基于NFC进行数据传输的方法,所述方法在具备NFC功能的移动设备上实现,其特征在于,所述方法包括:A method for data transmission based on NFC, the method being implemented on a mobile device with NFC function, wherein the method comprises:
    当所述移动设备感应到NFC射频场时,获取与所述移动设备所处环境相关的情景信息,所述情景信息包括所述移动设备所处的地理位置、时间和特定情景信息中的至少一种,所述特定情景信息包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、移动设备所处的运动状态;Obtaining, when the mobile device senses an NFC radio frequency field, context information related to an environment in which the mobile device is located, the scenario information including at least one of a geographical location, a time, and specific context information of the mobile device The specific context information includes at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, and a motion state of the mobile device;
    所述移动设备基于所述情景信息,确定进行NFC支付的模拟卡;Determining, by the mobile device, an analog card that performs an NFC payment based on the context information;
    所述移动设备基于所确定的模拟卡,生成模拟卡选择指令; The mobile device generates an analog card selection instruction based on the determined analog card;
    移动设备根据所述模拟卡选择指令,选择相应的模拟卡;The mobile device selects a corresponding analog card according to the analog card selection instruction;
    所述移动设备基于所选择的模拟卡与NFC读卡器进行NFC支付。The mobile device performs an NFC payment based on the selected analog card and the NFC card reader.
  5. 如权利要求4所述的方法,其特征在于,所述特定情景信息包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、移动设备所处的运动状态。The method of claim 4, wherein the specific context information comprises at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, a state of motion in which the mobile device is located.
  6. 如权利要求4所述的方法,其特征在于,所述移动设备基于所述情景信息确定进行NFC支付的模拟卡,具体包括:The method of claim 4, wherein the mobile device determines the analog card for performing the NFC payment based on the context information, and specifically includes:
    所述移动设备基于所述情景信息向用户提示进行NFC支付的模拟卡;The mobile device prompts the user to perform an NFC payment analog card based on the context information;
    在接收到用户的确认操作后,所述移动设备确定所述模拟卡。The mobile device determines the analog card upon receiving a confirmation operation by the user.
  7. 如权利要求6所述的方法,其特征在于,在所述移动设备感应到NFC射频场之前,所述方法还包括:所述移动设备接收并存储NFC支付信息,所述NFC支付信息包括NFC支付时的支付地点、支付时间、支付金额。The method of claim 6 wherein prior to said mobile device sensing an NFC radio frequency field, said method further comprising: said mobile device receiving and storing NFC payment information, said NFC payment information comprising NFC payment The place of payment, the time of payment, and the amount of payment.
  8. 如权利要求7所述的方法,其特征在于,所述特定情景信息还包括所述NFC支付信息,所述移动设备基于所述情景信息确定进行NFC支付的模拟卡,具体为:所述移动设备基于所处的地理位置、时间、Wi-Fi热点广播消息和NFC支付信息,确定进行NFC支付的模拟卡。The method of claim 7, wherein the specific context information further comprises the NFC payment information, and the mobile device determines, based on the context information, an analog card that performs NFC payment, specifically: the mobile device An analog card for making an NFC payment is determined based on the geographical location, time, Wi-Fi hotspot broadcast message, and NFC payment information.
  9. 如权利要求4至7任一项所述的方法,其特征在于,所述模拟卡为银行卡、公交卡、门禁卡中的一种。The method according to any one of claims 4 to 7, wherein the analog card is one of a bank card, a bus card, and an access card.
  10. 一种基于NFC进行数据传输的方法,所述方法在智能手表和手机上实现,所述智能手表和所述手机通过短距离通信协议建立无线链路,所述方法包括:A method for data transmission based on NFC, the method being implemented on a smart watch and a mobile phone, the smart watch and the mobile phone establishing a wireless link by a short-range communication protocol, the method comprising:
    当智能手表感应到NFC射频场时,通过所述无线链路发送通知消息给手机;Sending a notification message to the mobile phone through the wireless link when the smart watch senses the NFC radio frequency field;
    所述手机获取与所述手机所处环境相关的情景信息,所述情景信息包括所述手机所处的地理位置、时间和特定情景信息中的至少一种,所述特定情景信息是指与NFC支付相关的信息;The mobile phone acquires context information related to an environment in which the mobile phone is located, where the context information includes at least one of a geographical location, a time, and specific context information, where the specific context information refers to NFC Pay relevant information;
    所述手机基于所述情景信息,确定进行NFC支付的模拟卡,并通过所述无线链路向所述智能手表发送模拟卡选择指令;The mobile phone determines an analog card for performing NFC payment based on the scenario information, and sends an analog card selection instruction to the smart watch through the wireless link;
    所述智能手表在接收到模拟卡选择指令后,选择所确定的模拟卡;After receiving the analog card selection instruction, the smart watch selects the determined analog card;
    所述智能手表基于所选择的模拟卡进行NFC支付。The smart watch makes an NFC payment based on the selected analog card.
  11. 如权利要求9所述的方法,其特征在于,在所述智能手表选择所确定的模拟卡之后,在所述智能手表基于所选择的模拟卡进行NFC支付之前,所述方法还包括:The method of claim 9, wherein after the smart watch selects the determined analog card, before the smart watch performs NFC payment based on the selected analog card, the method further comprises:
    所述智能手表检测与所述手机的无线链路是否正常;The smart watch detects whether the wireless link with the mobile phone is normal;
    如果所述智能手表检测到与所述手机之间的无线链路正常,则所述智能手表基于所选择的 模拟卡进行NFC支付,或者If the smart watch detects that the wireless link with the handset is normal, the smart watch is based on the selected Analog card for NFC payment, or
    如果所述智能手表检测到与所述手机之间的无线链路断开,则所述智能手表终止进行NFC支付,并提示用户。If the smart watch detects a disconnection of the wireless link with the handset, the smart watch terminates the NFC payment and prompts the user.
  12. 如权利要求4所述的方法,其特征在于,所述特定情景信息包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、所述移动设备所处的运动状态。The method of claim 4, wherein the specific context information comprises at least one of the following messages: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, a state of motion of the mobile device .
  13. 一种基于NFC进行数据传输的移动设备,其特征在于,所述移动设备包括一个或多个处理器、触摸屏、存储器、多个应用程序,以及一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括指令,所述指令用于:A mobile device based on NFC for data transmission, characterized in that the mobile device comprises one or more processors, a touch screen, a memory, a plurality of applications, and one or more programs, wherein the one or more A program is stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for:
    所述移动设备接收用户的触摸操作;The mobile device receives a touch operation of a user;
    所述移动设备基于所述触摸操作,打开与NFC支付相关的应用程序;The mobile device opens an application related to the NFC payment based on the touch operation;
    在所述移动设备上显示所述应用程序的图形用户界面;Displaying a graphical user interface of the application on the mobile device;
    所述移动设备获取与所述移动设备所处环境相关的情景信息,所述情景信息包括所述移动设备所处的地理位置、时间和特定情景信息,所述特定情景信息包括以下消息中的至少一种:即时消息、蓝牙广播消息、Wi-Fi热点广播消息、所述移动设备所处的运动状态;The mobile device acquires context information related to an environment in which the mobile device is located, the context information includes a geographic location, time, and specific context information in which the mobile device is located, the specific context information including at least one of the following messages One type: an instant message, a Bluetooth broadcast message, a Wi-Fi hotspot broadcast message, and a motion state of the mobile device;
    所述移动设备基于所述情景信息确定进行NFC支付的模拟卡;The mobile device determines an analog card for performing NFC payment based on the scenario information;
    所述移动设备将所述确定的模拟卡提示给用户;The mobile device prompts the determined analog card to the user;
    所述移动设备接收到用户的确认操作后,选择所述模拟卡;After the mobile device receives the confirmation operation of the user, selecting the analog card;
    所述移动设备与NFC读卡器进行NFC支付。The mobile device performs an NFC payment with an NFC card reader.
  14. 一种基于NFC进行数据传输的移动设备,其特征在于,所述移动设备包括:触摸屏,处理器、存储器、NFC装置、定位装置、蓝牙装置、Wi-Fi装置、传感器,其中:A mobile device based on NFC for data transmission, characterized in that the mobile device comprises: a touch screen, a processor, a memory, an NFC device, a positioning device, a Bluetooth device, a Wi-Fi device, and a sensor, wherein:
    所述触摸屏接收用户的触摸操作;The touch screen receives a touch operation of a user;
    所述处理器基于所述触摸操作,打开与NFC支付相关的应用程序,并在所述触摸屏上显示所述应用程序的图形用户界面;The processor opens an application related to the NFC payment based on the touch operation, and displays a graphical user interface of the application on the touch screen;
    所述处理器获取与所述移动设备所处环境相关的情景信息,所述情景信息包括通过所述定位装置采集到的所述移动设备所处的地理位置,时间和特定情景信息,所述特定情景信息包括以下消息中的至少一种:即时消息、通过所述蓝牙装置接收到的蓝牙广播消息、通过所述Wi-Fi装置接收到的Wi-Fi热点广播消息、通过所述传感器采集到的所述移动设备的运动状态;The processor acquires context information related to an environment in which the mobile device is located, where the context information includes a geographic location, time, and specific context information of the mobile device collected by the positioning device, the specific The context information includes at least one of the following messages: an instant message, a Bluetooth broadcast message received by the Bluetooth device, a Wi-Fi hotspot broadcast message received by the Wi-Fi device, collected by the sensor The motion state of the mobile device;
    所述处理器基于所述情景信息确定进行NFC支付的模拟卡;Determining, by the processor, an analog card for performing NFC payment based on the scenario information;
    所述处理器将所述确定的模拟卡通过所述触摸屏显示给用户;The processor displays the determined analog card to the user through the touch screen;
    所述处理器接收到用户的确认操作后,选择所述模拟卡;After the processor receives the confirmation operation of the user, selecting the analog card;
    所述NFC装置与NFC读卡器进行NFC支付。 The NFC device performs an NFC payment with an NFC card reader.
PCT/CN2017/075632 2017-01-20 2017-03-03 Nfc-based data transmission method and mobile device WO2018133178A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780010526.XA CN108604342B (en) 2017-01-20 2017-03-03 NFC-based data transmission method and mobile device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710046050.7 2017-01-20
CN201710046050 2017-01-20

Publications (1)

Publication Number Publication Date
WO2018133178A1 true WO2018133178A1 (en) 2018-07-26

Family

ID=62907642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/075632 WO2018133178A1 (en) 2017-01-20 2017-03-03 Nfc-based data transmission method and mobile device

Country Status (2)

Country Link
CN (1) CN108604342B (en)
WO (1) WO2018133178A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708690A (en) * 2019-09-29 2020-01-17 北京小米移动软件有限公司 Data interaction method and device and storage medium
CN110795949A (en) * 2019-09-25 2020-02-14 维沃移动通信(杭州)有限公司 Card swiping method and device, electronic equipment and medium
CN111241856A (en) * 2020-01-09 2020-06-05 广东小天才科技有限公司 Method for selecting NFC analog card and watch
CN111447557A (en) * 2020-04-07 2020-07-24 广东小天才科技有限公司 Method, server, mobile terminal and system for controlling switching of NFC analog card
CN112347799A (en) * 2020-10-16 2021-02-09 歌尔科技有限公司 Multi-NFC (near field communication) card switching method and electronic equipment
CN113743140A (en) * 2021-08-12 2021-12-03 的卢技术有限公司 Mobile phone NFC intelligent card selection method, system, medium and equipment
CN113783580A (en) * 2021-09-14 2021-12-10 维沃移动通信有限公司 Equipment control method and device
CN113992790A (en) * 2021-09-29 2022-01-28 长江勘测规划设计研究有限责任公司 NFC virtual card intelligent switching method and system on mobile intelligent device and application
CN114223222A (en) * 2019-10-18 2022-03-22 深圳市欢太科技有限公司 Terminal payment method and device, terminal equipment and computer readable storage medium
EP4006803A1 (en) * 2020-11-30 2022-06-01 The Swatch Group Research and Development Ltd Portable object for contactless payment

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110536274B (en) * 2019-08-06 2022-11-25 拉卡拉支付股份有限公司 NFC device control method and device, NFC device and storage medium
CN112906409A (en) * 2019-12-03 2021-06-04 宇龙计算机通信科技(深圳)有限公司 NFC card switching method and device, storage medium and electronic equipment
CN111047414B (en) * 2019-12-17 2023-10-17 腾讯科技(深圳)有限公司 Traffic card recommendation method, device and equipment and computer storage medium
CN111770484B (en) * 2020-07-01 2023-04-11 Oppo广东移动通信有限公司 Analog card switching method and device, computer readable medium and mobile terminal
CN112528695B (en) * 2020-12-18 2024-03-15 北京元心科技有限公司 Identification method, device, equipment and computer readable storage medium
CN112822666B (en) * 2020-12-30 2023-04-07 珠海格力电器股份有限公司 Communication method, communication device, electronic equipment and storage medium
CN114095911B (en) * 2022-01-20 2022-05-03 深圳维特智能科技有限公司 NFC (near field communication) bandwidth adjusting method and device based on wireless network router
CN114662511A (en) * 2022-03-24 2022-06-24 润芯微科技(江苏)有限公司 Method for controlling default NFC card
CN115171245B (en) * 2022-06-09 2024-03-12 郑州信大捷安信息技术股份有限公司 Door lock security authentication method and system based on HCE
CN115175164B (en) * 2022-06-28 2023-06-27 南京欧珀软件科技有限公司 Communication control method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009018255A2 (en) * 2007-07-30 2009-02-05 Motorola, Inc. Virtual card selector for a portable electronic device
EP3007122A1 (en) * 2014-10-07 2016-04-13 Nxp B.V. Method for facilitating the selection of a virtual card for an NFC transaction
CN105491243A (en) * 2016-01-18 2016-04-13 努比亚技术有限公司 NFC mobile terminal and NFC simulation card switching control method
CN105721670A (en) * 2016-01-15 2016-06-29 广东小天才科技有限公司 Automatic starting method and device for NFC operation function
CN106233313A (en) * 2014-05-29 2016-12-14 苹果公司 For using primary user device that authority provides the apparatus and method on auxiliary subscriber equipment

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2728528A1 (en) * 2008-05-30 2014-05-07 MR.QR10 GmbH & Co. KG Server device for controlling a transaction, first entity and second entity
CN101770670B (en) * 2009-01-07 2012-05-30 深圳市江波龙电子有限公司 Mobile payment device and method for utilizing mobile payment device to distribute card and realize mobile payment
EP2626823A1 (en) * 2012-02-10 2013-08-14 Vodafone Holding GmbH Location based selection in mobile wallets
US20130297507A1 (en) * 2012-05-04 2013-11-07 Mobilesphere Holdings LLC System and method for wireless transaction authentication
US20140081860A1 (en) * 2012-09-17 2014-03-20 Farid Adrangi Near field contactless system and method for online transactions
US20140279566A1 (en) * 2013-03-15 2014-09-18 Samsung Electronics Co., Ltd. Secure mobile payment using media binding
US9585006B2 (en) * 2013-06-26 2017-02-28 Cellco Partnership Express mobile device access provisioning methods, systems, and apparatus
CN103400095B (en) * 2013-08-14 2016-05-11 熊文俊 Merge system and the exchange method of a far and near interactive function
CN104717599B (en) * 2013-12-13 2018-08-24 中国移动通信集团公司 A kind of the NFC events report method and equipment of mobile terminal
US9367845B2 (en) * 2014-09-23 2016-06-14 Sony Corporation Messaging customer mobile device when electronic bank card used
CN105512892A (en) * 2014-09-25 2016-04-20 中兴通讯股份有限公司 Safety protection method and system for NFC (Near Field Communication) card brushing
US20160253657A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Method and apparatus for providing card service using electronic device
CN104820923A (en) * 2015-04-17 2015-08-05 深圳市淘淘谷信息技术有限公司 Smart wallet and payment method
CN105472546B (en) * 2015-12-31 2019-05-24 华为技术有限公司 Near field communication method and mobile terminal
CN105631644B (en) * 2015-12-31 2020-09-11 深圳市驰卡软件有限公司 Equipment production control method and NFC intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009018255A2 (en) * 2007-07-30 2009-02-05 Motorola, Inc. Virtual card selector for a portable electronic device
CN106233313A (en) * 2014-05-29 2016-12-14 苹果公司 For using primary user device that authority provides the apparatus and method on auxiliary subscriber equipment
EP3007122A1 (en) * 2014-10-07 2016-04-13 Nxp B.V. Method for facilitating the selection of a virtual card for an NFC transaction
CN105721670A (en) * 2016-01-15 2016-06-29 广东小天才科技有限公司 Automatic starting method and device for NFC operation function
CN105491243A (en) * 2016-01-18 2016-04-13 努比亚技术有限公司 NFC mobile terminal and NFC simulation card switching control method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795949A (en) * 2019-09-25 2020-02-14 维沃移动通信(杭州)有限公司 Card swiping method and device, electronic equipment and medium
CN110708690A (en) * 2019-09-29 2020-01-17 北京小米移动软件有限公司 Data interaction method and device and storage medium
CN114223222A (en) * 2019-10-18 2022-03-22 深圳市欢太科技有限公司 Terminal payment method and device, terminal equipment and computer readable storage medium
CN114223222B (en) * 2019-10-18 2024-04-26 深圳市欢太科技有限公司 Terminal payment method, device, terminal equipment and computer readable storage medium
CN111241856A (en) * 2020-01-09 2020-06-05 广东小天才科技有限公司 Method for selecting NFC analog card and watch
CN111241856B (en) * 2020-01-09 2024-03-29 广东小天才科技有限公司 Method for selecting NFC analog card and watch
CN111447557A (en) * 2020-04-07 2020-07-24 广东小天才科技有限公司 Method, server, mobile terminal and system for controlling switching of NFC analog card
CN112347799A (en) * 2020-10-16 2021-02-09 歌尔科技有限公司 Multi-NFC (near field communication) card switching method and electronic equipment
EP4006803A1 (en) * 2020-11-30 2022-06-01 The Swatch Group Research and Development Ltd Portable object for contactless payment
CN113743140A (en) * 2021-08-12 2021-12-03 的卢技术有限公司 Mobile phone NFC intelligent card selection method, system, medium and equipment
CN113783580A (en) * 2021-09-14 2021-12-10 维沃移动通信有限公司 Equipment control method and device
CN113992790A (en) * 2021-09-29 2022-01-28 长江勘测规划设计研究有限责任公司 NFC virtual card intelligent switching method and system on mobile intelligent device and application
CN113992790B (en) * 2021-09-29 2023-04-14 长江勘测规划设计研究有限责任公司 Intelligent switching method for NFC virtual card on mobile intelligent device

Also Published As

Publication number Publication date
CN108604342A (en) 2018-09-28
CN108604342B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
WO2018133178A1 (en) Nfc-based data transmission method and mobile device
WO2019127441A1 (en) Method for selecting emulated card, and mobile device
CN110020569B (en) Method for automatically selecting NFC analog card, electronic equipment and communication system
US8660492B2 (en) Mobile terminal and method of controlling the same
KR101389208B1 (en) Data communication in an electronic device
EP3207757B1 (en) Method, electronic device and computer program for connecting to external devices
US20220405733A1 (en) Payment Method and Electronic Device
WO2017185367A1 (en) Method for selecting transaction application, and terminal
KR102186547B1 (en) Communication Method and Apparatus Supporting Selective Communication Services
US20170041856A1 (en) Electronic device and method for providing service in the electronic device
US20230385565A1 (en) Emulated Card Switching Method, Electronic Device, and Communication System
US20230098616A1 (en) Method for Invoking NFC Application, Electronic Device, and NFC Apparatus
US11394671B2 (en) Method for providing transaction history-based service and electronic device therefor
CN106503986B (en) Virtual resource transfer method and device
CN111028071B (en) Bill processing method and device, electronic equipment and storage medium
KR20150033044A (en) A relay server, a portable terminal and methods for operating thereof
KR20170141006A (en) A method for connecting a subscriber identity module in an electronic device and the electronic device thereof
WO2018120221A1 (en) Method and mobile device for data transmission using bar code
KR20150128482A (en) Apparatus and Method for operating communication service between electronic devices
CN115878134A (en) Program function triggering method, device, equipment, system, medium and program product
WO2021244118A1 (en) Smart card sharing method, electronic device, and computer-readable storage medium
CN115250428A (en) Positioning method and device
JP6029612B2 (en) Communication terminal device and electronic payment system
CN111445223A (en) Payment method and electronic equipment
KR20160116477A (en) Card type device and payment method thereof

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: 17893426

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17893426

Country of ref document: EP

Kind code of ref document: A1