CN114596867A - Application login method and device based on voice assistant - Google Patents

Application login method and device based on voice assistant Download PDF

Info

Publication number
CN114596867A
CN114596867A CN202011399257.0A CN202011399257A CN114596867A CN 114596867 A CN114596867 A CN 114596867A CN 202011399257 A CN202011399257 A CN 202011399257A CN 114596867 A CN114596867 A CN 114596867A
Authority
CN
China
Prior art keywords
voice assistant
application
identity
target application
certificate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011399257.0A
Other languages
Chinese (zh)
Inventor
邱浚漾
赖燕燕
郭澍
刘宇昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011399257.0A priority Critical patent/CN114596867A/en
Publication of CN114596867A publication Critical patent/CN114596867A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/22Interactive procedures; Man-machine interfaces
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan

Abstract

The embodiment of the invention discloses an application login method and device based on a voice assistant, and aims to solve the problems of single and tedious application login mode in the prior art. The method comprises the following steps: receiving a first acquisition request sent by a voice assistant for identity credentials for logging in a target application; the first acquisition request comprises voice data related to the target application collected by the voice assistant; determining the communication number of the current communication card corresponding to the first acquisition request, and acquiring target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information; if the matching is passed, generating an identity certificate, and sending the identity certificate to the voice assistant; when a second acquisition request aiming at a number taking certificate for acquiring the communication number, which is sent by the target application, is received, sending the number taking certificate to the target application; the second acquisition request includes an identity credential. The effect of automatically logging in the application through interaction with the voice assistant and based on the verification of the voiceprint information is achieved.

Description

Application login method and device based on voice assistant
Technical Field
The invention relates to the technical field of data services, in particular to an application login method and device based on a voice assistant.
Background
Currently, a user can control an application in the same device to perform some basic operations, such as making a call, sending a short message, opening a browser, and the like, by using a voice assistant. The method mainly comprises the steps of intercepting and recognizing the received voice command through a voice recognition technology, starting a corresponding application according to a recognition result, and executing an operation corresponding to the recognition result in the application.
However, for some operations (for example, operations such as purchasing a product, sending and receiving a mail, and the like) that need to be completed after an account is registered in an application, if the application is currently in an unregistered state, it is necessary for a user to manually complete application registration and manually perform operations in the application.
Disclosure of Invention
The embodiment of the invention provides an application login method and device based on a voice assistant, and aims to solve the problems of single and tedious application login mode in the prior art.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an application login method based on a voice assistant, including:
receiving a first acquisition request sent by a voice assistant for identity credentials for logging in a target application; the first acquisition request comprises voice data collected by the voice assistant relating to the target application;
determining the communication number of the current communication card corresponding to the first acquisition request, and acquiring target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information;
if the matching is passed, generating the identity certificate, and sending the identity certificate to the voice assistant so that the voice assistant can utilize the identity certificate to request to log in the target application;
when a second acquisition request which is sent by the target application and aims at a number taking certificate for acquiring the communication number is received, the number taking certificate is sent to the target application, so that the target application acquires the communication number by using the number taking certificate and logs in by using the acquired communication number; the second acquisition request includes the identity credential.
In a second aspect, an embodiment of the present invention further provides an application login apparatus based on a voice assistant, including:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first acquisition request which is sent by a voice assistant and aims at identity credentials for logging in a target application; the first acquisition request comprises voice data collected by the voice assistant and related to the target application;
the first execution module is used for determining the communication number of the current communication card corresponding to the first acquisition request and acquiring the target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information;
the generating and sending module is used for generating the identity certificate and sending the identity certificate to the voice assistant if the matching is passed, so that the voice assistant can utilize the identity certificate to request to log in the target application;
the first sending module is used for sending the number taking certificate to the target application when receiving a second obtaining request which is sent by the target application and aims at the number taking certificate used for obtaining the communication number, so that the target application obtains the communication number by using the number taking certificate and logs in by using the obtained communication number; the second acquisition request includes the identity credential.
In a third aspect, an embodiment of the present invention further provides an application login device based on a voice assistant, including:
a memory storing computer program instructions;
a processor that when executed by the processor implements a voice assistant based application login method as described in the first aspect above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes instructions, and when the instructions are executed on a computer, the computer is caused to execute the voice assistant-based application login method according to the first aspect.
In the embodiment of the invention, the voice data related to the target application and collected by the voice assistant are matched with the target voiceprint information corresponding to the communication number corresponding to the current communication card, when the matching is passed, the identity voucher is generated, the identity voucher is sent to the voice assistant (so that the voice assistant requests to log in the target application by using the identity voucher), and when a second acquisition request which is sent by the target application and aims at the number taking voucher for acquiring the communication number and contains the identity voucher is received, the number taking voucher is sent to the target application, so that the target application acquires the communication number by using the number taking voucher and logs in by using the acquired communication number. The method and the device have the advantages that the effect of automatically logging in the application through interaction with the voice assistant and verification based on voiceprint information is achieved, so that the application login mode is not limited to a single and complex user manual login mode any more, the human-computer interaction experience feeling of controlling the application by using the voice assistant is improved, and the application control scene of the voice assistant is enriched. In addition, due to the unique characteristic of the voiceprint information of the user, when the automatic login application is realized based on the verification of the voiceprint information, the safety of the user related information (such as a communication number) according to the application login process can be ensured, and a trusted login bridge between the voice assistant and the application is established.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic block diagram of a voice assistant based application login system in one embodiment of the present invention.
FIG. 2 is a schematic flow chart of a method for logging in an application based on a voice assistant in an embodiment of the invention.
FIG. 3 is a schematic flow chart of a method for logging in an application based on a voice assistant in another embodiment of the present invention.
FIG. 4 is a schematic structural diagram of a voice assistant-based application login device according to an embodiment of the present invention.
FIG. 5 is a schematic structural diagram of a voice assistant-based application login device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic block diagram of a voice assistant based application login system in one embodiment of the present invention. The application login method based on the voice assistant provided by the embodiment of the invention can be applied to a voiceprint login SDK (Software Development Kit) server side in FIG. 1. As shown in FIG. 1, the application login system based on the voice assistant comprises the voice assistant, a voiceprint login SDK voice assistant end embedded in the voice assistant, a target application, a voiceprint login SDK application end embedded in the target application, a voiceprint login SDK service end and an operator service end.
In one embodiment, the voice assistant may send the second configuration information of the voice assistant to the voice login SDK server via the voice login SDK.
In one embodiment, the voiceprint login SDK server may receive second configuration information of the voice assistant sent by the voiceprint login SDK voice assistant, where the second configuration information may include information of a second application identifier, a second application package name, a second application source, and the like of the voice assistant, match the second configuration information with second pre-stored configuration information to determine whether the second pre-stored configuration information includes the second configuration information, acquire a communication number if it is determined that the second pre-stored configuration information includes the second configuration information, perform an encryption operation on the communication number to generate a pre-fetch number, and send the number pre-fetch to the voice assistant through the voiceprint login SDK voice assistant.
In one embodiment, the voice assistant may receive, through the voiceprint login SDK voice assistant, the pre-fetch number sent by the voiceprint login SDK server, and send, through the voiceprint login SDK voice assistant, a first acquisition request for the identity credential used to login the target application to the voiceprint login SDK server.
In one embodiment, the voiceprint login SDK server may receive a first acquisition request sent by a voice assistant through the voiceprint login SDK voice assistant, where the first acquisition request includes voice data collected by the voice assistant and related to a target application, determine a communication number of a current communication card corresponding to the first acquisition request, acquire target voiceprint information corresponding to the communication number of the current communication card according to a preset correspondence between each communication number and the voiceprint information, match the voice data with the target voiceprint information, generate an identity credential if the match is passed, store the identity credential in a first identity credential set, and send the identity credential to the voice assistant through the voiceprint login SDK voice assistant.
In one embodiment, the voice assistant may request to log on to the target application using the identity credential.
In one embodiment, the target application may send a second acquisition request for acquiring a number-taking certificate of the communication number to the voiceprint login SDK server through the voiceprint login SDK application terminal, where the second acquisition request includes an identity certificate and first configuration information of the target application, the first configuration information may include information such as a first application identifier, a first application package name, and a first application source, and the identity certificate carries a tag used for identifying information of a service life and a service condition.
In one embodiment, the voiceprint login SDK server may receive a second acquisition request sent by the target application through the voiceprint login SDK application, determine whether an identity credential carried in the second acquisition request is stored in the first identity credential set, check, if the identity credential carried in the second acquisition request is stored in the first identity credential set, usage information carried by the identity credential, if the usage information is not used, determine whether a sending time of the second acquisition request is within a usage period, if the sending time of the second acquisition request is within the usage period, determine that the identity credential passes the check, generate a number-taking credential, and match the first configuration information with the first pre-stored configuration information to determine whether the first pre-stored configuration information includes the first configuration information, if it is determined that the first pre-stored configuration information includes the first pre-stored configuration information, and logging in the SDK application end through the voiceprint and sending a number-taking certificate to the target application.
In one embodiment, the target application may receive a number-taking credential sent by the voiceprint login SDK server through the voiceprint login SDK application, and call a number-taking interface of the voiceprint login SDK application by using the number-taking credential, and send a number-taking request to the voiceprint login SDK server.
In one embodiment, the voiceprint login SDK server may, in response to the number fetching request, obtain a communication number corresponding to the number fetching credential from the operator server, and send the communication number to the target application through the voiceprint login SDK application.
In one embodiment, the target application may log in using the acquired communication number.
When receiving the second configuration information sent by the voice assistant, the voiceprint login SDK server can open a session process for application login and generate a corresponding session identifier, and all subsequent operations performed to implement application login are performed in the session process.
FIG. 2 is a schematic flow chart of a method for logging in an application based on a voice assistant in an embodiment of the invention. Applied to the voiceprint login SDK server shown in fig. 1, the method of fig. 2 may include:
s202, a first acquisition request which is sent by the voice assistant and aims at the identity credential used for logging in the target application is received, and the first acquisition request comprises voice data which is collected by the voice assistant and is related to the target application.
The voice data associated with the target application may be voice data containing instructions to perform operation(s) with the target application. For example, the voice assistant collects the voice data associated with the target application as: purchase item B from application a. Wherein the target application is application a.
S204, determining the communication number of the current communication card corresponding to the first acquisition request, and acquiring target voiceprint information corresponding to the communication number; and matching the voice data with the target voiceprint information.
And S206, if the matching is passed, generating the identity certificate, and sending the identity certificate to the voice assistant so that the voice assistant can utilize the identity certificate to request to log in the target application.
S208, when a second acquisition request aiming at the number taking certificate for acquiring the communication number, which is sent by the target application, is received, the number taking certificate is sent to the target application, and the second acquisition request comprises the identity certificate.
The target application can acquire the communication number by using the number-taking certificate and log in by using the acquired communication number.
In the embodiment of the invention, the voice data related to the target application and collected by the voice assistant are matched with the target voiceprint information corresponding to the communication number corresponding to the current communication card, when the matching is passed, the identity voucher is generated, the identity voucher is sent to the voice assistant (so that the voice assistant requests to log in the target application by using the identity voucher), and when a second acquisition request which is sent by the target application and aims at the number taking voucher for acquiring the communication number and contains the identity voucher is received, the number taking voucher is sent to the target application, so that the target application acquires the communication number by using the number taking voucher and logs in by using the acquired communication number. The method and the device have the advantages that the effect of automatically logging in the application through interaction with the voice assistant and verification based on voiceprint information is achieved, so that the application logging mode is not limited to a single and complex user manual logging mode, the human-computer interaction experience feeling of controlling the application by using the voice assistant is improved, and the application control scene of the voice assistant is enriched. In addition, due to the unique characteristic of the voiceprint information of the user, when the automatic login application is realized based on the verification of the voiceprint information, the safety of the user related information (such as a communication number) based on the application login process can be ensured, and a trusted login bridge between the voice assistant and the application is established.
In an embodiment, before receiving a first obtaining request for an identity credential used for logging in a target application, sent by a voice assistant, second configuration information sent by the voice assistant may be received, and the second configuration information is matched with second pre-stored configuration information to determine whether the second pre-stored configuration information includes the second configuration information, and if it is determined that the second pre-stored configuration information includes the second configuration information, a communication number is obtained.
The second configuration information includes information such as a second application identifier of the voice assistant, a second application package name, a second application source, and the like. And the second application identifier of the voice assistant is an identifier which is distributed and issued by the voice print login SDK server and is used for identifying the voice assistant after the voice assistant signs a contract with the voice print login SDK server. The second app package name of the voice assistant is the unique identification of the voice assistant, where one app package name only identifies one app. The second application source of the voice assistant is used to identify the operating system to which the voice assistant belongs. The second pre-stored configuration information is the configuration information of the voice assistant signed with the voiceprint login SDK server.
When the voice assistant sends the second configuration information, the gateway of the signal base station can identify the information of the communication card sending the second configuration information, and because each communication card has a unique code for identifying the card, and the operator service end stores the association relationship between each unique code and each communication number, the operator service end can obtain the information of the current communication card and match the information with the specific communication number by communicating with the gateway of the signal base station. Therefore, the determined communication number can be sent to the voiceprint login SDK server in response to the request for obtaining the communication number from the voiceprint login SDK server.
In this embodiment, by matching the second configuration information of the voice assistant with the second pre-stored configuration information, it may be determined whether the voice assistant is a service signing party of the voiceprint login SDK service end, and when the voice assistant is the service signing party of the voiceprint login SDK service end, the communication number is obtained from the service provider, so that the communication number can be obtained on the premise of ensuring that the voice assistant is a trusted application of the voiceprint login SDK service end, and the security of the interaction process is improved.
In one embodiment, after the communication number is obtained, an encryption operation may be performed on the communication number, a prefetch number may be generated, and the prefetch number may be sent to the voice assistant, so that the voice assistant sends a first obtaining request for the identity credential for logging in the target application when receiving the prefetch number.
Wherein, the encryption operation performed on the communication number can add a mask to the designated position of the communication number. For example, the encryption operation is performed on the communication number by adding a mask to the 4 th to 7 th bits of the communication number, and the communication number is: 12345678900, the number bits 123 x 8900 are prefetched. When the pre-fetch number is received for the first time, the voice assistant pops up a window "use 123 × 8900 … …", and after being authorized by the user, sends a first acquisition request for the identity credential for logging in the target application.
In this embodiment, the pre-fetch number is sent to the voice assistant, so that the voice assistant sends the first acquisition request for the identity credential used for logging in the target application based on the pre-fetch number, thereby ensuring the security of the communication number and improving the reliability of the interaction process.
In one embodiment, the target voiceprint information corresponding to the communication number of the current communication card can be obtained according to the preset corresponding relationship between each communication number and the voiceprint information.
When the second pre-stored configuration information is determined to contain the second configuration information of the voice assistant, the communication number is already acquired from the operator service end, so that the communication number of the current communication card corresponding to the first acquisition request can be directly determined for the operation of receiving the first acquisition request in the same session process.
The preset corresponding relation between each communication number and the voiceprint information is stored in an operator server, and the operator server sends the target voiceprint information to the voiceprint login SDK server according to an acquisition request of the voiceprint login SDK server for the target voiceprint information corresponding to the communication number of the current communication card, so that the voiceprint login SDK server matches the target voiceprint information with first voiceprint information extracted from voice data which is carried in the first acquisition request and is collected by a voice assistant and related to a target application.
In this embodiment, the target voiceprint information corresponding to the communication number of the current communication card is acquired through the preset corresponding relationship between each communication number and the voiceprint information, so that the accuracy of the acquired target voiceprint information can be ensured, and the accuracy of the subsequent matching result of the target voiceprint information and the voice data can be improved; in addition, the preset corresponding relation between each communication number and the voiceprint information is stored in the operator server, the corresponding voiceprint information can be obtained based on the communication numbers, the voiceprint information does not need to be registered for many times in different applications, the security of the voiceprint information is ensured, and the implementation mode is simple.
In one embodiment, the second acquisition request sent by the target application for acquiring the number-taking certificate of the communication number comprises the first configuration information of the target application. The first configuration information may include information such as a first application identifier, a first application package name, a first application source, etc. And the first application identifier of the target application is an identifier which is distributed and issued by the voiceprint login SDK server and is used for identifying the target application after the target application signs a contract with the voiceprint login SDK server. The first application package name of the target application is the unique identifier of the target application, wherein one application package name only identifies one application. A first application source of a target application is used to identify an operating system to which the target application belongs.
Before sending the number-taking voucher to the target application, the first configuration information and the first pre-stored configuration information can be matched to determine whether the first pre-stored configuration information contains the first configuration information, and when the first pre-stored configuration information contains the first configuration information, the step of sending the number-taking voucher to the target application is executed. The first pre-stored configuration information is configuration information of each application signed with a voiceprint login SDK server.
In this embodiment, before sending the number-taking voucher, matching the first configuration information of the target application with the first pre-stored configuration information, so as to determine whether the target application is a signed service party of the voiceprint login SDK server, and when the target application is the signed service party of the voiceprint login SDK server, executing the step of sending the number-taking voucher to the target application, thereby improving the security of the interaction process.
It should be noted that, besides the listed first pre-stored configuration information is configuration information of each application signed with the voiceprint login SDK server, and the second pre-stored configuration information is configuration information of a voice assistant signed with the voiceprint login SDK server, the first pre-stored configuration information and the second pre-stored configuration information may also be combined into pre-stored configuration information, where the pre-stored configuration information includes the voice assistant signed with the voiceprint login SDK server and configuration information of each application.
In one embodiment, after generating the identity credential, the identity credential may be stored to the first set of identity credentials. The identity voucher carries a tag for identifying the service life and the service condition information, and the first identity voucher set can be a storage type database. The usage period may be a usage expiration date and the usage information may be used or unused.
When the number-taking certificate is sent to the target application, whether the identity certificate carried in a second obtaining request aiming at the number-taking certificate for obtaining the communication number is stored in the first identity certificate set or not can be judged, if the identity certificate carried in the second obtaining request is determined to be stored in the first identity certificate set, the using condition information carried by the identity certificate is verified, if the using condition information is not used, whether the sending time of the second obtaining request is within the using period or not is judged, if the sending time of the second obtaining request is within the using period, the identity certificate is determined to be verified to be passed, the number-taking certificate is generated, and the number-taking certificate is sent to the target application.
In the embodiment, by verifying the identity certificate carried in the second acquisition request sent by the target application, the number-taking certificate is generated and sent to the target application when the identity certificate exists in the first identity certificate set, is in the service life and is not used, so that the reliability and the safety of the interaction process are improved; moreover, verification of both the voice assistant and the target application is realized based on the identity certificate, both the voice assistant and the target application can recognize the verification result, and the problem of data islands of authentication of both the voice assistant and the controlled application (target application) is solved.
In one embodiment, the voice assistant-based application login method may be applied to an electronic device that includes a voice assistant and a communication card. Such as cell phones, smart watches, etc. The following describes each implementation step in detail by taking the application login method based on the voice assistant applied to the mobile phone as an example. The communication card may be a Subscriber Identity Module (SIM) card, and the communication number may be a mobile phone number.
FIG. 3 is a schematic flow chart of a method for logging in an application based on a voice assistant in another embodiment of the present invention. Applied to the voice assistant-based application login system as shown in fig. 1, the method of fig. 3 may include:
s301, the voice assistant receives the voice data of the user.
The voice assistant can be started in advance according to the keywords which are spoken by the user to the mobile phone and used for waking up the voice assistant. When receiving the voice data of the user, the voice assistant can identify the voice data, and if the voice data has no content, the voice data is deleted to ensure the smooth execution of the subsequent operation.
S302, the voice assistant sends the second configuration information of the voice assistant to the voice print login SDK server through the voice print login SDK voice assistant terminal.
The second configuration information includes information such as a second application identifier of the voice assistant, a second application package name, a second application source, and the like.
S303, the voiceprint login SDK server receives second configuration information sent by the voice assistant, and matches the second configuration information with second pre-stored configuration information to determine whether the second pre-stored configuration information contains the second configuration information; if yes, go to S304; if not, go to step S322.
S304, the voiceprint login SDK server sends an acquisition request for acquiring the communication number of the current communication card to the operator server.
S305, the operator server responds to the request for acquiring the communication number, and sends the communication number to the voiceprint login SDK server.
S306, the voice print logging SDK server executes encryption operation on the communication number to generate a pre-fetching number, and the pre-fetching number is sent to the voice assistant through the voice print logging SDK voice assistant.
S307, the voice assistant receives the pre-fetching number through the voiceprint login SDK voice assistant end, and sends a first obtaining request aiming at the identity credential used for logging in the target application to the voiceprint login SDK server end through the voiceprint login SDK voice assistant end. The first acquisition request includes voice data collected by the voice assistant relating to the target application.
S308, the voiceprint login SDK server determines the communication number of the current communication card corresponding to the first acquisition request, and sends an acquisition request aiming at the target voiceprint information corresponding to the communication number to the operator server.
S309, the operator server side determines target voiceprint information corresponding to the communication number of the current communication card according to the corresponding relation between the preset communication numbers and the voiceprint information, and sends the target voiceprint information to the voiceprint login SDK server side.
S310, the voice print logging SDK server matches the voice data with the target voice print information; if the matching is passed, executing S311; if the match does not pass, S322 is performed.
S311, the voiceprint login SDK server generates an identity certificate, stores the identity certificate in a first identity certificate set, and sends the identity certificate to the voice assistant through the voiceprint login SDK voice assistant.
S312, the voice assistant requests to log in the target application by using the identity certificate.
S313, the target application sends a second acquisition request aiming at the number-taking certificate for acquiring the communication number to the voiceprint login SDK server through the voiceprint login SDK application terminal. The second acquisition request comprises an identity certificate and first configuration information of the target application, wherein the identity certificate carries a label used for identifying the service life and the service condition information.
The first configuration information may include information such as a first application identifier, a first application package name, and a first application source.
S314, the voiceprint login SDK server receives the second acquisition request, and matches the first configuration information with the first pre-stored configuration information to determine whether the first pre-stored configuration information contains the first configuration information; if yes, go to S315; if not, go to step S322.
S315, the voiceprint login SDK server judges whether the identity voucher carried in the second acquisition request is stored in the first identity voucher set or not; if yes, go to S316; if not, go to step S322.
S316, the voiceprint login SDK server side checks whether the service condition information carried by the identity certificate is unused; if yes, go to S317; if not, go to step S322.
S317, the voiceprint login SDK server judges whether the sending time of the second acquisition request is within the service life or not; if yes, go to S318; if not, go to step S322.
S318, the voiceprint login SDK server side determines that the identity certificate passes the verification, generates a number-taking certificate, and sends the number-taking certificate to the target application through the voiceprint login SDK application side.
And S319, the target application receives the number-taking certificate through the voiceprint login SDK application terminal, calls a number-taking interface of the voiceprint login SDK application terminal by using the number-taking certificate, and sends a number-taking request to the voiceprint login SDK server terminal.
And S320, the voiceprint login SDK server responds to the number fetching request, acquires the communication number corresponding to the number fetching certificate from the operator server, and sends the communication number to the target application through the voiceprint login SDK application terminal.
And S321, the target application logs in by using the acquired communication number.
S322, determining that the target application fails to log in.
The specific processes of S301 to S322 are described in detail in the above embodiments, and are not described herein again.
In addition, after the target application logs in by using the acquired communication number, the voice assistant can control the logged target application to complete richer control interaction according to the voice data. For example, according to historical order data in an account of the target application, a commodity of a specified category in voice data is recommended to the user (for example, a grape is recommended to the user if a record of purchasing grapes is retrieved according to historical order data of the account in the voice data for purchasing fruits), or high-quality audio and video specially shared by members is played based on the authority of the account of the user, and the like.
In the embodiment of the invention, the voice data related to the target application and collected by the voice assistant are matched with the target voiceprint information corresponding to the communication number corresponding to the current communication card, when the matching is passed, the identity voucher is generated, the identity voucher is sent to the voice assistant (so that the voice assistant requests to log in the target application by using the identity voucher), and when a second acquisition request which is sent by the target application and aims at the number taking voucher for acquiring the communication number and contains the identity voucher is received, the number taking voucher is sent to the target application, so that the target application acquires the communication number by using the number taking voucher and logs in by using the acquired communication number. The method and the device have the advantages that the effect of automatically logging in the application through interaction with the voice assistant and verification based on voiceprint information is achieved, so that the application login mode is not limited to a single and complex user manual login mode any more, the human-computer interaction experience feeling of controlling the application by using the voice assistant is improved, and the application control scene of the voice assistant is enriched. In addition, due to the unique characteristic of the voiceprint information of the user, when the automatic login application is realized based on the verification of the voiceprint information, the safety of the user related information (such as a communication number) based on the application login process can be ensured, and a trusted login bridge between the voice assistant and the application is established.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
FIG. 4 is a schematic structural diagram of a voice assistant-based application login device according to an embodiment of the present invention. Referring to FIG. 4, a voice assistant-based application login device may include:
a first receiving module 410, configured to receive a first obtaining request sent by the voice assistant for an identity credential used for logging in the target application; the first acquisition request comprises voice data related to the target application collected by the voice assistant;
the first execution module 420 is configured to determine a communication number of the current communication card corresponding to the first obtaining request, and obtain target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information;
the generating and sending module 430 is configured to generate the identity credential and send the identity credential to the voice assistant if the matching is passed, so that the voice assistant requests to log in the target application by using the identity credential;
the first sending module 440 is configured to send a number taking certificate to the target application when receiving a second obtaining request, sent by the target application, for the number taking certificate used for obtaining the communication number, so that the target application obtains the communication number by using the number taking certificate and logs in by using the obtained communication number; the second acquisition request includes an identity credential.
In one embodiment, the second acquisition request further includes first configuration information of the target application; the first configuration information comprises at least one of a first application identifier, a first application package name and a first application source;
the application login device based on the voice assistant further comprises:
the first matching module is used for matching the first configuration information with the first pre-stored configuration information so as to determine whether the first pre-stored configuration information contains the first configuration information;
and the second execution module is used for executing the step of sending the number-taking certificate to the target application if the number-taking certificate is received.
In one embodiment, the voice assistant-based application login device further comprises:
the storage module is used for storing the identity certificate to the first identity certificate set;
the transmitting module 440 includes:
the judging unit is used for judging whether the identity voucher carried in the second acquisition request is stored in the first identity voucher set or not;
and the execution unit is used for determining that the identity certificate passes the verification if the identity certificate passes the verification, generating a number taking certificate and sending the number taking certificate to the target application.
In one embodiment, the identity credential carries a tag identifying lifetime and usage information; the execution unit is specifically configured to:
if the identity certificate carried in the second acquisition request is stored in the first identity certificate set, checking the service condition information carried by the identity certificate;
if the service condition information is unused, judging whether the sending time of the second acquisition request is within the service life or not;
and if the sending time of the second acquisition request is within the service life, determining that the identity certificate passes the verification.
In one embodiment, the voice assistant-based application login device further comprises:
the second receiving module is used for receiving second configuration information sent by the voice assistant; the second configuration information includes at least one of a second application identification of the voice assistant, a second application package name, and a second application source;
the second matching module is used for matching the second configuration information with the second pre-stored configuration information so as to determine whether the second pre-stored configuration information contains the second configuration information;
and the acquisition module is used for acquiring the communication number if the communication number is the same as the communication number.
In one embodiment, the voice assistant-based application login device further comprises:
the generating module is used for executing encryption operation on the communication number and generating a prefetch number;
and the second sending module is used for sending the pre-fetching number to the voice assistant so that the voice assistant sends a first obtaining request aiming at the identity credential for logging in the target application when receiving the pre-fetching number.
In one embodiment, the first execution module 420 includes:
and the acquisition unit is used for acquiring target voiceprint information corresponding to the communication number of the current communication card according to the preset corresponding relation between each communication number and the voiceprint information.
The application login device based on the voice assistant provided by the embodiment of the invention can realize each process realized by the application login method based on the voice assistant in the above method embodiments, and in order to avoid repetition, the details are not repeated here.
In the embodiment of the invention, the voice data related to the target application and collected by the voice assistant are matched with the target voiceprint information corresponding to the communication number corresponding to the current communication card, when the matching is passed, the identity voucher is generated, the identity voucher is sent to the voice assistant (so that the voice assistant requests to log in the target application by using the identity voucher), and when a second acquisition request which is sent by the target application and aims at the number taking voucher for acquiring the communication number and contains the identity voucher is received, the number taking voucher is sent to the target application, so that the target application acquires the communication number by using the number taking voucher and logs in by using the acquired communication number. The method and the device have the advantages that the effect of automatically logging in the application through interaction with the voice assistant and verification based on voiceprint information is achieved, so that the application login mode is not limited to a single and complex user manual login mode any more, the human-computer interaction experience feeling of controlling the application by using the voice assistant is improved, and the application control scene of the voice assistant is enriched. In addition, due to the unique characteristic of the voiceprint information of the user, when the automatic login application is realized based on the verification of the voiceprint information, the safety of the user related information (such as a communication number) based on the application login process can be ensured, and a trusted login bridge between the voice assistant and the application is established.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an app login device based on a voice assistant according to an embodiment of the present invention, which can implement details of an app login method based on a voice assistant executed by the app login device based on a voice assistant according to the embodiment of the present invention, and achieve the same effects. As shown in FIG. 5, the voice assistant-based App Login device 500 comprises: a processor 501, a transceiver 502, a memory 503, a user interface 504, and a bus interface, wherein:
in the embodiment of the present invention, the voice assistant-based application login device 500 further includes: a computer program stored on a memory 503 and executable on a processor 501, the computer program when executed by the processor 501 implementing the steps of:
receiving a first acquisition request sent by a voice assistant for identity credentials for logging in a target application; the first acquisition request comprises voice data related to the target application collected by the voice assistant;
determining the communication number of the current communication card corresponding to the first acquisition request, and acquiring target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information;
if the matching is passed, generating an identity certificate, and sending the identity certificate to the voice assistant so that the voice assistant can utilize the identity certificate to request to log in the target application;
when a second acquisition request which is sent by the target application and aims at a number taking certificate for acquiring the communication number is received, sending the number taking certificate to the target application so that the target application acquires the communication number by using the number taking certificate and logs in by using the acquired communication number; the second acquisition request includes an identity credential.
In fig. 5, the bus architecture may include any number of interconnected buses and bridges, with one or more processors represented by processor 501 and various circuits of memory represented by memory 503 being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 502 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 504 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 501 is responsible for managing the bus architecture and general processing, and the memory 503 may store data used by the processor 501 in performing operations.
In the embodiment of the invention, the voice data related to the target application and collected by the voice assistant are matched with the target voiceprint information corresponding to the communication number corresponding to the current communication card, when the matching is passed, the identity voucher is generated, the identity voucher is sent to the voice assistant (so that the voice assistant requests to log in the target application by using the identity voucher), and when a second acquisition request which is sent by the target application and aims at the number taking voucher for acquiring the communication number and contains the identity voucher is received, the number taking voucher is sent to the target application, so that the target application acquires the communication number by using the number taking voucher and logs in by using the acquired communication number. The method and the device have the advantages that the effect of automatically logging in the application through interaction with the voice assistant and verification based on voiceprint information is achieved, so that the application login mode is not limited to a single and complex user manual login mode any more, the human-computer interaction experience feeling of controlling the application by using the voice assistant is improved, and the application control scene of the voice assistant is enriched. In addition, due to the unique characteristic of the voiceprint information of the user, when the automatic login application is realized based on the verification of the voiceprint information, the safety of the user related information (such as a communication number) based on the application login process can be ensured, and a trusted login bridge between the voice assistant and the application is established.
Preferably, an embodiment of the present invention further provides a voice assistant-based application login device, which includes a processor 501, a memory 503, and a computer program that is stored in the memory 503 and can be run on the processor 501, and when the computer program is executed by the processor 501, the computer program implements each process of the above-mentioned voice assistant-based application login method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned application login method embodiment based on a voice assistant, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for logging in an application based on a voice assistant is characterized by comprising the following steps:
receiving a first acquisition request sent by a voice assistant for the identity credential for logging in the target application; the first acquisition request comprises voice data collected by the voice assistant relating to the target application;
determining the communication number of the current communication card corresponding to the first acquisition request, and acquiring target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information;
if the matching is passed, generating the identity certificate, and sending the identity certificate to the voice assistant so that the voice assistant uses the identity certificate to request to log in the target application;
when a second acquisition request which is sent by the target application and aims at a number taking certificate for acquiring the communication number is received, the number taking certificate is sent to the target application, so that the target application acquires the communication number by using the number taking certificate and logs in by using the acquired communication number; the second acquisition request includes the identity credential.
2. The method of claim 1, wherein the second get request further comprises first configuration information of the target application; the first configuration information comprises at least one of a first application identifier, a first application package name and a first application source;
before sending the number-taking certificate to the target application, the method further comprises:
matching the first configuration information with first pre-stored configuration information to determine whether the first pre-stored configuration information contains the first configuration information;
and if so, executing the step of sending the number-taking voucher to the target application.
3. The method of claim 1, wherein after the generating the identity credential, the method further comprises:
storing the identity credential to a first set of identity credentials;
the sending the number-taking certificate to the target application comprises:
judging whether the identity voucher carried in the second acquisition request is stored in the first identity voucher set;
if yes, determining that the identity certificate passes verification, generating the number-taking certificate, and sending the number-taking certificate to the target application.
4. The method of claim 3, wherein the identity document carries a tag for identifying lifetime and usage information; if yes, determining that the identity certificate passes the verification, including:
if the identity certificate carried in the second acquisition request is stored in the first identity certificate set, checking the service condition information carried by the identity certificate;
if the service condition information is unused, judging whether the sending time of the second acquisition request is within the service life or not;
and if the sending time of the second acquisition request is within the service life, determining that the identity certificate passes the verification.
5. The method of claim 1, wherein prior to receiving a first acquisition request sent by a voice assistant for identity credentials for logging into a target application, the method further comprises:
receiving second configuration information sent by the voice assistant; the second configuration information comprises at least one of a second application identification, a second application package name, and a second application source of the voice assistant;
matching the second configuration information with second pre-stored configuration information to determine whether the second pre-stored configuration information contains the second configuration information;
and if so, acquiring the communication number.
6. The method of claim 5, wherein after obtaining the communication number, the method further comprises:
carrying out encryption operation on the communication number to generate a prefetch number;
sending the pre-fetch number to the voice assistant to cause the voice assistant to send the first get request for the identity credential to log in to the target application upon receiving the pre-fetch number.
7. The method according to claim 1, wherein the obtaining of the target voiceprint information corresponding to the communication number comprises:
and acquiring the target voiceprint information corresponding to the communication number of the current communication card according to the preset corresponding relation between each communication number and the voiceprint information.
8. A voice assistant-based application login device is characterized by comprising:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first acquisition request which is sent by a voice assistant and aims at identity credentials for logging in a target application; the first acquisition request comprises voice data collected by the voice assistant and related to the target application;
the first execution module is used for determining the communication number of the current communication card corresponding to the first acquisition request and acquiring the target voiceprint information corresponding to the communication number; matching the voice data with the target voiceprint information;
the generating and sending module is used for generating the identity certificate and sending the identity certificate to the voice assistant if the matching is passed, so that the voice assistant can utilize the identity certificate to request to log in the target application;
the first sending module is used for sending the number taking certificate to the target application when receiving a second obtaining request which is sent by the target application and aims at the number taking certificate used for obtaining the communication number, so that the target application obtains the communication number by using the number taking certificate and logs in by using the obtained communication number; the second acquisition request includes the identity credential.
9. A voice assistant-based application login device, comprising:
a memory storing computer program instructions;
a processor that when executed by the processor implements the voice assistant-based application login method of any of claims 1 to 7.
10. A computer-readable storage medium comprising instructions that when executed on a computer cause the computer to perform the voice assistant-based application login method of any one of claims 1-7.
CN202011399257.0A 2020-12-03 2020-12-03 Application login method and device based on voice assistant Pending CN114596867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011399257.0A CN114596867A (en) 2020-12-03 2020-12-03 Application login method and device based on voice assistant

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011399257.0A CN114596867A (en) 2020-12-03 2020-12-03 Application login method and device based on voice assistant

Publications (1)

Publication Number Publication Date
CN114596867A true CN114596867A (en) 2022-06-07

Family

ID=81811984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011399257.0A Pending CN114596867A (en) 2020-12-03 2020-12-03 Application login method and device based on voice assistant

Country Status (1)

Country Link
CN (1) CN114596867A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037368A (en) * 2011-09-29 2013-04-10 中国移动通信集团四川有限公司 Method, device and system for identity authentication
US20180197547A1 (en) * 2017-01-10 2018-07-12 Fujitsu Limited Identity verification method and apparatus based on voiceprint
CN112003829A (en) * 2020-07-28 2020-11-27 广州汽车集团股份有限公司 Method, device and system for noninductive login of vehicle account

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037368A (en) * 2011-09-29 2013-04-10 中国移动通信集团四川有限公司 Method, device and system for identity authentication
US20180197547A1 (en) * 2017-01-10 2018-07-12 Fujitsu Limited Identity verification method and apparatus based on voiceprint
CN112003829A (en) * 2020-07-28 2020-11-27 广州汽车集团股份有限公司 Method, device and system for noninductive login of vehicle account

Similar Documents

Publication Publication Date Title
US20190259390A1 (en) Voice recognition system and methods
CN106487762B (en) user identity recognition method, identity recognition application client and server
US9373110B2 (en) Information processing apparatus, information processing method, program, and information processing system
CN104270404B (en) A kind of login method and device based on terminal iidentification
CN107277153A (en) Method, device and server for providing voice service
CN107742069A (en) terminal control method, device and storage medium
JP2016529567A (en) Method, apparatus and system for verifying payment
US10936705B2 (en) Authentication method, electronic device, and computer-readable program medium
AU2011349110B2 (en) Voice authentication system and methods
CN113572789A (en) Secret-free login system and method for Internet of things intelligent equipment application
KR20130059999A (en) Authentication system and method based by voice
JP2003087860A (en) Method and system for personal identification in mobile communication, and personal identification device
CN114596867A (en) Application login method and device based on voice assistant
CN109150880B (en) Data transmission method, device and computer readable storage medium
CN110502885A (en) Identity identifying method, system, computer equipment and computer readable storage medium
CN111785280A (en) Identity authentication method and device, storage medium and electronic equipment
KR101498000B1 (en) System and method for managing patient management service in wireless communication network comprising patient management server node and communication service server node
JP3969153B2 (en) Terminal authentication system, terminal authentication device, and terminal authentication program
CN112992158A (en) Identity authentication method and equipment
CN114221921B (en) Instant messaging method, device, equipment and storage medium for mobile bank
US20230120373A1 (en) Strong authentication of a user of a communication terminal
KR20220037263A (en) Identification verification system and method that can check whether the mobile phone is in the principal's name based on IPIN-CI
KR102064678B1 (en) Method for user authentication by data verification
US20090137232A1 (en) Method and a system for providing information from a customer's bank account to his mobile phone
KR20210115179A (en) Method and device for cross athentication of voice communication service

Legal Events

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

Application publication date: 20220607