WO2022160843A1 - Service processing method and apparatus based on terminal postures - Google Patents

Service processing method and apparatus based on terminal postures Download PDF

Info

Publication number
WO2022160843A1
WO2022160843A1 PCT/CN2021/128875 CN2021128875W WO2022160843A1 WO 2022160843 A1 WO2022160843 A1 WO 2022160843A1 CN 2021128875 W CN2021128875 W CN 2021128875W WO 2022160843 A1 WO2022160843 A1 WO 2022160843A1
Authority
WO
WIPO (PCT)
Prior art keywords
posture
terminal
payment device
determined
type
Prior art date
Application number
PCT/CN2021/128875
Other languages
French (fr)
Chinese (zh)
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 WO2022160843A1 publication Critical patent/WO2022160843A1/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/327Short range or proximity payments by means of M-devices
    • G06Q20/3274Short 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

Definitions

  • the present invention relates to the technical field of terminal payment, and in particular, to a terminal gesture-based service processing method and device.
  • QR code payment is relatively common.
  • the user needs to perform multi-step click operations on the mobile phone to display the QR code.
  • the QR code For example, open the relevant payment APP (Application, application program), click the "payment” button on the display interface, and display the payment QR code.
  • the above methods of displaying the QR code all require the user to perform multi-step manual click operations before payment, which affects the user experience.
  • Embodiments of the present invention provide a terminal gesture-based service processing method and device, so as to improve the efficiency of terminal payment and improve user experience.
  • an embodiment of the present invention provides a terminal gesture-based service processing method, including:
  • the posture includes a first posture and a second posture
  • the type of the payment device is determined, and the two-dimensional code of the preset application program is invoked for business processing.
  • the display efficiency of the two-dimensional code is improved, thereby improving the terminal business processing capability and improving the user. experience.
  • the first posture and the second posture of the terminal determine the type of the payment device, and call the QR code of the preset application to perform business processing, including:
  • the scanning information of the payment device is acquired through the camera of the terminal, and the scanning information is identified to determine the type of the payment device;
  • the two-dimensional code of the preset application is invoked to perform business processing.
  • the first posture and the second posture of the terminal determine the type of the payment device, and call the QR code of the preset application to perform business processing, including:
  • the scanning information of the payment device is acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
  • the two-dimensional code of the preset application program is directly invoked for business processing.
  • the identifying the scanning information to determine the type of the payment device includes:
  • the scanned information is identified by the trained artificial intelligence AI identification algorithm, and the type of the payment device is determined.
  • the first posture is a flipped state or a frontally placed tilted state.
  • the method further includes:
  • the type of the payment device is a code scanning gun
  • the two-dimensional code of the preset application program is called for business processing.
  • the posture of the terminal further includes a third posture
  • the application When it is determined that the posture of the terminal is the third posture, the application is switched, and the two-dimensional code of the switched application is invoked to perform business processing.
  • an embodiment of the present invention provides a terminal gesture-based service processing device, including:
  • an acquisition unit configured to acquire a posture of the terminal, the posture includes a first posture and a second posture;
  • the processing unit is configured to determine the type of the payment device according to the first posture and the second posture of the terminal, and call the two-dimensional code of the preset application program to perform business processing.
  • processing unit is specifically used for:
  • the scanning information of the payment device is acquired through the camera of the terminal, and the scanning information is identified to determine the type of the payment device;
  • the two-dimensional code of the preset application is invoked to perform business processing.
  • processing unit is specifically used for:
  • the scanning information of the payment device is acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
  • the two-dimensional code of the preset application program is directly invoked for business processing.
  • processing unit is specifically used for:
  • the scanned information is identified by the trained AI identification algorithm, and the type of the payment device is determined.
  • the first posture is a flipped state or a frontally placed tilted state.
  • processing unit is also used for:
  • the type of the payment device is a code scanning gun
  • the two-dimensional code of the preset application program is called for business processing.
  • the posture of the terminal further includes a third posture
  • the processing unit is also used to:
  • an embodiment of the present invention further provides a computing device, including:
  • the processor is configured to call the program instructions stored in the memory, and execute the above-mentioned terminal gesture-based service processing method according to the obtained program.
  • an embodiment of the present invention further provides a computer-readable non-volatile storage medium, including computer-readable instructions, when the computer reads and executes the computer-readable instructions, the computer is made to execute the above terminal gesture-based storage medium. business processing method.
  • FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a code scanning box provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a code scanning gun provided by an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a service processing method based on terminal gestures provided by an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a terminal posture according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a terminal posture according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a payment business process provided by an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal gesture-based service processing apparatus according to an embodiment of the present invention.
  • FIG. 1 is a system architecture provided by an embodiment of the present invention. As shown in Figure 1, the system architecture can include two parts: the user's mobile phone and the merchant.
  • the camera is used to collect image information
  • the gyroscope is used to collect mobile phone attitude information
  • the AI chip provides the operating basis for the object recognition AI algorithm model.
  • the information collection and control module is used to control the hardware of the system to collect relevant images and attitude information, and transmit the relevant information as parameters to the AI algorithm model of object recognition in the system application for analysis.
  • the QR code box can be structured as shown in Figure 2.
  • the scan code box can be placed on the desktop of the store, and the upper part of the scan code box is the scan code window.
  • the mobile phone needs to be turned over, and the display screen of the mobile phone is facing the scan code.
  • the scan code window of the box can scan the code successfully.
  • Figure 3 shows a structure of the code scanning gun.
  • the code scanning gun is a handheld device and needs to be hand-held by the payee. When holding the code, the code scanning window is facing down. Towards the scan code window.
  • FIG. 1 the structure shown in FIG. 1 above is only an example, which is not limited in this embodiment of the present invention.
  • FIG. 4 shows in detail a flow of a terminal gesture-based service processing method provided by an embodiment of the present invention, and the flow may be executed by a terminal gesture-based service processing apparatus.
  • the process specifically includes:
  • Step 401 Obtain a posture of the terminal, where the posture includes a first posture and a second posture.
  • the first posture of the terminal may be a flipping posture or an inclined posture placed on the front side
  • the second posture may be a posture of swinging up and down or swinging left and right
  • the posture of the terminal may be recognized by the built-in gyroscope of the terminal, for example After the terminal flips the preset angle, it can be confirmed as a flipped posture.
  • the front end of the front of the display screen of the terminal is inclined at a certain angle, it can be considered as a front-facing inclined posture, as shown in FIG. 5 .
  • the preset angle and a certain angle can be set according to experience. As shown in FIG. 6 , a in FIG. 6 is a posture of swinging up and down, and b in FIG. 6 is a posture of swinging left and right.
  • the first gesture can also be set as the unlocking action of the display interface of the terminal, that is, when the display interface is in a locked state, when the first gesture of the terminal is received at this time, it can be confirmed that it is an interpretation action, and the unlocking instruction is called, Unlock the display interface.
  • Step 402 according to the first posture and the second posture of the terminal, determine the type of the payment device, and call the two-dimensional code of the preset application program for business processing.
  • the scanning information of the payment device is acquired through the camera of the terminal, the scanning information is identified, and the type of the payment device is determined. Then, when it is determined that the type of the payment device is a code scanning box and the posture of the terminal is determined to be the second posture, the QR code of the preset application is called to perform business processing.
  • the scanning information of the payment device can be acquired through the front camera of the terminal. That is to enable the front camera to obtain the image information of the payment device.
  • the scanning information of the payment device can be obtained through the front camera of the terminal. It should be noted that, when acquiring the scanning information of the payment device, it can also be collected through the rear camera, and in practical application, it can be selected based on experience.
  • the types of payment equipment can include two types: scan code box and scan code gun.
  • the scanned information can be recognized by the trained AI recognition algorithm to obtain the type of the payment device.
  • the trained AI recognition algorithm is the object recognition AI algorithm trained by machine learning.
  • the posture of the terminal is the first posture and the posture of the terminal is the second posture within the preset time interval
  • first obtain the scanning information of the payment device through the camera of the terminal identify the scanning information to determine the type of the payment device .
  • the QR code of the preset application program is directly invoked for business processing.
  • the preset time interval can be set according to experience. For example, it can be set to 5s, that is, the second gesture is received within 5s after the first gesture is received.
  • the QR code of the preset application is called for business processing.
  • the preset angle can be set according to experience, such as the inclined posture of frontal placement as shown in FIG. 5 .
  • the QR code of other application programs can also be switched. Specifically, when it is determined that the terminal is in the third posture, the application program is switched, and the switched application program's QR code is called. QR code for business processing.
  • the above-mentioned second posture and the third posture may be swing up and down or swing left and right.
  • the third posture is swinging left and right; when the second posture is swinging left and right, the third posture is swinging up and down. In the actual application process, you can set it yourself.
  • the above-mentioned business processing can be understood as payment business or scanning code identification business and so on.
  • the mobile phone is turned over and aligned with the scan code box and other devices.
  • the system application recognizes that the mobile phone is in an inverted 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.
  • the object recognition AI algorithm model trained by machine learning analyzes and processes the image information, which is used to identify whether there are business processing devices such as code scanning boxes. code action.
  • the system application After the system application recognizes that the user swings the mobile phone up and down to confirm the code display action through the gyroscope, it will call the relevant payment SDK or APP code display interface to automatically display the payment QR code (if the user is not logged in, he must first enter the payment APP in the relevant payment APP) login), if the user wants to change the payment method, he can change it by swinging the mobile phone left and right.
  • the merchant transmits the QR code information to the merchant's background, and the merchant's background places an order and sends the transaction to the relevant payment institution or system.
  • the posture of the terminal is acquired, 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 a preset application is called.
  • the QR code of the program is used for business processing.
  • FIG. 8 exemplarily shows the structure of a terminal gesture-based service processing apparatus provided by an embodiment of the present invention, and the apparatus can execute a terminal gesture-based service processing flow.
  • the device specifically includes:
  • an acquisition unit 801 configured to acquire a posture of the terminal, the posture includes a first posture and a second posture;
  • the processing unit 802 is configured to determine the type of the payment device according to the first posture and the second posture of the terminal, and call the two-dimensional code of the preset application program to perform business processing.
  • processing unit 802 is specifically configured to:
  • 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;
  • the two-dimensional code of the preset application is invoked to perform business processing.
  • processing unit 802 is specifically configured to:
  • the scanning information of the payment device is acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
  • the two-dimensional code of the preset application program is directly invoked for business processing.
  • processing unit 802 is specifically configured to:
  • the scanned information is identified by the trained AI identification algorithm, and the type of the payment device is determined.
  • the first posture is a flipped state or a frontally placed tilted state.
  • processing unit 802 is further configured to:
  • the type of the payment device is a code scanning gun
  • the two-dimensional code of the preset application program is called for business processing.
  • the posture of the terminal further includes a third posture
  • the processing unit 802 is also used for:
  • an embodiment of the present invention also provides a computing device, including:
  • the processor is configured to call the program instructions stored in the memory, and execute the above-mentioned service processing method based on the terminal gesture according to the obtained program.
  • an 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 terminal gesture-based business processing method.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Abstract

Disclosed in the present invention are a service processing method and apparatus based on terminal postures. The method comprises: acquiring postures of a terminal, wherein the postures comprise a first posture and a second posture; and according to the first posture and the second posture of the terminal, determining the type of a collection device, and calling a quick response code of a preset application for service processing. According to the postures of the terminal and the type of the collection device, the quick response code of the application is automatically called, and no click operation is needed from a user, such that the quick response code presentation efficiency is improved, thereby improving the service processing capability of the terminal, and also improving the user experience.

Description

一种基于终端姿态的业务处理方法及装置A service processing method and device based on terminal attitude
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2021年01月29日提交中国专利局、申请号为202110123679.3、申请名称为“一种基于终端姿态的业务处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 202110123679.3 and the application title of "a terminal gesture-based service processing method and device" filed with the China Patent Office on January 29, 2021, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本发明涉及终端支付技术领域,尤其涉及一种基于终端姿态的业务处理方法及装置。The present invention relates to the technical field of terminal payment, and in particular, to a terminal gesture-based service processing method and device.
背景技术Background technique
目前二维码支付已经较为普遍,在被扫场景中,需要用户在手机上进行多步点击操作后才能显示出二维码。例如打开相关支付APP(Application,应用程序),点击显示界面“付款”按钮后,显示出付款二维码。上述显示二维码的方式都需要用户在支付前进行多步手动点击操作,影响了用户体验。At present, QR code payment is relatively common. In the scanned scene, the user needs to perform multi-step click operations on the mobile phone to display the QR code. For example, open the relevant payment APP (Application, application program), click the "payment" button on the display interface, and display the payment QR code. The above methods of displaying the QR code all require the user to perform multi-step manual click operations before payment, which affects the user experience.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种基于终端姿态的业务处理方法及装置,用以提高终端支付的效率,提升用户体验。Embodiments of the present invention provide a terminal gesture-based service processing method and device, so as to improve the efficiency of terminal payment and improve user experience.
第一方面,本发明实施例提供一种基于终端姿态的业务处理方法,包括:In a first aspect, an embodiment of the present invention provides a terminal gesture-based service processing method, including:
获取终端的姿态,所述姿态包括第一姿态和第二姿态;acquiring a 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, the type of the payment device is determined, and the two-dimensional code of the preset application program is invoked for business processing.
上述技术方案中,通过依据终端的姿态和收款设备的类型,自动调用APP的二维码,无需用户任何的点击操作,提高了二维码展示效率,从而提高了终端业务处理能力,提升用户体验。In the above technical solution, by automatically calling the two-dimensional code of the APP according to the posture of the terminal and the type of the payment device, without any click operation by the user, the display efficiency of the two-dimensional code is improved, thereby improving the terminal business processing capability and improving the user. experience.
可选的,所述根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理,包括:Optionally, according to the first posture and the second posture of the terminal, determine the type of the payment device, and call the QR code of the preset application 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 acquired 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 determined to be the second posture, the two-dimensional code of the preset application is invoked to perform business processing.
可选的,所述根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理,包括:Optionally, according to the first posture and the second posture of the terminal, determine the type of the payment device, and call the QR code of the preset application 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 acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
在确定所述收款设备的类型为扫码盒子时,直接调用所述预设的应用程序的二维码进行业务处理。When it is determined that the type of the payment device is a scan code box, the two-dimensional code of the preset application program is directly invoked for business processing.
可选的,所述对所述扫描信息进行识别,确定所述收款设备的类型,包括:Optionally, the identifying the scanning information to determine the type of the payment device includes:
通过训练好的人工智能AI识别算法对所述扫描信息进行识别,确定所述收款设备的类型。The scanned information is identified by the trained artificial intelligence AI identification algorithm, and the type of the payment device is determined.
可选的,所述第一姿态为翻转状态或正面放置的倾斜状态。Optionally, the first posture is a flipped state or a frontally placed tilted state.
可选的,所述方法还包括:Optionally, the method further includes:
若所述收款设备的类型为扫码枪,则在确定所述终端的倾角为预设角度时,调用所述预设的应用程序的二维码进行业务处理。If the type of the payment device is a code scanning gun, when it is determined that the inclination angle of the terminal is a preset angle, the two-dimensional code of the preset application program is called for business processing.
可选的,所述终端的姿态还包括第三姿态;Optionally, the posture of the terminal further includes a third posture;
在调用预设的应用程序的二维码进行业务处理之后,还包括:After calling the QR code of the preset application for business processing, it also includes:
在确定所述终端的姿态为第三姿态时,切换应用程序,并调用切换后的应用程序的二维码进行业务处理。When it is determined that the posture of the terminal is the third posture, the application is switched, and the two-dimensional code of the switched application is invoked to perform business processing.
第二方面,本发明实施例提供一种基于终端姿态的业务处理装置,包括:In a second aspect, an embodiment of the present invention provides a terminal gesture-based service processing device, including:
获取单元,用于获取终端的姿态,所述姿态包括第一姿态和第二姿态;an acquisition unit, configured to acquire a posture of the terminal, the posture includes a first posture and a second posture;
处理单元,用于根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理。The processing unit is configured to determine the type of the payment device according to the first posture and the second posture of the terminal, and call the two-dimensional code of the preset application program 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 acquired 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 determined to be the second posture, the two-dimensional code of the preset application is invoked 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 acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
在确定所述收款设备的类型为扫码盒子时,直接调用所述预设的应用程序的二维码进行业务处理。When it is determined that the type of the payment device is a scan code box, the two-dimensional code of the preset application program is directly invoked for business processing.
可选的,所述处理单元具体用于:Optionally, the processing unit is specifically used for:
通过训练好的AI识别算法对所述扫描信息进行识别,确定所述收款设备的类型。The scanned information is identified by the trained AI identification algorithm, and the type of the payment device is determined.
可选的,所述第一姿态为翻转状态或正面放置的倾斜状态。Optionally, the first posture is a flipped state or a frontally placed tilted state.
可选的,所述处理单元还用于:Optionally, the processing unit is also used for:
若所述收款设备的类型为扫码枪,则在确定所述终端的倾角为预设角度时,调用所述预设的应用程序的二维码进行业务处理。If the type of the payment device is a code scanning gun, when it is determined that the inclination angle of the terminal is a preset angle, the two-dimensional code of the preset application program is called for business processing.
可选的,所述终端的姿态还包括第三姿态;Optionally, the posture of the terminal further includes a third posture;
所述处理单元还用于:The processing unit is also used to:
所述调用预设的应用程序的二维码进行业务处理之后,在确定所述终端的姿态为第三姿态时,切换应用程序,并调用切换后的应用程序的二维码进行业务处理。After the two-dimensional code of the preset application is called for business processing, when it is determined that the posture of the terminal is the third posture, the application is switched, and the two-dimensional code of the switched application is called for business processing.
第三方面,本发明实施例还提供一种计算设备,包括:In a third aspect, an embodiment of the present invention further provides a computing device, including:
存储器,用于存储程序指令;memory for storing program instructions;
处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行上述基于终端姿态的业务处理方法。The processor is configured to call the program instructions stored in the memory, and execute the above-mentioned terminal gesture-based service processing method according to the obtained program.
第四方面,本发明实施例还提供一种计算机可读非易失性存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述基于终端姿态的业务处理方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, including computer-readable instructions, when the computer reads and executes the computer-readable instructions, the computer is made to execute the above terminal gesture-based storage medium. business processing method.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的一种系统架构的示意图;1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
图2为本发明实施例提供的一种扫码盒子的示意图;2 is a schematic diagram of a code scanning box provided by an embodiment of the present invention;
图3为本发明实施例提供的一种扫码枪的示意图;3 is a schematic diagram of a code scanning gun provided by an embodiment of the present invention;
图4为本发明实施例提供的一种基于终端姿态的业务处理方法的流程示意图;4 is a schematic flowchart of a service processing method based on terminal gestures provided by an embodiment of the present invention;
图5为本发明实施例提供的一种终端姿态的示意图;FIG. 5 is a schematic diagram of a terminal posture according to an embodiment of the present invention;
图6为本发明实施例提供的一种终端姿态的示意图;FIG. 6 is a schematic diagram of a terminal posture according to an embodiment of the present invention;
图7为本发明实施例提供的一种支付业务流程的示意图;7 is a schematic diagram of a payment business process provided by an embodiment of the present invention;
图8为本发明实施例提供的一种基于终端姿态的业务处理装置的结构示意图。FIG. 8 is a schematic structural diagram of a terminal gesture-based service processing apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施 例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明实施例提供的一种系统架构。如图1所示,该系统架构可以包括用户手机和商户两大部分。FIG. 1 is a system architecture provided by an embodiment of the present invention. As shown in Figure 1, the system architecture can include two parts: the user's mobile phone and the merchant.
1)用户手机。1) User mobile phone.
(1)硬件层。(1) Hardware layer.
主要包含摄像头、陀螺仪、AI(Artificial Intelligence,人工智能)芯片等,摄像头用于采集图像信息,陀螺仪用于采集手机姿态信息,AI芯片为物识别AI算法模型提供运行基础。It mainly includes cameras, gyroscopes, AI (Artificial Intelligence) chips, etc. The camera is used to collect image information, the gyroscope is used to collect mobile phone attitude information, and the AI chip provides the operating basis for the object recognition AI algorithm model.
(2)系统层。(2) System layer.
信息采集及控制模块用于控制系统硬件采集相关图像、姿态信息,并将相关信息作为参数传输给系统应用中物识别AI算法模型用于分析。The information collection and control module is used to control the hardware of the system to collect relevant images and attitude information, and transmit the relevant information as parameters to the AI algorithm model of object recognition in the system application for analysis.
(3)应用层。(3) Application layer.
对接系统应用,集成相关支付SDK(Software Development Kit,软件开发工具包)或APP(Application,应用程序),当物识别AI算法模型分析结果表明可以显示二维码时,调用相关SDK或APP接口显示二维码用于业务处理。Docking the system application, integrating the relevant payment SDK (Software Development Kit, software development kit) or APP (Application, application program), when the analysis result of the object recognition AI algorithm model shows that the QR code can be displayed, call the relevant SDK or APP interface to display QR codes are used for business processing.
2)商户。2) Merchant.
(1)扫码盒子等收款设备。(1) Scanning box and other payment equipment.
当用户展示二维码后,通过扫码盒子、扫码枪等收款设备读取二维码信息,并将信息传输至商户后台。其中,扫码盒子可以如图2所示结构,该扫码盒子可以放置在店铺的桌面上,其上部为扫码窗口,用户展示二维码的时候需要翻转手机,手机的显示屏朝向扫码盒子的扫码窗口才可以扫码成功。图3所示的是扫码枪的一种结构,该扫码枪为手持设备,需要收款人员手持操作,手持时扫码窗口是朝下的,此时手机需要处于倾斜状态,将显示屏朝向扫码窗口。After the user displays the QR code, the QR code information is read through the scanning box, scanning gun and other payment devices, and the information is transmitted to the merchant's background. Among them, the scan code box can be structured as shown in Figure 2. The scan code box can be placed on the desktop of the store, and the upper part of the scan code box is the scan code window. When the user displays the two-dimensional code, the mobile phone needs to be turned over, and the display screen of the mobile phone is facing the scan code. The scan code window of the box can scan the code successfully. Figure 3 shows a structure of the code scanning gun. The code scanning gun is a handheld device and needs to be hand-held by the payee. When holding the code, the code scanning window is facing down. Towards the scan code window.
(2)商户后台。(2) Merchant backstage.
负责下订单并将交易上送至相关支付机构或系统。Responsible for placing the order and sending the transaction to the relevant payment institution or system.
需要说明的是,上述图1所示的结构仅是一种示例,本发明实施例对此不做限定。It should be noted that the structure shown in FIG. 1 above is only an example, which is not limited in this embodiment of the present invention.
基于上述描述,图4详细的示出了本发明实施例提供的一种基于终端姿态的业务处理方法的流程,该流程可以由基于终端姿态的业务处理装置执行。Based on the above description, FIG. 4 shows in detail a flow of a terminal gesture-based service processing method provided by an embodiment of the present invention, and the flow may be executed by a terminal gesture-based service processing apparatus.
如图4所示,该流程具体包括:As shown in Figure 4, the process specifically includes:
步骤401,获取终端的姿态,所述姿态包括第一姿态和第二姿态。Step 401: Obtain a posture of the terminal, where the posture includes a first posture and a second posture.
在本发明实施例中,终端的第一姿态可以为翻转姿态或正面放置的倾斜姿态,第二姿态可以为上下摆动或左右摆动的姿态,终端的姿态可以通过终端内置的陀螺仪来识别,例如终端翻转预设角度后,可以确认为是翻转姿态。终端的显示屏的正面的前端倾斜一定角度时,可以认为是正面放置的倾斜姿态,如图5所示。该预设角度和一定角度可以依据经验设置。如图6所示,图6中的a是上下摆动的姿态,图6中的b为左右摆动的姿态。In this embodiment of the present invention, the first posture of the terminal may be a flipping posture or an inclined posture placed on the front side, the second posture may be a posture of swinging up and down or swinging left and right, and the posture of the terminal may be recognized by the built-in gyroscope of the terminal, for example After the terminal flips the preset angle, it can be confirmed as a flipped posture. When the front end of the front of the display screen of the terminal is inclined at a certain angle, it can be considered as a front-facing inclined posture, as shown in FIG. 5 . The preset angle and a certain angle can be set according to experience. As shown in FIG. 6 , a in FIG. 6 is a posture of swinging up and down, and b in FIG. 6 is a posture of swinging left and right.
需要说明的是,该第一姿态还可以设置为终端的显示界面的解锁动作,即显示界面处于锁定状态时,此时收到终端的第一姿态时,可以确认是解释动作,调用解锁指令,解除显示界面的锁定状态。It should be noted that the first gesture can also be set as the unlocking action of the display interface of the terminal, that is, when the display interface is in a locked state, when the first gesture of the terminal is received at this time, it can be confirmed that it is an interpretation action, and the unlocking instruction is called, Unlock the display interface.
步骤402,根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理。 Step 402 , according to the first posture and the second posture of the terminal, determine the type of the payment device, and call the two-dimensional code of the preset application program for business processing.
具体的可以分为以下两种方式来描述:Specifically, it can be described in the following two ways:
方式一:method one:
在确定终端的姿态为第一姿态时,通过终端的摄像头获取收款设备的扫描信息,对扫描信息进行识别,确定收款设备的类型。然后在确定收款设备的类型为扫码盒子且确定终端的姿态为第二姿态时,调用预设的应用程序的二维码进行业务处理。When it is determined that the posture of the terminal is the first posture, the scanning information of the payment device is acquired through the camera of the terminal, the scanning information is identified, and the type of the payment device is determined. Then, when it is determined that the type of the payment device is a code scanning box and the posture of the terminal is determined to be the second posture, the QR code of the preset application is called to perform business processing.
当第一姿态为翻转姿态时,可以通过终端的前置摄像头获取收款设备的扫描信息。即启用前置摄像头来获取收款设备的图像信息。When the first posture is the flip posture, the scanning information of the payment device can be acquired through the front camera of the terminal. That is to enable the front camera to obtain the image information of the payment device.
当第一姿态为证明放置的倾斜姿态时,可以通过终端的前置摄像头获取 收款设备的扫描信息。需要说明的是,在获取收款设备的扫描信息时,可以也可以通过后置摄像头来采集,在实际应用时,可以依据经验来选择。When the first posture is an inclined posture for proving placement, the scanning information of the payment device can be obtained through the front camera of the terminal. It should be noted that, when acquiring the scanning information of the payment device, it can also be collected through the rear camera, and in practical application, it can be selected based on experience.
收款设备的类型可以包括扫码盒子和扫码枪两种类型。The types of payment equipment can include two types: scan code box and scan code gun.
可以通过训练好的AI识别算法对扫描信息进行识别,得到收款设备的类型。The scanned information can be recognized by the trained AI recognition algorithm to obtain the type of the payment device.
其中,训练好的AI识别算法是经过机器学习训练后的物识别AI算法。Among them, the trained AI recognition algorithm is the object recognition AI algorithm trained by machine learning.
方式二:Method two:
在确定终端的姿态为第一姿态且在预设时间间隔内终端的姿态为第二姿态时,首先通过终端的摄像头获取收款设备的扫描信息;对扫描信息进行识别,确定收款设备的类型。然后在确定收款设备的类型为扫码盒子时,直接调用预设的应用程序的二维码进行业务处理。其中,预设时间间隔可以依据经验设置。例如可以设置为5s,即接收到第一姿态之后的5s内接收到第二姿态。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 the preset time interval, first obtain the scanning information of the payment device through the camera of the terminal; identify the scanning information to determine the type of the payment device . Then, when it is determined that the type of the payment device is a code-scanning box, the QR code of the preset application program is directly invoked for business processing. The preset time interval can be set according to experience. For example, it can be set to 5s, that is, the second gesture is received within 5s after the first gesture is received.
当收款设备的类型为扫码枪时,在确定终端的倾角为预设角度时,调用预设的应用程序的二维码进行业务处理。预设角度可以依据经验设置,如图5所示的正面放置的倾斜姿态。When the type of the payment device is a barcode scanner, when the inclination angle of the terminal is determined to be the preset angle, the QR code of the preset application is called for business processing. The preset angle can be set according to experience, such as the inclined posture of frontal placement as shown in FIG. 5 .
此外,在调用预设的应用程序的二维码之后,还可以切换其它应用程序的二维码,具体的,在确定终端处于第三姿态时,切换应用程序,并调用切换后的应用程序的二维码进行业务处理。In addition, after calling the QR code of the preset application program, the QR code of other application programs can also be switched. Specifically, when it is determined that the terminal is in the third posture, the application program is switched, and the switched application program's QR code is called. QR code for business processing.
上述第二姿态和第三姿态可以为上下摆动或左右摆动。例如,第二姿态为上下摆动时,第三姿态为左右摆动;第二姿态为左右摆动时,第三姿态为上下摆动。在实际应用过程中,可以自行设置。The above-mentioned second posture and the third posture may be swing up and down or swing left and right. For example, when the second posture is swinging up and down, the third posture is swinging left and right; when the second posture is swinging left and right, the third posture is swinging up and down. In the actual application process, you can set it yourself.
上述业务处理可以理解为是支付业务或者扫码识别业务等等。The above-mentioned business processing can be understood as payment business or scanning code identification business and so on.
为了更好的解释本发明实施例,下面将在具体的实施场景下来描述上述基于终端姿态的业务处理的过程。In order to better explain the embodiments of the present invention, the above-mentioned process of terminal gesture-based service processing will be described below in a specific implementation scenario.
如图7所示的被扫支付业务流程,具体如下:The scanned payment business process shown in Figure 7 is as follows:
(1)用户解锁手机用于支付。(1) The user unlocks the mobile phone for payment.
(2)手机翻转并对准扫码盒子等设备,当系统应用通过陀螺仪识别到手机处于翻转状态时会打开前置摄像头采集图像信息,并传输给物识别AI算法模型。(2) The mobile phone is turned over and aligned with the scan code box and other devices. When the system application recognizes that the mobile phone is in an inverted 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)经过机器学习训练后的物识别AI算法模型对图像信息进行分析处理,用于识别是否存在扫码盒子等业务处理设备,当识别到存在扫码盒子等业务处理设备时等待用户确认显码动作。(3) The object recognition AI algorithm model trained by machine learning analyzes and processes the image information, which is used to identify whether there are business processing devices such as code scanning boxes. code action.
(4)系统应用通过陀螺仪识别到用户上下摆动手机确认显码动作后,调用相关支付SDK或APP显码接口自动显示支付二维码(若用户处于未登录状态时需先在相关支付APP内登录),若用户想要更换支付方式,可通过左右摆动手机更换。(4) After the system application recognizes that the user swings the mobile phone up and down to confirm the code display action through the gyroscope, it will call the relevant payment SDK or APP code display interface to automatically display the payment QR code (if the user is not logged in, he must first enter the payment APP in the relevant payment APP) login), if the user wants to change the payment method, he can change it by swinging the mobile phone left and right.
(5)商户通过扫码盒子等收款设备读取二维码。(5) Merchants read the QR code through payment devices such as scan code boxes.
(6)商户将二维码信息传输至商户后台,商户后台下订单并将交易上送至相关支付机构或系统。(6) The merchant transmits the QR code information to the merchant's background, and the merchant's background places an 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 acquired, 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 a preset application is called. The QR code of the program is used for business processing. By automatically calling the QR code of the APP according to the posture of the terminal and the type of the payment device, without any click operation by the user, the display efficiency of the QR code is improved, thereby improving the terminal business processing capability and improving the user experience.
基于相同的技术构思,图8示例性的示出了本发明实施例提供的一种基于终端姿态的业务处理装置的结构,该装置可以执行基于终端姿态的业务处理流程。Based on the same technical concept, FIG. 8 exemplarily shows the structure of a terminal gesture-based service processing apparatus provided by an embodiment of the present invention, and the apparatus can execute a terminal gesture-based service processing flow.
如图8所示,该装置具体包括:As shown in Figure 8, the device specifically includes:
获取单元801,用于获取终端的姿态,所述姿态包括第一姿态和第二姿态;an acquisition unit 801, configured to acquire a posture of the terminal, the posture includes a first posture and a second posture;
处理单元802,用于根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理。The processing unit 802 is configured to determine the type of the payment device according to the first posture and the second posture of the terminal, and call the two-dimensional code of the preset application program to perform business processing.
可选的,所述处理单元802具体用于:Optionally, the processing unit 802 is specifically configured to:
在确定所述终端的姿态为所述第一姿态时,通过所述终端的摄像头获取 所述收款设备的扫描信息,并对所述扫描信息进行识别,确定所述收款设备的类型;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 scanning box and the posture of the terminal is determined to be the second posture, the two-dimensional code of the preset application is invoked to perform business processing.
可选的,所述处理单元802具体用于:Optionally, the processing unit 802 is specifically configured to:
在确定所述终端的姿态为所述第一姿态且在预设时间间隔内所述终端的姿态为所述第二姿态时,通过所述终端的摄像头获取所述收款设备的扫描信息,并对所述扫描信息进行识别,确定所述收款设备的类型;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 acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
在确定所述收款设备的类型为扫码盒子时,直接调用所述预设的应用程序的二维码进行业务处理。When it is determined that the type of the payment device is a scan code box, the two-dimensional code of the preset application program is directly invoked for business processing.
可选的,所述处理单元802具体用于:Optionally, the processing unit 802 is specifically configured to:
通过训练好的AI识别算法对所述扫描信息进行识别,确定所述收款设备的类型。The scanned information is identified by the trained AI identification algorithm, and the type of the payment device is determined.
可选的,所述第一姿态为翻转状态或正面放置的倾斜状态。Optionally, the first posture is a flipped state or a frontally placed tilted state.
可选的,所述处理单元802还用于:Optionally, the processing unit 802 is further configured to:
若所述收款设备的类型为扫码枪,则在确定所述终端的倾角为预设角度时,调用所述预设的应用程序的二维码进行业务处理。If the type of the payment device is a code scanning gun, when it is determined that the inclination angle of the terminal is a preset angle, the two-dimensional code of the preset application program is called for business processing.
可选的,所述终端的姿态还包括第三姿态;Optionally, the posture of the terminal further includes a third posture;
所述处理单元802还用于:The processing unit 802 is also used for:
在调用预设的应用程序的二维码进行业务处理之后,在确定所述终端的姿态为第三姿态时,切换应用程序,并调用切换后的应用程序的二维码进行业务处理。After calling the two-dimensional code of the preset application program for business processing, when it is determined that the posture of the terminal is the third posture, the application program is switched, and the two-dimensional code of the switched application program is called for business processing.
基于相同的技术构思,本发明实施例还提供了一种计算设备,包括:Based on the same technical concept, an embodiment of the present invention also provides a computing device, including:
存储器,用于存储程序指令;memory for storing program instructions;
处理器,用于调用存储器中存储的程序指令,按照获得的程序执行上述基于终端姿态的业务处理方法。The processor is configured to call the program instructions stored in the memory, and execute the above-mentioned service processing method based on the terminal gesture according to the obtained program.
基于相同的技术构思,本发明实施例还提供了一种计算机可读非易失性 存储介质,包括计算机可读指令,当计算机读取并执行计算机可读指令时,使得计算机执行上述基于终端姿态的业务处理方法。Based on the same technical idea, an 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 terminal gesture-based business processing method.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (16)

  1. 一种基于终端姿态的业务处理方法,其特征在于,包括:A service processing method based on terminal attitude, comprising:
    获取终端的姿态,所述姿态包括第一姿态和第二姿态;acquiring a 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, the type of the payment device is determined, and the two-dimensional code of the preset application program is invoked for business processing.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理,包括:The method according to claim 1, wherein the type of the payment device is determined according to the first posture and the second posture of the terminal, and a QR code of a preset application is invoked to perform business processing, include:
    在确定所述终端的姿态为所述第一姿态时,通过所述终端的摄像头获取所述收款设备的扫描信息,并对所述扫描信息进行识别,确定所述收款设备的类型;When it is determined that the posture of the terminal is the first posture, the scanning information of the payment device is acquired 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 determined to be the second posture, the two-dimensional code of the preset application is invoked to perform business processing.
  3. 如权利要求1所述的方法,其特征在于,所述根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理,包括:The method according to claim 1, wherein the type of the payment device is determined according to the first posture and the second posture of the terminal, and a QR code of a preset application is invoked to perform business processing, include:
    在确定所述终端的姿态为所述第一姿态且在预设时间间隔内所述终端的姿态为所述第二姿态时,通过所述终端的摄像头获取所述收款设备的扫描信息,并对所述扫描信息进行识别,确定所述收款设备的类型;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 acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
    在确定所述收款设备的类型为扫码盒子时,直接调用所述预设的应用程序的二维码进行业务处理。When it is determined that the type of the payment device is a scan code box, the two-dimensional code of the preset application program is directly invoked for business processing.
  4. 如权利要求2或3所述的方法,其特征在于,所述对所述扫描信息进行识别,确定所述收款设备的类型,包括:The method according to claim 2 or 3, wherein the identifying the scanning information to determine the type of the payment device comprises:
    通过训练好的人工智能AI识别算法对所述扫描信息进行识别,确定所述收款设备的类型。The scanned information is identified by the trained artificial intelligence AI identification algorithm, and the type of the payment device is determined.
  5. 如权利要求1至3任一项所述的方法,其特征在于,所述第一姿态为 翻转状态或正面放置的倾斜状态。The method according to any one of claims 1 to 3, wherein the first posture is a flipped state or a front-facing inclined state.
  6. 如权利要求1至3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    若所述收款设备的类型为扫码枪,则在确定所述终端的倾角为预设角度时,调用所述预设的应用程序的二维码进行业务处理。If the type of the payment device is a code scanning gun, when it is determined that the inclination angle of the terminal is a preset angle, the two-dimensional code of the preset application program is called for business processing.
  7. 如权利要求1至3任一项所述的方法,其特征在于,所述终端的姿态还包括第三姿态;The method according to any one of claims 1 to 3, wherein the posture of the terminal further comprises a third posture;
    在调用预设的应用程序的二维码进行业务处理之后,还包括:After calling the QR code of the preset application for business processing, it also includes:
    在确定所述终端的姿态为第三姿态时,切换应用程序,并调用切换后的应用程序的二维码进行业务处理。When it is determined that the posture of the terminal is the third posture, the application is switched, and the two-dimensional code of the switched application is invoked to perform business processing.
  8. 一种基于终端姿态的业务处理装置,其特征在于,包括:A terminal gesture-based service processing device, comprising:
    获取单元,用于获取终端的姿态,所述姿态包括第一姿态和第二姿态;an acquisition unit, configured to acquire a posture of the terminal, the posture includes a first posture and a second posture;
    处理单元,用于根据所述终端的第一姿态和第二姿态,确定收款设备的类型,并调用预设的应用程序的二维码进行业务处理。The processing unit is configured to determine the type of the payment device according to the first posture and the second posture of the terminal, and call the two-dimensional code of the preset application program to perform business processing.
  9. 如权利要求8所述的装置,其特征在于,所述处理单元具体用于:The apparatus of claim 8, wherein the processing unit is specifically configured to:
    在确定所述终端的姿态为所述第一姿态时,通过所述终端的摄像头获取所述收款设备的扫描信息,并对所述扫描信息进行识别,确定所述收款设备的类型;When it is determined that the posture of the terminal is the first posture, the scanning information of the payment device is acquired 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 determined to be the second posture, the two-dimensional code of the preset application is invoked to perform business processing.
  10. 如权利要求8所述的装置,其特征在于,所述处理单元具体用于:The apparatus of claim 8, wherein the processing unit is specifically configured to:
    在确定所述终端的姿态为所述第一姿态且在预设时间间隔内所述终端的姿态为所述第二姿态时,通过所述终端的摄像头获取所述收款设备的扫描信息,并对所述扫描信息进行识别,确定所述收款设备的类型;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 acquired through the camera of the terminal, and Identifying the scanned information to determine the type of the payment device;
    在确定所述收款设备的类型为扫码盒子时,直接调用所述预设的应用程序的二维码进行业务处理。When it is determined that the type of the payment device is a scan code box, the two-dimensional code of the preset application program is directly invoked for business processing.
  11. 如权利要求9或10所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 9 or 10, wherein the processing unit is specifically configured to:
    通过训练好的AI识别算法对所述扫描信息进行识别,确定所述收款设备的类型。The scanned information is identified by the trained AI identification algorithm, and the type of the payment device is determined.
  12. 如权利要求8至10任一项所述的装置,其特征在于,所述第一姿态为翻转状态或正面放置的倾斜状态。The device according to any one of claims 8 to 10, characterized in that, the first posture is a flipped state or an inclined state placed on the front.
  13. 如权利要求8至10任一项所述的装置,其特征在于,所述处理单元还用于:The device according to any one of claims 8 to 10, wherein the processing unit is further configured to:
    若所述收款设备的类型为扫码枪,则在确定所述终端的倾角为预设角度时,调用所述预设的应用程序的二维码进行业务处理。If the type of the payment device is a code scanning gun, when it is determined that the inclination angle of the terminal is a preset angle, the two-dimensional code of the preset application program is called for business processing.
  14. 如权利要求8至10任一项所述的装置,其特征在于,所述终端的姿态还包括第三姿态;The apparatus according to any one of claims 8 to 10, wherein the posture of the terminal further comprises a third posture;
    所述处理单元还用于:The processing unit is also used to:
    在调用预设的应用程序的二维码进行业务处理之后,在确定所述终端的姿态为第三姿态时,切换应用程序,并调用切换后的应用程序的二维码进行业务处理。After calling the two-dimensional code of the preset application program for business processing, when it is determined that the posture of the terminal is the third posture, the application program is switched, and the two-dimensional code of the switched application program is called for business processing.
  15. 一种计算设备,其特征在于,包括:A computing device, comprising:
    存储器,用于存储程序指令;memory for storing program instructions;
    处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行权利要求1至7任一项所述的方法。The processor is configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 7 according to the obtained program.
  16. 一种计算机可读非易失性存储介质,其特征在于,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行如权利要求1至7任一项所述的方法。A computer-readable non-volatile storage medium, characterized in that it includes computer-readable instructions, when the computer reads and executes the computer-readable instructions, the computer is made to perform the execution of any one of claims 1 to 7. Methods.
PCT/CN2021/128875 2021-01-29 2021-11-05 Service processing method and apparatus based on terminal postures WO2022160843A1 (en)

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 (1)

Publication Number Publication Date
WO2022160843A1 true WO2022160843A1 (en) 2022-08-04

Family

ID=75986638

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128875 WO2022160843A1 (en) 2021-01-29 2021-11-05 Service processing method and apparatus based on terminal postures

Country Status (3)

Country Link
CN (1) CN112862479A (en)
TW (1) TW202230246A (en)
WO (1) WO2022160843A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116596013A (en) * 2023-07-18 2023-08-15 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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
CN117435087A (en) * 2022-07-21 2024-01-23 荣耀终端有限公司 Two-dimensional code identification method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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
CN110009330A (en) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 Method of payment and device
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN111209904A (en) * 2018-11-21 2020-05-29 华为技术有限公司 Service processing method and related device
CN110009330A (en) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 Method of payment and device
CN112862479A (en) * 2021-01-29 2021-05-28 中国银联股份有限公司 Service processing method and device based on terminal posture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116596013A (en) * 2023-07-18 2023-08-15 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium
CN116596013B (en) * 2023-07-18 2023-11-03 立臻科技(昆山)有限公司 Bar code providing method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
TW202230246A (en) 2022-08-01
CN112862479A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2022160843A1 (en) Service processing method and apparatus based on terminal postures
US10360539B1 (en) System and method for mobile check deposit
US10037581B1 (en) Methods systems and computer program products for motion initiated document capture
US20150227946A1 (en) Generating barcode and authenticating based on barcode
US10552810B1 (en) System and method for remote deposit of financial instruments
CN104123485A (en) Real-name system information binding method and device
CN112417421A (en) Scanning method, scanning device, electronic equipment and readable storage medium
CN107741783B (en) Electronic transfer method and system
US20170193493A1 (en) Methods and apparatuses for mailing items
EP3175325B1 (en) Reflection-based control activation
CN112613475A (en) Code scanning interface display method and device, mobile terminal and storage medium
KR100648161B1 (en) System and Method For Collaborative Handwriting Input
CN108596122A (en) A kind of auth method, device, authentication machine and computer-readable medium
CN108229410A (en) Image processing method and equipment
CN107577973B (en) image display method, image identification method and equipment
US10296801B2 (en) Systems and methods for providing a continuous check scanner utilizing a tablet computer and camera
US10218900B2 (en) Document reorientation processing
US20190007536A1 (en) Handheld writing implement form factor mobile device
US10356318B1 (en) Long document capture on mobile devices
WO2018228048A1 (en) Image acquisition method, terminal, device, and computer-readable storage medium
WO2018120353A1 (en) Vr capturing method, system and mobile terminal
US11113758B1 (en) User interface for document imaging
US10652472B2 (en) Enhanced automatic perspective and horizon correction
CN109218599B (en) Display method of panoramic image and electronic device thereof
WO2021012096A1 (en) Media resource pushing apparatus and method, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21922433

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21922433

Country of ref document: EP

Kind code of ref document: A1