TWI784270B - NFC-based travel information prompt method, device, system and terminal - Google Patents

NFC-based travel information prompt method, device, system and terminal Download PDF

Info

Publication number
TWI784270B
TWI784270B TW109115871A TW109115871A TWI784270B TW I784270 B TWI784270 B TW I784270B TW 109115871 A TW109115871 A TW 109115871A TW 109115871 A TW109115871 A TW 109115871A TW I784270 B TWI784270 B TW I784270B
Authority
TW
Taiwan
Prior art keywords
terminal
information
transaction
nfc
server
Prior art date
Application number
TW109115871A
Other languages
Chinese (zh)
Other versions
TW202126068A (en
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 TW202126068A publication Critical patent/TW202126068A/en
Application granted granted Critical
Publication of TWI784270B publication Critical patent/TWI784270B/en

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

Landscapes

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

Abstract

本發明實施例提供了一種基於近場通信NFC的行程資訊提示方法、裝置、系統及終端。一方面,本發明實施例通過第一終端監聽是否發生NFC交易事件;第一終端在監聽到發生NFC交易事件的情況下,將NFC交易事件的交易資訊發送至安裝於第一終端中的應用程式;受第一終端中的應用程式控制,第一終端將交易資訊發送至應用程式的伺服器;伺服器根據交易資訊確定第一終端的行程資訊;伺服器將行程資訊推送至與第一終端對應的帳戶預先關聯的目標帳戶,由於NFC交易資訊是不可被篡改的,通過NFC的交易資訊確定行程資訊,提高了行程資訊的準確性。Embodiments of the present invention provide a method, device, system and terminal for prompting travel information based on near field communication (NFC). On the one hand, in the embodiment of the present invention, the first terminal monitors whether an NFC transaction event occurs; the first terminal sends the transaction information of the NFC transaction event to the application installed in the first terminal when the first terminal detects the occurrence of the NFC transaction event. ; Controlled by 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 itinerary information of the first terminal according to the transaction information; the server pushes the itinerary information to the server corresponding to the first terminal The target account associated with the account in advance, because 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.

Description

基於近場通信NFC的行程資訊提示方法、裝置、系統及終端NFC-based travel information prompt method, device, system and terminal

本發明係關於通信技術領域,尤其關於一種基於近場通信NFC的行程資訊提示方法、裝置、系統及終端。The present invention relates to the field of communication technology, in particular to a method, device, system and terminal for prompting travel information based on near-field communication (NFC).

子女安全問題是父母最關心的問題,受限於父母的個人情況,對於子女上學、遊玩等出行場景,父母往往無法對子女的行程進行即時監督。目前存在一些智慧手環、智慧手錶等可穿戴設備,與父母的手機配合對子女的定位進行確定,或者透過子女攜帶的手機定位服務確定當前位置,但是可穿戴設備的定位或者手機定位服務由於信號問題可能不準確,存在定位偏差,尤其是在地鐵上或者較偏遠的地區,無法使父母手機上即時更新子女的行程資訊,並且無法確定非常具體的位置資訊,如果定位服務被關閉,也無法獲取行程資訊。此外,這種獲取行程資訊的方式在作業系統被破解等情況下定位資訊可以被篡改,不夠安全。Parents are most concerned about the safety of their children. Due to their personal circumstances, parents are often unable to monitor their children's itinerary in real time for travel scenarios such as school and play. At present, there are some wearable devices such as smart bracelets and smart watches, which cooperate with the parents' mobile phones to determine the location of their children, or determine the current location through the mobile phone positioning service carried by the child, but the positioning of wearable devices or mobile phone positioning services due to signal The problem may be inaccurate, there is positioning deviation, especially on the subway or in more remote areas, it is impossible to update the child's itinerary information on the parent's mobile phone in real time, and it is impossible to determine very specific location information. If the location service is turned off, it cannot be obtained. Travel information. In addition, this way of obtaining itinerary information can be tampered with if the operating system is cracked, etc., which is not safe enough.

有鑑於此,本發明實施例提供了一種基於近場通信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的交易資訊確定行程資訊,提高了行程資訊的準確性。In view of this, the embodiment of the present invention provides a method, device, system and terminal for prompting travel information based on near field communication (NFC), so as to solve the problem of disabling location service or location information of a location server in the prior art. In the first aspect, an embodiment of the present invention provides a method for prompting travel information based on near-field communication NFC, including: the first terminal monitors whether an NFC transaction event occurs; The transaction information of the transaction event is sent to the application program installed in the first terminal; controlled by 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 first terminal according to the transaction information the itinerary information; the server pushes the itinerary information to the target account pre-associated with the account corresponding to the first terminal. In the second aspect, the embodiment of the present invention also provides a method for prompting travel information based on near-field communication (NFC), the method is executed on the first terminal, and the method includes: the first terminal monitors whether an NFC transaction event occurs; When an NFC transaction event is detected, the transaction information of the NFC transaction event is sent to the application program installed in the first terminal; controlled by the application program in the first terminal, the first terminal sends the transaction information to the application program. The server, so that the server determines the itinerary information of the first terminal according to the transaction information, and pushes the itinerary information to a target account pre-associated with the account corresponding to the first terminal. According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, in which the first terminal monitors whether an NFC transaction event occurs through the NFC controller. According to the above-mentioned aspect and any possible implementation, an implementation is further provided. Before the first terminal monitors whether an NFC transaction event occurs through the NFC controller, the method further includes: the first terminal receives the user’s notification of enabling the NFC transaction function. Operation; in response to the operation, the first terminal turns on the NFC transaction function. According to the above-mentioned aspect and any possible implementation method, an implementation method is further provided, and the transaction information of the NFC transaction event is sent to the application program installed in the first terminal, including: the NFC controller of the first terminal obtains the first The transaction information exchanged between the secure element of the terminal and the transaction terminal; the NFC controller of the first terminal encapsulates the transaction information into 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 application. According to the above aspect and any possible implementation, an implementation is further provided, controlled by the application program in the first terminal, the first terminal sends the transaction information to the server of the application program, 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. According to the above aspect and any possible implementation, an implementation is further provided. Before the first terminal monitors whether an NFC transaction event occurs, the method further includes: the application program in the first terminal will execute the authorization of the NFC transaction event. The application service is installed in the secure element, and the transaction information is information that authorizes the application service to interact with the transaction terminal. According to the above-mentioned aspect and any possible implementation, an implementation is further provided. After the first terminal monitors the occurrence of an NFC transaction event, the method further includes: the first terminal acquires positioning information; the first terminal sends the positioning information to the server, so that the server combines the location information and transaction information of the first terminal to determine the itinerary information. In the third aspect, the embodiment of the present invention also provides a method for prompting travel information based on near-field communication (NFC). The method is executed on the server, and the method includes: The transaction information of the NFC transaction event; the server determines the itinerary information of the first terminal according to the transaction information; the server pushes the itinerary information to a target account pre-associated with the account corresponding to the first terminal. The above-mentioned aspect and any possible implementation mode further provide an implementation mode, the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event, and 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. According to the above aspect and any possible implementation, an implementation is further provided, the server determines the itinerary information of the first terminal according to the transaction information, including: the server combines the location information of the first terminal and the location information of the transaction terminal, Determine transaction positioning. According to the above aspect and any possible implementation, an implementation is further provided, where the itinerary information is the itinerary within a preset time period, wherein the itinerary is a route map drawn according to multiple transaction locations within the preset time period. According to the above-mentioned aspect and any possible implementation method, an implementation method is further provided, the server pushes the itinerary information to the target account that is pre-associated with the account corresponding to the first terminal, including: The second terminal pushes the notification message of the application program, wherein the travel information is used for displaying when the application program in the second terminal is at least running in the foreground. According to the above aspect and any possible implementation, an implementation is further provided, 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 SMS, and /or, multimedia message, and/or, voice call to send the 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 the associated application of the associated account logged in to the target account The program sends a push message. In the fourth aspect, the embodiment of the present invention provides a device for prompting travel information based on near-field communication (NFC). The sending module is used to send the transaction information of the NFC transaction event to the application program installed in the first terminal when the occurrence of the NFC transaction event is monitored; The application is controlled, and the transaction information is sent 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 a target account pre-associated with the account corresponding to the first terminal. According to the above aspect and any possible implementation manner, an implementation manner is further provided, wherein the monitoring module monitors whether an NFC transaction event occurs through the NFC controller. According to the above-mentioned aspect and any possible implementation, an implementation is further provided. The device further includes: a receiving module, configured to receive the user’s activation of the NFC transaction before the first terminal monitors whether an NFC transaction event occurs through the NFC controller. The operation of the transaction function; the opening module is used to respond to the operation and open the NFC transaction function. According to the above aspect and any possible implementation, an implementation is further provided, the first sending module includes: an acquisition 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 transaction information; the execution unit is used to use the NFC controller of the first terminal to package the transaction information into a host control interface HCI message and send it to the operating system of the first terminal; the broadcast unit is used to use the operating system of the first terminal to send HCI messages are broadcast to applications. According to the above aspect and any possible implementation, an implementation is further provided, the second sending module includes: an analysis unit, configured to use the application program in the first terminal to analyze the HCI message to obtain transaction information; the control unit, The application program in the first terminal is used to control the first terminal to send transaction information to the server of the application program. According to the above aspect and any possible implementation, an implementation is further provided, the device further includes: installing a module for using the application in the first terminal before the first terminal monitors whether an NFC transaction event occurs The authorized application service for executing NFC transaction events is installed in the secure element, and the transaction information is the information of the interaction between the authorized application service and the transaction terminal. According to the above-mentioned aspect and any possible implementation, an implementation is further provided, the device also includes: an acquisition module, used to acquire location information after monitoring the occurrence of an NFC transaction event; a third sending module, using Then send the positioning information to the server, so that the server can combine the positioning information and transaction information of the first terminal to determine the itinerary information. In the fifth aspect, the embodiment of the present invention also provides a device for prompting travel information based on near-field communication (NFC). The transaction information of the NFC transaction event sent after the event; the determination 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 a target pre-associated with the account corresponding to the first terminal account. The above-mentioned aspect and any possible implementation mode further provide an implementation mode, the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event, and 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. According to the above aspect and any possible implementation mode, an implementation mode is further provided, the determination module includes: a second determination unit, used 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 . According to the above aspect and any possible implementation, an implementation is further provided, where the itinerary information is the itinerary within a preset time period, wherein the itinerary is a route map drawn according to multiple transaction locations within the preset time period. According to the above-mentioned aspect and any possible implementation, an implementation is further provided, the push module includes: a first push unit, configured to push a notification message of an application to a second terminal that logs in to an account associated with the target account, wherein , the itinerary information is used to display when the application in the second terminal is at least running in the foreground. According to the above aspect and any possible implementation, an implementation is further provided, the push module includes at least one of the following push units: a second push unit, used for using short messages, and/or, multimedia short messages, and/or, Voice call to send the itinerary information to the phone number corresponding to the target account; the third push unit is used to send the itinerary information to the email address corresponding to the target account by email; the fourth push unit is used to log in An application associated with the target account sends a push message. In the sixth aspect, the embodiment of the present invention provides a near-field communication NFC-based itinerary information prompt system, including a first terminal and a server, wherein: the first terminal is used to monitor whether an NFC transaction event occurs, and when it detects that an NFC transaction occurs In the case of an event, the transaction information of the NFC transaction event is sent to the application program installed in the first terminal, and controlled by the application program in the first terminal, the transaction information is sent to the server of the application program; the server is used for Determine the itinerary information of the first terminal according to the transaction information, and push the itinerary information to a target account pre-associated with the account corresponding to the first terminal. In a seventh aspect, an embodiment of the present invention provides a terminal, the terminal comprising: an NFC module; one or more processors; one or more memories; and one or more computer programs, wherein one or more computer programs Stored in one or more memories, the one or more computer programs include instructions that, when executed by the terminal, cause the terminal to execute the method of the second aspect. In an eighth aspect, the embodiment of the present invention 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 the plurality of memories, one or more computer programs include instructions, which, when executed by the server, cause the server to execute the method of the third aspect. One of the above-mentioned technical solutions has the following beneficial effects: by obtaining NFC transaction information, the application program is used to send the transaction information to the server, so that the server can determine the positioning 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.

為了更好的理解本發明的技術方案,下面結合附圖對本發明實施例進行詳細描述。In order to better understand the technical solutions of the present invention, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

應當明確,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其它實施例,都屬於本發明保護的範圍。 It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在本發明實施例中使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本發明。在本發明實施例和所附申請專利範圍中所使用的單數形式的“一種”、“所述”和“該”也旨在包括多數形式,除非上下文清楚地表示其他含義。 Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

應當理解,本文中使用的術語“和/或”僅僅是一種描述關聯對象的關聯關係,表示可以存在三種關係,例如,A和/或B,可以表示:單獨存在A,同時存在A和B,單獨存在B這三種情況。另外,本文中字元“/”,一般表示前後關聯對象是一種“或”的關係。 It should be understood that the term "and/or" used herein is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and/or B may mean: A exists alone, A and B exist simultaneously, There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.

應當理解,儘管在本發明實施例中可能採用術語第一、第二、第三等來描述某一術語,但不應限於這些術語。第一、第二、第三僅用來將這些術語彼此區分開。例如,在不脫離本發明實施例範圍的情況下,第一“XXX”也可以被稱為第二“XXX”,類似地,第二“XXX”也可以被稱為第一“XXX”。 It should be understood that although the terms first, second, third, etc. may be used to describe a certain term in the embodiments of the present invention, they should not be limited to these terms. First, second, third are only used to distinguish these terms from each other. For example, without departing from the scope of the embodiments of the present invention, the first "XXX" can also be called the second "XXX", and similarly, the second "XXX" can also be called the first "XXX".

取決於語境,如在此所使用的詞語“如果”可以被解釋成為“在......時”或“當......時”或“回應於確定”或“回應於檢測”。類似地,取決於語境,短語“如果確定”或“如果檢測(陳述的條件或事件)”可以被解釋成為“當確定時”或“回應 於確定”或“當檢測(陳述的條件或事件)時”或“回應於檢測(陳述的條件或事件)”。 Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to determination" or "in response to detection". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" could be interpreted as "when determined" or "in response in determining" or "when detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)".

實施例一 Embodiment one

本發明實施例給出一種基於近場通信NFC的行程資訊提示方法,該方法可以應用於如圖1所示的基於近場通信NFC的行程資訊提示系統100中。 An embodiment of the present invention provides a method for prompting travel information based on near-field communication (NFC), which can be applied to a system 100 for prompting travel information based on near-field communication (NFC) as shown in FIG. 1 .

如圖1所示,該基於近場通信NFC的行程資訊提示系統100包括伺服器102和第一終端,其中,第一終端可以是手機、掌上型電腦PDA(Personal Digital Assistant)、平板設備等移動終端,例如,第一終端可以是如圖1所示的手機A101。 As shown in FIG. 1 , the NFC-based itinerary information prompt system 100 includes a server 102 and a first terminal, wherein the first terminal can be a mobile phone, a handheld computer PDA (Personal Digital Assistant), a tablet device, etc. Terminals, for example, the first terminal may be a mobile phone A101 as shown in FIG. 1 .

伺服器102是手機A101中安裝的應用程式(Application,簡稱APP)對應的伺服器,該應用程式可以是帶有支付業務功能的應用程式,伺服器102為該應用程式對應的業務伺服器,為應用程式提供業務支援。 The server 102 is the server corresponding to the application program (Application, APP for short) installed in the mobile phone A101. The application program may be an application program with a payment service function. Apps provide business support.

手機A101配置有近場通信NFC(Near Field Communication)模組,包括硬體模組:安全元件1011(Secure Element,簡稱SE)、NFC控制器1012和NFC天線。安全元件1011用於實現資料安全儲存、加解密運算等功能,在晶片中具有加密/解密邏輯電路,能配合NFC作為線下支付的錢包使用,安全元件1011中可以安裝多個應用,安全元件1011可以封裝成各種硬體形式,在手機A101中,安全元件1011可以是一個與手機A101的主機(圖1中為示出 主機)相互獨立設置的硬體晶片,或者,安全元件1011也可以是嵌入式的設置在移動終端的用戶識別卡(Subscriber Identity Modula,簡稱SIM卡)中,本發明實施例對安全元件1011的硬體封裝方式不作具體限制。NFC控制器1012中包括編碼模組和解碼模組,編碼模組用於將資訊編碼為NFC通訊資訊,以通過NFC天線1013發送出去,解碼模組用於對接收到的NFC通訊資訊進行解碼,以使作業系統或安全元件1011中安裝的授權應用服務能夠讀取識別。 The mobile phone A101 is configured with a Near Field Communication (NFC) module, including a hardware module: a secure element 1011 (Secure Element, SE for short), an NFC controller 1012 and an NFC antenna. The secure element 1011 is used to implement functions such as data security storage, encryption and decryption operations, etc. There is an encryption/decryption logic circuit in the chip, which can be used as a wallet for offline payment with NFC. Multiple applications can be installed in the secure element 1011. The secure element 1011 It can be packaged into various hardware forms. In the mobile phone A101, the secure element 1011 can be a host computer with the mobile phone A101 (shown in FIG. 1 Host) are hardware chips that are set independently of each other, or the secure element 1011 can also be embedded in a mobile terminal's Subscriber Identity Modula (SIM card for short). The body packaging method is not specifically limited. 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. The operating system or the authorized application service installed in the secure element 1011 can read the identification.

手機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刷卡。 The operating system (for example, Android system) and application programs in the mobile phone A101 can run on the host computer of the mobile phone A101. Before using the mobile phone A101 to swipe the card on the sales terminal (Point of Sale, also known as the POS terminal) 201, an application program needs to be installed on the mobile phone A101, and the application program 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. For example, a user can apply for a Beijing subway transportation card in the application program, The issuer of the Beijing subway transportation card issues a Beijing subway transportation card to the user, and installs the authorized application service 1 in the security element 1011 of the mobile phone A101 with the key provided by the card issuer. The authorized application service 1 has the same information as the Beijing subway transportation card. Function, you can swipe your card on the gates of Beijing subway stations to enter and exit the station. As another example, the authorized application service 2 may be a Shanghai public transportation card, which is similar to the card issuance and installation method of the Beijing subway transportation card, and will not be repeated here. After the secure element 1011 has successfully installed the authorized application service, it can use the corresponding card swiping function offline. For example, when the mobile phone A101 is in standby mode with the screen turned off, it can also be in The POS terminal 201 swipes the card.

在執行刷卡交易時,用戶將手機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是上述發卡方授權的應用,允許進一步進行交易。 When performing card swiping transactions, the user moves 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 . In some designs, 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 an NFC communication signal at a certain frequency to be sensed by the approaching POS terminal 201 . Furthermore, after 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 verifies the used key The secret key provided by the card issuer that authorized App Service 1. After the key verification is successful, the POS terminal 201 determines that the authorized application service 1 is an application authorized by the card issuer, and allows further transactions.

在交易過程中,交易雙方可以交互交易資訊。例如,交易資訊可以包括手機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獲取的。During the transaction, both parties to the transaction can exchange transaction information. For example, the transaction information may include the POS terminal name acquired by the mobile phone A101 from the POS terminal 201 (for example, if the POS terminal 201 is installed at a subway station, the terminal name may be the entrance of Pudong Airport; if the POS terminal 201 is installed on a bus, the terminal name It can be line 11, etc.), POS terminal location information (for example, if the POS terminal 201 is set in a subway station, a shopping mall, etc., and has a fixed location, the pre-registered and stored fixed location can be used as the location information. 201 is set in a mobile scene such as on a bus, and can obtain the map location information of the location-based service LBS obtained by the POS terminal 201). Optionally, the transaction information may also include information such as the time of swiping the card to get on the bus (for example, at 09:00:00 on September 9, 2019), the amount of the swiped card, the number of the swiped card, etc. The several optional transaction information listed above can be Provided by the mobile phone A101 itself. The above transaction information is obtained by the NFC controller 1012 in the mobile phone A101.

本實施例提供的基於近場通信NFC的行程資訊提示方法應用在如圖1所示系統的一種可選的實施方式,可以包括如圖2所示的如下步驟: 步驟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,第一終端監聽是否發生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,伺服器獲取第一終端在監聽到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的行程資訊提示系統,如圖10所示,該系統包括第一終端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)執行本發明各個實施例所述方法的部分步驟。而前述的儲存媒體包括:USB、移動硬碟、唯讀記憶體(Read-Only Memory,ROM)、隨機存取記憶體(Random Access Memory,RAM)、磁碟或者光碟等各種可以儲存程式碼的媒體。 以上所述僅為本發明的較佳實施例而已,並不用以限制本發明,凡在本發明的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本發明保護的範圍之內。 The NFC-based itinerary information prompt method provided in this embodiment is applied to an optional implementation of the system shown in Figure 1, which may include the following steps as shown in Figure 2: Step 201, user A downloads the application , and installed in the mobile phone A101. In step 202, user A applies for an authorized application service from (the server of) the card issuer in the application program. Step 203, the card issuer issues the 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, user A activates the NFC transaction function in the mobile phone A101. In step 205, 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. In step 206, the mobile phone A101 establishes an NFC connection with the POS terminal 201, and uses the NFC connection to conduct NFC transactions. Wherein, the NFC communication messages sent and received by the mobile phone A101 are 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, and 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. In step 208, the NFC controller 1012 encapsulates the transaction information of the NFC transaction event into a HCI (Host Controller Interface) message, and sends it to the operating system of the mobile phone A101. HCI messages are 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 . For the mobile POS terminal 201, the POS terminal 201 can be installed with a positioning module to determine the current positioning position of the POS terminal 201. For the fixed POS terminal 201, the POS terminal 201 can 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. Step 212 , the server 102 determines the itinerary information of the mobile phone A101 according to at least the transaction information of the POS terminal 201 . Wherein, the itinerary information at least includes the transaction location of the current transaction of the mobile phone A101. Optionally, 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 Figure 1, and then sent to server 102. For example, the positioning module 1014 may be a Global Positioning System (Global Positioning System, GPS for short). The server 102 can calibrate and correct the location information of the POS terminal 201 in combination with the location information of the above-mentioned mobile phone A101. Optionally, the location information of the mobile phone A101 can be combined only when the POS terminal 201 is a mobile and not fixed terminal device. The information is used to calibrate and correct the location information of the POS terminal 201, and if the position of the POS terminal 201 is fixed, no correction is required. Optionally, the transaction information may also include identification information of the mobile phone A101, for example, the International Mobile Equipment Identity (IMEI for short) of the mobile phone A101, which is commonly referred to as the mobile phone serial number, and is used to identify the transaction information. Authenticity verification may also include the account for logging into the application program of the mobile phone A101, and may also include the identification information of the POS terminal 201 and so on. In addition, specific transaction details of the transaction information may also be included, such as transaction time, transaction card number issued and allocated by the card issuer, transaction amount, and the like. The embodiment of the present invention does not specifically limit this. Other information other than the information related to determining the location of the mobile phone A101 can be used as the basis for the server 102 to identify the terminal/account identity and enrich the display content of the itinerary information. settings, which will not be repeated 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 : the account of user B. The account corresponding to the mobile phone A101 may be a login account of an application program installed in the mobile phone A101. The target account is the account that is pre-associated with the login account. For example, the target account may be one or more accounts specified among multiple friend accounts. Optionally, for editing (including adding and deleting accounts) of the target account, some more complicated authorization methods can be set. For example, the parents of the children can set the password for the editing operation to prevent the children from deleting the account by themselves; or, in Editing of target accounts requires verification of parent's mobile number, etc. This embodiment of the present invention does not limit it. Step 214, the mobile phone B202 displays the itinerary information. The method of message push can be to send an in-program push message banner to the application program of the associated account of the logged-in target account, as shown in Figure 1, the same as the application program installed in the mobile phone A101, the application program installed in the mobile phone B202 also includes a message push mode. Group, the message banner can be pushed by the message push module, the interaction diagram is shown in Figure 3, if the user B clicks the banner 2022 in the application program interface 2021 of the mobile phone B202, the mobile phone can be viewed in the application program interface 2021 of the mobile phone B202 The itinerary information of A101, as shown in FIG. 4 , shows the transaction location 2023 of the mobile phone A101. Optionally, the itinerary information provided by the server 102 may also be the itinerary route map 2024 formed by multiple transaction locations of the mobile phone A101 within 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, which may be configured according to specific situations. The method of message push can also be to push the itinerary information to the default communication account corresponding to the target account in the communication mode corresponding to the default communication account. For example, the target account associated with the account logged in by mobile phone A101 is the account of user B, and 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 remind the itinerary information, or a map is sent in the form of multimedia short message Alternatively, dial the mobile phone number of user B through a voice call, and convey the itinerary information to user B in the form of voice broadcast. Optionally, the server 102 may also pre-store the email address of user B, and send it to user B's email in the form of an email when it is necessary to push the itinerary information. Optionally, the server 102 can push the itinerary information to an associated application program other than the above-mentioned application programs. For example, the application program described in the embodiment of this application can be "Alipay". At this time, the message that the itinerary information needs to be pushed to the user B's account can be sent to the "DingTalk" server, so that the "DingTalk" server can push the itinerary information to the "DingTalk" associated with the user B's Alipay account. "Dingding" account, where User B's "Alipay" account and "Dingding" account can be linked through mobile phone numbers. The embodiment of the present application does not specifically limit the specific manner of pushing the message, which can be configured according to specific situations. The NFC-based itinerary information prompt method provided by the embodiment of the present application obtains NFC transaction information and uses an application to send the transaction information to the server, so that the server can determine the terminal’s location information based on the transaction information and push it to the associated account, since the NFC transaction information cannot be tampered with, the itinerary information can be determined through the NFC transaction information, which improves the accuracy of the itinerary information. Embodiment 2 The embodiment of the present invention also provides a schematic flowchart of a method for prompting travel information based on near-field communication NFC, which can be executed by terminals such as mobile phone A101 as shown in FIG. 1 , as shown in FIG. 6 , the method includes the following Steps: 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 if it detects the occurrence of an NFC transaction event ; Step 603, controlled by the application program in the first terminal, the first terminal sends the 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 The account corresponding to the first terminal is pre-associated with the target 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 turns on the NFC transaction function. An optional implementation is to send the transaction information of the NFC transaction event to the application program installed in the first terminal, including: the NFC controller of the first terminal obtains the transaction information of the interaction between the secure element of the first terminal and the transaction terminal ; The NFC controller of the first terminal encapsulates the transaction information into 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 program. An optional implementation manner is that, 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, including: the application program in the first terminal parses the HCI message to obtain the transaction information; An application program in a terminal controls the first terminal to send transaction information to a server of the application program. An optional implementation manner is that before the first terminal monitors whether an NFC transaction event occurs, the method further includes: the application program in the first terminal installs an authorization application service for executing an NFC transaction event on the secure element, and the transaction information is authorized Information about the interaction between the application service and the transaction terminal. An optional implementation manner is that after the first terminal monitors the occurrence of an NFC transaction event, the method further includes: the first terminal acquires location information; the first terminal sends the location information to the server, so that the server can combine the first The positioning information and transaction information of the terminal determine the itinerary information. It should be noted that, for the steps involved in the embodiment of the present invention, for parts not described in detail, reference may be made to the relevant description in Embodiment 1, and details are not repeated here. Embodiment 3 The embodiment of the present invention also provides a schematic flowchart 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 the following steps : Step 701, the server obtains the transaction information of the NFC transaction event sent by the first terminal after monitoring the NFC transaction event; Step 702, the server determines the itinerary information of the first terminal according to the transaction information; Step 703, the server sends the itinerary information Push to the target account pre-associated with the account corresponding to the first terminal. An optional embodiment is that the transaction information at least includes 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, and the server determines the itinerary of the first terminal according to the transaction information Information, including: the server determines the transaction location according to the location information of the transaction terminal. An optional implementation manner is that the server determines the itinerary information of the first terminal according to the transaction information, including: the server determines the transaction location by combining the location information of the first terminal and the location information of the transaction terminal. An optional implementation manner is that the itinerary information is a itinerary within a preset time period, wherein the itinerary is a route map drawn according to multiple transaction locations within a preset time period. An optional implementation manner is that the server pushes the itinerary information to a target account that is pre-associated with the account corresponding to the first terminal, including: the server pushes a notification message of the application program to the second terminal that logs in to the account associated with the target account, Wherein, the itinerary information is used for displaying when the application program in the second terminal is at least running in the foreground. An optional implementation manner is that the server pushes the itinerary information to a target account pre-associated with the account corresponding to the first terminal through at least one of the following methods: the server uses SMS, and/or, multimedia SMS, and/or, voice The call sends the 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 that logs in to the associated account of the target account. It should be noted that, for the steps involved in the embodiment of the present invention, for parts not described in detail, reference may be made to the relevant description in Embodiment 1, and details are not repeated here. Embodiment 4 The embodiment of the present invention also provides a schematic diagram of an NFC-based itinerary information prompting device, which can be set in terminals such as the mobile phone A101 shown in FIG. 1 . As shown in FIG. 8 , the device includes a monitoring module Group 10, first sending module 20, second sending module 30. Among them, 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 program installed in the first terminal when the NFC transaction event is detected. ; The second sending module is used to be controlled by the application program in the first terminal, and send the transaction information to the server of the application program, so that the server can determine the itinerary information of the first terminal according to the transaction information, and push the itinerary information to A target account pre-associated with the account corresponding to the first terminal. An optional implementation manner is that the monitoring module monitors whether an NFC transaction event occurs through the NFC controller. An optional implementation manner is that the device also includes: a receiving module, used to receive the user's operation of enabling 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 For operation, enable the NFC transaction function. An optional implementation manner is that the first sending module includes: an acquisition unit, configured to use the NFC controller of the first terminal to acquire transaction information that the security element of the first terminal interacts with the transaction terminal; an execution unit, configured to use the NFC controller of the first terminal The NFC controller of a terminal encapsulates the transaction information into a host control interface HCI message and sends it to the operating system of the first terminal; the broadcast unit is used to use the operating system of the first terminal to broadcast the HCI message to the application program. An optional implementation manner is that the second sending module includes: a parsing unit, used to use the application program in the first terminal to analyze the HCI message to obtain transaction information; a control unit, used to use the application program in the first terminal to control The first terminal sends transaction information to the server of the application program. An optional implementation manner is that the device further includes: an installation module, used to install an authorized application service for executing NFC transaction events to In the secure element, the transaction information is information that authorizes the application service to interact with the transaction terminal. An optional implementation manner is that the device also includes: an acquisition module, used to obtain positioning information after monitoring the occurrence of an NFC transaction event; a third sending module, used to send the positioning information to the server, so that The server combines the positioning information and transaction information of the first terminal to determine the itinerary information. It should be noted that for the parts not described in detail in the embodiment of the present invention, reference may be made to the relevant description in Embodiment 1, and details are not repeated here. Embodiment 5 The embodiment of the present invention also provides a schematic diagram of an NFC-based itinerary information prompting device, which can be set in the server 102 shown in FIG. 1 . As shown in FIG. 9 , the device includes: an acquisition module Group 40 , a determination module 50 and a push module 60 . The obtaining module is used to obtain the transaction information of the NFC transaction event sent by the first terminal after monitoring the NFC transaction event; the determination module is used to determine the itinerary information of the first terminal according to the transaction information; the push module is used to send The itinerary information is pushed to the target account pre-associated with the account corresponding to the first terminal. An optional implementation manner is that the transaction information at least includes 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, and the determination module includes: a first determination unit, using Based on the location information of the transaction terminal, the transaction location is determined. An optional implementation manner is that the determining module includes: a second determining unit, configured 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. An optional implementation manner is that the itinerary information is a itinerary within a preset time period, wherein the itinerary is a route map drawn according to multiple transaction locations within a preset time period. An optional implementation manner is that the push module includes: a first push unit, configured to push a notification message of an application to a second terminal that logs in to an account associated with the target account, wherein the itinerary information is used for Appears at least if the app is running in the foreground. An optional implementation manner is that the push module includes at least one of the following push units: a second push unit, configured to use text messages, and/or, multimedia text messages, and/or, voice calls to the phone number corresponding to the target account Send the itinerary information; the third push unit is used to send the itinerary information to the email address corresponding to the target account by email; the fourth push unit is used to send a push message to the associated application program logged into the target account . It should be noted that for the parts not described in detail in the embodiment of the present invention, reference may be made to the relevant description in Embodiment 1, and details are not repeated here. Embodiment 6 The embodiment of the present invention also provides a near-field communication NFC-based itinerary information prompt system, as shown in Figure 10, the system includes a first terminal 801 and a server 802, wherein: the first terminal is used to monitor whether NFC transaction event, when the NFC transaction event is detected, the transaction information of the NFC transaction event is sent to the application program installed in the first terminal, and controlled by the application program in the first terminal, the transaction information is sent to A server of the application program; the server is used to determine the itinerary information of the first terminal according to the transaction information, and push the itinerary information to a target account pre-associated with the account corresponding to the first terminal. Exemplarily, the first terminal 801 may be the mobile phone A101 shown in FIG. 1 , and the server 802 may be the server 102 shown in FIG. 1 . The embodiment of the present application does not impose any limitation on this. Embodiment 7 The embodiment of the present invention 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; memory 903 ; NFC module 908; and one or more computer programs 904. The above-mentioned components may be connected through one or more communication buses 905 . Wherein, the above-mentioned one or more computer programs 904 are stored in the above-mentioned memory 903 and configured to be executed by the one or more processors 902, the one or more computer programs 904 include instructions, and the above-mentioned instructions can be used to execute Various steps performed by the mobile phone A101 in the first and second embodiments above. Exemplarily, the above-mentioned terminal may specifically be the mobile phone A101 in FIG. Element 1011, NFC controller 1012 and NFC antenna 1013, wherein, 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 embodiment of the present application does not impose any limitation on this. Embodiment 8 The embodiment of the present invention 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 memories 911, one or more computer programs 912 include instructions. When the instructions are executed by the server, the server will execute the methods performed by the server 102 in the first and third embodiments. Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here. In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or elements can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units 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 may also be distributed to multiple network units . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units. The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) to execute the various embodiments of the present invention. part of the method. The aforementioned storage media include: USB, removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc., which can store program codes. media. The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

601~603:方法步驟 701~703:方法步驟 10:監聽模組 20:第一發送模組 30:第二發送模組 40:獲取模組 50:確定模組 60:推送模組 100:基於近場通信NFC的行程資訊提示系統 101:手機A 1011:安全元件 1012:NFC控制器 1013:NFC天線 1014:定位模組 102:伺服器 201:銷售終端 2011:NFC讀取器 202:手機B 801:第一終端 802:伺服器 901:觸控式螢幕 902:處理器 903:記憶體 904:電腦程式 905:通信匯流排 906:觸摸感測器 907:顯示幕 908:NFC模組 910:處理器 911:記憶體 912:電腦程式601~603: method steps 701~703: method steps 10: Monitor module 20: The first sending module 30: Second sending module 40: Get mods 50: Determine the module 60: Push module 100: Travel information reminder system based on near-field communication NFC 101: mobile phone A 1011: Secure Element 1012: NFC controller 1013: NFC antenna 1014: Positioning module 102: Server 201: Sales terminal 2011: NFC reader 202: mobile phone B 801: first terminal 802: server 901:Touch screen 902: Processor 903: Memory 904: computer program 905: communication bus 906: touch sensor 907: display screen 908:NFC module 910: Processor 911: memory 912:Computer program

為了更清楚地說明本發明實施例的技術方案,下面將對實施例中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其它的附圖。 [圖1]是本發明實施例提供的一種基於近場通信NFC的行程資訊提示系統的結構示意圖一; [圖2]是本發明實施例所提供的基於近場通信NFC的行程資訊提示方法的實施例一的流程示意圖; [圖3]是本發明實施例所提供的基於近場通信NFC的行程資訊提示方法的交互示意圖一; [圖4]是本發明實施例所提供的基於近場通信NFC的行程資訊提示方法的交互示意圖二; [圖5]是本發明實施例所提供的基於近場通信NFC的行程資訊提示方法的交互示意圖三; [圖6]是本發明實施例所提供的基於近場通信NFC的行程資訊提示方法的實施例二的流程示意圖; [圖7]是本發明實施例所提供的基於近場通信NFC的行程資訊提示方法的實施例三的流程示意圖; [圖8]是本發明實施例所提供的基於近場通信NFC的行程資訊提示裝置的實施例四的示意圖; [圖9]是本發明實施例所提供的基於近場通信NFC的行程資訊提示裝置的實施例五的示意圖; [圖10]是本發明實施例所提供的基於近場通信NFC的行程資訊提示系統的結構示意圖二; [圖11]是本發明實施例所提供的一種終端的示意圖; [圖12]是本發明實施例所提供的一種伺服器的示意圖。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort. [Fig. 1] is a structural schematic diagram 1 of an itinerary information prompt system based on near-field communication NFC provided by an embodiment of the present invention; [Fig. 2] is a schematic flowchart of Embodiment 1 of the NFC-based itinerary information prompting method provided by the embodiment of the present invention; [Fig. 3] is an interactive schematic diagram 1 of the NFC-based itinerary information prompt method provided by the embodiment of the present invention; [Fig. 4] is the second interactive schematic diagram of the NFC-based itinerary information prompt method provided by the embodiment of the present invention; [Fig. 5] is the third interactive schematic diagram of the NFC-based itinerary information prompt method provided by the embodiment of the present invention; [Fig. 6] is a schematic flowchart of Embodiment 2 of the NFC-based itinerary information prompting method provided by the embodiment of the present invention; [Fig. 7] is a schematic flowchart of Embodiment 3 of the NFC-based travel information prompt method provided by the embodiment of the present invention; [FIG. 8] is a schematic diagram of Embodiment 4 of the NFC-based itinerary information prompting device provided by the embodiment of the present invention; [FIG. 9] is a schematic diagram of Embodiment 5 of an NFC-based itinerary information prompting device provided by an embodiment of the present invention; [Fig. 10] is the second structural diagram of the NFC-based itinerary information prompt system provided by the embodiment of the present invention; [Fig. 11] is a schematic diagram of a terminal provided by an embodiment of the present invention; [ FIG. 12 ] is a schematic diagram of a server provided by an embodiment of the present invention.

101:手機A101: mobile phone A

102:伺服器102: Server

201:銷售終端201: Sales terminal

202:手機B202: mobile phone B

Claims (12)

一種基於近場通信NFC的行程資訊提示方法,其特徵在於,該方法執行右第一終端上,該方法包括:監聽是否發生NFC交易事件;在監聽到發生該NFC交易事件的情況下,將該NFC交易事件的交易資訊發送至安裝於該第一終端中的應用程式;受該第一終端中的應用程式控制,該第一終端將該交易資訊發送至該應用程式的伺服器,以使該伺服器根據該交易資訊確定該第一終端的行程資訊、以及將該行程資訊推送至與該第一終端對應的帳戶預先關聯的目標帳戶所在的第二終端,其中,該行程資訊至少包括該第一終端針對該NFC交易事件的交易定位,以及其中,該行程資訊為根據預設時段內的多個該交易定位繪製的路線圖。 A method for prompting travel information based on near-field communication NFC, characterized in that the method is executed on the first terminal on the right, and the method includes: monitoring whether an NFC transaction event occurs; The transaction information of the NFC transaction event is sent to the application program installed in the first terminal; controlled by the application program in the first terminal, the first terminal sends the transaction information to the server of the application program, so that the The server determines the itinerary information of the first terminal according to the transaction information, and pushes the itinerary information to the second terminal where the target account pre-associated with the account corresponding to the first terminal is located, wherein the itinerary information includes at least the first terminal A terminal's transaction location for the NFC transaction event, and the itinerary information is a route map drawn according to a plurality of the transaction locations within a preset time period. 根據請求項1所述的方法,其中,該第一終端通過NFC控制器監聽是否發生該NFC交易事件。 The method according to claim 1, wherein the first terminal monitors whether the NFC transaction event occurs through an NFC controller. 根據請求項2所述的方法,其中,在該第一終端通過NFC控制器監聽是否發生該NFC交易事件之前,該方法還包括:該第一終端接收用戶開啟NFC交易功能的操作;回應於該操作,該第一終端開啟該NFC交易功能。 According to the method described in claim 2, wherein, before the first terminal monitors whether the NFC transaction event occurs through the NFC controller, the method further includes: the first terminal receives the user's operation of enabling the NFC transaction function; responding to the Operation, the first terminal starts the NFC transaction function. 根據請求項2所述的方法,其中,所述將該NFC交易事件的交易資訊發送至安裝於該第一終端中的 應用程式,包括:該第一終端的該NFC控制器獲取該第一終端的安全元件與交易終端交互的該交易資訊;該第一終端的該NFC控制器將該交易資訊封裝為主機控制介面HCI消息,發送至該第一終端的作業系統;該第一終端的作業系統將該HCI消息廣播至該應用程式。 According to the method described in claim 2, wherein, the transaction information of the NFC transaction event is sent to the device installed in the first terminal The application program includes: the NFC controller of the first terminal obtains the transaction information that the secure element of the first terminal interacts with the transaction terminal; the NFC controller of the first terminal encapsulates the transaction information into a host control interface HCI The message is sent to the operating system of the first terminal; the operating system of the first terminal broadcasts the HCI message to the application program. 根據請求項4所述的方法,其中,所述受該第一終端中的應用程式控制,該第一終端將該交易資訊發送至該應用程式的伺服器,包括:該第一終端中的應用程式解析該HCI消息,得到該交易資訊;該第一終端中的應用程式控制該第一終端將該交易資訊發送至該應用程式的伺服器。 According to the method described in claim 4, wherein said being controlled by the application program in the first terminal, the first terminal sends the transaction information to the server of the application program, including: the application program in the first terminal The program parses the HCI message to obtain the 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. 根據請求項4所述的方法,其中,在該第一終端監聽是否發生NFC交易事件之前,該方法還包括:該第一終端中的應用程式將執行該NFC交易事件的授權應用服務安裝至該安全元件,該交易資訊為該授權應用服務與該交易終端交互的資訊。 According to the method described in claim 4, wherein, before the first terminal monitors whether an NFC transaction event occurs, the method further includes: the application program in the first terminal installs an authorized application service for executing the NFC transaction event on the In the secure element, the transaction information is the interaction information between the authorized application service and the transaction terminal. 根據請求項1所述的方法,其中,該第一終端在監聽到發生該NFC交易事件之後,該方法還包括:該第一終端獲取定位資訊;該第一終端將該定位資訊發送至該伺服器,以使該伺服器結合該第一終端的定位資訊和該交易資訊確定該行程 資訊。 According to the method described in claim 1, wherein, 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 device, so that the server can determine the itinerary in combination with the location information of the first terminal and the transaction information Information. 一種基於近場通信NFC的行程資訊提示方法,其特徵在於,該方法執行在伺服器上,該方法包括:該伺服器獲取第一終端在監聽到NFC交易事件之後發送的該NFC交易事件的交易資訊;該伺服器根據該交易資訊確定該第一終端的行程資訊,其中,該行程資訊至少包括該第一終端針對該NFC交易事件的交易定位,以及其中,該行程資訊為根據預設時段內的多個該交易定位繪製的路線圖;該伺服器將該行程資訊推送至與該第一終端對應的帳戶預先關聯的目標帳戶。 A method for prompting travel information based on near-field communication NFC, characterized in that the method is executed on a server, and the method includes: the server obtains the transaction of the NFC transaction event sent by the first terminal after listening to the NFC transaction event information; the server determines the itinerary information of the first terminal according to the transaction information, wherein the itinerary information includes at least the transaction location of the first terminal for the NFC transaction event, and wherein the itinerary information is based on the preset time period A route map drawn from multiple transaction locations; the server pushes the itinerary information to a target account pre-associated with the account corresponding to the first terminal. 根據請求項8所述的方法,其中,該交易資訊中至少包括該NFC交易事件對應的交易終端的定位資訊,該伺服器根據該交易資訊確定該第一終端的行程資訊,包括:該伺服器根據該交易終端的定位資訊,確定該交易定位。 According to the method described in claim 8, wherein, the transaction information includes at least the location information of the transaction terminal corresponding to the NFC transaction event, and the server determines the itinerary information of the first terminal according to the transaction information, including: the server The transaction location is determined according to the location information of the transaction terminal. 根據請求項9所述的方法,其中,該伺服器根據該交易資訊確定該第一終端的行程資訊,包括:該伺服器結合該第一終端的定位資訊和該交易終端的定位資訊,確定該交易定位。 According to the method described in claim 9, wherein the server determines the itinerary information of the first terminal according to the transaction information, comprising: the server combines the location information of the first terminal and the location information of the transaction terminal to determine the Transaction positioning. 根據請求項8所述的方法,其中,該伺服器將該行程資訊推送至與該第一終端對應的帳戶預先關 聯的目標帳戶,包括:該伺服器向登錄該目標帳戶的第二終端推送該應用程式的通知消息,其中,該行程資訊用於在該第二終端中的該應用程式至少運行在前台的情況下顯示。 According to the method described in claim 8, wherein, the server pushes the itinerary information to the account corresponding to the first terminal to pre-close A linked target account, including: the server pushes a notification message of the application to a second terminal that logs in to the target account, wherein the itinerary information is used when the application in the second terminal is at least running in the foreground displayed below. 根據請求項8所述的方法,其中,該伺服器通過以下至少一種方式將該行程資訊推送至與該第一終端對應的帳戶預先關聯的目標帳戶:該伺服器使用簡訊,和/或,多媒體簡訊,和/或,語音通話向該目標帳戶對應的電話號碼發送該行程資訊;該伺服器使用郵件向該目標帳戶對應的郵箱地址發送該行程資訊;該伺服器向登錄該目標帳戶的關聯應用程式發送推送消息。 According to the method described in claim 8, wherein, the server pushes the itinerary information to a target account pre-associated with the account corresponding to the first terminal through at least one of the following methods: the server uses SMS, and/or, multimedia SMS, and/or voice calls to send 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 email; the server sends the itinerary information to the associated application logged in to the target account The program sends a push message.
TW109115871A 2019-12-17 2020-05-13 NFC-based travel information prompt method, device, system and terminal TWI784270B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911303325.6 2019-12-17
CN201911303325.6A CN111031488B (en) 2019-12-17 2019-12-17 Travel information prompting method, device and system based on Near Field Communication (NFC) and terminal

Publications (2)

Publication Number Publication Date
TW202126068A TW202126068A (en) 2021-07-01
TWI784270B true TWI784270B (en) 2022-11-21

Family

ID=70210041

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109115871A TWI784270B (en) 2019-12-17 2020-05-13 NFC-based travel information prompt method, device, system and terminal

Country Status (3)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031488B (en) * 2019-12-17 2021-07-27 支付宝(杭州)信息技术有限公司 Travel information prompting method, device and system based on Near Field Communication (NFC) and terminal
CN114221969B (en) * 2021-11-24 2023-08-22 安徽听见科技有限公司 Data synchronization method, terminal, server and system based on near field communication

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI498838B (en) * 2011-06-22 2015-09-01 Broadcom Corp Point of sale system for transaction payment delegation
CN104994471A (en) * 2015-06-30 2015-10-21 百度在线网络技术(北京)有限公司 Position tracking method for terminal equipment, server and terminal equipment
CN105787719A (en) * 2016-02-24 2016-07-20 努比亚技术有限公司 NFC mobile terminal and method for controlling NFC card swiping authority
CN106101249A (en) * 2016-06-29 2016-11-09 北京小米移动软件有限公司 The method of PUSH message, device, terminal and server

Family Cites Families (13)

* 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 (en) * 2010-06-02 2014-12-10 中兴通讯股份有限公司 Method and device for automatically displaying near field communication transaction information on mobile terminal
US20140129358A1 (en) * 2012-11-05 2014-05-08 First Data Corporation Financial transaction routing
CN103974188A (en) * 2012-12-03 2014-08-06 杨益 Positioning system based on portable positioning terminal
CN104850630A (en) * 2015-05-21 2015-08-19 爱多云智科技(北京)有限公司 Card-payment information providing method, device and system
US20170221058A1 (en) * 2016-02-02 2017-08-03 Visa International Service Association System and method for secondary account holder payment device control
CN106600258A (en) * 2016-10-14 2017-04-26 惠州Tcl移动通信有限公司 Payment location notification method and system, and server
CN106780240B (en) * 2016-11-22 2022-06-21 北京安云世纪科技有限公司 Travel monitoring method and device
CN106940856B (en) * 2016-12-07 2021-07-13 中国银联股份有限公司 Secret-free payment method and system based on vehicle-mounted payment authorization
CN106790721A (en) * 2017-03-22 2017-05-31 苏州亮磊知识产权运营有限公司 Evaluation information method for pushing, device and server based on wireless communication technology
CN107680182A (en) * 2017-10-23 2018-02-09 武汉智慧地铁科技有限公司 A kind of urban track traffic fast passing system and method based on credit consuming
CN110175841B (en) * 2019-05-21 2020-05-05 王媛颖心 Special electronic payment device for old people
CN111031488B (en) * 2019-12-17 2021-07-27 支付宝(杭州)信息技术有限公司 Travel information prompting method, device and system based on Near Field Communication (NFC) and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI498838B (en) * 2011-06-22 2015-09-01 Broadcom Corp Point of sale system for transaction payment delegation
CN104994471A (en) * 2015-06-30 2015-10-21 百度在线网络技术(北京)有限公司 Position tracking method for terminal equipment, server and terminal equipment
CN105787719A (en) * 2016-02-24 2016-07-20 努比亚技术有限公司 NFC mobile terminal and method for controlling NFC card swiping authority
CN106101249A (en) * 2016-06-29 2016-11-09 北京小米移动软件有限公司 The method of PUSH message, device, terminal and server

Also Published As

Publication number Publication date
CN111031488A (en) 2020-04-17
CN111031488B (en) 2021-07-27
CN113645570A (en) 2021-11-12
TW202126068A (en) 2021-07-01
WO2021120825A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
US11893565B2 (en) Wireless dongle facilitated mobile transactions
US9947183B2 (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 (en) Authorizing transactions using mobile device based rules
TWI784270B (en) NFC-based travel information prompt method, device, system and terminal
US10482458B2 (en) User equipment, service providing device, payment system comprising the same, control method thereof and non-transitory computer-readable storage medium storing computer program recorded thereon
US9549322B2 (en) Methods and systems for authentication of a communication device
CN107657199B (en) Mobile device, verification device and verification method thereof
US11423387B2 (en) Processing payments
KR101834365B1 (en) Service providing system and method for payment based on electronic tag
KR101834367B1 (en) Service providing system and method for payment using sound wave communication based on electronic tag
KR20170024720A (en) User equipment, service providing device, POS terminal, payment system comprising the same, control method thereof and computer readable medium having computer program recorded thereon
KR101599635B1 (en) Method for integrated ic card payment
US20200160332A1 (en) Processing payments
KR102431366B1 (en) User equipment, service providing device, payment system comprising the same, control method thereof and computer readable medium having computer program recorded thereon
KR102431303B1 (en) User equipment, service providing device, payment system comprising the same, control method thereof and computer readable medium having computer program recorded thereon
KR20170029859A (en) User equipment, service providing device, POS terminal, payment system comprising the same, control method thereof and computer readable medium having computer program recorded thereon
KR20180133124A (en) System for accumulating point using virtual account that enables point accumulation without app login, method thereof and computer readable medium having computer program recorded thereon
KR20130003733A (en) Method for notifying location by using near field communication, system and terminal therefor