WO2021120825A1 - 基于近场通信nfc的行程信息提示方法、装置、系统及终端 - Google Patents

基于近场通信nfc的行程信息提示方法、装置、系统及终端 Download PDF

Info

Publication number
WO2021120825A1
WO2021120825A1 PCT/CN2020/122275 CN2020122275W WO2021120825A1 WO 2021120825 A1 WO2021120825 A1 WO 2021120825A1 CN 2020122275 W CN2020122275 W CN 2020122275W WO 2021120825 A1 WO2021120825 A1 WO 2021120825A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
transaction
nfc
server
Prior art date
Application number
PCT/CN2020/122275
Other languages
English (en)
French (fr)
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 支付宝(杭州)信息技术有限公司
Publication of WO2021120825A1 publication Critical patent/WO2021120825A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • G06Q50/265Personal security, identity or safety
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • This application relates to the technical field, and in particular to a method, device, system and terminal for prompting travel information based on near field communication NFC.
  • the embodiments of the present application provide a method, device, system, and terminal for prompting travel information based on near field communication (NFC) to solve the problem of turning off location services or location server location information in the prior art.
  • NFC near field communication
  • the embodiment of the present application provides a method for prompting travel information based on near field communication NFC, including: the first terminal monitors whether an NFC transaction event occurs; when the first terminal monitors the occurrence of an NFC transaction event, The transaction information of the NFC transaction event is sent to the application program installed in the first terminal; under the control of the application program in the first terminal, the first terminal sends the transaction information to the server of the application program; the server determines the value of the first terminal according to the transaction information Itinerary information; the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the embodiments of the present application also provide a method for prompting travel information based on near field communication NFC.
  • the method is executed on a first terminal, and the method includes: the first terminal monitors whether an NFC transaction event occurs; the first terminal When an NFC transaction event is monitored, the transaction information of the NFC transaction event is sent to the application installed in the first terminal; under the control of the application in the first terminal, the first terminal sends the transaction information to the application , So that the server determines the itinerary information of the first terminal according to the transaction information and pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the first terminal monitors whether an NFC transaction event occurs through the NFC controller.
  • an implementation manner is further provided.
  • the method further includes: the first terminal receives the user to start the NFC transaction function In response to the operation, the first terminal opens the NFC transaction function.
  • an implementation manner is further provided for sending transaction information of an NFC transaction event to an application program installed in the first terminal, including: the NFC controller of the first terminal obtains the first terminal Transaction information exchanged between the secure element of a terminal and the transaction terminal; the NFC controller of the first terminal encapsulates the transaction information as a host control interface HCI message and sends it to the operating system of the first terminal; the operating system of the first terminal broadcasts the HCI message To the application.
  • an implementation manner is further provided.
  • the first terminal Under the control of the application in the first terminal, the first terminal sends transaction information to the server of the application, including: The application program parses the HCI message to obtain transaction information; the application program in the first terminal controls the first terminal to send the transaction information to the server of the application program.
  • an implementation manner is further provided.
  • the method further includes: an application in the first terminal executes the NFC transaction event.
  • the authorized application service is installed in the secure element, and the transaction information is the information that the authorized application service interacts with the transaction terminal.
  • an implementation manner is further provided. After the first terminal monitors the occurrence of the NFC transaction event, the method further includes: the first terminal obtains positioning information; and the first terminal receives the positioning information Send to the server, so that the server determines the itinerary information in combination with the positioning information of the first terminal and the transaction information.
  • an embodiment of the present application also provides a method for prompting travel information based on near field communication NFC.
  • the method is executed on a server, and the method includes: the server obtains the NFC sent by the first terminal after listening to the NFC transaction event. Transaction information of the transaction event; the server determines the itinerary information of the first terminal according to the transaction information; the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event
  • the itinerary information includes at least the transaction location of the first terminal for the NFC transaction event.
  • the server determines the itinerary information of the first terminal according to the transaction information, including: the server determines the transaction location according to the location information of the transaction terminal.
  • the server determines the itinerary information of the first terminal according to the transaction information, including: the server combines the positioning information of the first terminal and the positioning information of the transaction terminal to determine Transaction positioning.
  • the above aspects and any possible implementation manners further provide an implementation manner.
  • the itinerary information is a itinerary route within a preset time period, where the itinerary route is a route map drawn based on multiple transaction locations within the preset time period. .
  • the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal, including:
  • the second terminal pushes the notification message of the application, where the itinerary information is used to display when the application in the second terminal is at least running in the foreground.
  • the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal through at least one of the following methods: the server uses short messages, And/or MMS, and/or voice calls send itinerary information to the phone number corresponding to the target account; the server uses email to send the itinerary information to the email address corresponding to the target account; the server sends a push message to the associated application of the associated account that logs in to the target account .
  • an embodiment of the present application provides a device for prompting travel information based on near field communication NFC, the device is set on a first terminal, and the device includes: a monitoring module for monitoring whether an NFC transaction event occurs; first The sending module is used to send the transaction information of the NFC transaction event to the application installed in the first terminal when the NFC transaction event is monitored; the second sending module is used to receive the application in the first terminal Control, send transaction information to the server of the application program, so that the server determines the itinerary information of the first terminal according to the transaction information and pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the above aspects and any possible implementation manners further provide an implementation manner in which the monitoring module monitors whether an NFC transaction event occurs through the NFC controller.
  • the device further includes: a receiving module configured to receive the user to enable NFC before the first terminal monitors whether an NFC transaction event occurs through the NFC controller Operation of the transaction function; the opening module is used to enable the NFC transaction function in response to the operation.
  • the first sending module includes: an acquiring unit configured to use the NFC controller of the first terminal to acquire the secure element of the first terminal to interact with the transaction terminal
  • the execution unit is used to use the NFC controller of the first terminal to encapsulate the transaction information as a host control interface HCI message, which is sent to the operating system of the first terminal;
  • the broadcast unit is used to use the operating system of the first terminal to transfer The HCI message is broadcast to the application.
  • the second sending module includes: a parsing unit, configured to use an application in the first terminal to parse the HCI message to obtain transaction information; a control unit, A server for controlling the first terminal to send transaction information to the application using the application in the first terminal.
  • the device further includes: an installation module for using the application in the first terminal before the first terminal monitors whether an NFC transaction event occurs. Install the authorized application service that executes the NFC transaction event to the secure element, and the transaction information is the information that the authorized application service interacts with the transaction terminal.
  • an implementation manner is further provided, and the device further includes: an acquisition module, configured to acquire positioning information after an NFC transaction event is monitored; and a third sending module, configured to The positioning information is sent to the server, so that the server determines the itinerary information in combination with the positioning information of the first terminal and the transaction information.
  • an embodiment of the present application also provides an itinerary information prompt device based on near field communication NFC.
  • the device is set on a server, and the device includes: an acquisition module for acquiring that the first terminal monitors the NFC transaction event The transaction information of the NFC transaction event sent later; the determining module is used to determine the itinerary information of the first terminal according to the transaction information; the push module is used to push the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event
  • the itinerary information includes at least the transaction location of the first terminal for the NFC transaction event.
  • the determining module includes: a first determining unit, configured to determine the transaction location according to the location information of the transaction terminal.
  • the determining module includes: a second determining unit for the server to determine the transaction positioning by combining the positioning information of the first terminal and the positioning information of the transaction terminal.
  • the above aspects and any possible implementation manners further provide an implementation manner.
  • the itinerary information is a itinerary route within a preset time period, where the itinerary route is a route map drawn based on multiple transaction locations within the preset time period. .
  • the push module includes: a first push unit configured to push notification messages of the application program to a second terminal logging in to the associated account of the target account, where , The itinerary information is used to display when the application in the second terminal is at least running in the foreground.
  • the push module includes at least one push unit as follows: a second push unit for using short messages, and/or multimedia messages, and/or voice calls
  • the itinerary information is sent to the phone number corresponding to the target account;
  • the third pushing unit is used to send the itinerary information to the email address corresponding to the target account by mail;
  • the fourth pushing unit is used to log in to the The associated application of the target account sends a push message.
  • an embodiment of the present application provides an itinerary information prompt system based on near field communication NFC, including a first terminal and a server, wherein: the first terminal is used to monitor whether an NFC transaction event occurs, and when an NFC transaction event is detected In the event of an event, the transaction information of the NFC transaction event is sent to the application installed in the first terminal, and under the control of the application in the first terminal, the transaction information is sent to the server of the application; the server is used to respond to the transaction The information determines the itinerary information of the first terminal, and pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • an embodiment of the present application provides a terminal, which includes: an NFC module; one or more processors; one or more memories; and one or more computer programs, wherein one or more computer programs are Stored in one or more memories, one or more computer programs include instructions, and when the instructions are executed by the terminal, the terminal executes the method of the second aspect.
  • an embodiment of the present application provides a server, including: one or more processors; one or more memories; and one or more computer programs, wherein one or more computer programs are stored in one or more In each memory, one or more computer programs include instructions, and when the instructions are executed by the server, the server executes the method of the third aspect.
  • One of the above technical solutions has the following beneficial effects: by acquiring NFC transaction information, using an application to send the transaction information to the server, so that the server can determine the terminal's positioning information based on the transaction information and push it to the associated account.
  • the transaction information cannot be tampered with.
  • the itinerary information is determined through the NFC transaction information, which improves the accuracy of the itinerary information.
  • FIG. 1 is a structural schematic diagram 1 of a itinerary information prompt system based on near field communication NFC provided by an embodiment of the present application;
  • Embodiment 2 is a schematic flowchart of Embodiment 1 of a method for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 3 is a first interactive schematic diagram of a method for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 4 is a second schematic diagram of interaction of a method for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 5 is a third interactive schematic diagram of a method for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • Embodiment 6 is a schematic flowchart of Embodiment 2 of a method for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 7 is a schematic flowchart of Embodiment 3 of a method for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 8 is a schematic diagram of a fourth embodiment of a device for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 9 is a schematic diagram of Embodiment 5 of a device for prompting travel information based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 10 is a schematic diagram 2 of the structure of the itinerary information prompt system based on near field communication (NFC) provided by an embodiment of the present application;
  • NFC near field communication
  • FIG. 11 is a schematic diagram of a terminal provided by an embodiment of the present application.
  • Fig. 12 is a schematic diagram of a server provided by an embodiment of the present application.
  • first, second, third, etc. may be used to describe a certain term in the embodiments of the present application, it should not be limited to these terms. First, second, and third are only used to distinguish these terms from each other. For example, without departing from the scope of the embodiments of the present application, the first "XXX” can also be referred to as the second "XXX”, and similarly, the second "XXX” can also be referred to as the first "XXX”.
  • the word “if” as used herein can be interpreted as “when” or “when” or “in response to determination” or “in response to detection”.
  • the phrase “if determined” or “if detected (statement or event)” can be interpreted as “when determined” or “in response to determination” or “when detected (statement or event) )” or “in response to detection (statement or event)”.
  • the embodiment of the present application provides a method for prompting travel information based on near field communication NFC, and the method can be applied to the travel information prompt system 100 based on near field communication NFC as shown in FIG. 1.
  • the itinerary information prompt system 100 based on near field communication NFC includes a server 102 and a first terminal, where the first terminal may be a mobile terminal such as a mobile phone, a PDA (Personal Digital Assistant), a tablet device, etc.
  • the first terminal may be a mobile phone A101 as shown in FIG. 1.
  • the server 102 is the server corresponding to the application (APP for short) installed in the mobile phone A101.
  • the application can be an application with a payment service function.
  • the server 102 is a service server corresponding to the application and provides services for the application. stand by.
  • the mobile phone A101 is equipped with a Near Field Communication (NFC) module, including hardware modules: Secure Element 1011 (Secure Element, SE for short), NFC controller 1012, and NFC antenna.
  • NFC Near Field Communication
  • the secure element 101 is used to implement functions such as data secure storage, encryption and decryption operations.
  • the chip has an encryption/decryption logic circuit and can be used as a wallet for offline payment with NFC. Multiple applications can be installed in the secure element 101.
  • the secure element 101 It can be packaged into various hardware forms.
  • the secure element 101 can be a hardware chip set independently of the host of the mobile phone A101 (the host is shown in Figure 1), or the secure element 101 can also be embedded
  • the setting of is in the Subscriber Identity Modula (SIM card for short) of the mobile terminal, and the embodiment of the present application does not specifically limit the hardware packaging manner of the secure element 101.
  • the NFC controller 1012 includes an encoding module and a decoding module.
  • the encoding module is used to encode information into NFC communication information to be sent out through the NFC antenna 1013.
  • the decoding module is used to decode the received NFC communication information to enable the operating system Or the authorized application service installed in the secure element 1011 can read the identification.
  • the operating system for example, Android system
  • application programs in the mobile phone A101 can be run on the host of the mobile phone A101.
  • the application can install one or more authorized application service applets in the secure element 1011, As shown in Figure 1, authorized application service 1, authorized application service 2, etc., each authorized application service can be regarded as an NFC card authorized by the card issuer.
  • authorized application service 1 is installed in the secure element 1011 of the mobile phone A101 with the key provided by the card issuer.
  • the authorized application service 1 has the same Beijing subway transportation card. Function, you can swipe your card on the turnstile of Beijing subway station to enter and exit the station.
  • the authorized application service 2 can be a Shanghai public transportation card, which is similar to the issuance and installation method of a Beijing subway transportation card, and will not be repeated here.
  • the secure element 1011 can use the corresponding card swiping function offline after the authorized application service is successfully installed. For example, when the mobile phone A101 is in the off-screen standby state, the card can also be swiped at the POS terminal 201.
  • the user When performing a credit card transaction, the user brings the mobile phone A101 close to the antenna sensing area of the POS terminal 201, and the NFC reader 2011 in the POS terminal 201 can recognize that an NFC device is close to the antenna sensing area of the POS terminal 201.
  • the mobile phone A101 needs to enable the NFC transaction function in advance. After the NFC transaction function is enabled, the mobile phone A101 will send out an NFC communication signal at a certain frequency so that the approaching POS terminal 201 can sense it.
  • the POS terminal 201 senses the mobile phone A101
  • the POS terminal 201 establishes an NFC connection with the mobile phone A101, and the POS terminal 201 uses the established NFC connection to perform key verification on the authorized application service 1 in the mobile phone A101, and verify the key used The key provided by the card issuer of the authorized application service 1.
  • the POS terminal 201 determines that the authorized application service 1 is an application authorized by the card issuer and allows further transactions.
  • the transaction information may include the POS terminal name obtained by the mobile phone A101 from the POS terminal 201 (for example, if the POS terminal 201 is set in a subway station, the terminal name may be the entrance of Pudong Airport, if the POS terminal 201 is set on a bus, the terminal The name can be line 11, etc.), POS terminal location information (for example, if the POS terminal 201 is installed in subway stations, shopping malls, etc., and has a fixed location, the pre-registered and stored fixed location can be used as the location information.
  • the terminal 201 is set in a mobile scene such as on a bus, and can acquire the map location information of the location-based service (LBS) acquired by the POS terminal 201).
  • the transaction information may also include information such as the time of swiping the card to board the bus (for example, 09:00:00 on September 9, 2019), the amount of the card swiping, and the card number of the swiping card.
  • the above-mentioned optional transaction information can be It is provided by the mobile phone A101 itself.
  • the above transaction information is obtained by the NFC controller 1012 in the mobile phone A101.
  • the method for prompting travel information based on the near field communication NFC provided in this embodiment is applied to an optional implementation of the system as shown in FIG. 1 and may include steps 201 to 214 as shown in FIG. 2.
  • step 201 user A downloads an application program and installs it in mobile phone A101.
  • Step 202 User A applies to the card issuer (the server) for authorized application services in the application.
  • step 203 the card issuer issues authorized application service 1 to the mobile phone A101, and the authorized application service 1 is installed in the secure element 1011 of the mobile phone A101.
  • step 204 the user A turns on the NFC transaction function in the mobile phone A101.
  • step 205 the user A brings the mobile phone A101 close to the NFC sensing area of the POS terminal 201 set at the gate of the subway station.
  • the mobile phone A101 establishes an NFC connection with the POS terminal 201, and uses the NFC connection to perform an NFC transaction.
  • the NFC communication messages sent and received by the mobile phone A101 are all encoded or decoded by the NFC controller 1012 in the mobile phone A101.
  • the POS terminal 201 needs to use the key provided by the card issuer to verify the authorized application service 1 of the mobile phone A101. After the verification is successful, the transaction can be performed.
  • step 207 the NFC controller 1012 in the mobile phone A101 monitors the NFC transaction event.
  • the NFC controller 1012 encapsulates the transaction information of the NFC transaction event as a Host Controller Interface (HCI) message, and sends it to the operating system of the mobile phone A101.
  • HCI Host Controller Interface
  • the HCI message is a protocol for the host to communicate with the NFC controller 1012.
  • the transaction information includes at least the location information of the POS terminal 201.
  • the POS terminal 201 may be equipped with a positioning module to determine the current positioning position of the POS terminal 201.
  • the POS terminal 201 may store configured positioning information.
  • Step 209 The operating system of the mobile phone A101 broadcasts the HCI message to the application program.
  • step 210 the application program uses the transaction information processing module shown in FIG. 1 to decode the HCI message to obtain transaction information.
  • Step 211 The application program sends the transaction information obtained by the transaction information processing module to the server 102 through the wireless network communication module of the mobile phone A101.
  • the server 102 determines the itinerary information of the mobile phone A101 according to at least the transaction information including the POS terminal 201.
  • the itinerary information includes at least the transaction location of the current transaction of the mobile phone A101.
  • the transaction information may also include the positioning information of the mobile phone A101, which is obtained by the positioning module 1014 configured in the mobile phone A101 as shown in FIG. 1, and then sent to the server 102 through the wireless network communication module of the mobile phone A101.
  • the positioning module 1014 may be a global positioning system (Global Positioning System, GPS for short).
  • the server 102 can calibrate and correct the positioning information of the POS terminal 201 in combination with the positioning information of the mobile phone A101.
  • the POS terminal 201 can combine the positioning information of the mobile phone A101 only when the POS terminal 201 is a mobile and unfixed terminal device.
  • the positioning information of the POS terminal 201 is calibrated and corrected, and when the position of the POS terminal 201 is fixed, the correction may not be required.
  • the transaction information may also include the identification information of the mobile phone A101, for example, the International Mobile Equipment Identity (IMEI) of the mobile phone A101, which is commonly referred to as the serial number of the mobile phone, to be used for the transaction information
  • IMEI International Mobile Equipment Identity
  • Verification of the authenticity of the POS terminal 201 may also include the account of logging into the application program of the mobile phone A101, and the identification information of the POS terminal 201 and so on.
  • it may also include specific transaction details of the transaction information, such as transaction time, transaction card number issued by the card issuer, transaction amount, and so on. This embodiment of the application does not specifically limit this.
  • Information other than the information related to determining the location of the mobile phone A101 can be used as a basis for the server 102 to identify the terminal/account identity and enrich the display content of the itinerary information. It can be set according to specific conditions. Certainly, I won't repeat it here.
  • step 213 the server 102 pushes the itinerary information to the target account pre-associated with the account corresponding to the mobile phone A101: user B's account.
  • the account corresponding to the mobile phone A101 may be a login account of an application installed in the mobile phone A101.
  • the target account is an account pre-associated with the login account.
  • the target account may be one or more accounts specified among multiple friend accounts.
  • some more complicated authorization methods can be set.
  • the password for the editing operation can be set by the child’s parents to prevent the child from deleting the account; or
  • the parent’s mobile phone number is required for verification, and so on.
  • the embodiment of the application does not limit this.
  • step 214 the mobile phone B202 displays the itinerary information.
  • the message push method can be to send an in-program push message banner to the application of the associated account of the login target account, as shown in Figure 1, the same as the application installed in the mobile phone A101, the application installed in the mobile phone B202 also includes the message push module , The message banner can be pushed by the message push module.
  • the interaction diagram is shown in Figure 3. If user B clicks on the banner 2022 in the application interface 2021 of the mobile phone B202, he can view the mobile phone A101 in the application interface 2021 of the mobile phone B202.
  • the itinerary information displays the transaction location 2023 of the mobile phone A101.
  • the itinerary information provided by the server 102 may also be a itinerary route map 2024 formed by multiple transaction positioning of the mobile phone A101 over a period of time, as shown in FIG. 5.
  • the embodiment of the present application does not specifically limit the specific presentation manner of the itinerary information, and may be configured according to specific conditions.
  • the message push method may also be to push the itinerary information to the preset communication account corresponding to the target account in the communication method corresponding to the preset communication account.
  • the target account associated with the account logged in by mobile phone A101 is the account of user B
  • the mobile phone number of user B is pre-stored in the server 102, and a short message is sent to the mobile phone number to prompt the itinerary information, or a map in the form of a MMS is sent Itinerary information, or dial the mobile phone number of user B in the form of voice call, and convey the itinerary information to user B in the form of voice broadcast.
  • the server 102 may also pre-store the email address of the user B, and when the itinerary information needs to be pushed, it is sent to the mailbox of the user B in the form of an email.
  • the server 102 may push the itinerary information to an associated application program other than the above-mentioned application program in linkage.
  • the application program described in the embodiment of the present application may be "Alipay".
  • a message that needs to push the itinerary information to user B’s account can be sent to the "Dingding" server, so that the "Dingding" server will push the itinerary information to the "Dingding" account associated with user B's Alipay account.
  • user B's "Alipay" account and “Dingding” account can be linked through a mobile phone number.
  • the embodiment of the present application also does not specifically limit the specific method of pushing messages, and can be configured according to specific conditions.
  • the method for prompting travel information based on near field communication NFC obtained by the embodiment of the application obtains NFC transaction information and uses an application to send the transaction information to the server, so that the server can determine the location information of the terminal according to the transaction information and push it to the associated account , Since the NFC transaction information cannot be tampered with, the itinerary information is determined through the NFC transaction information, which improves the accuracy of the itinerary information.
  • the embodiment of the present application also provides a schematic flow chart of a method for prompting travel information based on near field communication NFC, which can be executed by a terminal such as a mobile phone A101 as shown in FIG. 1. As shown in FIG. 6, the method includes steps 601- Step 602.
  • Step 601 The first terminal monitors whether an NFC transaction event occurs.
  • step 602 the first terminal sends the transaction information of the NFC transaction event to the application program installed in the first terminal when it monitors the occurrence of the NFC transaction event.
  • Step 603 under the control of the application in the first terminal, the first terminal sends the transaction information to the server of the application, so that the server determines the itinerary information of the first terminal according to the transaction information and pushes the itinerary information to the first terminal The target account pre-associated with the corresponding account.
  • An optional implementation manner is that the first terminal monitors whether an NFC transaction event occurs through the NFC controller.
  • An optional implementation manner is that, before the first terminal monitors whether an NFC transaction event occurs through the NFC controller, the method further includes: the first terminal receives an operation of the user to enable the NFC transaction function; in response to the operation, the first terminal opens NFC transaction function.
  • sending the transaction information of the NFC transaction event to the application installed in the first terminal includes: the NFC controller of the first terminal obtains the transaction that the secure element of the first terminal interacts with the transaction terminal Information; the NFC controller of the first terminal encapsulates the transaction information as a host control interface HCI message and sends it to the operating system of the first terminal; the operating system of the first terminal broadcasts the HCI message to the application.
  • An optional implementation manner is that, under the control of the application in the first terminal, the first terminal sends the transaction information to the server of the application, including: the application in the first terminal parses the HCI message to obtain the transaction information; The application in a terminal controls the first terminal to send transaction information to the server of the application.
  • An optional implementation manner is that, before the first terminal monitors whether an NFC transaction event occurs, the method further includes: an application in the first terminal installs an authorized application service for executing the NFC transaction event to the secure element, and the transaction information is Information that authorizes application services to interact with the transaction terminal.
  • An optional implementation manner is that after the first terminal monitors the occurrence of the NFC transaction event, the method further includes: the first terminal obtains positioning information; the first terminal sends the positioning information to the server, so that the server combines with the first terminal The location information and transaction information determine the itinerary information.
  • the embodiment of the present application also provides a schematic flow chart of a method for prompting travel information based on near field communication NFC, which can be executed by the server 102 as shown in FIG. 1. As shown in FIG. 7, the method includes steps 701 to 703. .
  • Step 701 The server obtains the transaction information of the NFC transaction event sent by the first terminal after the NFC transaction event is monitored.
  • Step 702 The server determines the itinerary information of the first terminal according to the transaction information.
  • Step 703 The server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event
  • the itinerary information includes at least the transaction location of the first terminal for the NFC transaction event
  • the server determines the itinerary of the first terminal according to the transaction information.
  • Information including: the server determines the transaction location based on the location information of the transaction terminal.
  • the server determining the itinerary information of the first terminal according to the transaction information includes: the server combines the positioning information of the first terminal and the positioning information of the transaction terminal to determine the transaction positioning.
  • the itinerary information is a itinerary route within a preset time period, where the itinerary route is a route map drawn according to multiple transaction locations within the preset time period.
  • An optional implementation manner is that the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal, including: the server pushes the notification message of the application to the second terminal logging in the associated account of the target account, where , The itinerary information is used to display when the application in the second terminal is at least running in the foreground.
  • An optional implementation manner is that the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal through at least one of the following methods: the server uses short messages, and/or, MMS, and/or, voice
  • the call sends the itinerary information to the phone number corresponding to the target account; the server sends the itinerary information to the email address corresponding to the target account by mail; the server sends a push message to the associated application of the associated account that logs in to the target account.
  • the embodiment of the present application also provides a schematic diagram of a device for prompting travel information based on near field communication (NFC), which can be set in a terminal such as the mobile phone A101 shown in FIG. 1.
  • NFC near field communication
  • the device includes a monitoring module 10, The first sending module 20 and the second sending module 30.
  • the monitoring module is used to monitor whether an NFC transaction event occurs;
  • the first sending module is used to send the transaction information of the NFC transaction event to the application installed in the first terminal when the NFC transaction event is monitored;
  • the second sending module is used to send transaction information to the server of the application under the control of the application in the first terminal, so that the server can determine the itinerary information of the first terminal according to the transaction information and push the itinerary information to correspond to the first terminal
  • the account is pre-linked to the target account.
  • An optional implementation manner is that the monitoring module monitors whether an NFC transaction event occurs through the NFC controller.
  • the device further includes: a receiving module, configured to receive the user's operation to open the NFC transaction function before the first terminal monitors whether an NFC transaction event occurs through the NFC controller; the opening module is used to respond to Operate to enable the NFC transaction function.
  • the first sending module includes: an acquisition unit, configured to use the NFC controller of the first terminal to acquire transaction information between the secure element of the first terminal and the transaction terminal; and the execution unit, configured to use the first terminal
  • the NFC controller of a terminal encapsulates the transaction information as a host control interface HCI message and sends it to the operating system of the first terminal; the broadcasting unit is used to broadcast the HCI message to the application using the operating system of the first terminal.
  • the second sending module includes: a parsing unit, configured to use an application in the first terminal to parse the HCI message to obtain transaction information; a control unit, configured to use an application in the first terminal to control The first terminal sends the transaction information to the server of the application.
  • the device further includes: an installation module, configured to use an application in the first terminal to install an authorized application service that executes an NFC transaction event to the first terminal before the first terminal monitors whether an NFC transaction event occurs.
  • the security element, the transaction information is the information that the authorized application service interacts with the transaction terminal.
  • the device further includes: an obtaining module, which is used to obtain positioning information after the occurrence of an NFC transaction event is monitored; and a third sending module, which is used to send the positioning information to the server so that the server can combine The location information and transaction information of the first terminal determine the itinerary information.
  • the embodiment of the present application also provides a schematic diagram of a device for prompting travel information based on near field communication NFC, which can be set in the server 102 shown in FIG. 1, as shown in FIG. 9, the device includes: an acquisition module 40, a determination Module 50 and push module 60.
  • the obtaining module is used to obtain the transaction information of the NFC transaction event sent by the first terminal after listening to the NFC transaction event; the determining module is used to determine the itinerary information of the first terminal according to the transaction information; the push module is used to push the itinerary information To the target account pre-associated with the account corresponding to the first terminal.
  • the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event
  • the itinerary information includes at least the transaction location of the first terminal for the NFC transaction event
  • the determining module includes: a first determining unit, To determine the transaction location based on the location information of the transaction terminal.
  • the determining module includes: a second determining unit for the server to determine the transaction location by combining the location information of the first terminal and the location information of the transaction terminal.
  • the itinerary information is a itinerary route within a preset time period, where the itinerary route is a route map drawn according to multiple transaction locations within the preset time period.
  • the pushing module includes: a first pushing unit, configured to push notification messages of the application to a second terminal logging in to the associated account of the target account, wherein the itinerary information is used in the second terminal
  • the application is displayed when at least running in the foreground.
  • the push module includes at least one of the following push units: a second push unit for using short messages, and/or MMS, and/or voice calls to the phone number corresponding to the target account Send the itinerary information; a third push unit, used to send the itinerary information to the email address corresponding to the target account by mail; a fourth push unit, used to send a push message to the associated application logging in the target account .
  • the embodiment of the present application also provides an itinerary information prompt system based on near field communication NFC.
  • the system includes a first terminal 801 and a server 802.
  • the first terminal is used to monitor whether an NFC transaction event occurs.
  • the transaction information of the NFC transaction event is sent to the application installed in the first terminal, and the transaction information is sent to the application program under the control of the application in the first terminal Server;
  • the server is used to determine the itinerary information of the first terminal according to the transaction information, and push the itinerary information to the target account pre-associated with the account corresponding to the first terminal.
  • the first terminal 801 may be the mobile phone A101 as shown in FIG. 1
  • the server 802 may be the server 102 as shown in FIG. 1.
  • the embodiments of this application do not impose any restriction on this.
  • the embodiment of the present application also provides a terminal, including: a touch screen 901, the touch screen 901 includes a touch sensor 906 and a display screen 907; one or more processors 902; a memory 903; an NFC module 908; and one or more computers Procedure 904.
  • the above-mentioned devices may be connected through one or more communication buses 905.
  • the aforementioned one or more computer programs 904 are stored in the aforementioned memory 903 and configured to be executed by the one or more processors 902, and the one or more computer programs 904 include instructions, and the aforementioned instructions can be used to execute the aforementioned The steps performed by the mobile phone A101 in the first embodiment and the second embodiment.
  • the foregoing terminal may specifically be the mobile phone A101 in FIG. 1
  • the foregoing processor 902 and the memory 903 may be specifically set on the host of the mobile phone A101 in Embodiment 1
  • the NFC module 908 includes the secure element 1011 shown in FIG. 1 , NFC controller 1012 and NFC antenna 1013, wherein the NFC controller 1012 and NFC antenna 1013 can also be set on the host of the mobile phone A101 in Embodiment 1, and the secure element 1011 can be set on the opposite element of the host.
  • the embodiments of this application do not impose any restriction on this.
  • the embodiment of the present application also provides a server, including: one or more processors 910; one or more memories 911; and one or more computer programs 912, wherein one or more computer programs 912 are stored in one or more Among the multiple memories 911, one or more computer programs 912 include instructions, and when the instructions are executed by the server, the server executes the method executed by the server 102 in the first embodiment and the third embodiment.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) execute the method described in each embodiment of the present application. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

本申请实施例提供了一种基于近场通信NFC的行程信息提示方法、装置、系统及终端。一方面,本申请实施例通过第一终端监听是否发生NFC交易事件;第一终端在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序;受第一终端中的应用程序控制,第一终端将交易信息发送至应用程序的服务器;服务器根据交易信息确定第一终端的行程信息;服务器将行程信息推送至与第一终端对应的账户预先关联的目标账户,由于NFC交易信息是不可被篡改的,通过NFC的交易信息确定行程信息,提高了行程信息的准确性。

Description

基于近场通信NFC的行程信息提示方法、装置、系统及终端 技术领域
本申请涉及技术领域,尤其涉及一种基于近场通信NFC的行程信息提示方法、装置、系统及终端。
背景技术
子女安全问题是父母最关心的问题,受限于父母的个人情况,对于子女上学、游玩等出行场景,父母往往无法对子女的行程进行实时监督。目前存在一些智能手环、智能手表等可穿戴设备,与父母的手机配合对子女的定位进行确定,或者通过子女携带的手机定位服务确定当前位置,但是可穿戴设备的定位或者手机定位服务由于信号问题可能不准确,存在定位偏差,尤其是在地铁上或者较偏远的地区,无法使父母手机上实时更新子女的行程信息,并且无法确定非常具体的位置信息,如果定位服务被关闭,也无法获取行程信息。此外,这种获取行程信息的方式在操作系统被破解等情况下定位信息可以被篡改,不够安全。
发明内容
有鉴于此,本申请实施例提供了一种基于近场通信NFC的行程信息提示方法、装置、系统及终端,用以解决现有技术中由于关闭定位服务或定位服务器定位信息问题。
第一方面,本申请实施例提供了一种基于近场通信NFC的行程信息提示方法,包括:第一终端监听是否发生NFC交易事件;第一终端在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序;受第一终端中的应用程序控制,第一终端将交易信息发送至应用程序的服务器;服务器根据交易信息确定第一终端的行程信息;服务器将行程信息推送至与第一终端对应的账户预先关联的目标账户。
第二方面,本申请实施例还提供了一种基于近场通信NFC的行程信息提示方法,该方法执行在第一终端上,该方法包括:第一终端监听是否发生NFC交易事件;第一终端在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序;受第一终端中的应用程序控制,第一终端将交易信息发送至应用程序的服务器,以使服务器根据交易信息确定第一终端的行程信息、以及将行程信息 推送至与第一终端对应的账户预先关联的目标账户。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,第一终端通过NFC控制器监听是否发生NFC交易事件。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,在第一终端通过NFC控制器监听是否发生NFC交易事件之前,该方法还包括:第一终端接收用户开启NFC交易功能的操作;响应于操作,第一终端开启NFC交易功能。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序,包括:第一终端的NFC控制器获取第一终端的安全元件与交易终端交互的交易信息;第一终端的NFC控制器将交易信息封装为主机控制接口HCI消息,发送至第一终端的操作系统;第一终端的操作系统将HCI消息广播至应用程序。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,受第一终端中的应用程序控制,第一终端将交易信息发送至应用程序的服务器,包括:第一终端中的应用程序解析HCI消息,得到交易信息;第一终端中的应用程序控制第一终端将交易信息发送至应用程序的服务器。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,在第一终端监听是否发生NFC交易事件之前,该方法还包括:第一终端中的应用程序将执行NFC交易事件的授权应用服务安装至安全元件,交易信息为授权应用服务与交易终端交互的信息。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,第一终端在监听到发生NFC交易事件之后,该方法还包括:第一终端获取定位信息;第一终端将定位信息发送至服务器,以使服务器结合第一终端的定位信息和交易信息确定行程信息。
第三方面,本申请实施例还提供了一种基于近场通信NFC的行程信息提示方法,该方法执行在服务器上,该方法包括:服务器获取第一终端在监听到NFC交易事件之后发送的NFC交易事件的交易信息;服务器根据交易信息确定第一终端的行程信息;服务器将行程信息推送至与第一终端对应的账户预先关联的目标账户。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,交易信息中至少包括NFC交易事件对应的交易终端的定位信息,行程信息至少包括第一终端针对NFC交易事件的交易定位,服务器根据交易信息确定第一终端的行程信息,包括:服务 器根据交易终端的定位信息,确定交易定位。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,服务器根据交易信息确定第一终端的行程信息,包括:服务器结合第一终端的定位信息和交易终端的定位信息,确定交易定位。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,行程信息为预设时段内的行程路线,其中,行程路线为根据预设时段内的多个交易定位绘制的路线图。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,服务器将行程信息推送至与第一终端对应的账户预先关联的目标账户,包括:服务器向登录目标账户的关联账户的第二终端推送应用程序的通知消息,其中,行程信息用于在第二终端中的应用程序至少运行在前台的情况下显示。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,服务器通过以下至少一种方式将行程信息推送至与第一终端对应的账户预先关联的目标账户:服务器使用短消息、和/或彩信、和/或语音通话向目标账户对应的电话号码发送行程信息;服务器使用邮件向目标账户对应的邮箱地址发送行程信息;服务器向登录目标账户的关联账户的关联应用程序发送推送消息。
第四方面,本申请实施例提供了一种基于近场通信NFC的行程信息提示装置,该装置设置在第一终端上,该装置包括:监听模块,用于监听是否发生NFC交易事件;第一发送模块,用于在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序;第二发送模块,用于受第一终端中的应用程序控制,将交易信息发送至应用程序的服务器,以使服务器根据交易信息确定第一终端的行程信息、以及将行程信息推送至与第一终端对应的账户预先关联的目标账户。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,监听模块通过NFC控制器监听是否发生NFC交易事件。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,该装置还包括:接收模块,用于在第一终端通过NFC控制器监听是否发生NFC交易事件之前,接收用户开启NFC交易功能的操作;开启模块用于响应于操作,开启NFC交易功能。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,第一发送模块包括:获取单元,用于使用第一终端的NFC控制器获取第一终端的安全元件与交易 终端交互的交易信息;执行单元,用于使用第一终端的NFC控制器将交易信息封装为主机控制接口HCI消息,发送至第一终端的操作系统;广播单元,用于使用第一终端的操作系统将HCI消息广播至应用程序。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,第二发送模块包括:解析单元,用于使用第一终端中的应用程序解析HCI消息,得到交易信息;控制单元,用于使用第一终端中的应用程序控制第一终端将交易信息发送至应用程序的服务器。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,该装置还包括:安装模块,用于在第一终端监听是否发生NFC交易事件之前,使用第一终端中的应用程序将执行NFC交易事件的授权应用服务安装至安全元件,交易信息为授权应用服务与交易终端交互的信息。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,该装置还包括:获取模块,用于在监听到发生NFC交易事件之后,获取定位信息;第三发送模块,用于将定位信息发送至服务器,以使服务器结合第一终端的定位信息和交易信息确定行程信息。
第五方面,本申请实施例还提供了一种基于近场通信NFC的行程信息提示装置,该装置设置在服务器上,该装置包括:获取模块,用于获取第一终端在监听到NFC交易事件之后发送的NFC交易事件的交易信息;确定模块,用于根据交易信息确定第一终端的行程信息;推送模块,用于将行程信息推送至与第一终端对应的账户预先关联的目标账户。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,交易信息中至少包括NFC交易事件对应的交易终端的定位信息,行程信息至少包括第一终端针对NFC交易事件的交易定位,确定模块包括:第一确定单元,用于根据交易终端的定位信息,确定交易定位。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,确定模块包括:第二确定单元,用于服务器结合第一终端的定位信息和交易终端的定位信息,确定交易定位。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,行程信息为预设时段内的行程路线,其中,行程路线为根据预设时段内的多个交易定位绘制的路线 图。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,推送模块包括:第一推送单元,用于向登录目标账户的关联账户的第二终端推送应用程序的通知消息,其中,行程信息用于在第二终端中的应用程序至少运行在前台的情况下显示。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,推送模块包括以下至少一个推送单元:第二推送单元,用于使用短消息、和/或彩信、和/或语音通话向所述目标账户对应的电话号码发送所述行程信息;第三推送单元,用于使用邮件向所述目标账户对应的邮箱地址发送所述行程信息;第四推送单元,用于向登录所述目标账户的关联应用程序发送推送消息。
第六方面,本申请实施例提供了一种基于近场通信NFC的行程信息提示系统,包括第一终端和服务器,其中:第一终端用于监听是否发生NFC交易事件,在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序,以及受第一终端中的应用程序控制,将交易信息发送至应用程序的服务器;服务器用于根据交易信息确定第一终端的行程信息,以及将行程信息推送至与第一终端对应的账户预先关联的目标账户。
第七方面,本申请实施例提供了一种终端,该终端包括:NFC模块;一个或多个处理器;一个或多个存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在一个或多个存储器中,一个或多个计算机程序包括指令,当指令被终端执行时,使得终端执行第二方面的方法。
第八方面,本申请实施例提供了一种服务器,包括:一个或多个处理器;一个或多个存储器;以及一个或多个计算机程序,其中一个或多个计算机程序被存储在一个或多个存储器中,一个或多个计算机程序包括指令,当指令被服务器执行时,使得服务器执行第三方面的方法。
上述技术方案中的一个技术方案具有如下有益效果:通过获取NFC交易信息,使用应用程序将交易信息发送至服务器,以使服务器根据交易信息确定终端的定位信息,并推送至关联的账户,由于NFC交易信息是不可被篡改的,通过NFC的交易信息确定行程信息,提高了行程信息的准确性。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1是本申请实施例提供的一种基于近场通信NFC的行程信息提示系统的结构示意图一;
图2是本申请实施例所提供的基于近场通信NFC的行程信息提示方法的实施例一的流程示意图;
图3是本申请实施例所提供的基于近场通信NFC的行程信息提示方法的交互示意图一;
图4是本申请实施例所提供的基于近场通信NFC的行程信息提示方法的交互示意图二;
图5是本申请实施例所提供的基于近场通信NFC的行程信息提示方法的交互示意图三;
图6是本申请实施例所提供的基于近场通信NFC的行程信息提示方法的实施例二的流程示意图;
图7是本申请实施例所提供的基于近场通信NFC的行程信息提示方法的实施例三的流程示意图;
图8是本申请实施例所提供的基于近场通信NFC的行程信息提示装置的实施例四的示意图;
图9是本申请实施例所提供的基于近场通信NFC的行程信息提示装置的实施例五的示意图;
图10是本申请实施例所提供的基于近场通信NFC的行程信息提示系统的结构示意图二;
图11是本申请实施例所提供的一种终端的示意图;
图12是本申请实施例所提供的一种服务器的示意图。
具体实施方式
为了更好的理解本申请的技术方案,下面结合附图对本申请实施例进行详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应当理解,尽管在本申请实施例中可能采用术语第一、第二、第三等来描述某一术语,但不应限于这些术语。第一、第二、第三仅用来将这些术语彼此区分开。例如,在不脱离本申请实施例范围的情况下,第一“XXX”也可以被称为第二“XXX”,类似地,第二“XXX”也可以被称为第一“XXX”。
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
实施例一
本申请实施例给出一种基于近场通信NFC的行程信息提示方法,该方法可以应用于如图1所示的基于近场通信NFC的行程信息提示系统100中。
如图1所示,该基于近场通信NFC的行程信息提示系统100包括服务器102和第一终端,其中,第一终端可以是手机、掌上电脑PDA(Personal Digital Assistant)、平板设备等移动终端,例如,第一终端可以是如图1所示的手机A101。
服务器102是手机A101中安装的应用程序(Application,简称APP)对应的服务器,该应用程序可以是带有支付业务功能的应用程序,服务器102为该应用程序对应的 业务服务器,为应用程序提供业务支持。
手机A101配置有近场通信NFC(Near Field Communication)模块,包括硬件模块:安全元件1011(Secure Element,简称SE)、NFC控制器1012和NFC天线。安全元件101用于实现数据安全存储、加解密运算等功能,在芯片中具有加密/解密逻辑电路,能配合NFC作为线下支付的钱包使用,安全元件101中可以安装多个应用,安全元件101可以封装成各种硬件形式,在手机A101中,安全元件101可以是一个与手机A101的主机(图1中为示出主机)相互独立设置的硬件芯片,或者,安全元件101也可以是嵌入式的设置在移动终端的用户识别卡(Subscriber Identity Modula,简称SIM卡)中,本申请实施例对安全元件101的硬件封装方式不作具体限制。NFC控制器1012中包括编码模块和解码模块,编码模块用于将信息编码为NFC通讯信息,以通过NFC天线1013发送出去,解码模块用于对接收到的NFC通讯信息进行解码,以使操作系统或安全元件1011中安装的授权应用服务能够读取识别。
手机A101中的操作系统(例如,安卓Android系统)和应用程序都可以运行在手机A101的主机上。在使用手机A101在销售终端(Point of Sale,又称POS终端)201上刷卡之前,需要在手机A101上安装应用程序,该应用程序可以在安全元件1011中安装一个或多个授权应用服务applet,如图1所示的授权应用服务1、授权应用服务2,等等,每个授权应用服务可以视作一张发卡方授权的NFC卡,例如,用户可以在应用程序中申请北京地铁交通卡,北京地铁交通卡的发卡方为该用户发放一张北京地铁交通卡,以发卡方提供的密钥在手机A101的安全元件1011中安装授权应用服务1,授权应用服务1具有北京地铁交通卡相同的功能,可以在北京地铁站的闸机上刷卡进出站。又如,授权应用服务2可以是上海公交交通卡,与北京地铁交通卡的发卡安装方式相似,在此不再赘述。安全元件1011在授权应用服务安装成功之后,可以离线的使用对应的刷卡功能。例如,手机A101在熄屏待机状态时,也可以在POS终端201刷卡。
在执行刷卡交易时,用户将手机A101靠近POS终端201的天线感应区域,POS终端201中的NFC读取器2011可以识别出有NFC设备靠近POS终端201的天线感应区域。在一些设计中,手机A101需要预先开启NFC交易功能,在开启NFC交易功能之后,手机A101会以一定的频率发出NFC通信信号以使靠近的POS终端201感应到。进而,在POS终端201感应到手机A101之后,POS终端201与手机A101建立NFC连接,POS终端201使用建立的NFC连接对手机A101中授权应用服务1进行密钥校验,校验使用的密钥为授权应用服务1的发卡方提供的密钥。在密钥校验成功之后,POS终 端201确定授权应用服务1是上述发卡方授权的应用,允许进一步进行交易。
在交易过程中,交易双方可以交互交易信息。例如,交易信息可以包括手机A101从POS终端201获取的POS终端名称(例如,POS终端201如果设置在地铁站,终端名称可以是浦东机场进站口,如果POS终端201设置在公交车上,终端名称可以是线路11路,等等)、POS终端位置信息(例如,如果POS终端201设置在地铁站、商场等场合,有固定位置,可以以预先登记并存储的固定位置作为位置信息,如果POS终端201设置在公交车上等可以移动的场景下,可以获取POS终端201获取的基于位置的服务LBS的地图位置信息)。可选的,交易信息还可以包括诸如刷卡上车时间(例如,2019年9月9日09:00:00)、刷卡金额、刷卡卡号等信息,上述例举的几种可选的交易信息可以是由手机A101自身提供。上述交易信息是手机A101中的NFC控制器1012获取的。
本实施例提供的基于近场通信NFC的行程信息提示方法应用在如图1所示系统的一种可选的实施方式,可以包括如图2所示的步骤201~步骤214。
步骤201,用户A下载应用程序,并安装在手机A101中。
步骤202,用户A在应用程序中向发卡方(的服务器)申请授权的应用服务。
步骤203,发卡方向手机A101发放授权应用服务1,授权应用服务1被安装在手机A101的安全元件1011中。
步骤204,用户A开启手机A101中的NFC交易功能。
步骤205,用户A将手机A101靠近地铁站闸机口设置的POS终端201的NFC感应区域。
步骤206,手机A101与POS终端201建立NFC连接,并使用NFC连接进行NFC交易。其中,手机A101发出与接收的NFC通讯消息,均由手机A101中的NFC控制器1012进行编码或解码。POS终端201需要使用发卡方提供的密钥验证手机A101的授权应用服务1,在验证成功之后,可以进行交易。
步骤207,手机A101中的NFC控制器1012监听到NFC交易事件。
步骤208,NFC控制器1012将NFC交易事件的交易信息封装为主机控制接口HCI(Host Controller Interface)消息,发送至手机A101的操作系统。HCI消息是主机与NFC控制器1012通信的协议。交易信息至少包括POS终端201的定位信息。对于可移动的 POS终端201,POS终端201可以安装有定位模块以确定POS终端201的当前定位位置,对于固定的POS终端201,POS终端201中可以存储有配置的定位信息。
步骤209,手机A101的操作系统向应用程序广播HCI消息。
步骤210,应用程序使用如图1所示的交易信息处理模块,解码HCI消息,以得到交易信息。
步骤211,应用程序将交易信息处理模块得到的交易信息,通过手机A101的无线网络通信模块发送至服务器102。
步骤212,服务器102根据至少包括POS终端201的交易信息确定手机A101的行程信息。其中,行程信息至少包括手机A101当前这笔交易的交易定位。可选的,交易信息还可以包括手机A101的定位信息,该定位信息是由如图1所示的手机A101中配置的定位模块1014获取,进而通过手机A101的无线网络通信模块发送至服务器102。例如,定位模块1014可以是全球定位系统(Global Positioning System,简称GPS)。服务器102可以结合上述手机A101的定位信息对POS终端201的定位信息进行校准修正,可选的,可以仅在POS终端201是可移动、不固定的终端设备的情况下,结合手机A101的定位信息对POS终端201的定位信息进行校准修正,而在POS终端201的位置是固定的情况下,则可以不用进行校正。
可选的,交易信息还可以包括手机A101的标识信息,例如,手机A101的国际移动设备识别码(International Mobile Equipment Identity,简称IMEI),即通常所说的手机序列号,以用于对交易信息的真实性进行验证,也可以包括登录手机A101的应用程序的账户,还可以包括POS终端201的标识信息等等。此外,还可以包括交易信息的具体交易细节,例如,交易时间、发卡方发放分配的交易卡号、交易金额等等。本申请实施例对此不作具体限定,与确定手机A101的定位位置相关的信息以外的其它信息,可以用于作为服务器102识别终端/账户身份、丰富行程信息显示内容的依据,可以根据具体情况设定,在此不再赘述。
步骤213,服务器102将行程信息推送至与手机A101对应的账户预先关联的目标账户:用户B的账户。
手机A101对应的账户可以是手机A101中安装的应用程序的登录账户。目标账户是与登录账户预先关联的账户。例如,目标账户可以是在多个好友账户中指定的一个或多个账户。可选的,目标账户的编辑(包括添加账户、删除账户)操作,可以设置一些 较复杂的授权方式,例如,可以由子女的父母设置编辑操作的密码,以避免子女自行删除账户;或者,在对目标账户进行编辑操作时需要父母的手机号码进行验证,等等。本申请实施例对此不作限制。
步骤214,手机B202显示行程信息。
消息推送的方式可以是向登录目标账户的关联账户的应用程序发送程序内推送消息横幅,如图1所示,与手机A101中安装的应用程序相同,手机B202安装的应用程序也包括消息推送模块,消息横幅可以由消息推送模块推送,交互示意图如图3所示,如果用户B在手机B202的应用程序界面2021中点选横幅2022,可以在手机B202的应用程序界面2021内查看到手机A101的行程信息,如图4所示,显示手机A101的交易定位2023。可选的,服务器102提供的行程信息还可以是一段时间内手机A101的多次交易定位形成的行程路线图2024,如图5所示。本申请实施例对行程信息的具体呈现方式不作具体限定,可以根据具体情况配置。
消息推送的方式还可以是向目标账户对应的预设通信账号以预设通信账号对应的通信方式推送行程信息。例如,手机A101登录的账户关联的目标账户为用户B的账户,在服务器102预先存储有用户B的手机号码,向该手机号码发送短信以提示行程信息,或者,以彩信的形式发送地图形式的行程信息,或者,通过语音通话的形式拨打用户B的手机号码,将行程信息用语音播报的形式传达给用户B。可选的,服务器102还可以预先存储有用户B的邮箱地址,在需要推送行程信息时,以邮件的形式发送至用户B的邮箱中。可选的,服务器102可以联动的将行程信息推送至与上述应用程序以外的关联应用程序,例如,本申请实施例中所述的应用程序可以是“支付宝”,服务器102在需要推送消息时,可以将需要向用户B的账户推送行程信息的消息发送至“钉钉”的服务器,以使“钉钉”的服务器将行程信息推送至与用户B的支付宝账户相关联的“钉钉”账户,其中,用户B的“支付宝”账户和“钉钉”账户可以是通过手机号码关联起来的。本申请实施例对推送消息的具体方式也不作具体限定,可以根据具体情况配置。
本申请实施例提供的基于近场通信NFC的行程信息提示方法通过获取NFC交易信息,使用应用程序将交易信息发送至服务器,以使服务器根据交易信息确定终端的定位信息,并推送至关联的账户,由于NFC交易信息是不可被篡改的,通过NFC的交易信息确定行程信息,提高了行程信息的准确性。
实施例二
本申请实施例还提供了一种基于近场通信NFC的行程信息提示方法的流程示意图,可以由如图1中所示的手机A101等终端执行,如图6所示,该方法包括步骤601~步骤602。
步骤601,第一终端监听是否发生NFC交易事件。
步骤602,第一终端在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序。
步骤603,受第一终端中的应用程序控制,第一终端将交易信息发送至应用程序的服务器,以使服务器根据交易信息确定第一终端的行程信息、以及将行程信息推送至与第一终端对应的账户预先关联的目标账户。
一种可选的实施方式为,第一终端通过NFC控制器监听是否发生NFC交易事件。
一种可选的实施方式为,在第一终端通过NFC控制器监听是否发生NFC交易事件之前,该方法还包括:第一终端接收用户开启NFC交易功能的操作;响应于操作,第一终端开启NFC交易功能。
一种可选的实施方式为,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序,包括:第一终端的NFC控制器获取第一终端的安全元件与交易终端交互的交易信息;第一终端的NFC控制器将交易信息封装为主机控制接口HCI消息,发送至第一终端的操作系统;第一终端的操作系统将HCI消息广播至应用程序。
一种可选的实施方式为,受第一终端中的应用程序控制,第一终端将交易信息发送至应用程序的服务器,包括:第一终端中的应用程序解析HCI消息,得到交易信息;第一终端中的应用程序控制第一终端将交易信息发送至应用程序的服务器。
一种可选的实施方式为,在第一终端监听是否发生NFC交易事件之前,该方法还包括:第一终端中的应用程序将执行NFC交易事件的授权应用服务安装至安全元件,交易信息为授权应用服务与交易终端交互的信息。
一种可选的实施方式为,第一终端在监听到发生NFC交易事件之后,该方法还包括:第一终端获取定位信息;第一终端将定位信息发送至服务器,以使服务器结合第一终端的定位信息和交易信息确定行程信息。
需要说明的是,本申请实施例中所涉及的步骤,未详述的部分,可以参考实施例一中的相关说明,在此不再赘述。
实施例三
本申请实施例还提供了一种基于近场通信NFC的行程信息提示方法的流程示意图,可以由如图1中所示的服务器102执行,如图7所示,该方法包括步骤701~步骤703。
步骤701,服务器获取第一终端在监听到NFC交易事件之后发送的NFC交易事件的交易信息。
步骤702,服务器根据交易信息确定第一终端的行程信息。
步骤703,服务器将行程信息推送至与第一终端对应的账户预先关联的目标账户。
一种可选的实施方式为,交易信息中至少包括NFC交易事件对应的交易终端的定位信息,行程信息至少包括第一终端针对NFC交易事件的交易定位,服务器根据交易信息确定第一终端的行程信息,包括:服务器根据交易终端的定位信息,确定交易定位。
一种可选的实施方式为,服务器根据交易信息确定第一终端的行程信息,包括:服务器结合第一终端的定位信息和交易终端的定位信息,确定交易定位。
一种可选的实施方式为,行程信息为预设时段内的行程路线,其中,行程路线为根据预设时段内的多个交易定位绘制的路线图。
一种可选的实施方式为,服务器将行程信息推送至与第一终端对应的账户预先关联的目标账户,包括:服务器向登录目标账户的关联账户的第二终端推送应用程序的通知消息,其中,行程信息用于在第二终端中的应用程序至少运行在前台的情况下显示。
一种可选的实施方式为,服务器通过以下至少一种方式将行程信息推送至与第一终端对应的账户预先关联的目标账户:服务器使用短消息,和/或,彩信,和/或,语音通话向目标账户对应的电话号码发送行程信息;服务器使用邮件向目标账户对应的邮箱地址发送行程信息;服务器向登录目标账户的关联账户的关联应用程序发送推送消息。
需要说明的是,本申请实施例中所涉及的步骤,未详述的部分,可以参考实施例一中的相关说明,在此不再赘述。
实施例四
本申请实施例还提供了一种基于近场通信NFC的行程信息提示装置的示意图,可以设置在图1中所示的手机A101等终端中,如图8所示,该装置包括监听模块10、第一发送模块20、第二发送模块30。
其中,监听模块用于监听是否发生NFC交易事件;第一发送模块用于在监听到发 生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序;第二发送模块用于受第一终端中的应用程序控制,将交易信息发送至应用程序的服务器,以使服务器根据交易信息确定第一终端的行程信息、以及将行程信息推送至与第一终端对应的账户预先关联的目标账户。
一种可选的实施方式为,监听模块通过NFC控制器监听是否发生NFC交易事件。
一种可选的实施方式为,该装置还包括:接收模块,用于在第一终端通过NFC控制器监听是否发生NFC交易事件之前,接收用户开启NFC交易功能的操作;开启模块用于响应于操作,开启NFC交易功能。
一种可选的实施方式为,第一发送模块包括:获取单元,用于使用第一终端的NFC控制器获取第一终端的安全元件与交易终端交互的交易信息;执行单元,用于使用第一终端的NFC控制器将交易信息封装为主机控制接口HCI消息,发送至第一终端的操作系统;广播单元,用于使用第一终端的操作系统将HCI消息广播至应用程序。
一种可选的实施方式为,第二发送模块包括:解析单元,用于使用第一终端中的应用程序解析HCI消息,得到交易信息;控制单元,用于使用第一终端中的应用程序控制第一终端将交易信息发送至应用程序的服务器。
一种可选的实施方式为,该装置还包括:安装模块,用于在第一终端监听是否发生NFC交易事件之前,使用第一终端中的应用程序将执行NFC交易事件的授权应用服务安装至安全元件,交易信息为授权应用服务与交易终端交互的信息。
一种可选的实施方式为,该装置还包括:获取模块,用于在监听到发生NFC交易事件之后,获取定位信息;第三发送模块,用于将定位信息发送至服务器,以使服务器结合第一终端的定位信息和交易信息确定行程信息。
需要说明的是,本申请实施例中未详述的部分,可以参考实施例一中的相关说明,在此不再赘述。
实施例五
本申请实施例还提供了一种基于近场通信NFC的行程信息提示装置的示意图,可以设置在图1中所示的服务器102中,如图9所示,该装置包括:获取模块40、确定模块50和推送模块60。
获取模块,用于获取第一终端在监听到NFC交易事件之后发送的NFC交易事件的 交易信息;确定模块,用于根据交易信息确定第一终端的行程信息;推送模块,用于将行程信息推送至与第一终端对应的账户预先关联的目标账户。
一种可选的实施方式为,交易信息中至少包括NFC交易事件对应的交易终端的定位信息,行程信息至少包括第一终端针对NFC交易事件的交易定位,确定模块包括:第一确定单元,用于根据交易终端的定位信息,确定交易定位。
一种可选的实施方式为,确定模块包括:第二确定单元,用于服务器结合第一终端的定位信息和交易终端的定位信息,确定交易定位。
一种可选的实施方式为,行程信息为预设时段内的行程路线,其中,行程路线为根据预设时段内的多个交易定位绘制的路线图。
一种可选的实施方式为,推送模块包括:第一推送单元,用于向登录目标账户的关联账户的第二终端推送应用程序的通知消息,其中,行程信息用于在第二终端中的应用程序至少运行在前台的情况下显示。
一种可选的实施方式为,推送模块包括以下至少一个推送单元:第二推送单元,用于使用短消息,和/或,彩信,和/或,语音通话向所述目标账户对应的电话号码发送所述行程信息;第三推送单元,用于使用邮件向所述目标账户对应的邮箱地址发送所述行程信息;第四推送单元,用于向登录所述目标账户的关联应用程序发送推送消息。
需要说明的是,本申请实施例中未详述的部分,可以参考实施例一中的相关说明,在此不再赘述。
实施例六
本申请实施例还提供了一种基于近场通信NFC的行程信息提示系统,如图9所示,该系统包括第一终端801和服务器802,其中:第一终端用于监听是否发生NFC交易事件,在监听到发生NFC交易事件的情况下,将NFC交易事件的交易信息发送至安装于第一终端中的应用程序,以及受第一终端中的应用程序控制,将交易信息发送至应用程序的服务器;服务器用于根据交易信息确定第一终端的行程信息,以及将行程信息推送至与第一终端对应的账户预先关联的目标账户。示例性的,第一终端801可以是如图1所示的手机A101,服务器802可以是如图1所示的服务器102。本申请实施例对此不做任何限制。
实施例七
本申请实施例还提供了一种终端,包括:触摸屏901,所述触摸屏901包括触摸传感器906和显示屏907;一个或多个处理器902;存储器903;NFC模块908;以及一个或多个计算机程序904。上述各器件可以通过一个或多个通信总线905连接。其中,上述一个或多个计算机程序904被存储在上述存储器903中并被配置为被该一个或多个处理器902执行,该一个或多个计算机程序904包括指令,上述指令可以用于执行上述实施例一和实施例二中手机A101执行的各个步骤。
示例性的,上述终端具体可以为图1中的手机A101,上述处理器902、存储器903具体可以设置在实施例1中手机A101的主机上,NFC模块908包括图1中所示的安全元件1011、NFC控制器1012和NFC天线1013,其中,NFC控制器1012和NFC天线1013也可以设置在实施例1中手机A101的主机上,安全元件1011可以设置在于主机相对立的元件上。本申请实施例对此不做任何限制。
实施例八
本申请实施例还提供了一种服务器,包括:一个或多个处理器910;一个或多个存储器911;以及一个或多个计算机程序912,其中一个或多个计算机程序912被存储在一个或多个存储器911中,一个或多个计算机程序912包括指令,当指令被服务器执行时,使得服务器执行实施例一和实施例三中服务器102执行的方法。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以 是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。

Claims (13)

  1. 一种基于近场通信NFC的行程信息提示方法,其特征在于,所述方法执行在第一终端上,所述方法包括:
    监听是否发生NFC交易事件;
    在监听到发生所述NFC交易事件的情况下,将所述NFC交易事件的交易信息发送至安装于所述第一终端中的应用程序;
    受所述第一终端中的应用程序控制,所述第一终端将所述交易信息发送至所述应用程序的服务器,以使所述服务器根据所述交易信息确定所述第一终端的行程信息、以及将所述行程信息推送至与所述第一终端对应的账户预先关联的目标账户所在的第二终端。
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端通过NFC控制器监听是否发生所述NFC交易事件。
  3. 根据权利要求2所述的方法,其特征在于,在所述第一终端通过NFC控制器监听是否发生所述NFC交易事件之前,所述方法还包括:
    所述第一终端接收用户开启NFC交易功能的操作;
    响应于所述操作,所述第一终端开启所述NFC交易功能。
  4. 根据权利要求2所述的方法,其特征在于,所述将所述NFC交易事件的交易信息发送至安装于所述第一终端中的应用程序,包括:
    所述第一终端的所述NFC控制器获取所述第一终端的安全元件与交易终端交互的所述交易信息;
    所述第一终端的所述NFC控制器将所述交易信息封装为主机控制接口HCI消息,发送至所述第一终端的操作系统;
    所述第一终端的操作系统将所述HCI消息广播至所述应用程序。
  5. 根据权利要求4所述的方法,其特征在于,所述受所述第一终端中的应用程序控制,所述第一终端将所述交易信息发送至所述应用程序的服务器,包括:
    所述第一终端中的应用程序解析所述HCI消息,得到所述交易信息;
    所述第一终端中的应用程序控制所述第一终端将所述交易信息发送至所述应用程序的服务器。
  6. 根据权利要求4所述的方法,其特征在于,在所述第一终端监听是否发生NFC交易事件之前,所述方法还包括:
    所述第一终端中的应用程序将执行所述NFC交易事件的授权应用服务安装至所述 安全元件,所述交易信息为所述授权应用服务与所述交易终端交互的信息。
  7. 根据权利要求1所述的方法,其特征在于,所述第一终端在监听到发生所述NFC交易事件之后,所述方法还包括:
    所述第一终端获取定位信息;
    所述第一终端将所述定位信息发送至所述服务器,以使所述服务器结合所述第一终端的定位信息和所述交易信息确定所述行程信息。
  8. 一种基于近场通信NFC的行程信息提示方法,其特征在于,所述方法执行在服务器上,所述方法包括:
    所述服务器获取第一终端在监听到NFC交易事件之后发送的所述NFC交易事件的交易信息;
    所述服务器根据所述交易信息确定所述第一终端的行程信息;
    所述服务器将所述行程信息推送至与所述第一终端对应的账户预先关联的目标账户。
  9. 根据权利要求8所述的方法,其特征在于,所述交易信息中至少包括所述NFC交易事件对应的交易终端的定位信息,所述行程信息至少包括所述第一终端针对所述NFC交易事件的交易定位,所述服务器根据所述交易信息确定所述第一终端的行程信息,包括:
    所述服务器根据所述交易终端的定位信息,确定所述交易定位。
  10. 根据权利要求9所述的方法,其特征在于,所述服务器根据所述交易信息确定所述第一终端的行程信息,包括:所述服务器结合所述第一终端的定位信息和所述交易终端的定位信息,确定所述交易定位。
  11. 根据权利要求9或10所述的方法,其特征在于,所述行程信息为预设时段内的行程路线,其中,所述行程路线为根据所述预设时段内的多个所述交易定位绘制的路线图。
  12. 根据权利要求8所述的方法,其特征在于,所述服务器将所述行程信息推送至与所述第一终端对应的账户预先关联的目标账户,包括:
    所述服务器向登录所述目标账户的第二终端推送所述应用程序的通知消息,其中,所述行程信息用于在所述第二终端中的所述应用程序至少运行在前台的情况下显示。
  13. 根据权利要求8所述的方法,其特征在于,所述服务器通过以下至少一种方式将所述行程信息推送至与所述第一终端对应的账户预先关联的目标账户:
    所述服务器使用短消息、和/或彩信、和/或语音通话向所述目标账户对应的电话号 码发送所述行程信息;
    所述服务器使用邮件向所述目标账户对应的邮箱地址发送所述行程信息;
    所述服务器向登录所述目标账户的关联应用程序发送推送消息。
PCT/CN2020/122275 2019-12-17 2020-10-20 基于近场通信nfc的行程信息提示方法、装置、系统及终端 WO2021120825A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911303325.6A CN111031488B (zh) 2019-12-17 2019-12-17 基于近场通信nfc的行程信息提示方法、装置、系统及终端
CN201911303325.6 2019-12-17

Publications (1)

Publication Number Publication Date
WO2021120825A1 true WO2021120825A1 (zh) 2021-06-24

Family

ID=70210041

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122275 WO2021120825A1 (zh) 2019-12-17 2020-10-20 基于近场通信nfc的行程信息提示方法、装置、系统及终端

Country Status (3)

Country Link
CN (2) CN111031488B (zh)
TW (1) TWI784270B (zh)
WO (1) WO2021120825A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221969A (zh) * 2021-11-24 2022-03-22 安徽听见科技有限公司 基于近场通信的数据同步方法、终端、服务端、系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031488B (zh) * 2019-12-17 2021-07-27 支付宝(杭州)信息技术有限公司 基于近场通信nfc的行程信息提示方法、装置、系统及终端
CN113468896A (zh) * 2021-06-25 2021-10-01 深圳市雪球科技有限公司 虚拟公交卡在线修复方法、装置和一种服务器

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850630A (zh) * 2015-05-21 2015-08-19 爱多云智科技(北京)有限公司 一种提供刷卡信息的方法、设备及系统
CN104994471A (zh) * 2015-06-30 2015-10-21 百度在线网络技术(北京)有限公司 终端设备的位置跟踪方法、服务器及终端设备
CN106101249A (zh) * 2016-06-29 2016-11-09 北京小米移动软件有限公司 推送消息的方法、装置、终端及服务器
CN106790721A (zh) * 2017-03-22 2017-05-31 苏州亮磊知识产权运营有限公司 基于无线通信技术的评价信息推送方法、装置及服务器
CN107680182A (zh) * 2017-10-23 2018-02-09 武汉智慧地铁科技有限公司 一种基于信用消费的城市轨道交通快速通行系统及方法
WO2018103586A1 (zh) * 2016-12-07 2018-06-14 中国银联股份有限公司 基于车载支付授权的免密支付方法及其系统
CN111031488A (zh) * 2019-12-17 2020-04-17 支付宝(杭州)信息技术有限公司 基于近场通信nfc的行程信息提示方法、装置、系统及终端

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080162312A1 (en) * 2006-12-29 2008-07-03 Motorola, Inc. Method and system for monitoring secure applet events during contactless rfid/nfc communication
CN101841604B (zh) * 2010-06-02 2014-12-10 中兴通讯股份有限公司 一种在移动终端上自动显示近场通信交易信息的方法及装置
US20120330764A1 (en) * 2011-06-22 2012-12-27 Broadcom Corporation Point of Sale System for Transaction Payment Delegation
US20140129358A1 (en) * 2012-11-05 2014-05-08 First Data Corporation Financial transaction routing
CN103974188A (zh) * 2012-12-03 2014-08-06 杨益 一种基于便携式定位终端的定位系统
US20170221058A1 (en) * 2016-02-02 2017-08-03 Visa International Service Association System and method for secondary account holder payment device control
CN105787719A (zh) * 2016-02-24 2016-07-20 努比亚技术有限公司 一种nfc移动终端及控制nfc刷卡权限的方法
CN106600258A (zh) * 2016-10-14 2017-04-26 惠州Tcl移动通信有限公司 支付位置通知方法及系统、服务器
CN106780240B (zh) * 2016-11-22 2022-06-21 北京安云世纪科技有限公司 监控出行的方法及装置
CN110175841B (zh) * 2019-05-21 2020-05-05 王媛颖心 老年人专用电子支付装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850630A (zh) * 2015-05-21 2015-08-19 爱多云智科技(北京)有限公司 一种提供刷卡信息的方法、设备及系统
CN104994471A (zh) * 2015-06-30 2015-10-21 百度在线网络技术(北京)有限公司 终端设备的位置跟踪方法、服务器及终端设备
CN106101249A (zh) * 2016-06-29 2016-11-09 北京小米移动软件有限公司 推送消息的方法、装置、终端及服务器
WO2018103586A1 (zh) * 2016-12-07 2018-06-14 中国银联股份有限公司 基于车载支付授权的免密支付方法及其系统
CN106790721A (zh) * 2017-03-22 2017-05-31 苏州亮磊知识产权运营有限公司 基于无线通信技术的评价信息推送方法、装置及服务器
CN107680182A (zh) * 2017-10-23 2018-02-09 武汉智慧地铁科技有限公司 一种基于信用消费的城市轨道交通快速通行系统及方法
CN111031488A (zh) * 2019-12-17 2020-04-17 支付宝(杭州)信息技术有限公司 基于近场通信nfc的行程信息提示方法、装置、系统及终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221969A (zh) * 2021-11-24 2022-03-22 安徽听见科技有限公司 基于近场通信的数据同步方法、终端、服务端、系统
CN114221969B (zh) * 2021-11-24 2023-08-22 安徽听见科技有限公司 基于近场通信的数据同步方法、终端、服务端、系统

Also Published As

Publication number Publication date
CN113645570A (zh) 2021-11-12
TWI784270B (zh) 2022-11-21
CN111031488A (zh) 2020-04-17
CN111031488B (zh) 2021-07-27
TW202126068A (zh) 2021-07-01

Similar Documents

Publication Publication Date Title
WO2021120825A1 (zh) 基于近场通信nfc的行程信息提示方法、装置、系统及终端
US11373181B2 (en) System and method for verifying identity information using a social networking application
US11783442B2 (en) Interactive image-based communication using image coding
RU2608002C2 (ru) Обработка закодированной информации
US20180233001A1 (en) Payment processing with automatic no-touch mode selection
US10769625B2 (en) Dynamic generation of quick response (QR) codes for secure communication from/to a mobile device
KR20160015375A (ko) 모바일 디바이스 기반의 규칙들을 이용한 거래 승인
CA2883318A1 (en) System and method for secure transaction process via mobile device
US9792604B2 (en) Method and system for dynamically interactive visually validated mobile ticketing
US9549322B2 (en) Methods and systems for authentication of a communication device
WO2015101019A1 (en) System and method for verifying identity information using a social networking application
CN107657199B (zh) 行动装置、验证装置及其验证方法
CN108055293A (zh) 应用程序中业务快速启动方法及装置和电子设备
KR101834367B1 (ko) 음파 통신을 이용한 전자 태그 기반 결제 서비스 제공 시스템 및 방법
KR20190141423A (ko) 출입 인증 관리 시스템
US20220051244A1 (en) Systems and methods for validating transmissions over communication channels
KR20200024903A (ko) 결제 처리
KR102431366B1 (ko) 사용자 장치, 서비스 제공 장치, 그를 포함하는 결제 시스템, 그의 제어 방법 및 컴퓨터 프로그램이 기록된 기록매체
KR102431303B1 (ko) 사용자 장치, 서비스 제공 장치, 그를 포함하는 결제 시스템, 그의 제어 방법 및 컴퓨터 프로그램이 기록된 기록매체
KR20170029859A (ko) 사용자 장치, 서비스 제공 장치, pos 단말, 그를 포함하는 결제 시스템, 그의 제어 방법 및 컴퓨터 프로그램이 기록된 기록매체
WO2017054287A1 (zh) 一种服务处理方法及服务设备
KR20180133124A (ko) 앱 로그인 없이 포인트 적립이 가능한 가상 계좌를 사용한 포인트 적립 시스템, 그 방법 및 컴퓨터 프로그램이 기록된 기록매체
US20150324797A1 (en) Phone-number-based payments
TWI400929B (zh) The use of mobile phones and electronic tags as a service to pay the application of the structure and methods
KR20200054147A (ko) 진성 메시지 판별을 이용한 결제 처리 방법

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

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

Country of ref document: EP

Kind code of ref document: A1