[go: up one dir, main page]

CN109034827A - Payment method, payment device, wearable device and storage medium - Google Patents

Payment method, payment device, wearable device and storage medium Download PDF

Info

Publication number
CN109034827A
CN109034827A CN201811001246.5A CN201811001246A CN109034827A CN 109034827 A CN109034827 A CN 109034827A CN 201811001246 A CN201811001246 A CN 201811001246A CN 109034827 A CN109034827 A CN 109034827A
Authority
CN
China
Prior art keywords
payment
information
server
payment information
amount
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811001246.5A
Other languages
Chinese (zh)
Inventor
魏苏龙
林肇堃
麦绮兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811001246.5A priority Critical patent/CN109034827A/en
Publication of CN109034827A publication Critical patent/CN109034827A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a payment method, a payment device, wearable equipment and a storage medium, wherein the method comprises the following steps: when the payment information is collected through the camera, voice payment prompt information is played through a bone conduction loudspeaker or an earphone; acquiring voice data acquired by a microphone, and identifying the voice data to obtain payment amount; the payment information and the payment amount are sent to the server for the server pays according to the payment information and the payment amount, manual operation of a user in a payment process is reduced, the payment convenience is improved, the payment efficiency is improved, time is saved for the user, and meanwhile the payment server has high safety.

Description

支付方法、装置、穿戴式设备及存储介质Payment method, device, wearable device and storage medium

技术领域technical field

本申请实施例涉及计算机技术,尤其涉及一种支付方法、装置、穿戴式设备及存储介质。The embodiment of the present application relates to computer technology, and in particular to a payment method, device, wearable device and storage medium.

背景技术Background technique

随着计算设备的发展以及互联网技术的进步,用户和智能设备之间的交互越来越频繁,如使用智能手机观看电影、电视剧,使用智能电视观看电视节目,使用智能手表查看短消息、体征参数等。With the development of computing equipment and the advancement of Internet technology, the interaction between users and smart devices is becoming more and more frequent, such as using smart phones to watch movies and TV shows, using smart TVs to watch TV programs, and using smart watches to view short messages and physical parameters Wait.

现有技术中,用户购物完毕后需要进行相应的支付活动,通常是利用智能手机进行扫码支付,这种方式存在缺陷,需要改进。In the prior art, the user needs to perform corresponding payment activities after shopping, usually by using a smart phone to scan codes for payment. This method has defects and needs to be improved.

发明内容Contents of the invention

本申请提供了一种支付方法、装置、穿戴式设备及存储介质,减少了用户在支付过程中的手动操作,提高了支付便捷性,提高了支付效率,为用户节省了时间,同时具有较高的安全性。The application provides a payment method, device, wearable device and storage medium, which reduces the manual operation of the user in the payment process, improves the convenience of payment, improves the efficiency of payment, saves time for the user, and has a higher security.

第一方面,本申请实施例提供了一种支付方法,包括:In the first aspect, the embodiment of this application provides a payment method, including:

当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息;When the payment information is collected through the camera, the voice payment prompt information is played through the bone conduction speaker or earphone;

获取麦克风采集到的语音数据,对所述语音数据进行识别得到支付金额;Obtain the voice data collected by the microphone, and identify the voice data to obtain the payment amount;

将所述支付信息和所述支付金额发送至服务器,用于服务器根据所述支付信息和所述支付金额进行支付。Sending the payment information and the payment amount to the server, for the server to make payment according to the payment information and the payment amount.

第二方面,本申请实施例还提供了一种支付装置,包括:In the second aspect, the embodiment of the present application also provides a payment device, including:

提示模块,用于当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息;The prompt module is used to play the voice payment prompt information through the bone conduction speaker or earphone when the payment information is collected by the camera;

识别模块,用于获取麦克风采集到的语音数据,对所述语音数据进行识别得到支付金额;The identification module is used to obtain the voice data collected by the microphone, and identify the voice data to obtain the payment amount;

发送模块,用于将所述支付信息和所述支付金额发送至服务器,用于服务器根据所述支付信息和所述支付金额进行支付。A sending module, configured to send the payment information and the payment amount to a server, for the server to make payment according to the payment information and the payment amount.

第三方面,本申请实施例还提供了一种穿戴式设备,包括:处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例所述的支付方法。In the third aspect, the embodiment of the present application also provides a wearable device, including: a processor, a memory, and a computer program stored on the memory and operable on the processor, and the processor implements the computer program when executing the computer program. The payment method described in the embodiment of this application.

第四方面,本申请实施例还提供了一种包含穿戴式设备可执行指令的存储介质,所述穿戴式设备可执行指令在由穿戴式设备处理器执行时用于执行本申请实施例所述的支付方法。In the fourth aspect, the embodiment of the present application also provides a storage medium containing executable instructions of the wearable device, and the executable instruction of the wearable device is used to execute the instructions described in the embodiment of the present application when executed by the processor of the wearable device. payment method.

本方案中,当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息,然后,获取麦克风采集到的语音数据,并通过语音识别得到支付金额,最后,将支付信息和支付金额一起发送至服务器,用于服务器根据支付信息和支付金额进行支付,减少了用户在支付过程中的手动操作,提高了支付的便捷性,提高了支付效率,为用户节省了时间,同时具有较高的安全性。In this solution, when the payment information is collected through the camera, the voice payment prompt information is played through the bone conduction speaker or earphone, and then the voice data collected by the microphone is obtained, and the payment amount is obtained through voice recognition. Finally, the payment information and payment The amount is sent to the server together for the server to pay according to the payment information and payment amount, which reduces the manual operation of the user in the payment process, improves the convenience of payment, improves the payment efficiency, saves time for the user, and has a relatively High security.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1是本申请实施例提供的一种支付方法的流程图;Fig. 1 is a flow chart of a payment method provided by the embodiment of the present application;

图2是本申请实施例提供的另一种支付方法的流程图;Figure 2 is a flow chart of another payment method provided by the embodiment of this application;

图3是本申请实施例提供的另一种支付方法的流程图;Fig. 3 is a flow chart of another payment method provided by the embodiment of this application;

图4是本申请实施例提供的另一种支付方法的流程图;Fig. 4 is a flowchart of another payment method provided by the embodiment of the present application;

图5是本申请实施例提供的一种支付装置的结构框图;Fig. 5 is a structural block diagram of a payment device provided by an embodiment of the present application;

图6是本申请实施例提供的一种穿戴式设备的结构示意图;Fig. 6 is a schematic structural diagram of a wearable device provided by an embodiment of the present application;

图7是本申请实施例提供的一种穿戴式设备的示意实物图。Fig. 7 is a schematic physical diagram of a wearable device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are used to explain the present application rather than limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures.

图1是本申请实施例提供的一种支付方法的流程图,可适用于使用穿戴式设备完成移动支付的情况,该方法可以由本申请实施例提供的穿戴式设备来执行,该穿戴式设备的支付装置可采用软件和/或硬件的方式实现,如图1所示,本实施例提供的具体方案可以包括:Figure 1 is a flow chart of a payment method provided by the embodiment of the application, which is applicable to the situation of using a wearable device to complete mobile payment, and the method can be executed by the wearable device provided by the embodiment of the application, the wearable device The payment device can be realized by means of software and/or hardware, as shown in Figure 1, the specific solution provided by this embodiment can include:

步骤S101、当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息。Step S101, when the payment information is collected by the camera, play the voice payment prompt information through the bone conduction speaker or earphone.

本申请实施例提供的支付方法可适用于任意的支付场景,例如:购物、转账和交通购票等。穿戴式设备的语音支付功能可以是在采集到支付信息时自动开启,也可以是在采集到支付信息之前用户通过语音或手动操作控制开启。例如,穿戴式设备调用摄像头拍摄或者扫描图像,当采集到支付信息时,自动开启语音支付功能,并通过骨传导扬声器或者耳机向用户播放语音支付提示信息,以提示用户将会有支付任务。其中,支付信息可以理解为表示需要用户进行金钱交易的标识信息,并可保存在穿戴式设备的缓存区。The payment method provided in this embodiment of the application can be applied to any payment scenario, such as shopping, transfer, and transportation ticket purchase. The voice payment function of the wearable device can be automatically turned on when the payment information is collected, or it can be turned on by the user through voice or manual operation control before the payment information is collected. For example, a wearable device uses a camera to capture or scan an image. When payment information is collected, the voice payment function is automatically enabled, and a voice payment prompt is played to the user through a bone conduction speaker or earphone to remind the user that there will be a payment task. Wherein, the payment information can be understood as identification information indicating that the user needs to conduct money transactions, and can be stored in the cache area of the wearable device.

示例性的,当用户佩戴穿戴式设备在商场中购物,进行结账时,穿戴式设备上的摄像头同时扫描到柜台上的多个二维码图像,其中包括商家公众号二维码和支付二维码,经过图像识别与分析,确认出商家的支付二维码,此时支付信息即支付二维码,当然用户也可以提前确认商家的支付二维码图像,直接利用穿戴式设备扫描该图像,采集支付信息;或者,穿戴式设备上的摄像头拍摄到柜台上的标注有收款人名称和收款账号的图像后,经过图像识别与分析,确认图像中的收款人名称是该商家,收款账号是商家账号,此时支付信息即收款人名称和收款账号。当采集到支付信息时,便向用户播放语音支付提示信息,该语音支付提示信息的内容,例如,可以是“是否进行当前支付”。相比于现有技术中需要用户手动开启移动终端的扫描功能,并手动扫描商家收款码进行支付的情形,本实施例利用穿戴式设备自动采集支付信息后开启语音支付功能,或者控制穿戴式设备开启语音支付功能后自动采集支付信息,均可以省略用户的手动扫描的支付操作,提高支付便捷性。Exemplarily, when a user wears a wearable device to shop in a mall and checks out, the camera on the wearable device scans multiple QR code images on the counter at the same time, including the QR code of the merchant's official account and the payment QR code. After image recognition and analysis, the payment QR code of the merchant is confirmed. At this time, the payment information is the payment QR code. Of course, the user can also confirm the payment QR code image of the merchant in advance, and directly use the wearable device to scan the image. Collect payment information; or, after the camera on the wearable device captures the image on the counter marked with the name of the payee and the account number of the payee, after image recognition and analysis, it is confirmed that the name of the payee in the image is the merchant. The payment account is the merchant account, and the payment information at this time is the name of the payee and the account number of the payee. When the payment information is collected, the voice payment prompt information is played to the user, and the content of the voice payment prompt information may be, for example, "whether to make the current payment". Compared with the situation in the prior art that requires the user to manually turn on the scanning function of the mobile terminal and manually scan the payment code of the merchant to make payment, this embodiment uses the wearable device to automatically collect the payment information and then turn on the voice payment function, or control the wearable After the voice payment function is turned on, the device automatically collects payment information, which can omit the user's manual scanning payment operation and improve the convenience of payment.

其中,关于播放支付提示的形式可以根据用户偏好以及用户所处环境进行切换,具体可以是穿戴式设备根据用户预先设置以及检测到的环境信息进行自动切换,也可以是用户自行控制切换,其中,环境信息包括环境噪音响度。示例性的,用户预先设置了优先采用耳机播放语音支付提示信息,当穿戴式设备调用监测程序监测到当前环境噪音较大时,可以自动切换至骨传导提示模式,利用骨传导扬声器向用户播放语音支付提示信息,方便用户清晰地听到提示信息。Among them, the form of playing the payment prompt can be switched according to the user's preference and the user's environment. Specifically, the wearable device can automatically switch according to the user's preset settings and detected environmental information, or the user can control the switching. Among them, The ambient information includes ambient noise loudness. Exemplarily, the user pre-sets that the earphones are preferred to play voice payment prompt information. When the wearable device invokes the monitoring program and detects that the current environment is noisy, it can automatically switch to the bone conduction prompt mode and use the bone conduction speaker to play the voice to the user. The payment prompt information is convenient for users to hear the prompt information clearly.

步骤S102、获取麦克风采集到的语音数据,对该语音数据进行识别得到支付金额。Step S102, acquiring the voice data collected by the microphone, and recognizing the voice data to obtain the payment amount.

当用户收到语音支付提示信息后,在确认支付的情况下,通过与穿戴式设备的语音交互,将支付金额传输至穿戴式设备,相比于现有技术中需要用户手动输入支付金额的情形,利用语音输入金额进一步提高了支付的便捷性,提高了支付效率;如果用户当前不需要支付,穿戴式设备识别用户意图,结束当前支付操作或关闭语音支付功能。After the user receives the voice payment prompt information, and confirms the payment, the payment amount is transmitted to the wearable device through voice interaction with the wearable device. Compared with the situation in the prior art that requires the user to manually input the payment amount , the use of voice input amount further improves the convenience of payment and improves the payment efficiency; if the user does not need to pay currently, the wearable device will recognize the user's intention, end the current payment operation or turn off the voice payment function.

继续以上述示例为例,用户收到语音支付提示信息“是否进行当前支付”后,进行回复“确认支付,支付金额XX”,穿戴式设备对用户的语音数据进行识别,提取出关键词,得到支付金额XX;若用户回复“不支付”,穿戴式设备可以结束当前支付操作或关闭语音支付功能。Continuing to take the above example as an example, after the user receives the voice payment prompt message "Whether to make the current payment", the user replies "Confirm the payment, the payment amount is XX", the wearable device recognizes the user's voice data, extracts the keywords, and obtains The payment amount is XX; if the user replies "no payment", the wearable device can end the current payment operation or turn off the voice payment function.

此外,需要说明的是,穿戴式设备还具有延时支付或者定时支付的功能,即在当前不需要支付时,经过延时时长后再次向用户播放语音支付提示信息,或者在用户设定的时间开启语音支付功能,向用户播放语音支付提示信息。In addition, it should be noted that the wearable device also has the function of delayed payment or fixed payment, that is, when no payment is currently required, the voice payment prompt information will be played to the user again after a long time delay, or the payment will be made at the time set by the user. Enable the voice payment function and play voice payment prompts to users.

示例一,穿戴式设备采集到支付信息时,向用户播放语音支付提示信息,但是用户希望在20分钟之后再支付,用户可以向穿戴式设备回复“20分钟之后再支付”,穿戴式设备通过识别用户语音开启延时支付功能,此时,穿戴式设备可以选择不关闭语音支付功能而处于支付暂停状态,也可以选择关闭语音支付功能,本实施例对此不作具体限定。其中,如果穿戴式设备开启延时支付功能后关闭了语音支付功能,可以根据用户的当前定位直接重启语音支付功能,向用户播放语音支付提示信息,无需重复采集支付信息,预先采集并保存在缓存区中的支付信息仍有效。具体的,延时支付功能开启前后的用户定位没有发生变化,表明当前的收款商家没有发生变化,支付信息便没有发生变化,因而无需重复采集。Example 1: When the wearable device collects the payment information, it will play the voice payment prompt information to the user, but the user wants to pay after 20 minutes, the user can reply "pay after 20 minutes" to the wearable device, and the wearable device passes the identification The user activates the delayed payment function by voice. At this time, the wearable device can choose not to close the voice payment function and be in the payment suspension state, or can choose to close the voice payment function, which is not specifically limited in this embodiment. Among them, if the wearable device turns on the delayed payment function and then turns off the voice payment function, the voice payment function can be restarted directly according to the user's current location, and the voice payment prompt information will be played to the user without repeated collection of payment information, which is collected in advance and stored in the cache The payment information in the zone is still valid. Specifically, the user location before and after the delayed payment function is enabled does not change, indicating that the current payment merchant does not change, and the payment information does not change, so there is no need for repeated collection.

示例二,用户设定在17点进行支付,当穿戴式设备内的时间钟监测到当前时间是17点时,调用摄像头采集支付信息,当采集到支付信息时,向用户播放语音支付提示信息,取获用户语音数据并提取出支付金额。Example 2: The user sets payment at 17 o'clock. When the time clock in the wearable device detects that the current time is 17 o'clock, the camera is called to collect the payment information. When the payment information is collected, the voice payment prompt information is played to the user. Get the user voice data and extract the payment amount.

步骤S103、将支付信息和支付金额发送至服务器,用于服务器根据支付信息和支付金额进行支付。Step S103, sending the payment information and payment amount to the server, so that the server can make payment according to the payment information and payment amount.

穿戴式设备获取支付信息与支付金额后,便发送至服务器,由服务器完成后续的支付操作。其中,服务器已经预先获取用户的支付账户信息与自动支付授权,并可以保证用户支付的安全性,本实施例对此不作详细论述。After the wearable device obtains the payment information and payment amount, it will be sent to the server, and the server will complete the subsequent payment operation. Wherein, the server has obtained the user's payment account information and automatic payment authorization in advance, and can guarantee the security of the user's payment, which will not be discussed in detail in this embodiment.

本实施例基于穿戴式设备,从开启支付到支付完成均无需用户进行手动操作,实现了语音控制的智能支付,提高了支付的便捷性与支付效率;同时,基于语音的唯一性特点,通过识别用户本人的语音提取支付金额,保证了用户的资金安全与支付安全,可以避免非用户本人语音输入而引起的恶意支付。并且,利用穿戴式设备进行智能支付,可以削减用户对移动终端的依赖性,减少移动终端的功耗,提高移动终端的续航时间。This embodiment is based on a wearable device. From the start of payment to the completion of payment, no manual operation is required by the user, realizing voice-controlled intelligent payment, improving the convenience and efficiency of payment; at the same time, based on the uniqueness of voice, through recognition The user's own voice extracts the payment amount, which ensures the user's fund security and payment security, and can avoid malicious payments caused by non-user's own voice input. Moreover, using wearable devices for intelligent payment can reduce the user's dependence on mobile terminals, reduce power consumption of mobile terminals, and increase battery life of mobile terminals.

可选的,支付信息包括银行卡账户、二维码或条形码中的至少一种;将支付信息和支付金额发送至服务器包括:通过银行应用程序或者第三方应用程序的接口将支付信息和支付金额发送至对应的服务器。Optionally, the payment information includes at least one of bank card account, two-dimensional code or barcode; sending the payment information and the payment amount to the server includes: sending the payment information and the payment amount to the server through the interface of the bank application program or the third-party application program sent to the corresponding server.

根据支付信息的不同,穿戴式设备与服务器之间可以选择不同的通信方式。具体的,当穿戴式设备获取到的支付信息是收款方的银行卡账户,或者银行收款对应的二维码与条形码时,则通过银行应用程序的接口将支付信息和支付金额发送至对应的服务器,服务器获取用户的支付账户信息,自动完成支付,其中无需第三方应用的介入;当穿戴式设备获取到的支付信息是包括了收款账户信息且依托于第三方应用的二维码或条形码时,例如,依托于百度、微信和支付宝等各种公众平台的支付二维码或条形码,则通过第三方应用程序的接口将支付信息和支付金额发送至对应的服务器,以完成自动支付。Depending on the payment information, different communication methods can be selected between the wearable device and the server. Specifically, when the payment information obtained by the wearable device is the payee's bank card account, or the QR code and barcode corresponding to the bank's payment, the payment information and payment amount are sent to the corresponding bank account through the interface of the bank application program. server, the server obtains the user's payment account information, and automatically completes the payment without the intervention of a third-party application; when the payment information obtained by the wearable device is a QR code or When using barcodes, for example, relying on payment QR codes or barcodes on various public platforms such as Baidu, WeChat, and Alipay, the payment information and payment amount are sent to the corresponding server through the interface of the third-party application program to complete automatic payment.

当自动支付完成之后,服务器可以向穿戴式设备返回支付完成的交易信息,穿戴式设备保存该交易信息并通过骨传导扬声器或者耳机向用户播放,以提示用户支付已完成。After the automatic payment is completed, the server can return the payment completion transaction information to the wearable device, and the wearable device saves the transaction information and plays it to the user through the bone conduction speaker or earphone to remind the user that the payment has been completed.

由上述内容可知,本方案中,当通过摄像头采集到支付信息时,可以通过骨传导扬声器或耳机播放语音支付提示信息,基于用户与穿戴式设备的交互得到支付金额,最后,将支付信息和支付金额一起发送至服务器,服务器根据支付信息和支付金额进行自动支付,减少了用户在支付过程中的手动操作,例如手动扫描商家收款码、手动输入金额等,提高了支付的便捷性,提高了支付效率,为用户节省了时间,同时具有较高的安全性;并且,利用穿戴式设备替代移动终端进行智能支付,可以削减用户对移动终端的依赖性,减少了移动终端的功耗,提高了移动终端的续航时间。It can be seen from the above that in this solution, when the payment information is collected through the camera, the voice payment prompt information can be played through the bone conduction speaker or earphone, and the payment amount can be obtained based on the interaction between the user and the wearable device. Finally, the payment information and payment The amount is sent to the server together, and the server automatically pays according to the payment information and payment amount, reducing the manual operations of the user during the payment process, such as manually scanning the merchant's payment code, manually entering the amount, etc., improving the convenience of payment and improving the payment efficiency. Payment efficiency saves time for users and has high security; moreover, using wearable devices to replace mobile terminals for smart payment can reduce users' dependence on mobile terminals, reduce power consumption of mobile terminals, and improve battery life of the mobile terminal.

在一个可能的实施例中,对支付信息的内容进行识别,以确定其是否包含预支付金额,其中,该预支付金额为支付信息包含的使用户进行支付的金额,如在商场的易拉宝中设置有一二维码同时在二维码下方设置有金额数字(如200),则在摄像头采集的支付信息中除了用于转账的支付内容(二维码对应的商家)外,还包含了需要支付的预支付金额,此时,再获取麦克风采集的语音数据后,对识别语音数据得到的支付金额和该预支付金额进行比对,如果比对一致,则直接进行支付动作(将支付信息和支付金额发送至服务器),可选的,还可以是采用非比对而是直接对获取到的语音数据进行识别以进行验证的方式完成支付动作,示例性的,当支付信息包含预支付金额时,用户可发出确认支付的语音数据,当对语音数据进行识别后得到预设指令(如识别出“确认支付”的语音文字指令)时,直接进行支付动作,即将支付信息和支付金额发送至服务器,由此,在支付信息包含支付金额时,可直接进行是否支付的验证,无需用户再次发出包含支付金额的语音数据,提高了支付效率,简化了支付的流程步骤。In a possible embodiment, the content of the payment information is identified to determine whether it contains a prepaid amount, wherein the prepaid amount is the amount included in the payment information for the user to pay, such as a roll-up in a shopping mall If a QR code is set in the QR code and an amount number (such as 200) is set under the QR code, then the payment information collected by the camera includes not only the payment content for transfer (the merchant corresponding to the QR code), but also The prepayment amount that needs to be paid. At this time, after obtaining the voice data collected by the microphone, compare the payment amount obtained by recognizing the voice data with the prepayment amount. If the comparison is consistent, the payment action will be directly carried out (payment information and the payment amount are sent to the server), optionally, the payment action can also be completed by directly recognizing the acquired voice data for verification instead of comparison. For example, when the payment information includes the prepayment amount At this time, the user can send voice data to confirm the payment. When the voice data is recognized and the preset instruction (such as the voice and text command of "confirm payment" is recognized), the payment action will be carried out directly, that is, the payment information and payment amount will be sent to Therefore, when the payment information includes the payment amount, the server can directly verify whether to pay, without the need for the user to send voice data containing the payment amount again, which improves the payment efficiency and simplifies the payment process steps.

图2是本申请实施例提供的另一种支付方法的流程图,可选的,在将支付信息和支付金额发送至服务器之前,还包括:对获取的语音数据进行声纹识别验证;相应的,将支付信息和支付金额发送至服务器包括:如果声纹识别验证成功,则将支付信息和支付金额发送至服务器。如图2所示,本实施例提供的技术方案可以包括:Fig. 2 is a flowchart of another payment method provided by the embodiment of the present application. Optionally, before sending the payment information and the payment amount to the server, it also includes: performing voiceprint recognition verification on the acquired voice data; corresponding , sending the payment information and the payment amount to the server includes: if the voiceprint recognition verification is successful, sending the payment information and the payment amount to the server. As shown in Figure 2, the technical solution provided by this embodiment may include:

步骤S201、当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息。Step S201, when the payment information is collected through the camera, play the voice payment prompt information through the bone conduction speaker or earphone.

步骤S202、获取麦克风采集到的语音数据,对获取的语音数据进行声纹识别验证。Step S202, acquiring the voice data collected by the microphone, and performing voiceprint recognition verification on the acquired voice data.

需要说明的是,为保证安全支付,利用穿戴式设备实现智能支付的过程中,在任意一个环节均可设置验证操作。It should be noted that, in order to ensure safe payment, in the process of using wearable devices to realize smart payment, verification operations can be set at any link.

在一个实施例中,穿戴式设备中预先存储了用户的标准语音,当获取用户的语音数据后,通过与标准语音的声纹对比,例如,进行相似度计算,确认当前是否为用户本人,可以有效防止非用户本人进行的支付操作,避免用户的财产损失。如果声纹识别验证通过,确认是用户本人,则执行步骤S204,继续当前支付操作;如果验证失败,说明当前并非用户本人,则执行步骤S203,结束当前支付操作,也无需从用户语音数据中提取支付金额。In one embodiment, the user's standard voice is pre-stored in the wearable device. After the user's voice data is obtained, it can be compared with the voiceprint of the standard voice, for example, to perform similarity calculations to confirm whether the user is currently the user. Effectively prevent payment operations performed by non-users themselves, and avoid property losses of users. If the voiceprint recognition verification is passed and it is confirmed that it is the user himself, then execute step S204 and continue the current payment operation; Payment amount.

步骤S203、结束当前支付操作。Step S203, ending the current payment operation.

当结束当前支付操作时,还可以通过骨传导扬声器或耳机向用户发送支付结束的通知信息。When the current payment operation is ended, a notification message of the end of payment can also be sent to the user through a bone conduction speaker or earphone.

步骤S204、对获取的语音数据进行识别得到支付金额。Step S204: Recognize the acquired voice data to obtain the payment amount.

声纹识别验证通过后,可以继续识别用户的语音数据,从中提取出支付金额。需要说明的是,本实施例中步骤S202与步骤S204并无确定的执行逻辑限定,即可以先执行步骤S202进行声纹识别验证,再执行步骤S204得到支付金额;也可以先执行步骤S204得到支付金额,再执行步骤S202进行声纹识别验证;还可以是声纹识别验证与提取支付金额同时执行。本方案中作为示例,先执行步骤S202,再执行步骤S204,但不应当造成对本实施例的限定。After the voiceprint recognition verification is passed, the user's voice data can be recognized and the payment amount can be extracted from it. It should be noted that there is no definite execution logic limitation for step S202 and step S204 in this embodiment, that is, step S202 can be executed first for voiceprint recognition verification, and then step S204 can be executed to obtain the payment amount; or step S204 can be executed first to obtain payment Amount, and then perform step S202 to perform voiceprint recognition verification; it may also be performed simultaneously with voiceprint recognition verification and withdrawal of payment amount. In this solution as an example, step S202 is executed first, and then step S204 is executed, but this should not be limited to this embodiment.

步骤S205、将支付信息和支付金额发送至服务器,用于服务器根据支付信息和支付金额进行支付。Step S205, sending the payment information and payment amount to the server, so that the server can make payment according to the payment information and payment amount.

如果是声纹识别验证通过后识别出支付金额,则支付信息与支付金额可以直接发送至服务器;如果是识别提取出支付金额后再进行声纹识别验证,只有在验证通过的情况下,将支付信息与支付金额发送至服务器;如果声纹识别验证与提取支付金额同时执行,也需要验证结果确定之后再发送支付信息与支付金额至服务器。If the payment amount is identified after the voiceprint recognition verification is passed, the payment information and payment amount can be sent directly to the server; The information and payment amount are sent to the server; if voiceprint recognition verification and withdrawal of payment amount are performed at the same time, the payment information and payment amount need to be sent to the server after the verification result is confirmed.

由上述可知,本方案中在将支付信息和支付金额发送至服务器之前,对获取的语音数据进行声纹识别验证,确认用户身份,如果声纹识别验证成功,则将支付信息和支付金额发送至服务器,确保当前支付操作是在用户本人的语音控制下执行,保障了用户的财产安全,保证了支付安全性。It can be seen from the above that before sending the payment information and payment amount to the server in this solution, the voiceprint recognition verification is performed on the acquired voice data to confirm the user's identity. If the voiceprint recognition verification is successful, the payment information and payment amount are sent to The server ensures that the current payment operation is performed under the user's own voice control, which ensures the safety of the user's property and payment security.

图3是本申请实施例提供的另一种支付方法的流程图,可选的,语音支付提示信息包括随机生成的验证码,相应的,在将支付信息和支付金额发送至服务器之前,还包括:确定语音数据中是否包括和验证码一致的字符内容;相应的,将支付信息和支付金额发送至服务器包括:如果存在一致的字符内容,则将支付信息和支付金额发送至服务器。可选的,在通过摄像头采集到支付信息之前,还包括:对检测到的声音数据进行声纹识别验证,如果验证通过,则开启摄像头进行图像采集,摄像头集成在穿戴式设备上,穿戴式设备包括智能眼镜。如图3所示,本实施例提供的技术方案可以包括:Figure 3 is a flow chart of another payment method provided by the embodiment of the present application. Optionally, the voice payment prompt information includes a randomly generated verification code. Correspondingly, before sending the payment information and payment amount to the server, it also includes : Determine whether the voice data includes the character content consistent with the verification code; correspondingly, sending the payment information and the payment amount to the server includes: if there is a consistent character content, sending the payment information and the payment amount to the server. Optionally, before the payment information is collected through the camera, it also includes: performing voiceprint recognition verification on the detected voice data, and if the verification is passed, the camera is turned on for image collection, the camera is integrated on the wearable device, and the wearable device Including smart glasses. As shown in Figure 3, the technical solution provided by this embodiment may include:

步骤S301、对检测到的声音数据进行声纹识别验证。Step S301, performing voiceprint recognition and verification on the detected voice data.

在一个实施例中,在穿戴式设备通过摄像头采集支付信息之前,设置了声纹识别验证,需要将当前检测到的声音数据与预先存储的用户标准语音进行比对,如果两者相似度满足阈值要求,则声纹识别验证通过,继续执行步骤S302,开启摄像头进行图像采集,否则执行步骤S303,结束当前支付操作。In one embodiment, before the wearable device collects the payment information through the camera, voiceprint recognition verification is set, and the currently detected voice data needs to be compared with the pre-stored user standard voice, and if the similarity between the two meets the threshold If it is required, then the voiceprint recognition verification is passed, continue to execute step S302, turn on the camera for image acquisition, otherwise execute step S303, end the current payment operation.

在采集支付信息之前进行声纹识别验证,可以保证只有在用户本人佩戴穿戴式设备的情况下进行移动支付,同样发挥保证支付安全的作用。Performing voiceprint recognition verification before collecting payment information can ensure that mobile payment can only be made when the user wears a wearable device, which also plays a role in ensuring payment security.

步骤S302、开启摄像头进行图像采集,当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息,其中,语音支付提示信息包括随机生成的验证码。Step S302, turn on the camera to collect images, and when the payment information is collected by the camera, play the voice payment prompt information through the bone conduction speaker or earphone, wherein the voice payment prompt information includes a randomly generated verification code.

其中,摄像头集成在穿戴式设备上,穿戴式设备包括智能眼镜。Wherein, the camera is integrated on the wearable device, and the wearable device includes smart glasses.

在一个实施例中,基于随机生成的验证码的一致性验证,其作用在于:一方面表明当前支付不属于恶意支付操作,例如非真实支付目的无效支付操作;另一方面可以用于验证用户成功收到了语音支付提示信息,避免因穿戴式设备的功能故障引起的支付异常现象,例如无法向用户播放语音支付提示信息,便无法得到支付金额,因而造成支付异常。验证码的内容可以至少包括文字、数字、英文字母和符号标识中的任意一种,验证码的字符长度也可以根据用户需求进行设置。In one embodiment, the consistency verification based on randomly generated verification codes is used to: on the one hand, indicate that the current payment is not a malicious payment operation, such as an invalid payment operation for non-authentic payment purposes; on the other hand, it can be used to verify the user's success After receiving the voice payment prompt information, avoid payment abnormalities caused by the functional failure of the wearable device. For example, if the voice payment prompt information cannot be played to the user, the payment amount cannot be obtained, resulting in abnormal payment. The content of the verification code may at least include any one of characters, numbers, English letters and symbols, and the character length of the verification code may also be set according to user requirements.

步骤S303、结束当前支付操作。Step S303, ending the current payment operation.

步骤S304、获取麦克风采集到的语音数据,确定采集的语音数据中是否包括和验证码一致的字符内容。Step S304 , acquiring voice data collected by the microphone, and determining whether the collected voice data includes character content consistent with the verification code.

如果语音数据中包括与验证码一致的字符,则执行步骤S305提取支付金额,如果不包括,则返回步骤S303结束当前支付操作。示例性的,穿戴式设备向用户播放的语音支付提示信息中验证码的内容为asd123,用户回复时,其语音数据中也需要完整包括asd123,表明当前支付是用户需求的支付操作且用户成功收到了支付提示,基于验证码的验证操作才可以通过,进而识别提取用户语音中的支付金额。If the voice data includes characters consistent with the verification code, execute step S305 to extract the payment amount; if not, return to step S303 to end the current payment operation. Exemplarily, the content of the verification code in the voice payment prompt message played by the wearable device to the user is asd123. When the user replies, the voice data also needs to include asd123 completely, indicating that the current payment is the payment operation required by the user and the user has successfully received it. When the payment prompt is reached, the verification operation based on the verification code can pass, and then the payment amount in the user's voice can be recognized and extracted.

此外,如果用户收到语音支付提示信息后,在预设时间内,例如30秒,没有进行任何回复,穿戴式设备也可以选择结束当前支付操作或者关闭语音支付功能,节省其系统功耗。In addition, if the user does not respond within a preset period of time, such as 30 seconds, after receiving the voice payment prompt message, the wearable device can also choose to end the current payment operation or turn off the voice payment function to save its system power consumption.

步骤S305、对获取的语音数据进行识别得到支付金额。Step S305: Recognize the acquired voice data to obtain the payment amount.

需要说明的是,本实施例中步骤S304与步骤S305并无确定的执行逻辑限定,即可以先执行步骤S304,再执行步骤S305;也可以先执行步骤S305,再执行步骤S305;还可以是基于验证码的一致性验证与提取支付金额同时执行,本方案中作为示例,先执行步骤S304,再执行步骤S305,但不应当造成对本实施例的限定。It should be noted that step S304 and step S305 in this embodiment have no definite execution logic limitation, that is, step S304 can be executed first, and then step S305 can be executed; step S305 can also be executed first, and then step S305 can be executed; it can also be based on The consistency verification of the verification code is performed simultaneously with the withdrawal of the payment amount. In this solution as an example, step S304 is performed first, and then step S305 is performed, but this embodiment should not be limited.

步骤S306、将支付信息和支付金额发送至服务器,用于服务器根据支付信息和支付金额进行支付。Step S306, sending the payment information and payment amount to the server, so that the server can make payment according to the payment information and payment amount.

对于基于验证码的一致性验证与提取支付金额的任意执行顺序,只有在用户收到语音支付提示信息后回复的语音数据中存在与验证码一致的字符内容时,穿戴式设备将支付信息和支付金额发送至服务器。For any execution sequence of verification code-based consistency verification and withdrawal of payment amount, only when the voice data replied by the user after receiving the voice payment prompt information contains characters consistent with the verification code, the wearable device will send the payment information and payment The amount is sent to the server.

由上述可知,本方案中在通过摄像头采集到支付信息之前,对检测到的声音数据进行声纹识别验证,如果验证通过,则开启摄像头进行图像采集,获取支付信息,保证了只有在用户本人佩戴穿戴式设备的情况下进行智能化的移动支付,保证了支付安全;同时,当采集到支付信息时,向用户播放的语音支付提示信息中包括了随机生成的验证码,当用户回复的语音数据中包括与验证码一致的字符内容时,穿戴式设备才可以将支付信息和支付金额发送至服务器,保证了移动支付的有效性,避免了频繁的恶意支付操作,例如非真实支付目的无效支付操作等,还可以避免因穿戴式设备的功能故障引起的支付异常现象;当用户回复的语音数据中不包括与验证码一致的字符内容或者用户没有进行回复时,穿戴式设备及时结束当前支付操作或者关闭语音支付功能,还可以节省其系统功耗。It can be seen from the above that in this solution, before the payment information is collected by the camera, the voiceprint recognition verification is performed on the detected voice data. If the verification is passed, the camera is turned on to collect the image and obtain the payment information, ensuring that only when the user wears the In the case of wearable devices, intelligent mobile payment is carried out to ensure payment security; at the same time, when the payment information is collected, the voice payment prompt information played to the user includes a randomly generated verification code, and when the user replies the voice data The wearable device can send the payment information and payment amount to the server only when the character content consistent with the verification code is included, which ensures the validity of mobile payment and avoids frequent malicious payment operations, such as invalid payment operations for non-real payment purposes etc., can also avoid payment abnormalities caused by functional failures of wearable devices; when the voice data replied by the user does not include the character content consistent with the verification code or the user does not reply, the wearable device ends the current payment operation in time or Turning off the voice payment function can also save its system power consumption.

图4是本申请实施例提供的另一种支付方法的流程图,可选的,在通过摄像头采集到支付信息之前,还包括:获取传感器采集的传感数据,如果传感数据满足预设条件,则开启摄像头进行图像采集,其中,传感器集成在穿戴式设备上,传感器包括加速度传感器、陀螺仪传感器和压力传感器中的至少一种。可选的,在通过摄像头采集到支付信息之后,还包括:对支付信息进行识别,根据识别结果生成并显示支付界面,其中,支付界面显示在穿戴式设备集成的显示部件中,穿戴式设备包括智能眼镜。如图4所示,本实施例提供的技术方案可以包括:Fig. 4 is a flow chart of another payment method provided by the embodiment of the present application. Optionally, before the payment information is collected through the camera, it also includes: acquiring the sensory data collected by the sensor, if the sensory data meets the preset conditions , the camera is turned on to collect images, wherein the sensor is integrated on the wearable device, and the sensor includes at least one of an acceleration sensor, a gyroscope sensor and a pressure sensor. Optionally, after the payment information is collected by the camera, it also includes: identifying the payment information, generating and displaying the payment interface according to the identification result, wherein the payment interface is displayed in the display component integrated in the wearable device, and the wearable device includes smart glasses. As shown in Figure 4, the technical solution provided by this embodiment may include:

步骤S401、获取传感器采集的传感数据,并判断获取的传感数据是否满足预设条件。Step S401 , acquiring sensing data collected by a sensor, and judging whether the acquired sensing data satisfies a preset condition.

其中,传感器集成在穿戴式设备上,传感器包括加速度传感器、陀螺仪传感器和压力传感器中的至少一种。预设条件用于判断穿戴式设备当前获取的传感数据与预先存储的标准传感数据之间的匹配度。当穿戴式设备响应于用户通过晃动、触碰或按压穿戴式设备的操作,获取传感数据,并基于匹配算法,计算当前获取的传感数据与预先存储的标准传感数据之间的匹配度。如果匹配度在预设范围内,即当前获取的传感数据满足预设条件,则执行步骤S403,开启摄像头进行图像采集,否则执行步骤S402,结束当前支付操作。Wherein, the sensor is integrated on the wearable device, and the sensor includes at least one of an acceleration sensor, a gyroscope sensor and a pressure sensor. The preset condition is used to judge the matching degree between the sensing data currently acquired by the wearable device and the pre-stored standard sensing data. When the wearable device responds to the user's operation by shaking, touching or pressing the wearable device, it acquires sensing data, and based on the matching algorithm, calculates the matching degree between the currently acquired sensing data and the pre-stored standard sensing data . If the matching degree is within the preset range, that is, the currently acquired sensing data satisfies the preset condition, then execute step S403 to turn on the camera for image acquisition, otherwise execute step S402 to end the current payment operation.

具体的,标准传感数据中包括晃动操作的角度与方向,触碰操作的触碰位置、力度与次数,以及按压操作的力度与时长等。当用户执行晃动、触碰和按压等操作中的任一种操作时,穿戴式设备首先基于当前获取的传感数据中的数据类型确定用户操作类型,然后计算对应操作类型下的标准传感数据与当前获取的传感数据之间的匹配度。匹配度可以依据当前获取的传感数据与标准传感数据之间的误差值确定,误差值越小,则匹配度越高。通过判断获取的传感数据是否满足预设条件,确定是否开启摄像头进行图像采集,可以避免用户误操作触发穿戴式设备的语音支付功能,同时节省穿戴式设备的系统功耗。Specifically, the standard sensing data includes the angle and direction of the shaking operation, the touch position, strength and frequency of the touch operation, and the strength and duration of the pressing operation. When the user performs any of operations such as shaking, touching, and pressing, the wearable device first determines the type of user operation based on the data type in the currently acquired sensing data, and then calculates the standard sensing data under the corresponding operation type The degree of matching with the currently acquired sensor data. The matching degree can be determined according to the error value between the currently acquired sensing data and the standard sensing data, the smaller the error value is, the higher the matching degree is. By judging whether the acquired sensing data meets the preset conditions and determining whether to turn on the camera for image acquisition, it is possible to prevent user misoperation from triggering the voice payment function of the wearable device, and at the same time save system power consumption of the wearable device.

步骤S402、结束当前支付操作。Step S402, ending the current payment operation.

步骤S403、开启摄像头进行图像采集,当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息。Step S403, turn on the camera to collect images, and when the payment information is collected by the camera, play the voice payment prompt information through the bone conduction speaker or earphone.

步骤S404、对采集的支付信息进行识别,根据识别结果生成并显示支付界面。Step S404, identifying the collected payment information, generating and displaying a payment interface according to the identification result.

在一个实施例中,支付界面显示在穿戴式设备集成的显示部件中,穿戴式设备包括智能眼镜。对支付信息的识别用于判断当前支付操作是否为有效支付操作。如果识别判断出当前支付操作是符合用户支付需求的有效支付操作,则根据支付信息生成支付界面并加以显示;如果识别判断出当前支付操作不是有效支付操作,则结束当前支付操作或者关闭语音支付功能。In one embodiment, the payment interface is displayed in a display component integrated with the wearable device, and the wearable device includes smart glasses. The identification of payment information is used to determine whether the current payment operation is a valid payment operation. If the recognition determines that the current payment operation is a valid payment operation that meets the user's payment needs, then generate a payment interface based on the payment information and display it; if the recognition determines that the current payment operation is not a valid payment operation, end the current payment operation or turn off the voice payment function .

其中,对支付信息的识别,具体可以通过判断支付信息的真实性实现,也可以通过判断支付信息关联的商品信息实现。示例性的,用户收到语音支付提示信息后,如果识别出到支付信息中收款账号与收款人姓名不一致,即支付信息的可信度较低,当前支付操作不属于有效支付操作;如果识别出支付信息只是对应于某一种商品的支付信息,而并非商家的综合支付信息,不符合用户的支付需求,当前支付操作也不属于有效支付操作。同时,还可以结合穿戴式设备在支付信息对应的图像上停留时间判断当前支付操作的有效性,例如,采集的支付信息只是对应于某一种商品的支付信息,并且穿戴式设备在该支付信息对应的图像上停留时间非常短,则可以确定用户没有支付意图,当前支付操作不属于有效支付操作,但如果穿戴式设备在该支付信息对应的图像上停留时间较长,则确定用户有支付意图,当前支付操作属于有效支付操作。Wherein, the identification of the payment information can be realized specifically by judging the authenticity of the payment information, or by judging the commodity information associated with the payment information. Exemplarily, after the user receives the voice payment prompt information, if it is recognized that the payment account number in the payment information is inconsistent with the payee's name, that is, the credibility of the payment information is low, and the current payment operation is not a valid payment operation; if It is recognized that the payment information is only the payment information corresponding to a certain commodity, not the comprehensive payment information of the merchant, which does not meet the user's payment needs, and the current payment operation is not a valid payment operation. At the same time, the validity of the current payment operation can also be judged based on the time the wearable device stays on the image corresponding to the payment information. If the corresponding image stays for a very short time, it can be determined that the user has no payment intention, and the current payment operation is not a valid payment operation, but if the wearable device stays on the image corresponding to the payment information for a long time, it is determined that the user has payment intention , the current payment operation is a valid payment operation.

此外,支付界面的显示可以便于用户清晰明了的查看支付信息,对当前支付操作进一步确认。示例性的,如果采集的支付信息是收款方的银行卡账户,则支付界面可以至少显示该银行卡账户信息;如果采集的支付信息是包括收款账户信息的二维码或条形码,则可以经过图像识别与转换,至少将二维码或条形码对应的账户信息显示在支付界面,供用户查看。In addition, the display of the payment interface can facilitate the user to view the payment information clearly and clearly, and further confirm the current payment operation. Exemplarily, if the collected payment information is the payee's bank card account, the payment interface can at least display the bank card account information; After image recognition and conversion, at least the account information corresponding to the QR code or barcode is displayed on the payment interface for users to view.

步骤S405、获取麦克风采集到的语音数据,对该语音数据进行识别得到支付金额。Step S405, acquiring the voice data collected by the microphone, and recognizing the voice data to obtain the payment amount.

用户收到语音支付提示信息并看到支付界面后,进行关于支付金额的语音回复,穿戴式设备对获取的语音数据进行识别,提取出支付金额。After the user receives the voice payment prompt information and sees the payment interface, he makes a voice reply about the payment amount, and the wearable device recognizes the acquired voice data and extracts the payment amount.

步骤S406、将支付信息和支付金额发送至服务器,用于服务器根据支付信息和支付金额进行支付。Step S406, sending the payment information and payment amount to the server, so that the server can make payment according to the payment information and payment amount.

继续以上述示例为例,获取支付金额后,可以将支付信息与支付金额一同显示在支付界面上,待用户确认之后,发送至服务器,以完成自动支付。Continuing with the above example as an example, after obtaining the payment amount, the payment information and the payment amount can be displayed on the payment interface, and after the user confirms, send it to the server to complete the automatic payment.

由上述可知,本方案中在通过摄像头采集到支付信息之前,获取传感器采集的传感数据,如果传感数据满足预设条件,则开启摄像头进行图像采集,获取支付信息,避免了由于用户误操作而触发穿戴式设备的语音支付功能,同时节省了穿戴式设备的系统功耗;在采集到支付信息并发出语音支付提示信息之后,对支付信息进行识别,可以判断当前支付操作是否为满足用户支付需求的有效支付操作;根据识别结果生成并显示支付界面,可以方便用户查看当前交易的相关信息,进一步确保了支付安全。It can be seen from the above that in this solution, before the payment information is collected by the camera, the sensing data collected by the sensor is obtained. If the sensing data meets the preset conditions, the camera is turned on to collect the image and obtain the payment information, which avoids misuse by the user. The voice payment function of the wearable device is triggered, and the system power consumption of the wearable device is saved at the same time; after the payment information is collected and the voice payment prompt information is issued, the payment information can be identified to determine whether the current payment operation is to satisfy the user's payment requirements. The effective payment operation required; the payment interface is generated and displayed according to the recognition result, which can facilitate the user to view the relevant information of the current transaction and further ensure the payment security.

图5是本申请实施例提供的一种支付装置的结构框图,该装置用于执行上述实施例提供的支付方法,具备执行方法相应的功能模块和有益效果。如图5所示,该装置具体包括:提示模块101、识别模块102和发送模块103,其中,Fig. 5 is a structural block diagram of a payment device provided by an embodiment of the present application. The device is used to execute the payment method provided by the above embodiment, and has corresponding functional modules and beneficial effects for executing the method. As shown in Figure 5, the device specifically includes: a prompt module 101, an identification module 102 and a sending module 103, wherein,

提示模块101,用于当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息;Prompt module 101, used for playing voice payment prompt information through bone conduction speakers or earphones when payment information is collected through the camera;

识别模块102,用于获取麦克风采集到的语音数据,对获取的语音数据进行识别得到支付金额;The identification module 102 is used to obtain the voice data collected by the microphone, and identify the acquired voice data to obtain the payment amount;

发送模块103,用于将支付信息和支付金额发送至服务器,用于服务器根据支付信息和支付金额进行支付。The sending module 103 is configured to send the payment information and the payment amount to the server, so that the server can make payment according to the payment information and the payment amount.

在上述实施例的基础上,该装置还包括:语音验证模块104,对获取的语音数据进行声纹识别验证。On the basis of the above embodiments, the device further includes: a voice verification module 104, which performs voiceprint recognition and verification on the acquired voice data.

相应的,发送模块103具体用于:如果声纹识别验证成功,则将支付信息和支付金额发送至服务器。Correspondingly, the sending module 103 is specifically configured to: if the voiceprint recognition verification is successful, send the payment information and the payment amount to the server.

在一个可能的实施例中,支付信息包括银行卡账户、二维码或条形码中的至少一种,相应的,发送模块103具体用于:In a possible embodiment, the payment information includes at least one of bank card account, two-dimensional code or barcode, and correspondingly, the sending module 103 is specifically used for:

通过银行应用程序或者第三方应用程序的接口将支付信息和支付金额发送至对应的服务器。The payment information and the payment amount are sent to the corresponding server through the interface of the bank application program or the third-party application program.

在一个可能的实施例中,语音支付提示信息包括随机生成的验证码,相应的,该装置还包括:In a possible embodiment, the voice payment prompt information includes a randomly generated verification code, and correspondingly, the device further includes:

验证码确定模块105,用于确定获取的语音数据中是否包含和验证码一致的字符内容;Verification code determining module 105, is used for determining whether to comprise the character content consistent with verification code in the speech data that obtains;

相应的,发送模块103具体用于:Correspondingly, the sending module 103 is specifically used for:

如果存在一致的字符内容,则将支付信息和支付金额发送至服务器。If there is consistent character content, the payment information and payment amount are sent to the server.

在一个可能的实施例中,该装置还包括:第一采集验证模块106,用于对检测到的声音数据进行声纹识别验证,如果验证通过,则开启摄像头进行图像采集,其中,摄像头集成在穿戴式设备上,穿戴式设备包括智能眼镜。In a possible embodiment, the device further includes: a first collection and verification module 106, configured to perform voiceprint recognition and verification on the detected voice data, and if the verification is passed, turn on the camera for image collection, wherein the camera is integrated in On wearable devices, wearable devices include smart glasses.

在一个可能的实施例中,该装置还包括:第二采集验证模块107,用于获取传感器采集的传感数据,如果传感数据满足预设条件,则开启摄像头进行图像采集,其中,传感器集成在穿戴式设备上,传感器包括加速度传感器、陀螺仪传感器和压力传感器中的至少一种。In a possible embodiment, the device further includes: a second acquisition and verification module 107, configured to acquire sensory data collected by the sensor, and if the sensory data meets preset conditions, the camera is turned on for image acquisition, wherein the sensor integrates On the wearable device, the sensor includes at least one of an acceleration sensor, a gyroscope sensor and a pressure sensor.

在一个可能的实施例中,该装置还包括:显示模块108,用于对摄像头采集的支付信息进行识别,根据识别结果生成并显示支付界面,其中,支付界面显示在穿戴式设备集成的显示部件中,穿戴式设备包括智能眼镜。In a possible embodiment, the device further includes: a display module 108, configured to identify the payment information collected by the camera, generate and display a payment interface according to the identification result, wherein the payment interface is displayed on a display component integrated in the wearable device In , wearable devices include smart glasses.

在一个可能的实施例中,所述识别模块102还用于:对所述支付信息的内容进行识别,如果识别到所述支付信息包含预支付金额,则生成包含所述预支付金额的语音提示信息;所述验证码确定模块105还用于:对预支付金额和支付金额是否一致进行验证,如果验证成功,则发送模块103用于将所述支付信息和所述支付金额发送至服务器。In a possible embodiment, the identification module 102 is further configured to: identify the content of the payment information, and if it is recognized that the payment information contains a prepaid amount, generate a voice prompt containing the prepaid amount information; the verification code determination module 105 is also used to: verify whether the prepayment amount and the payment amount are consistent, and if the verification is successful, the sending module 103 is used to send the payment information and the payment amount to the server.

本实施例在上述各实施例的基础上提供了一种穿戴式设备,图6是本申请实施例提供的一种穿戴式设备的结构示意图,图7是本申请实施例提供的一种穿戴式设备的示意实物图。如图6和图7所示,该穿戴式设备包括:存储器201、处理器(Central ProcessingUnit,CPU)202、显示部件203、触摸面板204、心率检测模组205、距离传感器206、摄像头207、骨传导扬声器208、麦克风209、呼吸灯210,这些部件通过一个或多个通信总线或信号线211来通信。This embodiment provides a wearable device on the basis of the above-mentioned embodiments. FIG. 6 is a schematic structural diagram of a wearable device provided by an embodiment of this application. FIG. 7 is a wearable device provided by an embodiment of this application. Schematic physical drawing of the equipment. As shown in Figures 6 and 7, the wearable device includes: a memory 201, a processor (Central Processing Unit, CPU) 202, a display component 203, a touch panel 204, a heart rate detection module 205, a distance sensor 206, a camera 207, a bone Conductive speaker 208 , microphone 209 , breathing light 210 , these components communicate via one or more communication buses or signal lines 211 .

应该理解的是,图示穿戴式设备仅仅是穿戴式设备的一个范例,并且穿戴式设备可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated wearable device is only one example of a wearable device, and that a wearable device may have more or fewer components than shown, and two or more components may be combined , or can have different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于支付的穿戴式设备进行详细的描述,该穿戴式设备以智能眼镜为例。The following describes in detail the wearable device used for payment provided in this embodiment, and the wearable device takes smart glasses as an example.

存储器201,所述存储器201可以被CPU202访问,所述存储器201可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 201, the memory 201 can be accessed by the CPU 202, the memory 201 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other volatile memory solid-state storage devices.

显示部件203,可用于显示图像数据以及操作系统的操控界面,显示部件203嵌入在智能眼镜的镜框中,镜框内部设置有内部传输线路211,该内部传输线路211和显示部件203连接。The display part 203 can be used to display image data and the operating interface of the operating system. The display part 203 is embedded in the frame of the smart glasses, and an internal transmission line 211 is arranged inside the frame, and the internal transmission line 211 is connected to the display part 203 .

触摸面板204,该触摸面板204设置在至少一个智能眼镜镜腿的外侧,用于获取触摸数据,触摸面板204通过内部传输线路211和CPU202连接。其中,触摸面板204可检测用户的手指滑动、点击操作,并相应的把检测到的数据传输至处理器202进行处理以生成对应的控制指令,示例性的,可以是左移指令、右移指令、上移指令、下移指令等。示例性的,显示部件203可显示处理器202传输的虚拟图像数据,该虚拟图像数据可相应的根据触摸面板204检测到的用户操作进行相应变化,具体的,可以是进行画面切换,当检测到左移指令或右移指令后相应的切换上一个或下一个虚拟图像画面;当显示部件203显示视频播放信息时,该左移指令可以是进行播放内容的回播,右移指令可以是进行播放内容的快进;当显示部件203显示的为可编辑文字内容时,该左移指令、右移指令、上移指令、下移指令可以是对光标的位移操作,即光标的位置可根据用户对触摸板的触摸操作而进行移动;当显示部件203显示的内容为游戏动画画面时,该左移指令、右移指令、上移指令、下移指令可以是对游戏中的对象进行控制,如飞机游戏中,可通过该左移指令、右移指令、上移指令、下移指令分别控制飞机的飞行方向;当显示部件203可显示不同频道的视频画面时,该左移指令、右移指令、上移指令、下移指令可进行不同频道的切换,其中,上移指令和下移指令可以是切换到预置频道(如用户使用的常用频道);当显示部件203显示静态图片时,该左移指令、右移指令、上移指令、下移指令可进行不同图片之间的切换,其中,左移指令可以是切换到上一幅图片,右移指令可以是切换至下一幅图,上移指令可以是切换到上一图集,下移指令可以是切换至下一图集。该触摸面板204还可用于对显示部件203的显示开关进行控制,示例性的,当长按压触摸面板204触摸区域时,显示部件203通电显示图像界面,当再次长按压触摸面板204触摸区域时,显示部件203断电,当显示部件203通电后,可通过在触摸面板204进行上滑和下滑操作以调节显示部件203中显示图像的亮度或分辨率。A touch panel 204 , the touch panel 204 is arranged on the outside of at least one temple of the smart glasses, and is used for acquiring touch data. The touch panel 204 is connected to the CPU 202 through an internal transmission line 211 . Among them, the touch panel 204 can detect the user's finger sliding and clicking operations, and correspondingly transmit the detected data to the processor 202 for processing to generate corresponding control instructions. , move up command, move down command, etc. Exemplarily, the display unit 203 can display the virtual image data transmitted by the processor 202, and the virtual image data can be changed correspondingly according to the user operation detected by the touch panel After the left-shift instruction or the right-shift instruction, correspondingly switch the previous or next virtual image screen; when the display unit 203 displays video playback information, the left-shift instruction can be to play back the playback content, and the right-shift instruction can be to play Fast-forwarding of content; when the display part 203 shows editable text content, the left-moving instruction, right-moving instruction, up-moving instruction, and down-moving instruction can be the displacement operation of the cursor, that is, the position of the cursor can be adjusted according to the user's The touch operation of the touch pad moves; when the content displayed by the display part 203 is a game animation picture, the left-moving instruction, right-moving instruction, up-moving instruction and down-moving instruction can be to control the object in the game, such as an airplane In the game, the flight direction of the aircraft can be controlled respectively through the left-moving command, right-moving command, up-moving command, and down-moving command; The up-moving instruction and the down-moving instruction can switch between different channels, wherein the up-moving instruction and the down-moving instruction can switch to a preset channel (such as the frequently used channel used by the user); when the display part 203 displays a static picture, the left Move command, move right command, move up command, and move down command can switch between different pictures. Among them, the left move command can switch to the previous picture, and the right move command can switch to the next picture. The move command can be to switch to the previous atlas, and the down command can be to switch to the next atlas. The touch panel 204 can also be used to control the display switch of the display part 203. Exemplarily, when the touch area of the touch panel 204 is pressed for a long time, the display part 203 is powered on to display the image interface, and when the touch area of the touch panel 204 is long pressed again, The display unit 203 is powered off, and when the display unit 203 is powered on, the brightness or resolution of the image displayed on the display unit 203 can be adjusted by sliding up and down on the touch panel 204 .

心率检测模组205,用于测得用户的心率数据,心率指每分钟的心跳次数,该心率检测模组205设置在镜腿内侧。具体的,该心率检测模组205可以是通过电脉冲测量的方式使用干性电极获取人体心电数据,根据心电数据中的振幅峰值确定心率大小;该心率检测模组205还可以是由采用光电法测量心率的光线发射和光线接收器组成,相应的,该心率检测模组205设置在镜腿底部,人体耳廓的耳垂处。心率检测模组205采集到心率数据后可相应的发送至处理器202中进行数据处理已得到佩戴者当前的心率值,在一个实施例中,处理器202在确定出用户的心率值后,可将该心率值实时显示在显示部件203中,可选的处理器202在确定出心率值较低(如小于50)或较高(如大于100)可相应的触发报警器,同时将该心率值和/或生成的报警信息通过通信模块发送至服务器。The heart rate detection module 205 is used to measure the user's heart rate data. The heart rate refers to the number of heartbeats per minute. The heart rate detection module 205 is arranged inside the temple. Specifically, the heart rate detection module 205 can use dry electrodes to obtain human body ECG data through electric pulse measurement, and determine the heart rate according to the peak amplitude in the ECG data; The photoelectric method is composed of light emission and light receiver for heart rate measurement. Correspondingly, the heart rate detection module 205 is arranged at the bottom of the temple, at the earlobe of the auricle of the human body. After the heart rate detection module 205 collects the heart rate data, it can be sent to the processor 202 for data processing to obtain the wearer's current heart rate value. In one embodiment, after the processor 202 determines the user's heart rate value, it can The heart rate value is displayed in the display part 203 in real time, and the optional processor 202 can trigger an alarm accordingly when it is determined that the heart rate value is lower (such as less than 50) or higher (such as greater than 100), and the heart rate value And/or the generated alarm information is sent to the server through the communication module.

距离传感器206,可设置在镜框上,该距离传感器206用于感应人脸到镜框的距离,该距离传感器206可采用红外感应原理实现。具体的,该距离传感器206将采集的距离数据发送至处理器202,处理器202根据该距离数据控制显示部件203的亮暗。示例性的,当确定出距离传感器206采集到的距离小于5厘米时,处理器202相应的控制显示部件203处于点亮状态,当确定出距离传感器为探测到有物体靠近时,相应的控制显示部件204处于关闭状态。The distance sensor 206 can be arranged on the mirror frame, and the distance sensor 206 is used to sense the distance from the face to the mirror frame, and the distance sensor 206 can be realized by infrared sensing principle. Specifically, the distance sensor 206 sends the collected distance data to the processor 202, and the processor 202 controls the brightness of the display part 203 according to the distance data. Exemplarily, when it is determined that the distance collected by the distance sensor 206 is less than 5 centimeters, the corresponding control display part 203 of the processor 202 is in a lighted state, and when it is determined that the distance sensor detects that an object is approaching, the corresponding control display Component 204 is in a closed state.

此外,智能眼镜的镜框上还可以设置其他类型的传感器,至少包括以下之一:加速度传感器、陀螺仪传感器和压力传感器,用于检测用户晃动、触碰或按压智能眼镜的操作,并将传感数据发送至CPU202,以判断是否开启摄像头207进行图像采集。应当理解,这并非对本实施例的限定。In addition, other types of sensors can also be set on the frame of the smart glasses, including at least one of the following: an acceleration sensor, a gyroscope sensor and a pressure sensor, which are used to detect the operation of the user shaking, touching or pressing the smart glasses, and send the sensor The data is sent to the CPU 202 to determine whether to turn on the camera 207 for image acquisition. It should be understood that this is not a limitation to this embodiment.

呼吸灯210,可设置在镜框的边缘,当显示部件203关闭显示画面时,该呼吸灯210可根据处理器202的控制而点亮呈渐变亮暗效果。The breathing light 210 can be arranged on the edge of the mirror frame, and when the display part 203 turns off the display screen, the breathing light 210 can be turned on according to the control of the processor 202 to show a gradual brightening and darkening effect.

摄像头207,可以是设置在镜框的上边框的位置,采集用户前方的图像数据的前摄像模块,还可以采集用户眼球信息的后摄像模块,也可以是二者的结合。具体的,摄像头207采集前方图像时,将采集的图像发送至处理器202识别、处理,并根据识别结果触发相应的触发事件。示例性的,当用户在家中佩戴该穿戴设备时,通过对采集的前方图像进行识别,如果识别到家具物品,则相应的查询是否存在对应的控制事件,如果存在,则相应的将该控制事件对应的控制界面显示在显示部件203中,用户可通过触摸面板204进行对应的家具物品的控制,其中该家具物品和智能眼镜通过蓝牙或无线自组网进行网络连接;当用户在户外佩戴该穿戴设备时,可相应的开启目标识别模式,该目标识别模式可用于识别特定的人,摄像头207将采集的图像发送至处理器202进行人脸识别处理,如果识别到设定的预设人脸,则相应的可通过智能眼镜集成的扬声器进行声音播报,该目标识别模式还可以用于识别不同的植物,例如,处理器202根据触摸面板204的触摸操作以记录摄像头207采集的当前图像并通过通信模块发送至服务器以进行识别,服务器对采集图像中的植物进行识别并反馈相关的植物名称、介绍至智能眼镜,并将反馈数据显示在显示部件203中。摄像头207还可以是用于采集用户眼部如眼球的图像,通过对眼球的转动的识别生成不同的控制指令,示例性的,如眼球向上转动生成上移控制指令,眼球向下转动生成下移控制指令,眼球向左转动生成左移控制指令,眼球向右转动生成右移控制指令,其中合格,显示部件203可显示处理器202传输的虚拟图像数据,该虚拟图像数据可相应的根据摄像头207检测到的用户眼球的移动变化生成的控制指令而改变,具体的,可以是进行画面切换,当检测到左移控制指令或右移控制指令后相应的切换上一个或下一个虚拟图像画面;当显示部件203显示视频播放信息时,该左移控制指令可以是进行播放内容的回播,右移控制指令可以是进行播放内容的快进;当显示部件203显示的为可编辑文字内容时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可以是对光标的位移操作,即光标的位置可根据用户对触摸板的触摸操作而进行移动;当显示部件203显示的内容为游戏动画画面时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可以是对游戏中的对象进行控制,如飞机游戏中,可通过该左移控制指令、右移控制指令、上移控制指令、下移控制指令分别控制飞机的飞行方向;当显示部件203可显示不同频道的视频画面时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可进行不同频道的切换,其中,上移控制指令和下移控制指令可以是切换到预置频道(如用户使用的常用频道);当显示部件203显示静态图片时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可进行不同图片之间的切换,其中,左移控制指令可以是切换到上一幅图片,右移控制指令可以是切换至下一幅图,上移控制指令可以是切换到上一图集,下移控制指令可以是切换至下一图集。The camera 207 may be a front camera module which is arranged on the upper frame of the mirror frame to collect image data in front of the user, a rear camera module which collects eyeball information of the user, or a combination of the two. Specifically, when the camera 207 collects the front image, it sends the collected image to the processor 202 for recognition and processing, and triggers a corresponding trigger event according to the recognition result. Exemplarily, when the user wears the wearable device at home, by identifying the collected front image, if a furniture item is identified, then correspondingly query whether there is a corresponding control event, and if so, correspondingly send the control event The corresponding control interface is displayed in the display part 203, and the user can control the corresponding furniture item through the touch panel 204, wherein the furniture item and smart glasses are connected to the network through Bluetooth or wireless ad hoc network; when the user wears the wearable outdoor When the device is installed, the target recognition mode can be turned on accordingly, and the target recognition mode can be used to identify a specific person, and the camera 207 sends the collected image to the processor 202 for face recognition processing. If the preset preset face is recognized, Correspondingly, the speaker integrated in the smart glasses can be used for sound broadcasting, and the target recognition mode can also be used to identify different plants. The module is sent to the server for identification, and the server identifies the plants in the collected images and feeds back the relevant plant names, introduces them to the smart glasses, and displays the feedback data on the display unit 203 . The camera 207 can also be used to collect images of the user's eyes, such as eyeballs, and generate different control commands by recognizing the rotation of the eyeballs. For example, turning the eyeballs upward generates an upward movement control instruction, and rotating the eyeball downwards generates a downward movement Control instructions, turning the eyeballs to the left generates a left-moving control instruction, and turning the eyeballs to the right generates a right-moving control instruction, wherein if it is qualified, the display part 203 can display the virtual image data transmitted by the processor 202, and the virtual image data can be correspondingly based on The camera 207 detects that the user's eyeball movement changes to generate a control instruction, specifically, it can be a screen switch, and when a left-moving control command or a right-moving control command is detected, the previous or next virtual image screen is switched accordingly ; When the display part 203 displays the video playback information, the left shift control instruction can be the playback of the playback content, and the right shift control instruction can be the fast forward of the playback content; when the display part 203 shows the editable text content , the left-moving control command, right-moving control command, up-moving control command, and down-moving control command can be a displacement operation on the cursor, that is, the position of the cursor can be moved according to the user's touch operation on the touch panel; when the display unit 203 When the displayed content is a game animation screen, the left-move control command, right-move control command, up-move control command, and down-move control command can control objects in the game. For example, in an airplane game, the left-move control command can instruction, right-moving control instruction, upward-moving control instruction, and downward-moving control instruction control the flight direction of the aircraft respectively; Instructions and down-moving control commands can switch between different channels, wherein the up-moving control commands and down-moving control commands can be switched to preset channels (such as the frequently used channels used by users); The left-moving control command, right-moving control command, up-moving control command, and down-moving control command can switch between different pictures, wherein the left-moving control command can be to switch to the previous picture, and the right-moving control command can be to switch To the next picture, the control command for moving up may be to switch to the previous atlas, and the control command for moving down may be to switch to the next atlas.

骨传导扬声器208,骨传导扬声器208设置在至少一个镜腿的内壁侧,用于将接收到的处理器202发送的音频信号转换为振动信号。其中,骨传导扬声器208将声音通过颅骨传递至人体内耳,通过将音频的电信号转变为振动信号传递到颅骨耳蜗内,再被听觉神经所感知。通过骨传导扬声器208作为发声装置减少了硬件结构厚度,重量更轻,同时无电磁辐射也不会受到电磁辐射的影响,并且具备抗噪声、防水以及解放双耳的有点。The bone conduction speaker 208 is disposed on the inner wall side of at least one temple, and is used for converting the received audio signal sent by the processor 202 into a vibration signal. Among them, the bone conduction speaker 208 transmits the sound to the inner ear of the human body through the skull, converts the electrical signal of the audio frequency into a vibration signal and transmits it to the cochlea of the skull, and then is perceived by the auditory nerve. Using the bone conduction speaker 208 as a sounding device reduces the thickness of the hardware structure, and is lighter in weight. At the same time, there is no electromagnetic radiation and will not be affected by electromagnetic radiation, and it has the advantages of anti-noise, waterproof and liberating both ears.

麦克风209,可设置在镜框的下边框上,用于采集外部(用户、环境)声音并传输至处理器202进行处理。示例性的,麦克风209对用户发出的声音进行采集并通过处理器202进行声纹识别,如果识别为认证用户的声纹,则相应的可接收后续的语音控制,具体的,用户可发出语音,麦克风209将采集到的语音发送至处理器202进行识别以根据识别结果生成对应的控制指令,如“开机”、“关机”、“提升显示亮度”、“降低显示亮度”,处理器202后续根据该生成的控制指令执行对应的控制处理。The microphone 209 can be arranged on the lower frame of the mirror frame, and is used to collect external (user, environment) sound and transmit it to the processor 202 for processing. Exemplarily, the microphone 209 collects the voice uttered by the user and performs voiceprint recognition through the processor 202. If the voiceprint of the authenticated user is recognized, the corresponding subsequent voice control can be received. Specifically, the user can make a voice, The microphone 209 sends the collected voice to the processor 202 for recognition so as to generate corresponding control instructions according to the recognition result, such as "power on", "shut down", "increase display brightness", "decrease display brightness", and the processor 202 follows up according to The generated control command executes the corresponding control process.

上述实施例中提供的穿戴式设备的支付装置及穿戴式设备可执行本发明任意实施例所提供的穿戴式设备的支付方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的穿戴式设备的支付方法。The payment device for the wearable device and the wearable device provided in the above embodiments can execute the payment method for the wearable device provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in the above embodiments, please refer to the payment method for a wearable device provided in any embodiment of the present invention.

本申请实施例还提供一种包含穿戴式设备可执行指令的存储介质,所述穿戴式设备可执行指令在由穿戴式设备处理器执行时用于执行一种支付方法,该方法包括:The embodiment of the present application also provides a storage medium containing executable instructions of a wearable device, and the executable instructions of the wearable device are used to execute a payment method when executed by a processor of the wearable device. The method includes:

当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息;When the payment information is collected through the camera, the voice payment prompt information is played through the bone conduction speaker or earphone;

获取麦克风采集到的语音数据,对该语音数据进行识别得到支付金额;Obtain the voice data collected by the microphone, and recognize the voice data to obtain the payment amount;

将支付信息和支付金额发送至服务器,用于服务器根据支付信息和支付金额进行支付。Send the payment information and payment amount to the server, so that the server can make payment according to the payment information and payment amount.

在一个可能的实施例中,在将支付信息和支付金额发送至服务器之前,还包括:In a possible embodiment, before sending the payment information and the payment amount to the server, it further includes:

对语音数据进行声纹识别验证;Perform voiceprint recognition verification on voice data;

相应的,将支付信息和支付金额发送至服务器包括:Correspondingly, sending the payment information and the payment amount to the server includes:

如果声纹识别验证成功,则将支付信息和支付金额发送至服务器。If the voiceprint recognition verification is successful, the payment information and payment amount are sent to the server.

在一个可能的实施例中,支付信息包括银行卡账户、二维码或条形码中的至少一种,将支付信息和支付金额发送至服务器包括:In a possible embodiment, the payment information includes at least one of bank card account, two-dimensional code or barcode, and sending the payment information and payment amount to the server includes:

通过银行应用程序或者第三方应用程序的接口将支付信息和支付金额发送至对应的服务器。The payment information and the payment amount are sent to the corresponding server through the interface of the bank application program or the third-party application program.

在一个可能的实施例中,语音支付提示信息包括随机生成的验证码,相应的,在将支付信息和支付金额发送至服务器之前,还包括:In a possible embodiment, the voice payment prompt information includes a randomly generated verification code, and correspondingly, before sending the payment information and payment amount to the server, it also includes:

确定语音数据中是否包含和验证码一致的字符内容;Determine whether the voice data contains the same character content as the verification code;

相应的,将支付信息和支付金额发送至服务器包括:Correspondingly, sending the payment information and the payment amount to the server includes:

如果存在一致的字符内容,则将支付信息和支付金额发送至服务器。If there is consistent character content, the payment information and payment amount are sent to the server.

在一个可能的实施例中,在通过摄像头采集到支付信息之前,还包括:In a possible embodiment, before the payment information is collected through the camera, it also includes:

对检测到的声音数据进行声纹识别验证,如果验证通过,则开启摄像头进行图像采集,其中,摄像头集成在穿戴式设备上,穿戴式设备包括智能眼镜。The voiceprint recognition verification is performed on the detected sound data, and if the verification is passed, the camera is turned on for image collection, wherein the camera is integrated on the wearable device, and the wearable device includes smart glasses.

在一个可能的实施例中,在通过摄像头采集到支付信息之前,还包括:In a possible embodiment, before the payment information is collected through the camera, it also includes:

获取传感器采集的传感数据,如果传感数据满足预设条件,则开启摄像头进行图像采集,传感器集成在穿戴式设备上,传感器包括加速度传感器、陀螺仪传感器和压力传感器中的至少一种。Acquire the sensing data collected by the sensor, if the sensing data meets the preset conditions, turn on the camera for image acquisition, the sensor is integrated on the wearable device, and the sensor includes at least one of an acceleration sensor, a gyroscope sensor and a pressure sensor.

在一个可能的实施例中,在通过摄像头采集到支付信息之后,还包括:In a possible embodiment, after the payment information is collected through the camera, it also includes:

对支付信息进行识别,根据识别结果生成并显示支付界面,其中,支付界面显示在穿戴式设备集成的显示部件中,穿戴式设备包括智能眼镜。The payment information is recognized, and a payment interface is generated and displayed according to the recognition result, wherein the payment interface is displayed in a display component integrated with the wearable device, and the wearable device includes smart glasses.

在一个可能的实施例中,在通过摄像头采集到支付信息之后,还包括:In a possible embodiment, after the payment information is collected through the camera, it also includes:

对所述支付信息的内容进行识别,如果识别到所述支付信息包含预支付金额,则生成包含所述预支付金额的语音提示信息;Recognizing the content of the payment information, if it is recognized that the payment information includes the prepayment amount, generating voice prompt information including the prepayment amount;

相应的,所述将所述支付信息和所述支付金额发送至服务器包括:Correspondingly, the sending the payment information and the payment amount to the server includes:

如果所述预支付金额和所述支付金额一致,则将所述支付信息和所述支付金额发送至服务器。If the prepayment amount is consistent with the payment amount, the payment information and the payment amount are sent to the server.

存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. Also, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems connected by a network. The storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.

当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的支付方法操作,还可以执行本发明任意实施例所提供的支付方法中的相关操作。Of course, the storage medium containing computer-executable instructions provided in the embodiments of the present application is not limited to the operation of the payment method as described above, and can also perform the payment method provided in any embodiment of the present invention. related operations.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (10)

1.支付方法,其特征在于,包括:1. Payment methods, characterized in that they include: 当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息;When the payment information is collected through the camera, the voice payment prompt information is played through the bone conduction speaker or earphone; 获取麦克风采集到的语音数据,对所述语音数据进行识别得到支付金额;Obtain the voice data collected by the microphone, and identify the voice data to obtain the payment amount; 将所述支付信息和所述支付金额发送至服务器,用于服务器根据所述支付信息和所述支付金额进行支付。Sending the payment information and the payment amount to the server, for the server to make payment according to the payment information and the payment amount. 2.根据权利要求1所述的方法,其特征在于,在所述将所述支付信息和所述支付金额发送至服务器之前,还包括:2. The method according to claim 1, further comprising: before sending the payment information and the payment amount to the server: 对所述语音数据进行声纹识别验证;Perform voiceprint recognition verification on the voice data; 相应的,所述将所述支付信息和所述支付金额发送至服务器包括:Correspondingly, the sending the payment information and the payment amount to the server includes: 如果声纹识别验证成功,则将所述支付信息和所述支付金额发送至服务器。If the voiceprint recognition verification is successful, the payment information and the payment amount are sent to the server. 3.根据权利要求2所述的方法,其特征在于,所述支付信息包括银行卡账户、二维码或条形码中的至少一种,所述将所述支付信息和所述支付金额发送至服务器包括:3. The method according to claim 2, wherein the payment information includes at least one of a bank card account, a two-dimensional code or a bar code, and the sending of the payment information and the payment amount to the server include: 通过银行应用程序或者第三方应用程序的接口将所述支付信息和所述支付金额发送至对应的服务器。The payment information and the payment amount are sent to a corresponding server through an interface of a bank application program or a third-party application program. 4.根据权利要求1所述的方法,其特征在于,所述语音支付提示信息包括随机生成的验证码,相应的,在所述将所述支付信息和所述支付金额发送至服务器之前,还包括:4. The method according to claim 1, wherein the voice payment prompt information includes a randomly generated verification code, and correspondingly, before sending the payment information and the payment amount to the server, further include: 确定所述语音数据中是否包括和所述验证码一致的字符内容;Determine whether the voice data includes character content consistent with the verification code; 相应的,所述将所述支付信息和所述支付金额发送至服务器包括:Correspondingly, the sending the payment information and the payment amount to the server includes: 如果存在一致的字符内容,则将所述支付信息和所述支付金额发送至服务器。If there is consistent character content, the payment information and the payment amount are sent to the server. 5.根据权利要求4所述的方法,其特征在于,在通过摄像头采集到支付信息之前,还包括:5. The method according to claim 4, further comprising: before the payment information is collected by the camera: 对检测到的声音数据进行声纹识别验证,如果验证通过,则开启摄像头进行图像采集,所述摄像头集成在穿戴式设备上,所述穿戴式设备包括智能眼镜。Voiceprint recognition verification is performed on the detected sound data, and if the verification is passed, the camera is turned on for image collection, the camera is integrated on the wearable device, and the wearable device includes smart glasses. 6.根据权利要求1-4中任一项所述的方法,其特征在于,在通过摄像头采集到支付信息之前,还包括:6. The method according to any one of claims 1-4, characterized in that, before the payment information is collected through the camera, further comprising: 获取传感器采集的传感数据,如果所述传感数据满足预设条件,则开启摄像头进行图像采集,所述传感器集成在穿戴式设备上,所述传感器包括加速度传感器、陀螺仪传感器和压力传感器中的至少一种。Acquire the sensing data collected by the sensor. If the sensing data meets the preset conditions, turn on the camera for image acquisition. The sensor is integrated on the wearable device, and the sensor includes an acceleration sensor, a gyroscope sensor and a pressure sensor at least one of . 7.根据权利要求1所述的方法,其特征在于,在通过摄像头采集到支付信息之后,还包括:7. The method according to claim 1, further comprising: after the payment information is collected by the camera: 对所述支付信息的内容进行识别,如果识别到所述支付信息包含预支付金额,则生成包含所述预支付金额的语音提示信息;Recognizing the content of the payment information, if it is recognized that the payment information includes the prepayment amount, generating voice prompt information including the prepayment amount; 相应的,所述将所述支付信息和所述支付金额发送至服务器包括:Correspondingly, the sending the payment information and the payment amount to the server includes: 如果所述预支付金额和所述支付金额一致,则将所述支付信息和所述支付金额发送至服务器。If the prepayment amount is consistent with the payment amount, the payment information and the payment amount are sent to the server. 8.支付装置,其特征在于,包括:8. The payment device, characterized in that it includes: 提示模块,用于当通过摄像头采集到支付信息时,通过骨传导扬声器或耳机播放语音支付提示信息;The prompt module is used to play the voice payment prompt information through the bone conduction speaker or earphone when the payment information is collected by the camera; 识别模块,用于获取麦克风采集到的语音数据,对所述语音数据进行识别得到支付金额;The identification module is used to obtain the voice data collected by the microphone, and identify the voice data to obtain the payment amount; 发送模块,用于将所述支付信息和所述支付金额发送至服务器,用于服务器根据所述支付信息和所述支付金额进行支付。A sending module, configured to send the payment information and the payment amount to a server, for the server to make payment according to the payment information and the payment amount. 9.一种穿戴式设备,包括:处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-7中任一项所述的支付方法。9. A wearable device, comprising: a processor, a memory, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the computer program, the computer program according to claim 1- The payment method described in any one of 7. 10.一种包含穿戴式设备可执行指令的存储介质,其特征在于,所述穿戴式设备可执行指令在由穿戴式设备处理器执行时用于执行如权利要求1-7中任一项所述的支付方法。10. A storage medium containing executable instructions for a wearable device, wherein the executable instructions for the wearable device are used to execute the instruction set forth in any one of claims 1-7 when executed by a wearable device processor. the payment method described above.
CN201811001246.5A 2018-08-30 2018-08-30 Payment method, payment device, wearable device and storage medium Pending CN109034827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811001246.5A CN109034827A (en) 2018-08-30 2018-08-30 Payment method, payment device, wearable device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811001246.5A CN109034827A (en) 2018-08-30 2018-08-30 Payment method, payment device, wearable device and storage medium

Publications (1)

Publication Number Publication Date
CN109034827A true CN109034827A (en) 2018-12-18

Family

ID=64626242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811001246.5A Pending CN109034827A (en) 2018-08-30 2018-08-30 Payment method, payment device, wearable device and storage medium

Country Status (1)

Country Link
CN (1) CN109034827A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784891A (en) * 2019-01-14 2019-05-21 重庆唯哲科技有限公司 Mobile payment process initiation method and system
CN110162292A (en) * 2019-04-15 2019-08-23 阿里巴巴集团控股有限公司 Voice broadcasting method and device
CN110400137A (en) * 2019-04-03 2019-11-01 泰州市海陵区一马商务信息咨询有限公司 Exempt from close payment verifying system
CN110689337A (en) * 2019-08-20 2020-01-14 哈尔滨学院 A kind of intelligent prompting method and system based on QR Code two-dimensional code
CN110753254A (en) * 2019-10-30 2020-02-04 四川长虹电器股份有限公司 Voiceprint registration method applied to voiceprint payment of intelligent voice television
CN112085508A (en) * 2019-06-13 2020-12-15 奇酷互联网络科技(深圳)有限公司 Payment method, terminal and device with storage function
CN112215597A (en) * 2020-09-04 2021-01-12 广东科学技术职业学院 Payment method and device based on code scanning headset
US10990939B2 (en) 2019-04-15 2021-04-27 Advanced New Technologies Co., Ltd. Method and device for voice broadcast
CN112804613A (en) * 2021-04-12 2021-05-14 北京嘉诚至盛科技有限公司 Bone conduction communication device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150206045A1 (en) * 2003-12-17 2015-07-23 West View Research, Llc User wearable wireless enabled electronic apparatus
CN104881779A (en) * 2015-06-17 2015-09-02 恒宝股份有限公司 Device, system, and method for mobile convergence payment
CN105427107A (en) * 2015-11-03 2016-03-23 中国联合网络通信集团有限公司 Payment method and device based on intelligent glasses
CN106157023A (en) * 2016-06-30 2016-11-23 乐视控股(北京)有限公司 A kind of method of payment and user terminal
CN106228365A (en) * 2016-09-23 2016-12-14 姚前 A kind of method of payment and device
CN106875192A (en) * 2017-02-27 2017-06-20 广东小天才科技有限公司 Payment method based on mobile equipment and mobile equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150206045A1 (en) * 2003-12-17 2015-07-23 West View Research, Llc User wearable wireless enabled electronic apparatus
CN104881779A (en) * 2015-06-17 2015-09-02 恒宝股份有限公司 Device, system, and method for mobile convergence payment
CN105427107A (en) * 2015-11-03 2016-03-23 中国联合网络通信集团有限公司 Payment method and device based on intelligent glasses
CN106157023A (en) * 2016-06-30 2016-11-23 乐视控股(北京)有限公司 A kind of method of payment and user terminal
CN106228365A (en) * 2016-09-23 2016-12-14 姚前 A kind of method of payment and device
CN106875192A (en) * 2017-02-27 2017-06-20 广东小天才科技有限公司 Payment method based on mobile equipment and mobile equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩春贤等: "《ARM Cortex-M0嵌入式系统开发与实践:基于NXP LPC1100系统》", 31 August 2013, 北京航空航天大学出版社 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784891A (en) * 2019-01-14 2019-05-21 重庆唯哲科技有限公司 Mobile payment process initiation method and system
CN110400137A (en) * 2019-04-03 2019-11-01 泰州市海陵区一马商务信息咨询有限公司 Exempt from close payment verifying system
CN110162292A (en) * 2019-04-15 2019-08-23 阿里巴巴集团控股有限公司 Voice broadcasting method and device
CN110162292B (en) * 2019-04-15 2021-03-19 创新先进技术有限公司 Voice broadcasting method and device
US10990939B2 (en) 2019-04-15 2021-04-27 Advanced New Technologies Co., Ltd. Method and device for voice broadcast
US11232420B2 (en) 2019-04-15 2022-01-25 Advanced New Technologies Co., Ltd. Method and device for voice broadcast
CN112085508A (en) * 2019-06-13 2020-12-15 奇酷互联网络科技(深圳)有限公司 Payment method, terminal and device with storage function
CN110689337A (en) * 2019-08-20 2020-01-14 哈尔滨学院 A kind of intelligent prompting method and system based on QR Code two-dimensional code
CN110753254A (en) * 2019-10-30 2020-02-04 四川长虹电器股份有限公司 Voiceprint registration method applied to voiceprint payment of intelligent voice television
CN112215597A (en) * 2020-09-04 2021-01-12 广东科学技术职业学院 Payment method and device based on code scanning headset
CN112804613A (en) * 2021-04-12 2021-05-14 北京嘉诚至盛科技有限公司 Bone conduction communication device

Similar Documents

Publication Publication Date Title
CN109034827A (en) Payment method, payment device, wearable device and storage medium
KR102314241B1 (en) Method for adaptive authentication and electronic device supporting the same
KR102669181B1 (en) Method for Producing Haptic Signal and the Electronic Device supporting the same
KR102392113B1 (en) Electronic device and method for processing voice command thereof
KR102608994B1 (en) Method and electronic device for payment using biometric authentication
KR102457724B1 (en) Method for performing image process and electronic device thereof
KR102139795B1 (en) Method for updating biometric feature pattern and the electronic device therefor
KR102329765B1 (en) Method of recognition based on IRIS recognition and Electronic device supporting the same
US20190347391A1 (en) Electronic device and method for controlling the same
KR102402146B1 (en) Method and apparatus for sensing fingerprints
US9202105B1 (en) Image analysis for user authentication
AU2017293746B2 (en) Electronic device and operating method thereof
WO2020088483A1 (en) Audio control method and electronic device
KR102361568B1 (en) Apparatus and method for controlling a display
KR102496410B1 (en) Electronic apparatus and method for outputting sound thereof
CN108702408A (en) Wearable Personal Digital Devices to Facilitate Mobile Device Payments and Personal Use
KR20170055893A (en) Electronic device and method for performing action according to proximity of external object
KR102339798B1 (en) Method for processing sound of electronic device and electronic device thereof
KR102525126B1 (en) Electronic device comprising iris camera
CN109061903B (en) Data display method and device, intelligent glasses and storage medium
WO2020015473A1 (en) Interaction method and device
CN112215598A (en) Voice payment method and electronic equipment
CN108959273B (en) Translation method, electronic device and storage medium
EP3287924B1 (en) Electronic device and method for measuring heart rate based on infrared rays sensor using the same
KR102497477B1 (en) Method for protecting personal information and electronic device thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218