TWI706687B - Payment method and client - Google Patents

Payment method and client Download PDF

Info

Publication number
TWI706687B
TWI706687B TW108106324A TW108106324A TWI706687B TW I706687 B TWI706687 B TW I706687B TW 108106324 A TW108106324 A TW 108106324A TW 108106324 A TW108106324 A TW 108106324A TW I706687 B TWI706687 B TW I706687B
Authority
TW
Taiwan
Prior art keywords
signal strength
threshold
target
payment
connection
Prior art date
Application number
TW108106324A
Other languages
Chinese (zh)
Other versions
TW202004593A (en
Inventor
韓喆
楊磊
吳軍
王磊
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW202004593A publication Critical patent/TW202004593A/en
Application granted granted Critical
Publication of TWI706687B publication Critical patent/TWI706687B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Telephone Function (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申請實施方式公開了一種支付方法及用戶端,其中,所述方法提供有與支付終端進行支付資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料;所述方法包括:根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值;獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件;若滿足,與所述支付終端再次進行支付資料傳輸。本申請提供的技術方案,能夠提高用戶的支付體驗。 The embodiment of the present application discloses a payment method and a user terminal, wherein the method provides an initial transmission threshold and initial signal strength distribution data corresponding to the payment terminal for payment data transmission; the method includes: according to the initial transmission Threshold and the initial signal strength distribution data to determine the target transmission threshold; obtain the current signal strength distribution data, and determine whether the current signal strength distribution data meets the conditions associated with the target transmission threshold; The payment terminal transmits the payment data again. The technical solution provided by this application can improve the user's payment experience.

Description

支付方法及用戶端Payment method and client

本申請關於互聯網技術領域,特別關於一種支付方法及用戶端。This application relates to the field of Internet technology, particularly to a payment method and a user terminal.

隨著互聯網技術的快速發展,行動支付的應用不斷增多。利用智慧手機(如Android手機、iOS手機等)、平板電腦以及行動上網裝置(Mobile Internet Devices,MID)、PAD等用戶端進行線上支付已成為一種便捷、流行的支付方式。 在實際應用中發現,在基於低功耗藍牙(Bluetooth Low Energy,BLE)近場支付的方法中,針對不同的用戶端,例如不同的智慧手機,即使分別與支付終端之間的距離相同,但接收到的信號強度指示(Received Signal Strength Indication,RSSI)卻可能存在差異。例如,如圖1和圖2所示,兩種分別為華為mate8和小米5s的智慧手機,在與支付終端相同距離下接受到的RSSI並不相同,其中,距離包括2厘米、5厘米、20厘米和50厘米;圖1和圖2中的橫坐標和縱坐標分別為RSSI值和占比,單位分別為毫瓦分貝(dbm)和千分比。這樣,可能導致用戶在使用某款智慧手機時,由於該智慧手機在通常支付距離處的RSSI小於設定的支付資料傳輸閾值,而無法進行正常支付,從而降低用戶的支付體驗。With the rapid development of Internet technology, the application of mobile payment continues to increase. Using smart phones (such as Android phones, iOS phones, etc.), tablet computers, mobile Internet devices (Mobile Internet Devices, MID), PAD and other user terminals for online payment has become a convenient and popular payment method. In practical applications, it is found that in the near-field payment method based on Bluetooth Low Energy (BLE), for different user terminals, such as different smart phones, even if the distance between each and the payment terminal is the same, The received signal strength indication (RSSI) may be different. For example, as shown in Figure 1 and Figure 2, two smartphones, namely Huawei mate 8 and Xiaomi 5s, receive different RSSIs at the same distance from the payment terminal. The distances include 2 cm, 5 cm, 20 Centimeters and 50 centimeters; the abscissa and ordinate in Fig. 1 and Fig. 2 are the RSSI value and the proportion, respectively, and the units are decibels (dbm) and thousandths per milliwatt. In this way, when a user uses a certain smart phone, because the RSSI of the smart phone at the normal payment distance is less than the set payment data transmission threshold, normal payment may not be performed, thereby reducing the user's payment experience.

本申請實施方式的目的是提供一種支付方法及用戶端,能夠提高用戶的支付體驗。 為實現上述目的,本申請實施方式提供一種支付方法,所述方法提供有與支付終端進行支付資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料;所述方法包括:根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值;獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件;若滿足,與所述支付終端再次進行支付資料傳輸。 為實現上述目的,本申請實施方式還提供一種用戶端,所述用戶端中包括儲存模組、傳輸閾值更新模組、資料獲取模組和傳輸判定模組;其中,所述儲存模組用於儲存與支付終端進行資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料;所述傳輸閾值更新模組用於根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值;所述資料獲取模組用於獲取當前的信號強度分佈資料;所述傳輸判定模組用於判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件,並在判斷結果為滿足的情況下,與所述支付終端再次進行資料傳輸。 為實現上述目的,本申請實施方式還提供一種用戶端,所述用戶端包括記憶體和處理器,所述記憶體中儲存有與支付終端進行資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料,以及電腦程式,所述電腦程式被所述處理器執行時,實現以下步驟:根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值;獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件;若滿足,與所述支付終端再次進行資料傳輸。 由上可見,在本申請中,針對用戶使用的用戶端,例如智慧手機,該智慧手機可以根據上一次與支付終端進行支付資料傳輸時的初始傳輸閾值和初始信號強度分佈資料,更新當前與支付終端進行支付資料傳輸的目標傳輸閾值。那麼,在獲取當前的信號強度分佈資料之後,該智慧手機便可以判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件,若滿足,可以與所述支付終端再次進行支付資料傳輸。這樣,針對用戶使用的智慧手機,採用本申請方法可以自動更新與該智慧手機相適應的傳輸閾值,以使得在通常的支付距離處,用戶使用不同的智慧手機都可以進行正常支付,從而提高用戶的支付體驗。The purpose of the embodiments of this application is to provide a payment method and user terminal, which can improve the user's payment experience. In order to achieve the above-mentioned objective, the embodiments of the present application provide a payment method, which provides an initial transmission threshold and initial signal strength distribution data corresponding to the payment terminal transmitting payment data; the method includes: according to the initial transmission threshold And the initial signal strength distribution data, determine the target transmission threshold; obtain the current signal strength distribution data, and determine whether the current signal strength distribution data meets the conditions associated with the target transmission threshold; if so, and the payment The terminal transmits payment data again. In order to achieve the above-mentioned object, the embodiments of the present application also provide a client, the client includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module; wherein, the storage module is used for Store the initial transmission threshold and initial signal strength distribution data corresponding to the data transmission of the payment terminal; the transmission threshold update module is used to determine the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data; The data acquisition module is used to acquire current signal strength distribution data; the transmission determination module is used to determine whether the current signal strength distribution data meets the condition associated with the target transmission threshold, and when the judgment result is satisfied In this case, data transmission is performed again with the payment terminal. In order to achieve the above objective, the embodiments of the present application further provide a user terminal, the user terminal includes a memory and a processor, the memory stores the initial transmission threshold and initial signal strength distribution corresponding to the data transmission of the payment terminal Data, and a computer program, when the computer program is executed by the processor, the following steps are implemented: determine the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data; obtain current signal strength distribution data, And it is determined whether the current signal strength distribution data meets the conditions associated with the target transmission threshold; if it is satisfied, data transmission is performed again with the payment terminal. As can be seen from the above, in this application, for the user terminal used by the user, such as a smart phone, the smart phone can update the current and payment based on the initial transmission threshold and initial signal strength distribution data during the last payment data transmission with the payment terminal The target transmission threshold for the terminal to transmit payment data. Then, after acquiring the current signal strength distribution data, the smart phone can determine whether the current signal strength distribution data meets the conditions associated with the target transmission threshold, and if it meets the conditions, it can perform payment data again with the payment terminal transmission. In this way, for the smart phone used by the user, the method of this application can automatically update the transmission threshold that is compatible with the smart phone, so that at the usual payment distance, the user can make normal payments using different smart phones, thereby improving users Payment experience.

為了使本技術領域的人員更好地理解本申請中的技術方案,下面將結合本申請實施方式中的圖式,對本申請實施方式中的技術方案進行清楚、完整地描述,顯然,所描述的實施方式僅僅是本申請一部分實施方式,而不是全部的實施方式。基於本申請中的實施方式,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施方式,都應當屬於本申請保護的範圍。 本申請實施方式提供一種支付方法,所述支付方法可以應用於用戶端和支付終端的系統架構中。所述支付終端可以是具有藍牙通訊功能的收款設備。在與用戶端之間進行藍牙通訊時,所述支付終端通常處於從模式,可以發出藍牙頻段的信號。具體地,所述支付終端例如可以是具有藍牙通訊功能的銷售點(Point of Sale,POS)機具、公共運輸收費機具、校園收費機具等收款設備;也可以為運行於該收款設備中,為收款提供支援的軟體。在本實施方式中並不具體限定所述支付終端的數量。所述支付終端可以為一個支付終端,還可以為幾個支付終端,或者,若干支付終端形成的支付終端集群。 在本實施方式中,所述用戶端可以是用於行動支付且具有藍牙通訊功能的電子設備。在與支付終端之間進行藍牙通訊時,所述用戶端通常處於主模式,可以獲取所述信號對應的信號強度分佈資料。具體地,所述用戶端例如可以是平板電腦、筆記型電腦、智慧手機、數位助理、智慧可穿戴設備等。或者,所述用戶端也可以為能夠運行於上述電子設備中的軟體。具體地,所述用戶端可以為電子設備中的行動應用,所述移動應用例如可以是微信、PayPal等。 本申請實施方式提供一種資訊交互的方法,所述資訊交互的方法可以應用於上述的用戶端中。所述方法可以提供有與所述支付終端進行支付資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料。 在本實施方式中,所述初始傳輸閾值可以是一個信號強度指示(Received Signal Strength Indication,RSSI)值。所述初始傳輸閾值可以是用戶端與所述支付終端首次進行支付資料傳輸時對應的傳輸閾值,即最初設定的傳輸閾值。通常,所述最初設定的傳輸閾值可以是一個較小的值,例如為-100毫瓦分貝(dbm),以保證不同的用戶端,例如不同的智慧手機,都可以觸發與所述支付終端之間的支付資料傳輸功能。 不僅如此,所述初始傳輸閾值還可以是在用戶端與所述支付終端首次進行支付資料傳輸之後,與所述支付終端某一次進行支付資料傳輸時對應的傳輸閾值。 在本實施方式中,所述初始信號強度分佈資料可以是一種RSSI分佈資料。其中,所述RSSI分佈資料可以是用戶端在指定時間段內獲取的所述支付終端發出的藍牙信號對應的RSSI值。這樣,所述RSSI分佈資料中可以包括不同RSSI值對應的頻次。 在本實施方式中,所述初始信號強度分佈資料可以是用戶端與所述支付終端首次進行支付資料傳輸時獲取的信號強度分佈資料,還可以是在用戶端與所述支付終端首次進行支付資料傳輸之後,與所述支付終端某一次進行支付資料傳輸時獲取的信號強度分佈資料。 在本實施方式中,在所述初始信號強度分佈資料滿足所述初始傳輸閾值關聯的條件的情況下,用戶端可以與所述支付終端進行支付資料傳輸。具體地,所述初始傳輸閾值關聯的條件可以包括,所述初始信號強度分佈資料中的信號強度平均值大於或等於所述初始傳輸閾值。 在本實施方式中,用戶端每次與所述支付終端進行支付資料傳輸後,可以記錄這次與所述支付終端進行支付資料傳輸時對應的傳輸閾值和信號強度分佈資料,以更新與所述支付終端下一次進行支付資料傳輸時對應的目標傳輸閾值。 請參閱圖3,所述方法可以包括以下步驟。 S11:根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值。 在本實施方式中,用戶端可以根據與所述支付終端上一次進行支付資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料,確定所述目標傳輸閾值,以作為與所述支付終端再次進行支付資料傳輸的判斷依據。具體地,用戶端可以基於與所述支付終端之前進行支付資料傳輸的次數、與所述支付資料傳輸的次數相關聯的指定參數,以及所述初始信號強度分佈資料中的信號強度最大值,確定權重係數,以使得根據所述權重係數、所述信號強度分佈資料中的信號強度最大值和所述初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中占比最大的信號強度值的差值的絕對值小於或者等於指定強度值。其中,所述指定距離可以是用戶端與所述支付終端通常進行支付資料傳輸時的距離,該距離可以根據實際應用場景來設定。例如,用戶在公車上透過某款智慧手機進行支付時,該智慧手機與公車上的收費機具之間的距離通常可以為5~10厘米。或者,用戶在學校的食堂透過該智慧手機進行支付時,該智慧手機與食堂視窗的收費機具之間的距離通常為10~15厘米。所述指定強度值可以為零,也可以為趨近於零的較小的值。如此,在用戶使用的用戶端與所述支付終端的距離接近所述指定距離時,所獲取的信號強度分佈資料中的信號強度大於所述目標傳輸閾值的機率更大,這樣,用戶端可以更快地與所述支付終端進行連接,並進行支付資料傳輸,從而可以提高支付速度。 不僅如此,還可以在上述確定所述目標傳輸閾值的實施方式的基礎上,考慮所述初始信號強度分佈資料中信號強度平均值。具體地,用戶端還可以基於與所述支付終端之前進行支付資料傳輸的次數、與所述支付資料傳輸的次數相關聯的指定參數,以及所述初始信號強度分佈資料中的信號強度平均值和信號強度最大值,確定權重係數,以使得根據所述權重係數、所述信號強度分佈資料中的信號強度平均值和信號強度最大值,以及所述初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中占比最大的信號強度值的差值的絕對值小於或者等於指定強度值。 在本實施方式中,當所述初始信號強度分佈資料中的信號強度最大值減去所述初始傳輸閾值後得到的值大於指定差值時,可以根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值。例如,當所述初始信號強度分佈資料中的信號強度最大值減去所述初始傳輸閾值後得到的值大於指定差值時,即

Figure 02_image001
,其中,
Figure 02_image003
表示與所述支付終端第
Figure 02_image005
次進行支付資料傳輸時對應的初始信號強度分佈資料中的信號強度最大值,
Figure 02_image007
表示與所述支付終端第
Figure 02_image005
次進行支付資料傳輸時對應的初始傳輸閾值,
Figure 02_image009
表示所述指定差值;可以採用下述公式確定所述目標傳輸閾值
Figure 02_image011
Figure 02_image013
Figure 02_image015
其中,
Figure 02_image017
表示所述權重係數,
Figure 02_image019
表示與所述支付資料傳輸的次數
Figure 02_image021
相關聯的指定參數,例如,當所述支付資料傳輸的次數
Figure 02_image021
小於等於2時,
Figure 02_image019
為2,當
Figure 02_image021
大於2時,
Figure 02_image019
為5;
Figure 02_image022
Figure 02_image024
分別是與所述指定差值相關聯的參數。例如,當所述指定差值為20 dbm時,
Figure 02_image022
Figure 02_image024
分別可以為15和18。 當所述初始信號強度分佈資料中的信號強度最大值減去所述初始傳輸閾值後得到的值小於或等於所述指定差值時,將所述初始傳輸閾值作為所述目標傳輸閾值,即不在更新傳輸閾值。在實際應用中,所述指定差值的取值範圍通常可以為15~20 dbm。 S13:獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件;若滿足,與所述支付終端再次進行支付資料傳輸。 在本實施方式中,在用戶端需要與所述支付終端再次進行支付資料傳輸之前,可以先獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件。若滿足,便可以與所述支付終端再次進行支付資料傳輸。所述目標傳輸閾值關聯的條件,具體可以包括:所述當前的信號強度分佈資料中的信號強度平均值大於或等於所述目標傳輸閾值。這樣,在所述當前的信號強度分佈資料中的信號強度平均值大於或等於所述目標傳輸閾值的情況下,用戶端可以與所述支付終端再次進行支付資料傳輸。 在一個具體應用場景中,所述用戶端為智慧手機,所述支付終端為公車上的收銀機具,該收銀機具與該智慧手機透過藍牙進行連接和支付資料傳輸,其中,該收銀機具處於從模式,廣播不同頻段的信號,該智慧手機掃描所述信號,並獲取所述信號對應的信號強度分佈資料。在上次乘坐公車時,用戶透過該智慧手機與該收銀機具進行支付資料傳輸,並完成支付,同時該智慧手機記錄與該收銀機具進行支付資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料,並根據初始傳輸閾值和初始信號強度閾值,計算下次與該收銀機具進行支付資料傳輸時對應的目標傳輸閾值。用戶再次乘坐公車,上車前準備透過該智慧手機進行支付公共運輸費用,在用戶手持該智慧手機靠近該收銀機具的過程中,可以透過該智慧手機獲取當前的信號強度資料,並判斷當前的信號強度資料中的信號強度平均值大於或等於目標傳輸閾值,當該智慧手機與該收銀機具之間的距離達到指定距離時,判定當前的信號強度資料中的信號強度平均值大於目標傳輸閾值,這時,該智慧手機便可以與該收銀機具再次進行支付資料傳輸。如此,可以自動更新與該智慧手機相適應的傳輸閾值,以使得在通常的支付距離處,用戶使用不同的智慧手機都可以進行正常支付,從而提高用戶的支付體驗。 不僅如此,針對不同的收銀機具,該智慧手機也可以自動更新分別與不同收銀機具進行支付資料傳輸時對應的傳輸閾值,這樣,便可以避免因不同的收銀機具發出的信號強度不同而導致的相容性問題。 在本申請一個實施方式中,由於用戶端與所述支付終端在進行支付資料傳輸之前,需要先建立連接,而通常建立連接需要0.2秒~0.3秒,因此,為了進一步提高用戶的支付體驗,用戶端還可以在與所述支付終端進行支付資料傳輸之前,先與所述支付終端進行預連接。具體地,在判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件之前,所述方法還可以包括以下步驟。 S21:根據所述目標傳輸閾值,確定目標預連接閾值;其中,所述目標預連接閾值小於所述目標傳輸閾值。 在本實施方式中,根據所述目標傳輸閾值,確定目標預連接閾值,具體可以包括,將第一指定係數乘以與所述目標傳輸閾值相關聯的參數,並將所述目標傳輸閾值減去乘積結果,得到所述目標預連接閾值。其中,所述目標預連接閾值小於所述目標傳輸閾值;與所述目標傳輸閾值相關聯的參數可以是與所述目標傳輸閾值相關聯的對數函數。例如,可以採用下述公式表徵所述目標預連接閾值
Figure 02_image028
Figure 02_image030
其中,
Figure 02_image032
表示所述第一指定係數,具體取值可以根據實際應用情況來設定,例如,
Figure 02_image032
的取值可以為10;
Figure 02_image034
表示與所述目標傳輸閾值相關聯的參數;
Figure 02_image036
表示所述目標傳輸閾值。 可以採用下述公式表徵與所述目標傳輸閾值相關聯的參數
Figure 02_image034
Figure 02_image037
其中,
Figure 02_image039
Figure 02_image041
分別為指定常數,具體取值可以根據實際應用情況來設定,例如,
Figure 02_image039
Figure 02_image041
可以分別為100和10。 S23:判斷所述當前的信號強度分佈資料是否滿足所述目標預連接閾值關聯的條件;若滿足,與所述支付終端建立連接。 在本實施方式中,在確定目標預連接閾值之後,用戶端可以獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標預連接閾值關聯的條件,若滿足,與所述支付終端建立連接。其中,所述目標預連接閾值關聯的條件,具體可以包括:所述當前的信號強度分佈資料中的信號強度平均值大於或等於所述目標預連接閾值。由於所述目標預連接閾值小於所述目標傳輸閾值,用戶在使用用戶端進行支付之前,也就是用戶端與所述支付終端之間的距離大於所述指定距離時,用戶端可以先準備與所述支付終端進行預連接,這樣,在用戶端靠近所述支付終端的過程中,用戶端可以有足夠的時間與所述支付終端建立連接,以使得在用戶端與所述支付終端之間的距離達到所述指定距離時,正好與所述支付終端建立連接,同時,正好當前的信號強度分佈資料滿足所述目標傳輸閾值關聯的條件,用戶端可以直接與所述支付終端進行支付資料傳輸,無需再等待連接,從而可以縮短支付時間。例如,所述指定距離為10厘米,在用戶端與所述支付終端之間的距離為10厘米時,可以與所述支付終端進行支付資料傳輸;用戶手持用戶端,不斷靠近所述支付終端,準備進行支付,當用戶端與所述支付終端之間的距離為30厘米時,獲取的信號強度分佈資料滿足所述目標預連接閾值關聯的條件,可以準備開始與所述支付終端進行預連接,繼續靠近,待用戶端與所述支付終端之間的距離為10厘米時,正好與所述支付終端建立連接,同時,正好當前的信號強度分佈資料滿足所述目標傳輸閾值關聯的條件,便可以直接與所述支付終端進行支付資料傳輸。 在本申請一個實施方式中,在用戶端與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,為了防止因用戶突然離開而導致的該用戶端佔用與所述支付終端的連接資源的現象。所述方法還可以包括以下步驟。 S31:根據所述目標傳輸閾值,確定目標斷開連接閾值;其中,所述目標斷開連接閾值小於所述目標預連接閾值。 在本實施方式中,根據所述目標傳輸閾值,確定目標斷開連接閾值,具體可以包括,將第二指定係數乘以與所述目標傳輸閾值相關聯的參數,並將所述目標傳輸閾值減去乘積結果,得到所述目標預連接閾值。其中,所述目標斷開連接閾值小於所述目標預連接閾值;所述第二指定係數大於所述第一指定係數。與所述目標傳輸閾值相關聯的參數可以是與所述目標傳輸閾值相關聯的對數函數。例如,可以採用下述公式表徵所述目標斷開連接閾值
Figure 02_image043
Figure 02_image045
其中,
Figure 02_image047
表示所述第二指定係數,具體取值可以根據實際應用情況來設定,例如,
Figure 02_image049
的取值可以為20;
Figure 02_image034
表示與所述目標傳輸閾值相關聯的參數;
Figure 02_image036
表示所述目標傳輸閾值。 可以採用下述公式表徵與所述目標傳輸閾值相關聯的參數
Figure 02_image034
Figure 02_image037
其中,
Figure 02_image039
Figure 02_image041
分別為指定常數,具體取值可以根據實際應用情況來設定,例如,
Figure 02_image039
Figure 02_image041
可以分別為100和10。 S33:在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,判斷所述當前的信號強度分佈資料是否滿足所述目標斷開連接閾值關聯的條件;若滿足,與所述支付終端斷開連接。 在本實施方式中,在確定所述斷開連接閾值之後,用戶端可以獲取當前的信號強度分佈資料。在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,用戶端可以判斷所述當前的信號強度分佈資料是否滿足所述目標斷開連接閾值關聯的條件;若滿足,與所述支付終端斷開連接。其中,所述目標斷開連接閾值關聯的條件,具體可以包括:所述當前的信號強度分佈資料中的信號強度平均值小於或等於所述目標預連接閾值。如此,在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,當用戶突然離開時,用戶端也遠離所述支付終端,導致所獲取的當前的信號強度分佈資料中的信號強度平均值小於所述目標預連接閾值,這時,用戶端便可以與所述支付終端斷開連接,從而可以防止佔用與所述支付終端的連接資源的現象。 在本申請一個實施方式中,在用戶端與所述支付終端建立連接且未與所述支付終端進行支付資料傳輸的情況下,由於用戶被其他事情耽擱而停滯不前,導致用戶端與所述支付終端長時間建立連接,卻不能與所述支付終端進行支付資料傳輸,這樣會浪費所述支付終端的連接資源。為了避免這種情況發生,所述方法還可以包括:在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,判斷與所述支付終端持續連接的時長是否大於或等於指定連接時長;若與所述支付終端持續連接的時長大於或等於指定連接時長,與所述支付終端斷開連接。其中,所述指定連接時長可以根據實際應用情況來設定,此處不作限定。 在本申請一個實施方式中,在實際應用中,由於所述支付終端廣播的信號受到現實場景影響,其傳播路徑存在多徑折射,這樣會導致用戶端所獲取的信號強度分佈資料中的RSSI值與距離不完全對應,甚至出現較大誤差,即出現跳變的現象,從而導致近場支付的觸發距離並不穩定。例如,如圖4所示,某智慧手機在與某支付終端相距指定距離時獲取的信號強度分佈資料中,RSSI值分別為-62 dbm和-53 dbm的附近出現了跳變現象。其中,圖4中的橫坐標和縱坐標分別為RSSI值和占比,單位分別為毫瓦分貝(dbm)和千分比。為了減少RSSI值跳變現象所帶來的距離誤差,獲取當前的信號強度分佈資料,具體可以包括以下步驟。 S41:獲取當前的信號強度採樣點序列;其中,所述信號強度採樣點序列中包括多個信號強度採樣點。 在本實施方式中,用戶端可以按照指定時間間隔,獲取一個所述支付終端發出的信號對應的信號強度採樣點,這樣,在當前的指定時長內,用戶端便可以獲取多個信號強度採樣點,這些信號強度採樣點按照時間順序排列後,構成了所述當前的信號強度採樣點序列。其中,所述指定時長的取值範圍可以為0.2秒~0.3秒,所述指定時間間隔的取值範圍可以為0.01~0.05秒。通常所述指定時長和所述指定時間間隔可以根據實際應用情況來設定。 在本實施方式中,用戶端可以儲存指定時長內的信號強度採樣點序列,在該序列中的信號強度採樣點對應的採樣時間距離當前時間超過所述指定時長,用戶端可以將該序列刪除,並再次獲取當前的所述指定時長內的信號強度採樣點序列。 S43:將所述信號強度採樣點序列劃分為至少一個子序列,並確定所述子序列的信號強度中值。 在本實施方式中,在獲取所述當前的信號強度採樣點序列後,可以按照指定時窗窗長將所述信號強度採樣點序列劃分為至少一個子序列,還可以按照指定採樣點數量,將所述信號強度採樣點序列劃分為至少一個子序列。其中,相鄰兩個子序列有重疊的信號強度採樣點。例如,如圖5所示,相鄰兩個子序列A1和A2,除了子序列A1的第一個信號強度採樣點和子序列A2的最後一個信號強度採樣點以外,其他的信號強度採樣點都是子序列A1和A2中重疊的信號強度採樣點,子序列A2相當於子序列A1移動了一個信號強度採樣點。 在本實施方式中,在將所述信號強度採樣點序列劃分為至少一個子序列之後,可以分別確定每個子序列的信號強度中值,即每個子序列中多個信號強度採樣點的信號強度的中值。 S45:根據所述子序列的信號強度中值,確定所述當前的信號強度分佈資料。 在本實施方式中,根據所述子序列的信號強度中值,確定所述當前的信號強度分佈資料,具體可以包括,可以將所述子序列的信號強度中值作為所述子序列中的中間位置處的信號強度採樣點的信號強度值,或者作為所述子序列中的其他指定位置處的信號強度採樣點的信號強度值。對每個子序列的信號強度中值,均按照上述方式進行處理,從而可以得到處理後的信號強度採樣點,並將這些處理後的信號強度採樣的信號強度值構成的信號強度分佈資料作為所述當前的信號強度分佈資料。例如,如圖6所示,某智慧手機與某支付終端相距指定距離時,在所述指定時長內按照上述方式獲取的信號強度分佈資料中,RSSI值的跳變現象明顯減少很多。 在本申請一個實施方式中,在將所述信號強度採樣點序列劃分為至少一個子序列之後,還可以確定所述子序列的信號強度平均值,並根據所述子序列的信號強度平均值,確定所述當前的信號強度分佈資料。或者,還可以確定所述子序列中部分信號強度採樣點的信號強度平均值,並根據所述子序列中部分信號強度採樣點的信號強度平均值,確定所述當前的信號強度分佈資料。其中,所述部分信號強度採樣點可以是所述子序列的中間部分的信號強度採樣點,所述部分信號強度採樣點的採樣點數量可以是所述子序列的採樣點數量的百分之五十。 在本申請一個實施方式中,在實際應用中,用戶端本身可能會出現故障,導致所獲取的信號強度值始終為較小的值,即使用戶端與所述支付終端之間的距離很近,也可能無法與所述支付終端進行支付資料傳輸,但在這種情況下,用戶端仍會不斷更新傳輸閾值、預連接閾值和斷開連接閾值,所更新的傳輸閾值、預連接閾值和斷開連接閾值為較小的值,不斷嘗試與所述支付終端進行支付資料傳輸,這樣會浪費時間,不利於用戶發現問題。為了避免這種情況,在所述目標傳輸閾值、所述目標預連接閾值和所述目標斷開連接閾值中至少一個閾值小於指定閾值的情況下,例如,所述指定閾值為-100 dbm,用戶端不進行閾值更新和傳輸條件的判定,並給出用戶端支付故障的提示。 在本申請一個實施方式中,在實際應用中,用戶使用的用戶端在與所述支付終端前幾次進行正常支付資料傳輸後,給用戶端套上金屬材質的保護套,而且用戶端的大部分區域都被該保護套包裹,在這種情況下,由於受到保護套的信號遮罩的影響,該用戶端再次獲取的信號強度可能較小,根據上次更新的傳輸閾值,可能很難與所述支付終端再次進行支付資料傳輸。為了避免這種情況發生,用戶端可以將傳輸閾值恢復到首次使用時對應的初始傳輸閾值,以重新更新傳輸閾值。 請參閱圖7,本申請還提供一種用戶端,所述用戶端中包括儲存模組、傳輸閾值更新模組、資料獲取模組和傳輸判定模組。 所述儲存模組可以用於儲存與支付終端進行資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料。 所述傳輸閾值更新模組可以用於根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值; 所述資料獲取模組可以用於獲取當前的信號強度分佈資料; 所述傳輸判定模組可以用於判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件,並在判斷結果為滿足的情況下,與所述支付終端再次進行資料傳輸。 在本實施方式中,所述資料獲取模組用於獲取當前的信號強度採樣點序列,其中,所述信號強度採樣點序列中包括多個信號強度採樣點,將所述信號強度採樣點序列劃分為至少一個子序列,並確定所述子序列的信號強度中值,根據所述子序列的信號強度中值,確定所述當前的信號強度分佈資料。 在本實施方式中,所述傳輸判定模組用於判斷所述當前的信號強度分佈資料中的信號強度平均值是否大於或等於所述目標傳輸閾值。 在本實施方式中,所述傳輸閾值更新模組用於基於所述支付資料傳輸的次數、與所述支付資料傳輸的次數相關聯的指定參數,以及所述初始信號強度分佈資料中的信號強度最大值,確定權重係數,以使得根據所述權重係數、所述信號強度分佈資料中的信號強度最大值和所述初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中占比最大的信號強度值的差值的絕對值小於或者等於指定強度值。 在本申請一個實施方式中,所述用戶端還可以包括:預連接閾值確定模組和連接判定模組。 所述預連接閾值確定模組用於根據所述目標傳輸閾值,確定目標預連接閾值;其中,所述目標預連接閾值小於所述目標傳輸閾值。 所述連接判定模組用於判斷所述當前的信號強度分佈資料是否滿足所述目標預連接閾值關聯的條件,並在判斷結果為滿足的情況下,與所述支付終端建立連接。 在本申請一個實施方式中,所述用戶端還包括:斷開連接閾值確定模組和斷開連接判定模組。 所述斷開連接閾值確定模組用於根據所述目標傳輸閾值,確定目標斷開連接閾值;其中,所述目標斷開連接閾值小於所述目標預連接閾值。 所述斷開連接判定模組用於在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,判斷所述當前的信號強度分佈資料是否滿足所述目標斷開連接閾值關聯的條件,並在判斷結果為滿足的情況下,與所述支付終端斷開連接。 在本申請一個實施方式中,所述用戶端還包括:斷開連接判定模組。所述斷開連接判定模組用於在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,判斷與所述支付終端持續連接的時長是否大於或等於指定連接時長,若與所述支付終端持續連接的時長大於或等於指定連接時長,與所述支付終端斷開連接。 本說明書實施方式提供的用戶端,其各個模組實現的具體功能,可以與本說明書中的前述實施方式相對照解釋,並能夠達到前述實施方式的技術效果,這裡便不再贅述。 請參閱圖8,本申請還提供一種用戶端,所述伺服器包括記憶體和處理器,所述記憶體中儲存有與支付終端進行資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料,以及電腦程式,所述電腦程式被所述處理器執行時,實現以下步驟: 步驟S11:根據所述初始傳輸閾值和所述初始信號強度分佈資料,確定目標傳輸閾值; 步驟S13:獲取當前的信號強度分佈資料,並判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件;若滿足,與所述支付終端再次進行資料傳輸。 在本實施方式中,所述記憶體可以包括用於儲存資訊的物理裝置,通常是將資訊數位化後再以利用電、磁或者光學等方法的媒體加以儲存。本實施方式所述的記憶體又可以包括:利用電能方式儲存資訊的裝置,如RAM、ROM等;利用磁能方式儲存資訊的裝置,如硬碟、軟碟、磁帶、磁芯記憶體、磁泡記憶體、USB隨身碟;利用光學方式儲存資訊的裝置,如CD或DVD。當然,還有其他方式的記憶體,例如量子記憶體、石墨烯記憶體等等。 在本實施方式中,所述處理器可以按任何適當的方式實現。例如,所述處理器可以採取例如微處理器或處理器以及儲存可由該(微)處理器執行的電腦可讀程式碼(例如軟體或固件)的電腦可讀媒體、邏輯閘、開關、專用積體電路(Application Specific Integrated Circuit,ASIC)、可程式設計邏輯控制器和嵌入微控制器的形式等等。 在一個實施方式中,所述電腦程式被所述處理器執行時,還實現以下步驟: 基於所述支付資料傳輸的次數、與所述支付資料傳輸的次數相關聯的指定參數,以及所述初始信號強度分佈資料中的信號強度最大值,確定權重係數,以使得根據所述權重係數、所述信號強度分佈資料中的信號強度最大值和所述初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中機率最大的信號強度值的差值的絕對值小於或者等於指定強度值。 在一個實施方式中,在判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件之前,所述電腦程式被所述處理器執行時,還實現以下步驟: 根據所述目標傳輸閾值,確定目標預連接閾值;其中,所述目標預連接閾值小於所述目標傳輸閾值; 判斷所述當前的信號強度分佈資料是否滿足所述目標預連接閾值關聯的條件;若滿足,與所述支付終端建立連接。 在一個實施方式中,所述電腦程式被所述處理器執行時,還實現以下步驟: 根據所述目標傳輸閾值,確定目標斷開連接閾值;其中,所述目標斷開連接閾值小於所述目標預連接閾值; 在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,判斷所述當前的信號強度分佈資料是否滿足所述目標斷開連接閾值關聯的條件;若滿足,與所述支付終端斷開連接。 在一個實施方式中,所述電腦程式被所述處理器執行時,還實現以下步驟: 在與所述支付終端建立連接且未與所述支付終端進行資料傳輸的情況下,判斷與所述支付終端持續連接的時長是否大於或等於指定連接時長;若與所述支付終端持續連接的時長大於或等於指定連接時長,與所述支付終端斷開連接。 本說明書實施方式提供的用戶端,其記憶體和處理器實現的具體功能,可以與本說明書中的前述實施方式相對照解釋,並能夠達到前述實施方式的技術效果,這裡便不再贅述。 在本申請一個實施方式中,前述實施方式中的部分步驟的還可以由伺服器完成,例如,根據所述初始傳輸閾值和所述初始信號強度分佈資料確定目標傳輸閾值的步驟,可以由伺服器完成,然後透過伺服器將目標傳輸閾值發送給所述用戶端,進行後續處理。 由上可見,在本申請中,針對用戶使用的用戶端,例如智慧手機,該智慧手機可以根據上一次與支付終端進行支付資料傳輸時的初始傳輸閾值和初始信號強度分佈資料,更新當前與支付終端進行支付資料傳輸的目標傳輸閾值。那麼,在獲取當前的信號強度分佈資料之後,該智慧手機便可以判斷所述當前的信號強度分佈資料是否滿足所述目標傳輸閾值關聯的條件,若滿足,可以與所述支付終端再次進行支付資料傳輸。這樣,針對用戶使用的智慧手機,採用本申請方法可以自動更新與該智慧手機相適應的傳輸閾值,以使得在通常的支付距離處,用戶使用不同的智慧手機都可以進行正常支付,從而提高用戶的支付體驗。 在20世紀90年代,對於一個技術的改進可以很明顯地區分是硬體上的改進(例如,對二極體、電晶體、開關等電路結構的改進)還是軟體上的改進(對於方法流程的改進)。然而,隨著技術的發展,當今的很多方法流程的改進已經可以視為硬體電路結構的直接改進。設計人員幾乎都透過將改進的方法流程程式設計到硬體電路中來得到相應的硬體電路結構。因此,不能說一個方法流程的改進就不能用硬體實體模組來實現。例如,可程式設計邏輯元件(Programmable Logic Device, PLD)(例如現場可程式設計閘陣列(Field Programmable Gate Array,FPGA))就是這樣一種積體電路,其邏輯功能由用戶對元件程式設計來確定。由設計人員自行程式設計來把一個數位系統“集成”在一片PLD 上,而不需要請晶片製造廠商來設計和製作專用的積體電路晶片。而且,如今,取代手工地製作積體電路晶片,這種程式設計也多半改用 “邏輯編譯器(logic compiler)”軟體來實現,它與程式開發撰寫時所用的軟體編譯器相類似,而要編譯之前的原始代碼也得用特定的程式設計語言來撰寫,此稱之為硬體描述語言(Hardware Description Language,HDL),而HDL 也並非僅有一種,而是有許多種,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language ) 與Verilog2。本領域技術人員也應該清楚,只需要將方法流程用上述幾種硬體描述語言稍作邏輯程式設計並程式設計到積體電路中,就可以很容易得到實現該邏輯方法流程的硬體電路。 本領域技術人員也知道,除了以純電腦可讀程式碼方式實現用戶端、伺服器以外,完全可以透過將方法步驟進行邏輯程式設計來使得用戶端、伺服器以邏輯閘、開關、專用積體電路、可程式設計邏輯控制器和嵌入微控制器等的形式來實現相同功能。因此這種用戶端、伺服器可以被認為是一種硬體部件,而對其內包括的用於實現各種功能的裝置也可以視為硬體部件內的結構。或者甚至,可以將用於實現各種功能的裝置視為既可以是實現方法的軟體模組又可以是硬體部件內的結構。 In order to enable those skilled in the art to better understand the technical solutions in the application, the following will clearly and completely describe the technical solutions in the embodiments of the application in conjunction with the drawings in the embodiments of the application. Obviously, the described The embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the implementation in this application, all other implementations obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application. The embodiments of the present application provide a payment method, which can be applied to the system architecture of the user terminal and the payment terminal. The payment terminal may be a collection device with Bluetooth communication function. When performing Bluetooth communication with the user terminal, the payment terminal is usually in a slave mode and can send signals in the Bluetooth frequency band. Specifically, the payment terminal may be, for example, a collection device such as a Point of Sale (POS) machine with a Bluetooth communication function, a public transportation toll collection machine, a campus toll collection machine, etc.; it can also be running in the collection device, Software that supports payment collection. In this embodiment, the number of payment terminals is not specifically limited. The payment terminal may be one payment terminal, several payment terminals, or a payment terminal cluster formed by several payment terminals. In this embodiment, the user terminal may be an electronic device that is used for mobile payment and has a Bluetooth communication function. When performing Bluetooth communication with the payment terminal, the user terminal is usually in the main mode and can obtain signal strength distribution data corresponding to the signal. Specifically, the user terminal may be, for example, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, etc. Alternatively, the client can also be software that can be run in the aforementioned electronic device. Specifically, the user terminal may be a mobile application in an electronic device, and the mobile application may be, for example, WeChat, PayPal, etc. The embodiment of the present application provides an information interaction method, which can be applied to the above-mentioned user terminal. The method may be provided with initial transmission threshold and initial signal strength distribution data corresponding to when the payment terminal performs payment data transmission. In this embodiment, the initial transmission threshold may be a signal strength indication (Received Signal Strength Indication, RSSI) value. The initial transmission threshold may be a transmission threshold corresponding to the first transmission of payment data between the user terminal and the payment terminal, that is, the initially set transmission threshold. Generally, the initially set transmission threshold may be a small value, such as -100 milliwatt decibels (dbm), to ensure that different user terminals, such as different smart phones, can trigger the connection with the payment terminal. Payment data transmission function between the two. Not only that, the initial transmission threshold may also be a transmission threshold corresponding to the payment data transmission performed by the payment terminal for a certain time after the user terminal and the payment terminal perform payment data transmission for the first time. In this embodiment, the initial signal strength distribution data may be a kind of RSSI distribution data. Wherein, the RSSI distribution data may be the RSSI value corresponding to the Bluetooth signal sent by the payment terminal acquired by the user terminal within a specified time period. In this way, the RSSI distribution data may include frequencies corresponding to different RSSI values. In this embodiment, the initial signal strength distribution data may be the signal strength distribution data obtained when the user terminal and the payment terminal perform payment data transmission for the first time, or may be the first payment data between the user terminal and the payment terminal. After the transmission, the signal strength distribution data obtained during a certain transmission of payment data with the payment terminal. In this embodiment, when the initial signal strength distribution data meets the conditions associated with the initial transmission threshold, the user terminal may perform payment data transmission with the payment terminal. Specifically, the condition for the initial transmission threshold association may include that the average signal strength in the initial signal strength distribution data is greater than or equal to the initial transmission threshold. In this embodiment, each time the user terminal transmits payment data with the payment terminal, it can record the transmission threshold and signal strength distribution data corresponding to the payment data transmission with the payment terminal this time, so as to update the payment data with the payment terminal. The target transmission threshold corresponding to the next time the terminal transmits payment data. Referring to FIG. 3, the method may include the following steps. S11: Determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data. In this embodiment, the user terminal may determine the target transmission threshold based on the initial transmission threshold and initial signal strength distribution data corresponding to the last time the payment terminal was transmitting payment data, as a re-transmission with the payment terminal Judgment basis for payment data transmission. Specifically, the user terminal may determine based on the number of times the payment terminal has previously transmitted payment data, the designated parameters associated with the number of payment data transmissions, and the maximum signal strength in the initial signal strength distribution data The weight coefficient, so that the target transmission threshold determined according to the weight coefficient, the maximum signal strength in the signal strength distribution data, and the initial transmission threshold is the signal with the largest proportion in the signal strength distribution data corresponding to the specified distance The absolute value of the difference in intensity value is less than or equal to the specified intensity value. Wherein, the specified distance may be the distance between the user terminal and the payment terminal when payment data is usually transmitted, and the distance may be set according to actual application scenarios. For example, when a user makes a payment through a smartphone on a bus, the distance between the smartphone and the charging device on the bus can usually be 5-10 cm. Or, when the user pays through the smart phone in the school cafeteria, the distance between the smart phone and the charging device in the cafeteria window is usually 10-15 cm. The specified intensity value may be zero, or may be a smaller value approaching zero. In this way, when the distance between the user terminal used by the user and the payment terminal is close to the specified distance, the signal strength in the obtained signal strength distribution data is more likely to be greater than the target transmission threshold. In this way, the user terminal can be more Quickly connect with the payment terminal and perform payment data transmission, so that the payment speed can be improved. Not only that, but on the basis of the foregoing implementation manner for determining the target transmission threshold, the average value of the signal strength in the initial signal strength distribution data may be considered. Specifically, the user terminal may also be based on the number of times the payment terminal has previously performed payment data transmissions, the designated parameters associated with the number of payment data transmissions, and the signal strength average value in the initial signal strength distribution data and The maximum value of the signal strength, and the weighting coefficient is determined so that the target transmission threshold determined according to the weighting coefficient, the signal strength average value and the signal strength maximum value in the signal strength distribution data, and the initial transmission threshold is within a specified distance The absolute value of the difference of the signal intensity value with the largest proportion in the corresponding signal intensity distribution data is less than or equal to the specified intensity value. In this embodiment, when the value obtained by subtracting the initial transmission threshold from the maximum value of the signal strength in the initial signal strength distribution data is greater than a specified difference, the initial transmission threshold and the initial signal strength Distribute data and determine the target transmission threshold. For example, when the maximum value of the signal strength in the initial signal strength distribution data minus the initial transmission threshold is greater than the specified difference, that is
Figure 02_image001
,among them,
Figure 02_image003
Indicates that the payment terminal
Figure 02_image005
The maximum value of the signal strength in the initial signal strength distribution data corresponding to the second payment data transmission,
Figure 02_image007
Indicates that the payment terminal
Figure 02_image005
The initial transmission threshold corresponding to the second transmission of payment data,
Figure 02_image009
Indicates the specified difference; the following formula can be used to determine the target transmission threshold
Figure 02_image011
:
Figure 02_image013
Figure 02_image015
among them,
Figure 02_image017
Represents the weight coefficient,
Figure 02_image019
Indicates the number of transmissions with the payment data
Figure 02_image021
Associated designated parameters, for example, when the payment data is transmitted
Figure 02_image021
When less than or equal to 2,
Figure 02_image019
Is 2, when
Figure 02_image021
When greater than 2,
Figure 02_image019
Is 5;
Figure 02_image022
with
Figure 02_image024
These are the parameters associated with the specified difference. For example, when the specified difference is 20 dbm,
Figure 02_image022
with
Figure 02_image024
Can be 15 and 18 respectively. When the maximum value of the signal strength in the initial signal strength distribution data minus the initial transmission threshold is less than or equal to the specified difference, the initial transmission threshold is used as the target transmission threshold, that is, not Update the transmission threshold. In practical applications, the value range of the specified difference can usually be 15-20 dbm. S13: Obtain current signal strength distribution data, and determine whether the current signal strength distribution data meets the condition associated with the target transmission threshold; if it is satisfied, perform payment data transmission with the payment terminal again. In this embodiment, before the user terminal needs to transmit the payment data with the payment terminal again, it can first obtain the current signal strength distribution data, and determine whether the current signal strength distribution data meets the target transmission threshold association conditions of. If it is satisfied, the payment data can be transmitted again with the payment terminal. The condition associated with the target transmission threshold may specifically include: the average signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold. In this way, in the case where the average signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold, the user terminal can perform payment data transmission again with the payment terminal. In a specific application scenario, the user terminal is a smart phone, the payment terminal is a cash register device on a bus, and the cash register device is connected to the smart phone via Bluetooth and transfers payment data. The cash register device is in slave mode. , Broadcasting signals of different frequency bands, the smart phone scans the signals, and obtains the signal strength distribution data corresponding to the signals. During the last bus ride, the user used the smartphone to transfer payment data to the cash register device and complete the payment. At the same time, the smartphone records the initial transmission threshold and initial signal strength distribution data corresponding to the payment data transmission to the cash register device , And according to the initial transmission threshold and the initial signal strength threshold, calculate the target transmission threshold corresponding to the next payment data transmission with the cash register device. The user takes the bus again and prepares to pay for public transportation through the smart phone before getting on the bus. When the user is holding the smart phone close to the cash register device, the user can obtain the current signal strength data through the smart phone and determine the current signal The average signal strength in the strength data is greater than or equal to the target transmission threshold. When the distance between the smartphone and the cash register reaches the specified distance, it is determined that the average signal strength in the current signal strength data is greater than the target transmission threshold. , The smart phone can transfer the payment data with the cash register again. In this way, the transmission threshold corresponding to the smart phone can be automatically updated, so that at a normal payment distance, the user can make normal payments using different smart phones, thereby improving the user's payment experience. Not only that, for different cash registers, the smart phone can also automatically update the corresponding transmission thresholds when transmitting payment data with different cash registers. In this way, it can avoid the difference caused by the different signal strengths of different cash registers. Capacitive issues. In one embodiment of the present application, since the user terminal and the payment terminal need to establish a connection before transmitting the payment data, it usually takes 0.2 seconds to 0.3 seconds to establish a connection. Therefore, in order to further improve the user's payment experience, the user The terminal may also pre-connect with the payment terminal before transmitting the payment data with the payment terminal. Specifically, before judging whether the current signal strength distribution data meets the condition of the target transmission threshold association, the method may further include the following steps. S21: Determine a target pre-connection threshold according to the target transmission threshold; wherein, the target pre-connection threshold is less than the target transmission threshold. In this embodiment, determining the target pre-connection threshold according to the target transmission threshold may specifically include: multiplying a first specified coefficient by a parameter associated with the target transmission threshold, and subtracting the target transmission threshold Multiply the result to obtain the target pre-connection threshold. Wherein, the target pre-connection threshold is less than the target transmission threshold; the parameter associated with the target transmission threshold may be a logarithmic function associated with the target transmission threshold. For example, the following formula can be used to characterize the target pre-connection threshold
Figure 02_image028
:
Figure 02_image030
among them,
Figure 02_image032
Represents the first designated coefficient, the specific value can be set according to actual application conditions, for example,
Figure 02_image032
The value of can be 10;
Figure 02_image034
Represents a parameter associated with the target transmission threshold;
Figure 02_image036
Indicates the target transmission threshold. The following formula can be used to characterize the parameters associated with the target transmission threshold
Figure 02_image034
:
Figure 02_image037
among them,
Figure 02_image039
with
Figure 02_image041
They are designated constants. The specific values can be set according to the actual application. For example,
Figure 02_image039
with
Figure 02_image041
Can be 100 and 10 respectively. S23: Determine whether the current signal strength distribution data meets the condition of the target pre-connection threshold association; if so, establish a connection with the payment terminal. In this embodiment, after the target pre-connection threshold is determined, the user terminal can obtain the current signal strength distribution data, and determine whether the current signal strength distribution data meets the target pre-connection threshold association condition, if so, Establish a connection with the payment terminal. Wherein, the condition of the target pre-connection threshold association may specifically include: the average signal strength in the current signal strength distribution data is greater than or equal to the target pre-connection threshold. Since the target pre-connection threshold is less than the target transmission threshold, before the user uses the user terminal to make a payment, that is, when the distance between the user terminal and the payment terminal is greater than the specified distance, the user terminal can first prepare to The payment terminal is pre-connected, so that when the user terminal is approaching the payment terminal, the user terminal can have enough time to establish a connection with the payment terminal, so that the distance between the user terminal and the payment terminal When the specified distance is reached, a connection is established with the payment terminal, and at the same time, when the current signal strength distribution data meets the conditions associated with the target transmission threshold, the user terminal can directly transmit payment data with the payment terminal without Wait for the connection again, which can shorten the payment time. For example, the designated distance is 10 cm, and when the distance between the user terminal and the payment terminal is 10 cm, payment data can be transmitted with the payment terminal; the user holds the user terminal and keeps approaching the payment terminal, Ready to make a payment. When the distance between the user terminal and the payment terminal is 30 cm, the acquired signal strength distribution data satisfies the conditions associated with the target pre-connection threshold, and the pre-connection with the payment terminal can be prepared, Continue to approach, when the distance between the user terminal and the payment terminal is 10 cm, the connection is established with the payment terminal, and at the same time, the current signal strength distribution data meets the condition of the target transmission threshold association. Directly transmit payment data with the payment terminal. In one embodiment of the present application, when the user terminal establishes a connection with the payment terminal and does not perform data transmission with the payment terminal, in order to prevent the user terminal from occupying the payment terminal due to the sudden departure of the user The phenomenon of connecting resources. The method may also include the following steps. S31: Determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold. In this embodiment, determining the target disconnection threshold according to the target transmission threshold may specifically include: multiplying a second specified coefficient by a parameter associated with the target transmission threshold, and subtracting the target transmission threshold De-multiply the result to obtain the target pre-connection threshold. Wherein, the target disconnection threshold is less than the target pre-connection threshold; the second specified coefficient is greater than the first specified coefficient. The parameter associated with the target transmission threshold may be a logarithmic function associated with the target transmission threshold. For example, the following formula can be used to characterize the target disconnection threshold
Figure 02_image043
:
Figure 02_image045
among them,
Figure 02_image047
Represents the second designated coefficient, the specific value can be set according to actual application conditions, for example,
Figure 02_image049
The value of can be 20;
Figure 02_image034
Represents a parameter associated with the target transmission threshold;
Figure 02_image036
Indicates the target transmission threshold. The following formula can be used to characterize the parameters associated with the target transmission threshold
Figure 02_image034
:
Figure 02_image037
among them,
Figure 02_image039
with
Figure 02_image041
They are designated constants. The specific values can be set according to the actual application. For example,
Figure 02_image039
with
Figure 02_image041
Can be 100 and 10 respectively. S33: When a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determine whether the current signal strength distribution data meets the condition of the target disconnection threshold association; The payment terminal is disconnected. In this embodiment, after the disconnection threshold is determined, the user terminal can obtain current signal strength distribution data. In the case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, the user terminal can determine whether the current signal strength distribution data meets the condition of the target disconnection threshold association; if so, Disconnect from the payment terminal. Wherein, the condition associated with the target disconnection threshold may specifically include: the average signal strength in the current signal strength distribution data is less than or equal to the target pre-connection threshold. In this way, when a connection is established with the payment terminal and no data transmission is performed with the payment terminal, when the user suddenly leaves, the user terminal is also far away from the payment terminal, resulting in the current signal strength distribution data obtained The average signal strength of is less than the target pre-connection threshold. At this time, the user terminal can disconnect from the payment terminal, thereby preventing the phenomenon of occupying connection resources with the payment terminal. In one embodiment of the present application, when the user terminal establishes a connection with the payment terminal and does not transmit payment data with the payment terminal, the user is delayed by other things and stagnates, causing the user terminal to communicate with the payment terminal. The payment terminal establishes a connection for a long time, but cannot perform payment data transmission with the payment terminal, which will waste connection resources of the payment terminal. In order to avoid this situation, the method may further include: in the case of establishing a connection with the payment terminal and no data transmission with the payment terminal, determining whether the duration of the continuous connection with the payment terminal is greater than or Equal to the designated connection duration; if the duration of the continuous connection with the payment terminal is greater than or equal to the designated connection duration, the payment terminal is disconnected. Wherein, the specified connection duration can be set according to actual application conditions, which is not limited here. In one embodiment of the present application, in practical applications, since the signal broadcast by the payment terminal is affected by the actual scene, its propagation path has multipath refraction, which will cause the RSSI value in the signal strength distribution data obtained by the user terminal Incomplete correspondence with the distance, or even a large error, that is, a jump phenomenon, which causes the trigger distance of the near-field payment to be unstable. For example, as shown in Figure 4, in the signal strength distribution data obtained when a smart phone is at a specified distance from a payment terminal, the RSSI values of -62 dbm and -53 dbm have jumped around. Among them, the abscissa and ordinate in Figure 4 are the RSSI value and the proportion, respectively, and the units are decibels (dbm) and per thousand respectively. In order to reduce the distance error caused by the jump phenomenon of the RSSI value, obtaining the current signal strength distribution data may specifically include the following steps. S41: Obtain a current signal strength sampling point sequence; wherein the signal strength sampling point sequence includes multiple signal strength sampling points. In this embodiment, the user terminal can obtain a signal strength sampling point corresponding to the signal sent by the payment terminal at a specified time interval. In this way, the user terminal can obtain multiple signal strength samples within the current specified time period. After these signal strength sampling points are arranged in a time sequence, they constitute the current signal strength sampling point sequence. Wherein, the value range of the specified time length may be 0.2 seconds to 0.3 seconds, and the value range of the specified time interval may be 0.01 seconds to 0.05 seconds. Generally, the specified duration and the specified time interval can be set according to actual application conditions. In this embodiment, the user terminal can store a sequence of signal strength sampling points within a specified time period. The sampling time corresponding to the signal strength sampling point in the sequence exceeds the specified time period from the current time. Delete, and obtain the current signal strength sampling point sequence within the specified time period again. S43: Divide the signal strength sampling point sequence into at least one sub-sequence, and determine a median signal strength of the sub-sequence. In this embodiment, after acquiring the current sequence of signal strength sampling points, the sequence of signal strength sampling points may be divided into at least one sub-sequence according to a specified time window length, and the sequence of sampling points may also be divided according to the number of specified sampling points. The signal strength sampling point sequence is divided into at least one sub-sequence. Among them, two adjacent subsequences have overlapping signal strength sampling points. For example, as shown in Figure 5, for two adjacent subsequences A1 and A2, except for the first signal strength sampling point of subsequence A1 and the last signal strength sampling point of subsequence A2, the other signal strength sampling points are The overlapping signal strength sampling points in the subsequence A1 and A2, and the subsequence A2 is equivalent to the subsequence A1 moving one signal strength sampling point. In this embodiment, after dividing the sequence of signal strength sampling points into at least one sub-sequence, the median signal strength of each sub-sequence can be determined separately, that is, the signal strength of multiple signal strength sampling points in each sub-sequence. Median. S45: Determine the current signal strength distribution data according to the median signal strength of the subsequence. In this embodiment, determining the current signal intensity distribution data according to the median signal intensity of the subsequence may specifically include: the median signal intensity of the subsequence can be used as the middle value of the subsequence. The signal strength value of the signal strength sampling point at the position, or as the signal strength value of the signal strength sampling point at other designated positions in the subsequence. The median signal strength of each sub-sequence is processed in the above manner, so that the processed signal strength sampling points can be obtained, and the signal strength distribution data composed of the signal strength values of these processed signal strength samples is used as the Current signal strength distribution data. For example, as shown in Fig. 6, when a certain smart phone and a certain payment terminal are separated by a specified distance, the RSSI value jump phenomenon is significantly reduced in the signal strength distribution data obtained in the above-mentioned manner within the specified time period. In an embodiment of the present application, after the sequence of signal strength sampling points is divided into at least one subsequence, the average signal strength of the subsequence can also be determined, and according to the average signal strength of the subsequence, Determine the current signal intensity distribution data. Alternatively, it is also possible to determine the average signal strength of some signal strength sampling points in the sub-sequence, and determine the current signal strength distribution data based on the average signal strength of some signal strength sampling points in the sub-sequence. Wherein, the partial signal strength sampling points may be the signal strength sampling points of the middle part of the subsequence, and the number of sampling points of the partial signal strength sampling points may be five percent of the number of sampling points of the subsequence ten. In an embodiment of the present application, in practical applications, the user terminal itself may malfunction, resulting in the signal strength value obtained is always a small value, even if the distance between the user terminal and the payment terminal is very close, It may also be impossible to transmit payment data with the payment terminal, but in this case, the user terminal will continue to update the transmission threshold, pre-connection threshold and disconnection threshold, and the updated transmission threshold, pre-connection threshold and disconnection The connection threshold is a relatively small value, and continuous attempts to transmit payment data with the payment terminal will waste time and make it difficult for users to discover problems. In order to avoid this situation, when at least one of the target transmission threshold, the target pre-connection threshold, and the target disconnection threshold is less than a specified threshold, for example, the specified threshold is -100 dbm, the user The terminal does not perform threshold update and determination of transmission conditions, and gives a reminder of the user terminal payment failure. In one embodiment of the present application, in practical applications, after the user terminal used by the user performs normal payment data transmission with the payment terminal several times before, the user terminal is covered with a metal protective cover, and most of the user terminal The area is covered by the protective cover. In this case, due to the influence of the signal mask of the protective cover, the signal strength obtained again by the user terminal may be small. According to the last updated transmission threshold, it may be difficult to The payment terminal transmits the payment data again. In order to avoid this situation from happening, the user terminal can restore the transmission threshold to the corresponding initial transmission threshold at the first use to update the transmission threshold again. Referring to FIG. 7, the present application also provides a client terminal, the client terminal includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module. The storage module can be used to store the initial transmission threshold and initial signal strength distribution data corresponding to the data transmission of the payment terminal. The transmission threshold update module may be used to determine the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data; the data acquisition module may be used to obtain current signal strength distribution data; the transmission The judging module can be used to judge whether the current signal strength distribution data meets the condition associated with the target transmission threshold, and if the judgment result is satisfied, the data transmission is performed again with the payment terminal. In this embodiment, the data acquisition module is used to acquire the current signal strength sampling point sequence, wherein the signal strength sampling point sequence includes a plurality of signal strength sampling points, and the signal strength sampling point sequence is divided Is at least one sub-sequence, and the median signal intensity of the sub-sequence is determined, and the current signal intensity distribution data is determined according to the median signal intensity of the sub-sequence. In this embodiment, the transmission determination module is used to determine whether the average signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold. In this embodiment, the transmission threshold update module is configured to be based on the number of transmissions of the payment data, the designated parameter associated with the number of transmissions of the payment data, and the signal strength in the initial signal strength distribution data The maximum value, the weight coefficient is determined so that the target transmission threshold value determined according to the weight coefficient, the signal strength maximum value in the signal strength distribution data and the initial transmission threshold value is accounted for in the signal strength distribution data corresponding to the specified distance The absolute value of the difference from the maximum signal intensity value is less than or equal to the specified intensity value. In an embodiment of the present application, the user terminal may further include: a pre-connection threshold determination module and a connection determination module. The pre-connection threshold determination module is used to determine a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is less than the target transmission threshold. The connection determination module is used to determine whether the current signal strength distribution data meets the condition associated with the target pre-connection threshold, and if the determination result is satisfied, establish a connection with the payment terminal. In an embodiment of the present application, the user terminal further includes: a disconnection threshold determination module and a disconnection determination module. The disconnection threshold determination module is used to determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold. The disconnection determination module is used for determining whether the current signal strength distribution data meets the target disconnection threshold when a connection is established with the payment terminal and no data transmission is performed with the payment terminal The associated condition, and if the judgment result is satisfied, disconnect from the payment terminal. In an embodiment of the present application, the user terminal further includes: a disconnection determination module. The disconnection determination module is used to determine whether the duration of the continuous connection with the payment terminal is greater than or equal to the specified connection time when a connection is established with the payment terminal and no data transmission is performed with the payment terminal If the duration of the continuous connection with the payment terminal is greater than or equal to the specified connection duration, the connection with the payment terminal is disconnected. The specific functions implemented by the various modules of the user terminal provided by the embodiments of this specification can be explained in comparison with the foregoing embodiments in this specification, and can achieve the technical effects of the foregoing embodiments, which will not be repeated here. Referring to FIG. 8, the present application also provides a user terminal. The server includes a memory and a processor. The memory stores initial transmission thresholds and initial signal strength distribution data corresponding to the data transmission of the payment terminal. And a computer program, when the computer program is executed by the processor, the following steps are implemented: Step S11: Determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data; Step S13: Obtain the current signal Intensity distribution data, and determine whether the current signal intensity distribution data meets the condition associated with the target transmission threshold; if it is satisfied, data transmission is performed again with the payment terminal. In this embodiment, the memory may include a physical device for storing information, usually the information is digitized and then stored in a medium using electrical, magnetic, or optical methods. The memory described in this embodiment may further include: devices that use electrical energy to store information, such as RAM, ROM, etc.; devices that use magnetic energy to store information, such as hard disks, floppy disks, magnetic tapes, magnetic core memory, magnetic bubbles Memory, USB flash drives; devices that store information optically, such as CDs or DVDs. Of course, there are other types of memory, such as quantum memory, graphene memory and so on. In this embodiment, the processor can be implemented in any suitable manner. For example, the processor may take the form of a microprocessor or a processor and a computer-readable medium, logic gates, switches, dedicated products that store computer-readable program codes (such as software or firmware) executable by the (micro) processor Body circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form, etc. In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: based on the number of transmissions of the payment data, designated parameters associated with the number of transmissions of the payment data, and the initial The maximum value of the signal strength in the signal strength distribution data, and the weight coefficient is determined so that the target transmission threshold determined according to the weight coefficient, the maximum value of the signal strength in the signal strength distribution data and the initial transmission threshold is at a specified distance The absolute value of the difference between the signal strength values with the highest probability in the corresponding signal strength distribution data is less than or equal to the specified strength value. In one embodiment, before determining whether the current signal strength distribution data meets the conditions associated with the target transmission threshold, when the computer program is executed by the processor, the following steps are further implemented: Threshold, which determines the target pre-connection threshold; wherein, the target pre-connection threshold is less than the target transmission threshold; judging whether the current signal strength distribution data meets the conditions associated with the target pre-connection threshold; The payment terminal establishes a connection. In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target Pre-connection threshold; in the case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determine whether the current signal strength distribution data meets the target disconnection threshold association condition; if it is satisfied , Disconnect from the payment terminal. In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when a connection is established with the payment terminal and no data transmission is performed with the payment terminal, it is determined Whether the duration of the terminal's continuous connection is greater than or equal to the specified connection duration; if the duration of the continuous connection with the payment terminal is greater than or equal to the specified connection duration, disconnect from the payment terminal. The specific functions implemented by the memory and processor of the user terminal provided in the embodiments of this specification can be explained in comparison with the foregoing embodiments in this specification, and can achieve the technical effects of the foregoing embodiments, and will not be repeated here. In an embodiment of the present application, part of the steps in the foregoing embodiments can also be completed by the server. For example, the step of determining the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data can be performed by the server After completion, the target transmission threshold is sent to the client through the server for subsequent processing. As can be seen from the above, in this application, for the user terminal used by the user, such as a smart phone, the smart phone can update the current and payment based on the initial transmission threshold and initial signal strength distribution data during the last payment data transmission with the payment terminal The target transmission threshold for the terminal to transmit payment data. Then, after acquiring the current signal strength distribution data, the smart phone can determine whether the current signal strength distribution data meets the conditions associated with the target transmission threshold, and if it meets the conditions, it can perform payment data again with the payment terminal transmission. In this way, for the smart phone used by the user, the method of this application can automatically update the transmission threshold that is compatible with the smart phone, so that at the usual payment distance, the user can make normal payments using different smart phones, thereby improving users Payment experience. In the 1990s, the improvement of a technology can be clearly distinguished from the improvement of the hardware (for example, the improvement of the circuit structure of diodes, transistors, switches, etc.) or the improvement of the software (for the method flow Improve). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, Programmable Logic Device (PLD) (such as Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the component. It is designed by the designer to "integrate" a digital system on a PLD without having to ask the chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized by using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation must also be written in a specific programming language, which is called the Hardware Description Language (HDL), and there is not only one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., The most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2. It should also be clear to those skilled in the art that only a little logic programming of the method flow using the above hardware description languages and programming into an integrated circuit can easily obtain a hardware circuit that implements the logic method flow. Those skilled in the art also know that, in addition to realizing the client and server in a purely computer-readable code, it is entirely possible to design the method steps in logic to make the client and server use logic gates, switches, and dedicated integrated circuits. , Programmable logic controller and embedded microcontroller to achieve the same function. Therefore, the client and server can be regarded as a kind of hardware component, and the devices included in it for realizing various functions can also be regarded as the structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure in a hardware component.

透過以上的實施方式的描述可知,本領域的技術人員可以清楚地瞭解到本申請可借助軟體加必需的通用硬體平臺的方式來實現。基於這樣的理解,本申請的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體產品的形式體現出來,該電腦軟體產品可以儲存在儲存媒體中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本申請各個實施方式或者實施方式的某些部分所述的方法。 From the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium such as ROM/RAM, magnetic disk, An optical disc, etc., includes a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the methods described in the various embodiments or some parts of the embodiments of this application.

本說明書中的各個實施方式均採用遞進的方式描述,各個實施方式之間相同相似的部分互相參見即可,每個實施方式重點說明的都是與其他實施方式的不同之處。尤其,針對電腦儲存媒體、伺服器和用戶端的實施方式來說,均可以參照前述方法的實施方式的介紹對照解釋。 The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the implementation of the computer storage medium, the server, and the client, reference can be made to the introduction of the aforementioned method for comparative explanation.

本申請可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、 元件、資料結構等等。也可以在分散式運算環境中實踐本申請,在這些分散式運算環境中,由透過通信網路而被連接的遠端處理設備來執行任務。在分散式運算環境中,程式模組可以位於包括存放裝置在內的本地和遠端電腦儲存媒體中。 This application can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, programs that perform specific tasks or implement specific abstract data types. Components, data structure, etc. This application can also be implemented in a distributed computing environment. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

雖然透過實施方式描繪了本申請,本領域普通技術人員知道,本申請有許多變形和變化而不脫離本申請的精神,希望所附的申請專利範圍包括這些變形和變化而不脫離本申請的精神。 Although the application has been described through the embodiments, those of ordinary skill in the art know that there are many variations and changes in this application without departing from the spirit of the application, and it is hoped that the scope of the appended patent application includes these variations and changes without departing from the spirit of the application .

S11:步驟 S11: steps

S13:步驟 S13: steps

為了更清楚地說明本申請實施方式或現有技術中的技術方案,下面將對實施方式或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本申請中記載的一些實施方式,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些圖式獲得其他的圖式。 圖1是現有技術中華為mate8智慧手機在與支付終端不同距離下獲取的信號強度分佈資料; 圖2是現有技術中小米5s智慧手機在與支付終端不同距離下獲取的信號強度分佈資料; 圖3是本申請實施方式中支付方法的一種流程圖; 圖4是本申請實施方式中某智慧手機在與某支付終端相距指定距離時獲取的信號強度分佈資料; 圖5是本申請實施方式中信號強度採樣點序列中相鄰兩個子序列的示意圖; 圖6是本申請實施方式中某智慧手機對獲取的信號強度採樣點序列進行濾波處理後得到的信號強度分佈資料; 圖7是本申請實施方式中一種用戶端的結構示意圖; 圖8是本申請實施方式中另一種用戶端的結構示意圖。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are merely the present For some of the implementations described in the application, for those of ordinary skill in the art, other schemes can be obtained based on these schemes without creative labor. Figure 1 is the signal strength distribution data obtained by Huawei mate8 smart phone at different distances from the payment terminal in the prior art; Figure 2 is the signal strength distribution data obtained by the Xiaomi 5s smartphone in the prior art at different distances from the payment terminal; Figure 3 is a flow chart of the payment method in the implementation of the present application; FIG. 4 is the signal strength distribution data obtained when a smart phone is at a specified distance from a payment terminal in the embodiment of this application; FIG. 5 is a schematic diagram of two adjacent subsequences in the signal strength sampling point sequence in the embodiment of the present application; FIG. 6 is the signal strength distribution data obtained after a smart phone performs filtering processing on the acquired signal strength sampling point sequence in the embodiment of the present application; FIG. 7 is a schematic structural diagram of a user terminal in an embodiment of the present application; Fig. 8 is a schematic structural diagram of another user terminal in an embodiment of the present application.

S11:步驟 S11: steps

S13:步驟 S13: steps

Claims (16)

一種支付方法,其特徵在於,提供有與支付終端進行支付資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料;該方法包括:根據該初始傳輸閾值和該初始信號強度分佈資料,確定目標傳輸閾值;獲取當前的信號強度分佈資料,並判斷該當前的信號強度分佈資料是否滿足該目標傳輸閾值關聯的條件;若滿足,與該支付終端再次進行支付資料傳輸,其中,每次與該支付終端進行支付資料傳輸後,該初始傳輸閾值和該初始信號強度分佈資料,係用以更新與該支付終端下一次進行支付資料傳輸時對應的該目標傳輸閾值,其中,確定目標傳輸閾值,包括:基於該支付資料傳輸的次數、與該支付資料傳輸的次數相關聯的指定參數,以及該初始信號強度分佈資料中的信號強度最大值,確定權重係數,以使得根據該權重係數、該信號強度分佈資料中的信號強度最大值和該初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中占比最大的信號強度值的差值的絕對值小於或者等於指定強度值。 A payment method, characterized in that an initial transmission threshold and initial signal strength distribution data corresponding to the payment terminal's payment data transmission are provided; the method includes: determining the target transmission according to the initial transmission threshold and the initial signal strength distribution data Threshold; Obtain the current signal strength distribution data, and determine whether the current signal strength distribution data meets the conditions associated with the target transmission threshold; if it is met, the payment data transmission is performed again with the payment terminal, where each time with the payment terminal After the payment data is transmitted, the initial transmission threshold and the initial signal strength distribution data are used to update the target transmission threshold corresponding to the next payment data transmission of the payment terminal, wherein determining the target transmission threshold includes: The number of transmissions of the payment data, the designated parameters associated with the number of transmissions of the payment data, and the maximum value of the signal strength in the initial signal strength distribution data, determine the weight coefficient so that the weight coefficient and the signal strength distribution data The absolute value of the difference between the maximum signal strength value in and the target transmission threshold value determined by the initial transmission threshold value and the signal strength value with the largest proportion in the signal strength distribution data corresponding to the specified distance is less than or equal to the specified strength value. 根據請求項1所述的方法,其中,該目標傳輸閾值關 聯的條件,包括:該當前的信號強度分佈資料中的信號強度平均值大於或等於該目標傳輸閾值。 The method according to claim 1, wherein the target transmission threshold is off The conditions for connection include: the average signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold. 根據請求項1所述的方法,其中,在判斷該當前的信號強度分佈資料是否滿足該目標傳輸閾值關聯的條件之前,該方法還包括:根據該目標傳輸閾值,確定目標預連接閾值;其中,該目標預連接閾值小於該目標傳輸閾值;判斷該當前的信號強度分佈資料是否滿足該目標預連接閾值關聯的條件;若滿足,與該支付終端建立連接。 The method according to claim 1, wherein, before determining whether the current signal strength distribution data meets the condition associated with the target transmission threshold, the method further includes: determining the target pre-connection threshold according to the target transmission threshold; wherein, The target pre-connection threshold is less than the target transmission threshold; it is determined whether the current signal strength distribution data meets the conditions associated with the target pre-connection threshold; if it is satisfied, a connection is established with the payment terminal. 根據請求項3所述的方法,其中,該方法還包括:根據該目標傳輸閾值,確定目標斷開連接閾值;其中,該目標斷開連接閾值小於該目標預連接閾值;在與該支付終端建立連接且未與該支付終端進行資料傳輸的情況下,判斷該當前的信號強度分佈資料是否滿足該目標斷開連接閾值關聯的條件;若滿足,與該支付終端斷開連接。 The method according to claim 3, wherein the method further comprises: determining a target disconnection threshold according to the target transmission threshold; wherein, the target disconnection threshold is less than the target pre-connection threshold; establishing a connection with the payment terminal In the case of connection and no data transmission with the payment terminal, it is determined whether the current signal strength distribution data meets the condition of the target disconnection threshold association; if it is satisfied, the payment terminal is disconnected. 根據請求項3所述的方法,其中,該方法還包括;在與該支付終端建立連接且未與該支付終端進行資料傳輸的情況下,判斷與該支付終端持續連接的時長是否大於或等於指定連接時長;若與該支付終端持續連接的時長 大於或等於指定連接時長,與該支付終端斷開連接。 The method according to claim 3, wherein the method further includes: in the case of establishing a connection with the payment terminal and no data transmission with the payment terminal, determining whether the duration of the continuous connection with the payment terminal is greater than or equal to Specify the connection duration; if the duration of continuous connection with the payment terminal The connection time is greater than or equal to the specified connection time, and the payment terminal is disconnected. 根據請求項1所述的方法,其中,獲取當前的信號強度分佈資料,包括:獲取當前的信號強度採樣點序列;其中,該信號強度採樣點序列中包括多個信號強度採樣點;將該信號強度採樣點序列劃分為至少一個子序列,並確定該子序列的信號強度中值;根據該子序列的信號強度中值,確定該當前的信號強度分佈資料。 The method according to claim 1, wherein obtaining the current signal strength distribution data includes: obtaining a current signal strength sampling point sequence; wherein the signal strength sampling point sequence includes multiple signal strength sampling points; The intensity sampling point sequence is divided into at least one sub-sequence, and the median signal intensity of the sub-sequence is determined; the current signal intensity distribution data is determined according to the median signal intensity of the sub-sequence. 一種用戶端,其特徵在於,該用戶端中包括儲存模組、傳輸閾值更新模組、資料獲取模組和傳輸判定模組;其中,所述儲存模組用於儲存與支付終端進行資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料;該傳輸閾值更新模組用於根據該初始傳輸閾值和該初始信號強度分佈資料,確定目標傳輸閾值;該資料獲取模組用於獲取當前的信號強度分佈資料;該傳輸判定模組用於判斷該當前的信號強度分佈資料是否滿足該目標傳輸閾值關聯的條件,並在判斷結果為滿足的情況下,與該支付終端再次進行資料傳輸,其中,每次與該支付終端進行資料傳輸後,該儲存模組儲存之該初始傳輸閾值和該初始信號強度分佈資料,係 用以更新與該支付終端下一次進行資料傳輸時對應的該目標傳輸閾值,其中,該傳輸閾值更新模組用於基於支付資料傳輸的次數、與支付資料傳輸的次數相關聯的指定參數,以及該初始信號強度分佈資料中的信號強度最大值,確定權重係數,以使得根據該權重係數、該信號強度分佈資料中的信號強度最大值和該初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中占比最大的信號強度值的差值的絕對值小於或者等於指定強度值。 A client terminal, characterized in that the client terminal includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module; wherein, the storage module is used for storing and transmitting data to a payment terminal. Corresponding initial transmission threshold and initial signal strength distribution data; the transmission threshold update module is used to determine the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data; the data acquisition module is used to obtain the current signal strength Distribution data; the transmission determination module is used to determine whether the current signal strength distribution data meets the conditions associated with the target transmission threshold, and if the determination result is satisfied, data transmission is performed again with the payment terminal, where each After data transmission with the payment terminal for the second time, the initial transmission threshold and the initial signal strength distribution data stored by the storage module are It is used to update the target transmission threshold corresponding to the next data transmission of the payment terminal, wherein the transmission threshold update module is used based on the number of payment data transmissions and the specified parameters associated with the number of payment data transmissions, and The maximum value of the signal strength in the initial signal strength distribution data, and the weight coefficient is determined so that the target transmission threshold determined according to the weight coefficient, the maximum value of the signal strength in the signal strength distribution data, and the initial transmission threshold corresponds to the specified distance The absolute value of the difference of the signal intensity value with the largest proportion in the signal intensity distribution data is less than or equal to the specified intensity value. 根據請求項7所述的用戶端,其中,該傳輸判定模組用於判斷該當前的信號強度分佈資料中的信號強度平均值是否大於或等於該目標傳輸閾值。 The user terminal according to claim 7, wherein the transmission determination module is used to determine whether the average signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold. 根據請求項7所述的用戶端,其中,該用戶端還包括:預連接閾值確定模組和連接判定模組;其中,該預連接閾值確定模組用於根據該目標傳輸閾值,確定目標預連接閾值;其中,該目標預連接閾值小於該目標傳輸閾值;該連接判定模組用於判斷該當前的信號強度分佈資料是否滿足該目標預連接閾值關聯的條件,並在判斷結果為滿足的情況下,與該支付終端建立連接。 The user terminal according to claim 7, wherein the user terminal further includes: a pre-connection threshold determination module and a connection determination module; wherein the pre-connection threshold determination module is used to determine the target pre-connection threshold according to the target transmission threshold. Connection threshold; wherein, the target pre-connection threshold is less than the target transmission threshold; the connection determination module is used to determine whether the current signal strength distribution data meets the conditions associated with the target pre-connection threshold, and if the result of the determination is satisfied Next, establish a connection with the payment terminal. 根據請求項9所述的用戶端,其中,該用戶端還包 括:斷開連接閾值確定模組和斷開連接判定模組;其中,該斷開連接閾值確定模組用於根據該目標傳輸閾值,確定目標斷開連接閾值;其中,該目標斷開連接閾值小於該目標預連接閾值;該斷開連接判定模組用於在與該支付終端建立連接且未與該支付終端進行資料傳輸的情況下,判斷該當前的信號強度分佈資料是否滿足該目標斷開連接閾值關聯的條件,並在判斷結果為滿足的情況下,與該支付終端斷開連接。 The client according to claim 9, wherein the client also includes Including: disconnection threshold determination module and disconnection determination module; wherein the disconnection threshold determination module is used to determine the target disconnection threshold according to the target transmission threshold; wherein, the target disconnection threshold Less than the target pre-connection threshold; the disconnection determination module is used to determine whether the current signal strength distribution data meets the target disconnection when a connection is established with the payment terminal and no data transmission is performed with the payment terminal Connect the condition associated with the threshold, and if the judgment result is satisfied, disconnect from the payment terminal. 根據請求項9所述的用戶端,其中,該用戶端還包括:斷開連接判定模組;該斷開連接判定模組用於在與該支付終端建立連接且未與該支付終端進行資料傳輸的情況下,判斷與該支付終端持續連接的時長是否大於或等於指定連接時長,若與該支付終端持續連接的時長大於或等於指定連接時長,與該支付終端斷開連接。 The user terminal according to claim 9, wherein the user terminal further includes: a disconnection determination module; the disconnection determination module is used to establish a connection with the payment terminal without performing data transmission with the payment terminal In the case of, it is determined whether the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, and if the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, the payment terminal is disconnected. 根據請求項7所述的用戶端,其中,該資料獲取模組用於獲取當前的信號強度採樣點序列,其中,該信號強度採樣點序列中包括多個信號強度採樣點,將該信號強度採樣點序列劃分為至少一個子序列,並確定該子序列的信號強度中值,根據該子序列的信號強度中值,確定該當前的信號強度分佈資料。 The user terminal according to claim 7, wherein the data acquisition module is used to acquire a current signal strength sampling point sequence, wherein the signal strength sampling point sequence includes a plurality of signal strength sampling points, and the signal strength is sampled The point sequence is divided into at least one subsequence, and the median signal intensity of the subsequence is determined, and the current signal intensity distribution data is determined according to the median signal intensity of the subsequence. 一種用戶端,其特徵在於,該用戶端包括記憶體和處理器,該記憶體中儲存有與支付終端進行資料傳輸時對應的初始傳輸閾值和初始信號強度分佈資料,以及電腦程式,該電腦程式被該處理器執行時,實現以下步驟:根據該初始傳輸閾值和該初始信號強度分佈資料,確定目標傳輸閾值;獲取當前的信號強度分佈資料,並判斷該當前的信號強度分佈資料是否滿足該目標傳輸閾值關聯的條件;若滿足,與該支付終端再次進行資料傳輸,其中,每次與該支付終端進行支付資料傳輸後,該初始傳輸閾值和該初始信號強度分佈資料,係用以更新與該支付終端下一次進行支付資料傳輸時對應的該目標傳輸閾值,其中,該電腦程式被該處理器執行時,還實現以下步驟:基於支付資料傳輸的次數、與該支付資料傳輸的次數相關聯的指定參數,以及該初始信號強度分佈資料中的信號強度最大值,確定權重係數,以使得根據該權重係數、該信號強度分佈資料中的信號強度最大值和該初始傳輸閾值確定的目標傳輸閾值,與指定距離對應的信號強度分佈資料中機率最大的信號強度值的差值的絕對值小於或者等於指定強度值。 A client terminal, characterized in that the client terminal includes a memory and a processor, and the memory stores the initial transmission threshold and initial signal strength distribution data corresponding to the data transmission of the payment terminal, and a computer program. The computer program When executed by the processor, the following steps are realized: determine the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data; obtain the current signal strength distribution data, and determine whether the current signal strength distribution data meets the target The condition associated with the transmission threshold; if it is met, data transmission is performed again with the payment terminal, wherein, after each payment data transmission with the payment terminal, the initial transmission threshold and the initial signal strength distribution data are used to update the The target transmission threshold corresponding to the next time the payment terminal transmits the payment data, wherein, when the computer program is executed by the processor, the following steps are also implemented: based on the number of payment data transmissions, and the number associated with the number of payment data transmissions Specify the parameters, and the maximum signal strength in the initial signal strength distribution data, and determine the weight coefficient so that the target transmission threshold determined based on the weight coefficient, the maximum signal strength in the signal strength distribution data, and the initial transmission threshold, The absolute value of the difference between the signal strength values with the highest probability in the signal strength distribution data corresponding to the specified distance is less than or equal to the specified strength value. 根據請求項13所述的用戶端,其中,在判斷該當前的信號強度分佈資料是否滿足該目標傳輸閾值關聯的條件之前,該電腦程式被該處理器執行時,還實現以下步驟:根據該目標傳輸閾值,確定目標預連接閾值;其中,該目標預連接閾值小於該目標傳輸閾值;判斷該當前的信號強度分佈資料是否滿足該目標預連接閾值關聯的條件;若滿足,與該支付終端建立連接。 The user terminal according to claim 13, wherein, before determining whether the current signal strength distribution data meets the condition associated with the target transmission threshold, when the computer program is executed by the processor, the following steps are further implemented: according to the target The transmission threshold determines the target pre-connection threshold; where the target pre-connection threshold is less than the target transmission threshold; it is judged whether the current signal strength distribution data meets the conditions associated with the target pre-connection threshold; if so, a connection is established with the payment terminal . 根據請求項14所述的用戶端,其中,該電腦程式被該處理器執行時,還實現以下步驟:根據該目標傳輸閾值,確定目標斷開連接閾值;其中,該目標斷開連接閾值小於該目標預連接閾值;在與該支付終端建立連接且未與該支付終端進行資料傳輸的情況下,判斷該當前的信號強度分佈資料是否滿足該目標斷開連接閾值關聯的條件;若滿足,與該支付終端斷開連接。 The user terminal according to claim 14, wherein, when the computer program is executed by the processor, the following steps are further implemented: determine a target disconnection threshold according to the target transmission threshold; wherein, the target disconnection threshold is less than the target transmission threshold. Target pre-connection threshold; in the case of establishing a connection with the payment terminal and not transmitting data with the payment terminal, determine whether the current signal strength distribution data meets the conditions associated with the target disconnection threshold; The payment terminal is disconnected. 根據請求項14所述的用戶端,其中,該電腦程式被該處理器執行時,還實現以下步驟:在與該支付終端建立連接且未與該支付終端進行資料傳輸的情況下,判斷與該支付終端持續連接的時長是否大於或等於指定連接時長;若與該支付終端持續連接的時長大於或等於指定連接時長,與該支付終端斷開連接。 The user terminal according to claim 14, wherein, when the computer program is executed by the processor, the following steps are further implemented: when a connection is established with the payment terminal and no data transmission is performed with the payment terminal, it is determined Whether the duration of the payment terminal's continuous connection is greater than or equal to the specified connection duration; if the duration of the continuous connection with the payment terminal is greater than or equal to the specified connection duration, the payment terminal is disconnected.
TW108106324A 2018-05-29 2019-02-25 Payment method and client TWI706687B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810527146.X 2018-05-29
CN201810527146.XA CN108960811B (en) 2018-05-29 2018-05-29 Payment method and client

Publications (2)

Publication Number Publication Date
TW202004593A TW202004593A (en) 2020-01-16
TWI706687B true TWI706687B (en) 2020-10-01

Family

ID=64492082

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108106324A TWI706687B (en) 2018-05-29 2019-02-25 Payment method and client

Country Status (3)

Country Link
CN (1) CN108960811B (en)
TW (1) TWI706687B (en)
WO (1) WO2019228001A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960811B (en) * 2018-05-29 2021-01-15 创新先进技术有限公司 Payment method and client
CN110689370B (en) * 2019-09-05 2023-07-14 创新先进技术有限公司 Classification model training method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927654A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Mobile terminal and POS machine contact communication method and device and payment method
US20150017013A1 (en) * 2012-02-23 2015-01-15 Nuovo Pignone S.R.L. Turbo-machine impeller manufacturing
CN104978655A (en) * 2014-04-11 2015-10-14 上海智向信息科技有限公司 Near field payment connection and data exchange method and near field payment connection and data exchange system
CN105828281A (en) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 Device connection method and device
TW201633228A (en) * 2015-03-11 2016-09-16 China Unionpay Co Ltd Data transmission method and user equipment for mobile near field payment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702320B (en) * 2014-04-11 2018-02-09 上海智向信息科技有限公司 Near field based on bluetooth pays decision method and system
CN105636196A (en) * 2014-11-06 2016-06-01 宏碁股份有限公司 Indoor positioning method suitable for electronic device and electronic device
CN106878235B (en) * 2015-12-11 2020-05-19 株式会社理光 Access control method, electronic device, and medium
CN107949031A (en) * 2017-12-20 2018-04-20 深圳市中科明望通信软件有限公司 A kind of scan method of wireless network, mobile terminal and storage medium
CN108960811B (en) * 2018-05-29 2021-01-15 创新先进技术有限公司 Payment method and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150017013A1 (en) * 2012-02-23 2015-01-15 Nuovo Pignone S.R.L. Turbo-machine impeller manufacturing
CN104978655A (en) * 2014-04-11 2015-10-14 上海智向信息科技有限公司 Near field payment connection and data exchange method and near field payment connection and data exchange system
CN103927654A (en) * 2014-04-17 2014-07-16 福建联迪商用设备有限公司 Mobile terminal and POS machine contact communication method and device and payment method
TW201633228A (en) * 2015-03-11 2016-09-16 China Unionpay Co Ltd Data transmission method and user equipment for mobile near field payment
CN105828281A (en) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 Device connection method and device

Also Published As

Publication number Publication date
CN108960811B (en) 2021-01-15
WO2019228001A1 (en) 2019-12-05
CN108960811A (en) 2018-12-07
TW202004593A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
KR102673368B1 (en) Method and Apparatus for Switching Network
CN111373775B (en) Peripheral computing device
US9918348B2 (en) Device-to-device relay selection
EP3089046B1 (en) Electronic device operating method and electronic device for supporting the same
CN108629594A (en) Method of payment, device, server and storage medium
TWI706687B (en) Payment method and client
TW202214028A (en) Method and system for resource selection
CN108696848B (en) Electronic device for short-range communication and coverage compensation method thereof
CN110536193B (en) Audio signal processing method and device
CN111294850B (en) Measurement reporting method and device, and terminal equipment information acquisition method and device
CN112260366A (en) Charging method, charging device and charger
CN106294168A (en) A kind of method and system carrying out Application testing
US11304141B2 (en) Controlling device modem scan duty cycle based on device sensor or wireless data
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN111491397A (en) Communication method and device
WO2022033944A1 (en) Methods, apparatuses, and computer program products for supporting charging for time synchronization services
KR102406695B1 (en) Apparatus and method for transmitting and receiving data based on sound signal in wireless communication system
WO2021129489A1 (en) Application precompiling method and apparatus, electronic device, and storage medium
CN106878957B (en) Broadcast queue's generation method, device and terminal device
CN113204293A (en) Touch sensing processing method, touch sensing processing device, medium and electronic device
CN111526381B (en) Method and device for optimizing live broadcast resources and electronic equipment
CN111787584B (en) Data acquisition method and system based on Internet of things
CN116193500A (en) Method and device for realizing perceived service, network side equipment and terminal
CN108924902B (en) Wireless network disconnection method and device and electronic device
KR20180064252A (en) A method for measuring quality of communication and a device thereof