這裡將詳細地對示例性實施例進行說明,其示例表示在圖式中。下面的描述涉及圖式時,除非另有表示,不同圖式中的相同數字表示相同或相似的要素。以下示例性實施例中所描述的實施方式並不代表與本說明書相一致的所有實施方式。相反地,它們僅是與如所附申請專利範圍中所詳述的、本說明書的一些態樣相一致的裝置和方法的例子。
在本說明書使用的術語是僅僅出於描述特定實施例的目的,而非旨在限制本說明書。在本說明書和所附申請專利範圍中所使用的單數形式的“一種”、“所述”和“該”也旨在包括多數形式,除非上下文清楚地表示其他含義。還應當理解,本文中使用的術語“和/或”是指並包含一個或多個相關聯的列出專案的任何或所有可能組合。
應當理解,儘管在本說明書可能採用術語第一、第二、第三等來描述各種資訊,但這些資訊不應限於這些術語。這些術語僅用來將同一類型的資訊彼此區分開。例如,在不脫離本說明書範圍的情況下,第一資訊也可以被稱為第二資訊,類似地,第二資訊也可以被稱為第一資訊。取決於語境,如在此所使用的詞語“如果”可以被解釋成為“在……時”或“當……時”或“回應於確定”。
本說明書提供一種基於射頻識別技術實現支付的方案,請參考圖1,可透過終端設備向射頻線圈中寫入支付識別碼,並可將射頻線圈放入手機殼、手錶、飾品等可攜式物件中。在進行支付時,可將可攜式物件靠近收款方設備,收款方設備在讀取到射頻線圈中攜帶的支付識別碼後,可將攜帶該支付識別碼的支付請求發送給伺服器端,由伺服器端查找該支付識別碼綁定的支付帳號,並完成支付。整個過程無需用戶使用終端等設備,方便、快捷。
下面分別從支付識別碼的寫入、支付實現、支付帳號的解綁三個態樣來描述本說明書的具體實現過程。
一、支付識別碼的寫入
在本實施例中,有支付需求的用戶可透過手機等終端中裝載的客戶端軟體登錄伺服器端,這部分的處理與實現可以參照相關技術,本說明書在此不再一一贅述。
在本實施例中,用戶可透過客戶端輸入識別碼寫入指令,例如,可透過指定的按鈕實現識別碼寫入指令的輸入,當然,也可以透過聲控等方式實現識別碼寫入指令的輸入。
在本實施例中,客戶端在接收到該識別碼寫入指令後,可產生後續用於支付的識別碼,可將該識別碼稱為支付識別碼。例如,可隨機產生一串字串作為所述支付識別碼,當然,也可以透過預定的演算法產生支付識別碼,本說明書對此不作特殊限制。
在產生所述支付識別碼後,可以透過射頻識別技術將所述支付識別碼寫入到射頻線圈中。其中,所述射頻識別技術可以為NFC(Near Field Communication,近場通訊技術),相應的,所述射頻線圈為NFC線圈。
在將所述支付識別碼成功寫入射頻線圈後,一方面,可將該射頻線圈放置在手機殼、手錶、飾品、包包、鑰匙扣等便攜物件中。
另一方面,客戶端可將產生的支付識別碼發送給伺服器端。
伺服器端在接收到該支付識別碼後,可對該支付識別碼進行唯一性校驗,在確定該支付識別碼全域唯一時,可以將該支付識別碼和客戶端的登錄帳號綁定,即將該支付識別碼和用戶的支付帳號綁定。
當然,在上述過程中,支付識別碼的產生也可以由伺服器端來實現。
可選地,客戶端在接收到付款方用戶的識別碼寫入指令後,可發送支付識別碼產生請求給伺服器端,由伺服器端產生全域唯一的支付識別碼,並返回給客戶端。
客戶端進而可以透過射頻識別技術將該支付識別碼寫入到射頻線圈中,並可向伺服器端返回寫入成功的消息。
伺服器端在接收到該寫入成功的消息後,可以將產生的所述支付識別碼和用戶的支付帳號綁定。
由此可以看出,本實施例可將支付識別碼寫入射頻線圈中,用戶可將射頻線圈放置在便攜物件中實現支付功能,方便、快捷。同時,無需對射頻線圈進行供電,相較於傳統技術中採用手環等可穿戴設備進行支付的方案,可用性更高、適用範圍更廣。
可選地,為避免其他寫有資料的射頻裝置給收款方設備造成干擾,客戶端在寫入支付識別碼時,可以對先對該支付識別碼進行加密,並將加密後的支付識別碼寫入射頻線圈。後續,收款方設備在讀取到加密後的支付識別碼後,可先對其進行解密校驗處理。
若校驗通過,可以發送支付請求到伺服器端。
若校驗不通過,則無需發送支付請求到伺服器端。
在本實施例中,用戶還可透過客戶端設定射頻線圈的支付限額。
具體而言,為確保支付帳號安全,針對使用射頻線圈進行支付的支付方式,用戶可設定較小的支付限額,例如,200元。
在一個例子中,用戶可以在進行支付識別碼寫入時,設定支付限額,例如,在成功寫入支付識別碼之後,客戶端可提示用戶進行支付限額的設定。
在另一個例子中,用戶也可以後續在使用過程中設定支付限額,例如,透過客戶端的指定入口進行支付限額的設定。
當然,在實際應用中,若用戶未設定支付限額,則伺服器端也可以使用缺省的支付限額。後續,用戶可以透過客戶端對支付限額進行修改等操作。
由此可以看出,本實施例透過對支付限額的設定,可有效確保用戶支付帳號的資金安全。
二、支付實現
圖2是本說明書一示例性實施例示出的一種基於射頻識別技術實現支付的方法的流程示意圖。
在本實施例中,以射頻識別技術是NFC技術為例進行描述,基於NFC技術實現支付的方法可由設置有NFC線圈的收款方物件(後續簡稱為NFC物件)、收款方部署的NFC收款設備(後續簡稱為NFC收款設備)、伺服器端配合實現。
請參考圖2,該支付實現方法可以包括以下步驟:
步驟202,NFC物件靠近NFC收款設備。
在本實施例中,NFC物件中設置的NFC線圈內寫有支付識別碼,該支付識別碼的寫入方式可參考前述實施例,本說明書在此不再一一贅述。
在本實施例中,持有NFC物件的用戶在進行支付時,可將該NFC物件靠近NFC收款設備。
步驟204,NFC收款設備從該NFC物件設置的NFC線圈中讀取支付識別碼。
步驟206,NFC收款設備發送攜帶所述支付識別碼的支付請求到伺服器端。
在本實施例中,當檢測到NFC物件靠近後,NFC收款設備可以從該NFC物件設置的NFC線圈中讀取到支付識別碼。
在一個例子中,若所述支付識別碼未被加密,則NFC收款設備可以將該支付識別碼添加到支付請求中發送給伺服器端。該支付請求中通常還攜帶有收款方標識、時間、流水號等資訊,這部分的處理與實現可以參照相關技術,本說明書在此不再一一贅述。
在另一個例子中,若所述支付識別碼被加密,則NFC收款設備可以先對其進行解密校驗。
若校驗通過,則可以將支付識別碼添加到支付請求中發送給伺服器端。
若校驗不通過,則可認定NFC物件是非法物件或干擾物件,無需發送支付請求到伺服器端。NFC收款設備還可以輸出告警音以進行提示。
步驟208,伺服器端查找該支付識別碼綁定的支付帳號。
基於前述步驟206,伺服器端在接收到攜帶有支付識別碼的支付請求後,可以查找該支付識別碼綁定的支付帳號。
步驟210,伺服器端確定該支付識別碼綁定的支付限額。
基於前述步驟206,伺服器端在接收到攜帶有支付識別碼的支付請求後,還可以判斷該支付識別碼是否對應有支付限額。
若對應有支付限額,則可以獲取該支付限額。
值得注意的是,本說明書並不限制步驟208和步驟210的執行順序,在其他例子中,也可以先執行步驟210,或者並存執行步驟208和步驟210。
步驟212,伺服器端確定支付金額未超出該支付限額。
在本實施例中,伺服器端判斷支付請求對應的支付金額是否超出上述支付限額。
其中,所述支付金額可以從支付請求中獲取,所述支付金額也可以由伺服器端根據支付請求中攜帶的收款方標識查找,本說明書對此不作特殊限制。
若所述支付金額未超出上述支付限額,則可以執行步驟214。
若所述支付金額超出上述支付限額,則可以向NFC收款設備返回支付失敗的消息,NFC收款設備進而可以透過語音、文字等方式提示用戶。
步驟214,伺服器端基於查找到的支付帳號處理所述支付請求。
基於前述步驟212的判斷結果,當支付金額未超出支付限額時,伺服器端可以基於支付識別碼綁定的支付帳號處理上述支付請求。例如,從所述支付帳號中扣除所述支付金額,在NFC收款設備綁定的收款帳號中存入所述支付金額等。
在本實施例中,當所述支付請求被成功處理後,一方面,伺服器端可以向NFC收款設備返回付款成功的提示。NFC收款設備進而可以透過語音、文字等方式提示用戶付款成功。另一方面,伺服器端還可以向支付識別碼綁定的支付帳號發送付款資訊,以提示用戶付款成功。
由以上描述可以看出,用戶可透過設置有NFC線圈的物件實現支付,整個過程無需用戶使用手機等終端設備,方便、快捷。
三、支付帳號的解綁
仍以NFC技術為例,為避免寫入有支付識別碼的NFC線圈丟失,給用戶帶來經濟損失。本實施例提供有支付帳號解綁的實現方案。
在本實施例中,當設置有NFC線圈的物件丟失,或者用戶不再想使用NFC線圈實現支付時,用戶可以透過客戶端輸入解綁指令,客戶端進而可以發送解綁請求給伺服器端,伺服器端可以查找用戶支付帳號綁定的支付識別碼,並解除該支付識別碼和該支付帳號的綁定關係。
後續,即便其他用戶拾到設置有該NFC線圈的物件,並使用該NFC物件進行支付,由於伺服器端無法查找到支付識別碼綁定的支付帳號,進而無法實現支付,保證了用戶的資金安全。
需要說明的是,在實際應用中,同一個支付帳號可以綁定多個支付識別碼,即用戶可以擁有多個寫有支付識別碼的NFC物件,其中每個NFC物件設置的NFC線圈中寫有的支付識別碼不同。當某個NFC物件丟失時,用戶可以根據物件標識等資訊解除該丟失NFC物件的NFC線圈中寫有的支付識別碼和其支付帳號的綁定關係,從而在確保資金安全的同時,不影響其他NFC物件的使用。
與前述基於射頻識別技術實現支付的方法的實施例相對應,本說明書還提供了基於射頻識別技術實現支付的裝置的實施例。
本說明書基於射頻識別技術實現支付的裝置的實施例可以應用在伺服器上。裝置實施例可以透過軟體實現,也可以透過硬體或者軟硬體結合的方式來實現。以軟體實現為例,作為一個邏輯意義上的裝置,是透過其所在伺服器的處理器將非易失性記憶體中對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,如圖3所示,為本說明書基於射頻識別技術實現支付的裝置所在伺服器的一種硬體結構圖,除了圖3所示的處理器、記憶體、網路介面、以及非易失性記憶體之外,實施例中基於射頻識別技術實現支付的裝置所在的伺服器通常根據該伺服器的實際功能,還可以包括其他硬體,對此不再贅述。
圖4是本說明書一示例性實施例示出的一種基於射頻識別技術實現支付的裝置的方塊圖。
請參考圖4,所述基於射頻識別技術實現支付的裝置300可以應用在前述圖3所示的伺服器中,包括有:請求接收單元301、帳號查找單元302、請求處理單元303、第一綁定單元304以及第二綁定單元305。
其中,請求接收單元301,接收收款方設備發送的支付請求,所述支付請求中攜帶支付識別碼,所述支付識別碼由所述收款方設備基於射頻識別技術從付款方物件中設置的射頻線圈讀取;
帳號查找單元302,查找所述支付識別碼綁定的付款方帳號;
請求處理單元303,基於所述付款方帳號處理所述支付請求。
可選地,所述支付識別碼由付款方客戶端產生並基於射頻識別技術寫入所述射頻線圈;
所述裝置還包括:
第一綁定單元304,接收付款方客戶端產生的所述支付識別碼;將所述支付識別碼和付款方帳號綁定。
可選地,所述第一綁定單元304,還接收付款方客戶端發送的支付限額;將所述支付識別碼和所述支付限額綁定;
所述請求處理單元303,當所述支付請求對應的支付金額未超出所述支付識別碼綁定的支付限額時,基於所述付款方帳號處理所述支付請求。
可選地,所述第一綁定單元304,還接收付款方客戶端發送的解綁請求;解除付款方帳號和所述支付識別碼的綁定。
第二綁定單元305,在接收到付款方客戶端發送的支付識別碼產生請求後,產生支付識別碼;將所述支付識別碼和付款方帳號綁定;將所述支付識別碼發送給付款方客戶端,以供付款方客戶端基於射頻識別技術將所述支付識別碼寫入所述射頻線圈。
可選地,所述射頻線圈是NFC線圈,所述收款方設備是NFC讀寫設備,所述射頻識別技術是NFC技術。
與前述基於射頻識別技術實現支付的方法的實施例相對應,本說明書還提供了基於射頻識別技術實現支付的裝置的實施例。
本說明書基於射頻識別技術實現支付的裝置的實施例可以應用在終端上。裝置實施例可以透過軟體來實現,也可以透過硬體或者軟硬體結合的方式來實現。以軟體實現為例,作為一個邏輯意義上的裝置,是透過其所在終端的處理器將非易失性記憶體中對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,如圖5所示,為本說明書基於射頻識別技術實現支付的裝置所在終端的一種硬體結構圖,除了圖5所示的處理器、記憶體、網路介面、以及非易失性記憶體之外,實施例中基於射頻識別技術實現支付的裝置所在的終端通常根據該終端的實際功能,還可以包括其他硬體,對此不再贅述。
圖6是本說明書一示例性實施例示出的另一種基於射頻識別技術實現支付的裝置的方塊圖。
請參考圖6,所述基於射頻識別技術實現支付的裝置500可以應用在前述圖5所示的終端中,包括有:識別碼產生單元501、識別碼寫入單元502、識別碼發送單元503、限額設定單元504以及識別碼解綁單元505。
其中,識別碼產生單元501,在接收到識別碼寫入指令後,產生支付識別碼;
識別碼寫入單元502,基於射頻識別技術將所述支付識別碼寫入目標物件中設置的射頻線圈;
識別碼發送單元503,將所述支付識別碼發送給伺服器端,以供伺服器端將支付帳號和所述支付識別碼綁定,以在接收到攜帶所述支付識別碼的支付請求時,根據所述支付帳號處理所述支付請求;
其中,所述支付請求中攜帶的支付識別碼由收款方設備基於射頻識別技術從所述目標物件中設置的所述射頻線圈讀取。
限額設定單元504,獲取支付限額,並將所述支付限額發送給伺服器端,以供伺服器端將所述支付限額和所述支付識別碼綁定,以供伺服器端在所述支付請求對應的支付金額未超出所述支付識別碼綁定的支付限額時,基於所述支付帳號處理所述支付請求。
識別碼解綁單元505,在接收到解綁指令後,發送解綁請求給伺服器端,以供伺服器端解除所述支付帳號和所述支付識別碼的綁定。
可選地,所述射頻線圈是NFC線圈,所述射頻識別技術是NFC技術。
上述裝置中各個單元的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。
對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本說明書方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。
上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體來實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦,電腦的具體形式可以是個人電腦、膝上型電腦、蜂巢式電話、相機電話、智慧型電話、個人數位助理、媒體播放器、導航設備、電子郵件收發設備、遊戲控制台、平板電腦、穿戴式設備或者這些設備中的任意幾種設備的組合。
與前述基於射頻識別技術實現支付的方法的實施例相對應,本說明書還提供一種基於射頻識別技術實現支付的裝置,該基於射頻識別技術實現支付的裝置包括:處理器以及用於儲存機器可執行指令的記憶體。其中,處理器和記憶體通常借由內部匯流排相互連接。在其他可能的實現方式中,所述設備還可能包括外部介面,以能夠與其他設備或者部件進行通訊。
在本實施例中,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器被促使:
接收收款方設備發送的支付請求,所述支付請求中攜帶支付識別碼,所述支付識別碼由所述收款方設備基於射頻識別技術從付款方物件中設置的射頻線圈讀取;
查找所述支付識別碼綁定的付款方帳號;
基於所述付款方帳號處理所述支付請求。
可選地,所述支付識別碼由付款方客戶端產生並基於射頻識別技術寫入所述射頻線圈;
透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器還被促使:
接收付款方客戶端產生的所述支付識別碼;
將所述支付識別碼和付款方帳號綁定。
可選地,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器還被促使:
接收付款方客戶端發送的支付限額;
將所述支付識別碼和所述支付限額綁定;
所述基於所述付款方帳號處理所述支付請求,包括:
當所述支付請求對應的支付金額未超出所述支付識別碼綁定的支付限額時,基於所述付款方帳號處理所述支付請求。
可選地,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器還被促使:
接收付款方客戶端發送的解綁請求;
解除付款方帳號和所述支付識別碼的綁定。
可選地,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器還被促使:
在接收到付款方客戶端發送的支付識別碼產生請求後,產生支付識別碼;
將所述支付識別碼和付款方帳號綁定;
將所述支付識別碼發送給付款方客戶端,以供付款方客戶端基於射頻識別技術將所述支付識別碼寫入所述射頻線圈。
可選地,所述射頻線圈是NFC線圈,所述收款方設備是NFC讀寫設備,所述射頻識別技術是NFC技術。
與前述基於射頻識別技術實現支付的方法的實施例相對應,本說明書還提供一種基於射頻識別技術實現支付的裝置,該基於射頻識別技術實現支付的裝置包括:處理器以及用於儲存機器可執行指令的記憶體。其中,處理器和記憶體通常借由內部匯流排相互連接。在其他可能的實現方式中,所述設備還可能包括外部介面,以能夠與其他設備或者部件進行通訊。
在本實施例中,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器被促使:
在接收到識別碼寫入指令後,產生支付識別碼;
基於射頻識別技術將所述支付識別碼寫入目標物件中設置的射頻線圈;
將所述支付識別碼發送給伺服器端,以供伺服器端將支付帳號和所述支付識別碼綁定,以在接收到攜帶所述支付識別碼的支付請求時,根據所述支付帳號處理所述支付請求;
其中,所述支付請求中攜帶的支付識別碼由收款方設備基於射頻識別技術從所述目標物件中設置的所述射頻線圈讀取。
可選地,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器被促使:
獲取支付限額,並將所述支付限額發送給伺服器端,以供伺服器端將所述支付限額和所述支付識別碼綁定,以供伺服器端在所述支付請求對應的支付金額未超出所述支付識別碼綁定的支付限額時,基於所述支付帳號處理所述支付請求。
可選地,透過讀取並執行所述記憶體儲存的與基於射頻識別技術實現支付的邏輯對應的機器可執行指令,所述處理器被促使:
在接收到解綁指令後,發送解綁請求給伺服器端,以供伺服器端解除所述支付帳號和所述支付識別碼的綁定。
可選地,所述射頻線圈是NFC線圈,所述射頻識別技術是NFC技術。
與前述基於射頻識別技術實現支付的方法的實施例相對應,本說明書還提供一種電腦可讀儲存媒體,所述電腦可讀儲存媒體上儲存有電腦程式,該程式被處理器執行時實現以下步驟:
接收收款方設備發送的支付請求,所述支付請求中攜帶支付識別碼,所述支付識別碼由所述收款方設備基於射頻識別技術從付款方物件中設置的射頻線圈讀取;
查找所述支付識別碼綁定的付款方帳號;
基於所述付款方帳號處理所述支付請求。
可選地,所述支付識別碼由付款方客戶端產生並基於射頻識別技術寫入所述射頻線圈;
所述方法還包括:
接收付款方客戶端產生的所述支付識別碼;
將所述支付識別碼和付款方帳號綁定。
可選地,還包括:
接收付款方客戶端發送的支付限額;
將所述支付識別碼和所述支付限額綁定;
所述基於所述付款方帳號處理所述支付請求,包括:
當所述支付請求對應的支付金額未超出所述支付識別碼綁定的支付限額時,基於所述付款方帳號處理所述支付請求。
可選地,還包括:
接收付款方客戶端發送的解綁請求;
解除付款方帳號和所述支付識別碼的綁定。
可選地,還包括:
在接收到付款方客戶端發送的支付識別碼產生請求後,產生支付識別碼;
將所述支付識別碼和付款方帳號綁定;
將所述支付識別碼發送給付款方客戶端,以供付款方客戶端基於射頻識別技術將所述支付識別碼寫入所述射頻線圈。
可選地,所述射頻線圈是NFC線圈,所述收款方設備是NFC讀寫設備,所述射頻識別技術是NFC技術。
與前述基於射頻識別技術實現支付的方法的實施例相對應,本說明書還提供一種電腦可讀儲存媒體,所述電腦可讀儲存媒體上儲存有電腦程式,該程式被處理器執行時實現以下步驟:
在接收到識別碼寫入指令後,產生支付識別碼;
基於射頻識別技術將所述支付識別碼寫入目標物件中設置的射頻線圈;
將所述支付識別碼發送給伺服器端,以供伺服器端將支付帳號和所述支付識別碼綁定,以在接收到攜帶所述支付識別碼的支付請求時,根據所述支付帳號處理所述支付請求;
其中,所述支付請求中攜帶的支付識別碼由收款方設備基於射頻識別技術從所述目標物件中設置的所述射頻線圈讀取。
可選地,還包括:
獲取支付限額,並將所述支付限額發送給伺服器端,以供伺服器端將所述支付限額和所述支付識別碼綁定,以供伺服器端在所述支付請求對應的支付金額未超出所述支付識別碼綁定的支付限額時,基於所述支付帳號處理所述支付請求。
可選地,還包括:
在接收到解綁指令後,發送解綁請求給伺服器端,以供伺服器端解除所述支付帳號和所述支付識別碼的綁定。
可選地,所述射頻線圈是NFC線圈,所述射頻識別技術是NFC技術。
上述對本說明書特定實施例進行了描述。其它實施例在所附申請專利範圍內。在一些情況下,在申請專利範圍中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在圖式中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。在某些實施方式中,多工處理和並行處理也是可以的或者可能是有利的。
以上所述僅為本說明書的較佳實施例而已,並不用以限制本說明書,凡在本說明書的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本說明書保護的範圍之內。Exemplary embodiments will be described in detail here, examples of which are shown in the drawings. When the following description refers to drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. Rather, they are only examples of devices and methods consistent with some aspects of this specification as detailed in the scope of the attached patent applications.
The terminology used in this specification is for the purpose of describing particular embodiments only, and is not intended to limit this specification. The singular forms "a", "said" and "the" used in this specification and the appended patent applications are also intended to include most forms unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein can be interpreted as "when" or "when..." or "responsive to certainty".
This specification provides a payment solution based on radio frequency identification technology. Please refer to Figure 1. The payment identification code can be written into the radio frequency coil through the terminal device, and the radio frequency coil can be placed in a mobile phone case, watch, jewelry and other portable Objects. When making a payment, the portable item can be brought close to the payee device. After reading the payment identification code carried in the radio frequency coil, the payee device can send the payment request carrying the payment identification code to the server , The server side searches for the payment account number bound to the payment identification code and completes the payment. The whole process does not require users to use devices such as terminals, which is convenient and fast.
The following describes the specific implementation process of this specification from the three aspects of writing the payment identification code, payment realization, and unbundling of the payment account.
1. Write the payment identification code
In this embodiment, users with payment requirements can log in to the server through the client software installed in terminals such as mobile phones. For the processing and implementation of this part, reference may be made to related technologies, and this description will not repeat them one by one here.
In this embodiment, the user can input the identification code writing instruction through the client, for example, the input of the identification code writing instruction can be realized through a designated button, and of course, the input of the identification code writing instruction can also be realized through voice control and the like .
In this embodiment, after receiving the identification code writing instruction, the client may generate an identification code for subsequent payment, which may be referred to as a payment identification code. For example, a string of words may be randomly generated as the payment identification code, and of course, the payment identification code may also be generated through a predetermined algorithm, which is not particularly limited in this specification.
After the payment identification code is generated, the payment identification code can be written into the radio frequency coil through radio frequency identification technology. Wherein, the radio frequency identification technology may be NFC (Near Field Communication, near field communication technology), and correspondingly, the radio frequency coil is an NFC coil.
After the payment identification code is successfully written into the radio frequency coil, on the one hand, the radio frequency coil can be placed in portable objects such as mobile phone cases, watches, accessories, bags, key chains and the like.
On the other hand, the client can send the generated payment identification code to the server.
After receiving the payment identification code, the server can perform a unique verification on the payment identification code. When determining that the payment identification code is globally unique, the server can bind the payment identification code to the client's login account. The payment identification code is bound to the user's payment account.
Of course, in the above process, the generation of the payment identification code can also be achieved by the server.
Optionally, after receiving the instruction to write the identification code of the payer user, the client may send a payment identification code generation request to the server, and the server generates a globally unique payment identification code and returns it to the client.
The client can then write the payment identification code into the radio frequency coil through radio frequency identification technology, and can return a message of successful writing to the server.
After receiving the successful writing message, the server can bind the generated payment identification code to the user's payment account.
It can be seen from this that in this embodiment, the payment identification code can be written into the radio frequency coil, and the user can place the radio frequency coil in a portable object to realize the payment function, which is convenient and fast. At the same time, there is no need to supply power to the radio frequency coil. Compared with the traditional technology that uses a bracelet and other wearable devices to pay, the availability is higher and the scope of application is wider.
Optionally, in order to avoid other radio frequency devices with written data causing interference to the payee device, the client may encrypt the payment identification code first and write the encrypted payment identification code when writing the payment identification code Write to the RF coil. Subsequently, after reading the encrypted payment identification code, the payee device may first perform decryption and verification processing on it.
If the verification is passed, a payment request can be sent to the server.
If the verification fails, there is no need to send a payment request to the server.
In this embodiment, the user can also set the payment limit of the radio frequency coil through the client.
Specifically, in order to ensure the security of the payment account, the user can set a smaller payment limit for the payment method using the RF coil for payment, for example, 200 yuan.
In one example, the user may set the payment limit when writing the payment identification code. For example, after successfully writing the payment identification code, the client may prompt the user to set the payment limit.
In another example, the user can subsequently set the payment limit during use, for example, setting the payment limit through the designated entrance of the client.
Of course, in practical applications, if the user does not set a payment limit, the server can also use the default payment limit. Later, users can modify the payment limit through the client.
It can be seen from this that in this embodiment, by setting the payment limit, the funds of the user's payment account can be effectively secured.
Second, payment realization
FIG. 2 is a schematic flowchart of a method for implementing payment based on radio frequency identification technology shown in an exemplary embodiment of this specification.
In this embodiment, the radio frequency identification technology is NFC technology as an example for description. The payment method based on the NFC technology may be a payee object (hereinafter referred to as an NFC object) provided with an NFC coil, or an NFC receiver deployed by the payee Device (hereinafter referred to as NFC payment device), and server-side cooperation.
Please refer to FIG. 2, the payment realization method may include the following steps:
Step 202, the NFC object is close to the NFC payment device.
In this embodiment, a payment identification code is written in the NFC coil provided in the NFC object. For the writing method of the payment identification code, reference may be made to the foregoing embodiment, and details are not repeated here in this specification.
In this embodiment, the user who holds the NFC item can approach the NFC payment device when making the payment.
In step 204, the NFC collection device reads the payment identification code from the NFC coil set in the NFC object.
Step 206, the NFC payment device sends a payment request carrying the payment identification code to the server.
In this embodiment, when it is detected that the NFC object is approaching, the NFC collection device may read the payment identification code from the NFC coil provided in the NFC object.
In one example, if the payment identification code is not encrypted, the NFC collection device may add the payment identification code to the payment request and send it to the server. The payment request usually also carries information such as the payee ID, time, serial number, etc. For the processing and implementation of this part, reference may be made to related technologies, and this specification will not repeat them one by one here.
In another example, if the payment identification code is encrypted, the NFC collection device may first decrypt and verify it.
If the verification is passed, the payment identification code can be added to the payment request and sent to the server.
If the verification fails, it can be determined that the NFC object is an illegal object or an interference object, and there is no need to send a payment request to the server. The NFC payment device can also output an alarm tone for prompting.
Step 208: The server searches for the payment account number bound to the payment identification code.
Based on the foregoing step 206, after receiving the payment request carrying the payment identification code, the server can search for the payment account number bound to the payment identification code.
Step 210: The server determines the payment limit bound to the payment identification code.
Based on the foregoing step 206, after receiving the payment request carrying the payment identification code, the server can also determine whether the payment identification code corresponds to a payment limit.
If there is a corresponding payment limit, the payment limit can be obtained.
It is worth noting that this specification does not limit the execution order of step 208 and step 210. In other examples, step 210 may be executed first, or step 208 and step 210 may be executed concurrently.
In step 212, the server determines that the payment amount does not exceed the payment limit.
In this embodiment, the server determines whether the payment amount corresponding to the payment request exceeds the payment limit.
The payment amount can be obtained from the payment request, and the payment amount can also be searched by the server according to the payee ID carried in the payment request, which is not specifically limited in this specification.
If the payment amount does not exceed the above payment limit, step 214 may be executed.
If the payment amount exceeds the above payment limit, a payment failure message may be returned to the NFC collection device, and the NFC collection device may further prompt the user through voice, text, etc.
Step 214: The server side processes the payment request based on the found payment account number.
Based on the judgment result of the foregoing step 212, when the payment amount does not exceed the payment limit, the server can process the above payment request based on the payment account number bound to the payment identification code. For example, the payment amount is deducted from the payment account, and the payment amount is deposited in the payment account bound to the NFC collection device.
In this embodiment, after the payment request is successfully processed, on the one hand, the server can return a prompt of successful payment to the NFC payment device. The NFC payment device can then prompt the user to make a successful payment through voice or text. On the other hand, the server can also send payment information to the payment account bound to the payment identification code to remind the user that the payment was successful.
As can be seen from the above description, the user can realize payment through the object provided with the NFC coil, and the entire process does not require the user to use a mobile phone or other terminal device, which is convenient and fast.
3. Untie the payment account
Still taking the NFC technology as an example, in order to avoid the loss of the NFC coil written with the payment identification code, it brings economic losses to the user. This embodiment provides a solution for unbundling payment accounts.
In this embodiment, when the object with the NFC coil is lost, or the user no longer wants to use the NFC coil to realize payment, the user can input the unbinding instruction through the client, and the client can then send the unbinding request to the server. The server can search for the payment identification code bound to the user's payment account, and release the binding relationship between the payment identification code and the payment account.
Later, even if other users pick up the object with the NFC coil and use the NFC object for payment, the payment account bound to the payment identification code cannot be found on the server side, and payment cannot be realized, thus ensuring the safety of the user's funds .
It should be noted that in practical applications, multiple payment identification codes can be bound to the same payment account, that is, the user can have multiple NFC objects written with payment identification codes, in which the NFC coil set for each NFC object is written with The payment ID is different. When an NFC object is lost, the user can release the binding relationship between the payment identification code written in the NFC coil of the lost NFC object and its payment account according to the object identification and other information, so as to ensure the safety of funds without affecting other Use of NFC objects.
Corresponding to the foregoing embodiments of the method for implementing payment based on radio frequency identification technology, this specification also provides an embodiment of an apparatus for implementing payment based on radio frequency identification technology.
The embodiment of the device for realizing payment based on radio frequency identification technology in this specification can be applied to a server. The device embodiments can be implemented by software, or by hardware or a combination of hardware and software. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the server where it is located. From the hardware level, as shown in Figure 3, it is a hardware structure diagram of the server where the payment device based on radio frequency identification technology is implemented in this specification, in addition to the processor, memory, network interface, and In addition to the non-volatile memory, in the embodiment, the server where the payment device based on the radio frequency identification technology is located usually includes other hardware according to the actual function of the server, which will not be repeated here.
FIG. 4 is a block diagram of an apparatus for implementing payment based on radio frequency identification technology shown in an exemplary embodiment of this specification.
Referring to FIG. 4, the device 300 for payment based on radio frequency identification technology can be applied to the server shown in FIG. 3, including: a request receiving unit 301, an account search unit 302, a request processing unit 303, and a first binding Fixed unit 304 and second binding unit 305.
The request receiving unit 301 receives the payment request sent by the payee device, the payment request carries a payment identification code, and the payment identification code is set by the payee device based on the radio frequency identification technology from the payer object RF coil reading;
The account search unit 302 searches for the payer account number bound to the payment identification code;
The request processing unit 303 processes the payment request based on the payer account number.
Optionally, the payment identification code is generated by the payer client and written into the radio frequency coil based on radio frequency identification technology;
The device also includes:
The first binding unit 304 receives the payment identification code generated by the payer client; and binds the payment identification code to the payer account number.
Optionally, the first binding unit 304 also receives the payment limit sent by the payer client; binds the payment identification code and the payment limit;
The request processing unit 303 processes the payment request based on the account of the payer when the payment amount corresponding to the payment request does not exceed the payment limit bound by the payment identification code.
Optionally, the first binding unit 304 also receives the unbinding request sent by the payer client; the binding of the payer account number and the payment identification code is released.
The second binding unit 305 generates a payment identification code after receiving the payment identification code generation request sent by the payer client; binds the payment identification code to the payer account number; and sends the payment identification code to the payment Client, for the payer client to write the payment identification code into the radio frequency coil based on radio frequency identification technology.
Optionally, the radio frequency coil is an NFC coil, the payee device is an NFC read-write device, and the radio frequency identification technology is NFC technology.
Corresponding to the foregoing embodiments of the method for implementing payment based on radio frequency identification technology, this specification also provides an embodiment of an apparatus for implementing payment based on radio frequency identification technology.
The embodiment of the device for realizing payment based on radio frequency identification technology in this specification can be applied to a terminal. The device embodiments can be implemented by software, or by hardware or a combination of hardware and software. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the terminal where it is located. From the hardware level, as shown in Figure 5, this is a hardware structure diagram of the terminal where the payment device based on RFID technology is implemented, except for the processor, memory, network interface, and In addition to the non-volatile memory, the terminal where the payment device based on the radio frequency identification technology in the embodiment is located usually includes other hardware according to the actual function of the terminal, which will not be repeated here.
Fig. 6 is a block diagram of another device for realizing payment based on radio frequency identification technology shown in an exemplary embodiment of the present specification.
Referring to FIG. 6, the device 500 for payment based on radio frequency identification technology can be applied to the terminal shown in FIG. 5 described above, including: an identification code generating unit 501, an identification code writing unit 502, an identification code sending unit 503, The quota setting unit 504 and the identification code unbinding unit 505.
The identification code generation unit 501 generates a payment identification code after receiving the identification code writing instruction;
The identification code writing unit 502 writes the payment identification code to the radio frequency coil set in the target object based on radio frequency identification technology;
The identification code sending unit 503 sends the payment identification code to the server side for the server side to bind the payment account number and the payment identification code, so that when receiving a payment request carrying the payment identification code, Processing the payment request according to the payment account number;
Wherein, the payment identification code carried in the payment request is read by the payee device based on the radio frequency identification technology from the radio frequency coil set in the target object.
The limit setting unit 504 obtains the payment limit and sends the payment limit to the server for the server to bind the payment limit and the payment identification code for the server to request the payment When the corresponding payment amount does not exceed the payment limit bound by the payment identification code, the payment request is processed based on the payment account number.
The identification code unbinding unit 505, after receiving the unbind instruction, sends an unbind request to the server side for the server side to unbind the payment account number and the payment identification code.
Optionally, the radio frequency coil is an NFC coil, and the radio frequency identification technology is NFC technology.
For the implementation process of the functions and functions of the units in the above device, please refer to the implementation process of the corresponding steps in the above method for details, which will not be repeated here.
As for the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are only schematic, wherein 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, may be located One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement without paying creative labor.
The system, device, module or unit explained in the above embodiments may be implemented by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game Consoles, tablets, wearable devices, or any combination of these devices.
Corresponding to the foregoing embodiments of the method for realizing payment based on radio frequency identification technology, this specification also provides a device for realizing payment based on radio frequency identification technology. The device for realizing payment based on radio frequency identification technology includes: a processor and a storage machine for execution Instruction memory. Among them, the processor and the memory are usually connected to each other through an internal bus. In other possible implementations, the device may also include an external interface to be able to communicate with other devices or components.
In this embodiment, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is prompted to:
Receiving a payment request sent by a payee device, where the payment request carries a payment identification code, and the payment identification code is read by the payee device based on a radio frequency identification technology from a radio frequency coil set in the payer's object;
Find the payer account number bound to the payment identification code;
The payment request is processed based on the payer account number.
Optionally, the payment identification code is generated by the payer client and written into the radio frequency coil based on radio frequency identification technology;
By reading and executing the machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is also prompted to:
Receiving the payment identification code generated by the payer client;
Bind the payment identification code to the payer account.
Optionally, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is further prompted to:
Receive the payment limit sent by the payer client;
Bind the payment identification code to the payment limit;
The processing the payment request based on the payer account includes:
When the payment amount corresponding to the payment request does not exceed the payment limit bound by the payment identification code, process the payment request based on the payer account number.
Optionally, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is further prompted to:
Receive the unbinding request sent by the payer client;
Unlink the payer account number and the payment identification code.
Optionally, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is further prompted to:
After receiving the payment identification code generation request sent by the payer client, generate the payment identification code;
Bind the payment identification code to the payer account;
The payment identification code is sent to the payer client for the payer client to write the payment identification code into the radio frequency coil based on radio frequency identification technology.
Optionally, the radio frequency coil is an NFC coil, the payee device is an NFC read-write device, and the radio frequency identification technology is NFC technology.
Corresponding to the foregoing embodiments of the method for realizing payment based on radio frequency identification technology, this specification also provides a device for realizing payment based on radio frequency identification technology. The device for realizing payment based on radio frequency identification technology includes: a processor and a storage machine for execution Instruction memory. Among them, the processor and the memory are usually connected to each other through an internal bus. In other possible implementations, the device may also include an external interface to be able to communicate with other devices or components.
In this embodiment, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is prompted to:
After receiving the identification code writing instruction, a payment identification code is generated;
Writing the payment identification code into the radio frequency coil set in the target object based on radio frequency identification technology;
Sending the payment identification code to the server side, so that the server side binds the payment account number and the payment identification code, so as to process according to the payment account number when receiving a payment request carrying the payment identification code The payment request;
Wherein, the payment identification code carried in the payment request is read by the payee device based on the radio frequency identification technology from the radio frequency coil set in the target object.
Optionally, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is prompted to:
Obtain the payment limit, and send the payment limit to the server side for the server side to bind the payment limit and the payment identification code, so that the server side may not pay the payment amount corresponding to the payment request When the payment limit bound by the payment identification code is exceeded, the payment request is processed based on the payment account number.
Optionally, by reading and executing machine-executable instructions stored in the memory corresponding to the logic for payment based on radio frequency identification technology, the processor is prompted to:
After receiving the unbind instruction, the unbind request is sent to the server side for the server side to unbind the payment account number and the payment identification code.
Optionally, the radio frequency coil is an NFC coil, and the radio frequency identification technology is NFC technology.
Corresponding to the foregoing embodiment of the method for realizing payment based on radio frequency identification technology, this specification also provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the program is executed by the processor, the following steps are realized :
Receiving a payment request sent by a payee device, where the payment request carries a payment identification code, and the payment identification code is read by the payee device based on a radio frequency identification technology from a radio frequency coil set in the payer's object;
Find the payer account number bound to the payment identification code;
The payment request is processed based on the payer account number.
Optionally, the payment identification code is generated by the payer client and written into the radio frequency coil based on radio frequency identification technology;
The method also includes:
Receiving the payment identification code generated by the payer client;
Bind the payment identification code to the payer account.
Optionally, it also includes:
Receive the payment limit sent by the payer client;
Bind the payment identification code to the payment limit;
The processing the payment request based on the payer account includes:
When the payment amount corresponding to the payment request does not exceed the payment limit bound by the payment identification code, process the payment request based on the payer account number.
Optionally, it also includes:
Receive the unbinding request sent by the payer client;
Unlink the payer account number and the payment identification code.
Optionally, it also includes:
After receiving the payment identification code generation request sent by the payer client, generate the payment identification code;
Bind the payment identification code to the payer account;
The payment identification code is sent to the payer client for the payer client to write the payment identification code into the radio frequency coil based on radio frequency identification technology.
Optionally, the radio frequency coil is an NFC coil, the payee device is an NFC read-write device, and the radio frequency identification technology is NFC technology.
Corresponding to the foregoing embodiment of the method for realizing payment based on radio frequency identification technology, this specification also provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the program is executed by the processor, the following steps are realized :
After receiving the identification code writing instruction, a payment identification code is generated;
Writing the payment identification code into the radio frequency coil set in the target object based on radio frequency identification technology;
Sending the payment identification code to the server side, so that the server side binds the payment account number and the payment identification code, so as to process according to the payment account number when receiving a payment request carrying the payment identification code The payment request;
Wherein, the payment identification code carried in the payment request is read by the payee device based on the radio frequency identification technology from the radio frequency coil set in the target object.
Optionally, it also includes:
Obtain the payment limit, and send the payment limit to the server side for the server side to bind the payment limit and the payment identification code, so that the server side may not pay the payment amount corresponding to the payment request When the payment limit bound by the payment identification code is exceeded, the payment request is processed based on the payment account number.
Optionally, it also includes:
After receiving the unbind instruction, the unbind request is sent to the server side for the server side to unbind the payment account number and the payment identification code.
Optionally, the radio frequency coil is an NFC coil, and the radio frequency identification technology is NFC technology.
The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the attached patent application. In some cases, the actions or steps described in the scope of the patent application may be performed in a different order than in the embodiment and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some embodiments, multiplexing and parallel processing are also possible or may be advantageous.
The above are only the preferred embodiments of this specification and are not intended to limit this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of this specification should be included in this specification Within the scope of protection.