WO2022068557A1 - Biological information verification method and device - Google Patents

Biological information verification method and device Download PDF

Info

Publication number
WO2022068557A1
WO2022068557A1 PCT/CN2021/117858 CN2021117858W WO2022068557A1 WO 2022068557 A1 WO2022068557 A1 WO 2022068557A1 CN 2021117858 W CN2021117858 W CN 2021117858W WO 2022068557 A1 WO2022068557 A1 WO 2022068557A1
Authority
WO
WIPO (PCT)
Prior art keywords
biological information
information
user
speaker
face
Prior art date
Application number
PCT/CN2021/117858
Other languages
French (fr)
Chinese (zh)
Inventor
韩亚
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022068557A1 publication Critical patent/WO2022068557A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application relates to the field of terminal technology, and in particular, to a method and device for verifying biological information.
  • Completing the identity verification in the payment process by means of biometric information verification can improve the convenience of the payment process.
  • a general speaker only includes a voice collection device for collecting voiceprint information, and is not equipped with a device for collecting other types of biological information. For example, a face collection device, a fingerprint collection device, etc. Only through a single biometric information verification (such as voiceprint verification) to complete the identity verification in the payment process is not conducive to ensuring the security of identity verification.
  • the present application provides a biological information verification method and device.
  • This method can be used for authentication during the payment process.
  • the device (such as a speaker) can collect the first biological information of the user, and call a nearby device with the second biological information collection capability to collect the second biological information of the user.
  • the first biological information and the second biological information are different types of biological information.
  • the device can combine the first biometric information verification and the second biometric information verification to verify the user's identity during the payment process. In this way, the user can complete the identity verification in the payment process through his own first biometric information and second biometric information.
  • the above method can simplify the user's payment operation.
  • a device that does not have the ability to collect the second biological information can also verify the identity of the user by combining the first biological information verification and the second biological information verification, thereby improving the security of the identity verification.
  • the present application provides a biological information verification method.
  • the method includes: the first device can collect the first biological information.
  • the first device may discover a second device with a second biological information collection capability through a short-range wireless communication connection.
  • the first device may receive second biological information collected from the second device, where the second biological information is different from the first biological information. Further, the first device may determine that the first biological information matches the third biological information, and the second biological information matches the fourth biological information.
  • the above-mentioned third biological information may be stored in the first device or a cloud storage space accessible by the first device.
  • the third biological information is the biological information of the first user pre-collected by the first device.
  • the fourth biological information may be stored in the first device or a cloud storage space accessible by the first device.
  • the fourth biological information is the biological information of the first user pre-collected by the second device.
  • the first device can complete the identity verification in the payment process.
  • the first device that does not have the ability to collect the second biological information can also verify the identity of the user by combining the first biological information verification and the second biological information verification to improve the security of the identity verification.
  • the user can quickly complete the identity verification in the payment process through his first biometric information and the second biometric information, thereby improving the convenience of the payment process.
  • the above-mentioned third biological information and the above-mentioned fourth biological information can be used as the reference biological information of the first user, and are respectively used to determine whether the first biological information obtained by the first device is the biological information of the first user and the second biological information obtained by the first device. Whether the biological information is the biological information of the first user.
  • the above short-range wireless communication connection may be one or more of the following: a near field communication connection, a Bluetooth communication connection, a WLAN direct connection communication connection, and a ZigBee communication connection.
  • the first device may send the first message to the first server.
  • the first message may be used to instruct the first server to debit the first payment account.
  • the first payment account is the payment account of the first user.
  • the above-mentioned first server may be a payment server.
  • the above-mentioned first device is a device configured with a voice collection device, for example, a speaker.
  • the above-mentioned second device is a device configured with a face collection device, for example, a TV.
  • Both the first biometric information and the third biometric information may be voiceprint information.
  • Both the second biological information and the fourth biological information may be face information.
  • the speaker can combine voiceprint verification and face verification to verify the user's identity. That is, users can complete identity verification through their own voice and face, so as to pay conveniently.
  • the above-mentioned first device is a device configured with a face acquisition device, for example, a television.
  • the above-mentioned second device may be a device equipped with a voice collection device, for example, a speaker.
  • Both the first biological information and the third biological information may be face information.
  • Both the second biometric information and the fourth biometric information may be voiceprint information.
  • the method further includes: the first device can log in to the first account on the second server.
  • the first account is the account of the first user on the second server.
  • the second server may be configured to send the content purchased by the first user to the first device after the first server successfully debits the first payment account.
  • the first device may send an acquisition request for the first content to the second server.
  • the first device may receive price information of the first content sent by the second server.
  • the above-mentioned first server may be a content server.
  • the content server may be, for example, a music server, a video server, and the like.
  • the above-mentioned first content may be, for example, audio data, video data, or the like.
  • the above-mentioned first device may be bound with the above-mentioned first account.
  • the first device establishes a communication connection with the third device.
  • An application for controlling the first device is installed in the third device.
  • the above-mentioned third device may be, for example, a mobile phone, a tablet, or the like.
  • the third device may log in to the above-mentioned first account in the application. Further, the third device may send the relevant information of the first account to the first device. In this way, the first device can establish a binding relationship with the first account.
  • the third device may perform identity verification on the first payment account.
  • the third device may receive the payment password of the first payment account input by the user.
  • the third device may then compare the received payment password with the stored payment password for the first payment account. If they are the same, the authentication of the first payment account by the third device is successful.
  • the first payment account may be associated with the first account number.
  • the third device may send an instruction for collecting the third biological information and the fourth biological information to the first device. In this way, the first device can collect the third biological information and the fourth biological information, and associate the remaining first accounts.
  • the first device can request the payment server for the payment account associated with the first account, that is, the first payment The account is debited to purchase the above-mentioned first content.
  • the first user can first complete the identity verification of the first payment account on the third device, and then instruct the first device to enter the above-mentioned third biometric information and the above-mentioned fourth biometric information through the third device.
  • identifiers of multiple accounts may be stored in the content server.
  • the above-mentioned multiple accounts include a first account.
  • the content server may determine the paid resources purchased by each account according to the identifiers of the above-mentioned multiple accounts.
  • the content server may determine that the first account has not purchased the first content. Further, the content server may send a message to the first device to prompt the first device to pay for acquiring the first content.
  • the content server may also send price information of the first content to the first device.
  • the following specifically takes the first device as a speaker equipped with a voice acquisition device, and the second device as a TV equipped with a face acquisition device as an example to illustrate that the speaker completes identity verification through biometric information, and requests the payment server to deduct the first payment account method of implementation.
  • the first user wakes up the speaker and instructs the speaker to play music A.
  • the music A is a paid resource.
  • the speaker can receive the information sent by the music server to indicate that music A can only be obtained after payment.
  • the speaker can voice broadcast "you can listen to the complete music A after payment, whether to pay or not” to remind the first user that the music A that has not been purchased is currently unavailable. Further, the speaker can receive a voice command "please help me complete the payment". That is, the first user requests to purchase music A.
  • the speaker can start voiceprint verification and face verification. Specifically, the speaker can voice broadcast "Okay, start the voiceprint verification. Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the first user to enter the voiceprint information. The first user can say the verification word "Xiaoyi Xiaoyi” according to the prompt of the speaker. The speaker can extract voiceprint information from the received voice input and compare it with the reference voiceprint information of the first user. If they match, the voiceprint verification is successful.
  • the speaker can find and call a nearby TV equipped with a camera to collect face information.
  • the speaker can voice broadcast "Voiceprint verification is successful, start face verification. Please aim your face at the camera of Li Ming's TV and wink" to prompt the first user to enter through the TV named "Li Ming" face information.
  • the speaker can prompt the user to adjust the face by means of voice broadcast, so that the face is aimed at the camera.
  • the speaker can compare the face information with the reference face information of the first user. If it matches, the face verification is successful. In this way, the speaker can complete the authentication of the user.
  • the speaker may request the payment server to debit the first payment account.
  • the payment server can perform trusted authentication on the speaker to determine that the speaker is a trusted device.
  • the speaker may send the identification information of the first payment account and the order information of the paid content to be purchased by the first user (ie, the above-mentioned music A) to the payment server.
  • the payment server can debit the first payment account according to the above order information.
  • the payment server may send a message indicating that the payment is successful to the music server.
  • the music server can send the resource of music A to the speaker.
  • the speaker can play the successfully purchased music A for the user.
  • the third biological information and the fourth biological information stored in the cloud storage space can be accessed by multiple devices.
  • the plurality of devices includes a first device.
  • the multiple devices can share the same account on the content server, or the multiple accounts of the multiple devices on the content server belong to the same account group; belonging to the same account group means that multiple accounts in the same account group share each of the accounts Content purchased in the second server.
  • the third biological information and the fourth biological information stored in the cloud storage space can be accessed by multiple devices sharing the same account, these multiple devices can obtain the third biological information and the fourth biological information from the cloud storage space to authenticate.
  • the user only needs to input the reference biometric information once, and then the paid resources requested by the first device can be paid for by the first biometric information verification and the second biometric information verification on multiple speakers.
  • the above implementation manner can simplify the user's operation of entering the reference biometric information for payment, and improve the user's use experience.
  • the first user may authorize the second user to establish reference biometric information of the second user on the first device.
  • the method may include: the first device may collect fifth biological information of the second user.
  • the fifth biological information is the same type of biological information as the first biological information.
  • the fifth biological information may be used to determine whether the biological information obtained by the first device is the biological information of the second user.
  • the fifth biological information may be stored in the first device or a cloud storage space accessible by the first device.
  • the fifth biological information is bound with the fourth biological information.
  • the fifth biological information is also voiceprint information.
  • the above-mentioned first user may be a primary user associated with the first account.
  • the above-mentioned second user may be an authorized user associated with the first account.
  • the primary user associated with the first account may be: when the first device or the cloud storage space accessible to the first device does not store the reference biological information associated with the first account, the reference biological information established by the first device the corresponding user.
  • the authorized user associated with the first account may be: when the reference biological information associated with the first account is stored in the first device or the cloud storage space accessible to the first device, the reference biological information established by the first device corresponds to the reference biological information. user.
  • the first account can be associated with one primary user and one or more authorized users.
  • the first device may collect sixth biological information.
  • the sixth biological information is the same type of biological information as the first biological information.
  • the first device may receive the second biological information collected from the second device.
  • the first device may determine that the sixth biological information matches the fifth biological information, and the third biological information matches the fourth biological information.
  • the first device may send a second message to the first server, where the second message is used to instruct the first server to debit the first payment account.
  • the above-mentioned main user authorization process may be a process of verifying the second biological information of the main user. That is to say, when the authorized user's voiceprint information is verified, combined with the verification of the main user's face information, the first device can request the payment server to debit the main user's payment account (ie, the first payment account). to purchase paid resources. In this way, it is not limited to the primary user to complete the payment through the first biometric information verification and the second biometric information verification.
  • Authorized users such as the primary user's family members and friends, can also pass the first biometric information verification under the authorization of the primary user. and the second biometric information verification method to complete the payment.
  • the method of verifying in combination with the authorized user's voiceprint information and the main user's face information can be performed in the first payment account.
  • a payment account must be confirmed by the main user before making payment, so as to avoid the authorized user from abusing the authority and over-consuming the main user's payment account.
  • the first user may authorize the second user to establish reference biometric information of the second user on the first device.
  • the method includes: the first device can collect fifth biological information of the second user.
  • the fifth biological information is the same type of biological information as the first biological information.
  • the fifth biological information may be used to determine whether the biological information obtained by the first device is the biological information of the second user.
  • the fifth biological information may be stored in the first device or a cloud storage space accessible by the first device.
  • the first device may receive seventh biological information of the second user collected by the second device.
  • the seventh biological information is the same type of biological information as the second biological information.
  • the seventh biological information may be used to determine whether the biological information obtained by the first device is the biological information of the second user.
  • the seventh biological information may be stored in the first device or a cloud storage space accessible by the first device.
  • the fifth biological information is bound with the seventh biological information.
  • the first device may request the payment server to debit the first payment account after the second user's identity verification is successful. Specifically, the first device may collect sixth biological information. The sixth biological information is the same type of biological information as the first biological information. The first device may receive the eighth biological information collected from the second device. The eighth biological information is the same type of biological information as the second biological information. The first device may determine that the sixth biological information matches the fifth biological information, and the eighth biological information matches the seventh biological information. Further, the first device may send the second message to the first server. The second message is used to instruct the first server to debit the first payment account.
  • the second user ie, the authorized user
  • the second user can independently complete the authentication.
  • the second user can also complete identity verification on the first device, and use the primary user's payment account to purchase paid resources.
  • the purchase of paid resources by the second user using the payment account of the primary user still requires the consent of the primary user.
  • the method further includes: the first device may send a third message to the third device, and receive a fourth message from the third device.
  • the third device is a device installed with an application program for controlling the first device, the indication content of the third message can be displayed on the third device, and the indication content of the third message includes asking the third device whether to allow the first device to send the second device message, and the indication content of the fourth message includes that the third device agrees to the first device to send the second message.
  • the first device can send the third message to the third device.
  • the third message may prompt the first user that the second user requests to use the payment account of the first user to purchase paid resources. If the first user agrees that the second user uses his own payment account to purchase paid resources, the third device may send a fourth message to the first device. When receiving the fourth message, the first device may request the payment server to debit the first payment account to purchase the paid resource.
  • the first user can remotely authorize the first device to request payment resources from the payment server through the third device.
  • the above-mentioned primary user remote authorization may be: when the first detection of the biometric information of the authorized user is successful, the first device may send a message for confirming whether to pay to the third device.
  • the third device may display the above message for confirming whether to pay on the user interface.
  • the primary user may authorize the first device through the third device to request the payment server to debit the first payment account.
  • the second user ie, the authorized user
  • the second user can also complete the identity verification, thereby purchasing the paid resource.
  • the payment account of the main user is debited after the consent of the main user. This not only simplifies the payment operation when acquiring the paid resources on the first device, but also improves the security of the payment account, and effectively prevents the authorized user from over-consuming the payment account of the main user.
  • the first device does not have the capability to collect the second biological information.
  • the first device may collect the second biological information by finding and calling a nearby device having the capability of collecting the second biological information.
  • a device that does not have the capability of collecting the second biological information can also verify the identity of the user by combining the first biological information verification and the second biological information verification, thereby improving the security of the identity verification performed by the first device.
  • the present application provides a device, which is a first device.
  • the first device may include: a first collection device, a communication device, a memory and a processor, wherein: the first collection device can be used to collect the first biological information.
  • the communication device can be used by the first device to discover the second device with the second biological information collection capability through the wireless communication connection.
  • the second device includes a second collection device, and the second collection device can be used to collect the above-mentioned second biological information.
  • the communication device can also be used to receive the second biological information collected from the second collecting device.
  • the memory can be used to store the first biological information and the second biological information, and can also be used to store a computer program. The memory can be used to invoke the above computer program, so that the first device executes any possible implementation method of the above first aspect.
  • the present application provides a computer-readable storage medium, including instructions, when the above-mentioned instructions are executed on the device provided in the above-mentioned second aspect, the device enables the device to execute any one of the possible implementation methods of the above-mentioned first aspect.
  • the present application provides a computer program product that, when the computer program product is executed on the device provided in the second aspect, enables the device to execute any of the possible implementation methods of the first aspect.
  • the present application provides a chip, the chip is applied to the device provided in the second aspect, the chip includes one or more processors, and the one or more processors are used for invoking computer instructions to make the device provided by the second aspect
  • the device executes any one of the possible implementation methods of the first aspect above.
  • the device provided in the second aspect, the computer-readable storage medium provided in the third aspect, the computer program product provided in the fourth aspect, and the chip provided in the fifth aspect are all used to execute the method provided by the embodiments of the present application. . Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding method, which will not be repeated here.
  • FIG. 1 is a schematic structural diagram of a sound box provided by an embodiment of the present application.
  • 2A to 2E are a series of schematic diagrams of user interfaces for performing identity authentication on a payment account provided by an embodiment of the present application;
  • 2F to 2J are schematic diagrams of scenarios in which some speakers according to the embodiments of the present application record reference voiceprint information and reference face information;
  • FIG. 3 is a flowchart of a method for inputting reference voiceprint information and reference face information in a sound box provided by an embodiment of the present application
  • 4A to 4E are schematic diagrams of scenarios in which speakers pay for paid audio resources according to an embodiment of the present application.
  • FIG. 5 is a flowchart of a method for paying for paid audio resources for a speaker provided by an embodiment of the present application
  • 6A to 6F are schematic diagrams of scenarios in which reference voiceprint information and reference face information are entered into other speakers provided by the embodiments of the present application;
  • FIG. 7 is a flowchart of another method for inputting reference voiceprint information and reference face information in a speaker provided by an embodiment of the present application;
  • 8A to 8E are schematic diagrams of another scenario in which speakers pay for paid audio resources according to an embodiment of the present application.
  • FIG. 9 is a flowchart of a method for paying for paid audio resources for another speaker provided by an embodiment of the present application.
  • 10A to 10E are schematic diagrams of scenarios in which reference voiceprint information and reference face information are entered into other speakers provided by the embodiments of the present application;
  • FIGS. 11A to 11D are schematic diagrams of another scenario in which speakers pay for paid audio resources according to an embodiment of the present application.
  • 12A to 12D are schematic diagrams of another scenario in which a speaker pays for paid audio resources provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the “multiple” The meaning is two or more.
  • a speaker application is installed on an electronic device, such as a mobile phone.
  • the speaker may complete the pairing with the above-mentioned mobile phone.
  • the speaker can establish a communication connection with the above-mentioned mobile phone.
  • the speaker APP can log in to the above-mentioned first account.
  • the first account of the above speaker APP can be bound to the speaker.
  • the first account of the speaker APP may be associated with the payment account of the user (such as a Huawei wallet payment account, an Alipay payment account, and a WeChat payment account).
  • the payment account associated with the above-mentioned first account can perform payment in response to a user operation for paying for the paid audio resources.
  • the speaker can prompt the user to make payment on the above-mentioned speaker APP by means of voice broadcast. That is to say, the user needs to open the speaker APP, determine the audio resources that need to be paid, and enter the payment password of the payment account and a series of operations. Then, the electronic device installed with the speaker APP can complete the payment and send a payment success message to the speaker. In this way, the speakers can play paid audio sources.
  • the speaker can also complete the identity verification during the payment process by means of biometric information verification.
  • the speaker can call the payment account to pay for the paid resources after the biometric information verification is successful. This improves the convenience of the payment process.
  • the speakers are often only equipped with a voice collection device for collecting voiceprint information. That is, the speaker is generally not equipped with a device for collecting other types of biological information, such as a face collecting device, a fingerprint collecting device, a bone voiceprint collecting device, and so on. Then, the speaker can only complete the identity verification during the payment process through voiceprint verification.
  • the above single biometric information verification method is not conducive to ensuring the security of identity verification.
  • the present application provides a biological information verification method.
  • the biometric information verification method can be used for a speaker without a face acquisition device (such as a camera) to complete the identity verification in the payment process.
  • the speaker can realize payment by combining voiceprint verification and face verification.
  • the speaker can extract voiceprint information from the user's voice input and store it as reference voiceprint information.
  • the speaker can call a nearby device configured with a face collection device, such as a mobile phone, tablet, laptop, TV, surveillance camera, etc., to collect the user's face image.
  • the above-mentioned device configured with the face acquisition device can send the face image to the speaker.
  • the speaker can extract face information from the above face image and store it as reference face information, and bind the reference face information with the reference voiceprint information.
  • the speaker can prompt the user to enter the voiceprint information and face information by means of voice broadcast.
  • the speaker can compare the voiceprint information and face information obtained by the above input with the stored reference voiceprint information and reference face information, respectively. If the above-mentioned voiceprint information and face information match, the speaker can call the payment account for payment.
  • the speaker can still call a device configured with a face collecting device nearby to collect the face image.
  • FIG. 1 exemplarily shows a schematic structural diagram of a sound box 100 provided by an embodiment of the present application.
  • the loudspeaker 100 shown in FIG. 1 is only an example, and the loudspeaker 100 may have more or fewer components than those shown in FIG. 1 , may combine two or more components, or may have different component configuration.
  • the various components shown in FIG. 1 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 speaker 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, a key 190, a motor 191, an indicator 192, and the like.
  • USB universal serial bus
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the sound box 100 .
  • the sound box 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the processor 110 may include a voice wake-up module and a voice command recognition module.
  • the voice wake-up module and the voice command recognition module can be integrated in different processor chips and executed by different chips.
  • the voice wake-up module can be integrated in a coprocessor or DSP chip with lower power consumption
  • the voice command recognition module can be integrated in an AP or NPU or other chips.
  • the voice wake-up module and the voice command recognition module can be integrated in the same processor chip, and the same chip performs related functions.
  • both the voice wake-up module and the voice command recognition module can be integrated in the AP chip or the NPU or other chips.
  • the processor 110 may further include a voice instruction execution module, that is, after recognizing the voice instruction, execute the operation corresponding to the voice instruction.
  • the processor 110 may also include a security module.
  • the security module may be a module integrated in the AP chip. Alternatively, the security module can also be integrated on a separate security chip.
  • the security module can be used to store reference voiceprint information and reference face information, and complete local verification in the payment process. Exemplarily, during the payment process, the security module may compare the voiceprint information and face information to be verified with the reference voiceprint information and the reference face information, respectively. If the voiceprint information to be verified matches the reference voiceprint information, and the face information to be verified matches the reference face information, the local verification is passed.
  • the speaker 200 can call the payment account for payment.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the speaker 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the speaker through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the speaker 100 can be realized by the antenna 2, the wireless communication module 160, the modem processor, the baseband processor, and the like.
  • the antenna 2 is used to transmit and receive electromagnetic wave signals.
  • Each antenna in loudspeaker 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the wireless communication module 160 can provide wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems applied on the speaker 100 . (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the speaker 100 can be implemented through the NPU, such as face verification, voiceprint verification, text understanding, speech synthesis, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the speaker 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the speaker 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function), and the like.
  • the storage data area can store data (such as audio data) created during the use of the speaker 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the speaker 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the speaker 100 can listen to music or answer calls through the speaker 170A.
  • the receiver 170B also referred to as “earpiece”, is used to convert audio electrical signals into sound signals.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the speaker 100 may collect the user's voice input through the microphone 170C, and extract voiceprint information from the voice input. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the speaker 100 may be provided with at least one microphone 170C.
  • the sound box 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function.
  • three, four or more microphones 170C may also be provided in the speaker 100 to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the speaker 100 can receive key inputs and generate key signal inputs related to user settings and function control of the speaker 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications may correspond to different vibration feedback effects.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the speaker 100 needs to obtain the user's reference voiceprint information and reference face information before making payment through voiceprint verification and face verification.
  • the speaker 100 may receive a user's voice input and a face image after receiving an instruction for instructing to create biometric information. Further, the speaker 100 can extract voiceprint information from the above voice input, and store the voiceprint information in the security module as reference voiceprint information. The speaker can extract face information from the above face image, and store the face information in the security module as reference face information.
  • the above-mentioned biological information includes voiceprint information and face information.
  • the above-mentioned instruction for instructing to create new biological information may come from the electronic device 200 .
  • the electronic device 200 may be a device in which a speaker APP associated with the speaker 100 is installed. For example, mobile phones, tablets, etc.
  • a speaker APP associated with the speaker 100 For example, mobile phones, tablets, etc.
  • FIG. 1 For the schematic structural diagram of the electronic device 200 , reference may be made to the structural schematic diagram of the sound box 100 shown in FIG. 1 . Wherein, it is not limited to the components shown in FIG. 1 , and the electronic device 200 may also include more or less components.
  • the electronic device 200 may also include components such as a display screen, a camera, and the like.
  • the above speaker APP may be an application named "speaker".
  • the embodiments of the present application do not specifically limit the above speaker APP.
  • This embodiment of the present application does not specifically limit the type of the above electronic device 200 .
  • the speaker 100 may be a device without a face acquisition device (eg, a camera).
  • the speaker 100 can call the face collection device 300 that is configured with a face collection device nearby.
  • the face collection device 300 can send the face image to the speaker 300 .
  • the speaker 100 can extract face information from the face image.
  • face information can be extracted from the face image, and the face information can be sent to the speaker 100 .
  • the speaker 100 can directly store the received face information in the security module as reference face information.
  • This embodiment of the present application does not limit the device for extracting face information from a face image.
  • the face collection device 300 may include a face collection device, such as a camera. Not limited to the components shown in FIG. 1 , the face acquisition device 300 may also include more or less components.
  • the face collection device 300 may be, for example, a mobile phone, a tablet, a notebook computer, a TV, a surveillance camera, and the like. In some embodiments, the face collection device 300 and the electronic device 200 may be the same device.
  • This embodiment of the present application does not limit the type of the face collection device 300 .
  • the following describes a schematic diagram of a scene in which the speaker 100 according to the embodiment of the present application obtains the reference voiceprint information and the reference face information.
  • the speaker 100 may obtain the reference voiceprint information and the reference face information for payment after receiving the instruction from the electronic device 200 to obtain the reference voiceprint information and the reference face information operation.
  • the electronic device 200 may send the above-mentioned instruction for obtaining the reference voiceprint information and the reference face information after the payment password of the payment account is successfully verified. In this way, the electronic device 200 can perform identity authentication on the user who has entered the reference voiceprint information and the reference face information to ensure that the user is the user corresponding to the above payment account.
  • FIGS. 2A to 2E exemplarily show a user interface for the electronic device 200 to perform identity authentication of a payment account.
  • the electronic device 200 may display a user interface 210 of the speaker APP.
  • the user interface 210 may include a login account 211 , speaker status 212 , and setting options 213 . in:
  • the login account 211 can be used to display the account name currently logged into the speaker APP.
  • the account name currently logged into the speaker APP may be "Li Ming".
  • the electronic device 200 may display contents such as switching account options, logging out options, and the like.
  • the above switch account option can be used to switch the account currently logged into the speaker APP.
  • the above logout options can be used to logout of the account currently logged into the speaker APP.
  • the speaker status 212 may be used to display status information of the speakers paired with the electronic device 200 . Specifically, the electronic device 200 is successfully paired with the speaker 100 . Speaker status 212 may include Wi-Fi connection status 212A, Bluetooth status 212B, power level 212C, and speaker settings 212D.
  • the Wi-Fi connection status 212A can indicate whether the speaker is connected to the network, and the name of the Wi-Fi when connected to the Wi-Fi. For example, the speaker 100 is connected to a Wi-Fi named "liming".
  • the Bluetooth status 212B can indicate whether the Bluetooth of the speaker is turned on. For example, when the bluetooth of the speaker 100 is turned on, the bluetooth status 212B may display the prompt "turned on”.
  • the power 212C can indicate the current remaining power of the speaker.
  • Speaker Setup 212D can be used to set up information about the speakers. For example, setting the speaker name, setting the speaker can use biometric information for payment, etc.
  • the electronic device 200 may display a user interface 220 as shown in FIG. 2B.
  • the electronic device 200 can be paired with the speaker 100 through a Bluetooth connection. Specifically, when connecting for the first time, the speaker 100 turns on Bluetooth. The electronic device 200 starts the speaker APP, turns on the Bluetooth, and scans for nearby Bluetooth. When the Bluetooth of the speaker 100 is scanned, the electronic device 200 can be paired and connected with the speaker 100 . When the Bluetooth connection is subsequently disconnected and paired again, if both the electronic device 200 and the speaker 100 have Bluetooth enabled, the electronic device 200 can be automatically paired when approaching the speaker 100 .
  • the specific process of establishing the Bluetooth connection above reference may be made to the implementation manner of the prior art, which will not be repeated here.
  • the embodiments of the present application do not specifically limit the way of pairing the electronic device 200 with the speaker 100.
  • other wired such as data cables, optical fibers, etc.
  • wireless such as NFC, ZigBee, Wi-Fi, etc.
  • the electronic device 200 can configure the network for the speaker 100 .
  • a network eg WiFi
  • the name and password of the WiFi may be sent to the speaker 100 .
  • the speaker 100 can connect to the WiFi, and then access the network.
  • the speaker 100 connected to the network can search for audio resources on the network, obtain the audio resources from a server that provides the audio resources, such as a music server, and play them.
  • the speaker 100 When the speaker 100 is connected to the network, the speaker 100 can be bound with the account logged in the speaker APP in the electronic device 200 .
  • the account logged in the speaker APP For example, an account named "Li Ming" is logged in the speaker APP, and the speaker 100 can be bound with the account "Li Ming”.
  • the above-mentioned binding between the speaker and the account may mean that the speaker can obtain the data associated with the account, such as the audio resources collected by the account, the purchased audio resources, the historical audio resources listened to, and so on.
  • the speaker 100 is bound to an account whose account name is "Li Ming".
  • the speaker 100 can play them directly without the need for the account "Li Ming" to pay again.
  • the speaker 100 can call the payment account associated with the account "Li Ming" to pay.
  • the embodiments of the present application do not limit the way in which the electronic device 200 is paired with the speaker 100, the way in which the electronic device 200 configures the network for the speaker 100, and the way in which the speaker 100 establishes a binding relationship with the account logged in the speaker APP.
  • the above specific implementation methods can be Refer to the implementation in the prior art.
  • the setting options 213 may include setting options such as music collection, purchased programs, to-be-purchased programs, music preferences, audio subscription, APP message push, questions and suggestions, and the like.
  • the above-mentioned music collection may be used to display the music collected by the currently logged-in account.
  • the above-mentioned purchased programs and programs to be purchased can be respectively used to display the audio resources that have been purchased by the currently logged in account and the audio resources that are added to the shopping cart and are waiting to be purchased.
  • the above music preferences can be used to set the preferred music genres of the currently logged-in account, such as rock music, classical music, light music, etc.
  • the above audio subscription can be used to display the audio programs subscribed by the currently logged in account.
  • the above APP message push can be used to enable or disable the function of the speaker APP to push messages to the electronic device.
  • the electronic device 200 may display a user interface 220 as shown in FIG. 2B .
  • the user interface 220 may include the following setting options: speaker name 221 , Bluetooth 222 , wakeup response 223 , alarm tone 224 , home device authorization management 225 , speaker information 226 , unbinding 227 , and biometric payment 228 . in,
  • the speaker name 221 can be used to set the name of the speaker 100 .
  • the speaker 100 is currently named "Li Ming's Speaker".
  • the electronic device 200 may modify the name of the speaker 100 .
  • the Bluetooth 222 can be used to turn on or turn off the Bluetooth of the speaker 100 .
  • the wake-up response 223 can be used to turn on or turn off the function of the voice wake-up speaker 100 .
  • the speaker 100 can wake up the processor after receiving a preset wake-up word (such as Xiaoyi Xiaoyi), and then execute the voice command spoken by the user after the wake-up word.
  • a preset wake-up word such as Xiaoyi Xiaoyi
  • the alarm tone 224 may be used to set the alarm of the speaker 100 .
  • the home device authorization management 225 can be used to set the home devices that the speaker 100 can control.
  • the speaker information 226 may be used to display configuration information such as the model of the speaker 100, the version number, the speaker identification, and the size of the storage space.
  • Unbinding 227 can be used to unbind the account currently logged in the speaker APP and the speaker 100 .
  • the biometric payment 228 may be used to instruct the speaker 100 to create reference biometric information for paying for the paid resource.
  • the reference biological information may include reference voiceprint information and reference face information.
  • the reference biometric information can be used for the speaker 100 to verify the user's identity in the process of paying for the paid resources. That is to say, in the process of paying for the paid resources, the speaker 100 collects the user's voiceprint information and face information, and compares the voiceprint information and the face information with the above-mentioned reference voiceprint information and reference face information respectively. . If both match, the user authentication is successful.
  • the electronic device 200 may display a user interface 230 as shown in FIG. 2C.
  • the user interface 230 may include a biometrics function 231 and a new biometrics option 232 . in:
  • the biological information function 231 may be used for a function of prompting the user's biological information.
  • the biometric information function 231 may include the prompt "biological information is used to pay for paid resources".
  • a switch 231A may also be included in the biological information function 231 . The switch 231A can be used to turn on or off the function of paying for resources using biological information.
  • the user interface 220 may also contain more or less setting options.
  • the New Biometrics option 232 may be used to begin creating reference biometrics for payment.
  • the process of establishing reference biometric information for payment may include: performing identity authentication on the payment account, and entering reference voiceprint information and reference face information after the identity authentication is passed.
  • the electronic device 200 may display a user interface 240 as shown in FIG. 2D.
  • User interface 240 may include a password input box 241 and a keyboard 243 .
  • the password input box 241 can be used to input the payment password of the payment account associated with the account currently logged in the speaker APP.
  • the keyboard 243 can be used to enter the payment password in the password input box 241 .
  • the electronic device 200 may display a prompt box 242 on the user interface 240 .
  • the prompt box 242 may be used to prompt the user to perform successful identity authentication and to perform operations for entering voiceprint information and face information.
  • the prompt box 242 may contain the prompt "authentication is successful! Please continue to complete the voice entry and face entry".
  • the specific content of the prompt word in the prompt box 242 is not limited in this embodiment of the present application.
  • the user can instruct the speaker to create biological information through the speaker APP on the electronic device 200 .
  • the user can further enter the reference voiceprint information and reference face information for payment on the speaker 100 .
  • the user interface shown in FIG. 2A to FIG. 2E may further include more or less content, which is not limited in this embodiment of the present application.
  • the electronic device 200 may send an instruction to the speaker 100 for instructing to obtain the reference voiceprint information and the reference face information. Further, the speaker 100 may prompt the user to input voiceprint information and face information.
  • FIGS. 2F to 2I exemplarily show schematic diagrams of scenarios in which the first user enters reference voiceprint information and reference face information.
  • the speaker 100 may prompt the first user to input voiceprint information by means of voice broadcast.
  • the speaker 100 may voice broadcast "Please follow me and say the following verification word: Xiaoyi Xiaoyi".
  • the first user can say "Xiaoyi Xiaoyi” after hearing the prompt from the speaker 100 .
  • the speaker 100 may collect the voice input of the first user saying the above verification word, and extract voiceprint information from the voice input.
  • the speaker 100 can compare the voiceprint information with the reference voiceprint information stored in the security module. If the voiceprint information matches one of the stored reference voiceprint information, the speaker 100 may prompt the first user to have entered the voiceprint information by means of voice broadcast.
  • the speaker 100 may store the voiceprint information in the security module as the reference voiceprint information of the first user.
  • the speaker 100 may prompt the first user to input face information by means of voice broadcast.
  • the speaker 100 can search for and call a nearby available face collection device to collect a face image.
  • the speaker 100 can send a broadcast signal to inquire whether a nearby device is equipped with a face acquisition device.
  • the devices near the speaker 100 include electronic devices 200, face acquisition devices (eg, televisions, mobile phones, tablets, and laptops) 300, and the like.
  • a device equipped with a face acquisition device near the speaker 100 can send a response message to the speaker 100 .
  • the response message may include the configuration of the face acquisition device (eg, a 2D camera, a 3D camera, an infrared camera).
  • the speaker 100 can select one of the multiple devices to collect people according to the sequence of the received response messages, the configuration of the face collection device, and other factors. face image. For example, 3D face authentication is more reliable than 2D face authentication.
  • the speaker 100 can choose a better equipped device, such as a device equipped with a 3D camera.
  • the order in which the response messages are received may reflect the communication delay between the speaker 100 and the device configured with the face acquisition device and the response speed of the device.
  • the speaker 100 can select the device corresponding to the response message received first. This embodiment of the present application does not limit the manner in which the speaker 100 selects a device configured with a face collecting device nearby.
  • the device near the sound box 100 may be a device in the same local area network as the sound box, or may be a device within a preset distance range of the sound box 100 .
  • the above-mentioned preset distance may be determined by the farthest communication distance that can be achieved by the communication method in which the speaker 100 sends the above-mentioned broadcast signal.
  • the embodiments of the present application do not limit the electronic devices near the sound box 100 described above.
  • the speaker 100 can send the above-mentioned broadcast signal through a short-distance communication channel such as a near-field communication channel, a Bluetooth communication channel, and a WLAN direct communication channel.
  • a short-distance communication channel such as a near-field communication channel, a Bluetooth communication channel, and a WLAN direct communication channel.
  • the speaker 100 may determine to call the face collection device 300, such as a TV, to collect a face image according to the aforementioned method of finding and selecting a nearby device configured with a face collection device.
  • the face collection device 300 is configured with a face collection device 301 .
  • the face collection device 300 is used as a television for specific description.
  • the face acquisition device 301 configured on the TV can be a 3D camera.
  • the face collection device 300 may also be other electronic devices configured with a face collection state, such as a mobile phone, a tablet, a notebook computer, and the like.
  • the speaker 100 may send an instruction to the face collection device 300 for instructing to turn on the face collection device 301, such as a camera, to collect face images. And, as shown in FIG. 2G , the speaker 100 can voice broadcast "Voiceprint recording is successful. Please complete face recording on Li Ming's TV". "Li Ming's TV" in the voice broadcast may be the name of the face collecting device 300 .
  • the face collection device 300 can turn on the camera and send a message to the speaker 100 indicating that the camera is turned on.
  • the speaker 100 when receiving the above-mentioned message indicating that the camera is turned on, the speaker 100 can voice broadcast "Please aim your face at the camera of Li Ming's TV and blink.” In this way, the speaker 100 can prompt the first user to perform face entry on the face collection device 300 (ie, Li Ming's TV).
  • the face acquisition device 300 includes a display screen.
  • the face collecting device 300 can also light up the display screen to display the image collected by the camera and the text prompt "Aim at the camera and blink.” In this way, the first user can adjust his position according to the image collected by the camera displayed on the display screen, so that his face is aligned with the camera.
  • the face acquisition device 300 does not include a display screen.
  • the face collecting device 300 includes a display screen, but when collecting a face image, the display screen is not lit. Then, during the process of collecting the face image by the face collecting device 300, the speaker 100 may prompt the first user to point the face at the face collecting device by means of voice broadcast. For example, a voice announces "The face is not aligned with the camera, please move a little to the left". In this way, when the face collection device 300 does not include a display screen or includes a display screen but the display screen is not lit, the first user can align his face with the face collection device according to the voice prompt of the speaker.
  • the face acquisition device 300 can encrypt the face image and send it to the speaker 100 .
  • the face acquisition device 300 can encrypt the face image according to an encryption method such as a symmetric encryption algorithm and an asymmetric encryption algorithm.
  • an encryption method such as a symmetric encryption algorithm and an asymmetric encryption algorithm.
  • the speaker 100 can decrypt it according to the encryption method negotiated with the face acquisition device 300 to obtain the face image of the first user. Further, the speaker 100 can extract face information from the face image and store it in the security module as reference face information. The speaker 100 may bind the above-mentioned reference voiceprint information and the above-mentioned reference face information.
  • the speaker 100 needs to verify whether the voiceprint information and the face information match with the bound reference voiceprint information and the reference face information respectively.
  • the speaker 100 can call the payment account associated with the account bound to the speaker 100 for payment.
  • the combination of voiceprint verification and face verification requires that the voiceprint information and face information entered by the user are correct, which can improve the security of using biometric information for payment .
  • the speaker 100 can voice broadcast "The face entry is successful, you have enabled biometric payment". In this way, the speaker 100 can prompt the first user that the biometric payment has been successfully activated. When the paid audio resources need to be paid later, the first user can complete the payment by entering his own voiceprint information and face information.
  • the speaker 100 may also send a message to the electronic device 200 for indicating that the biometric information is successfully established.
  • the electronic device 200 may display a biometric information list 233 on the user interface 230 .
  • the biological information list 233 may be used to display reference biological information that has been established on the speaker 100 .
  • the biometric information list 233 of the electronic device 200 may include "User 1" 233A indicating biometric information of the first user.
  • the electronic device 200 may display an option to change the name of the biometric information, an option to delete the biometric information, and the like. That is, the user can modify the name of the biological information, for example, modify the name "User 1" to "Li Ming". And, the user can delete the biological information.
  • the electronic device 200 may transmit an instruction to delete the biometric information named "User 1" to the speaker 100 .
  • the speaker 100 can delete the biometric information (including the reference voiceprint information and the reference face information) named "User 1" stored in the security module.
  • This embodiment of the present application does not limit the specific content of the voice broadcast by the speaker 100 .
  • the speaker 100 may prompt the user to speak the preset verification word for many times.
  • the above verification word is not limited to "Xiaoyi Xiaoyi", but can also be other words or sentences.
  • the speaker 100 may not contain a preset verification word. That is, the user can speak any word or sentence.
  • the speaker 100 can extract the user's voiceprint information from the user's voice input.
  • the speaker 100 is configured with a face capture device, such as a camera.
  • a face capture device such as a camera.
  • the speaker 100 can turn on its own face collection device to collect the face image and extract the face information in the face image.
  • the sound box 100 is configured with a camera.
  • the speaker 100 can voice broadcast "Please aim your face at my camera and wink”.
  • the speaker 100 can also prompt the user to adjust the position through voice broadcast, so that the user's face is aligned with the camera of the speaker 100 . For example, when the user's face is inclined to the right of the area where the camera captures the image, the speaker 100 can voice broadcast "The face is not aligned with the camera, please move a little to the left”.
  • the speaker 100 can extract the face information from the face image, and store the face information in the security module as reference face information.
  • the speaker equipped with the voice collecting device and the face collecting device can independently complete the input of the reference biometric information, and use the reference biometric information to verify the user's identity in the process of paying for the paid resources.
  • This embodiment of the present application does not limit the storage space of the above-mentioned reference biological information.
  • the reference biological information may also be stored in the cloud storage space.
  • the above-mentioned cloud storage space may be a storage space that can be accessed by the speaker 100 and the face collecting device 300 .
  • the speaker 100 may store the voiceprint information in the above-mentioned cloud storage space. Further, the speaker 100 can find and call the face collecting device 300 to collect the face image. The face collection device 300 may perform feature extraction on the collected face image of the first user to obtain face information of the first user.
  • the face collection device 300 may store the face information of the first user in a cloud storage space. Wherein, in the cloud storage space, the voiceprint information and face information of the first user may be associated. Alternatively, the face collection device 300 may send the collected face image of the first user to the speaker 100 . The speaker 100 can perform feature extraction on the face image to obtain the face information of the first user. Further, the speaker 100 may store the face information of the first user and the voiceprint information of the first user in a cloud storage space in association with each other.
  • the above-mentioned reference biological information includes reference voiceprint information and reference face information.
  • One of the reference voiceprint information and the reference face information is stored in the above cloud storage space.
  • the speaker 100 may collect the voice input of the first user and obtain voiceprint information.
  • the speaker 100 can store the voiceprint information in a local security module.
  • the speaker 100 can call a nearby face collection device to collect face images and obtain face information.
  • the face collection device can extract face information from the face image, and store the face information in the cloud storage space.
  • a speaker without a face collection device can record face information by calling a nearby face collection device.
  • the speaker can record the user's reference voiceprint information and reference face information, and verify the user's identity in the process of paying for the paid resources, thereby simplifying the user's payment operation when listening to the paid resources on the speaker.
  • the following describes a method for inputting reference voiceprint information and reference face information in a speaker provided by an embodiment of the present application with reference to the schematic diagram of the above scenario.
  • FIG. 3 exemplarily shows a flowchart of a method for recording reference voiceprint information and reference face information in a speaker.
  • the method may include steps S101-S109. in:
  • the electronic device 200 receives a user operation for opening the speaker APP, pairing the electronic device 200 with the speaker 100, and establishing a binding relationship between the first account of the speaker APP and the speaker 100.
  • the sound box 100 and the electronic device 200 may be paired first when connected for the first time.
  • the Bluetooth of the electronic device 200 and the speaker 100 are both turned on.
  • the electronic device 200 starts the speaker APP, and after receiving a user operation for searching for nearby devices, scans for nearby Bluetooth.
  • the Bluetooth of the speaker 100 is scanned, the electronic device 200 can be paired and connected with the speaker 100 .
  • the embodiment of the present application does not limit the pairing manner of the electronic device 200 and the sound box 100 .
  • the electronic device 200 can configure the network for the speaker 100 .
  • the speaker 100 can be connected to the network.
  • the manner in which the electronic device 200 configures the network for the speaker 100 may refer to the foregoing embodiments, which will not be repeated here.
  • the electronic device 200 may log in the first account on the speaker APP.
  • the first account may be the account named "Li Ming" as shown in FIG. 2A.
  • the user interface where the account logged in the speaker APP is the first account reference may be made to the user interface 210 shown in FIG. 2A above.
  • the speaker 100 can establish a binding relationship with the first account.
  • a binding relationship between the speaker 100 and the first account logged in the speaker APP reference may be made to the prior art, which is not limited in this embodiment of the present application.
  • the electronic device 200 is successfully paired with the speaker 100 , and the first account of the speaker APP establishes a binding relationship with the speaker 100 .
  • the electronic device 200 receives a user operation for requesting establishment of the first biometric information for payment, and sends a request for establishing the first biometric information for payment to the speaker 100 .
  • the above-mentioned user operation for requesting the establishment of the first biometric information for payment may be the user operation acting on the above-mentioned new biometric information option 232 shown in FIG. 2C .
  • the electronic device 200 may send a request for establishing the first biometric information for payment to the speaker 100 after performing identity authentication on the payment account associated with the first account.
  • identity authentication For the implementation manner of performing identity authentication on the payment account above, reference may be made to the embodiments shown in the foregoing FIG. 2C to FIG. 2E , which will not be repeated here.
  • the speaker 100 records the first voiceprint information of the first user.
  • the above-mentioned first voiceprint information may be the aforementioned reference voiceprint information.
  • the speaker 100 may store the first voiceprint information in the security module.
  • the first voiceprint information can be used for voiceprint verification in the subsequent payment process.
  • the speaker 100 finds and calls the available face collection device 300 .
  • the face collection device 300 records the first face information of the first user.
  • the first face information may be the aforementioned reference face information.
  • the face collection device 300 may use a face collection device to collect a face image, and extract the first face information from the face image.
  • the face collection device 300 may send the collected face image to the speaker 100, and the speaker 100 extracts the face image to obtain the first face information.
  • the face collection device 300 sends the encrypted first face information to the speaker.
  • the speaker 100 decrypts the encrypted first face information, binds and stores the first voiceprint information and the first face information.
  • the speaker 100 may store the first face information in the security module.
  • the first face information can be used for face verification in the subsequent payment process.
  • the speaker 100 may bind the first voiceprint information and the first face information as the first biological information of the first user.
  • the speaker 100 sends a message to the electronic device 200 for indicating that the first biological information is successfully established.
  • the speaker 100 can combine voiceprint verification and face verification to verify the identity of the user requesting payment.
  • the first user wakes up the speaker 100 through a preset wake-up word and issues a voice instruction to play music A. Specifically, the first user says "Xiaoyi Xiaoyi, I want to listen to music A" near the speaker 100 .
  • the speaker 100 can wake up the application processor to recognize and execute the received voice command.
  • the speaker 100 can acquire and play the resources of music A from the music server.
  • the speaker 100 can also voice broadcast "OK, play music A for you” in response to the voice instruction of the first user.
  • the music server may send a message indicating that the music A is paid music to the speaker 100 .
  • the speaker 100 can voice broadcast “you can listen to the complete music A after payment, whether to pay or not” to prompt the first user to pay to listen to music A .
  • the first user can say “please help me complete the payment” near the speaker 100.
  • the speaker 100 can start to perform voiceprint verification and face verification. Specifically, as shown in FIG. 4C , the speaker 100 can voice broadcast "OK, start voiceprint verification. Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the first user to enter the voiceprint information.
  • the first user can say the verification word "Xiaoyi Xiaoyi" according to the prompt of the speaker 100 .
  • the speaker 100 can receive the voice input of the first user speaking the above verification word, and extract voiceprint information from the voice input. Further, the speaker 100 may compare the voiceprint information with the stored reference voiceprint information of the first user. If the voiceprint information matches the reference voiceprint information of the first user, the voiceprint verification is successful.
  • the speaker 100 can voice broadcast "Voiceprint verification is successful, face verification starts. Please aim your face at the camera of Li Ming's TV and blink." Among them, since the speaker 100 is not equipped with a face collection device, it cannot collect a face image. After the voiceprint verification is successful, the speaker 100 can find and call a nearby available face collection device to collect a face image.
  • the manner in which the speaker 100 finds and invokes the face acquisition device 300 (ie, Li Ming's TV) to acquire the face information may refer to the foregoing embodiments, which will not be repeated here.
  • the speaker 100 may compare the above-mentioned face information with the stored reference face information of the first user. If the above face information matches the reference face information of the first user, the face verification is successful.
  • the speaker 100 can complete the local verification of the payment account. Further, the speaker 100 can be authenticated with the payment server of the payment account. When the verification between the speaker 100 and the aforementioned payment server is successful, the payment server may perform a deduction operation on the payment account associated with the account bound to the speaker 100 .
  • the above verification between the speaker 100 and the payment server can be used by the payment server to confirm that the speaker 100 is a trusted device.
  • the payment server can complete the deduction of the payment account according to the instruction of the speaker 100 to debit the payment account.
  • the speaker 100 and the payment server can be verified according to fast identity online alliance (FIDO).
  • FIDO fast identity online alliance
  • the security module of the speaker 100 can generate a pair of asymmetric key pairs.
  • the asymmetric key pair may include a private key and a public key.
  • the security module of the speaker 100 can store the above-mentioned private key and send the above-mentioned public key to the above-mentioned payment server.
  • the payment server may associate the payment account associated with the account bound to the speaker 100 with the above public key.
  • the speaker 100 can use the private key to sign the verification request sent by the payment server, and send the verification request including the signature to the payment server.
  • the payment server can then use the public key to verify the verification request containing the signature. If the verification is successful, the payment server can confirm that the speaker 100 is a trusted device.
  • FIDO FIDO
  • other trusted identity verification methods may also be used for verification between the speaker 100 and the payment server.
  • IFAA internet finance authentication
  • TUSI Tencent user security infrastructure
  • IFAA internet finance authentication
  • TUSI Tencent user security infrastructure
  • the payment server may send a message indicating that the payment is successful to the speaker 100 .
  • the speaker 100 can send the message indicating that the payment is successful to the music server.
  • the music server may send the resources of music A to the speaker 100 . In this way, the speaker 100 can play the complete music A.
  • the payment server establishes a communication connection with the music server.
  • the payment server may send a message to the music server to indicate that the payment account associated with the account bound to the speaker 100 is successfully debited.
  • the music server may send the resource of music A to the speaker 100 . In this way, the speaker 100 can play the complete music A.
  • This embodiment of the present application does not limit the method for the music server to determine that the account bound to the speaker 100 has purchased the above-mentioned music A.
  • the speaker 100 when receiving the message indicating successful payment sent by the payment server, the speaker 100 can voice broadcast “The face verification is successful, you have successfully purchased music A, and the complete music A will be played for you” to prompt The first user has paid successfully. Then, the speaker 100 can play the resource of the music A received from the music server.
  • the above music server may store music resources and account related information (such as paid audio resources purchased by the account, etc.). It is not limited to a music server that provides music, but can also be a server that provides other types of audio resources for the speaker 100 . The embodiments of the present application do not limit the types of the above-mentioned music servers and the included contents.
  • the implementation process of waking up the application processor after the speaker 100 detects the wake-up word, and recognizing and executing the voice command may refer to the prior art, which will not be repeated here.
  • the first user when the first user enters the reference voiceprint information and the reference face information in the speaker, the first user can pass the voiceprint verification and face verification when paying for the paid audio resources. way to complete the payment. In this way, the first user can perform a series of cumbersome operations such as selecting a paid audio resource and inputting a payment password without opening the electronic device on which the speaker APP is installed.
  • the above-mentioned payment method of voiceprint verification combined with face verification can simplify user operations and make the payment process more convenient.
  • the speaker 100 may receive an instruction to instruct the speaker 100 to authenticate the user.
  • the instruction may be, for example, "please help me complete the payment" by the first user's voice input as shown in FIG. 4B .
  • the speaker 100 may first record the user's voiceprint information, and call the face collection device 300 to obtain the user's face information. Then, the speaker 100 may compare the above-mentioned voiceprint information and the above-mentioned face information with the reference voiceprint information and reference face information of the first user, respectively. If they match, both voiceprint verification and face verification are successful.
  • the speaker 100 may first obtain voiceprint information and face information that need to be verified. Then, the speaker 100 can verify the above-mentioned voiceprint information and face information that need to be verified. By performing voiceprint verification and face verification at the same time, the speaker 100 can improve the efficiency of verifying the user's identity, thereby improving the above-mentioned payment efficiency by combining voiceprint verification and face verification.
  • the reference biological information of the first user is stored in a cloud storage space.
  • the speaker 100 may obtain the reference biometric information of the first user from the cloud storage space to verify the user's identity.
  • the first user requests the speaker 100 to pay for the paid resources.
  • the speaker 100 may acquire the reference biological information of the first user from the above-mentioned cloud storage space.
  • the speaker 100 can collect the voice input of the first user to obtain voiceprint information, and compare the voiceprint information with the reference voiceprint information in the reference biological information of the first user. If the voiceprint information matches the above-mentioned reference voiceprint information, the speaker 100 can call the face collecting device 300 to collect the face image of the first user and obtain the face information.
  • the speaker 100 may compare the face information with the reference face information in the above-mentioned reference biological information of the first user.
  • the speaker 100 can perform trusted identity verification with the payment server.
  • the payment server may debit the payment account of the first user.
  • the payment account of the first user may be a payment account associated with the account bound to the speaker 100 .
  • the reference biological information of the first user is stored in a cloud storage space.
  • This cloud storage space can be accessed by the payment server.
  • the speaker 100 may send the obtained voiceprint information and face information of the first user to the payment server.
  • the payment server may obtain the reference biometric information of the first user from the cloud storage space, and use the biometric information to verify the voiceprint information and face information from the speaker 100 .
  • the speaker 100 can obtain the voiceprint information of the first user according to the method in the foregoing embodiment.
  • the speaker 100 can send the voiceprint information to the payment server, and request the payment server to perform voiceprint verification.
  • the payment server may acquire the reference biometric information of the first user from the cloud storage space, and compare the reference voiceprint information of the first user with the voiceprint information from the speaker 100 . If there is a match, the payment server may send a message to the speaker 100 to indicate that the voiceprint information is successfully verified.
  • the speaker 100 can obtain the face information of the first user according to the method in the foregoing embodiment.
  • the speaker 100 can send the face information to the payment server, and request the payment server to perform face verification.
  • the payment server may compare the reference face information of the first user with the face information from the speaker 100 . If there is a match, the payment server may debit the payment account of the first user.
  • the embodiments of the present application do not limit the manner in which the speaker 100 invokes the payment account for payment.
  • the above-mentioned reference biological information stored in the cloud storage space can be shared by the multiple speakers.
  • the first user owns multiple speakers.
  • the plurality of speakers may include the speakers 100 described above. These multiple speakers can be located in the bedroom, living room, etc. respectively.
  • the multiple speakers can be bound to the account logged in the speaker APP in the electronic device 200 .
  • the one speaker can store the reference biological information of the first user in the cloud storage space.
  • These multiple speakers can access the above cloud storage space. In this way, users only need to enter the reference biometric information once, and then they can pay for the paid resources played by the speakers through voiceprint verification and face verification on multiple speakers.
  • the above implementation manner can simplify the user's operation of entering the reference biometric information for payment, and improve the user's use experience.
  • multiple speakers can also be a distributed scenario including electronic devices such as speakers, TVs, mobile phones, and story machines.
  • multiple electronic devices bound to the same account can share the reference biological information stored in the cloud storage space associated with the account. That is, the user only needs to enter the reference biological information once, and these multiple electronic devices can obtain the reference biological information from the cloud storage space for verification, and call the payment account to pay for the paid resources, such as paid audio resources, paid video resources, etc.
  • accounts bound to multiple electronic devices in the above distributed scenario may be different accounts. These different accounts may be accounts belonging to the same account group. Wherein, multiple accounts belonging to the same account group may share the content purchased by each account in the content server.
  • the above-mentioned content server may be, for example, a music server, a video server, or the like.
  • a distributed scenario of a home includes sound box A, sound box B, and sound box C.
  • the accounts bound to Speaker A, Speaker B, and Speaker C are Account A, Account B, and Account C, respectively.
  • Account A, Account B, and Account C can be respectively associated with reference biometric information of different family members in this family.
  • the account A, the account B, and the account C are accounts belonging to one family group.
  • speaker A is bound to account A, it can purchase music A according to the payment method in the foregoing embodiment. Since speaker B is bound to account B, and speaker B is bound to account C, speaker B and speaker C can play music A without having to purchase it again.
  • the above accounts belonging to the same family group may be associated with the same payment account. That is to say, when the above-mentioned account A, account B, and account C are used as identifications to purchase paid resources, speaker A, speaker B, and speaker C can all instruct the payment server to assign the same one associated with account A, account B, and account B to the payment server.
  • the payment account is debited.
  • the speaker A can perform user identity verification according to the reference biometric information associated with the account A.
  • speaker B can perform user identity verification based on the reference biometric information associated with account B.
  • account C as the identity identifier to purchase paid resources
  • speaker C can perform user identity verification based on the reference biometric information associated with account C.
  • This embodiment of the present application does not limit the manner in which different accounts are set to belong to the same family group. For details, reference may be made to the implementation manner in the prior art.
  • the following describes a payment method for verifying a user's identity through biometric information verification provided by an embodiment of the present application in conjunction with the scenarios shown in FIGS. 4A to 4E .
  • FIG. 5 exemplarily shows a flow chart of a payment method.
  • the method may include steps S201-S209. in:
  • the security module of the speaker 100 may store the first biological information of the first user.
  • the first biological information may include first voiceprint information and first face information.
  • the first voiceprint information may be the reference voiceprint information in the foregoing embodiments.
  • the first face information may be the reference face information in the foregoing embodiment.
  • the speaker 100 establishes a binding relationship with the first account.
  • the first account may be an account that the first user logs in on the speaker APP of the electronic device 200, for example, an account whose account name is "Li Ming".
  • the first account number may be associated with a payment account.
  • the payment server can debit the payment account associated with the first account.
  • the speaker 100 receives a user operation of waking up the speaker 100, playing the paid resource, and requesting payment.
  • the above-mentioned user operation for waking up the speaker 100 and playing the paid resource may be, for example, the first user as shown in FIG. Among them, music A is a paid resource.
  • the above-mentioned user operation for requesting payment may be, for example, the first user as shown in FIG. 4B uttering the voice instruction "please help me complete the payment" near the speaker 100 .
  • the speaker 100 records the voiceprint information of the first user.
  • the speaker 100 verifies the voiceprint information entered in step S203, and determines that the voiceprint information matches the first voiceprint information.
  • the face collection device 300 records the face information of the first user.
  • the face collection device 300 encrypts the face information entered in step S206 and sends it to the speaker 100 .
  • the speaker 100 decrypts the encrypted face information, and performs verification to confirm that the face information matches the first face information.
  • the speaker 100 calls the payment account associated with the first account to pay for the payment resource.
  • the specific process of the speaker 100 verifying the voiceprint information and the face information, and calling the payment account associated with the first account for payment may refer to the introduction of the foregoing embodiments, and will not be repeated here.
  • the speaker when paying for the paid audio resources, can collect the user's voice input and extract voiceprint information for verification.
  • a speaker without a face collecting device can call a nearby device configured with a face collecting device to collect a face image.
  • the speaker can verify the face information in the above face image. After the above verification of the voiceprint information and face information is passed, the speaker can call the payment account to pay for the paid audio resources.
  • a speaker that is not equipped with a face acquisition device can also complete payment by combining voiceprint verification and face verification, which simplifies the user's operation of paying when using the speaker to listen to paid audio resources.
  • the first user when the speaker 100 is bound to the account of the first user, such as the first account (the account named "Li Ming" shown in FIG. 2A ), the first user can authorize his family Or when friends and the like use the speaker 100 to listen to paid audio resources, the payment is completed by the above-mentioned method combining voiceprint verification and face verification.
  • the payment account may be a payment account associated with the above-mentioned first account number.
  • the above-mentioned payment account associated with the first account number may be the payment account of the first user. That is, the user authorized by the first user can pay for the paid audio resource from the payment account of the first user after successful verification using the biometric information.
  • the reference biometric information of the primary user is stored in the security module of the speaker 100 .
  • the speaker 100 can also establish the reference biometric information of the authorized user after the authorization of the main user.
  • the reference biological information may include reference voiceprint information and reference face information.
  • the reference biometric information can be used to verify the identity of the user who instructed the speaker 100 to pay by comparing whether the biometric information obtained by the speaker 100 matches the reference biometric information during the process of paying for the paid resources by the speaker 100 .
  • the speaker 100 may establish the reference biological information of the primary user and the reference biological information of the authorized user for the first account.
  • the reference biological information of the primary user associated with the first account may be: when the speaker 100 does not store the reference biological information associated with the first account, the reference biological information established by the speaker 100. That is to say, the primary user associated with the first account may be a user corresponding to the reference biological information established by the speaker 100 when the speaker 100 does not store the reference biological information associated with the first account.
  • the authorized user associated with the first account may be a user corresponding to the reference biological information established by the speaker 100 when the speaker 100 stores the reference biological information associated with the first account.
  • An account bound to the speaker 100 may have one main user and one or more authorized users.
  • the speaker 100 is bound to the first account.
  • the speaker 100 does not store the reference biological information associated with the first account, the speaker 100 records the biological information of the first user as the reference biological information. Then the first user is the primary user associated with the first account.
  • the sound box 100 stores the reference biological information of the first user
  • the sound box 100 records the biological information of the second user as the reference biological information.
  • the second user is an authorized user associated with the first account.
  • the speaker 100 can call the payment account associated with the first account to pay for the paid resources. That is, the speaker 100 can call the payment account of the main user (ie, the first user) for payment.
  • the reference biometric information of the primary user may include reference voiceprint information and reference face information.
  • the reference biometric information of the authorized user may only include reference voiceprint information.
  • the speaker 100 can bind the reference voiceprint information of the authorized user with the reference face information of the main user.
  • the verification can be completed through the main user's voiceprint information and face information.
  • an authorized user uses biometric information for verification, in addition to the authorized user's voiceprint information for verification, it also needs to complete the verification through the main user's face information. That is to say, if the speaker 100 detects that the entered voiceprint information matches the reference voiceprint information of the authorized user, the speaker 100 may further prompt that the face information of the main user needs to be entered to complete the verification.
  • the authorized user can use his own voiceprint information for verification, so as to listen to paid audio resources on the speaker 100 .
  • the main user authorization can also effectively prevent the authorized user from abusing the authority and over-consuming the payment account associated with the account bound to the speaker 100 .
  • the following describes a schematic diagram of a scenario in which a first user authorizes a second user to create reference biological information on the speaker 100 provided by the embodiment of the present application.
  • FIGS. 6A to 6F exemplarily show schematic diagrams of scenarios in which the first user authorizes the second user to establish reference biological information on the sound box 100 .
  • the speaker APP of the electronic device 200 has a first account registered in the speaker APP, that is, an account whose account name is "Li Ming".
  • the speaker 100 is bound to the first account.
  • the first user may be the primary user associated with the first account in the foregoing embodiment.
  • the second user may be an authorized user associated with the first account in the foregoing embodiment.
  • the electronic device 200 may display the user interface 230 as shown in FIG. 6A .
  • User interface 230 may include a list of biological information 233 .
  • the biological information list 233 may be used to indicate reference biological information entered in the sound box 100 .
  • the reference biological information 233A named "User 1”.
  • the reference biological information named "user 1" is the reference biological information of the first user.
  • this reference biological information is the reference biological information associated with the first user established by the speaker 100 under the condition that the speaker 100 does not store the reference biological information associated with the first user
  • the speaker 100 and the electronic device 200 can default to this reference biological information.
  • the reference biometric information is the reference biometric information of the primary user associated with the first account.
  • the electronic device 200 may use the prompt word "primary user" in the biological information list 233 to prompt the user which reference biological information in the list is the reference biological information of the primary user.
  • the electronic device 200 may display a prompt box 234 on the user interface 230 .
  • the prompt box 234 may be used to prompt the user that, when the reference biometric information of the primary user already exists, the biometric information newly created requires the authorization of the primary user when being used for payment.
  • the prompt box 234 may include the prompt "This newly created biometric information will be bound with the primary user's biometric information. When using the newly created biometric information to make payment, the facial information of the primary user needs to be verified. Do you want to create a new one?" .
  • the prompt box 234 may also include an OK button 234A and a cancel button 234B.
  • the cancel button 234B can be used to cancel the establishment of the authorized user's reference biometric information.
  • the OK button 234A may be used to establish the reference biometric information of the authorized user.
  • the electronic device 200 may perform identity authentication of the payment account.
  • identity authentication For the implementation process of performing identity authentication on the payment account, reference may be made to the embodiments shown in the foregoing FIG. 2D and FIG. 2E .
  • the electronic device 200 may display a user interface 240 as shown in FIG. 6C .
  • User interface 240 may include prompt box 244 .
  • the prompt box 244 can be used to prompt that the user identity authentication is successful and further operations that need to be performed.
  • the prompt box 244 may contain the prompt "authentication is successful! Please continue to complete the voice input".
  • the electronic device 200 may send an instruction to the speaker 100 for instructing to enter the reference voiceprint information of the authorized user.
  • the speaker 100 when receiving an instruction from the electronic device 200 for instructing to enter the reference voiceprint information of the authorized user, the speaker 100 can prompt the user to enter the voiceprint information by way of voice broadcast.
  • the speaker 100 can voice broadcast "Please follow me and say the following verification word: Xiaoyi Xiaoyi".
  • the second user ie the authorized user
  • the speaker 100 can receive the voice input when the second user speaks the verification word, and extract voiceprint information from the voice input. When the voiceprint information is obtained, the speaker 100 can compare the voiceprint information with the reference voiceprint information already stored in the security module. If the voiceprint information matches one of the stored reference voiceprint information, the speaker 100 may prompt the user's voiceprint information to exist by means of voice broadcast.
  • the speaker 100 may store the voiceprint information in the security module as the reference voiceprint information of an authorized user. Moreover, the speaker 100 can bind the voiceprint information with the reference face information of the main user. Further, the speaker 100 can prompt the main user and the authorized user by voice that the reference biological information has been successfully created. For example, the speaker 100 can voice broadcast "Voiceprint input is successful, you have created biometric information".
  • the speaker 100 may send a message to the electronic device 200 indicating that the reference biological information is successfully created. Further, the electronic device 200 may display the name of the newly created reference biological information in the biological information list of the user interface 230, for example, the reference biological information 233B named "User 2".
  • the first user can perform the operations shown in FIGS. 6A to 6C on the electronic device 200 .
  • the speaker 100 may prompt to start recording the voiceprint information of the authorized user through a voice broadcast.
  • the speaker 100 can use the voiceprint information as the reference voiceprint information of the new authorized user.
  • the second user can use his own voiceprint information for verification, and complete the payment on the speaker 100 when the main user's face information is authorized.
  • the speaker 100 needs to verify the face information of the main user. When the verification of the main user's face information is passed, the speaker 100 can determine that the entered voiceprint information is authorized by the main user. In this way, the reliability of local verification during the payment process can be improved.
  • the speaker 100 may first prompt the authorized user to input the voiceprint information by means of voice broadcast.
  • the specific process is shown in Figure 6D.
  • the speaker 100 can prompt the main user to enter the face information by way of voice broadcast.
  • a speaker 100 without a face collecting device can find and call the face collecting device 300 (ie, Li Ming's TV) to collect a face image.
  • the speaker 100 can voice broadcast "The new biometric information needs the consent of the main user, the main user is asked to point his face at the camera of Li Ming's TV and wink".
  • the face collection device 300 can encrypt the collected face image and send it to the speaker 100 .
  • the speaker 100 can extract the face information from the obtained face image and compare it with the stored reference face information of the main user. If it matches, the verification of the main user's face information is passed.
  • the speaker 100 can bind the reference voiceprint information of the authorized user with the reference face information of the main user.
  • This embodiment of the present application does not limit the storage location of the reference biometric information of the primary user and the reference biometric information of the authorized user.
  • it can also be a location such as a cloud storage space that the speaker 100 can access.
  • FIG. 7 exemplarily shows a flowchart of a method for a first user to authorize a second user to create reference biological information on the speaker box 100 according to an embodiment of the present application.
  • the method may include steps S301-S306. in:
  • the speaker 100 is bound to the first account.
  • the first user may be the primary user associated with the first account in the foregoing embodiment.
  • the second user may be an authorized user associated with the first account in the foregoing embodiment.
  • the security module of the speaker 100 stores the first biological information of the first user (including the first voiceprint information and the first face information).
  • the first biological information is the reference biological information in the foregoing embodiments.
  • the electronic device 200 receives a user operation for opening the speaker APP, pairing the electronic device 200 with the speaker 100, and establishing a binding relationship between the first account of the speaker APP and the speaker.
  • the electronic device 200 is successfully paired with the speaker 100 , and the first account of the speaker APP establishes a binding relationship with the speaker 100 .
  • the electronic device 200 receives a user operation for requesting establishment of the second biometric information for payment, and sends a request for establishing the second biometric information for payment to the speaker 100 .
  • the above-mentioned user operation for requesting establishment of the second biometric information for payment may be the user operation acting on the newly created biometric information option 232 in FIG. 6A .
  • the second biological information may be the reference biological information of the authorized user.
  • the second biological information may only include reference voiceprint information.
  • the speaker 100 records the second voiceprint information of the second user.
  • the speaker 100 stores the second voiceprint information, and binds the second voiceprint information with the first face information.
  • the speaker 100 sends a message to the electronic device 200 for indicating that the second biological information is successfully established.
  • the security module of the speaker 100 stores the reference voiceprint information and the reference face information of the first user, and stores the reference voiceprint information of the second user.
  • the reference face information of the first user is bound not only with the reference voiceprint information of the first user, but also with the reference voiceprint information of the second user.
  • the first user can pay for paid audio resources on the speaker 100 through voiceprint verification and face verification.
  • the second user can pay for the paid audio resources on the speaker 100 through voiceprint verification and the first user authorizes using face verification.
  • the second user wakes up the speaker 100 through a preset wake-up word and issues a voice instruction for playing music B.
  • the second user can say "Xiaoyi Xiaoyi, I want to listen to music B" near the speaker 100 .
  • the speaker 100 can wake up the application processor to recognize and execute the received voice command.
  • the speaker 100 can acquire and play the resources of music B from the music server.
  • the speaker 100 can also voice broadcast "OK, play music B for you” in response to the second user's voice instruction.
  • the music server may send a message to the speaker 100 indicating that the music B is paid music.
  • the speaker 100 can voice broadcast “you can listen to the complete music B after payment, whether to pay or not” to prompt the first user to pay to listen to music B .
  • the second user can say “please help me complete the payment” near the speaker 100 .
  • the speaker 100 can start to perform voiceprint verification and face verification. Specifically, as shown in FIG. 8C , the speaker 100 can voice broadcast “Okay, start the voiceprint verification. Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the second user to enter the voiceprint information.
  • the second user can say the verification word "Xiaoyi Xiaoyi" according to the prompt of the speaker 100 .
  • the speaker 100 can receive the voice input of the second user speaking the above verification word, and extract voiceprint information from the voice input. Further, the speaker 100 may compare the voiceprint information with the stored reference voiceprint information, and determine that the voiceprint information matches the reference voiceprint information of the second user. That is, the speaker 100 can determine that the voiceprint verification is successful, and start face verification.
  • the speaker 100 can voice broadcast "Voiceprint verification is successful, and the face of the main user needs to be further verified. Face to the camera of Li Ming's TV and wink.” Wherein, since the speaker 100 is not equipped with a face collection device, the speaker 100 can search for and call a nearby available face collection device to collect a face image after the voiceprint verification is successful.
  • the manner in which the speaker 100 finds and invokes the face acquisition device 300 (ie, Li Ming's TV) to acquire the face information may refer to the foregoing embodiments, which will not be repeated here.
  • the speaker 100 can compare the above-mentioned face information with the reference face information of the main user (ie, the first user). If the above face information matches the reference face information of the main user, the face verification is successful.
  • the speaker 100 can complete the local verification of the payment account. Further, the speaker 100 can be authenticated with the payment server of the payment account.
  • the verification process between the speaker 100 and the payment server, the payment server debiting the payment account, and the implementation process of the music server sending the resources of music B to the speaker 100 after successful payment can all refer to the foregoing embodiments, which will not be repeated here. .
  • the speaker 100 may receive a message sent by the payment server to indicate that the payment is successful. Then, the speaker 100 can voice broadcast "face verification is successful, you have successfully purchased music B, and play the complete music B for you" to remind the user that the payment has been successful. Further, the speaker 100 can play the resource of music B received from the music server.
  • the speaker 100 when the account logged into the speaker APP is the first account named "Li Ming", the speaker 100 can be bound to the first account.
  • the audio resources purchased by the first user (ie the primary user) after the biometric information verification is successful, and the audio resources purchased by the second user and other authorized users after the biometric information verification is successful can all belong to the audio resources purchased by the above-mentioned first account.
  • the server providing the above audio resources may record the audio resources purchased by the first account. That is to say, the audio resources purchased under the condition that any reference biometric information created in the first account has passed the verification can be played when the account bound to the speaker 100 is the first account.
  • the account currently bound to the speaker 100 is the first account.
  • the reference biological information of the first user and the reference biological information of the second user have been established in the first account.
  • the first user can complete the verification through his own biological information, and make the speaker 100 call the payment account to purchase the music A.
  • the second user can complete the verification under the authorization of the first user through his biometric information, and make the speaker 100 call the payment account to purchase music B.
  • both music A and music B can belong to the music purchased by the above-mentioned first account.
  • the speaker 100 can store the reference biometric information of the main user (including the reference voiceprint information and the reference face information) and the reference biometric information of the authorized user (including only the reference voiceprint information). ). After the authorized user's voiceprint information is verified, combined with the verification of the main user's face information, the speaker 100 can call the payment account to pay for the paid audio. In this way, it is not limited to the main user to complete the payment through voiceprint verification and face verification.
  • Authorized users such as the main user's family and friends, can also pass voiceprint verification and face verification under the authorization of the main user. Complete the payment.
  • the payment account associated with the first account bound to the speaker 100 can be considered as the payment account of the main user
  • the method of verifying the voiceprint information of the authorized user and the face information of the main user can make payment in the payment account.
  • the main user must confirm before, so that the authorized user can avoid abuse of authority and excessive consumption of the main user's payment account.
  • the following describes a payment method for verifying a user's identity through biometric information verification provided by an embodiment of the present application in conjunction with the scenarios shown in FIGS. 8A to 8E .
  • FIG. 9 exemplarily shows a flow chart of a payment method.
  • the method may include steps S401-S409. in:
  • the security module of the speaker 100 stores the first biological information of the first user and the second biological information of the second user.
  • the first biological information may include first voiceprint information and first face information.
  • the first biological information may be the reference biological information of the first user in the foregoing embodiment.
  • the second biological information may only include the second voiceprint information.
  • the second biological information may be the reference biological information of the second user in the foregoing embodiment. That is, the second voiceprint information is the reference voiceprint information of the second user in the foregoing embodiment.
  • the first user may be the main user in the foregoing embodiment.
  • the second user may be the authorized user in the foregoing embodiment.
  • the speaker 100 establishes a binding relationship with the first account.
  • the speaker 100 receives a user operation of waking up the speaker 100, playing the paid resource, and requesting payment.
  • the speaker 100 records the voiceprint information of the second user.
  • the speaker 100 verifies the voiceprint information entered in step S403, and determines that the voiceprint information matches the second voiceprint information.
  • the face collection device 300 records the face information of the first user.
  • the face collection device 300 encrypts the face information entered in step S406 and sends it to the speaker 100 .
  • the speaker 100 decrypts the encrypted face information, and performs verification to confirm that the face information matches the first face information.
  • the speaker 100 calls the payment account associated with the first account to pay for the payment resource.
  • the above-mentioned second biological information may further include second face information.
  • the second face information may be the face information of the second user.
  • the second face information can be used as reference face information to verify whether the face information acquired by the speaker 100 is the face information of the second user.
  • the second voiceprint information in the second biological information may be bound with the second face information. That is to say, when the speaker 100 combines voiceprint verification and face verification to pay for the paid audio, if both the voiceprint information and the face information of the second user (that is, the authorized user) are verified, the speaker 100 can call the main The payment account of the user makes the payment. In this way, in a scenario where the main user is not near the speaker 100, the authorized user can also complete the verification by speaking the verification word and using his own face information, and then listen to the paid audio resources.
  • the following specifically introduces another schematic diagram of a scenario in which a first user authorizes a second user to create reference biological information on the speaker 100 provided in the embodiment of the present application.
  • the first user may be the primary user in the foregoing embodiment.
  • the second user may be the authorized user in the foregoing embodiment.
  • the biological information list contains reference biological information named “User 1”.
  • the reference biological information named "User 1" may represent the reference biological information of the main user. That is to say, the reference biological information of the main user is stored in the security module of the speaker 100 .
  • the electronic device 200 may transmit an instruction to the sound box 100 for instructing to create a new authorized user's reference biometric information.
  • the electronic device 200 may first perform identity authentication of the payment account.
  • the first user ie the main user
  • the first user is the user corresponding to the payment account. That is, the first user knows the password of the payment account.
  • the first user may input the password of the payment account in the user interface 240 shown in FIG. 10B to complete the identity authentication of the payment account.
  • the electronic device 200 may consider that the first user agrees to establish the reference voiceprint information of the authorized user. Further, the speaker 100 can start to record the voiceprint information and the face information as the reference voiceprint information and the reference face information of the new authorized user, respectively.
  • the speaker 100 may start recording the reference voiceprint information. Specifically, the speaker 100 can voice broadcast "Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the user to perform voiceprint input.
  • the second user When hearing the voice prompt of the speaker 100, the second user can say the verification word "Xiaoyi Xiaoyi".
  • the speaker 100 can receive the voice input when the second user speaks the verification word, and extract voiceprint information from the voice input. When the voiceprint information is obtained, the speaker 100 can compare the voiceprint information with the reference voiceprint information already stored in the security module. If the voiceprint information matches one of the stored reference voiceprint information, the speaker 100 may prompt the user's voiceprint information to exist by means of voice broadcast.
  • the speaker 100 may store the voiceprint information in the security module as the reference voiceprint information of an authorized user.
  • the speaker 100 can search for and call a nearby device configured with a face acquisition device to acquire face information.
  • a nearby device configured with a face acquisition device For a specific method for the speaker 100 to search for and call a device configured with a face acquisition device, reference may be made to the foregoing embodiments.
  • the speaker 100 may find and call the face acquisition device 300 to acquire a face image.
  • the face collection device 300 may be a TV named "Li Ming's TV".
  • the face collection device 300 may include a face collection apparatus 301 .
  • the face collecting device 301 may be, for example, a camera.
  • the speaker 100 can voice broadcast "Voiceprint recording is successful. Please complete the face entry on Li Ming's TV, please point your face to Li Ming's TV's camera and wink".
  • the second user can complete the face entry on the face collection device 300 according to the prompt of the speaker 100 .
  • the face collection device 300 may encrypt the face image and send it to the speaker 100 .
  • the speaker 100 can decrypt the encrypted face image, and extract face information therefrom. Then, the speaker 100 can store the face information in the security module as the reference face information, and bind it with the reference voiceprint information obtained in the above scenario shown in FIG. 10C . In this way, the speaker 100 can complete the input of the reference biometric information of the new authorized user. Among them, as shown in FIG. 10E , the speaker 100 can voice broadcast "face entry is successful, you have created biometric information" to remind the user that the reference biometric information of the new authorized user has been successfully created.
  • the speaker 100 may also send a message that the biometric information is successfully created to the electronic device 200 .
  • the electronic device 200 may display a user interface as shown in FIG. 6F. That is, the name of the newly created biological information, such as "User 2", is added to the biological information list 233.
  • the speaker 100 can establish reference biological information of multiple users.
  • the reference biometric information of each user may include its own reference voiceprint information and reference face information. That is, when the speaker 100 prompts that the currently playing audio is paid audio, each of the multiple users can use the voiceprint verification and face verification to make the speaker 100 call the payment account for payment, thereby listening to the paid audio.
  • the payment account used for payment may be the payment account associated with the account bound to the speaker 100 . That is, the payment account that has been authenticated in the above-mentioned FIG. 10B .
  • the speaker 100 can call a payment account to pay for the paid audio resources by combining voiceprint verification and face verification. In this way, in a scenario where the main user is not near the speaker, the authorized user can also use the payment account of the main user to purchase paid audio resources on the speaker 100 .
  • the following specifically introduces another payment method for verifying user identity through biometric information verification provided by the embodiment of the present application.
  • the sound box 100 may store the reference biological information of the first user (ie the main user) and the reference biological information of the second user (ie the authorized user).
  • the above-mentioned reference biological information includes reference voiceprint information and reference face information.
  • the second user can wake up the speaker 100 through a preset wake-up word and issue a voice instruction for playing music B.
  • the second user can say "Xiaoyi Xiaoyi, I want to listen to music B" near the speaker 100 .
  • the above-mentioned music B is a paid resource, and the first account (the account bound to the speaker 100 ) has not purchased the music B.
  • the music server providing the resource of music B may send a message to the speaker 100 indicating that music B is paid music.
  • the speaker 100 when receiving the above-mentioned message indicating that the music B is paid music, the speaker 100 can voice broadcast “you can listen to the complete music B after paying, whether to pay” to remind the first user that the first user needs to pay to listen to the music B. Further, the second user can say “please help me complete the payment” near the speaker 100 . When the voice command "please help me complete the payment” is detected, the speaker 100 can start to perform voiceprint verification and face verification. Specifically, as shown in FIG. 11C and FIG. 11D , the speaker 100 can acquire voiceprint information and face information of the second user. For the method for acquiring the voiceprint information and face information of the second user by the speaker 100, reference may be made to the foregoing embodiments, which will not be repeated here.
  • the speaker 100 can compare the voiceprint information and the face information with the stored reference voiceprint information and the reference face information respectively. The speaker 100 can determine that the voiceprint information and the face information are the voiceprint information and the face information of the second user. That is, both voiceprint verification and face verification are successful. Further, the speaker 100 can call the payment account associated with the above-mentioned first account to purchase the music B. In this way, the second user can listen to music B on the speaker 100 .
  • the authorized user after the authorized user enters the reference voiceprint information and the reference face information in the speaker 100, the authorized user can call the payment account on the speaker 100 in combination with voiceprint verification, face verification and remote authorization by the main user. Paid audio resources.
  • the above-mentioned main user remote authorization may be: when the speaker 100 detects that both the voiceprint verification and the face verification of the authorized user are successful, the speaker 100 may send a message to the electronic device 200 for confirming whether to pay.
  • the electronic device 200 may display the above-mentioned message for confirming whether to pay on the user interface.
  • the primary user may authorize the speaker 100 to call the payment account to pay for the paid audio resources through the electronic device 200 . In this way, in a scenario where the main user is not near the speaker, the authorized user can also complete voiceprint verification and face verification to request the speaker 100 to call the payment account to pay for the paid audio resources.
  • the following specifically introduces another payment method for verifying user identity through biometric information verification provided by the embodiment of the present application.
  • the speaker 100 can complete the voiceprint verification and face verification of the second user (ie, the authorized user) according to the processes shown in the aforementioned FIGS. 11A to 11D .
  • the speaker 100 may send a message for confirming the payment to the electronic device 200 .
  • the speaker 100 can also voice broadcast “Face verification is successful, waiting for confirmation from the mobile terminal” to prompt the authorized user to call the payment account for payment, which needs to be confirmed by the main user.
  • the electronic device 200 may display a user interface 250 as shown in FIG. 12B.
  • the user interface 250 may include a message notification box 251 .
  • the message notification box 251 may be used to confirm to the user whether the speaker agrees to call the payment account to pay for the paid audio resources, such as the purchase of music B.
  • the electronic device 200 may open the speaker APP, and display the user interface 260 as shown in FIG. 12C.
  • the user interface 260 may include a prompt 261 , an OK button 262 and a cancel button 263 . in:
  • the prompt 261 may be a text prompt "User 2 applies to purchase music B, whether to purchase it", to prompt the user whose main user name is "User 2" (ie, the aforementioned second user) to apply for purchasing music B.
  • the OK button 262 may be used to approve the purchase of Music B by the user named "User 2" using the primary user's payment account.
  • Cancel button 263 may be used to deny the user named "User 2" the purchase of Music B using the primary user's payment account.
  • the electronic device 200 may transmit a message indicating approval to purchase the music B to the speaker 100 .
  • the speaker 100 can call the main user's payment account to purchase music B.
  • the speaker 100 can receive the resources of music B.
  • the speaker 100 can voice broadcast "The mobile terminal has been confirmed, you have successfully purchased music B, and the complete music B will be played for you". Then, the speaker 100 can play the music B.
  • the TV equipped with a voice capture device but not configured with a face capture device can, according to the method in the foregoing embodiment, enter the user's reference biometric information and pay for it after payment.
  • the reference biometric information is used to verify the user's identity.
  • an electronic device without a face acquisition device can perform identity verification in the payment process by combining voiceprint verification and face verification.
  • the TV is equipped with a voice collecting device and a face collecting device.
  • the TV can find out if there is a nearby face capture device equipped with a better configured face capture device.
  • a TV is configured with a 2D camera.
  • the TV can call the face collection device equipped with a 3D camera to obtain the face information. Utilizing a better-configured face capture device can improve the reliability of identity verification during the payment process.
  • the electronic device is configured with a face capture device but not a voice capture device. That is, the electronic device cannot independently collect the voice input to obtain the voiceprint information. Similar to the aforementioned method of finding and calling a nearby face collection device, the electronic device can search for and call a nearby device equipped with a voice collection device to collect the user's voice input and obtain voiceprint information. Or, the electronic device is not equipped with a face collecting device and a voice collecting device. The electronic device can search for and call a nearby face collection device to collect face images and obtain face information. In addition, the electronic device can also search for and call a nearby voice collecting device to collect voice input to obtain voiceprint information.
  • the electronic device may not be limited to an electronic device configured with a voice capture device and a face capture device at the same time.
  • An electronic device that is not equipped with a voice capture device and/or a face capture device can also implement user identity verification by combining voiceprint verification and face verification.
  • the device equipped with a face collecting device near the speaker 100 is a mobile phone. Then, in the process of inputting reference face information and in the process of face verification when paying for paid resources, the speaker 100 can call a face collection device on the mobile phone, such as a camera, to obtain the face information.
  • a face collection device on the mobile phone such as a camera
  • electronic devices that need to play paid resources can call mobile phones on various occasions to obtain face information. , and then perform face verification. For example, in the scenario of using a portable speaker outside, if the portable speaker plays paid resources, the portable speaker can easily find and call the user's mobile phone to obtain face information.
  • the embodiments of the present application do not specifically limit the content contained in the above-mentioned reference biological information.
  • the reference biometric information may also include other data. For example, fingerprint information, bone voiceprint information, iris information and so on. That is to say, the speaker can also instruct the user to enter more information when entering the reference biological information.
  • the first device collects the first biological information.
  • the above-mentioned first device may be the sound box 100 in the foregoing embodiment.
  • the above-mentioned first device may also be other electronic devices that request to acquire paid resources, such as a TV, a story machine, and so on.
  • the first device is the speaker 100 .
  • the first device is configured with a voice collection device.
  • the above-mentioned first biological information may be the voiceprint information in the foregoing embodiments.
  • the first device may discover the second device with the second biological information collection capability through the short-range wireless communication connection.
  • the first device is taken as an example of the sound box 100 in the foregoing embodiment for description.
  • the second device may be the face collection device 300 in the foregoing embodiment.
  • the face collection device 300 is configured with a face collection device.
  • the face collection device may be, for example, a 2D camera, a 3D camera, an infrared camera, a millimeter wave radar, and other devices.
  • the above-mentioned second biological information may be the face information in the foregoing embodiments.
  • the above-mentioned short-range wireless communication connection may be, for example, a near field communication connection, a Bluetooth communication connection, a WiFi communication connection, a ZigBee communication connection, a WLAN direct communication connection, and the like.
  • the first device can find and call devices near itself to obtain face information.
  • the first device may pre-collect the third biological information of the first user, and call the second device to pre-collect the fourth biological information of the first user.
  • the above-mentioned third creature may be the reference voiceprint information of the first user in the foregoing embodiment.
  • the above-mentioned fourth biological information may be the reference face information of the first user in the foregoing embodiment.
  • the third biological information may be bound with the fourth biological information, and stored in the security module of the speaker 100 in the foregoing embodiment, or stored in a cloud storage space that the speaker 100 can access.
  • the identity verification is successful. That is, the first device may determine that the user corresponding to the first biological information and the second biological information is the above-mentioned first user.
  • the first device can send the first message to the first server.
  • the above-mentioned first server may be the payment server in the foregoing embodiment.
  • the first message may include identification information of the first payment account, order information of the paid resources to be paid, and the like. This embodiment of the present application does not limit the content included in the foregoing first message.
  • the payment server may debit the first payment account according to the first message.
  • the above-mentioned first payment account may be a payment account associated with an account lock bound to the first device. For example, the user associated with the account named "Li Ming" in the foregoing embodiment.
  • the payment server may first perform trusted identity verification on the first device to determine that the first device is a trusted device.
  • trusted identity verification method reference may be made to the foregoing embodiments, which will not be repeated here.
  • the payment server may send a payment success message to the second server.
  • the second server may send the paid resources purchased when the account bound to the first device is used as the identity identifier to the first device.
  • the above-mentioned second server may be a content server.
  • the content server may store the paid resources requested by the first device.
  • the content server may be, for example, a music server, a video server, or the like. This embodiment of the present application does not limit the types of the foregoing content servers.
  • the first device logs into the first account on the second server.
  • the above-mentioned first account is the account bound to the first device in the foregoing embodiment.
  • the account name shown in FIG. 2A is an account named "Li Ming".
  • the first device may log in to the first account on the content server. IDs of multiple accounts may be stored in the content server.
  • the above-mentioned multiple accounts include a first account.
  • the content server may determine the paid resources purchased by each account according to the identifiers of the above-mentioned multiple accounts.
  • the second server may determine that the first account has not purchased the first content. Further, the second server may send a message to the first device to prompt the first device to pay for acquiring the first content. The second server may also send price information of the first content to the first device.
  • the first device may collect fifth biological information of the second user.
  • the above-mentioned fifth biological information may be the reference voiceprint information of the second user in the foregoing embodiment.
  • the second user may enter the fifth biometric information under the authorization of the first user.
  • the above-mentioned first user may be the main user in the foregoing embodiment.
  • the above-mentioned second user may be an authorized user in the foregoing embodiment.
  • the first device may collect sixth biological information.
  • the sixth biological information may be the voiceprint information in the foregoing embodiments.
  • the first device may also call the second to collect the second biological information. If the first device determines that the sixth biological information matches the fifth biological information, and the second biological information matches the fourth biological information, the identity verification is successful. That is to say, in the case that the authentication of the voiceprint information of the authorized user is successful, if the primary user is authorized, the first device may request the payment server to debit the first payment account.
  • the above-mentioned main user authorization may indicate that the first device successfully authenticates the face information of the main user.
  • the first device may collect the fifth biological information of the second user, and call the second device to collect the seventh biological information of the second user.
  • the above-mentioned seventh biological information may be the reference face information of the second user. That is, the first device can obtain the reference voiceprint information and the reference face information of the authorized user.
  • the second user can use his own voiceprint information and face information for identity verification.
  • the first device may collect sixth biological information, and call the second device to collect eighth biological information.
  • the above-mentioned sixth biological information reference may be made to the introduction of the foregoing embodiments.
  • the above-mentioned eighth biological information may be face information. If the speaker 100 determines that the fifth biometric information matches the sixth biometric information, and the seventh biometric information matches the eighth biometric information, the authentication of the authorized user is successful.
  • biometric information verification method provided by the embodiments of the present application can be used for identity verification in the payment process.
  • identity verification method can also be used for identity verification in other scenarios. For example, log in to an account, obtain permissions, etc.
  • the speaker when listening to paid audio resources on the speaker needs to be paid, the speaker can perform user identity verification by combining voiceprint verification and face verification. After both voiceprint verification and face verification are successful, the speaker can request the payment server to debit the payment account to pay for the paid audio resources. This simplifies the operation for users to pay for listening to paid audio resources on the speakers.
  • the above method of combining voiceprint verification and face verification can also improve the reliability of the payment process.
  • a speaker without a face collection device can complete face verification by calling a nearby device equipped with a face collection device. That is, a speaker configured with or without a face collection device can implement the payment method provided by the embodiment of the present application, so as to simplify the user's operation of paying for paid audio resources.
  • the main user after the main user has entered his own reference voiceprint information and reference face information in the speaker, he can also authorize other users, such as his family members and friends, to enter the reference voiceprint information and reference face information.
  • the above-mentioned authorized users can also perform user identity verification by combining voiceprint verification and face verification.
  • the speaker After the authentication of the authorized user is successful, the speaker can request the payment server to debit the payment account of the main user, thereby paying for the paid audio resource. That is to say, not limited to the main user, users authorized by the main user can also conveniently complete the operation of paying for the paid audio resources on the speaker.
  • the term “when” may be interpreted to mean “if” or “after” or “in response to determining" or “in response to detecting" depending on the context.
  • the phrases “in determining" or “if detecting (the stated condition or event)” can be interpreted to mean “if determining" or “in response to determining" or “on detecting (the stated condition or event)” or “in response to the detection of (the stated condition or event)”.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A biological information verification method and device. In the method, a device can collect voiceprint information of a user and invoke a nearby face collection device to collect facial information of the user. When the device receives a user operation of requesting payment for a pay audio resource, the device can verify the identity of the user by combining voiceprint verification and face verification. When the verification is passed, the device can request a payment server to deduct money from a payment account, so as to pay for the pay audio resource. By means of the method for verifying the identity of a user by combining a plurality of pieces of biological information, the security of identity verification can be improved. In addition, a device which is not configured with a face collection apparatus can also complete identity verification during a payment process by combining voiceprint verification and face verification, and in this way, a payment operation by a user can be simplified.

Description

生物信息验证方法及设备Biological information verification method and equipment
本申请要求于2020年09月30日提交中国专利局、申请号为202011060748.2、申请名称为“生物信息验证方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011060748.2 and the application name "Biological Information Verification Method and Equipment" filed with the China Patent Office on September 30, 2020, the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请涉及终端技术领域,尤其涉及生物信息验证方法及设备。The present application relates to the field of terminal technology, and in particular, to a method and device for verifying biological information.
背景技术Background technique
随着音箱等智能家居设备的发展,用户可以方便地通过音箱收听各种音频资源,例如音乐、有声书等。音频资源付费也成为一种趋势。With the development of smart home devices such as speakers, users can easily listen to various audio resources, such as music, audio books, etc. through speakers. Paying for audio resources has also become a trend.
通过生物信息验证的方式来完成支付过程中的身份验证可以提高支付过程的便利性。但一般的音箱中仅包含用于采集声纹信息的语音采集装置,而未配置有采集其他类型的生物信息的装置。例如人脸采集装置、指纹采集装置等。仅通过单一的生物信息验证(如声纹验证)的方式来完成支付过程中的身份验证不利于保证身份验证安全。Completing the identity verification in the payment process by means of biometric information verification can improve the convenience of the payment process. However, a general speaker only includes a voice collection device for collecting voiceprint information, and is not equipped with a device for collecting other types of biological information. For example, a face collection device, a fingerprint collection device, etc. Only through a single biometric information verification (such as voiceprint verification) to complete the identity verification in the payment process is not conducive to ensuring the security of identity verification.
发明内容SUMMARY OF THE INVENTION
本申请提供一种生物信息验证方法及设备。该方法可用于支付过程中的身份验证。其中,设备(如音箱)可以采集用户的第一生物信息,并调用附近的具有第二生物信息采集能力的设备来采集用户的第二生物信息。第一生物信息和第二生物信息是不同类型的生物信息。该设备在支付过程中可结合第一生物信息验证和第二生物信息验证的方式来验证用户的身份。这样,用户可以通过自己的第一生物信息和第二生物信息来完成支付过程中的身份验证。上述方法可以简化用户的支付操作。并且,不具有第二生物信息采集能力的设备也可以结合第一生物信息验证和第二生物信息验证的方式来验证用户的身份,提高身份验证的安全性。The present application provides a biological information verification method and device. This method can be used for authentication during the payment process. The device (such as a speaker) can collect the first biological information of the user, and call a nearby device with the second biological information collection capability to collect the second biological information of the user. The first biological information and the second biological information are different types of biological information. The device can combine the first biometric information verification and the second biometric information verification to verify the user's identity during the payment process. In this way, the user can complete the identity verification in the payment process through his own first biometric information and second biometric information. The above method can simplify the user's payment operation. In addition, a device that does not have the ability to collect the second biological information can also verify the identity of the user by combining the first biological information verification and the second biological information verification, thereby improving the security of the identity verification.
第一方面,本申请提供一种生物信息验证方法。该方法包括:第一设备可以采集到第一生物信息。该第一设备可以通过短距无线通信连接发现具有第二生物信息采集能力的第二设备。该第一设备可以接收来自第二设备采集的第二生物信息,第二生物信息不同于第一生物信息。进一步的,该第一设备可以确定第一生物信息与第三生物信息匹配,且第二生物信息与第四生物信息匹配。上述第三生物信息可存储在第一设备中或者第一设备能够访问的云端存储空间。第三生物信息是第一设备预采集的第一用户的生物信息。第四生物信息可存储在第一设备中或者第一设备能够访问的云端存储空间。第四生物信息是第二设备预采集的第一用户的生物信息。In a first aspect, the present application provides a biological information verification method. The method includes: the first device can collect the first biological information. The first device may discover a second device with a second biological information collection capability through a short-range wireless communication connection. The first device may receive second biological information collected from the second device, where the second biological information is different from the first biological information. Further, the first device may determine that the first biological information matches the third biological information, and the second biological information matches the fourth biological information. The above-mentioned third biological information may be stored in the first device or a cloud storage space accessible by the first device. The third biological information is the biological information of the first user pre-collected by the first device. The fourth biological information may be stored in the first device or a cloud storage space accessible by the first device. The fourth biological information is the biological information of the first user pre-collected by the second device.
通过本申请提供的一种生物信息验证方法,第一设备可以完成支付过程中的身份验证。不具备第二生物信息采集能力的第一设备也可以结合第一生物信息验证和第二生物信息验证的方式来验证用户的身份,提高身份验证的安全性。并且,用户可以通过自己的第一生物信息和第二生物信息快速完成支付过程中的身份验证,从而提高了支付过程的便利性。Through the biometric information verification method provided in this application, the first device can complete the identity verification in the payment process. The first device that does not have the ability to collect the second biological information can also verify the identity of the user by combining the first biological information verification and the second biological information verification to improve the security of the identity verification. In addition, the user can quickly complete the identity verification in the payment process through his first biometric information and the second biometric information, thereby improving the convenience of the payment process.
上述第三生物信息和上述第四生物信息可作为第一用户的参考生物信息,分别用于确定第一设备得到的第一生物信息是否是第一用户的生物信息以及第一设备得到的第二生物信息 是否是第一用户的生物信息。The above-mentioned third biological information and the above-mentioned fourth biological information can be used as the reference biological information of the first user, and are respectively used to determine whether the first biological information obtained by the first device is the biological information of the first user and the second biological information obtained by the first device. Whether the biological information is the biological information of the first user.
上述短距无线通信连接可以为以下一种或多种:近场通信连接、蓝牙通信连接、WLAN直连通信连接、ZigBee通信连接。The above short-range wireless communication connection may be one or more of the following: a near field communication connection, a Bluetooth communication connection, a WLAN direct connection communication connection, and a ZigBee communication connection.
在一种可能的实现方式中,当上述身份验证成功,第一设备可以向第一服务器发送第一消息。该第一消息可用于指示第一服务器对第一支付账户进行扣款。该第一支付账户为第一用户的支付账户。上述第一服务器可以为支付服务器。In a possible implementation manner, when the above-mentioned authentication is successful, the first device may send the first message to the first server. The first message may be used to instruct the first server to debit the first payment account. The first payment account is the payment account of the first user. The above-mentioned first server may be a payment server.
结合第一方面,在一些实施例中,上述第一设备为配置有语音采集装置的设备,例如,音箱。上述第二设备为配置有人脸采集装置的设备,例如,电视。上述第一生物信息和上述第三生物信息均可为声纹信息。上述第二生物信息和上述第四生物信息均可为人脸信息。With reference to the first aspect, in some embodiments, the above-mentioned first device is a device configured with a voice collection device, for example, a speaker. The above-mentioned second device is a device configured with a face collection device, for example, a TV. Both the first biometric information and the third biometric information may be voiceprint information. Both the second biological information and the fourth biological information may be face information.
这样,音箱可以结合声纹验证和人脸验证的方式来验证用户的身份。即用户可以通过自己的声音和人脸来完成身份验证,从而便捷地进行支付。In this way, the speaker can combine voiceprint verification and face verification to verify the user's identity. That is, users can complete identity verification through their own voice and face, so as to pay conveniently.
结合第一方面,在另一些实施例中,上述第一设备为配置人脸采集设备的装置,例如,电视。上述第二设备可以为配置有语音采集装置的设备,例如,音箱。上述第一生物信息和上述第三生物信息均可为人脸信息。上述第二生物信息和上述第四生物信息均可为声纹信息。With reference to the first aspect, in other embodiments, the above-mentioned first device is a device configured with a face acquisition device, for example, a television. The above-mentioned second device may be a device equipped with a voice collection device, for example, a speaker. Both the first biological information and the third biological information may be face information. Both the second biometric information and the fourth biometric information may be voiceprint information.
结合第一方面,在一些实施例中,第一设备在采集到第一生物信息之前,该方法还包括:第一设备可登录第二服务器上的第一账号。该第一账号为第一用户在第二服务器上的账号。第二服务器可用于在第一服务器从第一支付账户中扣款成功后,向第一设备发送第一用户购买的内容。第一设备可以向第二服务器发送第一内容的获取请求。第一设备可接收第二服务器发送的第一内容的价格信息。With reference to the first aspect, in some embodiments, before the first device collects the first biological information, the method further includes: the first device can log in to the first account on the second server. The first account is the account of the first user on the second server. The second server may be configured to send the content purchased by the first user to the first device after the first server successfully debits the first payment account. The first device may send an acquisition request for the first content to the second server. The first device may receive price information of the first content sent by the second server.
其中,上述第一服务器可以为内容服务器。具体的,该内容服务器可例如是音乐服务器、视频服务器等。上述第一内容可以例如是音频数据、视频数据等。Wherein, the above-mentioned first server may be a content server. Specifically, the content server may be, for example, a music server, a video server, and the like. The above-mentioned first content may be, for example, audio data, video data, or the like.
需要进行说明的是,上述第一设备可以与上述第一账号绑定。示例性的,第一设备与第三设备建立有通信连接。上述第三设备中安装有用于控制第一设备的应用程序。上述第三设备可以例如是手机、平板等。第三设备可以在该应用程序中登录上述第一账号。进一步的,第三设备可以将该第一账号的相关信息发送给第一设备。这样,第一设备可以与第一账号建立绑定关系。It should be noted that the above-mentioned first device may be bound with the above-mentioned first account. Exemplarily, the first device establishes a communication connection with the third device. An application for controlling the first device is installed in the third device. The above-mentioned third device may be, for example, a mobile phone, a tablet, or the like. The third device may log in to the above-mentioned first account in the application. Further, the third device may send the relevant information of the first account to the first device. In this way, the first device can establish a binding relationship with the first account.
第一设备在采集上述第一用户的第三生物信息和第四生物信息之前,第三设备可以对第一支付账户进行身份验证。其中,第三设备可以接收用户输入的第一支付账户的支付密码。然后第三设备可以将接收到的支付密码与已存储的第一支付账户的支付密码比较。若相同,这第三设备对第一支付账户的身份验证成功。第一支付账户可以与第一账号关联。进一步的,第三设备可以向第一设备发送用于采集第三生物信息和第四生物信息的指令。这样,第一设备可以采集第三生物信息和第四生物信息,并将其余第一账号关联。在支付过程中,若第一生物信息与第三生物信息匹配,且第二生物信息与第四生物信息匹配,则第一设备可以请求支付服务器对于第一账号关联的支付账户,即第一支付账户进行扣款,来购买上述第一内容。Before the first device collects the third biometric information and the fourth biometric information of the first user, the third device may perform identity verification on the first payment account. The third device may receive the payment password of the first payment account input by the user. The third device may then compare the received payment password with the stored payment password for the first payment account. If they are the same, the authentication of the first payment account by the third device is successful. The first payment account may be associated with the first account number. Further, the third device may send an instruction for collecting the third biological information and the fourth biological information to the first device. In this way, the first device can collect the third biological information and the fourth biological information, and associate the remaining first accounts. During the payment process, if the first biometric information matches the third biometric information, and the second biometric information matches the fourth biometric information, the first device can request the payment server for the payment account associated with the first account, that is, the first payment The account is debited to purchase the above-mentioned first content.
也即使说,第一用户可以先在第三设备上完成对第一支付账户的身份验证,然后可以通过第三设备指示第一设备录入上述第三生物信息和上述第四生物信息。That is to say, the first user can first complete the identity verification of the first payment account on the third device, and then instruct the first device to enter the above-mentioned third biometric information and the above-mentioned fourth biometric information through the third device.
另外,内容服务器中可存储有多个账号的标识。上述多个账号包括第一账号。内容服务器可以根据上述多个账号的标识确定各账号购买过的付费资源。当第一设备在内容服务器上登录第一账号,且向内容服务器获取第一内容,内容服务器可以确定第一账号未购买过该第一内容。进一步的,内容服务器可以向第一设备发送消息来提示第一设备获取第一内容需要付费。内容服务器还可以将该第一内容的价格信息发送给第一设备。In addition, identifiers of multiple accounts may be stored in the content server. The above-mentioned multiple accounts include a first account. The content server may determine the paid resources purchased by each account according to the identifiers of the above-mentioned multiple accounts. When the first device logs into the first account on the content server and obtains the first content from the content server, the content server may determine that the first account has not purchased the first content. Further, the content server may send a message to the first device to prompt the first device to pay for acquiring the first content. The content server may also send price information of the first content to the first device.
下面具体以第一设备为配置有语音采集装置的音箱,第二设备为配置有人脸采集装置的电视为例,来说明音箱通过生物信息完成身份验证,并请求支付服务器对第一支付账户进行扣款的实现方式。The following specifically takes the first device as a speaker equipped with a voice acquisition device, and the second device as a TV equipped with a face acquisition device as an example to illustrate that the speaker completes identity verification through biometric information, and requests the payment server to deduct the first payment account method of implementation.
示例性的,第一用户唤醒音箱并指示该音箱播放音乐A。该音乐A为付费资源。音箱可以接收到音乐服务器发送的用于指示付费后才能获取音乐A的信息。音箱可以语音播报“付费后可收听完整的音乐A,是否付费”,来提示第一用户当前无法播放未购买过的音乐A。进一步的,音箱可以接收到语音指令“请帮助我完成支付”。即第一用户请求购买音乐A。Exemplarily, the first user wakes up the speaker and instructs the speaker to play music A. The music A is a paid resource. The speaker can receive the information sent by the music server to indicate that music A can only be obtained after payment. The speaker can voice broadcast "you can listen to the complete music A after payment, whether to pay or not" to remind the first user that the music A that has not been purchased is currently unavailable. Further, the speaker can receive a voice command "please help me complete the payment". That is, the first user requests to purchase music A.
音箱可以开始进行声纹验证和人脸验证。具体的,音箱可以语音播报“好的,开始声纹验证。请跟着我说以下验证词:小艺小艺”,来提示第一用户录入声纹信息。第一用户可以根据音箱的提示说出验证词“小艺小艺”。音箱可以从接收到的语音输入中提取声纹信息,并与第一用户的参考声纹信息进行比较。若匹配,则声纹验证成功。The speaker can start voiceprint verification and face verification. Specifically, the speaker can voice broadcast "Okay, start the voiceprint verification. Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the first user to enter the voiceprint information. The first user can say the verification word "Xiaoyi Xiaoyi" according to the prompt of the speaker. The speaker can extract voiceprint information from the received voice input and compare it with the reference voiceprint information of the first user. If they match, the voiceprint verification is successful.
然后,音箱可以查找到并调用附近配置有摄像头的电视来采集人脸信息。音箱可以语音播报“声纹验证成功,开始人脸验证。请将您的面部对准李明的电视的摄像头,并眨眨眼”,来提示第一用户通过名称为“李明”的电视来录入人脸信息。其中,音箱可以通过语音播报的方式提示用户调整人脸,从而使得人脸对准摄像头。当接收到来自电视采集的人脸信息,音箱可以将该人脸信息与第一用户的参考人脸信息进行比较。若匹配,则人脸验证成功。这样,音箱可以完成对用户的身份验证。Then, the speaker can find and call a nearby TV equipped with a camera to collect face information. The speaker can voice broadcast "Voiceprint verification is successful, start face verification. Please aim your face at the camera of Li Ming's TV and wink" to prompt the first user to enter through the TV named "Li Ming" face information. Among them, the speaker can prompt the user to adjust the face by means of voice broadcast, so that the face is aimed at the camera. When receiving the face information collected from the TV, the speaker can compare the face information with the reference face information of the first user. If it matches, the face verification is successful. In this way, the speaker can complete the authentication of the user.
进一步的,音箱可以请求支付服务器对第一支付账户进行扣款。其中,支付服务器可以对音箱进行可信身份验证,来确定音箱是可信设备。音箱可以向支付服务器发送第一支付账户的标识信息以及第一用户需要购买的付费内容(即上述音乐A)的订单信息。这样,支付服务器可以根据上述订单信息对第一支付账户进行扣款。当扣款成功,支付服务器可以向音乐服务器发送用于指示支付成功的消息。从而,音乐服务器可以将音乐A的资源发送给音箱。音箱可以为用户播放成功购买的音乐A。Further, the speaker may request the payment server to debit the first payment account. Among them, the payment server can perform trusted authentication on the speaker to determine that the speaker is a trusted device. The speaker may send the identification information of the first payment account and the order information of the paid content to be purchased by the first user (ie, the above-mentioned music A) to the payment server. In this way, the payment server can debit the first payment account according to the above order information. When the deduction is successful, the payment server may send a message indicating that the payment is successful to the music server. Thus, the music server can send the resource of music A to the speaker. The speaker can play the successfully purchased music A for the user.
结合第一方面,在一些实施例中,云端存储空间存储的第三生物信息和第四生物信息能够被多个设备访问。这多个设备包括第一设备。这多个设备可在内容服务器上共享同一个账号,或者这多个设备各自在内容服务器上的多个账号属于同一账号组;属于同一账号组表示同一账号组中的多个账号共享其中各账号在第二服务器中购买的内容。In combination with the first aspect, in some embodiments, the third biological information and the fourth biological information stored in the cloud storage space can be accessed by multiple devices. The plurality of devices includes a first device. The multiple devices can share the same account on the content server, or the multiple accounts of the multiple devices on the content server belong to the same account group; belonging to the same account group means that multiple accounts in the same account group share each of the accounts Content purchased in the second server.
其中,由于存储在云端存储空间的第三生物信息和第四生物信息可以被共享同一个账号的多个设备访问,这多个设备均可以从云端存储空间获取第三生物信息和第四生物信息来进行身份验证。这样用户可以只需要录入一次参考生物信息,即可在多个音箱上通过第一生物信息验证和第二生物信息验证的方式来支付第一设备请求获取的付费资源。上述实现方式可以简化用户录入用于支付的参考生物信息的操作,提高用户的使用体验。Among them, since the third biological information and the fourth biological information stored in the cloud storage space can be accessed by multiple devices sharing the same account, these multiple devices can obtain the third biological information and the fourth biological information from the cloud storage space to authenticate. In this way, the user only needs to input the reference biometric information once, and then the paid resources requested by the first device can be paid for by the first biometric information verification and the second biometric information verification on multiple speakers. The above implementation manner can simplify the user's operation of entering the reference biometric information for payment, and improve the user's use experience.
结合第一方面,在一些实施例中,第一用户可以授权第二用户在第一设备上建立第二用户的参考生物信息。其中,该方法可包括:第一设备可以采集到第二用户的第五生物信息。该第五生物信息与第一生物信息是同一类型的生物信息。该第五生物信息可用于确定第一设备得到的生物信息是否是第二用户的生物信息。该第五生物信息可存储在第一设备中或者第一设备能够访问的云端存储空间。第五生物信息与第四生物信息绑定。In conjunction with the first aspect, in some embodiments, the first user may authorize the second user to establish reference biometric information of the second user on the first device. Wherein, the method may include: the first device may collect fifth biological information of the second user. The fifth biological information is the same type of biological information as the first biological information. The fifth biological information may be used to determine whether the biological information obtained by the first device is the biological information of the second user. The fifth biological information may be stored in the first device or a cloud storage space accessible by the first device. The fifth biological information is bound with the fourth biological information.
若上述第一生物信息是声纹信息,则第五生物信息也是声纹信息。If the first biological information is voiceprint information, the fifth biological information is also voiceprint information.
上述第一用户可以为与第一账号关联的主用户。上述第二用户可以为与第一账号关联的授权用户。其中,与第一账号关联的主用户可以为:在第一设备或第一设备能够访问的云端存储空间内未存储有与第一账号关联的参考生物信息时,第一设备建立的参考生物信息所对 应的用户。与第一账号关联的授权用户可以为:在第一设备或第一设备能够访问的云端存储空间内存储有与第一账号关联的参考生物信息时,第一设备建立的参考生物信息所对应的用户。第一账号可关联有一个主用户、一个或多个授权用户。The above-mentioned first user may be a primary user associated with the first account. The above-mentioned second user may be an authorized user associated with the first account. The primary user associated with the first account may be: when the first device or the cloud storage space accessible to the first device does not store the reference biological information associated with the first account, the reference biological information established by the first device the corresponding user. The authorized user associated with the first account may be: when the reference biological information associated with the first account is stored in the first device or the cloud storage space accessible to the first device, the reference biological information established by the first device corresponds to the reference biological information. user. The first account can be associated with one primary user and one or more authorized users.
第二用户(即授权用户)利用自己的生物信息进行验证时,需要主用户授权,方可完成身份验证。具体的,第一设备可以采集到第六生物信息。该第六生物信息与第一生物信息是同一类型的生物信息。第一设备可接收来自第二设备采集的第二生物信息。第一设备可确定第六生物信息与第五生物信息匹配,且第三生物信息与第四生物信息匹配。第一设备可以向第一服务器发送第二消息,第二消息用于指示第一服务器对第一支付账户进行扣款。When the second user (that is, the authorized user) uses his own biometric information for verification, the main user's authorization is required to complete the identity verification. Specifically, the first device may collect sixth biological information. The sixth biological information is the same type of biological information as the first biological information. The first device may receive the second biological information collected from the second device. The first device may determine that the sixth biological information matches the fifth biological information, and the third biological information matches the fourth biological information. The first device may send a second message to the first server, where the second message is used to instruct the first server to debit the first payment account.
可以看出,上述主用户授权的过程可以为对主用户的第二生物信息进行验证的过程。也即是说,当授权用户的声纹信息验证通过后,再结合对主用户人脸信息的验证,第一设备即可请求支付服务器对主用户的支付账户(即第一支付账户)进行扣款,来购买付费资源。这样,不限于主用户通过第一生物信息验证和第二生物信息验证的方式完成支付,授权用户,例如主用户的家人和朋友等,也可在主用户授权的情况下通过第一生物信息验证和第二生物信息验证的方式完成支付。并且,由于与第一设备绑定的第一账号所关联的第一支付账户可以认为是主用户的支付账户,结合授权用户的声纹信息和主用户的人脸信息进行验证的方式可以在第一支付账户进行支付前由主用户进行确认,从而可以避免授权用户滥用权限,过度消费主用户的支付账户。It can be seen that the above-mentioned main user authorization process may be a process of verifying the second biological information of the main user. That is to say, when the authorized user's voiceprint information is verified, combined with the verification of the main user's face information, the first device can request the payment server to debit the main user's payment account (ie, the first payment account). to purchase paid resources. In this way, it is not limited to the primary user to complete the payment through the first biometric information verification and the second biometric information verification. Authorized users, such as the primary user's family members and friends, can also pass the first biometric information verification under the authorization of the primary user. and the second biometric information verification method to complete the payment. Moreover, since the first payment account associated with the first account bound to the first device can be considered as the main user's payment account, the method of verifying in combination with the authorized user's voiceprint information and the main user's face information can be performed in the first payment account. A payment account must be confirmed by the main user before making payment, so as to avoid the authorized user from abusing the authority and over-consuming the main user's payment account.
结合第一方面,在另一些实施例中,第一用户可以授权第二用户在第一设备上建立第二用户的参考生物信息。该方法包括:第一设备可以采集到第二用户的第五生物信息。该第五生物信息与第一生物信息是同一类型的生物信息。该第五生物信息可用于确定第一设备得到的生物信息是否是第二用户的生物信息。该第五生物信息可存储在第一设备中或者第一设备能够访问的云端存储空间。第一设备可以接收来自第二设备采集的第二用户的第七生物信息。该第七生物信息与第二生物信息是同一类型的生物信息。该第七生物信息可用于确定第一设备得到的生物信息是否是第二用户的生物信息。该第七生物信息可存储在第一设备中或者第一设备能够访问的云端存储空间。其中,第五生物信息与第七生物信息绑定。With reference to the first aspect, in other embodiments, the first user may authorize the second user to establish reference biometric information of the second user on the first device. The method includes: the first device can collect fifth biological information of the second user. The fifth biological information is the same type of biological information as the first biological information. The fifth biological information may be used to determine whether the biological information obtained by the first device is the biological information of the second user. The fifth biological information may be stored in the first device or a cloud storage space accessible by the first device. The first device may receive seventh biological information of the second user collected by the second device. The seventh biological information is the same type of biological information as the second biological information. The seventh biological information may be used to determine whether the biological information obtained by the first device is the biological information of the second user. The seventh biological information may be stored in the first device or a cloud storage space accessible by the first device. Wherein, the fifth biological information is bound with the seventh biological information.
第二用户(即授权用户)利用自己的生物信息进行验证时,可以不需要主用户授权。即第二用户可以利用自己的生物信息独立地完成身份验证。第一设备可以在第二用户的身份验证成功后,请求支付服务器对第一支付账户进行扣款。具体的,第一设备可以采集到第六生物信息。该第六生物信息与第一生物信息是同一类型的生物信息。第一设备可以接收来自第二设备采集的第八生物信息。该第八生物信息与第二生物信息是同一类型的生物信息。第一设备可以确定第六生物信息与第五生物信息匹配,且第八生物信息与第七生物信息匹配。进一步的,第一设备可以向第一服务器发送第二消息。该第二消息用于指示第一服务器对第一支付账户进行扣款。When the second user (ie, the authorized user) uses his own biometric information for authentication, the authorization of the main user may not be required. That is, the second user can independently complete the identity verification by using his own biometric information. The first device may request the payment server to debit the first payment account after the second user's identity verification is successful. Specifically, the first device may collect sixth biological information. The sixth biological information is the same type of biological information as the first biological information. The first device may receive the eighth biological information collected from the second device. The eighth biological information is the same type of biological information as the second biological information. The first device may determine that the sixth biological information matches the fifth biological information, and the eighth biological information matches the seventh biological information. Further, the first device may send the second message to the first server. The second message is used to instruct the first server to debit the first payment account.
在上述方法中,第二用户(即授权用户)可以独立完成身份验证。这样,在主用户不再第一设备附近的场景下,第二用户也可以在第一设备上完成身份验证,并利用主用户的支付账户购买付费资源。In the above method, the second user (ie, the authorized user) can independently complete the authentication. In this way, in a scenario where the primary user is no longer near the first device, the second user can also complete identity verification on the first device, and use the primary user's payment account to purchase paid resources.
可选的,第二用户利用主用户的支付账户购买付费资源仍需要主用户的同意。Optionally, the purchase of paid resources by the second user using the payment account of the primary user still requires the consent of the primary user.
具体的,在上述第六生物信息验证和第八生物信息验证均成功后,该方法还包括:第一设备可以向第三设备发送第三消息,并接收到来自第三设备的第四消息。第三设备是安装有用于控制第一设备的应用程序的设备,第三消息的指示内容可以显示在第三设备上,第三消息的指示内容包括询问第三设备是否同意第一设备发送第二消息,第四消息的指示内容包括 第三设备同意第一设备发送第二消息。Specifically, after the sixth biometric information verification and the eighth biometric information verification are both successful, the method further includes: the first device may send a third message to the third device, and receive a fourth message from the third device. The third device is a device installed with an application program for controlling the first device, the indication content of the third message can be displayed on the third device, and the indication content of the third message includes asking the third device whether to allow the first device to send the second device message, and the indication content of the fourth message includes that the third device agrees to the first device to send the second message.
也即是说,当第二用户在第一设备上完成身份验证后,第一设备可向第三设备发送第三消息。该第三消息可以提示第一用户:第二用户请求使用第一用户的支付账户购买付费资源。若第一用户同意第二用户使用自己的支付账户购买付费资源,第三设备可以向第一设备发送第四消息。当接收到第四消息,第一设备可以请求支付服务器对第一支付账户进行扣款,来购买付费资源。That is to say, after the second user completes the authentication on the first device, the first device can send the third message to the third device. The third message may prompt the first user that the second user requests to use the payment account of the first user to purchase paid resources. If the first user agrees that the second user uses his own payment account to purchase paid resources, the third device may send a fourth message to the first device. When receiving the fourth message, the first device may request the payment server to debit the first payment account to purchase the paid resource.
可以看出,第一用户(即主用户)可以通过第三设备远程授权第一设备向支付服务器请求支付付费资源。上述主用户远程授权可以为:当第一检测到授权用户的生物信息均成功,第一设备可以向第三设备发送用于确认是否支付的消息。第三设备可以在用户界面上显示上述用于确认是否支付的消息。进而,主用户可以通过第三设备授权第一设备来请求支付服务器对第一支付账户进行扣款。It can be seen that the first user (ie the main user) can remotely authorize the first device to request payment resources from the payment server through the third device. The above-mentioned primary user remote authorization may be: when the first detection of the biometric information of the authorized user is successful, the first device may send a message for confirming whether to pay to the third device. The third device may display the above message for confirming whether to pay on the user interface. Furthermore, the primary user may authorize the first device through the third device to request the payment server to debit the first payment account.
这样,在主用户不在第一设备附近的场景下,第二用户(即授权用户)也可以完成身份验证,从而购买付费资源。而结合上述主用户远程授权的方法则可以确保主用户的支付账户是在经过主用户同意后再进行扣款操作。这不仅简化了在第一设备上获取付费资源时进行付费的操作,而且提高了支付账户的安全性,并且有效避免授权用户过度消费主用户的支付账户。In this way, in a scenario where the primary user is not near the first device, the second user (ie, the authorized user) can also complete the identity verification, thereby purchasing the paid resource. In combination with the above-mentioned method of remote authorization of the main user, it can be ensured that the payment account of the main user is debited after the consent of the main user. This not only simplifies the payment operation when acquiring the paid resources on the first device, but also improves the security of the payment account, and effectively prevents the authorized user from over-consuming the payment account of the main user.
在一些实施例中,结合第一方面,第一设备不具有采集第二生物信息的能力。第一设备可以通过查找并调用附近具有采集第二生物信息的能力的设备来采集第二生物信息。In some embodiments, in conjunction with the first aspect, the first device does not have the capability to collect the second biological information. The first device may collect the second biological information by finding and calling a nearby device having the capability of collecting the second biological information.
这样,不具有第二生物信息采集能力的设备也可以结合第一生物信息验证和第二生物信息验证的方式来验证用户的身份,从而提高了第一设备进行身份验证的安全性。In this way, a device that does not have the capability of collecting the second biological information can also verify the identity of the user by combining the first biological information verification and the second biological information verification, thereby improving the security of the identity verification performed by the first device.
第二方面,本申请提供一种设备,该设备为第一设备。第一设备可包括:第一采集装置、通信装置、存储器和处理器,其中:第一采集装置,可用于采集第一生物信息。通信装置,可用于第一设备通过无线通信连接发现具有第二生物信息采集能力的第二设备。第二设备包括第二采集装置,第二采集装置可用于采集上述第二生物信息。通信装置,还可用于接收来自第二采集装置采集的第二生物信息。存储器,可用于存储第一生物信息和第二生物信息,还可用于存储计算机程序。存储器,可用于调用上述计算机程序,使得第一设备执行上述第一方面任一项可能的实现方法。In a second aspect, the present application provides a device, which is a first device. The first device may include: a first collection device, a communication device, a memory and a processor, wherein: the first collection device can be used to collect the first biological information. The communication device can be used by the first device to discover the second device with the second biological information collection capability through the wireless communication connection. The second device includes a second collection device, and the second collection device can be used to collect the above-mentioned second biological information. The communication device can also be used to receive the second biological information collected from the second collecting device. The memory can be used to store the first biological information and the second biological information, and can also be used to store a computer program. The memory can be used to invoke the above computer program, so that the first device executes any possible implementation method of the above first aspect.
第三方面,本申请提供一种计算机可读存储介质,包括指令,当上述指令在上述第二方面提供的设备上运行时,使得设备执行上述第一方面任一项可能的实现方法。In a third aspect, the present application provides a computer-readable storage medium, including instructions, when the above-mentioned instructions are executed on the device provided in the above-mentioned second aspect, the device enables the device to execute any one of the possible implementation methods of the above-mentioned first aspect.
第四方面,本申请提供一种计算机程序产品,当上述计算机程序产品在第二方面提供的设备上运行时,使得设备执行上述第一方面任一项可能的实现方法。In a fourth aspect, the present application provides a computer program product that, when the computer program product is executed on the device provided in the second aspect, enables the device to execute any of the possible implementation methods of the first aspect.
第五方面,本申请提供一种芯片,该芯片应用于第二方面提供的设备,该芯片包括一个或多个处理器,该一个或多个处理器用于调用计算机指令以使得第二方面提供的设备执行上述第一方面任一项可能的实现方法。In a fifth aspect, the present application provides a chip, the chip is applied to the device provided in the second aspect, the chip includes one or more processors, and the one or more processors are used for invoking computer instructions to make the device provided by the second aspect The device executes any one of the possible implementation methods of the first aspect above.
可以理解地,上述第二方面提供的设备、第三方面提供的计算机可读存储介质、第四方面提供的计算机程序产品和第五方面芯片提供的均用于执行本申请实施例所提供的方法。因此,其所能达到的有益效果可参考对应方法中的有益效果,此处不再赘述。Understandably, the device provided in the second aspect, the computer-readable storage medium provided in the third aspect, the computer program product provided in the fourth aspect, and the chip provided in the fifth aspect are all used to execute the method provided by the embodiments of the present application. . Therefore, for the beneficial effects that can be achieved, reference may be made to the beneficial effects in the corresponding method, which will not be repeated here.
附图说明Description of drawings
图1是本申请实施例提供的一种音箱的结构示意图;1 is a schematic structural diagram of a sound box provided by an embodiment of the present application;
图2A~图2E是本申请实施例提供的一系列对支付账户进行身份认证的用户界面示意图;2A to 2E are a series of schematic diagrams of user interfaces for performing identity authentication on a payment account provided by an embodiment of the present application;
图2F~图2J是本申请实施例提供的一些音箱录入参考声纹信息和参考人脸信息的场景示意图;2F to 2J are schematic diagrams of scenarios in which some speakers according to the embodiments of the present application record reference voiceprint information and reference face information;
图3是本申请实施例提供的一种音箱录入参考声纹信息和参考人脸信息的方法流程图;3 is a flowchart of a method for inputting reference voiceprint information and reference face information in a sound box provided by an embodiment of the present application;
图4A~图4E是本申请实施例提供的一种音箱支付付费音频资源的场景示意图;4A to 4E are schematic diagrams of scenarios in which speakers pay for paid audio resources according to an embodiment of the present application;
图5是本申请实施例提供的一种音箱支付付费音频资源的方法流程图;5 is a flowchart of a method for paying for paid audio resources for a speaker provided by an embodiment of the present application;
图6A~图6F是本申请实施例提供的另一些音箱录入参考声纹信息和参考人脸信息的场景示意图;6A to 6F are schematic diagrams of scenarios in which reference voiceprint information and reference face information are entered into other speakers provided by the embodiments of the present application;
图7是本申请实施例提供的另一种音箱录入参考声纹信息和参考人脸信息的方法流程图;7 is a flowchart of another method for inputting reference voiceprint information and reference face information in a speaker provided by an embodiment of the present application;
图8A~图8E是本申请实施例提供的另一种音箱支付付费音频资源的场景示意图;8A to 8E are schematic diagrams of another scenario in which speakers pay for paid audio resources according to an embodiment of the present application;
图9是本申请实施例提供的另一种音箱支付付费音频资源的方法流程图;9 is a flowchart of a method for paying for paid audio resources for another speaker provided by an embodiment of the present application;
图10A~图10E是本申请实施例提供的另一些音箱录入参考声纹信息和参考人脸信息的场景示意图;10A to 10E are schematic diagrams of scenarios in which reference voiceprint information and reference face information are entered into other speakers provided by the embodiments of the present application;
图11A~图11D是本申请实施例提供的另一种音箱支付付费音频资源的场景示意图;11A to 11D are schematic diagrams of another scenario in which speakers pay for paid audio resources according to an embodiment of the present application;
图12A~图12D是本申请实施例提供的另一种音箱支付付费音频资源的场景示意图。12A to 12D are schematic diagrams of another scenario in which a speaker pays for paid audio resources provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also Plural expressions are included unless the context clearly dictates otherwise. It will also be understood that, as used in this application, the term "and/or" refers to and includes any and all possible combinations of one or more of the listed items.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the "multiple" The meaning is two or more.
目前,在通过音箱收听需要付费的音频资源时,用户可以通过安装有与该音箱关联的音箱应用程序(application,APP)的电子设备来完成支付,从而在音箱上收听付费音频资源。具体的,电子设备,例如手机,上安装有音箱APP。响应于将音箱与上述手机配对的用户操作,音箱可以与上述手机完成配对。这样,音箱可以与上述手机建立通信连接。进一步的,响应于在上述手机上登录音箱APP的第一账号的用户操作,音箱APP可以登录上述第一账号。当登录成功,上述音箱APP的第一账号可以与音箱绑定。其中,上述音箱APP的第一账号可以和上述用户的支付账户(如华为钱包支付账户、支付宝支付账户、微信支付账户)关联。这样,在音箱绑定的账号为上述第一账号的情况下,响应于支付付费音频资源的用户操作,和上述第一账号关联的支付账户可以进行支付。Currently, when listening to paid audio resources through a speaker, a user can complete the payment through an electronic device installed with a speaker application (application, APP) associated with the speaker, so as to listen to paid audio resources on the speaker. Specifically, a speaker APP is installed on an electronic device, such as a mobile phone. In response to a user operation for pairing the speaker with the above-mentioned mobile phone, the speaker may complete the pairing with the above-mentioned mobile phone. In this way, the speaker can establish a communication connection with the above-mentioned mobile phone. Further, in response to a user operation of logging into the first account of the speaker APP on the above-mentioned mobile phone, the speaker APP can log in to the above-mentioned first account. When the login is successful, the first account of the above speaker APP can be bound to the speaker. The first account of the speaker APP may be associated with the payment account of the user (such as a Huawei wallet payment account, an Alipay payment account, and a WeChat payment account). In this way, in the case where the account bound to the speaker is the above-mentioned first account, the payment account associated with the above-mentioned first account can perform payment in response to a user operation for paying for the paid audio resources.
当播放的音频资源需要付费时,音箱可以通过语音播报的方式提示用户在上述音箱APP上进行支付。也即是说,用户需要进行开启音箱APP,确定需要付费的音频资源,并输入支付账户的支付密码等一系列操作。然后,安装有音箱APP的电子设备可以完成支付,并向音 箱发送支付成功的消息。这样,音箱可以播放付费音频资源。When the playing audio resources need to be paid, the speaker can prompt the user to make payment on the above-mentioned speaker APP by means of voice broadcast. That is to say, the user needs to open the speaker APP, determine the audio resources that need to be paid, and enter the payment password of the payment account and a series of operations. Then, the electronic device installed with the speaker APP can complete the payment and send a payment success message to the speaker. In this way, the speakers can play paid audio sources.
可以看出,上述在利用音箱收听付费音频资源时完成支付过程的操作繁琐。尤其在用户不方便使用安装有音箱APP的电子设备时,例如双手被占用的情况下,用户无法完成上述支付过程。进而用户无法及时收听付费音频资源。It can be seen that the above operation of completing the payment process when using the speaker to listen to the paid audio resources is cumbersome. Especially when the user is inconvenient to use the electronic device with the speaker APP installed, for example, when both hands are occupied, the user cannot complete the above payment process. As a result, the user cannot listen to the paid audio resources in time.
另外,音箱也可以通过生物信息验证的方式来完成支付过程中的身份验证。音箱可以在生物信息验证成功后调用支付账户支付付费资源。这样可以提高支付过程的便利性。但音箱往往只配置有用于采集声纹信息的语音采集装置。即音箱一般不会配置有采集其他类型的生物信息的装置,例如人脸采集装置、指纹采集装置、骨声纹采集装置等等。那么,音箱仅能通过声纹验证的方式来完成支付过程中的身份验证。上述单一的生物信息验证的方式不利于保证身份验证安全。In addition, the speaker can also complete the identity verification during the payment process by means of biometric information verification. The speaker can call the payment account to pay for the paid resources after the biometric information verification is successful. This improves the convenience of the payment process. However, the speakers are often only equipped with a voice collection device for collecting voiceprint information. That is, the speaker is generally not equipped with a device for collecting other types of biological information, such as a face collecting device, a fingerprint collecting device, a bone voiceprint collecting device, and so on. Then, the speaker can only complete the identity verification during the payment process through voiceprint verification. The above single biometric information verification method is not conducive to ensuring the security of identity verification.
本申请提供了一种生物信息验证方法。该生物信息验证方法可用于未配置有人脸采集装置(如摄像头)的音箱完成支付过程中的身份验证。具体的,音箱可以通过结合声纹验证和人脸验证的方式来实现支付。其中,音箱可以从用户的语音输入中提取声纹信息并存储为参考声纹信息。进一步的,音箱可以调用附近配置有人脸采集装置的设备,例如手机、平板、笔记本电脑、电视、监控摄像头等,采集用户的人脸图像。当得到人脸图像,上述配置有人脸采集装置的设备可以将人脸图像发送给音箱。音箱可以从上述人脸图像中提取人脸信息并存储为参考人脸信息,并将参考人脸信息与参考声纹信息绑定。当播放的音频资源需要付费时,音箱可以通过语音播报的方式提示用户录入声纹信息和人脸信息。进而,音箱可以将上述录入得到的声纹信息和人脸信息分别与已存储的参考声纹信息和参考人脸信息进行比较。若上述录入得到的声纹信息和人脸信息均匹配,则音箱可以调用支付账户进行支付。其中,在上述支付过程中获取人脸信息时,音箱仍可以调用附近配置有人脸采集装置的设备来采集人脸图像。The present application provides a biological information verification method. The biometric information verification method can be used for a speaker without a face acquisition device (such as a camera) to complete the identity verification in the payment process. Specifically, the speaker can realize payment by combining voiceprint verification and face verification. The speaker can extract voiceprint information from the user's voice input and store it as reference voiceprint information. Further, the speaker can call a nearby device configured with a face collection device, such as a mobile phone, tablet, laptop, TV, surveillance camera, etc., to collect the user's face image. When the face image is obtained, the above-mentioned device configured with the face acquisition device can send the face image to the speaker. The speaker can extract face information from the above face image and store it as reference face information, and bind the reference face information with the reference voiceprint information. When the playing audio resources need to be paid, the speaker can prompt the user to enter the voiceprint information and face information by means of voice broadcast. Furthermore, the speaker can compare the voiceprint information and face information obtained by the above input with the stored reference voiceprint information and reference face information, respectively. If the above-mentioned voiceprint information and face information match, the speaker can call the payment account for payment. Wherein, when the face information is obtained in the above payment process, the speaker can still call a device configured with a face collecting device nearby to collect the face image.
这样,用户可以只需要说出预设的验证词以及使用自己的人脸信息即可完成支付,进而收听付费音频资源。这极大地简化了在利用音箱收听付费音频资源时的支付过程。未配置有人脸采集装置的音箱也可以通过结合声纹验证和人脸验证的方式来支付付费音频资源。并且,结合声纹验证和人脸验证的方式可以提高支付过程中的安全性。In this way, users can complete the payment only by speaking the preset verification words and using their own face information, and then listen to paid audio resources. This greatly simplifies the payment process when listening to premium audio sources with speakers. Speakers without a face capture device can also pay for paid audio resources by combining voiceprint verification and face verification. Moreover, the combination of voiceprint verification and face verification can improve the security in the payment process.
图1示例性示出了本申请实施例提供的一种音箱100的结构示意图。FIG. 1 exemplarily shows a schematic structural diagram of a sound box 100 provided by an embodiment of the present application.
下面以音箱100为例对本申请的实施例进行具体说明。应该理解的是,图1所示的音箱100仅是一个范例,音箱100可以具有比图1中所示的更多或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图1中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。The embodiments of the present application will be described in detail below by taking the sound box 100 as an example. It should be understood that the loudspeaker 100 shown in FIG. 1 is only an example, and the loudspeaker 100 may have more or fewer components than those shown in FIG. 1 , may combine two or more components, or may have different component configuration. The various components shown in FIG. 1 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.
音箱100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线2,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,传感器模块180,按键190,马达191以及指示器192等。The speaker 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a sensor module 180, a key 190, a motor 191, an indicator 192, and the like.
可以理解的是,本发明实施例示意的结构并不构成对音箱100的具体限定。在本申请另一些实施例中,音箱100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the sound box 100 . In other embodiments of the present application, the sound box 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器 (application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
在一些实施例中,处理器110可以包括语音唤醒模块和语音指令识别模块。其中,语音唤醒模块和语音指令识别模块可以集成在不同的处理器芯片中,由不同的芯片执行。例如,语音唤醒模块可以集成在功耗较低的协处理器或DSP芯片中,语音指令识别模块可以集成在AP或NPU或其他芯片中。这样,可以在语音唤醒模块识别到预设的语音唤醒词后,再启动语音指令识别的模块所在的芯片触发语音指令识别功能,从而节省电子设备的功耗。或者,语音唤醒模块和语音指令识别模块可以集成在相同的处理器芯片中,由同一芯片执行相关功能。例如,语音唤醒模块和语音指令识别模块均可集成在AP芯片或NPU或其他芯片中。In some embodiments, the processor 110 may include a voice wake-up module and a voice command recognition module. Among them, the voice wake-up module and the voice command recognition module can be integrated in different processor chips and executed by different chips. For example, the voice wake-up module can be integrated in a coprocessor or DSP chip with lower power consumption, and the voice command recognition module can be integrated in an AP or NPU or other chips. In this way, after the voice wakeup module recognizes the preset voice wakeup word, the chip where the voice command recognition module is located can trigger the voice command recognition function, thereby saving the power consumption of the electronic device. Alternatively, the voice wake-up module and the voice command recognition module can be integrated in the same processor chip, and the same chip performs related functions. For example, both the voice wake-up module and the voice command recognition module can be integrated in the AP chip or the NPU or other chips.
处理器110还可以包括语音指令执行模块,即在识别到语音指令后,执行语音指令对应的操作。The processor 110 may further include a voice instruction execution module, that is, after recognizing the voice instruction, execute the operation corresponding to the voice instruction.
在一些实施例中,处理器110还可以包括安全模块。该安全模块可以是集成在AP芯片中的一个模块。或者,该安全模块也可以集成在一个独立的安全芯片上。该安全模块可用于存储参考声纹信息和参考人脸信息,并完成在支付过程中的本地验证。示例性的,在支付过程中,该安全模块可以将需要验证的声纹信息和人脸信息分别与参考声纹信息和参考人脸信息进行比较。若需要验证的声纹信息与参考声纹信息匹配,且需要验证的人脸信息与参考人脸信息匹配,则本地验证通过。音箱200可以调用支付账户进行支付。In some embodiments, the processor 110 may also include a security module. The security module may be a module integrated in the AP chip. Alternatively, the security module can also be integrated on a separate security chip. The security module can be used to store reference voiceprint information and reference face information, and complete local verification in the payment process. Exemplarily, during the payment process, the security module may compare the voiceprint information and face information to be verified with the reference voiceprint information and the reference face information, respectively. If the voiceprint information to be verified matches the reference voiceprint information, and the face information to be verified matches the reference face information, the local verification is passed. The speaker 200 can call the payment account for payment.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过音箱100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为音箱供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the speaker 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the speaker through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
音箱100的无线通信功能可以通过天线2,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the speaker 100 can be realized by the antenna 2, the wireless communication module 160, the modem processor, the baseband processor, and the like.
天线2用于发射和接收电磁波信号。音箱100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。The antenna 2 is used to transmit and receive electromagnetic wave signals. Each antenna in loudspeaker 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
无线通信模块160可以提供应用在音箱100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT), 全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。The wireless communication module 160 can provide wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems applied on the speaker 100 . (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现音箱100的智能认知等应用,例如:人脸验证,声纹验证,文本理解、语音合成等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the speaker 100 can be implemented through the NPU, such as face verification, voiceprint verification, text understanding, speech synthesis, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展音箱100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the speaker 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行音箱100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能)等。存储数据区可存储音箱100使用过程中所创建的数据(比如音频数据)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the speaker 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an operating system, an application program required for at least one function (such as a sound playback function), and the like. The storage data area can store data (such as audio data) created during the use of the speaker 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
音箱100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C以及应用处理器等实现音频功能。例如音乐播放,录音等。The speaker 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。音箱100可以通过扬声器170A收听音乐,或接听电话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The speaker 100 can listen to music or answer calls through the speaker 170A.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。示例性的,音箱100可以通过麦克风170C采集用户的语音输入,并从语音输入中提取声纹信息。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。音箱100可以设置至少一个麦克风170C。在另一些实施例中,音箱100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,音箱100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. Exemplarily, the speaker 100 may collect the user's voice input through the microphone 170C, and extract voiceprint information from the voice input. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The speaker 100 may be provided with at least one microphone 170C. In other embodiments, the sound box 100 may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, three, four or more microphones 170C may also be provided in the speaker 100 to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。音箱100可以接收按键输入,产生与音箱100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The speaker 100 can receive key inputs and generate key signal inputs related to user settings and function control of the speaker 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如音频播放)的触摸操作,可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as audio playback) may correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
在本申请中,音箱100在通过声纹验证和人脸验证的方式进行支付之前,需要获取用户的参考声纹信息和参考人脸信息。在一种可能的实现方式中,音箱100可以在接收到用于指示新建生物信息的指令后,接收用户的语音输入和人脸图像。进一步的,音箱100可以从上述语音输入中提取声纹信息,并将该声纹信息存储至安全模块,来作为参考声纹信息。音箱可以从上述人脸图像中提取人脸信息,并将该人脸信息存储至安全模块,来作为参考人脸信息。In this application, the speaker 100 needs to obtain the user's reference voiceprint information and reference face information before making payment through voiceprint verification and face verification. In a possible implementation manner, the speaker 100 may receive a user's voice input and a face image after receiving an instruction for instructing to create biometric information. Further, the speaker 100 can extract voiceprint information from the above voice input, and store the voiceprint information in the security module as reference voiceprint information. The speaker can extract face information from the above face image, and store the face information in the security module as reference face information.
其中,上述生物信息包括声纹信息和人脸信息。上述用于指示新建生物信息的指令可以来自于电子设备200。该电子设备200可以是安装有与音箱100关联的音箱APP的设备。例如,手机、平板等等。该电子设备200的结构示意图可以参考图1所示的音箱100的结构示意图。其中,不限于图1所示的部件,电子设备200还可以包含更多或更少的部件。例如,电子设备200还可以包含显示屏、摄像头等部件。The above-mentioned biological information includes voiceprint information and face information. The above-mentioned instruction for instructing to create new biological information may come from the electronic device 200 . The electronic device 200 may be a device in which a speaker APP associated with the speaker 100 is installed. For example, mobile phones, tablets, etc. For the schematic structural diagram of the electronic device 200 , reference may be made to the structural schematic diagram of the sound box 100 shown in FIG. 1 . Wherein, it is not limited to the components shown in FIG. 1 , and the electronic device 200 may also include more or less components. For example, the electronic device 200 may also include components such as a display screen, a camera, and the like.
上述音箱APP可以是名称为“音箱”的应用程序。本申请实施例对上述音箱APP不作具体限定。The above speaker APP may be an application named "speaker". The embodiments of the present application do not specifically limit the above speaker APP.
本申请实施例对上述电子设备200的类型不作具体限定。This embodiment of the present application does not specifically limit the type of the above electronic device 200 .
在本申请中,音箱100可以是未配置有人脸采集装置(如摄像头)的设备。当需要进行人脸验证时,音箱100可以调用附近配置有人脸采集装置的人脸采集设备300。当采集得到人脸图像,人脸采集设备300可以将人脸图像发送给音箱300。进一步的,音箱100可以从人脸图像中提取人脸信息。In this application, the speaker 100 may be a device without a face acquisition device (eg, a camera). When face verification needs to be performed, the speaker 100 can call the face collection device 300 that is configured with a face collection device nearby. When the face image is collected, the face collection device 300 can send the face image to the speaker 300 . Further, the speaker 100 can extract face information from the face image.
在一种可能的实现方式中,人脸采集设备300采集人脸图像后,可以从人脸图像中提取人脸信息,并将人脸信息发送给音箱100。这样,音箱100可以直接将接收到的人脸信息存储至安全模块,来作为参考人脸信息。本申请实施例对从人脸图像中提取人脸信息的设备不作限定。In a possible implementation manner, after the face collection device 300 collects a face image, face information can be extracted from the face image, and the face information can be sent to the speaker 100 . In this way, the speaker 100 can directly store the received face information in the security module as reference face information. This embodiment of the present application does not limit the device for extracting face information from a face image.
该人脸采集设备300的结构示意图可以参考图1所示的音箱100的结构示意图。其中,人脸采集设备300可包含人脸采集装置,例如摄像头。不限于图1所示的部件,人脸采集设备300还可以包含更多或更少的部件。For the schematic structural diagram of the face collecting device 300, reference may be made to the structural schematic diagram of the sound box 100 shown in FIG. 1 . Wherein, the face collection device 300 may include a face collection device, such as a camera. Not limited to the components shown in FIG. 1 , the face acquisition device 300 may also include more or less components.
该人脸采集设备300可以例如是手机、平板、笔记本电脑、电视、监控摄像头等。在一些实施例中,人脸采集设备300和电子设备200可以为同一个设备。The face collection device 300 may be, for example, a mobile phone, a tablet, a notebook computer, a TV, a surveillance camera, and the like. In some embodiments, the face collection device 300 and the electronic device 200 may be the same device.
本申请实施例对人脸采集设备300的类型不作限定。This embodiment of the present application does not limit the type of the face collection device 300 .
下面具体介绍本申请实施例提供的音箱100获取参考声纹信息和参考人脸信息的场景示意图。The following describes a schematic diagram of a scene in which the speaker 100 according to the embodiment of the present application obtains the reference voiceprint information and the reference face information.
在一种可能的实现方式中,音箱100可以在接收到来自电子设备200指示获取参考声纹信息和参考人脸信息的指令后,再进行获取用于支付的参考声纹信息和参考人脸信息的操作。其中,电子设备200可以在支付账户的支付密码验证成功后,再发送上述指示获取参考声纹信息和参考人脸信息的指令。这样,电子设备200可以对录入参考声纹信息和参考人脸信息的用户进行身份认证,确保该用户是上述支付账户对应的用户。In a possible implementation manner, the speaker 100 may obtain the reference voiceprint information and the reference face information for payment after receiving the instruction from the electronic device 200 to obtain the reference voiceprint information and the reference face information operation. The electronic device 200 may send the above-mentioned instruction for obtaining the reference voiceprint information and the reference face information after the payment password of the payment account is successfully verified. In this way, the electronic device 200 can perform identity authentication on the user who has entered the reference voiceprint information and the reference face information to ensure that the user is the user corresponding to the above payment account.
图2A~图2E示例性示出了电子设备200进行支付账户的身份认证的用户界面。FIGS. 2A to 2E exemplarily show a user interface for the electronic device 200 to perform identity authentication of a payment account.
如图2A所示,电子设备200可以显示音箱APP的用户界面210。用户界面210可包含登录账号211、音箱状态212、设置选项213。其中:As shown in FIG. 2A , the electronic device 200 may display a user interface 210 of the speaker APP. The user interface 210 may include a login account 211 , speaker status 212 , and setting options 213 . in:
登录账号211可用于显示当前登录音箱APP的账号名。示例性的,当前登录音箱APP的账号名可以为“李明”。响应用户对登录账号211的操作,电子设备200可以显示切换账号 选项、退出登录选项等内容。上述切换账号选项可用于切换当前登录音箱APP的账号。上述退出登录选项可用于当前登录音箱APP的账号退出登录。The login account 211 can be used to display the account name currently logged into the speaker APP. Exemplarily, the account name currently logged into the speaker APP may be "Li Ming". In response to the user's operation on the login account 211, the electronic device 200 may display contents such as switching account options, logging out options, and the like. The above switch account option can be used to switch the account currently logged into the speaker APP. The above logout options can be used to logout of the account currently logged into the speaker APP.
音箱状态212可用于显示与电子设备200配对的音箱的状态信息。具体的,电子设备200与音箱100配对成功。音箱状态212可包含Wi-Fi连接状态212A、蓝牙状态212B、电量212C和音箱设置212D。Wi-Fi连接状态212A可以指示音箱是否连接网络,以及在连接Wi-Fi时Wi-Fi的名称。例如,音箱100连接名称为“liming”的Wi-Fi。蓝牙状态212B可以指示音箱的蓝牙是否开启。例如,当音箱100的蓝牙开启,蓝牙状态212B可以显示提示语“已开启”。电量212C可以指示音箱当前剩余电量。例如,音箱100当前剩余电量为总电量的80%。音箱设置212D可用于设置音箱的相关信息。例如设置音箱名称、设置音箱可以利用生物信息进行支付等。响应于作用在音箱设置212D的用户操作,电子设备200可以显示如图2B所示的用户界面220。The speaker status 212 may be used to display status information of the speakers paired with the electronic device 200 . Specifically, the electronic device 200 is successfully paired with the speaker 100 . Speaker status 212 may include Wi-Fi connection status 212A, Bluetooth status 212B, power level 212C, and speaker settings 212D. The Wi-Fi connection status 212A can indicate whether the speaker is connected to the network, and the name of the Wi-Fi when connected to the Wi-Fi. For example, the speaker 100 is connected to a Wi-Fi named "liming". The Bluetooth status 212B can indicate whether the Bluetooth of the speaker is turned on. For example, when the bluetooth of the speaker 100 is turned on, the bluetooth status 212B may display the prompt "turned on". The power 212C can indicate the current remaining power of the speaker. For example, the current remaining power of the speaker 100 is 80% of the total power. Speaker Setup 212D can be used to set up information about the speakers. For example, setting the speaker name, setting the speaker can use biometric information for payment, etc. In response to a user operation acting on the speaker setup 212D, the electronic device 200 may display a user interface 220 as shown in FIG. 2B.
需要进行说明的是,电子设备200可以通过蓝牙连接的方式与音箱100配对。具体的,首次连接时,音箱100开启蓝牙。电子设备200开启音箱APP,并开启蓝牙,扫描附近的蓝牙。当扫描到音箱100的蓝牙,电子设备200可以与音箱100配对连接。在之后断开蓝牙连接并再次配对时,若电子设备200和音箱100均开启蓝牙,电子设备200可以在靠近音箱100时自动配对。上述建立蓝牙连接的具体过程可以参考现有技术的实现方式,这里不再赘述。It should be noted that the electronic device 200 can be paired with the speaker 100 through a Bluetooth connection. Specifically, when connecting for the first time, the speaker 100 turns on Bluetooth. The electronic device 200 starts the speaker APP, turns on the Bluetooth, and scans for nearby Bluetooth. When the Bluetooth of the speaker 100 is scanned, the electronic device 200 can be paired and connected with the speaker 100 . When the Bluetooth connection is subsequently disconnected and paired again, if both the electronic device 200 and the speaker 100 have Bluetooth enabled, the electronic device 200 can be automatically paired when approaching the speaker 100 . For the specific process of establishing the Bluetooth connection above, reference may be made to the implementation manner of the prior art, which will not be repeated here.
本申请实施例对电子设备200与音箱100配对的方式不作具体限定,除了通过蓝牙的方式进行配对,还可以通过其它有线(如数据线、光纤等)或无线(如NFC,ZigBee,Wi-Fi等)的方式进行配对。The embodiments of the present application do not specifically limit the way of pairing the electronic device 200 with the speaker 100. In addition to pairing through Bluetooth, other wired (such as data cables, optical fibers, etc.) or wireless (such as NFC, ZigBee, Wi-Fi, etc.) etc.) are paired.
另外,当电子设备200与音箱100配对成功,电子设备200可以为音箱100配置网络。示例性的,电子设备200接入网络(例如WiFi)后,可以将WiFi的名称和密码发送给音箱100。当音箱100接收到WiFi的名称和密码后,音箱100可以与该WiFi连接,进而接入网络。接入网络的音箱100可以在网络上搜索音频资源,并从提供该音频资源的服务器,例如音乐服务器,获取该音频资源,进行播放。In addition, when the electronic device 200 is successfully paired with the speaker 100 , the electronic device 200 can configure the network for the speaker 100 . Exemplarily, after the electronic device 200 is connected to a network (eg WiFi), the name and password of the WiFi may be sent to the speaker 100 . After the speaker 100 receives the name and password of the WiFi, the speaker 100 can connect to the WiFi, and then access the network. The speaker 100 connected to the network can search for audio resources on the network, obtain the audio resources from a server that provides the audio resources, such as a music server, and play them.
当音箱100接入网络,音箱100可以与电子设备200中音箱APP上登录的账号绑定。例如音箱APP上登录有账号名为“李明”的账号,音箱100可以与账号“李明”绑定。When the speaker 100 is connected to the network, the speaker 100 can be bound with the account logged in the speaker APP in the electronic device 200 . For example, an account named "Li Ming" is logged in the speaker APP, and the speaker 100 can be bound with the account "Li Ming".
上述音箱与账号绑定可以表示:音箱可以获取该账号收藏的音频资源、购买的音频资源、收听过的历史音频资源等与该账号关联的数据。例如,音箱100与账号名为“李明”的账号绑定。对于账号“李明”已经购买过的付费音频资源,音箱100可以直接播放,而无需账号“李明”再次付费。并且,当需要支付付费音频资源时,音箱100可以调用与账号“李明”关联的支付账户进行支付。The above-mentioned binding between the speaker and the account may mean that the speaker can obtain the data associated with the account, such as the audio resources collected by the account, the purchased audio resources, the historical audio resources listened to, and so on. For example, the speaker 100 is bound to an account whose account name is "Li Ming". For the paid audio resources already purchased by the account "Li Ming", the speaker 100 can play them directly without the need for the account "Li Ming" to pay again. Moreover, when the paid audio resource needs to be paid, the speaker 100 can call the payment account associated with the account "Li Ming" to pay.
本申请实施例对电子设备200与音箱100配对的方式,电子设备200为音箱100配置网络的方式以及音箱100与音箱APP中登录的账号建立绑定关系的方式均不作限定,上述具体实现方式可以参考现有技术中的实现方式。The embodiments of the present application do not limit the way in which the electronic device 200 is paired with the speaker 100, the way in which the electronic device 200 configures the network for the speaker 100, and the way in which the speaker 100 establishes a binding relationship with the account logged in the speaker APP. The above specific implementation methods can be Refer to the implementation in the prior art.
设置选项213可包含音乐收藏、已购节目、待购节目、音乐偏好、有声订阅、APP消息推送、问题与建议等设置选项。示例性的,上述音乐收藏可用于显示当前登录的账号收藏的音乐。上述已购节目和待购节目可分别用于显示当前登录的账号已经购买的音频资源和加入购物车等待购买的音频资源。上述音乐偏好可用于设置当前登录的账号偏好的音乐分风格,例如摇滚音乐、古典音乐、轻音乐等。上述有声订阅可用于显示当前登录的账号订阅的有声节目。上述APP消息推送可用于开启或者关闭音箱APP向电子设备推送消息的功能。The setting options 213 may include setting options such as music collection, purchased programs, to-be-purchased programs, music preferences, audio subscription, APP message push, questions and suggestions, and the like. Exemplarily, the above-mentioned music collection may be used to display the music collected by the currently logged-in account. The above-mentioned purchased programs and programs to be purchased can be respectively used to display the audio resources that have been purchased by the currently logged in account and the audio resources that are added to the shopping cart and are waiting to be purchased. The above music preferences can be used to set the preferred music genres of the currently logged-in account, such as rock music, classical music, light music, etc. The above audio subscription can be used to display the audio programs subscribed by the currently logged in account. The above APP message push can be used to enable or disable the function of the speaker APP to push messages to the electronic device.
响应于作用在上述音箱设置212D上的用户操作,电子设备200可以显示如图2B所示的用户界面220。用户界面220可包含以下设置选项:音箱名称221、蓝牙222、唤醒应答223、闹钟铃声224、家居设备授权管理225、音箱信息226、解除绑定227和生物支付228。其中,In response to a user operation acting on the speaker setup 212D described above, the electronic device 200 may display a user interface 220 as shown in FIG. 2B . The user interface 220 may include the following setting options: speaker name 221 , Bluetooth 222 , wakeup response 223 , alarm tone 224 , home device authorization management 225 , speaker information 226 , unbinding 227 , and biometric payment 228 . in,
音箱名称221可用于设置音箱100的名称。例如,音箱100当前的名称为“李明的音箱”。响应于作用在音箱名称221上并输入新的名称的用户操作,电子设备200可以修改音箱100的名称。The speaker name 221 can be used to set the name of the speaker 100 . For example, the speaker 100 is currently named "Li Ming's Speaker". In response to a user operation acting on the speaker name 221 and inputting a new name, the electronic device 200 may modify the name of the speaker 100 .
蓝牙222可用于开启或者关闭音箱100的蓝牙。The Bluetooth 222 can be used to turn on or turn off the Bluetooth of the speaker 100 .
唤醒应答223可用于开启或者关闭语音唤醒音箱100的功能。例如,当开启语音唤醒音箱100的功能,音箱100可以在接收到预设的唤醒词(如小艺小艺)后唤醒处理器,进而执行用户在唤醒词之后说出的语音指令。The wake-up response 223 can be used to turn on or turn off the function of the voice wake-up speaker 100 . For example, when the function of waking up the speaker 100 by voice is enabled, the speaker 100 can wake up the processor after receiving a preset wake-up word (such as Xiaoyi Xiaoyi), and then execute the voice command spoken by the user after the wake-up word.
闹钟铃声224可用于设置音箱100的闹钟。The alarm tone 224 may be used to set the alarm of the speaker 100 .
家居设备授权管理225可用于设置音箱100可以控制的家居设备。The home device authorization management 225 can be used to set the home devices that the speaker 100 can control.
音箱信息226可用于显示音箱100的型号、版本号、音箱标识、存储空间大小等配置信息。The speaker information 226 may be used to display configuration information such as the model of the speaker 100, the version number, the speaker identification, and the size of the storage space.
解除绑定227可用于解除音箱APP当前登录的账号与音箱100的绑定关系。 Unbinding 227 can be used to unbind the account currently logged in the speaker APP and the speaker 100 .
生物支付228可用于指示音箱100新建用于支付付费资源的参考生物信息。该参考生物信息可包括参考声纹信息和参考人脸信息。该参考生物信息可用于音箱100在支付付费资源的过程中验证用户身份。也即是说,在支付付费资源的过程中,音箱100采集用户的声纹信息和人脸信息,并将该声纹信息和人脸信息分别与上述参考声纹信息和参考人脸信息进行比较。若均匹配,则用户身份验证成功。The biometric payment 228 may be used to instruct the speaker 100 to create reference biometric information for paying for the paid resource. The reference biological information may include reference voiceprint information and reference face information. The reference biometric information can be used for the speaker 100 to verify the user's identity in the process of paying for the paid resources. That is to say, in the process of paying for the paid resources, the speaker 100 collects the user's voiceprint information and face information, and compares the voiceprint information and the face information with the above-mentioned reference voiceprint information and reference face information respectively. . If both match, the user authentication is successful.
示例性的,响应于作用在生物支付228的用户操作,电子设备200可以显示如图2C所示的用户界面230。用户界面230可包括生物信息功能231以及新建生物信息选项232。其中:Illustratively, in response to a user operation acting on the biometric payment 228, the electronic device 200 may display a user interface 230 as shown in FIG. 2C. The user interface 230 may include a biometrics function 231 and a new biometrics option 232 . in:
生物信息功能231可用于提示用户生物信息的功能。例如,生物信息功能231中可包含提示语“生物信息用于支付付费资源”。生物信息功能231中还可包含开关231A。开关231A可用于开启或者关闭利用生物信息支付付费资源的功能。The biological information function 231 may be used for a function of prompting the user's biological information. For example, the biometric information function 231 may include the prompt "biological information is used to pay for paid resources". A switch 231A may also be included in the biological information function 231 . The switch 231A can be used to turn on or off the function of paying for resources using biological information.
不限于上述设置选项,用户界面220还可以包含更多或更少的设置选项。Not limited to the above setting options, the user interface 220 may also contain more or less setting options.
如图2C所示,当前音箱100中未存储有用于支付的生物信息。在音箱100中未存储有用于支付的生物信息时,开关231A默认处于关闭状态。As shown in FIG. 2C , no biological information for payment is currently stored in the speaker 100 . When no biometric information for payment is stored in the speaker 100, the switch 231A is off by default.
新建生物信息选项232可用于开始建立用于支付的参考生物信息。The New Biometrics option 232 may be used to begin creating reference biometrics for payment.
在一种可能的实现方式中,建立用于支付的参考生物信息的过程可以包括:对支付账户进行身份认证,在上述身份认证通过后录入参考声纹信息和参考人脸信息。In a possible implementation manner, the process of establishing reference biometric information for payment may include: performing identity authentication on the payment account, and entering reference voiceprint information and reference face information after the identity authentication is passed.
其中,响应于作用在新建生物信息选项232的用户操作,电子设备200可以显示如图2D所示的用户界面240。用户界面240可包含密码输入框241和键盘243。Wherein, in response to a user operation acting on the newly created biological information option 232, the electronic device 200 may display a user interface 240 as shown in FIG. 2D. User interface 240 may include a password input box 241 and a keyboard 243 .
密码输入框241可用于输入音箱APP当前登录的账号所关联的支付账户的支付密码。The password input box 241 can be used to input the payment password of the payment account associated with the account currently logged in the speaker APP.
键盘243可用于在密码输入框241中输入支付密码。The keyboard 243 can be used to enter the payment password in the password input box 241 .
当密码输入框241中的密码与电子设备200中存储的该支付账号的支付密码匹配,则身份认证成功。如图2E所示,当身份认证成功,电子设备200可以在用户界面240上显示提示框242。该提示框242可用于提示用户身份认证成功,以及进行录入声纹信息和人脸信息的操作。提示框242中可包含有提示语“认证成功!请继续完成声音录入和人脸录入”。本申请实施例对提示框242中提示语的具体内容不作限定。When the password in the password input box 241 matches the payment password of the payment account stored in the electronic device 200, the identity authentication is successful. As shown in FIG. 2E , when the identity authentication is successful, the electronic device 200 may display a prompt box 242 on the user interface 240 . The prompt box 242 may be used to prompt the user to perform successful identity authentication and to perform operations for entering voiceprint information and face information. The prompt box 242 may contain the prompt "authentication is successful! Please continue to complete the voice entry and face entry". The specific content of the prompt word in the prompt box 242 is not limited in this embodiment of the present application.
也即是说,用户可以通过电子设备200上的音箱APP来指示音箱新建生物信息。其中, 用户在音箱APP上通过输入支付账户的支付密码来完成身份认证后,即可进一步在音箱100上录入用于支付的参考声纹信息和参考人脸信息。That is to say, the user can instruct the speaker to create biological information through the speaker APP on the electronic device 200 . Wherein, after the user completes the identity authentication by entering the payment password of the payment account on the speaker APP, the user can further enter the reference voiceprint information and reference face information for payment on the speaker 100 .
上述图2A~图2E所示的用户界面还可以包含更多或更少的内容,本申请实施例对此不作限定。The user interface shown in FIG. 2A to FIG. 2E may further include more or less content, which is not limited in this embodiment of the present application.
当完成上述支付账户的身份认证,电子设备200可以向音箱100发送用于指示获取参考声纹信息和参考人脸信息的指令。进一步的,音箱100可以提示用户录入声纹信息和人脸信息。When the above-mentioned identity authentication of the payment account is completed, the electronic device 200 may send an instruction to the speaker 100 for instructing to obtain the reference voiceprint information and the reference face information. Further, the speaker 100 may prompt the user to input voiceprint information and face information.
图2F~图2I示例性示出了第一用户录入参考声纹信息和参考人脸信息的场景示意图。FIGS. 2F to 2I exemplarily show schematic diagrams of scenarios in which the first user enters reference voiceprint information and reference face information.
如图2F所示,音箱100可以通过语音播报的方式提示第一用户录入声纹信息。示例性的,音箱100可以语音播报“请跟着我说以下验证词:小艺小艺”。第一用户在听到音箱100的提示后可以说出“小艺小艺”。进而,音箱100可以采集第一用户说上述验证词的语音输入,并从该语音输入中提取声纹信息。As shown in FIG. 2F , the speaker 100 may prompt the first user to input voiceprint information by means of voice broadcast. Exemplarily, the speaker 100 may voice broadcast "Please follow me and say the following verification word: Xiaoyi Xiaoyi". The first user can say "Xiaoyi Xiaoyi" after hearing the prompt from the speaker 100 . Furthermore, the speaker 100 may collect the voice input of the first user saying the above verification word, and extract voiceprint information from the voice input.
当得到第一用户的声纹信息,音箱100可以将该声纹信息与安全模块中已存储的参考声纹信息进行比较。若该声纹信息与已经存储的参考声纹信息中的一个声纹信息匹配,音箱100可以通过语音播报的方式来提示第一用户已经录入过声纹信息。When the voiceprint information of the first user is obtained, the speaker 100 can compare the voiceprint information with the reference voiceprint information stored in the security module. If the voiceprint information matches one of the stored reference voiceprint information, the speaker 100 may prompt the first user to have entered the voiceprint information by means of voice broadcast.
若该声纹信息与已经存储的参考声纹信息均不匹配,音箱100可以将该声纹信息存储至安全模块,作为第一用户的参考声纹信息。If the voiceprint information does not match the stored reference voiceprint information, the speaker 100 may store the voiceprint information in the security module as the reference voiceprint information of the first user.
进一步的,音箱100可以通过语音播报的方式提示第一用户录入人脸信息。Further, the speaker 100 may prompt the first user to input face information by means of voice broadcast.
其中,由于音箱100未配置有人脸采集装置,无法采集人脸图像,音箱100可以查找并调用附近可用的人脸采集设备,来采集人脸图像。具体的,音箱100可以发送广播信号,来询问附近的设备是否配置有人脸采集装置。例如,音箱100附近的设备包括电子设备200、人脸采集设备(如电视、手机、平板、笔记本电脑)300等。当接收到来自音箱100的广播信号,音箱100附近配置有人脸采集装置的设备可以向音箱100发送响应消息。该响应消息中可包括人脸采集装置的配置(如2D摄像头、3D摄像头、红外摄像头)。Wherein, since the speaker 100 is not equipped with a face collection device, and cannot collect a face image, the speaker 100 can search for and call a nearby available face collection device to collect a face image. Specifically, the speaker 100 can send a broadcast signal to inquire whether a nearby device is equipped with a face acquisition device. For example, the devices near the speaker 100 include electronic devices 200, face acquisition devices (eg, televisions, mobile phones, tablets, and laptops) 300, and the like. When receiving the broadcast signal from the speaker 100 , a device equipped with a face acquisition device near the speaker 100 can send a response message to the speaker 100 . The response message may include the configuration of the face acquisition device (eg, a 2D camera, a 3D camera, an infrared camera).
若接收到多个配置有人脸采集装置的设备发送的响应消息,音箱100可以根据接收到的响应消息的先后顺序、人脸采集装置的配置等因素来选择这多个设备中的一个来采集人脸图像。例如,相比于2D人脸认证,3D人脸认证的可靠性更高。音箱100可以选择配置更好的设备,例如配置有3D摄像头的设备。If receiving response messages sent by multiple devices configured with face collection devices, the speaker 100 can select one of the multiple devices to collect people according to the sequence of the received response messages, the configuration of the face collection device, and other factors. face image. For example, 3D face authentication is more reliable than 2D face authentication. The speaker 100 can choose a better equipped device, such as a device equipped with a 3D camera.
接收到响应消息的先后顺序可以反映音箱100与配置有人脸采集装置的设备之间的通信时延以及该设备的响应速度。音箱100可以选择最先接收到的响应消息对应的设备。本申请实施例对音箱100选择附近配置有人脸采集装置的设备的方式不作限定。The order in which the response messages are received may reflect the communication delay between the speaker 100 and the device configured with the face acquisition device and the response speed of the device. The speaker 100 can select the device corresponding to the response message received first. This embodiment of the present application does not limit the manner in which the speaker 100 selects a device configured with a face collecting device nearby.
音箱100附近的设备可以是与音箱在同一个局域网的设备,或者可以是在音箱100预设距离范围内的设备。上述预设距离可以由音箱100发送上述广播信号的通信方式所能达到的最远通信距离决定。本申请实施例对上述音箱100附近的电子设备不作限定。The device near the sound box 100 may be a device in the same local area network as the sound box, or may be a device within a preset distance range of the sound box 100 . The above-mentioned preset distance may be determined by the farthest communication distance that can be achieved by the communication method in which the speaker 100 sends the above-mentioned broadcast signal. The embodiments of the present application do not limit the electronic devices near the sound box 100 described above.
音箱100可以通过近场通信信道、蓝牙通信信道、WLAN直连通信信道等短距离通信信道发送上述广播信号。音箱100发送上述广播信号的实现方式可以参考现有技术,本申请实施例对此不作限定。The speaker 100 can send the above-mentioned broadcast signal through a short-distance communication channel such as a near-field communication channel, a Bluetooth communication channel, and a WLAN direct communication channel. Reference may be made to the prior art for an implementation manner of the speaker 100 sending the above broadcast signal, which is not limited in this embodiment of the present application.
示例性的,音箱100可以根据前述查找并选择附近配置有人脸采集装置的设备的方法,确定调用人脸采集设备300,例如电视,来采集人脸图像。人脸采集设备300配置有人脸采集装置301。本申请后续实施例中以人脸采集设备300为电视进行具体说明。电视上配置的 人脸采集装置301可以为3D摄像头。不限于电视,人脸采集设备300还可以为配置有人脸采集状态的其他电子设备,例如手机、平板、笔记本电脑等等。Exemplarily, the speaker 100 may determine to call the face collection device 300, such as a TV, to collect a face image according to the aforementioned method of finding and selecting a nearby device configured with a face collection device. The face collection device 300 is configured with a face collection device 301 . In subsequent embodiments of the present application, the face collection device 300 is used as a television for specific description. The face acquisition device 301 configured on the TV can be a 3D camera. Not limited to a TV, the face collection device 300 may also be other electronic devices configured with a face collection state, such as a mobile phone, a tablet, a notebook computer, and the like.
其中,音箱100可以向人脸采集设备300发送用于指示开启人脸采集装置301,例如摄像头,采集人脸图像的指令。并且,如图2G所示,音箱100可以语音播报“声纹录入成功。请在李明的电视上完成人脸录入”。该语音播报中“李明的电视”可以为人脸采集设备300的名称。The speaker 100 may send an instruction to the face collection device 300 for instructing to turn on the face collection device 301, such as a camera, to collect face images. And, as shown in FIG. 2G , the speaker 100 can voice broadcast "Voiceprint recording is successful. Please complete face recording on Li Ming's TV". "Li Ming's TV" in the voice broadcast may be the name of the face collecting device 300 .
当接收到来自音箱100用于指示开启人脸采集装置301采集人脸图像的指令,人脸采集设备300可以开启摄像头,并向音箱100发送用于指示摄像头已开启的消息。When receiving an instruction from the speaker 100 for instructing to turn on the face collection device 301 to collect face images, the face collection device 300 can turn on the camera and send a message to the speaker 100 indicating that the camera is turned on.
如图2H所示,当接收到上述用于指示摄像头已开启的消息,音箱100可以语音播报“请将您的面部对准李明的电视的摄像头,并眨眨眼”。这样,音箱100可以提示第一用户在人脸采集设备300(即李明的电视)上进行人脸录入。As shown in FIG. 2H , when receiving the above-mentioned message indicating that the camera is turned on, the speaker 100 can voice broadcast "Please aim your face at the camera of Li Ming's TV and blink." In this way, the speaker 100 can prompt the first user to perform face entry on the face collection device 300 (ie, Li Ming's TV).
在一种可能的实现方式中,人脸采集设备300包含有显示屏。在采集人脸图像时,人脸采集设备300还可以点亮显示屏,显示摄像头采集的图像以及文字提示“对准摄像头,眨眨眼”。这样,第一用户可以根据显示屏上显示的摄像头采集的图像,来调整自己的位置,使得自己的人脸对准摄像头。In a possible implementation manner, the face acquisition device 300 includes a display screen. When collecting a face image, the face collecting device 300 can also light up the display screen to display the image collected by the camera and the text prompt "Aim at the camera and blink." In this way, the first user can adjust his position according to the image collected by the camera displayed on the display screen, so that his face is aligned with the camera.
在另一种可能的实现方式中,人脸采集设备300不包含显示屏。或者人脸采集设备300包含有显示屏,但在采集人脸图像时,不点亮显示屏。那么在人脸采集设备300采集人脸图像的过程中,音箱100可以通过语音播报的方式提示第一用户将人脸对准人脸采集装置。例如,语音播报“人脸未对准摄像头,请向左移动一点”。这样,在人脸采集设备300不包含显示屏或者包含显示屏但显示屏未点亮的情况下,第一用户可以根据音箱的语音提示来使得自己的人脸对准人脸采集装置。In another possible implementation manner, the face acquisition device 300 does not include a display screen. Or the face collecting device 300 includes a display screen, but when collecting a face image, the display screen is not lit. Then, during the process of collecting the face image by the face collecting device 300, the speaker 100 may prompt the first user to point the face at the face collecting device by means of voice broadcast. For example, a voice announces "The face is not aligned with the camera, please move a little to the left". In this way, when the face collection device 300 does not include a display screen or includes a display screen but the display screen is not lit, the first user can align his face with the face collection device according to the voice prompt of the speaker.
当得到人脸图像,人脸采集设备300可以将该人脸图像加密,并发送给音箱100。人脸采集设备300可以根据对称加密算法、非对称加密算法等加密方法对人脸图像进行加密。上述加密的具体实现过程可以参考现有技术,这里不再赘述。When the face image is obtained, the face acquisition device 300 can encrypt the face image and send it to the speaker 100 . The face acquisition device 300 can encrypt the face image according to an encryption method such as a symmetric encryption algorithm and an asymmetric encryption algorithm. For the specific implementation process of the above encryption, reference may be made to the prior art, which will not be repeated here.
当接收到经过加密的人脸图像,音箱100可以根据与人脸采集设备300协商的加密方法进行解密,得到第一用户的人脸图像。进一步的,音箱100可以从该人脸图像中提取人脸信息,并存储至安全模块,作为参考人脸信息。其中,音箱100可以将上述参考声纹信息和上述参考人脸信息绑定。After receiving the encrypted face image, the speaker 100 can decrypt it according to the encryption method negotiated with the face acquisition device 300 to obtain the face image of the first user. Further, the speaker 100 can extract face information from the face image and store it in the security module as reference face information. The speaker 100 may bind the above-mentioned reference voiceprint information and the above-mentioned reference face information.
也即是说,在利用生物信息进行支付的过程中,音箱100需要分别验证声纹信息和人脸信息是否与上述绑定的参考声纹信息和参考人脸信息匹配。当声纹信息和人脸信息均验证通过,音箱100才可调用与音箱100绑定的账号关联的支付账户进行支付。相比于单独的声纹验证和单独的人脸认证,结合声纹验证和人脸验证的方式需要用户录入的声纹信息和人脸信息均正确,这样可以提高利用生物信息进行支付的安全性。That is to say, in the process of using biological information for payment, the speaker 100 needs to verify whether the voiceprint information and the face information match with the bound reference voiceprint information and the reference face information respectively. When both the voiceprint information and the face information are verified, the speaker 100 can call the payment account associated with the account bound to the speaker 100 for payment. Compared with separate voiceprint verification and separate face verification, the combination of voiceprint verification and face verification requires that the voiceprint information and face information entered by the user are correct, which can improve the security of using biometric information for payment .
如图2I所示,当参考声纹信息和参考人脸信息绑定成功,音箱100可以语音播报“人脸录入成功,您已开启生物支付”。这样,音箱100可以提示第一用户生物支付已成功开启。在后续需要支付付费音频资源时,第一用户可以通过录入自己的声纹信息和人脸信息来完成支付。As shown in FIG. 2I , when the reference voiceprint information and the reference face information are successfully bound, the speaker 100 can voice broadcast "The face entry is successful, you have enabled biometric payment". In this way, the speaker 100 can prompt the first user that the biometric payment has been successfully activated. When the paid audio resources need to be paid later, the first user can complete the payment by entering his own voiceprint information and face information.
另外,音箱100还可以向电子设备200发送用于指示生物信息建立成功的消息。如图2J所示,当接收到上述用于指示生物信息建立成功的消息,电子设备200可以在用户界面230上显示生物信息列表233。生物信息列表233可用于显示在音箱100上已建立的参考生物信息。In addition, the speaker 100 may also send a message to the electronic device 200 for indicating that the biometric information is successfully established. As shown in FIG. 2J , when receiving the above-mentioned message indicating that the biometric information is established successfully, the electronic device 200 may display a biometric information list 233 on the user interface 230 . The biological information list 233 may be used to display reference biological information that has been established on the speaker 100 .
示例性的,经过上述图2A~图2I所示的操作,音箱100上已经建立了第一用户的生物信息。电子设备200的生物信息列表233中可包括指示第一用户的生物信息的“用户1”233A。响应于作用在“用户1”233A上的操作,例如触摸操作,电子设备200可以显示更改该生物信息名称的选项以及删除该生物信息的选项等。即用户可以修改该生物信息的名称,例如将名称“用户1”修改为“李明”。并且,用户可以将该生物信息删除。响应于删除该生物信息的用户操作,电子设备200可以向音箱100发送用于删除名称为“用户1”的生物信息的指令。响应于上述指令,音箱100可以将安全模块中存储的名称为“用户1”的生物信息(包括参考声纹信息和参考人脸信息)删除。Exemplarily, after the operations shown in FIG. 2A to FIG. 2I above, the biological information of the first user has been established on the speaker 100 . The biometric information list 233 of the electronic device 200 may include "User 1" 233A indicating biometric information of the first user. In response to an operation, such as a touch operation, acting on the "user 1" 233A, the electronic device 200 may display an option to change the name of the biometric information, an option to delete the biometric information, and the like. That is, the user can modify the name of the biological information, for example, modify the name "User 1" to "Li Ming". And, the user can delete the biological information. In response to a user operation to delete the biometric information, the electronic device 200 may transmit an instruction to delete the biometric information named "User 1" to the speaker 100 . In response to the above instruction, the speaker 100 can delete the biometric information (including the reference voiceprint information and the reference face information) named "User 1" stored in the security module.
本申请实施例对上述音箱100语音播报的具体内容不作限定。This embodiment of the present application does not limit the specific content of the voice broadcast by the speaker 100 .
上述提取语音输入中的声纹信息,提取人脸图像中的人脸信息的实现方法可以参考现有技术,本申请实施例对不作具体限定。For the above-mentioned implementation method of extracting voiceprint information in voice input and extracting face information in face image, reference may be made to the prior art, which is not specifically limited in the embodiment of the present application.
本申请实施例对上述录入用户声纹信息的过程不作限定。其中,音箱100可以多次提示用户说出预设的验证词。上述验证词不限于是“小艺小艺”,还可以为其它词语或者句子。或者,音箱100中可以不包含预设的验证词。即用户可以说出任意的词语或者句子。音箱100可以从用户的语音输入中提取该用户的声纹信息。This embodiment of the present application does not limit the above process of entering user voiceprint information. The speaker 100 may prompt the user to speak the preset verification word for many times. The above verification word is not limited to "Xiaoyi Xiaoyi", but can also be other words or sentences. Alternatively, the speaker 100 may not contain a preset verification word. That is, the user can speak any word or sentence. The speaker 100 can extract the user's voiceprint information from the user's voice input.
在一些实施例中,音箱100配置有人脸采集装置,例如摄像头。当上述声纹信息录入成功,并进一步录入人脸信息时,音箱100可以开启自己的人脸采集装置来采集人脸图像,并提取人脸图像中的人脸信息。示例性的,音箱100配置有摄像头。在录入人脸信息时,音箱100可以语音播报“请将您的面部对准我的摄像头,并眨眨眼”。另外,音箱100还可以通过语音播报的方式提示用户调整位置,进而使得用户的面部对准音箱100的摄像头。例如,当用户的面部偏向摄像头采集图像区域的右方,音箱100可以语音播报“人脸未对准摄像头,请向左移动一点”。In some embodiments, the speaker 100 is configured with a face capture device, such as a camera. When the above-mentioned voiceprint information is successfully entered, and the face information is further entered, the speaker 100 can turn on its own face collection device to collect the face image and extract the face information in the face image. Exemplarily, the sound box 100 is configured with a camera. When entering face information, the speaker 100 can voice broadcast "Please aim your face at my camera and wink". In addition, the speaker 100 can also prompt the user to adjust the position through voice broadcast, so that the user's face is aligned with the camera of the speaker 100 . For example, when the user's face is inclined to the right of the area where the camera captures the image, the speaker 100 can voice broadcast "The face is not aligned with the camera, please move a little to the left".
当音箱100通过自己的摄像头采集得到人脸图像,音箱100可以从人脸图像中提取人脸信息,并将该人脸信息存储至安全模块,作为参考人脸信息。这样,配置有语音采集装置和人脸采集装置的音箱可以独立完成参考生物信息的录入,以及在支付付费资源过程中利用参考生物信息对用户身份进行验证。When the speaker 100 collects a face image through its own camera, the speaker 100 can extract the face information from the face image, and store the face information in the security module as reference face information. In this way, the speaker equipped with the voice collecting device and the face collecting device can independently complete the input of the reference biometric information, and use the reference biometric information to verify the user's identity in the process of paying for the paid resources.
本申请实施例对上述参考生物信息的存储空间不作限定。除了上述音箱100的安全模块,参考生物信息还可以存储在云端存储空间中。上述云端存储空间可以是音箱100、人脸采集设备300可以访问的存储空间。This embodiment of the present application does not limit the storage space of the above-mentioned reference biological information. In addition to the above-mentioned security module of the speaker 100, the reference biological information may also be stored in the cloud storage space. The above-mentioned cloud storage space may be a storage space that can be accessed by the speaker 100 and the face collecting device 300 .
在一些实施例中,当音箱100得到第一用户的声纹信息,音箱100可以将该声纹信息存储至上述云端存储空间。进一步的,音箱100可以查找到并调用人脸采集设备300采集人脸图像。其中,人脸采集设备300可以对采集到的第一用户的人脸图像进行特征提取,得到第一用户的人脸信息。In some embodiments, when the speaker 100 obtains the voiceprint information of the first user, the speaker 100 may store the voiceprint information in the above-mentioned cloud storage space. Further, the speaker 100 can find and call the face collecting device 300 to collect the face image. The face collection device 300 may perform feature extraction on the collected face image of the first user to obtain face information of the first user.
进一步的,人脸采集设备300可以将第一用户的人脸信息存储至云端存储空间。其中,在云端存储空间中,第一用户的声纹信息和人脸信息可以是关联的。或者,人脸采集设备300可以将采集到的第一用户的人脸图像发送给音箱100。音箱100可以对该人脸图像进行特征提取,得到第一用户的人脸信息。进一步的,音箱100可以将第一用户的人脸信息与第一用户的声纹信息关联存储至云端存储空间。Further, the face collection device 300 may store the face information of the first user in a cloud storage space. Wherein, in the cloud storage space, the voiceprint information and face information of the first user may be associated. Alternatively, the face collection device 300 may send the collected face image of the first user to the speaker 100 . The speaker 100 can perform feature extraction on the face image to obtain the face information of the first user. Further, the speaker 100 may store the face information of the first user and the voiceprint information of the first user in a cloud storage space in association with each other.
可选的,上述参考生物信息包括参考声纹信息和参考人脸信息。参考声纹信息和参考人 脸信息中的一种存储在上述云端存储空间。示例性的,音箱100可以采集第一用户的语音输入并得到声纹信息。音箱100可以将该声纹信息存储在本地的安全模块中。进一步的,音箱100可以调用附近的人脸采集设备采集人脸图像并得到人脸信息。其中,人脸采集设备可以从人脸图像中提取出人脸信息,并将该人脸信息存储至云端存储空间。Optionally, the above-mentioned reference biological information includes reference voiceprint information and reference face information. One of the reference voiceprint information and the reference face information is stored in the above cloud storage space. Exemplarily, the speaker 100 may collect the voice input of the first user and obtain voiceprint information. The speaker 100 can store the voiceprint information in a local security module. Further, the speaker 100 can call a nearby face collection device to collect face images and obtain face information. The face collection device can extract face information from the face image, and store the face information in the cloud storage space.
由图2A~图2I所示的场景示意图可以看出,未配置有人脸采集装置的音箱可以通过调用附近的人脸采集设备来录入人脸信息。这样,音箱可以录入用户的参考声纹信息和参考人脸信息,在支付付费资源的过程中对用户身份进行验证,从而简化用户在音箱上收听付费资源时进行支付的操作。It can be seen from the schematic diagrams of the scenarios shown in FIGS. 2A to 2I that a speaker without a face collection device can record face information by calling a nearby face collection device. In this way, the speaker can record the user's reference voiceprint information and reference face information, and verify the user's identity in the process of paying for the paid resources, thereby simplifying the user's payment operation when listening to the paid resources on the speaker.
下面结合上述场景示意图,介绍本申请实施例提供的一种音箱录入参考声纹信息和参考人脸信息的方法。The following describes a method for inputting reference voiceprint information and reference face information in a speaker provided by an embodiment of the present application with reference to the schematic diagram of the above scenario.
图3示例性示出了音箱录入参考声纹信息和参考人脸信息的方法流程图。该方法可包括步骤S101~S109。其中:FIG. 3 exemplarily shows a flowchart of a method for recording reference voiceprint information and reference face information in a speaker. The method may include steps S101-S109. in:
S101、电子设备200接收到用于开启音箱APP,将电子设备200与音箱100配对,并建立音箱APP的第一账号与音箱100的绑定关系的用户操作。S101. The electronic device 200 receives a user operation for opening the speaker APP, pairing the electronic device 200 with the speaker 100, and establishing a binding relationship between the first account of the speaker APP and the speaker 100.
在一些实施例中,音箱100与电子设备200首次连接时可以先进行配对。示例性的,电子设备200和音箱100的蓝牙均开启。电子设备200开启音箱APP,并在接收到用于搜索附近设备的用户操作后,扫描附近的蓝牙。当扫描到音箱100的蓝牙,电子设备200可以与音箱100配对连接。本申请实施例对电子设备200和音箱100配对的方式不作限定。In some embodiments, the sound box 100 and the electronic device 200 may be paired first when connected for the first time. Exemplarily, the Bluetooth of the electronic device 200 and the speaker 100 are both turned on. The electronic device 200 starts the speaker APP, and after receiving a user operation for searching for nearby devices, scans for nearby Bluetooth. When the Bluetooth of the speaker 100 is scanned, the electronic device 200 can be paired and connected with the speaker 100 . The embodiment of the present application does not limit the pairing manner of the electronic device 200 and the sound box 100 .
当电子设备200与音箱100配对成功,电子设备200可以为音箱100配置网络。音箱100可以接入网络。电子设备200为音箱100配置网络的方式可以参考前述实施例,这里不再赘述。When the electronic device 200 is successfully paired with the speaker 100 , the electronic device 200 can configure the network for the speaker 100 . The speaker 100 can be connected to the network. The manner in which the electronic device 200 configures the network for the speaker 100 may refer to the foregoing embodiments, which will not be repeated here.
进一步的,响应于在音箱APP上登录第一账号的用户操作,电子设备200可以在音箱APP上登录第一账号。该第一账号可以为前述图2A所示的账号名为“李明”的账号。音箱APP上登录的账号为第一账号的用户界面可以参考前述图2A所示的用户界面210。Further, in response to a user operation of logging in the first account on the speaker APP, the electronic device 200 may log in the first account on the speaker APP. The first account may be the account named "Li Ming" as shown in FIG. 2A. For the user interface where the account logged in the speaker APP is the first account, reference may be made to the user interface 210 shown in FIG. 2A above.
当音箱APP上登录有第一账号,音箱100可以与该第一账号建立绑定关系。上述音箱100与音箱APP上登录的第一账号建立绑定关系的实现过程可以参考现有技术,本申请实施例对此不作限定。When a first account is logged into the speaker APP, the speaker 100 can establish a binding relationship with the first account. For the implementation process of establishing a binding relationship between the speaker 100 and the first account logged in the speaker APP, reference may be made to the prior art, which is not limited in this embodiment of the present application.
S102、电子设备200与音箱100配对成功,音箱APP的第一账号与音箱100建立绑定关系。S102 , the electronic device 200 is successfully paired with the speaker 100 , and the first account of the speaker APP establishes a binding relationship with the speaker 100 .
S103、电子设备200接收到用于请求建立用于支付的第一生物信息的用户操作,并向音箱100发送建立用于支付的第一生物信息的请求。S103 , the electronic device 200 receives a user operation for requesting establishment of the first biometric information for payment, and sends a request for establishing the first biometric information for payment to the speaker 100 .
上述用于请求建立用于支付的第一生物信息的用户操作可以为作用在前述图2C所示的新建生物信息选项232的用户操作。电子设备200可以在对于上述第一账号关联的支付账号进行身份认证后,向音箱100发送建立用于支付的第一生物信息的请求。上述对支付账号进行身份认证的实现方式可以参考前述图2C~图2E所示的实施例,这里不再赘述。The above-mentioned user operation for requesting the establishment of the first biometric information for payment may be the user operation acting on the above-mentioned new biometric information option 232 shown in FIG. 2C . The electronic device 200 may send a request for establishing the first biometric information for payment to the speaker 100 after performing identity authentication on the payment account associated with the first account. For the implementation manner of performing identity authentication on the payment account above, reference may be made to the embodiments shown in the foregoing FIG. 2C to FIG. 2E , which will not be repeated here.
S104、音箱100录入第一用户的第一声纹信息。S104, the speaker 100 records the first voiceprint information of the first user.
上述第一声纹信息可以为前述参考声纹信息。当得到第一声纹信息,音箱100可以将该第一声纹信息存储至安全模块。该第一声纹信息可用于在后续支付过程中进行声纹验证。The above-mentioned first voiceprint information may be the aforementioned reference voiceprint information. When the first voiceprint information is obtained, the speaker 100 may store the first voiceprint information in the security module. The first voiceprint information can be used for voiceprint verification in the subsequent payment process.
S105、音箱100查找到并调用可用的人脸采集设备300。S105 , the speaker 100 finds and calls the available face collection device 300 .
S106、人脸采集设备300录入第一用户的第一人脸信息。S106. The face collection device 300 records the first face information of the first user.
该第一人脸信息可以为前述参考人脸信息。其中,人脸采集设备300可以利用人脸采集装置采集人脸图像,并从该人脸图像中提取得到第一人脸信息。The first face information may be the aforementioned reference face information. The face collection device 300 may use a face collection device to collect a face image, and extract the first face information from the face image.
或者,人脸采集设备300可以将采集得到的人脸图像发送给音箱100,由音箱100对该人脸图像进行提取,来得到第一人脸信息。Alternatively, the face collection device 300 may send the collected face image to the speaker 100, and the speaker 100 extracts the face image to obtain the first face information.
S107、人脸采集设备300向音箱发送经过加密的第一人脸信息。S107. The face collection device 300 sends the encrypted first face information to the speaker.
S108、音箱100对经过加密的第一人脸信息解密,绑定并存储第一声纹信息和第一人脸信息。S108, the speaker 100 decrypts the encrypted first face information, binds and stores the first voiceprint information and the first face information.
当得到第一人脸信息,音箱100可以将该第一人脸信息存储至安全模块。该第一人脸信息可用于在后续支付过程中进行人脸验证。When the first face information is obtained, the speaker 100 may store the first face information in the security module. The first face information can be used for face verification in the subsequent payment process.
另外,音箱100可以将第一声纹信息和第一人脸信息进行绑定,作为第一用户的第一生物信息。In addition, the speaker 100 may bind the first voiceprint information and the first face information as the first biological information of the first user.
S109、音箱100向电子设备200发送用于指示第一生物信息建立成功的消息。S109 , the speaker 100 sends a message to the electronic device 200 for indicating that the first biological information is successfully established.
上述步骤S104~S109的具体实现过程可以参考前述对图2F~图2J所示的实施例的介绍,这里不再赘述。For the specific implementation process of the foregoing steps S104 to S109, reference may be made to the foregoing description of the embodiments shown in FIG. 2F to FIG. 2J , which will not be repeated here.
下面具体介绍本申请实施例提供的音箱100通过结合声纹验证和人脸验证的方式支付付费音频资源的场景示意图。The following specifically introduces a schematic diagram of a scenario in which the speaker 100 according to the embodiment of the present application pays for paid audio resources by combining voiceprint verification and face verification.
当音箱100的安全模块中存储有第一用户的参考声纹信息和参考人脸信息,音箱100可以结合声纹验证和人脸验证的方式来验证请求支付的用户的身份。When the reference voiceprint information and reference face information of the first user are stored in the security module of the speaker 100, the speaker 100 can combine voiceprint verification and face verification to verify the identity of the user requesting payment.
如图4A所示,第一用户通过预设的唤醒词唤醒音箱100并下发播放音乐A的语音指令。具体的,第一用户在音箱100的附近说出“小艺小艺,我要听音乐A”。As shown in FIG. 4A , the first user wakes up the speaker 100 through a preset wake-up word and issues a voice instruction to play music A. Specifically, the first user says "Xiaoyi Xiaoyi, I want to listen to music A" near the speaker 100 .
当检测到预设的唤醒词,音箱100可以唤醒应用处理器,识别并执行接收到的语音指令。响应于第一用户“听音乐A”的语音指令,音箱100可以从音乐服务器获取音乐A的资源并播放。并且,音箱100还可以语音播报“好的,为您播放音乐A”来响应第一用户的语音指令。When a preset wake-up word is detected, the speaker 100 can wake up the application processor to recognize and execute the received voice command. In response to the voice instruction of "listen to music A" by the first user, the speaker 100 can acquire and play the resources of music A from the music server. In addition, the speaker 100 can also voice broadcast "OK, play music A for you" in response to the voice instruction of the first user.
若音乐A属于付费音频资源,且第一账号(与音箱100绑定的账号)未购买过音乐A,上述音乐服务器可以向音箱100发送用于指示音乐A是付费音乐的消息。如图4B所示,当接收到用于指示音乐A是付费音乐的消息,音箱100可以语音播报“付费后可收听完整的音乐A,是否付费”,来提示第一用户需要付费才能收听音乐A。If the music A is a paid audio resource, and the first account (the account bound to the speaker 100 ) has not purchased the music A, the music server may send a message indicating that the music A is paid music to the speaker 100 . As shown in FIG. 4B , when receiving a message indicating that music A is paid music, the speaker 100 can voice broadcast “you can listen to the complete music A after payment, whether to pay or not” to prompt the first user to pay to listen to music A .
当听到音箱100的提示,第一用户可以在音箱100附近说“请帮助我完成支付”。当检测到语音指令“请帮助我完成支付”,音箱100可以开始进行声纹验证和人脸验证。具体的,如图4C所示,音箱100可以语音播报“好的,开始声纹验证。请跟着我说以下验证词:小艺小艺”,来提示第一用户录入声纹信息。第一用户可以根据音箱100的提示说出验证词“小艺小艺”。When hearing the prompt of the speaker 100, the first user can say "please help me complete the payment" near the speaker 100. When the voice command "please help me complete the payment" is detected, the speaker 100 can start to perform voiceprint verification and face verification. Specifically, as shown in FIG. 4C , the speaker 100 can voice broadcast "OK, start voiceprint verification. Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the first user to enter the voiceprint information. The first user can say the verification word "Xiaoyi Xiaoyi" according to the prompt of the speaker 100 .
音箱100可以接收第一用户在说上述验证词的语音输入,并从该语音输入中提取声纹信息。进一步的,音箱100可以将该声纹信息与存储的第一用户的参考声纹信息进行比较。若该声纹信息与第一用户的参考声纹信息匹配,则声纹验证成功。The speaker 100 can receive the voice input of the first user speaking the above verification word, and extract voiceprint information from the voice input. Further, the speaker 100 may compare the voiceprint information with the stored reference voiceprint information of the first user. If the voiceprint information matches the reference voiceprint information of the first user, the voiceprint verification is successful.
如图4D所示,音箱100可以语音播报“声纹验证成功,开始人脸验证。请将您的面部对准李明的电视的摄像头,并眨眨眼”。其中,由于音箱100未配置有人脸采集装置,无法采集人脸图像,音箱100可以在声纹验证成功后,查找并调用附近可用的人脸采集设备,来采 集人脸图像。As shown in Fig. 4D, the speaker 100 can voice broadcast "Voiceprint verification is successful, face verification starts. Please aim your face at the camera of Li Ming's TV and blink." Among them, since the speaker 100 is not equipped with a face collection device, it cannot collect a face image. After the voiceprint verification is successful, the speaker 100 can find and call a nearby available face collection device to collect a face image.
音箱100查找到并调用人脸采集设备300(即李明的电视)来获取人脸信息的方式可以参考前述实施例,这里不再赘述。当得到上述人脸信息,音箱100可以将上述人脸信息与存储的第一用户的参考人脸信息进行比较。若上述人脸信息与第一用户的参考人脸信息匹配,则人脸验证成功。The manner in which the speaker 100 finds and invokes the face acquisition device 300 (ie, Li Ming's TV) to acquire the face information may refer to the foregoing embodiments, which will not be repeated here. When the above-mentioned face information is obtained, the speaker 100 may compare the above-mentioned face information with the stored reference face information of the first user. If the above face information matches the reference face information of the first user, the face verification is successful.
当声纹验证和人脸验证均成功,音箱100可以完成支付账户的本地验证。进一步的,音箱100可以与支付账户的支付服务器进行验证。当音箱100与上述支付服务器之间的验证成功,支付服务器可以对与音箱100绑定的账号所关联的支付账户进行扣款操作。When both the voiceprint verification and the face verification are successful, the speaker 100 can complete the local verification of the payment account. Further, the speaker 100 can be authenticated with the payment server of the payment account. When the verification between the speaker 100 and the aforementioned payment server is successful, the payment server may perform a deduction operation on the payment account associated with the account bound to the speaker 100 .
上述音箱100与支付服务器之间的验证可用于支付服务器确认音箱100是可信设备。这样,支付服务器可以根据音箱100对支付账户进行扣款的指令来完成对支付账户的扣款。具体的,音箱100与支付服务器可以根据在线快速身份认证(fast identity online alliance,FIDO)来进行验证。The above verification between the speaker 100 and the payment server can be used by the payment server to confirm that the speaker 100 is a trusted device. In this way, the payment server can complete the deduction of the payment account according to the instruction of the speaker 100 to debit the payment account. Specifically, the speaker 100 and the payment server can be verified according to fast identity online alliance (FIDO).
其中,音箱100的安全模块可以生成一对非对称密钥对。该非对称密钥对可包括私钥和公钥。音箱100的安全模块可以存储上述私钥,并将上述公钥发送给上述支付服务器。支付服务器可以将与音箱100绑定的账号所关联的支付账户与上述公钥关联。Wherein, the security module of the speaker 100 can generate a pair of asymmetric key pairs. The asymmetric key pair may include a private key and a public key. The security module of the speaker 100 can store the above-mentioned private key and send the above-mentioned public key to the above-mentioned payment server. The payment server may associate the payment account associated with the account bound to the speaker 100 with the above public key.
当上述声纹验证和人脸验证均成功,音箱100可以利用上述私钥对支付服务器发送的验证请求进行签名,并将包含有上述签名的验证请求发送给支付服务器。然后支付服务器可以利用上述公钥对包含有上述签名的验证请求进行验证。若验证成功,则支付服务器可以确认音箱100是可信设备。When both the voiceprint verification and the face verification are successful, the speaker 100 can use the private key to sign the verification request sent by the payment server, and send the verification request including the signature to the payment server. The payment server can then use the public key to verify the verification request containing the signature. If the verification is successful, the payment server can confirm that the speaker 100 is a trusted device.
除了采用上述FIDO进行验证,音箱100与支付服务器之间还可以采用其他可信身份验证的方式进行验证。例如,互联网金融身份认证(internet finance authentication alliance,IFAA)、腾讯用户身份认证(tencent user security infrastructure,TUSI)等可信身份验证的方式。上述音箱100与支付服务器之间的验证可以参考现有技术的实现方式,这里不再赘述。In addition to the above-mentioned FIDO for verification, other trusted identity verification methods may also be used for verification between the speaker 100 and the payment server. For example, internet finance authentication (IFAA), Tencent user security infrastructure (TUSI) and other trusted authentication methods. For the verification between the speaker 100 and the payment server, reference may be made to the implementation manner of the prior art, which will not be repeated here.
在一种可能的实现方式中,当支付服务器完成对支付账户的扣款,支付服务器可以向音箱100发送用于指示支付成功的消息。音箱100可以将该指示支付成功的消息发送给音乐服务器。当收到该指示支付成功的消息,音乐服务器可以将音乐A的资源发送给音箱100。这样,音箱100可以播放完整的音乐A。In a possible implementation manner, when the payment server completes the deduction of the payment account, the payment server may send a message indicating that the payment is successful to the speaker 100 . The speaker 100 can send the message indicating that the payment is successful to the music server. When receiving the message indicating successful payment, the music server may send the resources of music A to the speaker 100 . In this way, the speaker 100 can play the complete music A.
在另一种可能的实现方式中,支付服务器与音乐服务器建立有通信连接。当支付服务器完成对支付账户的扣款,支付服务器可以向音乐服务器发送用于指示对与音箱100绑定的账号所关联的支付账户扣款成功的消息。进一步的,音乐服务器可以将音乐A的资源发送给音箱100。这样,音箱100可以播放完整的音乐A。本申请实施例对音乐服务器确定与音箱100绑定的账号购买了上述音乐A的方法不作限定。In another possible implementation manner, the payment server establishes a communication connection with the music server. When the payment server completes the deduction of the payment account, the payment server may send a message to the music server to indicate that the payment account associated with the account bound to the speaker 100 is successfully debited. Further, the music server may send the resource of music A to the speaker 100 . In this way, the speaker 100 can play the complete music A. This embodiment of the present application does not limit the method for the music server to determine that the account bound to the speaker 100 has purchased the above-mentioned music A.
如图4E所示,当接收到支付服务器发送的用于指示支付成功的消息,音箱100可以语音播报“人脸验证成功,您已成功购买音乐A,为您播放完整的音乐A”,来提示第一用户已支付成功。然后,音箱100可以播放从音乐服务器接收到的音乐A的资源。As shown in FIG. 4E , when receiving the message indicating successful payment sent by the payment server, the speaker 100 can voice broadcast “The face verification is successful, you have successfully purchased music A, and the complete music A will be played for you” to prompt The first user has paid successfully. Then, the speaker 100 can play the resource of the music A received from the music server.
需要进行说明的是,上述音乐服务器中可存储有音乐资源、账号的相关信息(如账号购买过的付费音频资源等)。不限于是提供音乐的音乐服务器,还可以是为音箱100提供其他类型的音频资源的服务器。本申请实施例对上述音乐服务器的类型以及包含的内容均不作限定。It should be noted that the above music server may store music resources and account related information (such as paid audio resources purchased by the account, etc.). It is not limited to a music server that provides music, but can also be a server that provides other types of audio resources for the speaker 100 . The embodiments of the present application do not limit the types of the above-mentioned music servers and the included contents.
在本申请中,上述音箱100检测到唤醒词后唤醒应用处理器、识别并执行语音指令的实现过程可以参考现有技术,这里不再赘述。In the present application, the implementation process of waking up the application processor after the speaker 100 detects the wake-up word, and recognizing and executing the voice command may refer to the prior art, which will not be repeated here.
由图4A~图4E所示的场景可知,当第一用户在音箱中录入了参考声纹信息和参考人脸信 息,第一用户在支付付费音频资源时可以通过声纹验证和人脸验证的方式来完成支付。这样,第一用户可以不用打开安装有音箱APP的电子设备,进行选择付费音频资源、输入支付密码等一系列繁琐的操作。上述声纹验证结合人脸验证的支付方式可以简化用户操作,使得支付过程更加便捷。It can be seen from the scenarios shown in FIGS. 4A to 4E that when the first user enters the reference voiceprint information and the reference face information in the speaker, the first user can pass the voiceprint verification and face verification when paying for the paid audio resources. way to complete the payment. In this way, the first user can perform a series of cumbersome operations such as selecting a paid audio resource and inputting a payment password without opening the electronic device on which the speaker APP is installed. The above-mentioned payment method of voiceprint verification combined with face verification can simplify user operations and make the payment process more convenient.
在一些实施例中,音箱100可以接收到用于指示音箱100进行用户身份验证的指令。该指令可以例如是如图4B所示第一用户的语音输入“请帮助我完成支付”。进一步的,音箱100可以先录入用户的声纹信息,并调用人脸采集设备300得到用户的人脸信息。然后,音箱100可以分别将上述声纹信息与上述人脸信息与第一用户的参考声纹信息和参考人脸信息比较。若均匹配,则声纹验证和人脸验证均成功。In some embodiments, the speaker 100 may receive an instruction to instruct the speaker 100 to authenticate the user. The instruction may be, for example, "please help me complete the payment" by the first user's voice input as shown in FIG. 4B . Further, the speaker 100 may first record the user's voiceprint information, and call the face collection device 300 to obtain the user's face information. Then, the speaker 100 may compare the above-mentioned voiceprint information and the above-mentioned face information with the reference voiceprint information and reference face information of the first user, respectively. If they match, both voiceprint verification and face verification are successful.
在该方法中,音箱100可以先获取需要验证的声纹信息和人脸信息。然后,音箱100可以对上述需要验证的声纹信息和人脸信息进行验证。通过同时进行声纹验证和人脸验证,音箱100可以提高对用户身份进行验证的效率,从而提高上述结合声纹验证和人脸验证来进行支付效率。In this method, the speaker 100 may first obtain voiceprint information and face information that need to be verified. Then, the speaker 100 can verify the above-mentioned voiceprint information and face information that need to be verified. By performing voiceprint verification and face verification at the same time, the speaker 100 can improve the efficiency of verifying the user's identity, thereby improving the above-mentioned payment efficiency by combining voiceprint verification and face verification.
在一些实施例中,第一用户的参考生物信息存储在云端存储空间。音箱100在支付付费资源的过程中可以从云端存储空间获取第一用户的参考生物信息来进行用户身份的验证。In some embodiments, the reference biological information of the first user is stored in a cloud storage space. During the process of paying for the paid resources, the speaker 100 may obtain the reference biometric information of the first user from the cloud storage space to verify the user's identity.
具体的,如图4B所示,第一用户请求音箱100支付付费资源。音箱100可以从上述云端存储空间获取第一用户的参考生物信息。音箱100可以采集第一用户的语音输入并得到声纹信息,并将该声纹信息与上述第一用户的参考生物信息中的参考声纹信息进行比较。若该声纹信息与上述参考声纹信息匹配,音箱100可以调用人脸采集设备300采集第一用户的人脸图像并得到人脸信息。音箱100可以将该人脸信息与上述第一用户的参考生物信息中的参考人脸信息进行比较。当音箱100在完成上述声纹验证和人脸验证,音箱100可以与支付服务器进行可信身份验证。上述可信身份验证的实现方式可以参考前述实施例,这里不再赘述。若上述可信身份验证成功,支付服务器可以对第一用户的支付账户进行扣款。上述第一用户的支付账户可以为音箱100绑定的账号所关联的支付账户。Specifically, as shown in FIG. 4B , the first user requests the speaker 100 to pay for the paid resources. The speaker 100 may acquire the reference biological information of the first user from the above-mentioned cloud storage space. The speaker 100 can collect the voice input of the first user to obtain voiceprint information, and compare the voiceprint information with the reference voiceprint information in the reference biological information of the first user. If the voiceprint information matches the above-mentioned reference voiceprint information, the speaker 100 can call the face collecting device 300 to collect the face image of the first user and obtain the face information. The speaker 100 may compare the face information with the reference face information in the above-mentioned reference biological information of the first user. When the speaker 100 completes the above voiceprint verification and face verification, the speaker 100 can perform trusted identity verification with the payment server. For the implementation manner of the above-mentioned trusted identity verification, reference may be made to the foregoing embodiments, which will not be repeated here. If the above-mentioned trusted identity verification is successful, the payment server may debit the payment account of the first user. The payment account of the first user may be a payment account associated with the account bound to the speaker 100 .
在另一些实施例中,第一用户的参考生物信息存储在云端存储空间。该云端存储空间可以被支付服务器访问。音箱100在支付付费资源的过程中,可以将得到的第一用户的声纹信息和人脸信息发送给支付服务器。支付服务器可以从云端存储空间中获取第一用户的参考生物信息,并利用该生物信息对来自音箱100的声纹信息和人脸信息进行验证。In other embodiments, the reference biological information of the first user is stored in a cloud storage space. This cloud storage space can be accessed by the payment server. During the process of paying for the paid resources, the speaker 100 may send the obtained voiceprint information and face information of the first user to the payment server. The payment server may obtain the reference biometric information of the first user from the cloud storage space, and use the biometric information to verify the voiceprint information and face information from the speaker 100 .
具体的,音箱100可以根据前述实施例中的方法得到第一用户的声纹信息。音箱100可以将该声纹信息发送给支付服务器,并请求支付服务器进行声纹验证。支付服务器可以从云端存储空间获取第一用户的参考生物信息,并比较其中第一用户的参考声纹信息与来自音箱100的声纹信息。若匹配,支付服务器可以向音箱100发送用于指示声纹信息验证成功的消息。Specifically, the speaker 100 can obtain the voiceprint information of the first user according to the method in the foregoing embodiment. The speaker 100 can send the voiceprint information to the payment server, and request the payment server to perform voiceprint verification. The payment server may acquire the reference biometric information of the first user from the cloud storage space, and compare the reference voiceprint information of the first user with the voiceprint information from the speaker 100 . If there is a match, the payment server may send a message to the speaker 100 to indicate that the voiceprint information is successfully verified.
进一步的,音箱100可以根据前述实施例中的方法得到第一用户的人脸信息。音箱100可以将该人脸信息发送给支付服务器,并请求支付服务器进行人脸验证。支付服务器可以比较第一用户的参考人脸信息与来自音箱100的人脸信息。若匹配,支付服务器可以对第一用户的支付账户进行扣款。Further, the speaker 100 can obtain the face information of the first user according to the method in the foregoing embodiment. The speaker 100 can send the face information to the payment server, and request the payment server to perform face verification. The payment server may compare the reference face information of the first user with the face information from the speaker 100 . If there is a match, the payment server may debit the payment account of the first user.
本申请实施例对上述音箱100调用支付账户进行支付的方式不作限定,具体还可以参考现有技术中电子设备调用支付账户进行支付的实现方式。The embodiments of the present application do not limit the manner in which the speaker 100 invokes the payment account for payment. For details, reference may also be made to the implementation manner in which the electronic device invokes the payment account for payment in the prior art.
在第一用户拥有多个音箱的场景中,上述存储在云端存储空间的参考生物信息可以为这多个音箱共用。示例性的,第一用户拥有多个音箱。这多个音箱可包含上述音箱100。这多个音箱可分别位于卧室、客厅等位置。这多个音箱均可以与电子设备200中音箱APP登录的账号绑定。In a scenario where the first user has multiple speakers, the above-mentioned reference biological information stored in the cloud storage space can be shared by the multiple speakers. Exemplarily, the first user owns multiple speakers. The plurality of speakers may include the speakers 100 described above. These multiple speakers can be located in the bedroom, living room, etc. respectively. The multiple speakers can be bound to the account logged in the speaker APP in the electronic device 200 .
当这多个音箱中的一个音箱录入第一用户的参考生物信息,这一个音箱可以将第一用户的参考生物信息存储至云端存储空间。这多个音箱均可以访问上述云端存储空间。这样,用户可以只需要录入一次参考生物信息,即可在多个音箱上通过声纹验证和人脸验证的方式来支付音箱播放的付费资源。上述实现方式可以简化用户录入用于支付的参考生物信息的操作,提高用户的使用体验。When the reference biological information of the first user is recorded in one of the plurality of speakers, the one speaker can store the reference biological information of the first user in the cloud storage space. These multiple speakers can access the above cloud storage space. In this way, users only need to enter the reference biometric information once, and then they can pay for the paid resources played by the speakers through voiceprint verification and face verification on multiple speakers. The above implementation manner can simplify the user's operation of entering the reference biometric information for payment, and improve the user's use experience.
不限于是上述多个音箱的场景,还可以是包含有音箱、电视、手机、故事机等电子设备的分布式场景。在上述分布式场景中,与同一个账号绑定的多个电子设备均可以共用与该账号关联的存储在云端存储空间的参考生物信息。即用户可以只需要录入一次参考生物信息,这多个电子设备均可以从云端存储空间获取参考生物信息进行验证,以调用支付账户支付付费资源,例如付费音频资源、付费视频资源等。It is not limited to the above-mentioned scenario of multiple speakers, but can also be a distributed scenario including electronic devices such as speakers, TVs, mobile phones, and story machines. In the above distributed scenario, multiple electronic devices bound to the same account can share the reference biological information stored in the cloud storage space associated with the account. That is, the user only needs to enter the reference biological information once, and these multiple electronic devices can obtain the reference biological information from the cloud storage space for verification, and call the payment account to pay for the paid resources, such as paid audio resources, paid video resources, etc.
在一些实施例中,上述分布式场景中的多个电子设备绑定的账号可以是不同的账号。这些不同的账号可以是属于同一个账号组的账号。其中,属于同一个账号组的多个账号可以共享其中各账号在内容服务器中购买的内容。上述内容服务器可以例如是音乐服务器、视频服务器等。In some embodiments, accounts bound to multiple electronic devices in the above distributed scenario may be different accounts. These different accounts may be accounts belonging to the same account group. Wherein, multiple accounts belonging to the same account group may share the content purchased by each account in the content server. The above-mentioned content server may be, for example, a music server, a video server, or the like.
示例性的,一个家庭的分布式场景中包括音箱A、音箱B和音箱C。音箱A、音箱B和音箱C所绑定的账号分别为账号A、账号B和账号C。账号A、账号B和账号C可以分别关联这一个家庭中不同的家庭成员的参考生物信息。其中,账号A、账号B和账号C是属于一个家庭组的账号。音箱A在绑定账号A的情况下,可以根据前述实施例中的支付方法购买音乐A。由于音箱B与账号B绑定,音箱B与账号C绑定,则音箱B和音箱C可以播放音乐A,而不用再次购买。Exemplarily, a distributed scenario of a home includes sound box A, sound box B, and sound box C. The accounts bound to Speaker A, Speaker B, and Speaker C are Account A, Account B, and Account C, respectively. Account A, Account B, and Account C can be respectively associated with reference biometric information of different family members in this family. The account A, the account B, and the account C are accounts belonging to one family group. When speaker A is bound to account A, it can purchase music A according to the payment method in the foregoing embodiment. Since speaker B is bound to account B, and speaker B is bound to account C, speaker B and speaker C can play music A without having to purchase it again.
其中,上述属于同一个家庭组的账号可以与同一个支付账户关联。也即是说,以上述账号A、账号B和账号C作为身份标识购买付费资源时,音箱A、音箱B和音箱C均可以指示支付服务器对账号A、账号B和账号B所关联的同一个支付账户进行扣款。以上述账号A作为身份标识购买付费资源,音箱A可以根据账号A所关联的参考生物信息进行用户身份验证。以账号B作为身份标识购买付费资源,音箱B可以根据账号B所关联的参考生物信息进行用户身份验证。以账号C作为身份标识购买付费资源,音箱C可以根据账号C所关联的参考生物信息进行用户身份验证。The above accounts belonging to the same family group may be associated with the same payment account. That is to say, when the above-mentioned account A, account B, and account C are used as identifications to purchase paid resources, speaker A, speaker B, and speaker C can all instruct the payment server to assign the same one associated with account A, account B, and account B to the payment server. The payment account is debited. Using the above account A as the identity identifier to purchase paid resources, the speaker A can perform user identity verification according to the reference biometric information associated with the account A. To purchase paid resources with account B as an identity identifier, speaker B can perform user identity verification based on the reference biometric information associated with account B. Using account C as the identity identifier to purchase paid resources, speaker C can perform user identity verification based on the reference biometric information associated with account C.
本申请实施例对将不同的账号设置为属于同一个家庭组的方式不作限定,具体可以参考现有技术中的实现方式。This embodiment of the present application does not limit the manner in which different accounts are set to belong to the same family group. For details, reference may be made to the implementation manner in the prior art.
下面结合上述图4A~图4E所示的场景,介绍本申请实施例提供的一种通过生物信息验证来验证用户身份的支付方法。The following describes a payment method for verifying a user's identity through biometric information verification provided by an embodiment of the present application in conjunction with the scenarios shown in FIGS. 4A to 4E .
图5示例性示出了一种支付方法的流程图。该方法可包括步骤S201~S209。其中:FIG. 5 exemplarily shows a flow chart of a payment method. The method may include steps S201-S209. in:
音箱100的安全模块中可存储有第一用户的第一生物信息。该第一生物信息可以包括第一声纹信息和第一人脸信息。该第一声纹信息可以为前述实施例中的参考声纹信息。该第一人脸信息可以为前述实施例中的参考人脸信息。The security module of the speaker 100 may store the first biological information of the first user. The first biological information may include first voiceprint information and first face information. The first voiceprint information may be the reference voiceprint information in the foregoing embodiments. The first face information may be the reference face information in the foregoing embodiment.
S201、音箱100与第一账号建立绑定关系。S201, the speaker 100 establishes a binding relationship with the first account.
该第一账号可以为第一用户在电子设备200的音箱APP上登录的账号,例如账号名为“李明”的账号。该第一账号可关联有支付账户。在音箱APP中登录的账号为第一账号的情况下,支付付费音频资源时可由支付服务器从与第一账号关联的支付账户中进行扣款。The first account may be an account that the first user logs in on the speaker APP of the electronic device 200, for example, an account whose account name is "Li Ming". The first account number may be associated with a payment account. When the account logged in the speaker APP is the first account, when paying for the paid audio resources, the payment server can debit the payment account associated with the first account.
音箱100与第一账号建立绑定关系的方法可以参考前述图3所示方法中的步骤S101和步骤S102,这里不再赘述。For the method for establishing a binding relationship between the speaker 100 and the first account, reference may be made to steps S101 and S102 in the method shown in FIG. 3 , which will not be repeated here.
S202、音箱100接收到唤醒音箱100、播放付费资源并请求付费的用户操作。S202, the speaker 100 receives a user operation of waking up the speaker 100, playing the paid resource, and requesting payment.
上述接收到唤醒音箱100、播放付费资源的用户操作可以例如是图4A所示的第一用户在音箱100附近说出语音指令“小艺小艺,我要听音乐A”。其中,音乐A即为付费资源。The above-mentioned user operation for waking up the speaker 100 and playing the paid resource may be, for example, the first user as shown in FIG. Among them, music A is a paid resource.
上述请求付费的用户操作可以例如是图4B所示的第一用户在音箱100附近说出语音指令“请帮助我完成支付”。The above-mentioned user operation for requesting payment may be, for example, the first user as shown in FIG. 4B uttering the voice instruction "please help me complete the payment" near the speaker 100 .
S203、音箱100录入第一用户的声纹信息。S203, the speaker 100 records the voiceprint information of the first user.
S204、音箱100验证步骤S203中录入的声纹信息,并确定该声纹信息与第一声纹信息匹配。S204. The speaker 100 verifies the voiceprint information entered in step S203, and determines that the voiceprint information matches the first voiceprint information.
S205、音箱100查找到并调用可用的人脸采集设备300。S205 , the speaker 100 finds and calls the available face collection device 300 .
S206、人脸采集设备300录入第一用户的人脸信息。S206, the face collection device 300 records the face information of the first user.
S207、人脸采集设备300对步骤S206中录入的人脸信息进行加密,并发送给音箱100。S207 , the face collection device 300 encrypts the face information entered in step S206 and sends it to the speaker 100 .
S208、音箱100对经过加密的人脸信息进行解密,并进行验证,确认该人脸信息与第一人脸信息匹配。S208, the speaker 100 decrypts the encrypted face information, and performs verification to confirm that the face information matches the first face information.
S209、音箱100调用与第一账号关联的支付账户支付付费资源。S209, the speaker 100 calls the payment account associated with the first account to pay for the payment resource.
音箱100验证声纹信息和人脸信息,以及调用与第一账号关联的支付账户进行支付的具体过程可以参考前述实施例的介绍,这里不再赘述。The specific process of the speaker 100 verifying the voiceprint information and the face information, and calling the payment account associated with the first account for payment may refer to the introduction of the foregoing embodiments, and will not be repeated here.
由图5所示的方法可知,在支付付费音频资源时,音箱可以采集用户的语音输入并从中提取声纹信息进行验证。并且,未配置有人脸采集装置的音箱可以调用附近配置有人脸采集装置的设备来采集人脸图像。进一步的,音箱可以对上述人脸图像中的人脸信息进行验证。在上述对声纹信息和人脸信息的验证均通过后,音箱可以调用支付账户来支付付费音频资源。这样,未配置有人脸采集装置的音箱也可以结合声纹验证和人脸验证的方法来完成支付,简化了用户在利用音箱收听付费音频资源时进行付费的操作。It can be seen from the method shown in FIG. 5 that when paying for the paid audio resources, the speaker can collect the user's voice input and extract voiceprint information for verification. In addition, a speaker without a face collecting device can call a nearby device configured with a face collecting device to collect a face image. Further, the speaker can verify the face information in the above face image. After the above verification of the voiceprint information and face information is passed, the speaker can call the payment account to pay for the paid audio resources. In this way, a speaker that is not equipped with a face acquisition device can also complete payment by combining voiceprint verification and face verification, which simplifies the user's operation of paying when using the speaker to listen to paid audio resources.
在一些实施例中,在音箱100与第一用户的账号,例如第一张账号(图2A所示账号名为“李明”的账号)绑定的情况下,第一用户可以授权自己的家人或者朋友等在利用音箱100收听付费音频资源时,通过上述结合声纹验证和人脸验证的方式完成支付。其中,进行支付的账户可以为与上述第一账号关联的支付账户。上述与第一账号关联的支付账户可以为第一用户的支付账户。即由第一用户授权的用户在利用生物信息验证成功后,可以由第一用户的支付账户来支付付费音频资源。In some embodiments, when the speaker 100 is bound to the account of the first user, such as the first account (the account named "Li Ming" shown in FIG. 2A ), the first user can authorize his family Or when friends and the like use the speaker 100 to listen to paid audio resources, the payment is completed by the above-mentioned method combining voiceprint verification and face verification. Wherein, the payment account may be a payment account associated with the above-mentioned first account number. The above-mentioned payment account associated with the first account number may be the payment account of the first user. That is, the user authorized by the first user can pay for the paid audio resource from the payment account of the first user after successful verification using the biometric information.
音箱100的安全模块中存储有主用户的参考生物信息。音箱100还可以在主用户授权后建立授权用户的参考生物信息。参考生物信息可包含参考声纹信息、参考人脸信息。参考生物信息可用于在音箱100支付付费资源的过程中比较音箱100得到的生物信息是否与参考生物信息匹配,来验证指示音箱100进行付费的用户的身份。The reference biometric information of the primary user is stored in the security module of the speaker 100 . The speaker 100 can also establish the reference biometric information of the authorized user after the authorization of the main user. The reference biological information may include reference voiceprint information and reference face information. The reference biometric information can be used to verify the identity of the user who instructed the speaker 100 to pay by comparing whether the biometric information obtained by the speaker 100 matches the reference biometric information during the process of paying for the paid resources by the speaker 100 .
音箱100可以为第一账号建立主用户的参考生物信息和授权用户的参考生物信息。其中,与第一账号关联的主用户的参考生物信息可以为:在音箱100未存储有与第一账号关联的参 考生物信息时,音箱100建立的参考生物信息。也即是说,与第一账号关联的主用户可以为:在音箱100未存储有与第一账号关联的参考生物信息时,音箱100建立的参考生物信息所对应的用户。The speaker 100 may establish the reference biological information of the primary user and the reference biological information of the authorized user for the first account. Wherein, the reference biological information of the primary user associated with the first account may be: when the speaker 100 does not store the reference biological information associated with the first account, the reference biological information established by the speaker 100. That is to say, the primary user associated with the first account may be a user corresponding to the reference biological information established by the speaker 100 when the speaker 100 does not store the reference biological information associated with the first account.
与第一账号关联的授权用户可以为:在音箱100存储有与第一账号关联的参考生物信息时,音箱100建立的参考生物信息所对应的用户。与音箱100绑定的一个账号可以存在一个主用户、一个或多个授权用户。示例性的,音箱100与第一账号绑定。在音箱100未存储有与第一账号关联的参考生物信息时,音箱100录入第一用户的生物信息作为参考生物信息。则第一用户即为与第一账号关联的主用户。在音箱100存储有第一用户的参考生物信息时,音箱100录入第二用户的生物信息作为参考生物信息。则第二用户即为与第一账号关联的授权用户。其中,在支付付费资源的过程中,若上述第一用户或第二用户通过音箱100利用参考生物信息进行的验证,则音箱100可以调用与第一账号关联的支付账户支付付费资源。也即音箱100可以调用主用户(即第一用户)的支付账户进行支付。The authorized user associated with the first account may be a user corresponding to the reference biological information established by the speaker 100 when the speaker 100 stores the reference biological information associated with the first account. An account bound to the speaker 100 may have one main user and one or more authorized users. Exemplarily, the speaker 100 is bound to the first account. When the speaker 100 does not store the reference biological information associated with the first account, the speaker 100 records the biological information of the first user as the reference biological information. Then the first user is the primary user associated with the first account. When the sound box 100 stores the reference biological information of the first user, the sound box 100 records the biological information of the second user as the reference biological information. Then the second user is an authorized user associated with the first account. Wherein, in the process of paying for the paid resources, if the above-mentioned first user or the second user passes the verification by the speaker 100 using the reference biometric information, the speaker 100 can call the payment account associated with the first account to pay for the paid resources. That is, the speaker 100 can call the payment account of the main user (ie, the first user) for payment.
在一种可能的实现方式中,主用户的参考生物信息可以包括参考声纹信息和参考人脸信息。授权用户的参考生物信息可以只包含参考声纹信息。音箱100可以将授权用户的参考声纹信息可以与主用户的参考人脸信息绑定。In a possible implementation manner, the reference biometric information of the primary user may include reference voiceprint information and reference face information. The reference biometric information of the authorized user may only include reference voiceprint information. The speaker 100 can bind the reference voiceprint information of the authorized user with the reference face information of the main user.
其中,主用户在利用生物信息进行验证时,可以通过主用户的声纹信息和人脸信息来完成验证。而授权用户在利用生物信息进行验证时,除了需要通过授权用户的声纹信息进行验证,还需要通过主用户的人脸信息来完成验证。也即是说,若音箱100检测到录入的声纹信息与授权用户的参考声纹信息匹配,音箱100可以进一步提示需要录入主用户的人脸信息以完成验证。这样,在主用户授权的情况下,授权用户可以利用自己的声纹信息进行验证,从而在音箱100上收听付费音频资源。并且,主用户授权还可以有效防止授权用户滥用权限,过度消费与音箱100绑定的账号所关联的支付账户。Wherein, when the main user uses biometric information for verification, the verification can be completed through the main user's voiceprint information and face information. When an authorized user uses biometric information for verification, in addition to the authorized user's voiceprint information for verification, it also needs to complete the verification through the main user's face information. That is to say, if the speaker 100 detects that the entered voiceprint information matches the reference voiceprint information of the authorized user, the speaker 100 may further prompt that the face information of the main user needs to be entered to complete the verification. In this way, in the case of authorization by the main user, the authorized user can use his own voiceprint information for verification, so as to listen to paid audio resources on the speaker 100 . Moreover, the main user authorization can also effectively prevent the authorized user from abusing the authority and over-consuming the payment account associated with the account bound to the speaker 100 .
下面介绍本申请实施例提供的第一用户授权第二用户在音箱100上建立参考生物信息的场景示意图。The following describes a schematic diagram of a scenario in which a first user authorizes a second user to create reference biological information on the speaker 100 provided by the embodiment of the present application.
图6A~图6F示例性示出了第一用户授权第二用户在音箱100上建立参考生物信息的场景示意图。FIGS. 6A to 6F exemplarily show schematic diagrams of scenarios in which the first user authorizes the second user to establish reference biological information on the sound box 100 .
其中,电子设备200的音箱APP中登录有第一账号,即账号名为“李明”的账号。音箱100与该第一账号绑定。第一用户可以为前述实施例中与该第一账号关联的主用户。第二用户可以为前述实施例中与该第一账号关联的授权用户。Wherein, the speaker APP of the electronic device 200 has a first account registered in the speaker APP, that is, an account whose account name is "Li Ming". The speaker 100 is bound to the first account. The first user may be the primary user associated with the first account in the foregoing embodiment. The second user may be an authorized user associated with the first account in the foregoing embodiment.
第一用户录入参考生物信息的实现过程可以参考前述图2A~图2I所示的实施例。当音箱100成功录入第一用户的参考生物信息,电子设备200可以显示如图6A所示的用户界面230。用户界面230可包含生物信息列表233。生物信息列表233可用于指示音箱100中录入的参考生物信息。例如,名称为“用户1”的参考生物信息233A。其中,该名称为“用户1”的参考生物信息即为第一用户的参考生物信息。由于这一参考生物信息是在音箱100未存储有与第一用户关联的参考生物信息的情况下,音箱100建立的与第一用户关联的参考生物信息,音箱100和电子设备200可以默认这一参考生物信息为与第一账号关联的主用户的参考生物信息。电子设备200可以在生物信息列表233中用提示文字“主用户”,来提示用户列表中的哪一个参考生物信息是主用户的参考生物信息。For the implementation process of the first user entering the reference biological information, reference may be made to the embodiments shown in the foregoing FIG. 2A to FIG. 2I . When the sound box 100 successfully records the reference biological information of the first user, the electronic device 200 may display the user interface 230 as shown in FIG. 6A . User interface 230 may include a list of biological information 233 . The biological information list 233 may be used to indicate reference biological information entered in the sound box 100 . For example, the reference biological information 233A named "User 1". The reference biological information named "user 1" is the reference biological information of the first user. Since this reference biological information is the reference biological information associated with the first user established by the speaker 100 under the condition that the speaker 100 does not store the reference biological information associated with the first user, the speaker 100 and the electronic device 200 can default to this reference biological information. The reference biometric information is the reference biometric information of the primary user associated with the first account. The electronic device 200 may use the prompt word "primary user" in the biological information list 233 to prompt the user which reference biological information in the list is the reference biological information of the primary user.
如图6B所示,响应于作用在图6A所示的新建生物信息选项232的用户操作,电子设备200可以在用户界面230上显示提示框234。该提示框234可用于提示用户在已经存在主用户 的参考生物信息的情况下,再次新建的生物信息在用于支付时需要主用户的授权。示例性的,提示框234中可包含提示语“该新建的生物信息将与主用户的生物信息绑定,利用该新建的生物信息进行支付时需要验证主用户的人脸信息,是否新建?”。提示框234中还可以包含确定按钮234A和取消按钮234B。该取消按钮234B可用于取消建立授权用户的参考生物信息。该确定按钮234A可用于确定建立授权用户的参考生物信息。As shown in FIG. 6B , in response to a user operation acting on the newly created biological information option 232 shown in FIG. 6A , the electronic device 200 may display a prompt box 234 on the user interface 230 . The prompt box 234 may be used to prompt the user that, when the reference biometric information of the primary user already exists, the biometric information newly created requires the authorization of the primary user when being used for payment. Exemplarily, the prompt box 234 may include the prompt "This newly created biometric information will be bound with the primary user's biometric information. When using the newly created biometric information to make payment, the facial information of the primary user needs to be verified. Do you want to create a new one?" . The prompt box 234 may also include an OK button 234A and a cancel button 234B. The cancel button 234B can be used to cancel the establishment of the authorized user's reference biometric information. The OK button 234A may be used to establish the reference biometric information of the authorized user.
响应于作用在确定的该按钮234A的用户操作,电子设备200可以进行支付账户的身份认证。对支付账户进行身份认证的实现过程可以参考前述图2D和图2E所示的实施例。当完成对支付账户的身份认证,电子设备200可以显示如图6C所示的用户界面240。用户界面240可包括提示框244。该提示框244可用于提示用户身份认证成功,以及进一步需要进行的操作。例如,提示框244中可包含提示语“认证成功!请继续完成声音录入”。In response to the user operation on the determined button 234A, the electronic device 200 may perform identity authentication of the payment account. For the implementation process of performing identity authentication on the payment account, reference may be made to the embodiments shown in the foregoing FIG. 2D and FIG. 2E . When the authentication of the payment account is completed, the electronic device 200 may display a user interface 240 as shown in FIG. 6C . User interface 240 may include prompt box 244 . The prompt box 244 can be used to prompt that the user identity authentication is successful and further operations that need to be performed. For example, the prompt box 244 may contain the prompt "authentication is successful! Please continue to complete the voice input".
进一步的,当上述支付账户的身份认证成功,电子设备200可以向音箱100发送用于指示录入授权用户的参考声纹信息的指令。Further, when the identity authentication of the payment account is successful, the electronic device 200 may send an instruction to the speaker 100 for instructing to enter the reference voiceprint information of the authorized user.
如图6D所示,当接收到来自电子设备200用于指示录入授权用户的参考声纹信息的指令,音箱100可以通过语音播报的方式提示用户录入声纹信息。例如,音箱100可以语音播报“请跟着我说以下验证词:小艺小艺”。第二用户(即授权用户)可以根据音箱100的语音提示说出验证词“小艺小艺”。As shown in FIG. 6D , when receiving an instruction from the electronic device 200 for instructing to enter the reference voiceprint information of the authorized user, the speaker 100 can prompt the user to enter the voiceprint information by way of voice broadcast. For example, the speaker 100 can voice broadcast "Please follow me and say the following verification word: Xiaoyi Xiaoyi". The second user (ie the authorized user) can say the verification word "Xiaoyi Xiaoyi" according to the voice prompt of the speaker 100 .
音箱100可以接收到第二用户说验证词时的语音输入,并从该语音输入中提取声纹信息。当得到声纹信息,音箱100可以将该声纹信息与安全模块中已经存储的参考声纹信息进行比较。若该声纹信息与已经存储的参考声纹信息中的一个声纹信息匹配,音箱100可以通过语音播报的方式来提示该用户的声纹信息已经存在。The speaker 100 can receive the voice input when the second user speaks the verification word, and extract voiceprint information from the voice input. When the voiceprint information is obtained, the speaker 100 can compare the voiceprint information with the reference voiceprint information already stored in the security module. If the voiceprint information matches one of the stored reference voiceprint information, the speaker 100 may prompt the user's voiceprint information to exist by means of voice broadcast.
若该声纹信息与已经存储的参考声纹信息均不匹配,音箱100可以将该声纹信息存储至安全模块,作为一个授权用户的参考声纹信息。并且,音箱100可以将该声纹信息与主用户的参考人脸信息绑定。进一步的,音箱100可以通过语音来提示主用户和授权用户已成功新建参考生物信息。例如,音箱100可以语音播报“声纹录入成功,您已新建生物信息”。If the voiceprint information does not match the stored reference voiceprint information, the speaker 100 may store the voiceprint information in the security module as the reference voiceprint information of an authorized user. Moreover, the speaker 100 can bind the voiceprint information with the reference face information of the main user. Further, the speaker 100 can prompt the main user and the authorized user by voice that the reference biological information has been successfully created. For example, the speaker 100 can voice broadcast "Voiceprint input is successful, you have created biometric information".
如图6F所示,当成功新建参考生物信息,音箱100可以向电子设备200发送用于指示参考生物信息新建成功的消息。进一步的,电子设备200可以在用户界面230的生物信息列表中显示新建参考生物信息的名称,例如名称为“用户2”的参考生物信息233B。As shown in FIG. 6F , when the reference biological information is successfully created, the speaker 100 may send a message to the electronic device 200 indicating that the reference biological information is successfully created. Further, the electronic device 200 may display the name of the newly created reference biological information in the biological information list of the user interface 230, for example, the reference biological information 233B named "User 2".
也即是说,第一用户可以在电子设备200上进行如图6A~图6C所示的操作。进一步的,音箱100可以通过语音播报的方式提示开始录入授权用户的声纹信息。当确定录入的声纹信息不存在与已存储的参考声纹信息中,音箱100可以将该声纹信息作为新的授权用户的参考声纹信息。这样,在利用音箱100收听付费资源并进行支付的过程中,第二用户可以利用自己的声纹信息进行验证,并在主用户的人脸信息授权通过的情况下,在音箱100上完成支付。That is to say, the first user can perform the operations shown in FIGS. 6A to 6C on the electronic device 200 . Further, the speaker 100 may prompt to start recording the voiceprint information of the authorized user through a voice broadcast. When it is determined that the entered voiceprint information does not exist in the stored reference voiceprint information, the speaker 100 can use the voiceprint information as the reference voiceprint information of the new authorized user. In this way, in the process of using the speaker 100 to listen to paid resources and make payment, the second user can use his own voiceprint information for verification, and complete the payment on the speaker 100 when the main user's face information is authorized.
在一种可能的实现方式中,在上述新建授权用户的参考声纹信息时,音箱100需要验证主用户的人脸信息。当主用户的人脸信息验证通过,音箱100可以确定录入的声纹信息是经过主用户授权的。这样,可以提高支付过程中本地验证的可靠性。In a possible implementation manner, when the above-mentioned reference voiceprint information of an authorized user is newly created, the speaker 100 needs to verify the face information of the main user. When the verification of the main user's face information is passed, the speaker 100 can determine that the entered voiceprint information is authorized by the main user. In this way, the reliability of local verification during the payment process can be improved.
具体的,音箱100可以先通过语音播报的方式提示授权用户录入声纹信息。具体过程如图6D所示。当声纹信息录入成功,音箱100可以通过语音播报的方式提示主用户录入人脸信息。例如,未配置有人脸采集装置的音箱100可以查找到并调用人脸采集设备300(即李明的电视)来采集人脸图像。然后,音箱100可以语音播报“新建生物信息需要主用户同意,请主用户将面部对准李明的电视的摄像头,并眨眨眼”。人脸采集设备300可以将采集得到的人脸图像加密后发送给音箱100。Specifically, the speaker 100 may first prompt the authorized user to input the voiceprint information by means of voice broadcast. The specific process is shown in Figure 6D. When the voiceprint information is successfully entered, the speaker 100 can prompt the main user to enter the face information by way of voice broadcast. For example, a speaker 100 without a face collecting device can find and call the face collecting device 300 (ie, Li Ming's TV) to collect a face image. Then, the speaker 100 can voice broadcast "The new biometric information needs the consent of the main user, the main user is asked to point his face at the camera of Li Ming's TV and wink". The face collection device 300 can encrypt the collected face image and send it to the speaker 100 .
进一步的,音箱100可以从得到的人脸图像中提取人脸信息并与已存储的主用户的参考人脸信息进行比较。若匹配,则主用户的人脸信息验证通过。音箱100可以将授权用户的参考声纹信息与主用户的参考人脸信息绑定。Further, the speaker 100 can extract the face information from the obtained face image and compare it with the stored reference face information of the main user. If it matches, the verification of the main user's face information is passed. The speaker 100 can bind the reference voiceprint information of the authorized user with the reference face information of the main user.
本申请实施例对上述主用户的参考生物信息和授权用户的参考生物信息的存储位置不作限定,除了上述音箱100中的安全模块,还可以为音箱100能够访问的云端存储空间等位置。This embodiment of the present application does not limit the storage location of the reference biometric information of the primary user and the reference biometric information of the authorized user. In addition to the security module in the speaker 100, it can also be a location such as a cloud storage space that the speaker 100 can access.
图7示例性示出了本申请实施例提供的一种第一用户授权第二用户在音箱100上建立参考生物信息的方法流程图。FIG. 7 exemplarily shows a flowchart of a method for a first user to authorize a second user to create reference biological information on the speaker box 100 according to an embodiment of the present application.
该方法可包括步骤S301~S306。其中:The method may include steps S301-S306. in:
音箱100与第一账号绑定。第一用户可以为前述实施例中与第一账号关联的主用户。第二用户可以为前述实施例中与第一账号关联的授权用户。音箱100的安全模块中存储有第一用户的第一生物信息(包含第一声纹信息和第一人脸信息)。该第一生物信息为前述实施例中的参考生物信息。The speaker 100 is bound to the first account. The first user may be the primary user associated with the first account in the foregoing embodiment. The second user may be an authorized user associated with the first account in the foregoing embodiment. The security module of the speaker 100 stores the first biological information of the first user (including the first voiceprint information and the first face information). The first biological information is the reference biological information in the foregoing embodiments.
S301、电子设备200接收到用于开启音箱APP,将电子设备200与音箱100配对,并建立音箱APP的第一账号与音箱的绑定关系的用户操作。S301. The electronic device 200 receives a user operation for opening the speaker APP, pairing the electronic device 200 with the speaker 100, and establishing a binding relationship between the first account of the speaker APP and the speaker.
S302、电子设备200与音箱100配对成功,音箱APP的第一账号与音箱100建立绑定关系。S302 , the electronic device 200 is successfully paired with the speaker 100 , and the first account of the speaker APP establishes a binding relationship with the speaker 100 .
上述步骤S301和步骤S302可以分别参考前述实施例中的步骤S101和步骤S102,这里不再赘述。For the above-mentioned steps S301 and S302, reference may be made to the steps S101 and S102 in the foregoing embodiments, respectively, which will not be repeated here.
S303、电子设备200接收到用于请求建立用于支付的第二生物信息的用户操作,并向音箱100发送建立用于支付的第二生物信息的请求。S303 , the electronic device 200 receives a user operation for requesting establishment of the second biometric information for payment, and sends a request for establishing the second biometric information for payment to the speaker 100 .
上述用于请求建立用于支付的第二生物信息的用户操作可以为前述图6A中作用在新建生物信息选项232的用户操作。该第二生物信息可以为授权用户的参考生物信息。该第二生物信息可以只包含参考声纹信息。The above-mentioned user operation for requesting establishment of the second biometric information for payment may be the user operation acting on the newly created biometric information option 232 in FIG. 6A . The second biological information may be the reference biological information of the authorized user. The second biological information may only include reference voiceprint information.
S304、音箱100录入第二用户的第二声纹信息。S304, the speaker 100 records the second voiceprint information of the second user.
S305、音箱100存储第二声纹信息,并将第二声纹信息与第一人脸信息绑定。S305, the speaker 100 stores the second voiceprint information, and binds the second voiceprint information with the first face information.
S306、音箱100向电子设备200发送用于指示第二生物信息建立成功的消息。S306 , the speaker 100 sends a message to the electronic device 200 for indicating that the second biological information is successfully established.
上述步骤S304~S306的具体过程可以参考前述图6D和图6E的实施例,这不再赘述。For the specific process of the foregoing steps S304 to S306, reference may be made to the foregoing embodiments in FIG. 6D and FIG. 6E , which will not be repeated here.
下面具体介绍本申请实施例提供的另一种音箱100通过结合声纹验证和人脸验证支付付费音频资源的场景示意图。The following specifically introduces a schematic diagram of another scenario in which the speaker 100 according to the embodiment of the present application pays for paid audio resources by combining voiceprint verification and face verification.
音箱100的安全模块中存储有第一用户的参考声纹信息和参考人脸信息,且存储有第二用户的参考声纹信息。其中第一用户的参考人脸信息既与第一用户的参考声纹信息绑定,也与第二用户的参考声纹信息绑定。The security module of the speaker 100 stores the reference voiceprint information and the reference face information of the first user, and stores the reference voiceprint information of the second user. The reference face information of the first user is bound not only with the reference voiceprint information of the first user, but also with the reference voiceprint information of the second user.
第一用户可以通过声纹验证和人脸验证的方式在音箱100上支付付费音频资源。第二用户可以通过声纹验证并在第一用户利用人脸验证进行授权的方式在音箱100上支付付费音频资源。The first user can pay for paid audio resources on the speaker 100 through voiceprint verification and face verification. The second user can pay for the paid audio resources on the speaker 100 through voiceprint verification and the first user authorizes using face verification.
具体的,如图8A所示,第二用户通过预设的唤醒词唤醒音箱100并下发播放音乐B的语音指令。其中,第二用户可以在音箱100的附近说出“小艺小艺,我要听音乐B”。Specifically, as shown in FIG. 8A , the second user wakes up the speaker 100 through a preset wake-up word and issues a voice instruction for playing music B. Among them, the second user can say "Xiaoyi Xiaoyi, I want to listen to music B" near the speaker 100 .
当检测到预设的唤醒词,音箱100可以唤醒应用处理器,识别并执行接收到的语音指令。响应于第二用户“听音乐B”的语音指令,音箱100可以从音乐服务器来获取音乐B的资源 并播放。并且,音箱100还可以语音播报“好的,为您播放音乐B”来响应第二用户的语音指令。When a preset wake-up word is detected, the speaker 100 can wake up the application processor to recognize and execute the received voice command. In response to the second user's voice instruction of "listen to music B", the speaker 100 can acquire and play the resources of music B from the music server. In addition, the speaker 100 can also voice broadcast "OK, play music B for you" in response to the second user's voice instruction.
若音乐B为付费资源,且第一账号(与音箱100绑定的账号)未购买过音乐B,上述音乐服务器可以向音箱100发送用于指示音乐B是付费音乐的消息。如图8B所示,当接收到用于指示音乐B是付费音乐的消息,音箱100可以语音播报“付费后可收听完整的音乐B,是否付费”,来提示第一用户需要付费才能收听音乐B。If the music B is a paid resource, and the first account (the account bound to the speaker 100 ) has not purchased the music B, the music server may send a message to the speaker 100 indicating that the music B is paid music. As shown in FIG. 8B , when receiving a message indicating that music B is paid music, the speaker 100 can voice broadcast “you can listen to the complete music B after payment, whether to pay or not” to prompt the first user to pay to listen to music B .
进一步的,第二用户可以在音箱100附近说“请帮助我完成支付”。当检测到语音指令“请帮助我完成支付”,音箱100可以开始进行声纹验证和人脸验证。具体的,如图8C所示,音箱100可以语音播报“好的,开始声纹验证。请跟着我说以下验证词:小艺小艺”,来提示第二用户录入声纹信息。第二用户可以根据音箱100的提示说出验证词“小艺小艺”。Further, the second user can say "please help me complete the payment" near the speaker 100 . When the voice command "please help me complete the payment" is detected, the speaker 100 can start to perform voiceprint verification and face verification. Specifically, as shown in FIG. 8C , the speaker 100 can voice broadcast "Okay, start the voiceprint verification. Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the second user to enter the voiceprint information. The second user can say the verification word "Xiaoyi Xiaoyi" according to the prompt of the speaker 100 .
音箱100可以接收第二用户在说上述验证词的语音输入,并从该语音输入中提取声纹信息。进一步的,音箱100可以将该声纹信息与存储的参考声纹信息进行比较,并确定出该声纹信息与第二用户的参考声纹信息匹配。也即音箱100可以确定声纹验证成功,并开始人脸验证。The speaker 100 can receive the voice input of the second user speaking the above verification word, and extract voiceprint information from the voice input. Further, the speaker 100 may compare the voiceprint information with the stored reference voiceprint information, and determine that the voiceprint information matches the reference voiceprint information of the second user. That is, the speaker 100 can determine that the voiceprint verification is successful, and start face verification.
如图8D所示,由于第二用户的参考声纹信息与主用户的参考人脸信息绑定,音箱100可以语音播报“声纹验证成功,需要进一步验证主用户的人脸,请主用户将面部对准李明的电视的摄像头,并眨眨眼”。其中,由于音箱100未配置有人脸采集装置,音箱100可以在声纹验证成功后,查找并调用附近可用的人脸采集设备来采集人脸图像。As shown in FIG. 8D , since the reference voiceprint information of the second user is bound to the reference face information of the main user, the speaker 100 can voice broadcast "Voiceprint verification is successful, and the face of the main user needs to be further verified. Face to the camera of Li Ming's TV and wink." Wherein, since the speaker 100 is not equipped with a face collection device, the speaker 100 can search for and call a nearby available face collection device to collect a face image after the voiceprint verification is successful.
音箱100查找到并调用人脸采集设备300(即李明的电视)来获取人脸信息的方式可以参考前述实施例,这里不再赘述。当得到上述人脸信息,音箱100可以将上述人脸信息与主用户(即第一用户)的参考人脸信息进行比较。若上述人脸信息与主用户的参考人脸信息匹配,则人脸验证成功。The manner in which the speaker 100 finds and invokes the face acquisition device 300 (ie, Li Ming's TV) to acquire the face information may refer to the foregoing embodiments, which will not be repeated here. When the above-mentioned face information is obtained, the speaker 100 can compare the above-mentioned face information with the reference face information of the main user (ie, the first user). If the above face information matches the reference face information of the main user, the face verification is successful.
当声纹验证和人脸验证均成功,音箱100可以完成支付账户的本地验证。进一步的,音箱100可以与支付账户的支付服务器进行验证。When both the voiceprint verification and the face verification are successful, the speaker 100 can complete the local verification of the payment account. Further, the speaker 100 can be authenticated with the payment server of the payment account.
音箱100与支付服务器之间的验证过程、支付服务器对支付账户进行扣款操作以及在支付成功后音乐服务器将音乐B的资源发送给音箱100的实现过程均可参考前述实施例,这里不再赘述。The verification process between the speaker 100 and the payment server, the payment server debiting the payment account, and the implementation process of the music server sending the resources of music B to the speaker 100 after successful payment can all refer to the foregoing embodiments, which will not be repeated here. .
如图8E所示,音箱100可以接收到支付服务器发送的用于指示支付成功的消息。然后,音箱100可以语音播报“人脸验证成功,您已成功购买音乐B,为您播放完整的音乐B”,来提示用户已支付成功。进一步的,音箱100可以播放从音乐服务器接收到的音乐B的资源。As shown in FIG. 8E , the speaker 100 may receive a message sent by the payment server to indicate that the payment is successful. Then, the speaker 100 can voice broadcast "face verification is successful, you have successfully purchased music B, and play the complete music B for you" to remind the user that the payment has been successful. Further, the speaker 100 can play the resource of music B received from the music server.
在一些实施例中,在登录音箱APP的账户是名称为“李明”的第一账号的情况下,音箱100可以与该第一账号绑定。其中,第一用户(即主用户)在生物信息验证成功后购买的音频资源、第二用户以及其他授权用户在生物信息验证成功后购买的音频资源均可属于上述第一账号购买的音频资源。提供上述音频资源的服务器可以记录该第一账号所购买的音频资源。也即是说,在第一账号中创建的任一个参考生物信息通过验证的情况下购买的音频资源,均可以在音箱100绑定的账号为该第一账号时播放。In some embodiments, when the account logged into the speaker APP is the first account named "Li Ming", the speaker 100 can be bound to the first account. The audio resources purchased by the first user (ie the primary user) after the biometric information verification is successful, and the audio resources purchased by the second user and other authorized users after the biometric information verification is successful can all belong to the audio resources purchased by the above-mentioned first account. The server providing the above audio resources may record the audio resources purchased by the first account. That is to say, the audio resources purchased under the condition that any reference biometric information created in the first account has passed the verification can be played when the account bound to the speaker 100 is the first account.
示例性的,音箱100当前绑定的账号为第一账号。在第一账号中已建立有第一用户的参考生物信息和第二用户的参考生物信息。第一用户可以通过自己的生物信息完成验证,并使得音箱100调用支付账户购买音乐A。第二用户可以通过自己的生物信息,在第一用户的授权下完成验证,并使得音箱100调用支付账户购买音乐B。那么音乐A和音乐B均可属于上述第一账号购买的音乐。第一用户通过语音指令指示音箱100播放音乐B时,可以无需再次 付费。同样的,第二用户通过语音指令指示音箱100播放音乐A时也可以无需再次付费。Exemplarily, the account currently bound to the speaker 100 is the first account. The reference biological information of the first user and the reference biological information of the second user have been established in the first account. The first user can complete the verification through his own biological information, and make the speaker 100 call the payment account to purchase the music A. The second user can complete the verification under the authorization of the first user through his biometric information, and make the speaker 100 call the payment account to purchase music B. Then, both music A and music B can belong to the music purchased by the above-mentioned first account. When the first user instructs the speaker 100 to play music B through a voice command, there is no need to pay again. Similarly, when the second user instructs the speaker 100 to play music A through a voice command, there is no need to pay again.
由图8A~图8E所示的场景可知,音箱100中可存储有主用户的参考生物信息(包括参考声纹信息和参考人脸信息)以及授权用户的参考生物信息(只包含参考声纹信息)。当授权用户的声纹信息验证通过后,再结合对主用户人脸信息的验证,音箱100即可调用支付账户支付付费音频。这样,不限于主用户通过声纹验证和人脸验证的方式完成支付,授权用户,例如主用户的家人和朋友等,也可在主用户授权的情况下通过声纹验证和人脸验证的方式完成支付。并且,由于与音箱100绑定的第一账号所关联的支付账户可以认为是主用户的支付账户,结合授权用户的声纹信息和主用户的人脸信息进行验证的方式可以在支付账户进行支付前由主用户进行确认,从而可以避免授权用户滥用权限,过度消费主用户的支付账户。As can be seen from the scenarios shown in FIGS. 8A to 8E , the speaker 100 can store the reference biometric information of the main user (including the reference voiceprint information and the reference face information) and the reference biometric information of the authorized user (including only the reference voiceprint information). ). After the authorized user's voiceprint information is verified, combined with the verification of the main user's face information, the speaker 100 can call the payment account to pay for the paid audio. In this way, it is not limited to the main user to complete the payment through voiceprint verification and face verification. Authorized users, such as the main user's family and friends, can also pass voiceprint verification and face verification under the authorization of the main user. Complete the payment. In addition, since the payment account associated with the first account bound to the speaker 100 can be considered as the payment account of the main user, the method of verifying the voiceprint information of the authorized user and the face information of the main user can make payment in the payment account. The main user must confirm before, so that the authorized user can avoid abuse of authority and excessive consumption of the main user's payment account.
下面结合上述图8A~图8E所示的场景,介绍本申请实施例提供的一种通过生物信息验证来验证用户身份的支付方法。The following describes a payment method for verifying a user's identity through biometric information verification provided by an embodiment of the present application in conjunction with the scenarios shown in FIGS. 8A to 8E .
图9示例性示出了一种支付方法的流程图。该方法可包括步骤S401~S409。其中:FIG. 9 exemplarily shows a flow chart of a payment method. The method may include steps S401-S409. in:
音箱100的安全模块中存储有第一用户的第一生物信息和第二用户的第二生物信息。该第一生物信息可包括第一声纹信息和第一人脸信息。该第一生物信息可以为前述实施例中第一用户的参考生物信息。该第二生物信息可只包括第二声纹信息。该第二生物信息可以为前述实施例中第二用户的参考生物信息。即第二声纹信息为前述实施例中第二用户的参考声纹信息。其中,第一用户可以为前述实施例中的主用户。第二用户可以为前述实施例中的授权用户。The security module of the speaker 100 stores the first biological information of the first user and the second biological information of the second user. The first biological information may include first voiceprint information and first face information. The first biological information may be the reference biological information of the first user in the foregoing embodiment. The second biological information may only include the second voiceprint information. The second biological information may be the reference biological information of the second user in the foregoing embodiment. That is, the second voiceprint information is the reference voiceprint information of the second user in the foregoing embodiment. The first user may be the main user in the foregoing embodiment. The second user may be the authorized user in the foregoing embodiment.
S401、音箱100与第一账号建立绑定关系。S401, the speaker 100 establishes a binding relationship with the first account.
S402、音箱100接收到唤醒音箱100、播放付费资源并请求付费的用户操作。S402, the speaker 100 receives a user operation of waking up the speaker 100, playing the paid resource, and requesting payment.
S403、音箱100录入第二用户的声纹信息。S403, the speaker 100 records the voiceprint information of the second user.
S404、音箱100验证步骤S403中录入的声纹信息,并确定该声纹信息与第二声纹信息匹配。S404. The speaker 100 verifies the voiceprint information entered in step S403, and determines that the voiceprint information matches the second voiceprint information.
S405、音箱100查找到并调用可用的人脸采集设备300。S405 , the speaker 100 finds and calls the available face collection device 300 .
S406、人脸采集设备300录入第一用户的人脸信息。S406, the face collection device 300 records the face information of the first user.
S407、人脸采集设备300对步骤S406中录入的人脸信息进行加密,并发送给音箱100。S407 , the face collection device 300 encrypts the face information entered in step S406 and sends it to the speaker 100 .
S408、音箱100对经过加密的人脸信息进行解密,并进行验证,确认该人脸信息与第一人脸信息匹配。S408, the speaker 100 decrypts the encrypted face information, and performs verification to confirm that the face information matches the first face information.
S409、音箱100调用与第一账号关联的支付账户支付付费资源。S409, the speaker 100 calls the payment account associated with the first account to pay for the payment resource.
上述步骤S401~S409的具体实现过程均可参考前述实施例,这里不再赘述。For the specific implementation process of the foregoing steps S401 to S409, reference may be made to the foregoing embodiments, which will not be repeated here.
在一种可能的实现方式中,上述第二生物信息中还可以包括第二人脸信息。该第二人脸信息可以为第二用户的人脸信息。该第二人脸信息可用于作为参考人脸信息来验证音箱100获取的人脸信息是否是第二用户的人脸信息。第二生物信息中的第二声纹信息可以与第二人脸信息绑定。也即是说,在音箱100结合声纹验证和人脸验证来支付付费音频的过程中,若第二用户(即授权用户)的声纹信息和人脸信息均验证通过,音箱100可以调用主用户的支付账户进行支付。这样,在主用户不在音箱100附近的场景中,授权用户也可以通过说出验证词以及利用自己的人脸信息来完成验证,进而收听付费音频资源。In a possible implementation manner, the above-mentioned second biological information may further include second face information. The second face information may be the face information of the second user. The second face information can be used as reference face information to verify whether the face information acquired by the speaker 100 is the face information of the second user. The second voiceprint information in the second biological information may be bound with the second face information. That is to say, when the speaker 100 combines voiceprint verification and face verification to pay for the paid audio, if both the voiceprint information and the face information of the second user (that is, the authorized user) are verified, the speaker 100 can call the main The payment account of the user makes the payment. In this way, in a scenario where the main user is not near the speaker 100, the authorized user can also complete the verification by speaking the verification word and using his own face information, and then listen to the paid audio resources.
下面具体介绍本申请实施例提供的另一种第一用户授权第二用户在音箱100上建立参考 生物信息的场景示意图。The following specifically introduces another schematic diagram of a scenario in which a first user authorizes a second user to create reference biological information on the speaker 100 provided in the embodiment of the present application.
第一用户可以为前述实施例中的主用户。第二用户可以为前述实施例中的授权用户。The first user may be the primary user in the foregoing embodiment. The second user may be the authorized user in the foregoing embodiment.
如图10A所示,生物信息列表中包含有名称为“用户1”的参考生物信息。该名称为“用户1”的参考生物信息可以表示主用户的参考生物信息。也即是说,音箱100的安全模块中存储有主用户的参考生物信息。As shown in FIG. 10A , the biological information list contains reference biological information named “User 1”. The reference biological information named "User 1" may represent the reference biological information of the main user. That is to say, the reference biological information of the main user is stored in the security module of the speaker 100 .
响应于作用在新建生物信息选项232的用户操作,电子设备200可以向音箱100发送用于指示建立新的授权用户的参考生物信息的指令。其中,在电子设备200发送上述用于指示建立新的授权用户的参考生物信息的指令之前,电子设备200可以先进行支付账户的身份认证。第一用户(即主用户)为该支付账户对应的用户。即第一用户知道该支付账户的密码。第一用户可以在图10B所示的用户界面240中输入该支付账户的密码,来完成支付账户的身份认证。当支付账户的身份认证成功,电子设备200可以认为第一用户同意建立授权用户的参考声纹信息。进而,音箱100可以开始录入声纹信息和人脸信息并分别作为新的授权用户的参考声纹信息和参考人脸信息。In response to a user operation acting on the new biometric information option 232 , the electronic device 200 may transmit an instruction to the sound box 100 for instructing to create a new authorized user's reference biometric information. Wherein, before the electronic device 200 sends the above-mentioned instruction for instructing the establishment of the reference biometric information of a new authorized user, the electronic device 200 may first perform identity authentication of the payment account. The first user (ie the main user) is the user corresponding to the payment account. That is, the first user knows the password of the payment account. The first user may input the password of the payment account in the user interface 240 shown in FIG. 10B to complete the identity authentication of the payment account. When the identity authentication of the payment account is successful, the electronic device 200 may consider that the first user agrees to establish the reference voiceprint information of the authorized user. Further, the speaker 100 can start to record the voiceprint information and the face information as the reference voiceprint information and the reference face information of the new authorized user, respectively.
电子设备200进行支付账户的身份认证的具体实现过程可以参考前述图2C~图2E所示的实施例,这里不再赘述。For the specific implementation process of the identity authentication of the payment account performed by the electronic device 200, reference may be made to the embodiments shown in the foregoing FIG. 2C to FIG. 2E , which will not be repeated here.
如图10C所示,当接收到指示建立新的授权用户的参考生物信息的指令,音箱100可以开始录入参考声纹信息。具体的,音箱100可以语音播报“请跟着我说以下验证词:小艺小艺”,来提示用户进行声纹录入。As shown in FIG. 10C , upon receiving an instruction instructing to create the reference biometric information of the new authorized user, the speaker 100 may start recording the reference voiceprint information. Specifically, the speaker 100 can voice broadcast "Please follow me and say the following verification word: Xiaoyi Xiaoyi" to prompt the user to perform voiceprint input.
当听到音箱100的语音提示,第二用户可以说出验证词“小艺小艺”。音箱100可以接收到第二用户说验证词时的语音输入,并从该语音输入中提取声纹信息。当得到声纹信息,音箱100可以将该声纹信息与安全模块中已经存储的参考声纹信息进行比较。若该声纹信息与已经存储的参考声纹信息中的一个声纹信息匹配,音箱100可以通过语音播报的方式来提示该用户的声纹信息已经存在。When hearing the voice prompt of the speaker 100, the second user can say the verification word "Xiaoyi Xiaoyi". The speaker 100 can receive the voice input when the second user speaks the verification word, and extract voiceprint information from the voice input. When the voiceprint information is obtained, the speaker 100 can compare the voiceprint information with the reference voiceprint information already stored in the security module. If the voiceprint information matches one of the stored reference voiceprint information, the speaker 100 may prompt the user's voiceprint information to exist by means of voice broadcast.
若该声纹信息与已经存储的参考声纹信息均不匹配,音箱100可以将该声纹信息存储至安全模块,作为一个授权用户的参考声纹信息。If the voiceprint information does not match the stored reference voiceprint information, the speaker 100 may store the voiceprint information in the security module as the reference voiceprint information of an authorized user.
当参考声纹信息录入成功,音箱100可以查找并调用附近配置有人脸采集装置的设备,来获取人脸信息。音箱100查找并调用配置有人脸采集装置的设备的具体方法可以参考前述实施例。示例性的,音箱100可以查找到并调用人脸采集设备300来获取人脸图像。该人脸采集设备300可以是名称为“李明的电视”的电视。人脸采集设备300可以包含人脸采集装置301。该人脸采集装置301可以例如是摄像头。When the reference voiceprint information is successfully entered, the speaker 100 can search for and call a nearby device configured with a face acquisition device to acquire face information. For a specific method for the speaker 100 to search for and call a device configured with a face acquisition device, reference may be made to the foregoing embodiments. Exemplarily, the speaker 100 may find and call the face acquisition device 300 to acquire a face image. The face collection device 300 may be a TV named "Li Ming's TV". The face collection device 300 may include a face collection apparatus 301 . The face collecting device 301 may be, for example, a camera.
如图10D所示,当查找到并调用人脸采集设备300,音箱100可以语音播报“声纹录入成功。请在李明的电视上完成人脸录入,请将您的面部对准李明的电视的摄像头,并眨眨眼”。第二用户可以根据音箱100的提示在人脸采集设备300上完成人脸录入。当采集到第二用户的人脸图像,人脸采集设备300可以将该人脸图像加密后发送给音箱100。As shown in Fig. 10D, when the face collection device 300 is found and called, the speaker 100 can voice broadcast "Voiceprint recording is successful. Please complete the face entry on Li Ming's TV, please point your face to Li Ming's TV's camera and wink". The second user can complete the face entry on the face collection device 300 according to the prompt of the speaker 100 . When the face image of the second user is collected, the face collection device 300 may encrypt the face image and send it to the speaker 100 .
进一步的,音箱100可以对经过加密的人脸图像进行解密,并从中提取人脸信息。然后,音箱100可以将该人脸信息存储至安全模块,作为参考人脸信息,并与在上述图10C所示场景中获取的参考声纹信息进行绑定。这样,音箱100可以完成录入新的授权用户的参考生物信息。其中,如图10E所示,音箱100可以语音播报“人脸录入成功,您已新建生物信息”,来提示用户新的授权用户的参考生物信息已经成功建立。Further, the speaker 100 can decrypt the encrypted face image, and extract face information therefrom. Then, the speaker 100 can store the face information in the security module as the reference face information, and bind it with the reference voiceprint information obtained in the above scenario shown in FIG. 10C . In this way, the speaker 100 can complete the input of the reference biometric information of the new authorized user. Among them, as shown in FIG. 10E , the speaker 100 can voice broadcast "face entry is successful, you have created biometric information" to remind the user that the reference biometric information of the new authorized user has been successfully created.
另外,音箱100还可以向电子设备200发送生物信息新建成功的消息。电子设备200可以显示如图6F所示的用户界面。即在生物信息列表233中增加新建生物信息的名称,例如“用 户2”。In addition, the speaker 100 may also send a message that the biometric information is successfully created to the electronic device 200 . The electronic device 200 may display a user interface as shown in FIG. 6F. That is, the name of the newly created biological information, such as "User 2", is added to the biological information list 233.
由图10A~图10E所示的场景可知,音箱100可以建立多个用户的参考生物信息。每个用户的参考生物信息均可包括自己的参考声纹信息和参考人脸信息。即在音箱100提示当前播放的音频为付费音频时,这多个用户中的每个用户均可以结合声纹验证和人脸验证的方式来使得音箱100调用支付账户进行支付,从而收听付费音频。其中,用于支付的支付账户可以为与音箱100绑定的账号所关联的支付账户。即在上述图10B中经过身份认证的支付账户。As can be seen from the scenarios shown in FIGS. 10A to 10E , the speaker 100 can establish reference biological information of multiple users. The reference biometric information of each user may include its own reference voiceprint information and reference face information. That is, when the speaker 100 prompts that the currently playing audio is paid audio, each of the multiple users can use the voiceprint verification and face verification to make the speaker 100 call the payment account for payment, thereby listening to the paid audio. The payment account used for payment may be the payment account associated with the account bound to the speaker 100 . That is, the payment account that has been authenticated in the above-mentioned FIG. 10B .
在一些实施例中,授权用户在音箱100中录入参考声纹信息和参考人脸信息之后,可以结合声纹验证和人脸验证的方式,在音箱100上调用支付账户支付付费音频资源。这样,在主用户不在音箱附近的场景下,授权用户也可以在音箱100上利用主用户的支付账户购买付费音频资源。In some embodiments, after the authorized user enters the reference voiceprint information and the reference face information in the speaker 100, the speaker 100 can call a payment account to pay for the paid audio resources by combining voiceprint verification and face verification. In this way, in a scenario where the main user is not near the speaker, the authorized user can also use the payment account of the main user to purchase paid audio resources on the speaker 100 .
下面具体介绍本申请实施例提供的另一种通过生物信息验证来验证用户身份的支付方法。The following specifically introduces another payment method for verifying user identity through biometric information verification provided by the embodiment of the present application.
如图11A所示,音箱100中可存储有第一用户(即主用户)的参考生物信息和第二用户(即授权用户)的参考生物信息。上述参考生物信息均包括参考声纹信息和参考人脸信息。As shown in FIG. 11A , the sound box 100 may store the reference biological information of the first user (ie the main user) and the reference biological information of the second user (ie the authorized user). The above-mentioned reference biological information includes reference voiceprint information and reference face information.
第二用户可以通过预设的唤醒词唤醒音箱100并下发播放音乐B的语音指令。其中,第二用户可以在音箱100的附近说出“小艺小艺,我要听音乐B”。上述音乐B为付费资源,且第一账号(与音箱100绑定的账号)未购买过音乐B。提供音乐B的资源的音乐服务器可以向音箱100发送用于指示音乐B是付费音乐的消息。The second user can wake up the speaker 100 through a preset wake-up word and issue a voice instruction for playing music B. Among them, the second user can say "Xiaoyi Xiaoyi, I want to listen to music B" near the speaker 100 . The above-mentioned music B is a paid resource, and the first account (the account bound to the speaker 100 ) has not purchased the music B. The music server providing the resource of music B may send a message to the speaker 100 indicating that music B is paid music.
如图11B所示,当接收到上述用于指示音乐B是付费音乐的消息,音箱100可以语音播报“付费后可收听完整的音乐B,是否付费”,来提示第一用户需要付费才能收听音乐B。进一步的,第二用户可以在音箱100附近说“请帮助我完成支付”。当检测到语音指令“请帮助我完成支付”,音箱100可以开始进行声纹验证和人脸验证。具体的,如图11C和图11D所示,音箱100可以获取第二用户的声纹信息以及人脸信息。上述音箱100获取第二用户的声纹信息以及人脸信息的方法可以参考前述实施例,这里不再赘述。As shown in FIG. 11B , when receiving the above-mentioned message indicating that the music B is paid music, the speaker 100 can voice broadcast “you can listen to the complete music B after paying, whether to pay” to remind the first user that the first user needs to pay to listen to the music B. Further, the second user can say "please help me complete the payment" near the speaker 100 . When the voice command "please help me complete the payment" is detected, the speaker 100 can start to perform voiceprint verification and face verification. Specifically, as shown in FIG. 11C and FIG. 11D , the speaker 100 can acquire voiceprint information and face information of the second user. For the method for acquiring the voiceprint information and face information of the second user by the speaker 100, reference may be made to the foregoing embodiments, which will not be repeated here.
当得到声纹信息和人脸信息,音箱100可以将该声纹信息与人脸信息分别与已存储的参考声纹信息和参考人脸信息进行比较。音箱100可以确定该声纹信息与人脸信息为第二用户的声纹信息和人脸信息。即声纹验证和人脸验证均成功。进一步的,音箱100可以调用与上述第一账号关联的支付账户购买音乐B。这样,第二用户可以在音箱100上收听音乐B。When the voiceprint information and the face information are obtained, the speaker 100 can compare the voiceprint information and the face information with the stored reference voiceprint information and the reference face information respectively. The speaker 100 can determine that the voiceprint information and the face information are the voiceprint information and the face information of the second user. That is, both voiceprint verification and face verification are successful. Further, the speaker 100 can call the payment account associated with the above-mentioned first account to purchase the music B. In this way, the second user can listen to music B on the speaker 100 .
在另一些实施例中,授权用户在音箱100中录入参考声纹信息和参考人脸信息之后,可以结合声纹验证和人脸验证以及主用户远程授权的方式,在音箱100上调用支付账户支付付费音频资源。In other embodiments, after the authorized user enters the reference voiceprint information and the reference face information in the speaker 100, the authorized user can call the payment account on the speaker 100 in combination with voiceprint verification, face verification and remote authorization by the main user. Paid audio resources.
上述主用户远程授权可以为:当音箱100检测到授权用户的声纹验证和人脸验证均成功,音箱100可以向电子设备200发送用于确认是否支付的消息。电子设备200可以在用户界面上显示上述用于确认是否支付的消息。进而,主用户可以通过电子设备200授权音箱100调用支付账户支付付费音频资源。这样,在主用户不在音箱附近的场景下,授权用户也可以完成声纹验证和人脸验证来请求音箱100调用支付账户支付付费音频资源。而结合上述主用户远程授权的方法则可以确保主用户的支付账户是在经过主用户同意后再进行扣款操作。这不仅简化了在音箱100上收听付费音频资源时进行付费的操作,而且提高了支付账户的安全性,并且有效避免授权用户过度消费主用户的支付账户。The above-mentioned main user remote authorization may be: when the speaker 100 detects that both the voiceprint verification and the face verification of the authorized user are successful, the speaker 100 may send a message to the electronic device 200 for confirming whether to pay. The electronic device 200 may display the above-mentioned message for confirming whether to pay on the user interface. Furthermore, the primary user may authorize the speaker 100 to call the payment account to pay for the paid audio resources through the electronic device 200 . In this way, in a scenario where the main user is not near the speaker, the authorized user can also complete voiceprint verification and face verification to request the speaker 100 to call the payment account to pay for the paid audio resources. In combination with the above-mentioned method of remote authorization of the main user, it can be ensured that the payment account of the main user is debited after the consent of the main user. This not only simplifies the operation of paying when listening to paid audio resources on the speaker 100, but also improves the security of the payment account, and effectively prevents the authorized user from over-consuming the payment account of the main user.
下面具体介绍本申请实施例提供的另一种通过生物信息验证来验证用户身份的支付方法。The following specifically introduces another payment method for verifying user identity through biometric information verification provided by the embodiment of the present application.
音箱100可以根据前述图11A~图11D所示的过程完成对第二用户(即授权用户)的声纹验证和人脸验证。当授权用户的声纹验证和人脸验证均成功,音箱100可以向电子设备200发送用于确认支付的消息。The speaker 100 can complete the voiceprint verification and face verification of the second user (ie, the authorized user) according to the processes shown in the aforementioned FIGS. 11A to 11D . When both the voiceprint verification and the face verification of the authorized user are successful, the speaker 100 may send a message for confirming the payment to the electronic device 200 .
如图12A所示,音箱100还可以语音播报“人脸验证成功,等待手机端确认”,来提示授权用户调用支付账户进行支付还需要由主用户确认。当接收到来自音箱100的用于确认支付的消息,电子设备200可以显示如图12B所示的用户界面250。用户界面250可包括消息通知框251。该消息通知框251可用于向用户确认是否同意音箱调用支付账户支付付费音频资源,例如购买音乐B。As shown in FIG. 12A , the speaker 100 can also voice broadcast “Face verification is successful, waiting for confirmation from the mobile terminal” to prompt the authorized user to call the payment account for payment, which needs to be confirmed by the main user. When receiving a message for confirming payment from the speaker 100, the electronic device 200 may display a user interface 250 as shown in FIG. 12B. The user interface 250 may include a message notification box 251 . The message notification box 251 may be used to confirm to the user whether the speaker agrees to call the payment account to pay for the paid audio resources, such as the purchase of music B.
响应于作用在消息通知框251上的用户操作,电子设备200可以开启音箱APP,显示如图12C的用户界面260。用户界面260可包括提示语261、确定按钮262和取消按钮263。其中:In response to a user operation acting on the message notification box 251, the electronic device 200 may open the speaker APP, and display the user interface 260 as shown in FIG. 12C. The user interface 260 may include a prompt 261 , an OK button 262 and a cancel button 263 . in:
提示语261可以为文字提示“用户2申请购买音乐B,是否购买”,来提示主用户名称为“用户2”(即前述第二用户)的用户申请购买音乐B。The prompt 261 may be a text prompt "User 2 applies to purchase music B, whether to purchase it", to prompt the user whose main user name is "User 2" (ie, the aforementioned second user) to apply for purchasing music B.
确定按钮262可用于同意名称为“用户2”的用户使用主用户的支付账户购买音乐B。The OK button 262 may be used to approve the purchase of Music B by the user named "User 2" using the primary user's payment account.
取消按钮263可用于拒绝名称为“用户2”的用户使用主用户的支付账户购买音乐B。Cancel button 263 may be used to deny the user named "User 2" the purchase of Music B using the primary user's payment account.
响应于作用在确定按钮262的用户操作,例如触摸操作,电子设备200可以向音箱100发送用于指示同意购买音乐B的消息。In response to a user operation, such as a touch operation, acting on the determination button 262 , the electronic device 200 may transmit a message indicating approval to purchase the music B to the speaker 100 .
进一步的,当接收到上述指示同意购买音乐B的消息,音箱100可以调用主用户的支付账户购买音乐B。当支付成功后,音箱100可以接收到音乐B的资源。如图12D所示,音箱100可以语音播报“手机端已确定,您已成功购买音乐B,为您播放完整的音乐B”。然后,音箱100可以播放音乐B。上述音箱100调用主用户的支付账户购买音乐B可以参考前述实施例,这里不再赘述。Further, when receiving the above-mentioned message indicating agreement to purchase music B, the speaker 100 can call the main user's payment account to purchase music B. When the payment is successful, the speaker 100 can receive the resources of music B. As shown in FIG. 12D , the speaker 100 can voice broadcast "The mobile terminal has been confirmed, you have successfully purchased music B, and the complete music B will be played for you". Then, the speaker 100 can play the music B. For the above-mentioned speaker 100 to call the main user's payment account to purchase music B, reference may be made to the foregoing embodiments, which will not be repeated here.
需要进行说明的是,不限于应用在图1所示的音箱100上,本申请实施例提供的生物信息验证方法还可以应用于其他电子设备。例如,电视、手机、平板、笔记本电脑、故事机等等。这些电子设备的结构可以参考图1所示的音箱100的结构示意图。不限于图1所示结构示意图中包含的模块,这些电子设备还可以包含更多或更少的模块。It should be noted that, it is not limited to be applied to the sound box 100 shown in FIG. 1 , and the biometric information verification method provided by the embodiments of the present application can also be applied to other electronic devices. For example, TV, mobile phone, tablet, laptop, story machine, etc. For the structures of these electronic devices, reference may be made to the schematic structural diagram of the sound box 100 shown in FIG. 1 . Not limited to the modules included in the schematic structural diagram shown in FIG. 1 , these electronic devices may also include more or less modules.
示例性的,在用户在电视上播放付费视频资源的场景中,配置有语音采集装置但未配置有人脸采集装置的电视可以根据前述实施例中的方法,录入用户的参考生物信息并在支付付费视频资源的过程中利用参考生物信息来验证用户身份。这样,未配置有人脸采集装置的电子设备可以结合声纹验证和人脸验证的方式进行支付过程中的身份验证。Exemplarily, in a scenario where a user plays a paid video resource on a TV, the TV equipped with a voice capture device but not configured with a face capture device can, according to the method in the foregoing embodiment, enter the user's reference biometric information and pay for it after payment. In the process of video resources, the reference biometric information is used to verify the user's identity. In this way, an electronic device without a face acquisition device can perform identity verification in the payment process by combining voiceprint verification and face verification.
或者,电视配置有语音采集装置和人脸采集装置。电视可以查找附近是否存在配置有配置更好的人脸采集装置的人脸采集设备。例如,电视配置有2D摄像头。在录入人脸信息时,若电视查找到附近存在配置有3D摄像头的人脸采集设备,电视可以调用配置有3D摄像头的人脸采集设备来得到人脸信息。利用配置更好的人脸采集装置可以提高支付过程中身份验证的可靠性。Alternatively, the TV is equipped with a voice collecting device and a face collecting device. The TV can find out if there is a nearby face capture device equipped with a better configured face capture device. For example, a TV is configured with a 2D camera. When entering face information, if the TV finds that there is a face collection device equipped with a 3D camera nearby, the TV can call the face collection device equipped with a 3D camera to obtain the face information. Utilizing a better-configured face capture device can improve the reliability of identity verification during the payment process.
在一些实施例中,电子设备配置有人脸采集装置但未配置有语音采集装置。即电子设备无法独立采集语音输入以得到声纹信息。与前述查找并调用附近人脸采集设备的方法相同,电子设备可以查找并调用附近配置有语音采集装置的设备来采集用户的语音输入,并得到声 纹信息。或者,电子设备未配置人脸采集装置和语音采集装置。电子设备可以查找并调用附近的人脸采集设备来采集人脸图像,得到人脸信息。并且,电子设备还可以查找并调用附近的语音采集装置来采集语音输入,得到声纹信息。In some embodiments, the electronic device is configured with a face capture device but not a voice capture device. That is, the electronic device cannot independently collect the voice input to obtain the voiceprint information. Similar to the aforementioned method of finding and calling a nearby face collection device, the electronic device can search for and call a nearby device equipped with a voice collection device to collect the user's voice input and obtain voiceprint information. Or, the electronic device is not equipped with a face collecting device and a voice collecting device. The electronic device can search for and call a nearby face collection device to collect face images and obtain face information. In addition, the electronic device can also search for and call a nearby voice collecting device to collect voice input to obtain voiceprint information.
由上述方法可知,在电子设备结合声纹验证和人脸验证进行支付过程中的身份验证时,电子设备可以不局限在同时配置有语音采集装置和人脸采集装置的电子设备中。未配置有语音采集装置和/或人脸采集装置的电子设备也可以实现结合声纹验证和人脸验证的方式对用户进行身份验证。It can be known from the above method that when the electronic device performs identity verification in the payment process in combination with voiceprint verification and face verification, the electronic device may not be limited to an electronic device configured with a voice capture device and a face capture device at the same time. An electronic device that is not equipped with a voice capture device and/or a face capture device can also implement user identity verification by combining voiceprint verification and face verification.
在一些实施例中,音箱100附近配置有人脸采集装置的设备为手机。则在录入参考人脸信息的过程中、在支付付费资源时进行人脸验证的过程中,音箱100可以调用手机上的人脸采集装置,例如摄像头,来得到人脸信息。由于手机的使用场合比较多,且手机一般配置有摄像头(如2D摄像头、3D摄像头、红外摄像头)等人脸采集装置,需要播放付费资源的电子设备可以在多种场合调用手机来得到人脸信息,进而进行人脸验证。例如,对于在外使用便携式音箱的场景,若便携式音箱播放付费资源,便携式音箱可以方便地查找到并调用用户的手机来得到人脸信息。In some embodiments, the device equipped with a face collecting device near the speaker 100 is a mobile phone. Then, in the process of inputting reference face information and in the process of face verification when paying for paid resources, the speaker 100 can call a face collection device on the mobile phone, such as a camera, to obtain the face information. Because mobile phones are used in many occasions, and mobile phones are generally equipped with face acquisition devices such as cameras (such as 2D cameras, 3D cameras, and infrared cameras), electronic devices that need to play paid resources can call mobile phones on various occasions to obtain face information. , and then perform face verification. For example, in the scenario of using a portable speaker outside, if the portable speaker plays paid resources, the portable speaker can easily find and call the user's mobile phone to obtain face information.
本申请实施例对上述参考生物信息中包含的内容不作具体限定。不限于包含声纹信息和人脸信息,参考生物信息还可以包含其他的数据。例如,指纹信息、骨声纹信息、虹膜信息等等。也即是说,音箱还可以指示用户在录入参考生物信息时录入更多的信息。The embodiments of the present application do not specifically limit the content contained in the above-mentioned reference biological information. Not limited to including voiceprint information and face information, the reference biometric information may also include other data. For example, fingerprint information, bone voiceprint information, iris information and so on. That is to say, the speaker can also instruct the user to enter more information when entering the reference biological information.
在本申请中,第一设备采集到第一生物信息。上述第一设备可以是前述实施例中的音箱100。上述第一设备还可以是其他请求获取付费资源的电子设备,例如电视、故事机等等。示例性的,第一设备为音箱100。第一设备配置有语音采集装置。上述第一生物信息可以是前述实施例中的声纹信息。In this application, the first device collects the first biological information. The above-mentioned first device may be the sound box 100 in the foregoing embodiment. The above-mentioned first device may also be other electronic devices that request to acquire paid resources, such as a TV, a story machine, and so on. Exemplarily, the first device is the speaker 100 . The first device is configured with a voice collection device. The above-mentioned first biological information may be the voiceprint information in the foregoing embodiments.
在本申请中,第一设备可以通过短距无线通信连接发现具有第二生物信息采集能力的第二设备。以第一设备为前述实施例中的音箱100为例进行说明。第二设备可以是前述实施例中的人脸采集设备300。人脸采集设备300配置有人脸采集装置。该人脸采集装置可以例如是2D摄像头、3D摄像头、红外摄像头和毫米波雷达等装置。上述第二生物信息可以为前述实施例中的人脸信息。上述短距无线通信连接可以例如是近场通信连接、蓝牙通信连接、WiFi通信连接、ZigBee通信连接、WLAN直连通信连接等。也即使说,第一设备可以查找到并调用自己附近的设备来得到人脸信息。In this application, the first device may discover the second device with the second biological information collection capability through the short-range wireless communication connection. The first device is taken as an example of the sound box 100 in the foregoing embodiment for description. The second device may be the face collection device 300 in the foregoing embodiment. The face collection device 300 is configured with a face collection device. The face collection device may be, for example, a 2D camera, a 3D camera, an infrared camera, a millimeter wave radar, and other devices. The above-mentioned second biological information may be the face information in the foregoing embodiments. The above-mentioned short-range wireless communication connection may be, for example, a near field communication connection, a Bluetooth communication connection, a WiFi communication connection, a ZigBee communication connection, a WLAN direct communication connection, and the like. In other words, the first device can find and call devices near itself to obtain face information.
在本申请中,第一设备可以预采集第一用户的第三生物信息,并调用第二设备预采集第一用户的第四生物信息。上述第三生物可以是前述实施例中第一用户的参考声纹信息。上述第四生物信息可以是前述实施例中第一用户的参考人脸信息。第三生物信息可以与第四生物信息绑定,且存储在前述实施例音箱100中的安全模块,或者存储在音箱100能够访问的云端存储空间。上述预采集第三生物信息和第四生物信息的具体方法可以参考前述图2A~图2I所示的实施例。In this application, the first device may pre-collect the third biological information of the first user, and call the second device to pre-collect the fourth biological information of the first user. The above-mentioned third creature may be the reference voiceprint information of the first user in the foregoing embodiment. The above-mentioned fourth biological information may be the reference face information of the first user in the foregoing embodiment. The third biological information may be bound with the fourth biological information, and stored in the security module of the speaker 100 in the foregoing embodiment, or stored in a cloud storage space that the speaker 100 can access. For the above-mentioned specific methods of pre-collecting the third biological information and the fourth biological information, reference may be made to the embodiments shown in the foregoing FIG. 2A to FIG. 2I .
若第一设备确定上述第一生物信息与上述第三生物信息匹配,且上述第二生物信息与上述第四生物信息匹配,则身份验证成功。即第一设备可以确定第一生物信息和第二生物信息对应的用户为上述第一用户。If the first device determines that the first biometric information matches the third biometric information, and the second biometric information matches the fourth biometric information, the identity verification is successful. That is, the first device may determine that the user corresponding to the first biological information and the second biological information is the above-mentioned first user.
当身份验证成功,第一设备可以向第一服务器发送第一消息。上述第一服务器可以为前 述实施例中的支付服务器。第一消息中可包含第一支付账户的标识信息和需要支付的付费资源的订单信息等内容。本申请实施例对上述第一消息中包含的内容不作限定。支付服务器可以根据第一消息对第一支付账户进行扣款。上述第一支付账户可以是与第一设备绑定的账号锁关联的支付账号。例如前述实施例中与账号名为“李明”的账号关联的用户。When the authentication is successful, the first device can send the first message to the first server. The above-mentioned first server may be the payment server in the foregoing embodiment. The first message may include identification information of the first payment account, order information of the paid resources to be paid, and the like. This embodiment of the present application does not limit the content included in the foregoing first message. The payment server may debit the first payment account according to the first message. The above-mentioned first payment account may be a payment account associated with an account lock bound to the first device. For example, the user associated with the account named "Li Ming" in the foregoing embodiment.
另外,支付服务器对第一支付账户进行扣款前,可以先对第一设备进行可信身份验证,来确定第一设备是可信设备。上述可信身份验证的方法可以参考前述实施例,这里不再赘述。In addition, before the payment server debits the first payment account, it may first perform trusted identity verification on the first device to determine that the first device is a trusted device. For the above-mentioned trusted identity verification method, reference may be made to the foregoing embodiments, which will not be repeated here.
当支付服务器对第一支付账户扣款成功,支付服务器可以向第二服务器发送支付成功的消息。进一步的,第二服务器可以将以第一设备绑定的账号作为身份标识时购买的付费资源发送给第一设备。上述第二服务器可以为内容服务器。内容服务器中可存储有第一设备请求获取的付费资源。该内容服务器可以例如是音乐服务器、视频服务器等。本申请实施例对上述内容服务器的类型不作限定。When the payment server successfully debits the first payment account, the payment server may send a payment success message to the second server. Further, the second server may send the paid resources purchased when the account bound to the first device is used as the identity identifier to the first device. The above-mentioned second server may be a content server. The content server may store the paid resources requested by the first device. The content server may be, for example, a music server, a video server, or the like. This embodiment of the present application does not limit the types of the foregoing content servers.
在本申请中,第一设备登录第二服务器上的第一账号。其中,上述第一账号即为前述实施例中与第一设备绑定的账号。例如,图2A所示账号名为“李明”的账号。第一设备与第一账号绑定的方法可以参考前述实施例。第一设备可以在内容服务器上登录第一账号。内容服务器中可存储有多个账号的标识。上述多个账号包括第一账号。内容服务器可以根据上述多个账号的标识确定各账号购买过的付费资源。当第一设备在第二服务器上登录第一账号,且向第二服务器获取第一内容,第二服务器可以确定第一账号未购买过该第一内容。进一步的,第二服务器可以向第一设备发送消息来提示第一设备获取第一内容需要付费。第二服务器还可以将该第一内容的价格信息发送给第一设备。In this application, the first device logs into the first account on the second server. The above-mentioned first account is the account bound to the first device in the foregoing embodiment. For example, the account name shown in FIG. 2A is an account named "Li Ming". For the method for binding the first device and the first account, reference may be made to the foregoing embodiments. The first device may log in to the first account on the content server. IDs of multiple accounts may be stored in the content server. The above-mentioned multiple accounts include a first account. The content server may determine the paid resources purchased by each account according to the identifiers of the above-mentioned multiple accounts. When the first device logs into the first account on the second server and obtains the first content from the second server, the second server may determine that the first account has not purchased the first content. Further, the second server may send a message to the first device to prompt the first device to pay for acquiring the first content. The second server may also send price information of the first content to the first device.
在本申请中,第一设备可以采集到第二用户的第五生物信息。其中,若第一设备为前述实施例中的音箱100,则上述第五生物信息可以是前述实施例中第二用户的参考声纹信息。第二用户可以在第一用户授权的情况下录入第五生物信息。具体实现过程可以参考前述图6A~图6C所示的实施例。上述第一用户可以为前述实施例中的主用户。上述第二用户可以为前述实施例中的授权用户。In this application, the first device may collect fifth biological information of the second user. Wherein, if the first device is the sound box 100 in the foregoing embodiment, the above-mentioned fifth biological information may be the reference voiceprint information of the second user in the foregoing embodiment. The second user may enter the fifth biometric information under the authorization of the first user. For a specific implementation process, reference may be made to the embodiments shown in the foregoing FIG. 6A to FIG. 6C . The above-mentioned first user may be the main user in the foregoing embodiment. The above-mentioned second user may be an authorized user in the foregoing embodiment.
在本申请中,第一设备可以采集到第六生物信息。该第六生物信息可以为前述实施例中的声纹信息。第一设备还可以调用第二采集第二生物信息。若第一设备确定第六生物信息与上述第五生物信息匹配,且第二生物信息与第四生物信息匹配,则身份验证成功。也即是说,在授权用户声纹信息验证成功的情况下,若主用户授权,则第一设备可以请求支付服务器对第一支付账户进行扣款。上述主用户授权可以表示第一设备对主用户的人脸信息验证成功。In this application, the first device may collect sixth biological information. The sixth biological information may be the voiceprint information in the foregoing embodiments. The first device may also call the second to collect the second biological information. If the first device determines that the sixth biological information matches the fifth biological information, and the second biological information matches the fourth biological information, the identity verification is successful. That is to say, in the case that the authentication of the voiceprint information of the authorized user is successful, if the primary user is authorized, the first device may request the payment server to debit the first payment account. The above-mentioned main user authorization may indicate that the first device successfully authenticates the face information of the main user.
在本申请中,第一设备可以采集到第二用户的第五生物信息,并调用第二设备采集第二用户的第七生物信息。上述第五生物信息可以参考前述实施例的介绍。上述第七生物信息可以为第二用户的参考人脸信息。即第一设备可以得到授权用户的参考声纹信息和参考人脸信息。In this application, the first device may collect the fifth biological information of the second user, and call the second device to collect the seventh biological information of the second user. For the above fifth biological information, reference may be made to the introduction of the foregoing embodiments. The above-mentioned seventh biological information may be the reference face information of the second user. That is, the first device can obtain the reference voiceprint information and the reference face information of the authorized user.
在本申请中,第二用户(即授权用户)可以利用自己的声纹信息和人脸信息进行身份验证。其中,第一设备可以采集第六生物信息,并调用第二设备采集第八生物信息。上述第六生物信息可以参考前述实施例的介绍。上述第八生物信息可以为人脸信息。若音箱100确定第五生物信息和第六生物信息匹配,且第七生物信息和第八生物信息匹配,则授权用户的身份验证成功。In this application, the second user (ie, the authorized user) can use his own voiceprint information and face information for identity verification. The first device may collect sixth biological information, and call the second device to collect eighth biological information. For the above-mentioned sixth biological information, reference may be made to the introduction of the foregoing embodiments. The above-mentioned eighth biological information may be face information. If the speaker 100 determines that the fifth biometric information matches the sixth biometric information, and the seventh biometric information matches the eighth biometric information, the authentication of the authorized user is successful.
由上述实施例可知,本申请实施例提供的生物信息验证方法可用于支付过程中的身份验证。不限于用于支付过程中的身份验证,上述生物信息验证方法还可用于其他场景中的身份 验证。例如,登录账号、获取权限等。It can be known from the above embodiments that the biometric information verification method provided by the embodiments of the present application can be used for identity verification in the payment process. Not limited to identity verification in the payment process, the above biometric information verification method can also be used for identity verification in other scenarios. For example, log in to an account, obtain permissions, etc.
其中,在音箱上收听付费音频资源需要进行付费时,音箱可结合声纹验证和人脸验证的方式来进行用户身份验证。在声纹验证和人脸验证均成功后,音箱可以请求支付服务器对支付账户扣款,从而支付付费音频资源。这简化了用户支付音箱上收听付费音频资源进行支付的操作。上述结合声纹验证和人脸验证的方式还可以提高支付过程的可靠性。并且,未配置有人脸采集装置的音箱可以通过调用附近配置有人脸采集装置的设备来完成人脸验证。即配置或者没有配置人脸采集装置的音箱均可以实现本申请实施例提供的支付方法,来简化用户支付付费音频资源的操作。Among them, when listening to paid audio resources on the speaker needs to be paid, the speaker can perform user identity verification by combining voiceprint verification and face verification. After both voiceprint verification and face verification are successful, the speaker can request the payment server to debit the payment account to pay for the paid audio resources. This simplifies the operation for users to pay for listening to paid audio resources on the speakers. The above method of combining voiceprint verification and face verification can also improve the reliability of the payment process. In addition, a speaker without a face collection device can complete face verification by calling a nearby device equipped with a face collection device. That is, a speaker configured with or without a face collection device can implement the payment method provided by the embodiment of the present application, so as to simplify the user's operation of paying for paid audio resources.
另外,主用户在音箱中录入了自己的参考声纹信息和参考人脸信息之后,还可以授权其他用户,例如自己的家人和朋友等,录入参考声纹信息和参考人脸信息。上述被授权的用户也可以结合声纹验证和人脸验证的方式来进行用户身份验证。在被授权的用户的身份验证成功后,音箱可以请求支付服务器从主用户的支付账户中扣款,从而支付付费音频资源。也即是说,不限于主用户,由主用户授权的用户也可以便捷地在音箱上完成支付付费音频资源的操作。In addition, after the main user has entered his own reference voiceprint information and reference face information in the speaker, he can also authorize other users, such as his family members and friends, to enter the reference voiceprint information and reference face information. The above-mentioned authorized users can also perform user identity verification by combining voiceprint verification and face verification. After the authentication of the authorized user is successful, the speaker can request the payment server to debit the payment account of the main user, thereby paying for the paid audio resource. That is to say, not limited to the main user, users authorized by the main user can also conveniently complete the operation of paying for the paid audio resources on the speaker.
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。As used in the above embodiments, the term "when" may be interpreted to mean "if" or "after" or "in response to determining..." or "in response to detecting..." depending on the context. Similarly, depending on the context, the phrases "in determining..." or "if detecting (the stated condition or event)" can be interpreted to mean "if determining..." or "in response to determining..." or "on detecting (the stated condition or event)" or "in response to the detection of (the stated condition or event)".
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。The above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (19)

  1. 一种生物信息验证方法,其特征在于,包括:A method for verifying biological information, comprising:
    第一设备采集到第一生物信息;The first device collects the first biological information;
    所述第一设备通过短距无线通信连接发现具有第二生物信息采集能力的第二设备;The first device discovers a second device with a second biological information collection capability through a short-range wireless communication connection;
    所述第一设备接收来自所述第二设备采集的所述第二生物信息,所述第二生物信息不同于所述第一生物信息;the first device receives the second biological information collected from the second device, the second biological information is different from the first biological information;
    所述第一设备确定所述第一生物信息与第三生物信息匹配,且所述第二生物信息与第四生物信息匹配;所述第三生物信息存储在所述第一设备中或者所述第一设备能够访问的云端存储空间,所述第三生物信息是所述第一设备预采集的第一用户的生物信息;所述第四生物信息存储在所述第一设备中或者所述第一设备能够访问的云端存储空间,所述第四生物信息是所述第二设备预采集的所述第一用户的生物信息。The first device determines that the first biological information matches the third biological information, and the second biological information matches the fourth biological information; the third biological information is stored in the first device or the The cloud storage space accessible by the first device, the third biometric information is the biometric information of the first user pre-collected by the first device; the fourth biometric information is stored in the first device or the first user A cloud storage space that can be accessed by a device, and the fourth biological information is the biological information of the first user pre-collected by the second device.
  2. 根据权利要求1所述的方法,其特征在于,所述第三生物信息用于确定所述第一设备得到的所述第一生物信息是否是所述第一用户的生物信息,所述第四生物信息用于确定所述第一设备得到的所述第二生物信息是否是所述第一用户的生物信息。The method according to claim 1, wherein the third biological information is used to determine whether the first biological information obtained by the first device is the biological information of the first user, and the fourth biological information is used to determine whether the first biological information obtained by the first device is the biological information of the first user. The biological information is used to determine whether the second biological information obtained by the first device is the biological information of the first user.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    所述第一设备向第一服务器发送第一消息;所述第一消息用于指示所述第一服务器对第一支付账户进行扣款,所述第一支付账户为所述第一用户的支付账户。The first device sends a first message to the first server; the first message is used to instruct the first server to debit a first payment account, where the first payment account is the payment of the first user account.
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备采集到第一生物信息之前,还包括:The method according to claim 3, wherein before the first device collects the first biological information, the method further comprises:
    所述第一设备登录第二服务器上的第一账号;所述第一账号为所述第一用户在所述第二服务器上的账号,所述第二服务器用于在所述第一服务器从所述第一支付账户中扣款成功后,向所述第一设备发送所述第一用户购买的内容;The first device logs in to the first account on the second server; the first account is the account of the first user on the second server, and the second server is used to log in from the first server from After successful deduction from the first payment account, send the content purchased by the first user to the first device;
    所述第一设备向所述第二服务器发送第一内容的获取请求;sending, by the first device, an acquisition request of the first content to the second server;
    所述第一设备接收所述第二服务器发送的所述第一内容的价格信息。The first device receives the price information of the first content sent by the second server.
  5. 根据权利要求4所述的方法,其特征在于,所述云端存储空间存储的上述第三生物信息和所述第四生物信息能够被多个设备访问,所述多个设备包括所述第一设备,所述多个设备在所述第二服务器上共享同一个账号,或者所述多个设备各自在所述第二服务器上的多个账号属于同一账号组;所述属于同一账号组表示所述同一账号组中的多个账号共享其中各账号在所述第二服务器中购买的内容。The method according to claim 4, wherein the third biological information and the fourth biological information stored in the cloud storage space can be accessed by multiple devices, and the multiple devices include the first device , the multiple devices share the same account on the second server, or the multiple accounts of the multiple devices on the second server belong to the same account group; the belonging to the same account group indicates that the Multiple accounts in the same account group share the content purchased by each account in the second server.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一设备为配置有语音采集装置的设备,所述第一生物信息、所述第三生物信息均为声纹信息。The method according to any one of claims 1-5, wherein the first device is a device configured with a voice collection device, and the first biometric information and the third biometric information are both voiceprints information.
  7. 根据权利要求6所述的方法,其特征在于,所述第二设备为配置有人脸采集装置的设备,所述第二生物信息、所述第四生物信息均为人脸信息。The method according to claim 6, wherein the second device is a device configured with a face collection device, and the second biological information and the fourth biological information are both human face information.
  8. 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一设备为配置有人脸采集装置的设备,所述第一生物信息、所述第三生物信息均为人脸信息。The method according to any one of claims 1-5, wherein the first device is a device configured with a face collection device, and the first biological information and the third biological information are both human face information .
  9. 根据权利要求8所述的方法,其特征在于,所述第二设备为配置有语音采集装置的设备,所述第二生物信息、所述第四生物信息均为声纹信息。The method according to claim 8, wherein the second device is a device configured with a voice collection device, and the second biometric information and the fourth biometric information are both voiceprint information.
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-9, wherein the method further comprises:
    所述第一设备采集到第二用户的第五生物信息;所述第五生物信息与所述第一生物信息是同一类型的生物信息,所述第五生物信息用于确定所述第一设备得到的生物信息是否是第二用户的生物信息,所述第五生物信息存储在所述第一设备中或者所述第一设备能够访问的云端存储空间,所述第五生物信息与所述第四生物信息绑定。The first device collects the fifth biological information of the second user; the fifth biological information and the first biological information are the same type of biological information, and the fifth biological information is used to determine the first device Whether the obtained biometric information is the biometric information of the second user, the fifth biometric information is stored in the first device or a cloud storage space accessible to the first device, and the fifth biometric information is the same as that of the first device. Four biological information binding.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method of claim 10, wherein the method further comprises:
    所述第一设备采集到第六生物信息,所述第六生物信息与所述第一生物信息是同一类型的生物信息;The first device collects sixth biological information, and the sixth biological information is the same type of biological information as the first biological information;
    所述第一设备接收来自所述第二设备采集的所述第二生物信息;the first device receives the second biological information collected from the second device;
    所述第一设备确定所述第六生物信息与所述第五生物信息匹配,且所述第三生物信息与所述第四生物信息匹配;the first device determines that the sixth biological information matches the fifth biological information, and the third biological information matches the fourth biological information;
    所述第一设备向所述第一服务器发送第二消息,所述第二消息用于指示所述第一服务器对第一支付账户进行扣款。The first device sends a second message to the first server, where the second message is used to instruct the first server to debit the first payment account.
  12. 根据权利要求1-9中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-9, wherein the method further comprises:
    所述第一设备采集到第二用户的第五生物信息;所述第五生物信息与所述第一生物信息是同一类型的生物信息,所述第五生物信息用于确定所述第一设备得到的生物信息是否是第二用户的生物信息,所述第五生物信息存储在所述第一设备中或者所述第一设备能够访问的云端存储空间;The first device collects the fifth biological information of the second user; the fifth biological information and the first biological information are the same type of biological information, and the fifth biological information is used to determine the first device Whether the obtained biological information is the biological information of the second user, the fifth biological information is stored in the first device or a cloud storage space accessible by the first device;
    所述第一设备接收来自所述第二设备采集的所述第二用户的第七生物信息;所述第七生物信息与所述第二生物信息是同一类型的生物信息,所述第七生物信息用于确定所述第一设备得到的生物信息是否是第二用户的生物信息,所述第七生物信息存储在所述第一设备中或者所述第一设备能够访问的云端存储空间;The first device receives seventh biological information of the second user collected from the second device; the seventh biological information and the second biological information are the same type of biological information, and the seventh biological information The information is used to determine whether the biological information obtained by the first device is the biological information of the second user, and the seventh biological information is stored in the first device or a cloud storage space accessible by the first device;
    其中,所述第五生物信息与所述第七生物信息绑定。Wherein, the fifth biological information is bound with the seventh biological information.
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:The method of claim 12, wherein the method further comprises:
    所述第一设备采集到第六生物信息,所述第六生物信息与所述第一生物信息是同一类型的生物信息;The first device collects sixth biological information, and the sixth biological information is the same type of biological information as the first biological information;
    所述第一设备接收来自所述第二设备采集的第八生物信息;所述第八生物信息与所述第二生物信息是同一类型的生物信息;The first device receives the eighth biological information collected from the second device; the eighth biological information and the second biological information are the same type of biological information;
    所述第一设备确定所述第六生物信息与所述第五生物信息匹配,且所述第八生物信息与所述第七生物信息匹配;The first device determines that the sixth biological information matches the fifth biological information, and the eighth biological information matches the seventh biological information;
    所述第一设备向所述第一服务器发送第二消息,所述第二消息用于指示所述第一服务器 对第一支付账户进行扣款。The first device sends a second message to the first server, where the second message is used to instruct the first server to debit the first payment account.
  14. 根据权利要求13所述的方法,其特征在于,所述第一设备向所述第一服务器发送第二消息之前,所述方法还包括:The method according to claim 13, wherein before the first device sends the second message to the first server, the method further comprises:
    所述第一设备向第三设备发送第三消息,并接收到来自所述第三设备的第四消息;所述第三设备是安装有用于控制所述第一设备的应用程序的设备,所述第三消息的指示内容显示在所述第三设备上,所述第三消息的指示内容包括询问所述第三设备是否同意所述第一设备发送所述第二消息,所述第四消息的指示内容包括所述第三设备同意所述第一设备发送所述第二消息。The first device sends a third message to a third device, and receives a fourth message from the third device; the third device is a device installed with an application program for controlling the first device, so The indication content of the third message is displayed on the third device, and the indication content of the third message includes asking the third device whether to allow the first device to send the second message, the fourth message The content of the indication includes that the third device agrees to the first device to send the second message.
  15. 根据权利要求1-14中任一项所述的方法,其特征在于,所述第一设备不具有采集所述第二生物信息的能力。The method according to any one of claims 1-14, wherein the first device does not have the capability of collecting the second biological information.
  16. 根据权利要求1-15中任一项所述的方法,其特征在于,所述短距无线通信连接为以下一种或多种:近场通信连接、蓝牙通信连接、WLAN直连通信连接、ZigBee通信连接。The method according to any one of claims 1-15, wherein the short-range wireless communication connection is one or more of the following: near field communication connection, Bluetooth communication connection, WLAN direct communication connection, ZigBee communication connection communication connection.
  17. 一种设备,所述设备为第一设备,其特征在于,所述第一设备包括:第一采集装置、通信装置、存储器和处理器,其中:A device, the device is a first device, wherein the first device comprises: a first collection device, a communication device, a memory and a processor, wherein:
    所述第一采集装置,用于采集第一生物信息;the first collection device, configured to collect first biological information;
    所述通信装置,用于所述第一设备通过无线通信连接发现具有第二生物信息采集能力的第二设备;所述第二设备包括第二采集装置,所述第二采集装置用于采集上述第二生物信息;The communication device is used for the first device to discover a second device with a second biological information collection capability through a wireless communication connection; the second device includes a second collection device, and the second collection device is used to collect the above-mentioned second biological information;
    所述通信装置,还用于接收来自所述第二采集装置采集的所述第二生物信息;The communication device is further configured to receive the second biological information collected from the second collection device;
    所述存储器,用于存储所述第一生物信息和所述第二生物信息,还用于存储计算机程序;the memory, for storing the first biological information and the second biological information, and for storing a computer program;
    所述处理器,用于调用所述计算机程序,使得所述第一设备执行权利要求1-16中任一项所述的方法。The processor is configured to invoke the computer program to cause the first device to execute the method of any one of claims 1-16.
  18. 一种计算机可读存储介质,其特征在于,包括:计算机指令,当所述计算机指令在设备上运行时,使得所述设备执行如权利要求1-16中任一项所述的方法。A computer-readable storage medium, comprising: computer instructions, which, when the computer instructions are executed on a device, cause the device to perform the method according to any one of claims 1-16.
  19. 一种计算机程序产品,其特征在于,当所述计算机程序产品在设备上运行时,使得所述设备执行如权利要求1-16中任一项所述的方法。A computer program product, characterized in that, when the computer program product is run on a device, the device is caused to perform the method according to any one of claims 1-16.
PCT/CN2021/117858 2020-09-30 2021-09-11 Biological information verification method and device WO2022068557A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011060748.2 2020-09-30
CN202011060748.2A CN114331448A (en) 2020-09-30 2020-09-30 Biological information verification method and device

Publications (1)

Publication Number Publication Date
WO2022068557A1 true WO2022068557A1 (en) 2022-04-07

Family

ID=80949630

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117858 WO2022068557A1 (en) 2020-09-30 2021-09-11 Biological information verification method and device

Country Status (2)

Country Link
CN (1) CN114331448A (en)
WO (1) WO2022068557A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114819980A (en) * 2022-07-04 2022-07-29 广州番禺职业技术学院 Payment transaction risk control method and device, electronic equipment and storage medium
CN115225326A (en) * 2022-06-17 2022-10-21 中国电信股份有限公司 Login verification method and device, electronic equipment and storage medium
CN116402510A (en) * 2023-04-14 2023-07-07 广东车卫士信息科技有限公司 Non-inductive payment method, medium and equipment based on high concurrency network service

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115271747B (en) * 2022-10-01 2023-09-15 北京晟邦知享科技发展有限公司 Safety verification method based on face and voice recognition

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106736A (en) * 2012-12-28 2013-05-15 华为软件技术有限公司 Identity authentication method, terminal and server
US20160234024A1 (en) * 2015-02-11 2016-08-11 Sensory, Incorporated Leveraging Multiple Biometrics For Enabling User Access To Security Metadata
CN106778189A (en) * 2017-03-23 2017-05-31 浙江宏森科技有限公司 A kind of method and apparatus for the control that conducted interviews to terminal
CN108288320A (en) * 2018-03-06 2018-07-17 西安艾润物联网技术服务有限责任公司 Vomitory veritifies method, system and the storage medium of personnel identity
CN109359982A (en) * 2018-09-02 2019-02-19 珠海横琴现联盛科技发展有限公司 In conjunction with the payment information confirmation method of face and Application on Voiceprint Recognition
CN111204698A (en) * 2020-02-27 2020-05-29 泉州市嘉鑫信息服务有限公司 Noninductive refueling system of filling station
US20200204548A1 (en) * 2019-07-18 2020-06-25 Alibaba Group Holding Limited Identity identification and preprocessing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106736A (en) * 2012-12-28 2013-05-15 华为软件技术有限公司 Identity authentication method, terminal and server
US20160234024A1 (en) * 2015-02-11 2016-08-11 Sensory, Incorporated Leveraging Multiple Biometrics For Enabling User Access To Security Metadata
CN106778189A (en) * 2017-03-23 2017-05-31 浙江宏森科技有限公司 A kind of method and apparatus for the control that conducted interviews to terminal
CN108288320A (en) * 2018-03-06 2018-07-17 西安艾润物联网技术服务有限责任公司 Vomitory veritifies method, system and the storage medium of personnel identity
CN109359982A (en) * 2018-09-02 2019-02-19 珠海横琴现联盛科技发展有限公司 In conjunction with the payment information confirmation method of face and Application on Voiceprint Recognition
US20200204548A1 (en) * 2019-07-18 2020-06-25 Alibaba Group Holding Limited Identity identification and preprocessing
CN111204698A (en) * 2020-02-27 2020-05-29 泉州市嘉鑫信息服务有限公司 Noninductive refueling system of filling station

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225326A (en) * 2022-06-17 2022-10-21 中国电信股份有限公司 Login verification method and device, electronic equipment and storage medium
CN114819980A (en) * 2022-07-04 2022-07-29 广州番禺职业技术学院 Payment transaction risk control method and device, electronic equipment and storage medium
CN116402510A (en) * 2023-04-14 2023-07-07 广东车卫士信息科技有限公司 Non-inductive payment method, medium and equipment based on high concurrency network service
CN116402510B (en) * 2023-04-14 2024-01-30 广东车卫士信息科技有限公司 Non-inductive payment method, medium and equipment based on high concurrency network service

Also Published As

Publication number Publication date
CN114331448A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
WO2022068557A1 (en) Biological information verification method and device
US20190304448A1 (en) Audio playback device and voice control method thereof
KR101960062B1 (en) Content Sharing Method and Device Thereof
US20110247013A1 (en) Method for Communicating Between Applications on an External Device and Vehicle Systems
JP2016541218A (en) Operation authorization method, operation authorization apparatus, program, and recording medium
KR20160120197A (en) Method and apparatus for setting smart device management account
WO2020042119A1 (en) Message transmission method and device
CN104350483A (en) Holistic identification of electronic device
CN112806067B (en) Voice switching method, electronic equipment and system
US11050737B2 (en) Techniques for verifying user intent and securely configuring computing devices
WO2021228174A1 (en) Information interaction method and apparatus, and electronic device
CN114827518A (en) Projection video conference system
WO2022052791A1 (en) Method for playing multimedia stream and electronic device
CN105207994A (en) Account number binding method and device
WO2020216160A1 (en) Automatic routing method for se, and electronic device
CN105791309A (en) Method, device and system for executing business processing
CN112585981A (en) Method for content playback with continuity and electronic device thereof
CN108876340B (en) Virtual asset transfer method and device based on biological characteristic recognition and storage medium
KR102308859B1 (en) Surrogate authentication service system and method based on biometric information
CN105306567B (en) Method and device for terminal connection
US20230156466A1 (en) Bluetooth Networking Method for Electronic Device and Related Device
WO2016124008A1 (en) Voice control method, apparatus and system
CN113365274A (en) Network access method and electronic equipment
CN106211156B (en) WiFi network connection method, device, terminal device and WiFi access point
CN105472765A (en) Method and device for controlling sound box connection

Legal Events

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

Ref document number: 21874218

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21874218

Country of ref document: EP

Kind code of ref document: A1