WO2022017152A1 - Resource transfer method and apparatus, computer device, and storage medium - Google Patents

Resource transfer method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2022017152A1
WO2022017152A1 PCT/CN2021/103977 CN2021103977W WO2022017152A1 WO 2022017152 A1 WO2022017152 A1 WO 2022017152A1 CN 2021103977 W CN2021103977 W CN 2021103977W WO 2022017152 A1 WO2022017152 A1 WO 2022017152A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource transfer
information
voice
element information
transfer element
Prior art date
Application number
PCT/CN2021/103977
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 WO2022017152A1 publication Critical patent/WO2022017152A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • GPHYSICS
    • G06COMPUTING; 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems

Definitions

  • the present application relates to the field of computer technology, and in particular, to a resource transfer method, apparatus, computer device and storage medium.
  • the user needs to log in to the resource transfer platform first, then manually find the resource transfer entry, then manually fill in the relevant information of the resource transfer, and finally manually enter the verification information using the traditional verification method (for example: SMS verification code, payment password and fingerprint, etc.) for authentication.
  • the traditional verification method for example: SMS verification code, payment password and fingerprint, etc.
  • This traditional method which requires manual operations for many times, makes the operation process of the entire resource transfer relatively cumbersome, resulting in a relatively low efficiency of resource transfer. Especially when the user holds a lot of things in his hand and it is inconvenient to perform repeated manual operations, it is even more inconvenient to complete such a resource transfer operation process.
  • a resource transfer method comprising:
  • an information confirmation prompt voice is generated and played; the information confirmation prompt voice is used to prompt the accuracy of the resource transfer element information to be confirmed;
  • the resource transfer process is performed according to the resource transfer element information.
  • performing intent analysis on the heard voice instruction to obtain resource transfer element information includes:
  • performing intent analysis on the intercepted voice instruction to obtain intent information includes:
  • performing intent analysis on the heard voice instruction to obtain resource transfer element information further includes:
  • an information supplementary prompt voice is generated and played; the information supplement prompt voice is used to prompt and supplement the missing resource transfer element information ;
  • the generating and playing an information confirmation prompt voice according to the resource transfer element information includes:
  • an information confirmation prompt voice is generated and played.
  • the receiving the resource transfer element information supplemented by the prompt voice in response to the information supplement includes:
  • the supplemented resource transfer element information is extracted.
  • the resource transfer element information extracted from the intention information includes a resource transfer type
  • the method further includes:
  • the receiving the resource transfer element information supplemented in response to the information supplementing prompt voice includes:
  • the obtaining is based on the resource transfer element information obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice, including:
  • the resource transfer object is the object to which the resource transfer value needs to be transferred.
  • the extracted resource transfer element information when the extracted resource transfer element information lacks resource transfer element information for resource transfer, generating an information supplementary prompt voice and playing it includes:
  • the first information supplementary prompt voice is synthesized and played; the first information supplementary prompt voice is used to prompt and supplement the missing resource transfer object.
  • the extracted resource transfer element information when the extracted resource transfer element information lacks resource transfer element information for resource transfer, generating an information supplementary prompt voice and playing it includes:
  • the second information supplementary prompt voice is synthesized and played; the second information supplementary prompt voice is used to prompt and supplement the missing resource transfer value.
  • the extracted resource transfer element information when the extracted resource transfer element information lacks resource transfer element information for resource transfer, generating an information supplementary prompt voice and playing it includes:
  • the third information supplementary prompt voice is synthesized and played; the third information supplementary prompt voice is used to prompt and supplement the missing resource transfer value and resource transfer object.
  • the verifying the resource transfer authority according to the voiceprint feature includes:
  • the method further includes:
  • the authority verification information input in the interactive interface is acquired, and after the authority verification information is verified, the resource transfer process is performed according to the resource transfer element information.
  • the resource transfer element information includes a resource transfer value and a resource transfer object
  • the performing resource transfer processing according to the resource transfer element information includes:
  • the resource transfer value specified in the resource transfer element information is transferred to the resource transfer object specified in the resource transfer element information.
  • a resource transfer device includes:
  • the listening module is used to listen to the voice instruction used to trigger the resource transfer process after detecting that the resource transfer application is opened;
  • an intent parsing module configured to perform intent parsing on the intercepted voice command to obtain resource transfer element information
  • the information confirmation module is used to generate and play the information confirmation prompt voice according to the resource transfer element information; the information confirmation prompt voice is used to prompt the accuracy confirmation of the resource transfer element information; The voice command entered later and used to confirm the resource transfer;
  • a verification module for extracting a voiceprint feature from at least one of the preceding voice instructions, and verifying the resource transfer authority according to the voiceprint feature
  • the resource transfer module is configured to perform resource transfer processing according to the resource transfer element information after the authority verification is passed.
  • a computer device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor causes the processor to execute the resource transfer methods described in the embodiments of the present application. A step of.
  • 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 processor causes the processor to execute the methods in the resource transfer methods described in the embodiments of the present application. step.
  • the above resource transfer method, device, computer equipment and storage medium after detecting that the resource transfer application is opened, listen to the voice command used to trigger the resource transfer process, perform intent analysis on the detected voice command, and obtain the resource transfer element Then, according to the resource transfer element information, the information confirmation prompt voice is generated and played, and the voice command input after the accuracy confirmation is passed and used for the resource transfer confirmation is received, and then the voice command is extracted from at least one previous voice command. According to the voiceprint feature, the resource transfer authority is verified. After the authority verification is passed, the resource transfer process is performed according to the resource transfer element information. The entire resource transfer process can be completed in the form of voice dialogue without manual operation, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer.
  • Fig. 1 is the application environment diagram of the resource transfer method in one embodiment
  • FIG. 2 is a schematic flowchart of a resource transfer method in one embodiment
  • FIG. 3 is a schematic flowchart of a resource transfer method in one embodiment
  • FIG. 4 is a structural block diagram of a resource transfer apparatus in an embodiment
  • FIG. 5 is a structural block diagram of a resource transfer apparatus in another embodiment
  • FIG. 6 is a diagram of the internal structure of a computer device in one embodiment.
  • the resource transfer method provided in this application can be applied to the application environment shown in FIG. 1 .
  • the user 102 instructs the terminal 104 to perform the resource transfer process by inputting a voice command by speaking.
  • the terminal 104 receives the voice command of the user 102, plays the voice to give an operational prompt to the user 102, and performs resource transfer processing according to the voice command.
  • the terminal 104 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices.
  • a resource transfer method is provided, and the method is applied to the terminal in FIG. 1 as an example for description, including the following steps:
  • the resource transfer application is an application for performing resource transfer processing and installed in the terminal.
  • the resource transfer process refers to the process of transferring resources. For example, payment, transfer or giving (for example, giving virtual gifts or virtual items such as red envelopes), etc.
  • the voice command is the command input by the user by speaking.
  • the terminal after detecting that the resource transfer application is opened, the terminal triggers and listens to the voice command for triggering the resource transfer process, and executes steps S204 and S204 until the voice command for triggering the resource transfer process is detected. Next steps.
  • the voice command used to trigger the resource transfer process may be a short command containing only the resource transfer type (for example: “I want to transfer”, “I want to pay”, “WeChat payment” or “Alipay payment” etc.), or it can be a long command that includes other resource transfer element information in addition to the resource transfer type (for example: “I want to transfer 5,000 yuan to Zhang San” or "I want to pay 4 yuan with WeChat", etc.).
  • the terminal when the user does not input a voice instruction for triggering the resource transfer process, but chooses to manually input information or obtain information by using the resource transfer graphic code, the terminal receives the resource manually input by the user or obtained by using the resource transfer graphic code
  • the transfer element information directly performs resource transfer processing according to the received resource transfer element information.
  • S204 Perform intent analysis on the detected voice command to obtain resource transfer element information.
  • the intent analysis is a process of analyzing the intent expressed in the voice command.
  • Resource transfer element information is information that must be specified for resource transfer processing.
  • the resource transfer element information may include at least one of a resource transfer type, a resource transfer object, and a resource transfer value.
  • the resource transfer element information may be represented in the form of a triple (resource transfer type, resource transfer object, resource transfer value).
  • the terminal may prompt the user to supplement Resource transfer element information, obtain the resource transfer element information supplemented by the user, and then perform step S206 and subsequent steps.
  • step S206 when the resource transfer element information for resource transfer is not lacking in the resource transfer element information obtained by performing intent analysis on the voice command used to trigger the resource transfer process, no supplementation is required. information, directly execute step S206 and subsequent steps.
  • the terminal performs speech synthesis according to the resource transfer element information, and generates an information confirmation prompt voice.
  • Speech synthesis is the conversion of text into speech.
  • the information confirmation prompt voice may include at least one of resource transfer element information and a prompt sentence for asking whether to confirm the resource transfer element information.
  • the information confirmation prompt voice can be "Do you confirm to transfer 5,000 yuan to Zhang San", where "Zhang San", “transfer” and "5,000 yuan” are the information of the resource transfer elements, and "do you confirm” is the use of Prompt statement for asking whether to confirm the resource transfer element information.
  • the resource transfer confirmation is to confirm that the resource transfer process is performed according to the resource transfer element information.
  • the user After hearing the information confirmation prompt voice played by the terminal, the user checks whether the resource transfer element information is accurate according to the resource transfer element information played in the information confirmation prompt voice. In one embodiment, when the user confirms that the resource transfer element information is correct, the user inputs a voice command for resource transfer confirmation by speaking, and the terminal receives the voice command input by the user for resource transfer confirmation.
  • the user when the user finds that the resource transfer element information is incorrect after checking, the user inputs a voice instruction for changing the resource transfer element information or for ending the resource transfer by speaking.
  • the terminal receives a voice instruction input by the user for modifying the resource transfer element information
  • the terminal performs the modification operation according to the user's instruction.
  • the terminal receives a voice instruction (such as "end” or "exit”, etc.) input by the user for ending resource transfer, it exits the resource transfer process.
  • the terminal does not receive the voice instruction input by the user within the preset time, the information confirmation prompt voice is played again to prompt the user to confirm the accuracy of the resource transfer element information.
  • the voice command used to confirm the resource transfer can be a voice command generated by the user's arbitrary speech (for example: “Yes, that's right", “Confirm payment” or “Confirm there is no problem", etc.),
  • the terminal performs intent analysis on the voice instruction and obtains that the voice instruction contains a confirmation intent, the terminal determines that the voice instruction for confirming the resource transfer has been received.
  • the terminal may play the message confirmation prompt voice to prompt the user what kind of voice command should be input to confirm the resource transfer.
  • the message confirmation prompt voice can be "Do you confirm to transfer 5,000 yuan to Zhang San, if you confirm, please say "Yes", if not, please say "No”".
  • the user confirms the prompt voice according to the information played by the terminal, and feeds back the specified voice command. For example, in the above example, when the user answers "yes", the terminal determines to receive a voice instruction for confirming the resource transfer.
  • the voiceprint feature is used to represent the characteristics of the voice of different speakers. That is, the voiceprint features of speech input by different speakers (ie, users) are different.
  • the preceding at least one voice command refers to at least one of the voice commands in all steps before this step, that is, all or part of the voice commands in all steps before this step.
  • the terminal can extract voiceprint features from at least one previous voice command, perform matching verification on the extracted voiceprint features, and perform sound authenticity detection on at least one previous voice command. After the pattern matching verification is passed and the sound authenticity test is passed, it is determined that the resource transfer authority verification is passed.
  • the previous voice command may include a voice command for triggering resource transfer processing and a voice command for performing resource transfer confirmation.
  • the previous voice instruction in addition to the voice instruction for triggering the resource transfer process and the voice instruction for performing resource transfer
  • voice instructions for supplementary information may also be included.
  • the preceding at least one voice command may be all or part of the voice commands in all steps before this step.
  • the terminal can only verify the resource transfer authority for any one of the three voice commands. It is understood that which voice command to choose can be set by the user , for example, the user sets to select the first voice command or the last voice command or other voice commands for verification, or the terminal randomly selects any voice command from all voice commands input by the user for verification. Or the terminal can perform resource transfer authority verification for any two voice commands among the three voice commands, and it can be understood that which two voice commands are selected can be set by the user, such as the user setting to select the first voice command and the last voice command.
  • One voice command is used for verification, or the terminal randomly selects two voice commands from all voice commands input by the user for verification. Or the terminal performs resource transfer authority verification for all voice commands in the three voice commands, that is, each voice command, so as to further improve the security in the resource transfer process.
  • the resource transfer element information may include a resource transfer type, a resource transfer object, and a resource transfer value. After the authority verification is passed, the terminal can transfer the resource transfer value to the resource transfer object according to the transfer method corresponding to the resource transfer type.
  • the voice command used to trigger the resource transfer process is listened to, and the intention analysis is performed on the detected voice command to obtain the resource transfer element information, and then according to the resource transfer element information, generate the information confirmation prompt voice and play it, receive the voice command input after the accuracy confirmation is passed and used for the confirmation of resource transfer, then extract the voiceprint feature from at least one previous voice command, and according to the voiceprint
  • the feature verifies the resource transfer authority, and after the authority verification is passed, the resource transfer process is performed according to the resource transfer element information.
  • the entire resource transfer process can be completed in the form of voice dialogue without manual operation, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer.
  • the resource transfer authority verification is performed on the preceding at least one voice command, which can ensure the security during the resource transfer process.
  • step S204 specifically includes the following steps: performing intent analysis on the detected voice instruction to obtain intent information; extracting resource transfer element information in the intent information; When the resource transfer element information of the resource transfer is performed, step S206 is executed according to the extracted resource transfer element information.
  • the intent information is the key information that can express the intent contained in the detected voice command. For example: keywords contained in the detected voice command.
  • the resource transfer element information for performing resource transfer is resource transfer element information necessary for resource transfer.
  • the terminal performs intent analysis on the detected voice command to obtain intent information, and then extracts resource transfer element information for resource transfer from the intent information. For example, if the resource transfer element information used for resource transfer is a triple (resource transfer type, resource transfer object, resource transfer value), then at least one of the resource transfer type, resource transfer object and resource transfer value is extracted from the intent information. A sort of.
  • the extracted resource transfer element information does not lack resource transfer element information for resource transfer (that is, the extracted resource transfer element information includes all resource transfer element information for resource transfer)
  • an information confirmation prompt voice is generated and played. For example: when the extracted resource transfer element information includes all of the resource transfer type, resource transfer object and resource transfer value, then according to the extracted resource transfer type, resource transfer object and resource transfer value, a message confirmation prompt voice is generated and played .
  • an information confirmation prompt voice is generated and played, which can be in the form of voice dialogue. , to quickly determine the information of resource transfer elements, so as to carry out resource transfer conveniently and improve the efficiency of resource transfer.
  • the step of performing intent analysis on the detected voice command to obtain the intent information specifically includes the following steps: performing speech recognition on the detected voice command to obtain corresponding text content; Language understanding processing, identifying the intent information expressed by the text content.
  • voice recognition is a process of recognizing voice data in voice commands as text content.
  • Natural language understanding processing is the processing of understanding the intention expressed by the text content.
  • the terminal can quickly and accurately obtain the intention information expressed by the voice command by performing voice recognition on the voice command, and then performing natural language processing on the recognized text content.
  • step S204 further includes the following steps: when the resource transfer element information for resource transfer is missing from the extracted resource transfer element information, an information supplementary prompt voice is generated and played; the information supplementary prompt voice is used for The prompt supplements the missing resource transfer element information; and the resource transfer element information supplemented in response to the information supplement prompt voice is received.
  • Step S206 specifically includes the following steps: according to the resource transfer element information extracted from the intention information and the supplemented resource transfer element information, generating an information confirmation prompt voice and playing it.
  • the terminal can synthesize the information to supplement the prompt voice and play it according to the missing resource transfer element information.
  • the resource transfer element information used for resource transfer is a triple (resource transfer type, resource transfer object, resource transfer value), assuming that the voice command used to trigger the resource transfer process is "I want to transfer", the The resource transfer element information extracted from the voice command only contains the resource transfer type of "transfer”, and the resource transfer object and resource transfer value are missing, and the terminal synthesizes the information used to prompt and supplement the missing resource transfer object and resource transfer value.
  • the supplementary prompt voice is played and played, for example, the information supplement prompt voice can be "please supplement the transfer object and transfer amount".
  • the user after hearing the information supplementation prompt voice played by the terminal, the user can input a voice instruction for supplementing information by speaking to supplement the missing resource transfer element information.
  • the terminal may receive a voice instruction for supplementary information input by the user.
  • the terminal can also display a resource transfer operation interface. After the user hears the information supplementary prompt voice played by the terminal, the user can supplement the missing resource transfer element information based on the resource transfer operation interface.
  • the terminal may receive the missing resource transfer element information supplemented by the user based on the resource transfer operation interface.
  • the terminal when the resource transfer element information obtained by the user in response to the information supplementation prompt voice is still lacking in the resource transfer element information used for resource transfer, the terminal generates the information supplement prompt voice again and plays it to The user is prompted to supplement the missing resource transfer element information until all the resource transfer element information used for resource transfer is completed.
  • the terminal when the resource transfer element information for resource transfer is missing from the extracted resource transfer element information, the terminal can intelligently prompt the user to supplement the missing resource transfer element information by voice, which improves the convenience of resource transfer. , thereby improving the efficiency of resource transfer.
  • the step of receiving the resource transfer element information supplemented in response to the information supplement prompt voice specifically includes the following steps: receiving a voice instruction for supplementing information input in response to the information supplement prompt voice; In the voice command of the information, the supplementary resource transfer element information is extracted.
  • the user can prompt the supplementary resource transfer element information according to the information supplement prompt voice, and input a voice instruction for supplementing the missing resource transfer element information by speaking.
  • the voice command input by the user for supplementing the information may be "Give Zhang San 5,000 yuan”.
  • the terminal receives the voice command for supplementary information input by the user in response to the information supplementary prompt voice, and then performs voice recognition on the voice command for supplementary information to obtain the corresponding text content, and then performs natural language understanding processing on the text content to recognize
  • the intent information expressed by the text content, and then the supplementary resource transfer element information is extracted from the intent information.
  • the resource transfer object extracted by the terminal from "Give Zhang San 5,000 yuan” is "Zhang San”
  • the resource transfer value is "1,000 yuan”.
  • the user can supplement the missing resource transfer element information by means of voice, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer.
  • the resource transfer element information extracted from the intent information includes the resource transfer type.
  • the method further includes: presenting a resource transfer operation interface corresponding to the resource transfer type.
  • the step of receiving the resource transfer element information supplemented in response to the information supplementation prompting voice includes: acquiring resource transfer element information based on the resource transfer operation interface obtained and prompted and supplemented by the information supplementary prompting voice.
  • the resource transfer type is used to represent the type of resource transfer processing.
  • the resource transfer operation interface is an interface for performing resource transfer operations.
  • the resource transfer type may include at least one of payment, transfer, and gifting of virtual items (virtual gifts or red envelopes, etc.).
  • the terminal may display a resource transfer operation interface corresponding to the resource transfer type according to the resource transfer type in the resource transfer element information extracted from the intention information.
  • the terminal may receive supplementary resource transfer element information manually input by the user based on the resource transfer operation interface.
  • the terminal may display the resource transfer graphic code, and obtain the resource transfer element information supplemented by the resource transfer object by scanning the resource transfer graphic code.
  • the terminal may display an interface for scanning the resource transfer graphic code, and obtain a resource transfer object for supplementing the interface based on scanning the resource transfer graphic code.
  • the terminal can display the resource transfer operation interface corresponding to the resource transfer type, and then obtain the supplementary resource transfer element information based on the resource transfer operation interface, which enables the user to supplement the resource transfer element information through voice commands.
  • resource transfer element information can be supplemented in more ways, which improves the flexibility of resource transfer operations.
  • the step of obtaining the resource transfer element information obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice specifically includes the following steps: receiving the resource transfer graphic code generation based on the resource transfer operation interface instruction to generate and display the resource transfer graphic code; obtain the resource transfer element information supplemented by the resource transfer object by scanning the resource transfer graphic code; the resource transfer object is the object to which the resource transfer value needs to be transferred.
  • the terminal may receive the resource transfer graphic code generation instruction input by the user based on the resource transfer operation interface, and generate and display the resource transfer graphic code.
  • the user can show the resource transfer graphic code displayed on the terminal to the resource transfer object, and the resource transfer object can scan the resource transfer graphic code to supplement the resource transfer element information (such as resource transfer object and resource transfer value) to the terminal.
  • the resource transfer graphic code may be a two-dimensional code or a barcode or other graphic identifier used to uniquely characterize the user's resource account.
  • the resource account is the account used to store the user's resources.
  • the terminal in addition to accepting the user's voice instruction, can also obtain supplementary resource transfer element information by displaying the resource transfer graphic code, which improves the flexibility of the resource transfer operation.
  • the step of generating and playing the information supplementary prompt voice specifically includes the following steps: when the extracted resource transfer element information is When the resource transfer object is missing in the resource transfer object, the first information supplementary prompt voice is synthesized and played; the first information supplementary prompt voice is used to prompt and supplement the missing resource transfer object.
  • the resource transfer object is the object to which the resource transfer value needs to be transferred.
  • the first information supplementary prompt voice is synthesized and played to prompt the user to supplement the missing resource transfer object. For example, if the voice command used to trigger the resource transfer process is "pay three yuan", then the resource transfer element information extracted from the voice command is missing the resource transfer object, and the first information supplementary prompt voice can be "Please supplement the transfer object. ” or “Please supplement the payment object”, etc.
  • the terminal can play the information supplement prompt voice to prompt supplement of the missing resource transfer object, which makes the resource transfer process more intelligent, improves the convenience of the resource transfer, and thus improves the resource transfer efficiency.
  • the step of generating and playing the information supplementary prompt voice specifically includes the following steps: when the extracted resource transfer element information is When the resource transfer value is missing in the resource transfer value, the second information supplementary prompt voice is synthesized and played; the second information supplementary prompt voice is used to prompt and supplement the missing resource transfer value.
  • the resource transfer value is the amount of resources that need to be transferred to the resource transfer object.
  • the second information supplementary prompt voice is synthesized and played to prompt the user to supplement the missing resource transfer value.
  • the voice command used to trigger the resource transfer process is "transfer to Zhang San”
  • the resource transfer element information extracted from the voice command lacks the resource transfer value
  • the second information supplementary prompt voice can be "Please supplement the transfer amount. ” or “Please supplement the payment amount”, etc.
  • the terminal can play the information supplement prompt voice to prompt supplement of the missing resource transfer value, which makes the resource transfer process more intelligent and improves the convenience of resource transfer.
  • the step of generating and playing the information supplementary prompt voice specifically includes the following steps: when the extracted resource transfer element information is When the resource transfer value and the resource transfer object are lacking in the resource transfer value and the resource transfer object, the third information supplementary prompt voice is synthesized and played; the third information supplementary prompt voice is used to prompt and supplement the missing resource transfer value and resource transfer object.
  • the third information supplementary prompt voice is synthesized and played to prompt the user to supplement the missing resource transfer value and resource transfer object. For example, if the voice command used to trigger the resource transfer process is "I want to transfer money", the resource transfer element information extracted from the voice command lacks the resource transfer object and the resource transfer value, and the third information supplementary prompt voice can be "Please Supplementary transfer amount and transfer object”, etc.
  • the terminal can play the information supplement prompt voice to prompt supplement of the missing resource transfer value and resource transfer object, which makes the resource transfer process more intelligent and improves the convenience of resource transfer.
  • the step of verifying the resource transfer authority according to the voiceprint feature specifically includes the following steps: performing voiceprint matching verification on the extracted voiceprint feature and the registered voiceprint feature, and performing voiceprint matching verification on at least one previous voice command. Sound authenticity detection; when the voiceprint matching verification is passed and the sound authenticity detection is passed, it is determined that the verification of the resource transfer authority is passed.
  • the registered voiceprint feature is a voiceprint feature extracted from the registered voice of the user corresponding to the user ID of the logged-in terminal.
  • Voiceprint matching verification is the process of verifying whether two sets of voiceprint features match.
  • Sound authenticity detection is the process of detecting whether the voice data is the voice uttered by a real person.
  • the terminal can perform voiceprint matching verification between the extracted voiceprint feature and the registered voiceprint feature, and when the similarity between the extracted voiceprint feature and the registered voiceprint feature is greater than or equal to a preset threshold, it is determined that Voiceprint matching verification passed.
  • the terminal may perform sound authenticity detection on at least one previous voice command, and when the detection result is that the detected voice commands are all voices uttered by a real person, it is determined that the sound authenticity detection has passed.
  • the voiceprint matching verification is passed and the voice authenticity test is passed, it is determined that the resource transfer authority verification is passed. It can be understood that the voice command for sound authenticity detection may be consistent with the voice command for voiceprint verification.
  • the voiceprint matching verification is used to verify whether the user who issued the voice command is the user who registered the operated resource account, that is, used for identity verification.
  • Sound authenticity detection is used to detect the authenticity of voice commands and avoid impersonating the user who registered the operated resource account by playing the recording or playing the synthesized voice.
  • resource transfer authority verification is performed through voiceprint matching verification and voice authenticity detection, which can improve the security of resource transfer.
  • the resource transfer authority can be verified by verifying the voice command, without using traditional verification methods (such as: SMS verification code verification, fingerprint recognition, password verification or face recognition, etc.), which improves the convenience of resource transfer, thereby improving the resource transfer efficiency.
  • the method further includes the following steps: when the verification of the resource transfer authority fails according to the voiceprint feature, switching to an interface interactive verification mode; in the interface interactive verification mode, generating and displaying an interactive interface for inputting verification information ; Obtain the authority verification information entered in the interactive interface, and after the authority verification information is verified, perform resource transfer processing according to the resource transfer element information.
  • the interface interactive verification mode is a mode in which authority verification is performed according to the verification information input by the user based on the interface.
  • the authorization verification information is information used for authorization verification.
  • the authority verification information may include at least one of a short message verification code, fingerprint information, face image information, and a password.
  • the terminal may switch to the interface interactive verification mode, and generate and display an interactive interface for inputting verification information.
  • the terminal acquires the authority verification information entered in the interactive interface, and verifies the authority verification information.
  • the terminal performs resource transfer processing according to the resource transfer element information.
  • the terminal does not perform resource transfer processing.
  • the terminal when the resource transfer authority fails to be verified according to the voiceprint feature, the terminal can switch to the traditional interface interactive verification mode to perform authority verification, thereby avoiding the voiceprint feature verification resource due to changes in the user's voice or other special reasons.
  • the problem that the resource transfer cannot be performed due to the failure to transfer the authority improves the flexibility of the verification of the resource transfer authority.
  • the resource transfer element information includes a resource transfer value and a resource transfer object.
  • the step of performing resource transfer processing according to the resource transfer element information specifically includes the following steps: transferring the resource transfer value specified in the resource transfer element information to the resource transfer object specified in the resource transfer element information.
  • the terminal can transfer the resource transfer value specified in the resource transfer element information from the user's resource account to the resource transfer object specified in the resource transfer element information.
  • the terminal can transfer 5,000 yuan from the user's resource transfer account to Zhang San's resource account.
  • the terminal can intelligently transfer the resource transfer value specified in the resource transfer element information to the resource transfer object specified in the resource transfer element information, which improves the convenience and efficiency of resource transfer.
  • FIG. 3 it is a schematic overall flow diagram of the resource transfer method in each embodiment of the present application.
  • the terminal detects that the resource transfer application is opened, it triggers to start listening for the voice command.
  • the terminal parses the resource transfer element information in the detected voice command.
  • the terminal When the resource transfer element information obtained by the analysis lacks the resource transfer element information for resource transfer processing, the terminal generates and plays the information supplementary prompt voice, receives the voice command input by the user for supplementing the information, or receives the user's manual input Or use the resource transfer element information obtained by the resource transfer graphic code, and then generate and play the information confirmation prompt according to the supplemented and complete resource transfer element information; When the resource transfer element information is entered, the terminal directly generates and plays the message confirmation prompt voice according to the resource transfer element information.
  • the terminal When the user does not input the voice command for triggering the resource transfer process, but chooses to manually input or use the resource transfer graphic code, the terminal receives the resource transfer element information manually input by the user or obtained by using the resource transfer graphic code, and then according to the complete Resource transfer element information, generate and play information confirmation prompt voice. After playing the information confirmation prompt voice, the terminal receives the voice command input by the user to confirm the resource transfer, and then performs voiceprint verification and voice authenticity detection on at least one voice command received during the entire resource transfer process to verify the authority. , after the permission verification is passed, the resource transfer process is performed.
  • the terminal can only perform voice commands for any one of the three voice commands. It can be understood that which voice command to select can be set by the user. For example, the user sets to select the first voice command or the last voice command or other voice commands for verification. Or, the terminal randomly selects any one of all the voice commands input by the user for verification. Or the terminal carries out voiceprint verification and sound authenticity detection for any two voice commands in the three voice commands to perform authority verification to improve the security in the resource transfer process.
  • which two voice commands are selected can It is set by the user, for example, the user sets to select the first voice command and the last voice command for verification, or the terminal randomly selects two voice commands from all voice commands input by the user for verification. Or the terminal performs authority verification for all the voice instructions in the three voice instructions, that is, each voice instruction performs voiceprint verification and voice authenticity detection to further improve the security in the resource transfer process.
  • the terminal switches to the interface interactive mode to perform authority verification again, and when the authority verification passes, the resource transfer process is performed.
  • a resource transfer apparatus 400 including: a listening module 402, an intention parsing module 404, an information confirmation module 406, a verification module 408 and a resource transfer module 410, wherein:
  • the listening module 402 is configured to, after detecting that the resource transfer application is opened, listen to the voice instruction used to trigger the resource transfer process.
  • the intent parsing module 404 is configured to perform intent parsing on the detected voice instruction to obtain resource transfer element information.
  • the information confirmation module 406 is used to generate and play the information confirmation prompt voice according to the resource transfer element information; the information confirmation prompt voice is used to prompt the accuracy confirmation of the resource transfer element information; Voice command for resource transfer confirmation.
  • the verification module 408 is configured to extract the voiceprint feature from at least one previous voice instruction, and verify the resource transfer authority according to the voiceprint feature.
  • the resource transfer module 410 is configured to perform resource transfer processing according to the resource transfer element information after the authority verification is passed.
  • the intent parsing module 404 is further configured to perform intent parsing on the intercepted voice instruction to obtain intent information; extract resource transfer element information in the intent information; when the extracted resource transfer element information is not lacking for When the resource transfer element information of the resource transfer is performed, according to the extracted resource transfer element information, the notification information confirmation module 406 executes the step of generating an information confirmation prompt voice and playing it according to the resource transfer element information.
  • the intent parsing module 404 is further configured to perform speech recognition on the detected voice command to obtain corresponding text content; perform natural language understanding processing on the text content to identify the intent information expressed by the text content.
  • the resource transfer apparatus 400 further includes:
  • the information supplement module 412 is used to generate and play the information supplement prompt voice when the resource transfer element information used for resource transfer is missing in the extracted resource transfer element information; the information supplement prompt voice is used to prompt the supplement of the missing resources Transfer element information; receive resource transfer element information supplemented in response to the information supplement prompt voice.
  • the information confirmation module 406 is further configured to generate and play an information confirmation prompt voice according to the resource transfer element information extracted from the intention information and the supplemented resource transfer element information.
  • the information supplement module 412 is further configured to receive a voice instruction for supplementing information input in response to the information supplement prompt voice; and extract the supplemented resource transfer element information from the voice instruction for supplementing information.
  • the resource transfer element information extracted from the intent information includes the resource transfer type.
  • the information supplement module 412 is further configured to display the resource transfer operation interface corresponding to the resource transfer type; obtain the resource transfer element information based on the resource transfer operation interface obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice.
  • the information supplement module 412 is further configured to receive the resource transfer graphic code generation instruction based on the resource transfer operation interface, generate and display the resource transfer graphic code; obtain the resource transfer elements supplemented by the resource transfer object by scanning the resource transfer graphic code Information; the resource transfer object is the object to which the resource transfer value needs to be transferred.
  • the information supplement module 412 is further configured to synthesize and play the first information supplement prompt voice when the extracted resource transfer element information lacks the resource transfer object; the first information supplement prompt voice is used to prompt and supplement all the information. Missing resource transfer object.
  • the information supplement module 412 is further configured to synthesize and play the second information supplement prompt voice when the extracted resource transfer element information lacks the resource transfer value; the second information supplement prompt voice is used to prompt the supplement of all Missing resource transfer value.
  • the information supplementation module 412 is further configured to synthesize and play a third information supplementary prompt voice when the extracted resource transfer element information lacks the resource transfer value and the resource transfer object; the third information supplementary prompt voice , used to prompt to supplement the missing resource transfer value and resource transfer object.
  • the verification module 408 is further configured to perform voiceprint matching verification on the extracted voiceprint feature and the registered voiceprint feature, and perform voice authenticity detection on at least one previous voice instruction; when the voiceprint matching verification is performed After passing and the sound authenticity test is passed, it is determined that the verification of the resource transfer authority is passed.
  • the verification module 408 is further configured to switch to the interface interactive verification mode when the resource transfer authority fails to be verified according to the voiceprint feature; in the interface interactive verification mode, generate and display an interactive interface for inputting verification information; The authority verification information entered in the interactive interface is acquired, and after the authority verification information is verified, the resource transfer process is performed according to the resource transfer element information.
  • the resource transfer element information includes a resource transfer value and a resource transfer object.
  • the resource transfer module 410 is further configured to transfer the resource transfer value specified in the resource transfer element information to the resource transfer object specified in the resource transfer element information.
  • the resource transfer device after detecting that the resource transfer application is opened, it listens to the voice command used to trigger the resource transfer process, performs intention analysis on the detected voice command, obtains resource transfer element information, and then according to the resource transfer element information, generate the information confirmation prompt voice and play it, receive the voice command input after the accuracy confirmation is passed and used for the confirmation of resource transfer, then extract the voiceprint feature from at least one previous voice command, and according to the voiceprint
  • the feature verifies the resource transfer authority, and after the authority verification is passed, the resource transfer process is performed according to the resource transfer element information.
  • the entire resource transfer process can be completed in the form of voice dialogue without manual operation, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer.
  • the resource transfer authority verification is performed on the preceding at least one voice command, which can ensure the security during the resource transfer process.
  • Each module in the above resource transfer apparatus can be implemented in whole or in part by software, hardware and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 6 .
  • the computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • the computer program when executed by a processor, implements a resource transfer method.
  • the display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
  • FIG. 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a computer device including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Abstract

The present application relates to a resource transfer method and apparatus, a computer device, and a storage medium. The method comprises: after it is detected that a resource transfer application is opened, monitoring a voice instruction used for triggering resource transfer processing; performing intention analysis on the monitored voice instruction to obtain resource transfer element information; generating an information confirmation prompt voice according to the resource transfer element information and playing back the information confirmation prompt voice; the information confirmation prompt voice being used for prompting to perform accuracy confirmation on the resource transfer element information; receiving a voice instruction which is input after the accuracy confirmation is successful and is used for performing resource transfer confirmation; extracting voiceprint features from at least one previous voice instruction, and verifying resource transfer permission according to the voiceprint features; and performing resource transfer processing according to the resource transfer element information after the permission verification is successful. The resource transfer efficiency can be improved by using the present method.

Description

资源转移方法、装置、计算机设备和存储介质Resource transfer method, apparatus, computer equipment and storage medium 技术领域technical field
本申请涉及计算机技术领域,特别是涉及一种资源转移方法、装置、计算机设备和存储介质。The present application relates to the field of computer technology, and in particular, to a resource transfer method, apparatus, computer device and storage medium.
背景技术Background technique
随着科学技术的发展,通过互联网进行资源转移的处理越来越多,为人们的日常生活提供了很多便利。比如:人们可以通过一些公共支付平台(比如:微信支付)或者金融平台(比如:手机银行)等进行付款或转账。With the development of science and technology, more and more resources are transferred through the Internet, which provides a lot of convenience for people's daily life. For example, people can make payments or transfers through some public payment platforms (such as WeChat Pay) or financial platforms (such as mobile banking).
传统技术中,用户在进行资源转移操作的过程中,需要先登录资源转移平台,然后手动寻找资源转移入口,再手动填写资源转移的相关信息,最后手动输入验证信息用传统的验证方式(比如:短信验证码、支付密码和指纹等)进行身份验证。这种需要手动进行多次操作的传统方法,造成整个资源转移的操作过程比较繁琐,导致资源转移的效率比较低。尤其是当用户手里拿着很多东西,不方便进行反复的手动操作时,完成这样的资源转移操作过程就更加不便。In the traditional technology, during the resource transfer operation, the user needs to log in to the resource transfer platform first, then manually find the resource transfer entry, then manually fill in the relevant information of the resource transfer, and finally manually enter the verification information using the traditional verification method (for example: SMS verification code, payment password and fingerprint, etc.) for authentication. This traditional method, which requires manual operations for many times, makes the operation process of the entire resource transfer relatively cumbersome, resulting in a relatively low efficiency of resource transfer. Especially when the user holds a lot of things in his hand and it is inconvenient to perform repeated manual operations, it is even more inconvenient to complete such a resource transfer operation process.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种能够提高资源转移的效率的资源转移方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a resource transfer method, apparatus, computer equipment and storage medium that can improve the efficiency of resource transfer in response to the above technical problems.
一种资源转移方法,所述方法包括:A resource transfer method, the method comprising:
在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令;After detecting that the resource transfer application is opened, listen to the voice instruction used to trigger the resource transfer process;
对侦听到的所述语音指令进行意图解析,得到资源转移要素信息;Perform intent analysis on the detected voice command to obtain resource transfer element information;
根据所述资源转移要素信息,生成信息确认提示语音并播放;所述信息确认提示语音,用于提示对所述资源转移要素信息进行准确性确认;According to the resource transfer element information, an information confirmation prompt voice is generated and played; the information confirmation prompt voice is used to prompt the accuracy of the resource transfer element information to be confirmed;
接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令;Receive a voice command entered after the accuracy confirmation is passed and used for resource transfer confirmation;
从在先的至少一个所述语音指令中提取声纹特征,并根据所述声纹特征验证资源转移权限;Extracting voiceprint features from at least one of the preceding voice instructions, and verifying the resource transfer authority according to the voiceprint features;
在权限验证通过后,根据所述资源转移要素信息进行资源转移处理。After the authority verification is passed, the resource transfer process is performed according to the resource transfer element information.
在其中一个实施例中,所述对侦听到的所述语音指令进行意图解析,得到资源转移要素信息包括:In one of the embodiments, performing intent analysis on the heard voice instruction to obtain resource transfer element information includes:
对侦听到的所述语音指令进行意图解析,得到意图信息;Perform intent analysis on the detected voice command to obtain intent information;
提取所述意图信息中的资源转移要素信息;extracting resource transfer element information in the intent information;
当提取的资源转移要素信息中不缺少用于进行资源转移的资源转移要素信息时,则根据提取的资源转移要素信息,执行所述根据所述资源转移要素信息,生成信息确认提示语音并播放的步骤。When there is no shortage of resource transfer element information for resource transfer in the extracted resource transfer element information, then according to the extracted resource transfer element information, the operation of generating and playing the information confirmation prompt voice according to the resource transfer element information is performed. step.
在其中一个实施例中,所述对侦听到的所述语音指令进行意图解析,得到意图信息包括:In one of the embodiments, performing intent analysis on the intercepted voice instruction to obtain intent information includes:
对侦听到的所述语音指令进行语音识别,得到相应的文字内容;Perform voice recognition on the detected voice command to obtain corresponding text content;
对所述文字内容进行自然语言理解处理,识别所述文字内容所表达的意图信息。Perform natural language understanding processing on the text content, and identify the intention information expressed by the text content.
在其中一个实施例中,所述对侦听到的所述语音指令进行意图解析,得到资源转移要素信息还包括:In one of the embodiments, performing intent analysis on the heard voice instruction to obtain resource transfer element information further includes:
当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放;所述信息补充提示语音,用于提示补充所缺少的所述资源转移要素信息;When the extracted resource transfer element information lacks resource transfer element information for resource transfer, an information supplementary prompt voice is generated and played; the information supplement prompt voice is used to prompt and supplement the missing resource transfer element information ;
接收响应于所述信息补充提示语音所补充的资源转移要素信息;receiving resource transfer element information supplemented in response to the information supplement prompt voice;
所述根据所述资源转移要素信息,生成信息确认提示语音并播放包括:The generating and playing an information confirmation prompt voice according to the resource transfer element information includes:
根据从所述意图信息中提取的资源转移要素信息、以及所补充的所述资源转移要素信息,生成信息确认提示语音并播放。Based on the resource transfer element information extracted from the intention information and the supplemented resource transfer element information, an information confirmation prompt voice is generated and played.
在其中一个实施例中,所述接收响应于所述信息补充提示语音所补充的资源转移要素信息包括:In one of the embodiments, the receiving the resource transfer element information supplemented by the prompt voice in response to the information supplement includes:
接收响应于所述信息补充提示语音所输入的用于补充信息的语音指令;receiving a voice instruction for supplementing information input in response to the information supplementing prompt voice;
从所述用于补充信息的语音指令中,提取所补充的所述资源转移要素信息。From the voice instruction for supplementary information, the supplemented resource transfer element information is extracted.
在其中一个实施例中,所述意图信息中提取的资源转移要素信息中包括资源转移类型;In one of the embodiments, the resource transfer element information extracted from the intention information includes a resource transfer type;
在所述接收响应于所述信息补充提示语音所补充的资源转移要素信息之前,所述方法还包括:Before the receiving the resource transfer element information supplemented by the prompt voice in response to the information supplement, the method further includes:
展示与所述资源转移类型相应的资源转移操作界面;Displaying a resource transfer operation interface corresponding to the resource transfer type;
所述接收响应于所述信息补充提示语音所补充的资源转移要素信息包括:The receiving the resource transfer element information supplemented in response to the information supplementing prompt voice includes:
获取基于所述资源转移操作界面中所获取的、且为所述信息补充提示语音所提示补充的资源转移要素信息。Obtaining resource transfer element information based on the resource transfer operation interface obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice.
在其中一个实施例中,所述获取基于所述资源转移操作界面中所获取的、且为所述信息补充提示语音所提示补充的资源转移要素信息包括:In one embodiment, the obtaining is based on the resource transfer element information obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice, including:
基于所述资源转移操作界面接收资源转移图形码生成指令,生成并展示资源转移图形码;Receive a resource transfer graphic code generation instruction based on the resource transfer operation interface, and generate and display a resource transfer graphic code;
获取资源转移对象通过扫描所述资源转移图形码所补充的资源转移要素信息;所述资源转移对象,是资源转移数值所需要转移至的对象。Obtain the resource transfer element information supplemented by the resource transfer object by scanning the resource transfer graphic code; the resource transfer object is the object to which the resource transfer value needs to be transferred.
在其中一个实施例中,所述当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放包括:In one of the embodiments, when the extracted resource transfer element information lacks resource transfer element information for resource transfer, generating an information supplementary prompt voice and playing it includes:
当提取的资源转移要素信息中缺少资源转移对象时,则合成第一信息补充提示语音并播放;所述第一信息补充提示语音,用于提示补充所缺少的资源转移对象。When the extracted resource transfer element information lacks the resource transfer object, the first information supplementary prompt voice is synthesized and played; the first information supplementary prompt voice is used to prompt and supplement the missing resource transfer object.
在其中一个实施例中,所述当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放包括:In one of the embodiments, when the extracted resource transfer element information lacks resource transfer element information for resource transfer, generating an information supplementary prompt voice and playing it includes:
当提取的资源转移要素信息中缺少资源转移数值时,则合成第二信息补充提示语音并播放;所述第二信息补充提示语音,用于提示补充所缺少的资源转移数值。When the extracted resource transfer element information lacks the resource transfer value, the second information supplementary prompt voice is synthesized and played; the second information supplementary prompt voice is used to prompt and supplement the missing resource transfer value.
在其中一个实施例中,所述当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放包括:In one of the embodiments, when the extracted resource transfer element information lacks resource transfer element information for resource transfer, generating an information supplementary prompt voice and playing it includes:
当提取的资源转移要素信息中缺少资源转移数值和资源转移对象时,则合成第三信息补充提示语音并播放;所述第三信息补充提示语音,用于提示补充所缺少的资源转移数值和资源转移对象。When the extracted resource transfer element information lacks the resource transfer value and the resource transfer object, the third information supplementary prompt voice is synthesized and played; the third information supplementary prompt voice is used to prompt and supplement the missing resource transfer value and resource transfer object.
在其中一个实施例中,所述根据所述声纹特征验证资源转移权限包括:In one of the embodiments, the verifying the resource transfer authority according to the voiceprint feature includes:
将提取的声纹特征与注册的声纹特征进行声纹匹配验证,并对在先的至少一个所述语音指令进行声音真实性检测;Perform voiceprint matching verification on the extracted voiceprint feature and the registered voiceprint feature, and perform sound authenticity detection on at least one of the preceding voice commands;
当所述声纹匹配验证通过、且声音真实性检测通过后,判定资源转移权限验证通过。When the voiceprint matching verification passes and the voice authenticity detection passes, it is determined that the resource transfer authority verification passes.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
当根据声纹特征验证资源转移权限失败时,切换至界面交互验证模式;When the resource transfer permission fails to be verified based on the voiceprint feature, switch to the interface interactive verification mode;
在所述界面交互验证模式下,生成并展示用于输入验证信息的交互界面;In the interface interactive verification mode, generating and displaying an interactive interface for inputting verification information;
获取在所述交互界面中输入的权限验证信息,并在对所述权限验证信息的验证通过后,根据所述资源转移要素信息进行资源转移处理。The authority verification information input in the interactive interface is acquired, and after the authority verification information is verified, the resource transfer process is performed according to the resource transfer element information.
在其中一个实施例中,所述资源转移要素信息包括资源转移数值和资源转移对象;In one embodiment, the resource transfer element information includes a resource transfer value and a resource transfer object;
所述根据所述资源转移要素信息进行资源转移处理包括:The performing resource transfer processing according to the resource transfer element information includes:
向所述资源转移要素信息中所指定的所述资源转移对象,转移所述资源转移要素信息中所指定的所述资源转移数值。The resource transfer value specified in the resource transfer element information is transferred to the resource transfer object specified in the resource transfer element information.
一种资源转移装置,所述装置包括:A resource transfer device, the device includes:
侦听模块,用于在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令;The listening module is used to listen to the voice instruction used to trigger the resource transfer process after detecting that the resource transfer application is opened;
意图解析模块,用于对侦听到的所述语音指令进行意图解析,得到资源转移要素信息;an intent parsing module, configured to perform intent parsing on the intercepted voice command to obtain resource transfer element information;
信息确认模块,用于根据所述资源转移要素信息,生成信息确认提示语音并播放;所述信息确认提示语音,用于提示对所述资源转移要素信息进行准确性确认;接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令;The information confirmation module is used to generate and play the information confirmation prompt voice according to the resource transfer element information; the information confirmation prompt voice is used to prompt the accuracy confirmation of the resource transfer element information; The voice command entered later and used to confirm the resource transfer;
验证模块,用于从在先的至少一个所述语音指令中提取声纹特征,并根据所述声纹特征验证资源转移权限;a verification module for extracting a voiceprint feature from at least one of the preceding voice instructions, and verifying the resource transfer authority according to the voiceprint feature;
资源转移模块,用于在权限验证通过后,根据所述资源转移要素信息进行资源转移处理。The resource transfer module is configured to perform resource transfer processing according to the resource transfer element information after the authority verification is passed.
一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机程序, 所述计算机程序被所述处理器执行时,使得所述处理器执行本申请各实施例所述的资源转移方法中的步骤。A computer device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor causes the processor to execute the resource transfer methods described in the embodiments of the present application. A step of.
一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行本申请各实施例所述的资源转移方法中的步骤。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 processor causes the processor to execute the methods in the resource transfer methods described in the embodiments of the present application. step.
上述资源转移方法、装置、计算机设备和存储介质,在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令,对侦听到的语音指令进行意图解析,得到资源转移要素信息,然后根据资源转移要素信息,生成信息确认提示语音并播放,接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令,接着从在先的至少一个语音指令中提取声纹特征,并根据声纹特征验证资源转移权限,在权限验证通过后,根据资源转移要素信息进行资源转移处理。整个资源转移过程,采用语音对话的形式即可完成,无需手动操作,提高了资源转移的便捷性,从而提高了资源转移的效率。The above resource transfer method, device, computer equipment and storage medium, after detecting that the resource transfer application is opened, listen to the voice command used to trigger the resource transfer process, perform intent analysis on the detected voice command, and obtain the resource transfer element Then, according to the resource transfer element information, the information confirmation prompt voice is generated and played, and the voice command input after the accuracy confirmation is passed and used for the resource transfer confirmation is received, and then the voice command is extracted from at least one previous voice command. According to the voiceprint feature, the resource transfer authority is verified. After the authority verification is passed, the resource transfer process is performed according to the resource transfer element information. The entire resource transfer process can be completed in the form of voice dialogue without manual operation, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer.
附图说明Description of drawings
图1为一个实施例中资源转移方法的应用环境图;Fig. 1 is the application environment diagram of the resource transfer method in one embodiment;
图2为一个实施例中资源转移方法的流程示意图;2 is a schematic flowchart of a resource transfer method in one embodiment;
图3为一个实施例中资源转移方法的流程示意图;3 is a schematic flowchart of a resource transfer method in one embodiment;
图4为一个实施例中资源转移装置的结构框图;4 is a structural block diagram of a resource transfer apparatus in an embodiment;
图5为另一个实施例中资源转移装置的结构框图;5 is a structural block diagram of a resource transfer apparatus in another embodiment;
图6为一个实施例中计算机设备的内部结构图。FIG. 6 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请提供的资源转移方法,可以应用于如图1所示的应用环境中。其中,用户102通过说话输入语音指令来指示终端104进行资源转移处理。终端104 接收用户102的语音指令,并播放语音对用户102进行操作性的提示,并根据语音指令进行资源转移处理。其中,终端104可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。The resource transfer method provided in this application can be applied to the application environment shown in FIG. 1 . The user 102 instructs the terminal 104 to perform the resource transfer process by inputting a voice command by speaking. The terminal 104 receives the voice command of the user 102, plays the voice to give an operational prompt to the user 102, and performs resource transfer processing according to the voice command. Wherein, the terminal 104 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices.
在一个实施例中,如图2所示,提供了一种资源转移方法,以该方法应用于图1中的终端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a resource transfer method is provided, and the method is applied to the terminal in FIG. 1 as an example for description, including the following steps:
S202,在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令。S202, after detecting that the resource transfer application is opened, listen for a voice instruction for triggering the resource transfer process.
其中,资源转移应用,是用于进行资源转移处理、且设置于终端中的应用。资源转移处理,是指对资源进行转移的处理。比如,支付、转账或赠送(比如,赠送虚拟礼物或红包等虚拟物品)等。语音指令,是用户通过说话所输入的指令。Among them, the resource transfer application is an application for performing resource transfer processing and installed in the terminal. The resource transfer process refers to the process of transferring resources. For example, payment, transfer or giving (for example, giving virtual gifts or virtual items such as red envelopes), etc. The voice command is the command input by the user by speaking.
在一个实施例中,终端在检测到资源转移应用被打开后,则触发侦听用于触发资源转移处理的语音指令,直至侦听到用于触发资源转移处理的语音指令,则执行步骤S204及后续步骤。In one embodiment, after detecting that the resource transfer application is opened, the terminal triggers and listens to the voice command for triggering the resource transfer process, and executes steps S204 and S204 until the voice command for triggering the resource transfer process is detected. Next steps.
在一个实施例中,用于触发资源转移处理的语音指令,可以是仅包含资源转移类型的短命令(比如:“我要转账”、“我要支付”、“微信支付”或“支付宝支付”等),也可以是除资源转移类型之外还包含其他资源转移要素信息的长命令(比如:“我要转五千块给张三”或“我要用微信支付四块钱”等)。In one embodiment, the voice command used to trigger the resource transfer process may be a short command containing only the resource transfer type (for example: "I want to transfer", "I want to pay", "WeChat payment" or "Alipay payment" etc.), or it can be a long command that includes other resource transfer element information in addition to the resource transfer type (for example: "I want to transfer 5,000 yuan to Zhang San" or "I want to pay 4 yuan with WeChat", etc.).
在一个实施例中,用户未输入用于触发资源转移处理的语音指令,而是选择手动输入信息或使用资源转移图形码获取信息时,终端则接收用户手动输入或使用资源转移图形码获取的资源转移要素信息,直接根据接收到的资源转移要素信息,进行资源转移处理。In one embodiment, when the user does not input a voice instruction for triggering the resource transfer process, but chooses to manually input information or obtain information by using the resource transfer graphic code, the terminal receives the resource manually input by the user or obtained by using the resource transfer graphic code The transfer element information directly performs resource transfer processing according to the received resource transfer element information.
S204,对侦听到的语音指令进行意图解析,得到资源转移要素信息。S204: Perform intent analysis on the detected voice command to obtain resource transfer element information.
其中,意图解析,是对语音指令中表达的意图进行解析的处理。资源转移要素信息,是进行资源转移处理所必须明确的信息。Among them, the intent analysis is a process of analyzing the intent expressed in the voice command. Resource transfer element information is information that must be specified for resource transfer processing.
在一个实施例中,资源转移要素信息,可以包括资源转移类型、资源转移对象和资源转移数值等中的至少一种。在一个实施例中,资源转移要素信息,可以表示为三元组(资源转移类型,资源转移对象,资源转移数值)的形式。In one embodiment, the resource transfer element information may include at least one of a resource transfer type, a resource transfer object, and a resource transfer value. In one embodiment, the resource transfer element information may be represented in the form of a triple (resource transfer type, resource transfer object, resource transfer value).
在一个实施例中,当对侦听到的用于触发资源转移处理的语音指令进行意图解析所得到的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,终端可以提示用户补充资源转移要素信息,得到用户补充后的资源转移要素信息,然后执行步骤S206及后续步骤。In one embodiment, when the resource transfer element information for resource transfer is missing in the resource transfer element information obtained by performing intent analysis on the voice command used to trigger the resource transfer process, the terminal may prompt the user to supplement Resource transfer element information, obtain the resource transfer element information supplemented by the user, and then perform step S206 and subsequent steps.
在另一个实施例中,当对侦听到的用于触发资源转移处理的语音指令进行意图解析所得到的资源转移要素信息中不缺少用于进行资源转移的资源转移要素信息时,则无需补充信息,直接执行步骤S206及后续步骤。In another embodiment, when the resource transfer element information for resource transfer is not lacking in the resource transfer element information obtained by performing intent analysis on the voice command used to trigger the resource transfer process, no supplementation is required. information, directly execute step S206 and subsequent steps.
S206,根据资源转移要素信息,生成信息确认提示语音并播放;信息确认提示语音,用于提示对资源转移要素信息进行准确性确认。S206, according to the resource transfer element information, generate an information confirmation prompt voice and play it; the information confirmation prompt voice is used to prompt the accuracy of the resource transfer element information to be confirmed.
具体地,终端根据资源转移要素信息,进行语音合成,生成信息确认提示语音。语音合成,是指将文字转换为语音。Specifically, the terminal performs speech synthesis according to the resource transfer element information, and generates an information confirmation prompt voice. Speech synthesis is the conversion of text into speech.
在一个实施例中,信息确认提示语音中可以包括资源转移要素信息、以及用于询问是否确认资源转移要素信息的提示性语句等中的至少一种。比如,信息确认提示语音可以为“您是否确认向张三转账5000元”,其中,“张三”、“转账”和“5000元”即为资源转移要素信息,“您是否确认”即为用于询问是否确认资源转移要素信息的提示性语句。In one embodiment, the information confirmation prompt voice may include at least one of resource transfer element information and a prompt sentence for asking whether to confirm the resource transfer element information. For example, the information confirmation prompt voice can be "Do you confirm to transfer 5,000 yuan to Zhang San", where "Zhang San", "transfer" and "5,000 yuan" are the information of the resource transfer elements, and "do you confirm" is the use of Prompt statement for asking whether to confirm the resource transfer element information.
S208,接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令。S208: Receive a voice instruction input after the accuracy confirmation is passed and used for resource transfer confirmation.
其中,资源转移确认,是确认根据资源转移要素信息进行资源转移处理。Among them, the resource transfer confirmation is to confirm that the resource transfer process is performed according to the resource transfer element information.
具体地,用户在听到终端播放的信息确认提示语音后,根据信息确认提示语音中播放的资源转移要素信息,核对资源转移要素信息是否准确。在一个实施例中,当用户对资源转移要素信息确认无误时,用户则通过说话输入用于进行资源转移确认的语音指令,终端接收用户输入的用于进行资源转移确认的语音指令。Specifically, after hearing the information confirmation prompt voice played by the terminal, the user checks whether the resource transfer element information is accurate according to the resource transfer element information played in the information confirmation prompt voice. In one embodiment, when the user confirms that the resource transfer element information is correct, the user inputs a voice command for resource transfer confirmation by speaking, and the terminal receives the voice command input by the user for resource transfer confirmation.
在另一个实施例中,当用户经过核对发现资源转移要素信息有误时,则通过说话输入用于更改资源转移要素信息或用于结束资源转移的语音指令。当终端接收到用户输入的用于更改资源转移要素信息的语音指令时,则根据用户的指示进行更改操作。当终端接收到用户输入的用于结束资源转移的语音指令(比 如:“结束”或“退出”等)时,则退出资源转移流程。在另一个实施例中,当终端在预设时间内未接收到用户输入的语音指令时,则再次播放信息确认提示语音,以提示用户对资源转移要素信息进行准确性确认。In another embodiment, when the user finds that the resource transfer element information is incorrect after checking, the user inputs a voice instruction for changing the resource transfer element information or for ending the resource transfer by speaking. When the terminal receives a voice instruction input by the user for modifying the resource transfer element information, the terminal performs the modification operation according to the user's instruction. When the terminal receives a voice instruction (such as "end" or "exit", etc.) input by the user for ending resource transfer, it exits the resource transfer process. In another embodiment, when the terminal does not receive the voice instruction input by the user within the preset time, the information confirmation prompt voice is played again to prompt the user to confirm the accuracy of the resource transfer element information.
在一个实施例中,用于进行资源转移确认的语音指令,可以为用户任意说话所产生的语音指令(比如:“是的,没错”、“确定支付”或“确定没问题”等),当终端对该语音指令进行意图解析,得到该语音指令中包含确认意图时,终端则确定接收到用于进行资源转移确认的语音指令。In one embodiment, the voice command used to confirm the resource transfer can be a voice command generated by the user's arbitrary speech (for example: "Yes, that's right", "Confirm payment" or "Confirm there is no problem", etc.), When the terminal performs intent analysis on the voice instruction and obtains that the voice instruction contains a confirmation intent, the terminal determines that the voice instruction for confirming the resource transfer has been received.
在另一个实施例中,终端可以通过播放信息确认提示语音以提示用户应该输入何种语音指令以进行资源转移确认。比如,信息确认提示语音可以为“您是否确认向张三转账5000元,若确认请说“是”,若不确认请说“否””。用户则根据终端播放的信息确认提示语音,反馈指定的语音指令。比如:上述例子中,当用户回答“是”时,终端则确定接收到用于进行资源转移确认的语音指令。In another embodiment, the terminal may play the message confirmation prompt voice to prompt the user what kind of voice command should be input to confirm the resource transfer. For example, the message confirmation prompt voice can be "Do you confirm to transfer 5,000 yuan to Zhang San, if you confirm, please say "Yes", if not, please say "No"". The user confirms the prompt voice according to the information played by the terminal, and feeds back the specified voice command. For example, in the above example, when the user answers "yes", the terminal determines to receive a voice instruction for confirming the resource transfer.
S210,从在先的至少一个语音指令中提取声纹特征,并根据声纹特征验证资源转移权限。S210, extract a voiceprint feature from at least one previous voice instruction, and verify the resource transfer authority according to the voiceprint feature.
其中,声纹特征,用于表征不同的发声者的语音的特质。即,不同的发声者(即用户)所输入的语音的声纹特征不同。在先的至少一个语音指令,是指在本步骤之前的所有步骤中的语音指令中的至少一个,即,在本步骤之前的所有步骤中的语音指令中的全部或部分。Among them, the voiceprint feature is used to represent the characteristics of the voice of different speakers. That is, the voiceprint features of speech input by different speakers (ie, users) are different. The preceding at least one voice command refers to at least one of the voice commands in all steps before this step, that is, all or part of the voice commands in all steps before this step.
具体地,终端可以从在先的至少一个语音指令中提取声纹特征,对提取的声纹特征进行匹配验证,并对在先的至少一个语音指令进行声音真实性检测,当所验证的语音指令声纹匹配验证通过、且声音真实性检测通过后,则判定资源转移权限验证通过。Specifically, the terminal can extract voiceprint features from at least one previous voice command, perform matching verification on the extracted voiceprint features, and perform sound authenticity detection on at least one previous voice command. After the pattern matching verification is passed and the sound authenticity test is passed, it is determined that the resource transfer authority verification is passed.
在一个实施例中,在先的语音指令,可以包括用于触发资源转移处理的语音指令和用于进行资源转移确认的语音指令。在另一个实施例中,当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,在先的语音指令,除了包括用于触发资源转移处理的语音指令和用于进行资源转移确认的语音指令之外,还可以包括用于补充信息的语音指令。In one embodiment, the previous voice command may include a voice command for triggering resource transfer processing and a voice command for performing resource transfer confirmation. In another embodiment, when the resource transfer element information for performing resource transfer is missing from the extracted resource transfer element information, the previous voice instruction, in addition to the voice instruction for triggering the resource transfer process and the voice instruction for performing resource transfer In addition to the voice instructions for transfer confirmation, voice instructions for supplementary information may also be included.
可以理解,在先的至少一个语音指令,可以是在本步骤之前的所有步骤中的语音指令中的全部,也可以是部分。例如:在本步骤之前的所有步骤中用户一共输入了三条语音指令,则终端可以仅针对三条语音指令中的任意一条语音指令进行资源转移权限验证,可以理解,选取哪一条语音指令可以由用户设置,如用户设置选取第一条语音指令或最后一条语音指令或其他语音指令来验证,亦或由所述终端随机选取用户输入的所有语音指令中的任意一条语音指令来进行验证。或所述终端可以针对所述三条语音指令中的任意两条语音指令进行资源转移权限验证,可以理解,选取哪两条语音指令可以由用户进行设置,如用户设置选取第一条语音指令和最后一条语音指令来进行验证,亦或由所述终端随机选取用户输入的所有语音指令中的两条语音指令来进行验证。或所述终端针对所述三条语音指令中的所有语音指令,即每一条语音指令均进行资源转移权限验证,以进一步提高资源转移过程中的安全性。It can be understood that the preceding at least one voice command may be all or part of the voice commands in all steps before this step. For example, if the user has input three voice commands in all steps before this step, the terminal can only verify the resource transfer authority for any one of the three voice commands. It is understood that which voice command to choose can be set by the user , for example, the user sets to select the first voice command or the last voice command or other voice commands for verification, or the terminal randomly selects any voice command from all voice commands input by the user for verification. Or the terminal can perform resource transfer authority verification for any two voice commands among the three voice commands, and it can be understood that which two voice commands are selected can be set by the user, such as the user setting to select the first voice command and the last voice command. One voice command is used for verification, or the terminal randomly selects two voice commands from all voice commands input by the user for verification. Or the terminal performs resource transfer authority verification for all voice commands in the three voice commands, that is, each voice command, so as to further improve the security in the resource transfer process.
S212,在权限验证通过后,根据资源转移要素信息进行资源转移处理。S212, after the authority verification is passed, perform resource transfer processing according to the resource transfer element information.
在一个实施例中,资源转移要素信息可以包含资源转移类型、资源转移对象和资源转移数值。在权限验证通过后,终端可以将资源转移数值按照资源转移类型所对应的转移方式转移至资源转移对象。In one embodiment, the resource transfer element information may include a resource transfer type, a resource transfer object, and a resource transfer value. After the authority verification is passed, the terminal can transfer the resource transfer value to the resource transfer object according to the transfer method corresponding to the resource transfer type.
上述资源转移方法中,在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令,对侦听到的语音指令进行意图解析,得到资源转移要素信息,然后根据资源转移要素信息,生成信息确认提示语音并播放,接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令,接着从在先的至少一个语音指令中提取声纹特征,并根据声纹特征验证资源转移权限,在权限验证通过后,根据资源转移要素信息进行资源转移处理。整个资源转移过程,采用语音对话的形式即可完成,无需手动操作,提高了资源转移的便捷性,从而提高了资源转移效率。此外,对在先的至少一个语音指令进行资源转移权限验证,能够保障资源转移过程中的安全性。In the above resource transfer method, after it is detected that the resource transfer application is opened, the voice command used to trigger the resource transfer process is listened to, and the intention analysis is performed on the detected voice command to obtain the resource transfer element information, and then according to the resource transfer element information, generate the information confirmation prompt voice and play it, receive the voice command input after the accuracy confirmation is passed and used for the confirmation of resource transfer, then extract the voiceprint feature from at least one previous voice command, and according to the voiceprint The feature verifies the resource transfer authority, and after the authority verification is passed, the resource transfer process is performed according to the resource transfer element information. The entire resource transfer process can be completed in the form of voice dialogue without manual operation, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer. In addition, the resource transfer authority verification is performed on the preceding at least one voice command, which can ensure the security during the resource transfer process.
此外,传统依赖用户手动进行资源转移操作的方法,在用户操作不便的情况下,容易造成过多的操作失误,从而因响应错误操作导致不必要的系统资源损耗,采用本申请语音对话的形式进行资源转移,不需要或者减少用户手动操 作,降低了操作难度,从而避免或减少因错误操作导致的不必要的系统资源浪费。In addition, the traditional method of relying on the user to manually perform the resource transfer operation, in the case of inconvenient user operation, is likely to cause too many operation errors, thereby causing unnecessary system resource consumption due to the response to the wrong operation. Resource transfer does not require or reduces the manual operation of users, which reduces the difficulty of operation, thereby avoiding or reducing unnecessary waste of system resources caused by wrong operations.
在一个实施例中,步骤S204具体包括如下步骤:对侦听到的语音指令进行意图解析,得到意图信息;提取意图信息中的资源转移要素信息;当提取的资源转移要素信息中不缺少用于进行资源转移的资源转移要素信息时,则根据提取的资源转移要素信息,执行步骤S206。In one embodiment, step S204 specifically includes the following steps: performing intent analysis on the detected voice instruction to obtain intent information; extracting resource transfer element information in the intent information; When the resource transfer element information of the resource transfer is performed, step S206 is executed according to the extracted resource transfer element information.
其中,意图信息,是侦听到的语音指令中包含的关键性的能够表达意图的信息。比如:侦听到的语音指令中包含的关键词。用于进行资源转移的资源转移要素信息,是进行资源转移所必需的资源转移要素信息。Among them, the intent information is the key information that can express the intent contained in the detected voice command. For example: keywords contained in the detected voice command. The resource transfer element information for performing resource transfer is resource transfer element information necessary for resource transfer.
具体地,终端对侦听到的语音指令进行意图解析,得到意图信息,然后从意图信息中提取用于进行资源转移的资源转移要素信息。比如,用于进行资源转移的资源转移要素信息为三元组(资源转移类型,资源转移对象,资源转移数值),则从意图信息中提取资源转移类型、资源转移对象和资源转移数值中的至少一种。当提取的资源转移要素信息中不缺少用于进行资源转移的资源转移要素信息(即,提取的资源转移要素信息中包含全部的用于进行资源转移的资源转移要素信息)时,则执行步骤S206根据提取的资源转移要素信息,生成信息确认提示语音并播放。比如:当提取的资源转移要素信息中包含资源转移类型、资源转移对象和资源转移数值中的全部时,则根据提取的资源转移类型、资源转移对象和资源转移数值,生成信息确认提示语音并播放。Specifically, the terminal performs intent analysis on the detected voice command to obtain intent information, and then extracts resource transfer element information for resource transfer from the intent information. For example, if the resource transfer element information used for resource transfer is a triple (resource transfer type, resource transfer object, resource transfer value), then at least one of the resource transfer type, resource transfer object and resource transfer value is extracted from the intent information. A sort of. When the extracted resource transfer element information does not lack resource transfer element information for resource transfer (that is, the extracted resource transfer element information includes all resource transfer element information for resource transfer), then execute step S206 Based on the extracted resource transfer element information, an information confirmation prompt voice is generated and played. For example: when the extracted resource transfer element information includes all of the resource transfer type, resource transfer object and resource transfer value, then according to the extracted resource transfer type, resource transfer object and resource transfer value, a message confirmation prompt voice is generated and played .
本实施例中,当提取的资源转移要素信息中不缺少用于进行资源转移的资源转移要素信息时,则根据提取的资源转移要素信息,生成信息确认提示语音并播放,能够通过语音对话的形式,快速确定资源转移要素信息,从而便捷地进行资源转移,提高了资源转移效率。In this embodiment, when there is no shortage of resource transfer element information for resource transfer in the extracted resource transfer element information, according to the extracted resource transfer element information, an information confirmation prompt voice is generated and played, which can be in the form of voice dialogue. , to quickly determine the information of resource transfer elements, so as to carry out resource transfer conveniently and improve the efficiency of resource transfer.
在一个实施例中,对侦听到的语音指令进行意图解析,得到意图信息的步骤,具体包括如下步骤:对侦听到的语音指令进行语音识别,得到相应的文字内容;对文字内容进行自然语言理解处理,识别文字内容所表达的意图信息。In one embodiment, the step of performing intent analysis on the detected voice command to obtain the intent information specifically includes the following steps: performing speech recognition on the detected voice command to obtain corresponding text content; Language understanding processing, identifying the intent information expressed by the text content.
其中,语音识别,是将语音指令中的语音数据识别为文字内容的处理。自然语言理解处理,是对文字内容所表达的意图进行理解的处理。Among them, voice recognition is a process of recognizing voice data in voice commands as text content. Natural language understanding processing is the processing of understanding the intention expressed by the text content.
本实施例中,终端通过对语音指令进行语音识别,然后对识别到的文字内容进行自然语言处理,能够快速、准确地得到语音指令所表达的意图信息。In this embodiment, the terminal can quickly and accurately obtain the intention information expressed by the voice command by performing voice recognition on the voice command, and then performing natural language processing on the recognized text content.
在一个实施例中,步骤S204还包括如下步骤:当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放;信息补充提示语音,用于提示补充所缺少的资源转移要素信息;接收响应于信息补充提示语音所补充的资源转移要素信息。步骤S206具体包括如下步骤:根据从意图信息中提取的资源转移要素信息、以及所补充的资源转移要素信息,生成信息确认提示语音并播放。In one embodiment, step S204 further includes the following steps: when the resource transfer element information for resource transfer is missing from the extracted resource transfer element information, an information supplementary prompt voice is generated and played; the information supplementary prompt voice is used for The prompt supplements the missing resource transfer element information; and the resource transfer element information supplemented in response to the information supplement prompt voice is received. Step S206 specifically includes the following steps: according to the resource transfer element information extracted from the intention information and the supplemented resource transfer element information, generating an information confirmation prompt voice and playing it.
具体地,当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息(即,提取的资源转移要素信息中不包含用于进行资源转移的资源转移要素信息中的全部)时,终端可以根据缺少的资源转移要素信息,合成信息补充提示语音并播放。比如:用于进行资源转移的资源转移要素信息为三元组(资源转移类型,资源转移对象,资源转移数值),假设用于触发资源转移处理的语音指令为“我要转账”,则从该语音指令中提取的资源转移要素信息中仅包含“转账”这一资源转移类型,而缺少资源转移对象和资源转移数值,终端则合成用于提示补充所缺少的资源转移对象和资源转移数值的信息补充提示语音并播放,比如信息补充提示语音可以为“请补充转账对象和转账金额”。Specifically, when the resource transfer element information for resource transfer is missing from the extracted resource transfer element information (that is, the extracted resource transfer element information does not include all the resource transfer element information for resource transfer), The terminal can synthesize the information to supplement the prompt voice and play it according to the missing resource transfer element information. For example: the resource transfer element information used for resource transfer is a triple (resource transfer type, resource transfer object, resource transfer value), assuming that the voice command used to trigger the resource transfer process is "I want to transfer", the The resource transfer element information extracted from the voice command only contains the resource transfer type of "transfer", and the resource transfer object and resource transfer value are missing, and the terminal synthesizes the information used to prompt and supplement the missing resource transfer object and resource transfer value. The supplementary prompt voice is played and played, for example, the information supplement prompt voice can be "please supplement the transfer object and transfer amount".
在一个实施例中,用户在听到终端播放的信息补充提示语音后,可以通过说话的方式输入用于补充信息的语音指令,补充缺少的资源转移要素信息。终端可以接收用户输入的用于补充信息的语音指令。In one embodiment, after hearing the information supplementation prompt voice played by the terminal, the user can input a voice instruction for supplementing information by speaking to supplement the missing resource transfer element information. The terminal may receive a voice instruction for supplementary information input by the user.
在另一个实施例中,终端还可以展示资源转移操作界面,用户在听到终端播放的信息补充提示语音后,用户可以基于资源转移操作界面,补充缺少的资源转移要素信息。终端可以接收用户基于资源转移操作界面,补充的缺少的资源转移要素信息。In another embodiment, the terminal can also display a resource transfer operation interface. After the user hears the information supplementary prompt voice played by the terminal, the user can supplement the missing resource transfer element information based on the resource transfer operation interface. The terminal may receive the missing resource transfer element information supplemented by the user based on the resource transfer operation interface.
在一个实施例中,当用户响应于信息补充提示语音进行补充后得到的资源转移要素信息中仍缺少用于进行资源转移的资源转移要素信息时,终端则再次生成信息补充提示语音并播放,以提示用户补充缺少的资源转移要素信息,直至用于进行资源转移的全部的资源转移要素信息补充完整。In one embodiment, when the resource transfer element information obtained by the user in response to the information supplementation prompt voice is still lacking in the resource transfer element information used for resource transfer, the terminal generates the information supplement prompt voice again and plays it to The user is prompted to supplement the missing resource transfer element information until all the resource transfer element information used for resource transfer is completed.
本实施例中,当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,终端可以以语音的方式智能地提示用户补充缺少的资源转移要素信息,提高了资源转移的便捷性,从而提高了资源转移效率。In this embodiment, when the resource transfer element information for resource transfer is missing from the extracted resource transfer element information, the terminal can intelligently prompt the user to supplement the missing resource transfer element information by voice, which improves the convenience of resource transfer. , thereby improving the efficiency of resource transfer.
在一个实施例中,接收响应于信息补充提示语音所补充的资源转移要素信息的步骤,具体包括如下步骤:接收响应于信息补充提示语音所输入的用于补充信息的语音指令;从用于补充信息的语音指令中,提取所补充的资源转移要素信息。In one embodiment, the step of receiving the resource transfer element information supplemented in response to the information supplement prompt voice specifically includes the following steps: receiving a voice instruction for supplementing information input in response to the information supplement prompt voice; In the voice command of the information, the supplementary resource transfer element information is extracted.
具体地,用户在听到终端播放的信息补充提示语音后,可以根据信息补充提示语音中提示补充的资源转移要素信息,通过说话的方式输入用于补充缺少的资源转移要素信息的语音指令。比如:当信息补充提示语音中提示补充的资源转移要素信息为资源转移对象和资源转移数值时,用户输入的用于补充信息的语音指令可以为“给张三5000元”。终端接收用户响应于信息补充提示语音所输入的用于补充信息的语音指令,然后对用于补充信息的语音指令进行语音识别,得到相应的文字内容,再对文字内容进行自然语言理解处理,识别文字内容所表达的意图信息,再从意图信息中提取所补充的资源转移要素信息。比如:终端从“给张三5000元”中提取到补充的资源转移对象为“张三”、以及资源转移数值为“1000元”。Specifically, after hearing the information supplement prompt voice played by the terminal, the user can prompt the supplementary resource transfer element information according to the information supplement prompt voice, and input a voice instruction for supplementing the missing resource transfer element information by speaking. For example, when the resource transfer element information prompted in the information supplement prompt voice is the resource transfer object and the resource transfer value, the voice command input by the user for supplementing the information may be "Give Zhang San 5,000 yuan". The terminal receives the voice command for supplementary information input by the user in response to the information supplementary prompt voice, and then performs voice recognition on the voice command for supplementary information to obtain the corresponding text content, and then performs natural language understanding processing on the text content to recognize The intent information expressed by the text content, and then the supplementary resource transfer element information is extracted from the intent information. For example, the resource transfer object extracted by the terminal from "Give Zhang San 5,000 yuan" is "Zhang San", and the resource transfer value is "1,000 yuan".
本实施例中,用户可以通过语音的方式补充缺少的资源转移要素信息,提高了资源转移的便捷性,从而提高了资源转移效率。In this embodiment, the user can supplement the missing resource transfer element information by means of voice, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer.
在一个实施例中,意图信息中提取的资源转移要素信息中包括资源转移类型。在接收响应于信息补充提示语音所补充的资源转移要素信息的步骤之前,该方法还包括:展示与资源转移类型相应的资源转移操作界面。接收响应于信息补充提示语音所补充的资源转移要素信息的步骤包括:获取基于资源转移操作界面中所获取的、且为信息补充提示语音所提示补充的资源转移要素信息。In one embodiment, the resource transfer element information extracted from the intent information includes the resource transfer type. Before the step of receiving the resource transfer element information supplemented in response to the information supplement prompt voice, the method further includes: presenting a resource transfer operation interface corresponding to the resource transfer type. The step of receiving the resource transfer element information supplemented in response to the information supplementation prompting voice includes: acquiring resource transfer element information based on the resource transfer operation interface obtained and prompted and supplemented by the information supplementary prompting voice.
其中,资源转移类型,用于表征资源转移处理的类型。资源转移操作界面,是用于进行资源转移操作的界面。Among them, the resource transfer type is used to represent the type of resource transfer processing. The resource transfer operation interface is an interface for performing resource transfer operations.
在一个实施例中,资源转移类型,可以包括支付、转账和赠送虚拟物品(虚拟礼物或红包等)等中的至少一种。In one embodiment, the resource transfer type may include at least one of payment, transfer, and gifting of virtual items (virtual gifts or red envelopes, etc.).
具体地,终端可以根据从意图信息中提取的资源转移要素信息中的资源转移类型,展示与资源转移类型相应的资源转移操作界面。Specifically, the terminal may display a resource transfer operation interface corresponding to the resource transfer type according to the resource transfer type in the resource transfer element information extracted from the intention information.
在一个实施例中,终端可以接收用户基于资源转移操作界面手动输入的补充的资源转移要素信息。In one embodiment, the terminal may receive supplementary resource transfer element information manually input by the user based on the resource transfer operation interface.
在另一个实施例中,终端可以展示资源转移图形码,获取资源转移对象通过扫描资源转移图形码所补充的资源转移要素信息。In another embodiment, the terminal may display the resource transfer graphic code, and obtain the resource transfer element information supplemented by the resource transfer object by scanning the resource transfer graphic code.
在另一个实施例中,终端可以展示扫描资源转移图形码的界面,获取用于基于扫描资源转移图形码的界面补充的资源转移对象。In another embodiment, the terminal may display an interface for scanning the resource transfer graphic code, and obtain a resource transfer object for supplementing the interface based on scanning the resource transfer graphic code.
本实施例中,终端可以展示与资源转移类型相应的资源转移操作界面,然后获取基于资源转移操作界面中所获取的补充的资源转移要素信息,可以使用户除通过语音指令补充资源转移要素信息之外,能够通过更多方式来补充资源转移要素信息,提高了资源转移操作的灵活性。In this embodiment, the terminal can display the resource transfer operation interface corresponding to the resource transfer type, and then obtain the supplementary resource transfer element information based on the resource transfer operation interface, which enables the user to supplement the resource transfer element information through voice commands. In addition, resource transfer element information can be supplemented in more ways, which improves the flexibility of resource transfer operations.
在一个实施例中,获取基于资源转移操作界面中所获取的、且为信息补充提示语音所提示补充的资源转移要素信息的步骤,具体包括如下步骤:基于资源转移操作界面接收资源转移图形码生成指令,生成并展示资源转移图形码;获取资源转移对象通过扫描资源转移图形码所补充的资源转移要素信息;资源转移对象,是资源转移数值所需要转移至的对象。In one embodiment, the step of obtaining the resource transfer element information obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice specifically includes the following steps: receiving the resource transfer graphic code generation based on the resource transfer operation interface instruction to generate and display the resource transfer graphic code; obtain the resource transfer element information supplemented by the resource transfer object by scanning the resource transfer graphic code; the resource transfer object is the object to which the resource transfer value needs to be transferred.
具体地,终端可以基于资源转移操作界面接收用户输入的资源转移图形码生成指令,生成并展示资源转移图形码。用户可以将终端展示的资源转移图形码出示给资源转移对象,资源转移对象可以通过扫描资源转移图形码,将资源转移要素信息(比如:资源转移对象和资源转移数值)补充至终端。Specifically, the terminal may receive the resource transfer graphic code generation instruction input by the user based on the resource transfer operation interface, and generate and display the resource transfer graphic code. The user can show the resource transfer graphic code displayed on the terminal to the resource transfer object, and the resource transfer object can scan the resource transfer graphic code to supplement the resource transfer element information (such as resource transfer object and resource transfer value) to the terminal.
在一个实施例中,资源转移图形码,可以为二维码或条形码等用于唯一表征用户的资源账户的图形标识。资源账户,是用于存储用户的资源的账户。In one embodiment, the resource transfer graphic code may be a two-dimensional code or a barcode or other graphic identifier used to uniquely characterize the user's resource account. The resource account is the account used to store the user's resources.
本实施例中,终端除了通过接受用户的语音指令之外,还可以通过展示资源转移图形码进而获取补充的资源转移要素信息,提高了资源转移操作的灵活性。In this embodiment, in addition to accepting the user's voice instruction, the terminal can also obtain supplementary resource transfer element information by displaying the resource transfer graphic code, which improves the flexibility of the resource transfer operation.
在一个实施例中,当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放的步骤,具体包括如下 步骤:当提取的资源转移要素信息中缺少资源转移对象时,则合成第一信息补充提示语音并播放;第一信息补充提示语音,用于提示补充所缺少的资源转移对象。In one embodiment, when the extracted resource transfer element information lacks resource transfer element information for resource transfer, the step of generating and playing the information supplementary prompt voice, specifically includes the following steps: when the extracted resource transfer element information is When the resource transfer object is missing in the resource transfer object, the first information supplementary prompt voice is synthesized and played; the first information supplementary prompt voice is used to prompt and supplement the missing resource transfer object.
其中,资源转移对象,是资源转移数值所需要转移至的对象。The resource transfer object is the object to which the resource transfer value needs to be transferred.
具体地,当提取的资源转移要素信息中缺少资源转移对象时,则合成第一信息补充提示语音并播放,以提示用户补充缺少的资源转移对象。比如:用于触发资源转移处理的语音指令为“支付三块钱”,则从该语音指令中提取的资源转移要素信息中缺少资源转移对象,第一信息补充提示语音可以为“请补充转账对象”或“请补充支付对象”等。Specifically, when the resource transfer object is missing from the extracted resource transfer element information, the first information supplementary prompt voice is synthesized and played to prompt the user to supplement the missing resource transfer object. For example, if the voice command used to trigger the resource transfer process is "pay three yuan", then the resource transfer element information extracted from the voice command is missing the resource transfer object, and the first information supplementary prompt voice can be "Please supplement the transfer object. ” or “Please supplement the payment object”, etc.
本实施例中,终端可以播放信息补充提示语音以提示补充缺少的资源转移对象,使得资源转移过程更加智能,提高了资源转移的便捷性,从而提高资源转移效率。In this embodiment, the terminal can play the information supplement prompt voice to prompt supplement of the missing resource transfer object, which makes the resource transfer process more intelligent, improves the convenience of the resource transfer, and thus improves the resource transfer efficiency.
在一个实施例中,当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放的步骤,具体包括如下步骤:当提取的资源转移要素信息中缺少资源转移数值时,则合成第二信息补充提示语音并播放;第二信息补充提示语音,用于提示补充所缺少的资源转移数值。In one embodiment, when the extracted resource transfer element information lacks resource transfer element information for resource transfer, the step of generating and playing the information supplementary prompt voice, specifically includes the following steps: when the extracted resource transfer element information is When the resource transfer value is missing in the resource transfer value, the second information supplementary prompt voice is synthesized and played; the second information supplementary prompt voice is used to prompt and supplement the missing resource transfer value.
其中,资源转移数值,是所需转移至资源转移对象的资源量。The resource transfer value is the amount of resources that need to be transferred to the resource transfer object.
具体地,当提取的资源转移要素信息中缺少资源转移数值时,则合成第二信息补充提示语音并播放,以提示用户补充所缺少的资源转移数值。比如:用于触发资源转移处理的语音指令为“转账给张三”,则从该语音指令中提取的资源转移要素信息中缺少资源转移数值,第二信息补充提示语音可以为“请补充转账金额”或“请补充支付金额”等。Specifically, when the extracted resource transfer element information lacks the resource transfer value, the second information supplementary prompt voice is synthesized and played to prompt the user to supplement the missing resource transfer value. For example, if the voice command used to trigger the resource transfer process is "transfer to Zhang San", then the resource transfer element information extracted from the voice command lacks the resource transfer value, and the second information supplementary prompt voice can be "Please supplement the transfer amount. ” or “Please supplement the payment amount”, etc.
本实施例中,终端可以播放信息补充提示语音以提示补充缺少的资源转移数值,使得资源转移过程更加智能,提高了资源转移的便捷性。In this embodiment, the terminal can play the information supplement prompt voice to prompt supplement of the missing resource transfer value, which makes the resource transfer process more intelligent and improves the convenience of resource transfer.
在一个实施例中,当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放的步骤,具体包括如下步骤:当提取的资源转移要素信息中缺少资源转移数值和资源转移对象时,则 合成第三信息补充提示语音并播放;所述第三信息补充提示语音,用于提示补充所缺少的资源转移数值和资源转移对象。In one embodiment, when the extracted resource transfer element information lacks resource transfer element information for resource transfer, the step of generating and playing the information supplementary prompt voice, specifically includes the following steps: when the extracted resource transfer element information is When the resource transfer value and the resource transfer object are lacking in the resource transfer value and the resource transfer object, the third information supplementary prompt voice is synthesized and played; the third information supplementary prompt voice is used to prompt and supplement the missing resource transfer value and resource transfer object.
具体地,当提取的资源转移要素信息中同时缺少资源转移数值和资源转移对象时,合成第三信息补充提示语音并播放,以提示用户补充所缺少的资源转移数值和资源转移对象。比如:用于触发资源转移处理的语音指令为“我要转账”,则从该语音指令中提取的资源转移要素信息中缺少资源转移对象和资源转移数值,第三信息补充提示语音可以为“请补充转账金额和转账对象”等。Specifically, when both the resource transfer value and the resource transfer object are missing in the extracted resource transfer element information, the third information supplementary prompt voice is synthesized and played to prompt the user to supplement the missing resource transfer value and resource transfer object. For example, if the voice command used to trigger the resource transfer process is "I want to transfer money", the resource transfer element information extracted from the voice command lacks the resource transfer object and the resource transfer value, and the third information supplementary prompt voice can be "Please Supplementary transfer amount and transfer object”, etc.
本实施例中,终端可以播放信息补充提示语音以提示补充缺少的资源转移数值和资源转移对象,使得资源转移过程更加智能,提高了资源转移的便捷性。In this embodiment, the terminal can play the information supplement prompt voice to prompt supplement of the missing resource transfer value and resource transfer object, which makes the resource transfer process more intelligent and improves the convenience of resource transfer.
在一个实施例中,根据声纹特征验证资源转移权限的步骤,具体包括如下步骤:将提取的声纹特征与注册的声纹特征进行声纹匹配验证,并对在先的至少一个语音指令进行声音真实性检测;当声纹匹配验证通过、且声音真实性检测通过后,判定资源转移权限验证通过。In one embodiment, the step of verifying the resource transfer authority according to the voiceprint feature specifically includes the following steps: performing voiceprint matching verification on the extracted voiceprint feature and the registered voiceprint feature, and performing voiceprint matching verification on at least one previous voice command. Sound authenticity detection; when the voiceprint matching verification is passed and the sound authenticity detection is passed, it is determined that the verification of the resource transfer authority is passed.
其中,注册的声纹特征,是从登录终端的用户标识对应的用户所注册的语音中提取的声纹特征。声纹匹配验证,是验证两套声纹特征是否相匹配的处理。声音真实性检测,是检测语音数据是否为真人发出的语音的处理。The registered voiceprint feature is a voiceprint feature extracted from the registered voice of the user corresponding to the user ID of the logged-in terminal. Voiceprint matching verification is the process of verifying whether two sets of voiceprint features match. Sound authenticity detection is the process of detecting whether the voice data is the voice uttered by a real person.
具体地,终端可以将提取的声纹特征与注册的声纹特征进行声纹匹配验证,当提取的声纹特征与注册的声纹特征之间的相似度大于或等于预设阈值时,则判定声纹匹配验证通过。终端可以对在先的至少一个语音指令进行声音真实性检测,当检测结果为所检测的语音指令均为真人发出的语音时,则判定声音真实性检测通过。当声纹匹配验证通过、且声音真实性检测通过后,则判定资源转移权限验证通过。可以理解,进行声音真实性检测的语音指令,可以与进行声纹验证的语音指令一致。Specifically, the terminal can perform voiceprint matching verification between the extracted voiceprint feature and the registered voiceprint feature, and when the similarity between the extracted voiceprint feature and the registered voiceprint feature is greater than or equal to a preset threshold, it is determined that Voiceprint matching verification passed. The terminal may perform sound authenticity detection on at least one previous voice command, and when the detection result is that the detected voice commands are all voices uttered by a real person, it is determined that the sound authenticity detection has passed. When the voiceprint matching verification is passed and the voice authenticity test is passed, it is determined that the resource transfer authority verification is passed. It can be understood that the voice command for sound authenticity detection may be consistent with the voice command for voiceprint verification.
可以理解,声纹匹配验证用于验证发出语音指令的用户是否为注册所操作的资源账户的用户本人,即,用于身份验证。声音真实性检测,用于检测语音指令的真实性,避免通过播放录音或播放合成的语音等方式冒充注册所操作的资源账户的用户本人。It can be understood that the voiceprint matching verification is used to verify whether the user who issued the voice command is the user who registered the operated resource account, that is, used for identity verification. Sound authenticity detection is used to detect the authenticity of voice commands and avoid impersonating the user who registered the operated resource account by playing the recording or playing the synthesized voice.
本实施例中,通过声纹匹配验证和声音真实性检测,进行资源转移权限验 证,能够提高资源转移的安全性。此外,通过验证语音指令即可进行资源转移权限验证,无需采用传统的验证方式(比如:短信验证码验证、指纹识别、密码验证或人脸识别等),提高了资源转移的便捷性,从而提高资源转移效率。In this embodiment, resource transfer authority verification is performed through voiceprint matching verification and voice authenticity detection, which can improve the security of resource transfer. In addition, the resource transfer authority can be verified by verifying the voice command, without using traditional verification methods (such as: SMS verification code verification, fingerprint recognition, password verification or face recognition, etc.), which improves the convenience of resource transfer, thereby improving the resource transfer efficiency.
在一个实施例中,该方法还包括如下步骤:当根据声纹特征验证资源转移权限失败时,切换至界面交互验证模式;在界面交互验证模式下,生成并展示用于输入验证信息的交互界面;获取在交互界面中输入的权限验证信息,并在对权限验证信息的验证通过后,根据资源转移要素信息进行资源转移处理。In one embodiment, the method further includes the following steps: when the verification of the resource transfer authority fails according to the voiceprint feature, switching to an interface interactive verification mode; in the interface interactive verification mode, generating and displaying an interactive interface for inputting verification information ; Obtain the authority verification information entered in the interactive interface, and after the authority verification information is verified, perform resource transfer processing according to the resource transfer element information.
其中,界面交互验证模式,是根据用户基于界面输入的验证信息进行权限验证的模式。权限验证信息,是用于进行权限验证的信息。The interface interactive verification mode is a mode in which authority verification is performed according to the verification information input by the user based on the interface. The authorization verification information is information used for authorization verification.
在一个实施例中,权限验证信息,可以包括短信验证码、指纹信息、人脸图像信息、密码等中的至少一种。In one embodiment, the authority verification information may include at least one of a short message verification code, fingerprint information, face image information, and a password.
具体地,当根据声纹特征验证资源转移权限失败时,终端可以切换至界面交互验证模式,生成并展示用于输入验证信息的交互界面。终端获取在交互界面中输入的权限验证信息,并对权限验证信息进行验证。当权限验证信息的验证通过时,终端则根据资源转移要素信息进行资源转移处理。当权限验证信息的验证不通过时,终端则不进行资源转移处理。Specifically, when the verification of the resource transfer authority fails according to the voiceprint feature, the terminal may switch to the interface interactive verification mode, and generate and display an interactive interface for inputting verification information. The terminal acquires the authority verification information entered in the interactive interface, and verifies the authority verification information. When the verification of the authority verification information is passed, the terminal performs resource transfer processing according to the resource transfer element information. When the verification of the authority verification information fails, the terminal does not perform resource transfer processing.
本实施例中,当根据声纹特征验证资源转移权限失败时终端可以切换至传统的界面交互验证模式进行权限验证,从而避免了由于用户的声音出现变化或其他特殊原因导致的声纹特征验证资源转移权限失败,而无法进行资源转移的问题,提高了资源转移权限验证的灵活性。In this embodiment, when the resource transfer authority fails to be verified according to the voiceprint feature, the terminal can switch to the traditional interface interactive verification mode to perform authority verification, thereby avoiding the voiceprint feature verification resource due to changes in the user's voice or other special reasons. The problem that the resource transfer cannot be performed due to the failure to transfer the authority improves the flexibility of the verification of the resource transfer authority.
在一个实施例中,资源转移要素信息包括资源转移数值和资源转移对象。根据资源转移要素信息进行资源转移处理的步骤,具体包括如下步骤:向资源转移要素信息中所指定的资源转移对象,转移资源转移要素信息中所指定的资源转移数值。In one embodiment, the resource transfer element information includes a resource transfer value and a resource transfer object. The step of performing resource transfer processing according to the resource transfer element information specifically includes the following steps: transferring the resource transfer value specified in the resource transfer element information to the resource transfer object specified in the resource transfer element information.
具体地,终端可以从用户的资源账户中转移资源转移要素信息中所指定的资源转移数值,至资源转移要素信息中所指定的资源转移对象。Specifically, the terminal can transfer the resource transfer value specified in the resource transfer element information from the user's resource account to the resource transfer object specified in the resource transfer element information.
比如:资源转移对象为张三,资源转移数值为5000元,则终端可以从用户的资源转移账户中转移5000元至张三的资源账户。For example, if the resource transfer object is Zhang San, and the resource transfer value is 5,000 yuan, the terminal can transfer 5,000 yuan from the user's resource transfer account to Zhang San's resource account.
本实施例中,终端能够智能地向资源转移要素信息中所指定的资源转移对象,转移资源转移要素信息中所指定的资源转移数值,提高了资源转移的便捷性,提高了资源转移效率。In this embodiment, the terminal can intelligently transfer the resource transfer value specified in the resource transfer element information to the resource transfer object specified in the resource transfer element information, which improves the convenience and efficiency of resource transfer.
如图3所示,为本申请各实施例中的资源转移方法的整体流程示意图。首先,终端检测到资源转移应用被打开时,则触发开始侦听语音指令。当侦听到用户输入的用于触发资源转移处理的语音指令时,终端则解析侦听到的语音指令中的资源转移要素信息。当解析得到的资源转移要素信息中缺少用于进行资源转移处理的资源转移要素信息时,终端则生成并播放信息补充提示语音,接收用户输入的用于补充信息的语音指令,或接收用户手动输入或使用资源转移图形码获取的资源转移要素信息,然后根据补充后的完整的资源转移要素信息,生成并播放信息确认提示语音;当解析得到的资源转移要素信息中不缺少用于进行资源转移处理的资源转移要素信息时,终端则直接根据资源转移要素信息,生成并播放信息确认提示语音。当用户未输入用于触发资源转移处理的语音指令,而是选择手动输入或使用资源转移图形码时,终端则接收用户手动输入或使用资源转移图形码获取的资源转移要素信息,然后根据完整的资源转移要素信息,生成并播放信息确认提示语音。在播放信息确认提示语音后,终端接收用户输入的用于进行资源转移确认的语音指令,然后对整个资源转移过程中接收到的至少一个语音指令进行声纹验证和声音真实性检测来进行权限验证,在权限验证通过后,则进行资源转移处理。例如:在用户与所述终端进行资源转移交互的过程中,用户输入了三条语音指令从而完成了整个资源转移交互的过程,则所述终端可以仅针对所述三条语音指令中的任意一条进行语音指令进行声纹验证和声音真实性检测来进行权限验证,可以理解,选取哪一条语音指令可以由用户设置,如用户设置选取第一条语音指令或最后一条语音指令或其他语音指令来验证,亦或由所述终端随机选取用户输入的所有语音指令中的任意一条语音指令来进行验证。或所述终端针对所述三条语音指令中的任意两条语音指令进行声纹验证和声音真实性检测来进行权限验证以提高资源转移过程中的安全性,可以理解,选取哪两条语音指令可以由用户进行设置,如用户设置选取第一条语音指令和最后一条语音指令来进行验证,亦或由所述终端随机选 取用户输入的所有语音指令中的两条语音指令来进行验证。或所述终端针对所述三条语音指令中的所有语音指令,即每一条语音指令均进行声纹验证和声音真实性检测来进行权限验证以进一步提高资源转移过程中的安全性。当权限验证未通过,终端则切换至界面交互模式再一次进行权限验证,当权限验证通过时,则进行资源转移处理。As shown in FIG. 3 , it is a schematic overall flow diagram of the resource transfer method in each embodiment of the present application. First, when the terminal detects that the resource transfer application is opened, it triggers to start listening for the voice command. When listening to the voice instruction input by the user for triggering the resource transfer process, the terminal parses the resource transfer element information in the detected voice command. When the resource transfer element information obtained by the analysis lacks the resource transfer element information for resource transfer processing, the terminal generates and plays the information supplementary prompt voice, receives the voice command input by the user for supplementing the information, or receives the user's manual input Or use the resource transfer element information obtained by the resource transfer graphic code, and then generate and play the information confirmation prompt according to the supplemented and complete resource transfer element information; When the resource transfer element information is entered, the terminal directly generates and plays the message confirmation prompt voice according to the resource transfer element information. When the user does not input the voice command for triggering the resource transfer process, but chooses to manually input or use the resource transfer graphic code, the terminal receives the resource transfer element information manually input by the user or obtained by using the resource transfer graphic code, and then according to the complete Resource transfer element information, generate and play information confirmation prompt voice. After playing the information confirmation prompt voice, the terminal receives the voice command input by the user to confirm the resource transfer, and then performs voiceprint verification and voice authenticity detection on at least one voice command received during the entire resource transfer process to verify the authority. , after the permission verification is passed, the resource transfer process is performed. For example: in the process of resource transfer interaction between the user and the terminal, the user inputs three voice commands to complete the entire resource transfer interaction process, then the terminal can only perform voice commands for any one of the three voice commands. It can be understood that which voice command to select can be set by the user. For example, the user sets to select the first voice command or the last voice command or other voice commands for verification. Or, the terminal randomly selects any one of all the voice commands input by the user for verification. Or the terminal carries out voiceprint verification and sound authenticity detection for any two voice commands in the three voice commands to perform authority verification to improve the security in the resource transfer process. It can be understood that which two voice commands are selected can It is set by the user, for example, the user sets to select the first voice command and the last voice command for verification, or the terminal randomly selects two voice commands from all voice commands input by the user for verification. Or the terminal performs authority verification for all the voice instructions in the three voice instructions, that is, each voice instruction performs voiceprint verification and voice authenticity detection to further improve the security in the resource transfer process. When the authority verification fails, the terminal switches to the interface interactive mode to perform authority verification again, and when the authority verification passes, the resource transfer process is performed.
应该理解的是,虽然图2的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of FIG. 2 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIG. 2 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution sequence of these steps or stages is also It does not have to be performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages within the other steps.
在一个实施例中,如图4所示,提供了一种资源转移装置400,包括:侦听模块402、意图解析模块404、信息确认模块406、验证模块408和资源转移模块410,其中:In one embodiment, as shown in FIG. 4 , a resource transfer apparatus 400 is provided, including: a listening module 402, an intention parsing module 404, an information confirmation module 406, a verification module 408 and a resource transfer module 410, wherein:
侦听模块402,用于在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令。The listening module 402 is configured to, after detecting that the resource transfer application is opened, listen to the voice instruction used to trigger the resource transfer process.
意图解析模块404,用于对侦听到的语音指令进行意图解析,得到资源转移要素信息。The intent parsing module 404 is configured to perform intent parsing on the detected voice instruction to obtain resource transfer element information.
信息确认模块406,用于根据资源转移要素信息,生成信息确认提示语音并播放;信息确认提示语音,用于提示对资源转移要素信息进行准确性确认;接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令。The information confirmation module 406 is used to generate and play the information confirmation prompt voice according to the resource transfer element information; the information confirmation prompt voice is used to prompt the accuracy confirmation of the resource transfer element information; Voice command for resource transfer confirmation.
验证模块408,用于从在先的至少一个语音指令中提取声纹特征,并根据声纹特征验证资源转移权限。The verification module 408 is configured to extract the voiceprint feature from at least one previous voice instruction, and verify the resource transfer authority according to the voiceprint feature.
资源转移模块410,用于在权限验证通过后,根据资源转移要素信息进行资源转移处理。The resource transfer module 410 is configured to perform resource transfer processing according to the resource transfer element information after the authority verification is passed.
在一个实施例中,意图解析模块404还用于对侦听到的语音指令进行意图解析,得到意图信息;提取意图信息中的资源转移要素信息;当提取的资源转 移要素信息中不缺少用于进行资源转移的资源转移要素信息时,则根据提取的资源转移要素信息,则通知信息确认模块406执行根据资源转移要素信息,生成信息确认提示语音并播放的步骤。In one embodiment, the intent parsing module 404 is further configured to perform intent parsing on the intercepted voice instruction to obtain intent information; extract resource transfer element information in the intent information; when the extracted resource transfer element information is not lacking for When the resource transfer element information of the resource transfer is performed, according to the extracted resource transfer element information, the notification information confirmation module 406 executes the step of generating an information confirmation prompt voice and playing it according to the resource transfer element information.
在一个实施例中,意图解析模块404还用于对侦听到的语音指令进行语音识别,得到相应的文字内容;对文字内容进行自然语言理解处理,识别文字内容所表达的意图信息。In one embodiment, the intent parsing module 404 is further configured to perform speech recognition on the detected voice command to obtain corresponding text content; perform natural language understanding processing on the text content to identify the intent information expressed by the text content.
在一个实施例中,如图5所示,资源转移装置400还包括:In one embodiment, as shown in FIG. 5 , the resource transfer apparatus 400 further includes:
信息补充模块412,用于当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放;信息补充提示语音,用于提示补充所缺少的资源转移要素信息;接收响应于信息补充提示语音所补充的资源转移要素信息。信息确认模块406还用于根据从意图信息中提取的资源转移要素信息、以及所补充的资源转移要素信息,生成信息确认提示语音并播放。The information supplement module 412 is used to generate and play the information supplement prompt voice when the resource transfer element information used for resource transfer is missing in the extracted resource transfer element information; the information supplement prompt voice is used to prompt the supplement of the missing resources Transfer element information; receive resource transfer element information supplemented in response to the information supplement prompt voice. The information confirmation module 406 is further configured to generate and play an information confirmation prompt voice according to the resource transfer element information extracted from the intention information and the supplemented resource transfer element information.
在一个实施例中,信息补充模块412还用于接收响应于信息补充提示语音所输入的用于补充信息的语音指令;从用于补充信息的语音指令中,提取所补充的资源转移要素信息。In one embodiment, the information supplement module 412 is further configured to receive a voice instruction for supplementing information input in response to the information supplement prompt voice; and extract the supplemented resource transfer element information from the voice instruction for supplementing information.
在一个实施例中,意图信息中提取的资源转移要素信息中包括资源转移类型。信息补充模块412还用于展示与资源转移类型相应的资源转移操作界面;获取基于资源转移操作界面中所获取的、且为信息补充提示语音所提示补充的资源转移要素信息。In one embodiment, the resource transfer element information extracted from the intent information includes the resource transfer type. The information supplement module 412 is further configured to display the resource transfer operation interface corresponding to the resource transfer type; obtain the resource transfer element information based on the resource transfer operation interface obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice.
在一个实施例中,信息补充模块412还用于基于资源转移操作界面接收资源转移图形码生成指令,生成并展示资源转移图形码;获取资源转移对象通过扫描资源转移图形码所补充的资源转移要素信息;资源转移对象,是资源转移数值所需要转移至的对象。In one embodiment, the information supplement module 412 is further configured to receive the resource transfer graphic code generation instruction based on the resource transfer operation interface, generate and display the resource transfer graphic code; obtain the resource transfer elements supplemented by the resource transfer object by scanning the resource transfer graphic code Information; the resource transfer object is the object to which the resource transfer value needs to be transferred.
在一个实施例中,信息补充模块412还用于当提取的资源转移要素信息中缺少资源转移对象时,则合成第一信息补充提示语音并播放;第一信息补充提示语音,用于提示补充所缺少的资源转移对象。In one embodiment, the information supplement module 412 is further configured to synthesize and play the first information supplement prompt voice when the extracted resource transfer element information lacks the resource transfer object; the first information supplement prompt voice is used to prompt and supplement all the information. Missing resource transfer object.
在一个实施例中,信息补充模块412还用于当提取的资源转移要素信息中 缺少资源转移数值时,则合成第二信息补充提示语音并播放;第二信息补充提示语音,用于提示补充所缺少的资源转移数值。In one embodiment, the information supplement module 412 is further configured to synthesize and play the second information supplement prompt voice when the extracted resource transfer element information lacks the resource transfer value; the second information supplement prompt voice is used to prompt the supplement of all Missing resource transfer value.
在一个实施例中,信息补充模块412还用于当提取的资源转移要素信息中缺少资源转移数值和资源转移对象时,则合成第三信息补充提示语音并播放;所述第三信息补充提示语音,用于提示补充所缺少的资源转移数值和资源转移对象。In one embodiment, the information supplementation module 412 is further configured to synthesize and play a third information supplementary prompt voice when the extracted resource transfer element information lacks the resource transfer value and the resource transfer object; the third information supplementary prompt voice , used to prompt to supplement the missing resource transfer value and resource transfer object.
在一个实施例中,验证模块408还用于将提取的声纹特征与注册的声纹特征进行声纹匹配验证,并对在先的至少一个语音指令进行声音真实性检测;当声纹匹配验证通过、且声音真实性检测通过后,判定资源转移权限验证通过。In one embodiment, the verification module 408 is further configured to perform voiceprint matching verification on the extracted voiceprint feature and the registered voiceprint feature, and perform voice authenticity detection on at least one previous voice instruction; when the voiceprint matching verification is performed After passing and the sound authenticity test is passed, it is determined that the verification of the resource transfer authority is passed.
在一个实施例中,验证模块408还用于当根据声纹特征验证资源转移权限失败时,切换至界面交互验证模式;在界面交互验证模式下,生成并展示用于输入验证信息的交互界面;获取在交互界面中输入的权限验证信息,并在对权限验证信息的验证通过后,根据资源转移要素信息进行资源转移处理。In one embodiment, the verification module 408 is further configured to switch to the interface interactive verification mode when the resource transfer authority fails to be verified according to the voiceprint feature; in the interface interactive verification mode, generate and display an interactive interface for inputting verification information; The authority verification information entered in the interactive interface is acquired, and after the authority verification information is verified, the resource transfer process is performed according to the resource transfer element information.
在一个实施例中,资源转移要素信息包括资源转移数值和资源转移对象。资源转移模块410还用于向资源转移要素信息中所指定的资源转移对象,转移资源转移要素信息中所指定的资源转移数值。In one embodiment, the resource transfer element information includes a resource transfer value and a resource transfer object. The resource transfer module 410 is further configured to transfer the resource transfer value specified in the resource transfer element information to the resource transfer object specified in the resource transfer element information.
上述资源转移装置中,在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令,对侦听到的语音指令进行意图解析,得到资源转移要素信息,然后根据资源转移要素信息,生成信息确认提示语音并播放,接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令,接着从在先的至少一个语音指令中提取声纹特征,并根据声纹特征验证资源转移权限,在权限验证通过后,根据资源转移要素信息进行资源转移处理。整个资源转移过程,采用语音对话的形式即可完成,无需手动操作,提高了资源转移的便捷性,从而提高了资源转移效率。此外,对在先的至少一个语音指令进行资源转移权限验证,能够保障资源转移过程中的安全性。In the above resource transfer device, after detecting that the resource transfer application is opened, it listens to the voice command used to trigger the resource transfer process, performs intention analysis on the detected voice command, obtains resource transfer element information, and then according to the resource transfer element information, generate the information confirmation prompt voice and play it, receive the voice command input after the accuracy confirmation is passed and used for the confirmation of resource transfer, then extract the voiceprint feature from at least one previous voice command, and according to the voiceprint The feature verifies the resource transfer authority, and after the authority verification is passed, the resource transfer process is performed according to the resource transfer element information. The entire resource transfer process can be completed in the form of voice dialogue without manual operation, which improves the convenience of resource transfer and thus improves the efficiency of resource transfer. In addition, the resource transfer authority verification is performed on the preceding at least one voice command, which can ensure the security during the resource transfer process.
此外,传统依赖用户手动进行资源转移操作的方法,在用户操作不便的情况下,容易造成过多的操作失误,从而因响应错误操作导致不必要的系统资源损耗,采用本申请语音对话的形式进行资源转移,不需要或者减少用户手动操 作,降低了操作难度,从而避免或减少因错误操作导致的不必要的系统资源浪费。In addition, the traditional method of relying on the user to manually perform the resource transfer operation, in the case of inconvenient user operation, is likely to cause too many operation errors, thereby causing unnecessary system resource consumption due to the response to the wrong operation. Resource transfer does not require or reduces the manual operation of users, which reduces the difficulty of operation, thereby avoiding or reducing unnecessary waste of system resources caused by wrong operations.
关于资源转移装置的具体限定可以参见上文中对于资源转移方法的限定,在此不再赘述。上述资源转移装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the resource transfer apparatus, reference may be made to the above limitation on the resource transfer method, which will not be repeated here. Each module in the above resource transfer apparatus can be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种资源转移方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 6 . The computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. The computer program, when executed by a processor, implements a resource transfer method. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, a computer device is also provided, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (16)

  1. 一种资源转移方法,其特征在于,所述方法包括:A resource transfer method, characterized in that the method comprises:
    在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令;After detecting that the resource transfer application is opened, listen to the voice instruction used to trigger the resource transfer process;
    对侦听到的所述语音指令进行意图解析,得到资源转移要素信息;Perform intent analysis on the detected voice command to obtain resource transfer element information;
    根据所述资源转移要素信息,生成信息确认提示语音并播放;所述信息确认提示语音,用于提示对所述资源转移要素信息进行准确性确认;According to the resource transfer element information, an information confirmation prompt voice is generated and played; the information confirmation prompt voice is used to prompt the accuracy of the resource transfer element information to be confirmed;
    接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令;Receive a voice command entered after the accuracy confirmation is passed and used for resource transfer confirmation;
    从在先的至少一个所述语音指令中提取声纹特征,并根据所述声纹特征验证资源转移权限;Extracting voiceprint features from at least one of the preceding voice instructions, and verifying the resource transfer authority according to the voiceprint features;
    在权限验证通过后,根据所述资源转移要素信息进行资源转移处理。After the authority verification is passed, the resource transfer process is performed according to the resource transfer element information.
  2. 根据权利要求1所述的方法,其特征在于,所述对侦听到的所述语音指令进行意图解析,得到资源转移要素信息包括:The method according to claim 1, wherein the performing intention analysis on the intercepted voice command to obtain resource transfer element information comprises:
    对侦听到的所述语音指令进行意图解析,得到意图信息;Perform intent analysis on the detected voice command to obtain intent information;
    提取所述意图信息中的资源转移要素信息;extracting resource transfer element information in the intent information;
    当提取的资源转移要素信息中不缺少用于进行资源转移的资源转移要素信息时,则根据提取的资源转移要素信息,执行所述根据所述资源转移要素信息,生成信息确认提示语音并播放的步骤。When there is no shortage of resource transfer element information for resource transfer in the extracted resource transfer element information, then according to the extracted resource transfer element information, the operation of generating and playing the information confirmation prompt voice according to the resource transfer element information is performed. step.
  3. 根据权利要求2所述的方法,其特征在于,所述对侦听到的所述语音指令进行意图解析,得到意图信息包括:The method according to claim 2, wherein the performing intention analysis on the detected voice command to obtain the intention information comprises:
    对侦听到的所述语音指令进行语音识别,得到相应的文字内容;Perform voice recognition on the detected voice command to obtain corresponding text content;
    对所述文字内容进行自然语言理解处理,识别所述文字内容所表达的意图信息。Perform natural language understanding processing on the text content, and identify the intention information expressed by the text content.
  4. 根据权利要求2所述的方法,其特征在于,所述对侦听到的所述语音指令进行意图解析,得到资源转移要素信息还包括:The method according to claim 2, wherein the performing intention analysis on the detected voice command to obtain resource transfer element information further comprises:
    当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放;所述信息补充提示语音,用于提示补充所缺少的所述资源转移要素信息;When the extracted resource transfer element information lacks resource transfer element information for resource transfer, an information supplementary prompt voice is generated and played; the information supplement prompt voice is used to prompt and supplement the missing resource transfer element information ;
    接收响应于所述信息补充提示语音所补充的资源转移要素信息;receiving resource transfer element information supplemented in response to the information supplement prompt voice;
    所述根据所述资源转移要素信息,生成信息确认提示语音并播放包括:The generating and playing an information confirmation prompt voice according to the resource transfer element information includes:
    根据从所述意图信息中提取的资源转移要素信息、以及所补充的所述资源转移要素信息,生成信息确认提示语音并播放。Based on the resource transfer element information extracted from the intention information and the supplemented resource transfer element information, an information confirmation prompt voice is generated and played.
  5. 根据权利要求4所述的方法,其特征在于,所述接收响应于所述信息补充提示语音所补充的资源转移要素信息包括:The method according to claim 4, wherein the receiving the resource transfer element information supplemented in response to the information supplementary prompt voice comprises:
    接收响应于所述信息补充提示语音所输入的用于补充信息的语音指令;receiving a voice instruction for supplementing information input in response to the information supplementing prompt voice;
    从所述用于补充信息的语音指令中,提取所补充的所述资源转移要素信息。From the voice instruction for supplementary information, the supplemented resource transfer element information is extracted.
  6. 根据权利要求4所述的方法,其特征在于,所述意图信息中提取的资源转移要素信息中包括资源转移类型;The method according to claim 4, wherein the resource transfer element information extracted from the intention information includes a resource transfer type;
    在所述接收响应于所述信息补充提示语音所补充的资源转移要素信息之前,所述方法还包括:Before the receiving the resource transfer element information supplemented by the prompt voice in response to the information supplement, the method further includes:
    展示与所述资源转移类型相应的资源转移操作界面;Displaying a resource transfer operation interface corresponding to the resource transfer type;
    所述接收响应于所述信息补充提示语音所补充的资源转移要素信息包括:The receiving the resource transfer element information supplemented in response to the information supplementing prompt voice includes:
    获取基于所述资源转移操作界面中所获取的、且为所述信息补充提示语音所提示补充的资源转移要素信息。Obtaining resource transfer element information based on the resource transfer operation interface obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice.
  7. 根据权利要求6所述的方法,其特征在于,所述获取基于所述资源转移操作界面中所获取的、且为所述信息补充提示语音所提示补充的资源转移要素信息包括:The method according to claim 6, wherein the obtaining is based on the resource transfer element information obtained in the resource transfer operation interface and prompted and supplemented by the information supplement prompt voice, comprising:
    基于所述资源转移操作界面接收资源转移图形码生成指令,生成并展示资源转移图形码;Receive a resource transfer graphic code generation instruction based on the resource transfer operation interface, and generate and display a resource transfer graphic code;
    获取资源转移对象通过扫描所述资源转移图形码所补充的资源转移要素信息;所述资源转移对象,是资源转移数值所需要转移至的对象。Obtain the resource transfer element information supplemented by the resource transfer object by scanning the resource transfer graphic code; the resource transfer object is the object to which the resource transfer value needs to be transferred.
  8. 根据权利要求4所述的方法,其特征在于,所述当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放包括:The method according to claim 4, wherein when the extracted resource transfer element information lacks resource transfer element information for performing resource transfer, generating an information supplementary prompt voice and playing it comprises:
    当提取的资源转移要素信息中缺少资源转移对象时,则合成第一信息补充提示语音并播放;所述第一信息补充提示语音,用于提示补充所缺少的资源转移对象。When the extracted resource transfer element information lacks the resource transfer object, the first information supplementary prompt voice is synthesized and played; the first information supplementary prompt voice is used to prompt and supplement the missing resource transfer object.
  9. 根据权利要求4所述的方法,其特征在于,所述当提取的资源转移要素 信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放包括:The method according to claim 4, wherein when the extracted resource transfer element information lacks resource transfer element information for performing resource transfer, generating an information supplementary prompt voice and playing it comprises:
    当提取的资源转移要素信息中缺少资源转移数值时,则合成第二信息补充提示语音并播放;所述第二信息补充提示语音,用于提示补充所缺少的资源转移数值。When the extracted resource transfer element information lacks the resource transfer value, the second information supplementary prompt voice is synthesized and played; the second information supplementary prompt voice is used to prompt and supplement the missing resource transfer value.
  10. 根据权利要求4所述的方法,其特征在于,所述当提取的资源转移要素信息中缺少用于进行资源转移的资源转移要素信息时,则生成信息补充提示语音并播放包括:The method according to claim 4, wherein when the extracted resource transfer element information lacks resource transfer element information for performing resource transfer, generating an information supplementary prompt voice and playing it comprises:
    当提取的资源转移要素信息中缺少资源转移数值和资源转移对象时,则合成第三信息补充提示语音并播放;所述第三信息补充提示语音,用于提示补充所缺少的资源转移数值和资源转移对象。When the extracted resource transfer element information lacks the resource transfer value and the resource transfer object, the third information supplementary prompt voice is synthesized and played; the third information supplementary prompt voice is used to prompt and supplement the missing resource transfer value and resource transfer object.
  11. 根据权利要求1所述的方法,其特征在于,所述根据所述声纹特征验证资源转移权限包括:The method according to claim 1, wherein the verifying the resource transfer authority according to the voiceprint feature comprises:
    将提取的声纹特征与注册的声纹特征进行声纹匹配验证,并对在先的至少一个所述语音指令进行声音真实性检测;Perform voiceprint matching verification on the extracted voiceprint feature and the registered voiceprint feature, and perform sound authenticity detection on at least one of the preceding voice commands;
    当所述声纹匹配验证通过、且声音真实性检测通过后,判定资源转移权限验证通过。When the voiceprint matching verification passes and the voice authenticity detection passes, it is determined that the resource transfer authority verification passes.
  12. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    当根据声纹特征验证资源转移权限失败时,切换至界面交互验证模式;When the resource transfer permission fails to be verified based on the voiceprint feature, switch to the interface interactive verification mode;
    在所述界面交互验证模式下,生成并展示用于输入验证信息的交互界面;In the interface interactive verification mode, generating and displaying an interactive interface for inputting verification information;
    获取在所述交互界面中输入的权限验证信息,并在对所述权限验证信息的验证通过后,根据所述资源转移要素信息进行资源转移处理。The authority verification information input in the interactive interface is acquired, and after the authority verification information is verified, the resource transfer process is performed according to the resource transfer element information.
  13. 根据权利要求1至12中任一项所述的方法,其特征在于,所述资源转移要素信息包括资源转移数值和资源转移对象;The method according to any one of claims 1 to 12, wherein the resource transfer element information includes a resource transfer value and a resource transfer object;
    所述根据所述资源转移要素信息进行资源转移处理包括:The performing resource transfer processing according to the resource transfer element information includes:
    向所述资源转移要素信息中所指定的所述资源转移对象,转移所述资源转移要素信息中所指定的所述资源转移数值。The resource transfer value specified in the resource transfer element information is transferred to the resource transfer object specified in the resource transfer element information.
  14. 一种资源转移装置,其特征在于,所述装置包括:A resource transfer device, characterized in that the device comprises:
    侦听模块,用于在检测到资源转移应用被打开后,侦听用于触发资源转移处理的语音指令;The listening module is used to listen to the voice command used to trigger the resource transfer process after detecting that the resource transfer application is opened;
    意图解析模块,用于对侦听到的所述语音指令进行意图解析,得到资源转移要素信息;an intent parsing module, configured to perform intent parsing on the intercepted voice command to obtain resource transfer element information;
    信息确认模块,用于根据所述资源转移要素信息,生成信息确认提示语音并播放;所述信息确认提示语音,用于提示对所述资源转移要素信息进行准确性确认;接收在准确性确认通过后输入的、且用于进行资源转移确认的语音指令;The information confirmation module is used to generate and play the information confirmation prompt voice according to the resource transfer element information; the information confirmation prompt voice is used to prompt the accuracy confirmation of the resource transfer element information; The voice command entered later and used to confirm the resource transfer;
    验证模块,用于从在先的至少一个所述语音指令中提取声纹特征,并根据所述声纹特征验证资源转移权限;a verification module for extracting a voiceprint feature from at least one of the preceding voice instructions, and verifying the resource transfer authority according to the voiceprint feature;
    资源转移模块,用于在权限验证通过后,根据所述资源转移要素信息进行资源转移处理。The resource transfer module is configured to perform resource transfer processing according to the resource transfer element information after the authority verification is passed.
  15. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至13中任一项所述的方法的步骤。A computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 13 when the processor executes the computer program.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至13中任一项所述的方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.
PCT/CN2021/103977 2020-07-24 2021-07-01 Resource transfer method and apparatus, computer device, and storage medium WO2022017152A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010720153.9 2020-07-24
CN202010720153.9A CN111598577B (en) 2020-07-24 2020-07-24 Resource transfer method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022017152A1 true WO2022017152A1 (en) 2022-01-27

Family

ID=72190268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/103977 WO2022017152A1 (en) 2020-07-24 2021-07-01 Resource transfer method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN111598577B (en)
WO (1) WO2022017152A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111598577B (en) * 2020-07-24 2020-11-13 深圳市声扬科技有限公司 Resource transfer method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277043A1 (en) * 2005-06-06 2006-12-07 Edward Tomes Voice authentication system and methods therefor
CN108428451A (en) * 2018-03-12 2018-08-21 联想(北京)有限公司 Sound control method, electronic equipment and speech control system
CN110348834A (en) * 2019-05-27 2019-10-18 平安银行股份有限公司 Resource transfers method, apparatus, electronic equipment and medium based on speech recognition
CN110830667A (en) * 2019-11-18 2020-02-21 中国银行股份有限公司 Intelligent interactive voice response method and device
CN111223485A (en) * 2019-12-19 2020-06-02 深圳壹账通智能科技有限公司 Intelligent interaction method and device, electronic equipment and storage medium
CN111598577A (en) * 2020-07-24 2020-08-28 深圳市声扬科技有限公司 Resource transfer method, device, computer equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011089450A2 (en) * 2010-01-25 2011-07-28 Andrew Peter Nelson Jerram Apparatuses, methods and systems for a digital conversation management platform
CN108596599A (en) * 2018-04-28 2018-09-28 上海与德通讯技术有限公司 A kind of method of payment, intelligent module and Cash collecting equipment
CN109447789A (en) * 2018-11-01 2019-03-08 北京得意音通技术有限责任公司 Method for processing business, device, electronic equipment and storage medium
CN109739971B (en) * 2019-01-03 2021-04-23 浙江百应科技有限公司 Method for realizing full-duplex intelligent voice conversation based on WeChat applet
CN111429143A (en) * 2019-01-10 2020-07-17 上海小蚁科技有限公司 Transfer method, device, storage medium and terminal based on voiceprint recognition
CN110059168A (en) * 2019-01-23 2019-07-26 艾肯特公司 The method that man-machine interactive system based on natural intelligence is trained
CN109933654A (en) * 2019-01-30 2019-06-25 神思电子技术股份有限公司 A kind of dialogue management method based on State Tree
CN110570295A (en) * 2019-07-25 2019-12-13 深圳壹账通智能科技有限公司 Resource collection method and device, computer equipment and storage medium
CN110619873A (en) * 2019-08-16 2019-12-27 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN111028835B (en) * 2019-11-18 2022-08-09 北京小米移动软件有限公司 Resource replacement method, device, system and computer readable storage medium
CN111222117A (en) * 2019-12-30 2020-06-02 云知声智能科技股份有限公司 Identification method and device of identity information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277043A1 (en) * 2005-06-06 2006-12-07 Edward Tomes Voice authentication system and methods therefor
CN108428451A (en) * 2018-03-12 2018-08-21 联想(北京)有限公司 Sound control method, electronic equipment and speech control system
CN110348834A (en) * 2019-05-27 2019-10-18 平安银行股份有限公司 Resource transfers method, apparatus, electronic equipment and medium based on speech recognition
CN110830667A (en) * 2019-11-18 2020-02-21 中国银行股份有限公司 Intelligent interactive voice response method and device
CN111223485A (en) * 2019-12-19 2020-06-02 深圳壹账通智能科技有限公司 Intelligent interaction method and device, electronic equipment and storage medium
CN111598577A (en) * 2020-07-24 2020-08-28 深圳市声扬科技有限公司 Resource transfer method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111598577A (en) 2020-08-28
CN111598577B (en) 2020-11-13

Similar Documents

Publication Publication Date Title
US8725514B2 (en) Verifying a user using speaker verification and a multimodal web-based interface
US11087769B1 (en) User authentication for voice-input devices
JP6561219B1 (en) Speaker verification
US11461781B2 (en) Pro-active identity verification for authentication of transaction initiated via non-voice channel
KR101757990B1 (en) Method and device for voiceprint indentification
JP6096333B2 (en) Method, apparatus and system for verifying payment
US6671672B1 (en) Voice authentication system having cognitive recall mechanism for password verification
US8095372B2 (en) Digital process and arrangement for authenticating a user of a database
WO2016015687A1 (en) Voiceprint verification method and device
WO2016145992A1 (en) Method and corresponding device for starting service through voice in communication software
CN109462482B (en) Voiceprint recognition method, voiceprint recognition device, electronic equipment and computer readable storage medium
US20230052128A1 (en) Techniques to provide sensitive information over a voice connection
CN107533598B (en) Input method and device of login password of application program and terminal
CN110276616A (en) Voice payment method, apparatus, equipment and storage medium
WO2022017152A1 (en) Resource transfer method and apparatus, computer device, and storage medium
WO2019228135A1 (en) Method and device for adjusting matching threshold, storage medium and electronic device
CN109087647A (en) Application on Voiceprint Recognition processing method, device, electronic equipment and storage medium
JP2005512246A (en) Method and system for non-intrusive verification of speakers using behavior models
KR20180049422A (en) Speaker authentication system and method
CN109960910B (en) Voice processing method, device, storage medium and terminal equipment
US11289080B2 (en) Security tool
TW201944320A (en) Payment authentication method, device, equipment and storage medium
CN111785280A (en) Identity authentication method and device, storage medium and electronic equipment
CN115033924B (en) Information auditing method and system based on data security
WO2019036904A1 (en) Cash register user management method and terminal

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: 21846092

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21846092

Country of ref document: EP

Kind code of ref document: A1