TWI784270B - NFC-based travel information prompt method, device, system and terminal - Google Patents
NFC-based travel information prompt method, device, system and terminal Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000004891 communication Methods 0.000 claims abstract description 32
- 238000012544 monitoring process Methods 0.000 claims description 9
- 230000003993 interaction Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 16
- 238000004590 computer program Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000015654 memory Effects 0.000 description 12
- 230000004044 response Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 5
- 238000013475 authorization Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000010365 information processing Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3278—RFID or NFC payments by means of M-devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
- G06Q50/265—Personal security, identity or safety
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services 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的行程資訊提示方法、裝置、系統及終端。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)".
本發明實施例給出一種基於近場通信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
如圖1所示,該基於近場通信NFC的行程資訊提示系統100包括伺服器102和第一終端,其中,第一終端可以是手機、掌上型電腦PDA(Personal Digital Assistant)、平板設備等移動終端,例如,第一終端可以是如圖1所示的手機A101。
As shown in FIG. 1 , the NFC-based itinerary information
伺服器102是手機A101中安裝的應用程式(Application,簡稱APP)對應的伺服器,該應用程式可以是帶有支付業務功能的應用程式,伺服器102為該應用程式對應的業務伺服器,為應用程式提供業務支援。
The
手機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
手機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
在執行刷卡交易時,用戶將手機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
在交易過程中,交易雙方可以交互交易資訊。例如,交易資訊可以包括手機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
本實施例提供的基於近場通信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
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)
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)
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)
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)
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 |
-
2019
- 2019-12-17 CN CN201911303325.6A patent/CN111031488B/en active Active
- 2019-12-17 CN CN202110773340.8A patent/CN113645570A/en active Pending
-
2020
- 2020-05-13 TW TW109115871A patent/TWI784270B/en active
- 2020-10-20 WO PCT/CN2020/122275 patent/WO2021120825A1/en active Application Filing
Patent Citations (4)
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 |