TWI848244B - A business processing method and device based on terminal posture - Google Patents
A business processing method and device based on terminal posture Download PDFInfo
- Publication number
- TWI848244B TWI848244B TW110142670A TW110142670A TWI848244B TW I848244 B TWI848244 B TW I848244B TW 110142670 A TW110142670 A TW 110142670A TW 110142670 A TW110142670 A TW 110142670A TW I848244 B TWI848244 B TW I848244B
- Authority
- TW
- Taiwan
- Prior art keywords
- posture
- terminal
- business processing
- payment device
- code
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3274—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本發明公開了一種基於終端姿態的業務處理方法及裝置,該方法包括獲取終端的姿態,該姿態包括第一姿態和第二姿態;根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理。通過依據終端的姿態和收款設備的類型,自動調用APP的二維碼,無需用戶任何的點擊操作,提高了二維碼展示效率,從而提高了終端業務處理能力,提升用戶體驗。The present invention discloses a business processing method and device based on terminal posture, the method includes obtaining the posture of the terminal, the posture includes a first posture and a second posture; according to the first posture and the second posture of the terminal, determining the type of the payment device, and calling the QR code of the preset application to process the business. By automatically calling the QR code of the APP based on the posture of the terminal and the type of the payment device, without any click operation by the user, the QR code display efficiency is improved, thereby improving the terminal business processing capability and enhancing the user experience.
Description
本發明屬於終端支付技術領域,尤其關於一種基於終端姿態的業務處理方法及裝置。The present invention belongs to the field of terminal payment technology, and in particular to a business processing method and device based on terminal posture.
目前二維碼支付已經較為普遍,在被掃場景中,需要使用者在手機上進行多步點擊操作後才能顯示出二維碼。例如打開相關支付APP(Application,應用程式),點擊顯示介面“付款”按鈕後,顯示出付款二維碼。上述顯示二維碼的方式都需要使用者在支付前進行多步手動點擊操作,影響了用戶體驗。At present, QR code payment is already quite common. In the scanning scenario, users need to perform multiple click operations on their mobile phones before the QR code can be displayed. For example, after opening the relevant payment APP (Application), clicking the "Payment" button on the display interface, the payment QR code is displayed. The above methods of displaying QR codes require users to perform multiple manual click operations before payment, which affects the user experience.
本發明實施例提供一種基於終端姿態的業務處理方法及裝置,用以提高終端支付的效率,提升用戶體驗。The embodiment of the present invention provides a business processing method and device based on terminal posture, which is used to improve the efficiency of terminal payment and enhance the user experience.
第一方面,本發明實施例提供一種基於終端姿態的業務處理方法,包括: 獲取終端的姿態,該姿態包括第一姿態和第二姿態; 根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理。 In a first aspect, an embodiment of the present invention provides a business processing method based on terminal posture, comprising: Obtaining the posture of the terminal, the posture comprising a first posture and a second posture; Determining the type of the payment device according to the first posture and the second posture of the terminal, and calling a QR code of a preset application to perform business processing.
上述技術方案中,通過依據終端的姿態和收款設備的類型,自動調用APP的二維碼,無需用戶任何的點擊操作,提高了二維碼展示效率,從而提高了終端業務處理能力,提升用戶體驗。In the above technical solution, the QR code of the APP is automatically called according to the posture of the terminal and the type of payment device, without any click operation by the user, thereby improving the efficiency of QR code display, thereby improving the terminal business processing capability and enhancing the user experience.
可選的,該根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理,包括: 在確定該終端的姿態為該第一姿態時,通過該終端的攝像頭獲取該收款設備的掃描資訊,並對該掃描資訊進行識別,確定該收款設備的類型; 在確定該收款設備的類型為掃碼盒子且確定該終端的姿態為該第二姿態時,調用該預設的應用程式的二維碼進行業務處理。 Optionally, the type of the payment device is determined according to the first posture and the second posture of the terminal, and the QR code of the preset application is called to perform business processing, including: When it is determined that the posture of the terminal is the first posture, the scanning information of the payment device is obtained through the camera of the terminal, and the scanning information is identified to determine the type of the payment device; When it is determined that the type of the payment device is a code scanning box and the posture of the terminal is the second posture, the QR code of the preset application is called to perform business processing.
可選的,該根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理,包括: 在確定該終端的姿態為該第一姿態且在預設時間間隔內該終端的姿態為該第二姿態時,通過該終端的攝像頭獲取該收款設備的掃描資訊,並對該掃描資訊進行識別,確定該收款設備的類型; 在確定該收款設備的類型為掃碼盒子時,直接調用該預設的應用程式的二維碼進行業務處理。 Optionally, the type of the payment device is determined according to the first posture and the second posture of the terminal, and the QR code of the preset application is called to perform business processing, including: When it is determined that the posture of the terminal is the first posture and the posture of the terminal is the second posture within a preset time interval, the scanning information of the payment device is obtained through the camera of the terminal, and the scanning information is identified to determine the type of the payment device; When it is determined that the type of the payment device is a barcode scanning box, the QR code of the preset application is directly called to perform business processing.
可選的,該對該掃描資訊進行識別,確定該收款設備的類型,包括: 通過訓練好的人工智慧AI識別演算法對該掃描資訊進行識別,確定該收款設備的類型。 Optionally, the scanned information is identified to determine the type of the payment device, including: Identifying the scanned information through a trained artificial intelligence AI recognition algorithm to determine the type of the payment device.
可選的,該第一姿態為翻轉狀態或正面放置的傾斜狀態。Optionally, the first posture is a flipped state or a tilted state placed frontally.
可選的,該方法還包括: 若該收款設備的類型為掃碼槍,則在確定該終端的傾角為預設角度時,調用該預設的應用程式的二維碼進行業務處理。 Optionally, the method further includes: If the type of the payment device is a barcode scanner, when it is determined that the inclination angle of the terminal is a preset angle, the QR code of the preset application is called to perform business processing.
可選的,該終端的姿態還包括第三姿態; 在調用預設的應用程式的二維碼進行業務處理之後,還包括: 在確定該終端的姿態為第三姿態時,切換應用程式,並調用切換後的應用程式的二維碼進行業務處理。 Optionally, the posture of the terminal further includes a third posture; After calling the QR code of the default application for business processing, it also includes: When determining that the posture of the terminal is the third posture, switching the application, and calling the QR code of the switched application for business processing.
第二方面,本發明實施例提供一種基於終端姿態的業務處理裝置,包括: 獲取單元,用於獲取終端的姿態,該姿態包括第一姿態和第二姿態; 處理單元,用於根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理。 In a second aspect, an embodiment of the present invention provides a business processing device based on terminal posture, comprising: An acquisition unit, used to acquire the posture of the terminal, the posture including a first posture and a second posture; A processing unit, used to determine the type of the payment device according to the first posture and the second posture of the terminal, and call a preset QR code of the application to perform business processing.
可選的,該處理單元具體用於: 在確定該終端的姿態為該第一姿態時,通過該終端的攝像頭獲取該收款設備的掃描資訊,並對該掃描資訊進行識別,確定該收款設備的類型; 在確定該收款設備的類型為掃碼盒子且確定該終端的姿態為該第二姿態時,調用該預設的應用程式的二維碼進行業務處理。 Optionally, the processing unit is specifically used for: When it is determined that the posture of the terminal is the first posture, the scanning information of the payment device is obtained through the camera of the terminal, and the scanning information is identified to determine the type of the payment device; When it is determined that the type of the payment device is a barcode scanning box and the posture of the terminal is the second posture, the QR code of the preset application is called to perform business processing.
可選的,該處理單元具體用於: 在確定該終端的姿態為該第一姿態且在預設時間間隔內該終端的姿態為該第二姿態時,通過該終端的攝像頭獲取該收款設備的掃描資訊,並對該掃描資訊進行識別,確定該收款設備的類型; 在確定該收款設備的類型為掃碼盒子時,直接調用該預設的應用程式的二維碼進行業務處理。 Optionally, the processing unit is specifically used for: When it is determined that the posture of the terminal is the first posture and the posture of the terminal is the second posture within a preset time interval, the scanning information of the payment device is obtained through the camera of the terminal, and the scanning information is identified to determine the type of the payment device; When it is determined that the type of the payment device is a code scanning box, the QR code of the preset application is directly called to perform business processing.
可選的,該處理單元具體用於: 通過訓練好的AI識別演算法對該掃描資訊進行識別,確定該收款設備的類型。 Optionally, the processing unit is specifically used to: Identify the scanned information through a trained AI recognition algorithm to determine the type of the payment device.
可選的,該第一姿態為翻轉狀態或正面放置的傾斜狀態。Optionally, the first posture is a flipped state or a tilted state placed frontally.
可選的,該處理單元還用於: 若該收款設備的類型為掃碼槍,則在確定該終端的傾角為預設角度時,調用該預設的應用程式的二維碼進行業務處理。 Optionally, the processing unit is also used for: If the type of the payment device is a barcode scanner, when it is determined that the inclination angle of the terminal is a preset angle, the QR code of the preset application is called to perform business processing.
可選的,該終端的姿態還包括第三姿態; 該處理單元還用於: 該調用預設的應用程式的二維碼進行業務處理之後,在確定該終端的姿態為第三姿態時,切換應用程式,並調用切換後的應用程式的二維碼進行業務處理。 Optionally, the posture of the terminal further includes a third posture; The processing unit is further used for: After calling the QR code of the preset application for business processing, when it is determined that the posture of the terminal is the third posture, switching the application and calling the QR code of the switched application for business processing.
第三方面,本發明實施例還提供一種計算設備,包括: 記憶體,用於存儲程式指令; 處理器,用於調用該記憶體中存儲的程式指令,按照獲得的程式執行上述基於終端姿態的業務處理方法。 In a third aspect, an embodiment of the present invention further provides a computing device, comprising: A memory for storing program instructions; A processor for calling the program instructions stored in the memory and executing the above-mentioned business processing method based on terminal posture according to the obtained program.
第四方面,本發明實施例還提供一種電腦可讀非揮發性存儲介質,包括電腦可讀指令,當電腦讀取並執行該電腦可讀指令時,使得電腦執行上述基於終端姿態的業務處理方法。In a fourth aspect, the embodiments of the present invention further provide a computer-readable non-volatile storage medium, including computer-readable instructions. When a computer reads and executes the computer-readable instructions, the computer executes the above-mentioned business processing method based on terminal posture.
為利 貴審查委員了解本發明之技術特徵、內容與優點及其所能達到之功效,茲將本發明配合附圖及附件,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係解讀、侷限本發明於實際實施上的申請範圍,合先敘明。In order to help you understand the technical features, contents and advantages of the present invention and the effects it can achieve, the present invention is described in detail as follows with the accompanying drawings and appendices in the form of embodiments. The drawings used therein are only for illustration and auxiliary description, and may not be the true proportions and precise configurations after the implementation of the present invention. Therefore, the proportions and configurations of the attached drawings should not be interpreted to limit the scope of application of the present invention in actual implementation.
在本發明的描述中,需要理解的是,術語「中心」、「橫向」、「上」、「下」、「左」、「右」、「頂」、「底」、「內」、「外」等指示的方位或位置關係為基於圖式所示的方位或位置關係,僅是為了便於描述本發明和簡化描述,而不是指示或暗示所指的裝置或元件必須具有特定的方位、以特定的方位構造和操作,因此不能理解為對本發明的限制。In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by the terms "center", "lateral", "up", "down", "left", "right", "top", "bottom", "inside", "outside", etc. are based on the directions or positional relationships shown in the drawings and are only for the convenience of describing the present invention and simplifying the description. They do not indicate or imply that the device or component referred to must have a specific direction, be constructed and operate in a specific direction, and therefore should not be understood as a limitation on the present invention.
圖1為本發明實施例提供的一種系統架構。如圖1所示,該系統架構可以包括使用者手機和商戶兩大部分。Fig. 1 is a system architecture provided by an embodiment of the present invention. As shown in Fig. 1, the system architecture may include two major parts: user mobile phone and merchant.
1)用戶手機。1) User’s mobile phone.
(1)硬體層 主要包含攝像頭、陀螺儀、AI(Artificial Intelligence,人工智慧)晶片等,攝像頭用於採集圖像資訊,陀螺儀用於採集手機姿態資訊,AI晶片為物識別AI演算法模型提供運行基礎。 (1) Hardware layer Mainly includes camera, gyroscope, AI (Artificial Intelligence) chip, etc. The camera is used to collect image information, the gyroscope is used to collect mobile phone posture information, and the AI chip provides the operating basis for the object recognition AI algorithm model.
(2)系統層 資訊採集及控制模組用於控制系統硬體採集相關圖像、姿態資訊,並將相關資訊作為參數傳輸給系統應用中物識別AI演算法模型用於分析。 (2) System level The information acquisition and control module is used to control the system hardware to collect relevant images and posture information, and transmit the relevant information as parameters to the object recognition AI algorithm model in the system application for analysis.
(3)應用層 對接系統應用,集成相關支付SDK(Software Development Kit,軟體開發套件)或APP(Application,應用程式),當物識別AI演算法模型分析結果表明可以顯示二維碼時,調用相關SDK或APP介面顯示二維碼用於業務處理。 (3) Application layer Docking system application, integrating relevant payment SDK (Software Development Kit) or APP (Application). When the object recognition AI algorithm model analysis results indicate that the QR code can be displayed, call the relevant SDK or APP interface to display the QR code for business processing.
2)商戶2) Merchants
(1)掃碼盒子等收款設備。 當用戶展示二維碼後,通過掃碼盒子、掃碼槍等收款設備讀取二維碼資訊,並將資訊傳輸至商戶後臺。其中,掃碼盒子可以如圖2所示結構,該掃碼盒子可以放置在店鋪的桌面上,其上部為掃碼視窗,使用者展示二維碼的時候需要翻轉手機,手機的顯示幕朝向掃碼盒子的掃碼視窗才可以掃碼成功。圖3所示的是掃碼槍的一種結構,該掃碼槍為手持設備,需要收款人員手持操作,手持時掃碼視窗是朝下的,此時手機需要處於傾斜狀態,將顯示幕朝向掃碼視窗。 (1) Payment devices such as barcode scanning boxes. When the user displays the QR code, the QR code information is read by payment devices such as barcode scanning boxes and barcode scanning guns, and the information is transmitted to the merchant's back office. The barcode scanning box can be structured as shown in Figure 2. The barcode scanning box can be placed on the table of the store, and the upper part is the barcode scanning window. When the user displays the QR code, the mobile phone needs to be turned over, and the display of the mobile phone faces the barcode scanning window of the barcode scanning box to scan the code successfully. Figure 3 shows a structure of a barcode scanning gun. The barcode scanning gun is a handheld device that needs to be operated by the cashier. When held in the hand, the barcode scanning window is facing downward. At this time, the mobile phone needs to be in a tilted state, with the display facing the barcode scanning window.
(2)商戶後臺 負責下訂單並將交易上送至相關支付機構或系統。 (2) Merchant backend Responsible for placing orders and sending transactions to relevant payment institutions or systems.
需要說明的是,上述圖1所示的結構僅是一種示例,本發明實施例對此不做限定。It should be noted that the structure shown in FIG. 1 is only an example and the embodiment of the present invention is not limited thereto.
基於上述描述,圖4詳細的示出了本發明實施例提供的一種基於終端姿態的業務處理方法的流程,該流程可以由基於終端姿態的業務處理裝置執行。Based on the above description, FIG. 4 shows in detail the process of a terminal posture-based business processing method provided by an embodiment of the present invention, and the process can be executed by a terminal posture-based business processing device.
如圖4所示,該流程具體包括:
步驟401,獲取終端的姿態,該姿態包括第一姿態和第二姿態。
As shown in Figure 4, the process specifically includes:
在本發明實施例中,終端的第一姿態可以為翻轉姿態或正面放置的傾斜姿態,第二姿態可以為上下擺動或左右擺動的姿態,終端的姿態可以通過終端內置的陀螺儀來識別,例如終端翻轉預設角度後,可以確認為是翻轉姿態。終端的顯示幕的正面的前端傾斜一定角度時,可以認為是正面放置的傾斜姿態,如圖5所示。該預設角度和一定角度可以依據經驗設置。如圖6所示,圖6中a圖是上下擺動的姿態,圖6中b圖為左右擺動的姿態。In the embodiment of the present invention, the first posture of the terminal can be a flip posture or a tilted posture placed in the front, and the second posture can be a posture of swinging up and down or swinging left and right. The posture of the terminal can be identified by a built-in gyroscope of the terminal. For example, after the terminal flips a preset angle, it can be confirmed as a flip posture. When the front end of the front of the display screen of the terminal is tilted at a certain angle, it can be considered as a tilted posture placed in the front, as shown in Figure 5. The preset angle and the certain angle can be set based on experience. As shown in Figure 6, Figure a in Figure 6 is a posture of swinging up and down, and Figure b in Figure 6 is a posture of swinging left and right.
需要說明的是,該第一姿態還可以設置為終端的顯示介面的解鎖動作,即顯示介面處於鎖定狀態時,此時收到終端的第一姿態時,可以確認是解釋動作,調用解鎖指令,解除顯示介面的鎖定狀態。It should be noted that the first posture can also be set as an unlocking action of the terminal's display interface, that is, when the display interface is in a locked state, when the first posture of the terminal is received, it can be confirmed as an interpretation action, and the unlocking command is called to release the lock state of the display interface.
步驟402,根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理。
具體的可以分為以下兩種方式來描述:Specifically, it can be described in the following two ways:
方式一: 在確定終端的姿態為第一姿態時,通過終端的攝像頭獲取收款設備的掃描資訊,對掃描資訊進行識別,確定收款設備的類型。然後在確定收款設備的類型為掃碼盒子且確定終端的姿態為第二姿態時,調用預設的應用程式的二維碼進行業務處理。 Method 1: When the terminal's posture is determined to be the first posture, the terminal's camera obtains the scanning information of the payment device, identifies the scanning information, and determines the type of the payment device. Then, when the type of the payment device is determined to be a barcode scanning box and the terminal's posture is determined to be the second posture, the QR code of the preset application is called to process the business.
當第一姿態為翻轉姿態時,可以通過終端的前置攝像頭獲取收款設備的掃描資訊。即啟用前置攝像頭來獲取收款設備的圖像資訊。When the first posture is the flip posture, the scanning information of the payment device can be obtained through the front camera of the terminal. That is, the front camera is enabled to obtain the image information of the payment device.
當第一姿態為證明放置的傾斜姿態時,可以通過終端的前置攝像頭獲取收款設備的掃描資訊。需要說明的是,在獲取收款設備的掃描資訊時,可以也可以通過後置攝像頭來採集,在實際應用時,可以依據經驗來選擇。When the first posture is a tilted posture for proof placement, the scanning information of the payment device can be obtained through the front camera of the terminal. It should be noted that when obtaining the scanning information of the payment device, it can also be collected through the rear camera. In actual application, it can be selected based on experience.
收款設備的類型可以包括掃碼盒子和掃碼槍兩種類型。The types of payment devices can include two types: barcode scanning boxes and barcode scanning guns.
可以通過訓練好的AI識別演算法對掃描資訊進行識別,得到收款設備的類型。The scanned information can be identified through the trained AI recognition algorithm to obtain the type of payment device.
其中,訓練好的AI識別演算法是經過機器學習訓練後的物識別AI演算法。Among them, the trained AI recognition algorithm is an object recognition AI algorithm trained by machine learning.
方式二: 在確定終端的姿態為第一姿態且在預設時間間隔內終端的姿態為第二姿態時,首先通過終端的攝像頭獲取收款設備的掃描資訊;對掃描資訊進行識別,確定收款設備的類型。然後在確定收款設備的類型為掃碼盒子時,直接調用預設的應用程式的二維碼進行業務處理。其中,預設時間間隔可以依據經驗設置。例如可以設置為5s,即接收到第一姿態之後的5s內接收到第二姿態。 Method 2: When it is determined that the terminal's posture is the first posture and the terminal's posture is the second posture within the preset time interval, first obtain the scanning information of the payment device through the terminal's camera; identify the scanning information and determine the type of the payment device. Then, when it is determined that the type of the payment device is a barcode scanning box, directly call the QR code of the preset application to process the business. Among them, the preset time interval can be set based on experience. For example, it can be set to 5s, that is, the second posture is received within 5s after the first posture is received.
當收款設備的類型為掃碼槍時,在確定終端的傾角為預設角度時,調用預設的應用程式的二維碼進行業務處理。預設角度可以依據經驗設置,如圖5所示的正面放置的傾斜姿態。When the type of the payment device is a barcode scanner, when it is determined that the tilt angle of the terminal is a preset angle, the QR code of the preset application is called to process the business. The preset angle can be set based on experience, such as the tilt posture of the front placement shown in Figure 5.
此外,在調用預設的應用程式的二維碼之後,還可以切換其它應用程式的二維碼,具體的,在確定終端處於第三姿態時,切換應用程式,並調用切換後的應用程式的二維碼進行業務處理。In addition, after calling the QR code of the default application, the QR code of other applications can be switched. Specifically, when it is determined that the terminal is in the third posture, the application is switched and the QR code of the switched application is called to perform business processing.
上述第二姿態和第三姿態可以為上下擺動或左右擺動。例如,第二姿態為上下擺動時,第三姿態為左右擺動;第二姿態為左右擺動時,第三姿態為上下擺動。在實際應用過程中,可以自行設置。The second posture and the third posture can be up and down swing or left and right swing. For example, when the second posture is up and down swing, the third posture is left and right swing; when the second posture is left and right swing, the third posture is up and down swing. In the actual application process, it can be set by yourself.
上述業務處理可以理解為是支付業務或者掃碼識別業務等等。The above business processing can be understood as payment business or code scanning and identification business, etc.
為了更好的解釋本發明實施例,下面將在具體的實施場景下來描述上述基於終端姿態的業務處理的過程。In order to better explain the embodiments of the present invention, the above-mentioned process of business processing based on terminal posture will be described below in a specific implementation scenario.
如圖7所示的被掃支付業務流程,具體如下: (1) 用戶解鎖手機用於支付; (2) 手機翻轉並對準掃碼盒子等設備,當系統應用通過陀螺儀識別到手機處於翻轉狀態時會打開前置攝像頭採集圖像資訊,並傳輸給物識別AI演算法模型; (3) 經過機器學習訓練後的物識別AI演算法模型對圖像資訊進行分析處理,用於識別是否存在掃碼盒子等業務處理設備,當識別到存在掃碼盒子等業務處理設備時等待使用者確認顯碼動作; (4) 系統應用通過陀螺儀識別到用戶上下擺動手機確認顯碼動作後,調用相關支付SDK或APP顯碼介面自動顯示支付二維碼(若使用者處於未登錄狀態時需先在相關支付APP內登錄),若使用者想要更換支付方式,可通過左右擺動手機更換; (5) 商戶通過掃碼盒子等收款設備讀取二維碼; (6) 商戶將二維碼資訊傳輸至商戶後臺,商戶後臺下訂單並將交易上送至相關支付機構或系統。 As shown in Figure 7, the specific process of the scanned payment business is as follows: (1) The user unlocks the mobile phone for payment; (2) The mobile phone is flipped and aligned with the barcode scanning box and other equipment. When the system application recognizes that the mobile phone is in a flipped state through the gyroscope, it will turn on the front camera to collect image information and transmit it to the object recognition AI algorithm model; (3) The object recognition AI algorithm model trained by machine learning analyzes and processes the image information to identify whether there is a business processing device such as a barcode scanning box. When the business processing device such as a barcode scanning box is recognized, it waits for the user to confirm the code display action; (4) After the system application recognizes the user's action of shaking the phone up and down to confirm the code display through the gyroscope, it calls the relevant payment SDK or APP display interface to automatically display the payment QR code (if the user is not logged in, he must first log in to the relevant payment APP). If the user wants to change the payment method, he can change it by shaking the phone left and right; (5) The merchant reads the QR code through a payment device such as a scanning box; (6) The merchant transmits the QR code information to the merchant backend, and the merchant backend places the order and sends the transaction to the relevant payment institution or system.
在本發明實施例中,獲取終端的姿態,該姿態包括第一姿態和第二姿態;根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理。通過依據終端的姿態和收款設備的類型,自動調用APP的二維碼,無需用戶任何的點擊操作,提高了二維碼展示效率,從而提高了終端業務處理能力,提升用戶體驗。In the embodiment of the present invention, the posture of the terminal is obtained, and the posture includes a first posture and a second posture; according to the first posture and the second posture of the terminal, the type of the payment device is determined, and the QR code of the preset application is called to process the business. By automatically calling the QR code of the APP based on the posture of the terminal and the type of the payment device, without any click operation by the user, the QR code display efficiency is improved, thereby improving the terminal business processing capability and enhancing the user experience.
基於相同的技術構思,圖8示例性的示出了本發明實施例提供的一種基於終端姿態的業務處理裝置的結構,該裝置可以執行基於終端姿態的業務處理流程。Based on the same technical concept, FIG. 8 exemplarily shows the structure of a terminal posture-based business processing device provided by an embodiment of the present invention, which can execute a terminal posture-based business processing flow.
如圖8所示,該裝置具體包括:
獲取單元801,用於獲取終端的姿態,該姿態包括第一姿態和第二姿態;
處理單元802,用於根據該終端的第一姿態和第二姿態,確定收款設備的類型,並調用預設的應用程式的二維碼進行業務處理。
As shown in FIG8 , the device specifically includes:
An
可選的,該處理單元802具體用於:
在確定該終端的姿態為該第一姿態時,通過該終端的攝像頭獲取該收款設備的掃描資訊,並對該掃描資訊進行識別,確定該收款設備的類型;
在確定該收款設備的類型為掃描盒子且確定該終端的姿態為該第二姿態時,調用該預設的應用程式的二維碼進行業務處理。
Optionally, the
可選的,該處理單元802具體用於:
在確定該終端的姿態為該第一姿態且在預設時間間隔內該終端的姿態為該第二姿態時,通過該終端的攝像頭獲取該收款設備的掃描資訊,並對該掃描資訊進行識別,確定該收款設備的類型;
在確定該收款設備的類型為掃碼盒子時,直接調用該預設的應用程式的二維碼進行業務處理。
Optionally, the
可選的,該處理單元802具體用於:
通過訓練好的AI識別演算法對該掃描資訊進行識別,確定該收款設備的類型。
Optionally, the
可選的,該第一姿態為翻轉狀態或正面放置的傾斜狀態。Optionally, the first posture is a flipped state or a tilted state placed frontally.
可選的,該處理單元802還用於:
若該收款設備的類型為掃碼槍,則在確定該終端的傾角為預設角度時,調用該預設的應用程式的二維碼進行業務處理。
Optionally, the
可選的,該終端的姿態還包括第三姿態;
該處理單元802還用於:
在調用預設的應用程式的二維碼進行業務處理之後,在確定該終端的姿態為第三姿態時,切換應用程式,並調用切換後的應用程式的二維碼進行業務處理。
Optionally, the posture of the terminal further includes a third posture;
The
基於相同的技術構思,本發明實施例還提供了一種計算設備,包括: 記憶體,用於存儲程式指令; 處理器,用於調用記憶體中存儲的程式指令,按照獲得的程式執行上述基於終端姿態的業務處理方法。 Based on the same technical concept, the embodiment of the present invention also provides a computing device, including: A memory for storing program instructions; A processor for calling the program instructions stored in the memory and executing the above-mentioned business processing method based on terminal posture according to the obtained program.
基於相同的技術構思,本發明實施例還提供了一種電腦可讀非揮發性存儲介質,包括電腦可讀指令,當電腦讀取並執行電腦可讀指令時,使得電腦執行上述基於終端姿態的業務處理方法。Based on the same technical concept, the embodiment of the present invention also provides a computer-readable non-volatile storage medium, including computer-readable instructions. When the computer reads and executes the computer-readable instructions, the computer executes the above-mentioned business processing method based on terminal posture.
本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得通過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。The present invention is described with reference to the flowchart and/or block diagram of the method, apparatus (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
這些電腦程式指令也可存儲在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得存儲在所述電腦可讀記憶體中的指令產生包括指令裝置的製造品,所述指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
以上僅為本發明之較佳實施例,並非用來限定本發明之實施範圍,如果不脫離本發明之精神和範圍,對本發明進行修改或者等同替換,均應涵蓋在本發明申請專利範圍的保護範圍當中。The above are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. If the present invention is modified or replaced by something equivalent without departing from the spirit and scope of the present invention, it should be included in the protection scope of the patent application of the present invention.
401-402:步驟 801:獲取單元 802:處理單元 401-402: Steps 801: Acquisition unit 802: Processing unit
圖1為本發明實施例提供的一種系統架構的示意圖; 圖2為本發明實施例提供的一種掃碼盒子的示意圖; 圖3為本發明實施例提供的一種掃碼槍的示意圖; 圖4為本發明實施例提供的一種基於終端姿態的業務處理方法的流程示意圖; 圖5為本發明實施例提供的一種終端姿態的示意圖; 圖6為本發明實施例提供的一種終端姿態的示意圖; 圖7為本發明實施例提供的一種支付業務流程的示意圖; 圖8為本發明實施例提供的一種基於終端姿態的業務處理裝置的結構示意圖。 Figure 1 is a schematic diagram of a system architecture provided by an embodiment of the present invention; Figure 2 is a schematic diagram of a barcode scanning box provided by an embodiment of the present invention; Figure 3 is a schematic diagram of a barcode scanning gun provided by an embodiment of the present invention; Figure 4 is a schematic diagram of a process of a business processing method based on terminal posture provided by an embodiment of the present invention; Figure 5 is a schematic diagram of a terminal posture provided by an embodiment of the present invention; Figure 6 is a schematic diagram of a terminal posture provided by an embodiment of the present invention; Figure 7 is a schematic diagram of a payment business process provided by an embodiment of the present invention; Figure 8 is a structural schematic diagram of a business processing device based on terminal posture provided by an embodiment of the present invention.
401-402:步驟 401-402: Steps
Claims (8)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110123679.3 | 2021-01-29 | ||
| CN202110123679.3A CN112862479A (en) | 2021-01-29 | 2021-01-29 | Service processing method and device based on terminal posture |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202230246A TW202230246A (en) | 2022-08-01 |
| TWI848244B true TWI848244B (en) | 2024-07-11 |
Family
ID=75986638
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110142670A TWI848244B (en) | 2021-01-29 | 2021-11-17 | A business processing method and device based on terminal posture |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN112862479A (en) |
| TW (1) | TWI848244B (en) |
| WO (1) | WO2022160843A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112862479A (en) * | 2021-01-29 | 2021-05-28 | 中国银联股份有限公司 | Service processing method and device based on terminal posture |
| CN115079886B (en) * | 2022-07-21 | 2023-01-03 | 荣耀终端有限公司 | Two-dimensional code recognition method, electronic device, and storage medium |
| CN116596013B (en) * | 2023-07-18 | 2023-11-03 | 立臻科技(昆山)有限公司 | Bar code providing method, device, electronic equipment and readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140172701A1 (en) * | 2012-12-18 | 2014-06-19 | iGate Technologies Inc. | Funds Transfer Using Two Dimensional Barcodes |
| CN107578245A (en) * | 2017-08-28 | 2018-01-12 | 珠海市魅族科技有限公司 | Wake up method and apparatus, computer installation and the storage medium of payment interface |
| TWM580733U (en) * | 2018-03-20 | 2019-07-11 | 香港商阿里巴巴集團服務有限公司 | Payment auxiliary terminal |
| CN110009330A (en) * | 2019-02-02 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Method of payment and device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111209904A (en) * | 2018-11-21 | 2020-05-29 | 华为技术有限公司 | Service processing method and related device |
| CN112862479A (en) * | 2021-01-29 | 2021-05-28 | 中国银联股份有限公司 | Service processing method and device based on terminal posture |
-
2021
- 2021-01-29 CN CN202110123679.3A patent/CN112862479A/en active Pending
- 2021-11-05 WO PCT/CN2021/128875 patent/WO2022160843A1/en not_active Ceased
- 2021-11-17 TW TW110142670A patent/TWI848244B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140172701A1 (en) * | 2012-12-18 | 2014-06-19 | iGate Technologies Inc. | Funds Transfer Using Two Dimensional Barcodes |
| CN107578245A (en) * | 2017-08-28 | 2018-01-12 | 珠海市魅族科技有限公司 | Wake up method and apparatus, computer installation and the storage medium of payment interface |
| TWM580733U (en) * | 2018-03-20 | 2019-07-11 | 香港商阿里巴巴集團服務有限公司 | Payment auxiliary terminal |
| CN110009330A (en) * | 2019-02-02 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Method of payment and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112862479A (en) | 2021-05-28 |
| WO2022160843A1 (en) | 2022-08-04 |
| TW202230246A (en) | 2022-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI848244B (en) | A business processing method and device based on terminal posture | |
| CN106408290B (en) | A payment interface startup method and mobile terminal | |
| US8995960B2 (en) | Mobile device authentication | |
| EP2866088B1 (en) | Information processing apparatus and method | |
| CN107181913B (en) | A kind of photographing method and mobile terminal | |
| US20130176202A1 (en) | Menu selection using tangible interaction with mobile devices | |
| US20170010780A1 (en) | Programmable touchscreen zone for mobile devices | |
| CN112613475A (en) | Code scanning interface display method and device, mobile terminal and storage medium | |
| JP2018530797A (en) | System for tracking handheld electronic devices in virtual reality | |
| US20150227946A1 (en) | Generating barcode and authenticating based on barcode | |
| CN113643024B (en) | Graphic code processing method, device and electronic equipment | |
| US20230049410A1 (en) | Avatar display device, avatar display system, avatar display method, and avatar display program | |
| US8310504B2 (en) | System and method for panning and selecting on large displays using mobile devices without client software | |
| TW202044008A (en) | Interactive interface display method, device and equipment | |
| CN109409164A (en) | Scan image display adjusting method, device and electronic equipment | |
| US20200074443A1 (en) | Service execution method, apparatus, and device for use in client terminal and server | |
| CN107980137A (en) | Electronic device and information reading and control method thereof | |
| WO2014173313A1 (en) | Methods and systems for processing operation instructions of a transaction system | |
| CN105894288A (en) | Using method of supermarket face payment platform | |
| US12488210B2 (en) | Code scanning identification | |
| CN109753217A (en) | Dynamic keyboard operating method, device, storage medium and electronic equipment | |
| CN115170791A (en) | Target object identification method and device and vending equipment | |
| JP2020027500A (en) | Mobile terminal and computer program | |
| CN107578233A (en) | A two-dimensional code information leakage prevention method, device and storage device thereof | |
| CN107886327A (en) | A kind of method of mobile payment, device and mobile terminal |