Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one
Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
A kind of process for resource transfer that Fig. 1 provides for the embodiment of the present application, specifically includes following steps:
S101:Receive resource transfer request.
S102:Asked according to the resource transfer, display checking character.
In the prior art, the resource transfer between usual server, can be automatic by the invocation protocol pre-set
Progress, and when terminal need call resource from server when, if there is corresponding Call Condition in the resource, the terminal need
The checking page is first obtained, and after the checking by the checking page, can just call the resource, wherein, obtain checking page
The server in face can be that same server can also be different servers from the server for providing resource.
Then, similarly in the embodiment of the present application, it can determine that resource transfer is asked by terminal, and when the terminal determines money
During the call request of source, the terminal can monitor the operation of user, and reception please according to the resource transfer of the operation generation of the user
Ask, to allow the follow-up terminal to send resource transfer request to server, carry out subsequent operation.Certainly, step
Executive agent in S101 may also be the server, i.e. the server can receive the resource transfer request of terminal transmission,
That is, the executive agent for not limiting the application step S101 in this application is terminal or server, certainly, in order to
It is accordingly to be regarded as performing the process of resource transfer in convenient follow-up explanation, the embodiment that following the application is provided with terminal.
Specifically, because resource transfer can be considered as a kind of business, so when operation of the terminal by user, receiving money
After the call request of source, the terminal can also send resource transfer request to service server, i.e. the server can be industry
Business server.
Afterwards, the terminal can also receive the checking page of service server return, wherein, the checking page can be the industry
The checking page that business server is pre-set, then the service server, can be to the end after resource transfer request is received
End returns to the checking page, and the content of the checking page can be as needed configured by staff.Certainly, in this application
Resource transfer request must be sent to the service server by not limiting the terminal, and specific resource transfer request can be according to reality
Border (e.g., sets the need for applying and which server to receive resource transfer request by), and is configured by staff.
Further, since the checking page is the page for pointing out user to carry out verification operation, so the checking page can show
Show checking character, verified so that user can perform operation according to the checking character, wherein, the operation may include:Click on
Gesture operation, the gesture operation of long-press etc., the checking character is the corresponding character of at least one languages, i.e. the authenticator
Symbol may include:Chinese character, English character, Japanese character, German character, Korea character, method Chinese character, Vietnamese character, Thailand
Vernacular characters, Spanish character, Latin language character, Russian character, Bengali character, Portuguese character, Italian
At least one of characters such as character, hindi characters, Arabic character.For example, when the checking character is English, this is tested
The card page can show " Hello ", and when the checking character is German character, the checking page can show " GutenTag ",
When the checking character is French characters, the checking page can be shown " Bonjour " etc..
It should be noted that the checking page can be the Webpage opened by any application program, wherein applying
Program can be, browser software, MSN etc., also, due to having opened Webpage by application program
It is more ripe method in the prior art, the application no longer does excessive explanation to this, in addition, the framework of the checking page can be with
Using HTML the 5th edition (HyperText Markup Language 5, HTML5), exist due to being related to user
Operation in the checking page, thus can also be carried in the checking page script (JavaScript, JS) code,
VBScript or practical extracts and Report Language (Practical Extraction and Report Language, PERL)
Etc. code, the application is simultaneously not specifically limited.
In the embodiment of the present application, the service server can be a single equipment or by multiple devices
The system of composition, i.e. distributed server, the terminal can be the equipment such as mobile phone, tablet personal computer, PC.
S103:Gather to be identified audio of the user according to the checking character input.
In the embodiment of the present application, after the terminal have received the checking page, because user can be according to the checking
The checking requirement of the page, performs corresponding operation and is verified, so the operation of the visible monitoring user of the terminal, and will be according to this
The audio to be identified of operation collection is sent to speech recognition server, so as to the operation of subsequent step.
Specifically, script (JavaScript, JS) code can be carried in the checking page, i.e. the terminal passes through
The JS codes can be run by receiving the checking page, and running the checking page.Wherein, it can also be carried in the checking page
There is prompt message, to cause the user using the terminal, operation is can determine how after the terminal shows the checking page
To be verified, for example, the prompt message can be:Would you please say " hello " of Japanese together with me, lower section button can be pinned simultaneously
" hello " of Japanese etc. is said, after make it that the terminal shows the checking page, the user can determine need that what is performed
Kind operation, wherein, in the JS codes of the checking page, can also have the sensor interface for calling the terminal JS codes and
The JS codes of record button, are operated so that subsequent execution gathers the user according to audio to be identified of the checking character input etc..
Wherein, the interface of the checking page can be as shown in Figure 2, it is seen that, it is French word that character is verified in the checking interface
Accord with " Bonjour ", prompt message:Would you please " hello ", the prompt message spoken French together with me:Pin lower section button and say method
" hello " of language and record button.
Further, since the checking character shown in the checking page can be with the language of right and wrong Chinese, so the terminal is adopted
The audio to be identified of collection can be the voice of different language.
Further, because user can not completely determine how the language of non-Chinese pronounces, so for the checking
For the checking character that the page is shown, user might not can according to the corresponding audio to be identified of the checking character input,
Then, the checking page can also carry RP corresponding with the checking character, and corresponding broadcasting in this application
The JS codes of button, as shown in Figure 3.In the interface of the checking page shown in Fig. 3, it is seen then that the authenticator in the checking interface
Accord with as French characters " Bonjour ", prompt message:Would you please " hello ", the prompt message spoken French together with me:Pin lower section by
Key and " hello ", record button and the broadcasting button for saying French.Then the terminal can be by monitoring user to the broadcasting button
Gesture operation, play the RP.Then, terminal collection can be that user inputs according to the RP of broadcasting
Audio to be identified.
Further, due to can be carried in the checking page JS codes of record button, broadcasting button JS codes
And call the JS codes of the sensor interface of the terminal, so the terminal can monitor the operation that user is directed to the button, and
When monitoring user to the operation of the button, by running the JS codes of the checking page, the sensor of the terminal is called to connect
Mouthful to gather the audio to be identified that user inputs according to the RP of broadcasting.Wherein, user operation can be click on
Gesture operation, long-pressing gesture operation etc., the application is simultaneously not specifically limited, as long as the terminal is operated by monitoring user, really
Surely audio to be identified is gathered, the sensor can be the microphone of the terminal.
S104:Speech recognition is carried out to the audio to be identified.
In the embodiment of the present application, after the terminal acquires the audio to be identified of the input of user, the terminal is also
Speech recognition can be carried out to the audio to be identified, subsequently to carry out follow-up operation according to the result of the speech recognition.
Specifically, because the resource taken required for usual speech recognition is more, the process that terminal-pair voice is identified
The process that corresponding service device carries out speech recognition is slower, so generally terminal, can will be to be identified when needing to carry out speech recognition
Audio, which is sent into speech recognition server, carries out speech recognition, and receives the recognition result of speech recognition server return.
Similarly, in this application, the terminal can also send the audio to be identified to speech recognition server, to cause the speech recognition
Server carries out speech recognition to the audio to be identified, and receives the recognition result of speech recognition server return.
Further, since existing speech recognition server is generally only capable of carrying out the identification of language-specific, for example, entering to English
The voice server of row speech recognition, which country voice is the corresponding audio no matter received be, this pair of English carries out speech recognition
Voice server output can only be English recognition result, similarly to Chinese carry out speech recognition voice server, it is defeated
The voice identification result gone out also can only be Chinese.
And because in the application step S101, the checking character shown in the checking page can be multilingual correspondence
Character, so the audio to be identified that the terminal is sent to the voice server in step s 102 also have high probability be pair
Should be in the audio of multilingual, so the speech recognition server only may recognize that audio to be identified corresponds to a kind of text of language
Word.
Then, in this application, when the speech recognition server can carry out the server of speech recognition to Chinese,
The speech recognition server is back to the recognition result of the terminal, can be to the audio to be identified according to Chinese speech pronunciation
Recognition result, also, the recognition result can be Chinese character.For example, it is assumed that the pronunciation of audio to be identified is " buruhe ", it is right
Should be in " Bonjou " of French, then the speech recognition server not will recognise that French " Bonjou ", but will recognise that this
The corresponding Chinese of audio " buruhe " to be identified, for example, " Bu Ruhe ", then, the terminal can receive the voice recognition terminal and return
The voice identification result returned is " Bu Ruhe ".
That is, in this application, the speech recognition server does not identify the corresponding word of different language, and
It is only to identify the voice of the different language corresponding word in Chinese.
It should be noted that the speech recognition server can be a single equipment, e.g., dedicated for carrying out voice
The server of identification, or the system that the speech recognition server can be made up of multiple servers, e.g., Distributed Services
Device, also, do not limit in this application the speech recognition server can only be used to carry out speech recognition, i.e. the speech recognition
Server can be identical server with the service server in step S101, or be with the server of the offer resource
Identical server, certainly, the server of the speech recognition server, the service server and the offer resource can also be
Different server, the application is to this and is not specifically limited.
S105:According to the recognition result to the audio to be identified and for the checking default character datum of character
Symbol, it is determined whether allow to call the resource.
In the embodiment of the present application, after the terminal have received the recognition result of speech recognition server return, just may be used
According to the recognition result to the audio to be identified and for the checking default benchmark character of character, it is determined whether allow to adjust
Use the resource.And the problem of due to there is phonetically similar word for Chinese, so for similar pronunciation, the speech recognition server
The corresponding Chinese character of recognition result of return there may be difference, for example, " tong " this pronunciation, the speech recognition server
What may be returned is " same ", it is also possible to " copper ", still " same " and " copper " Chinese character that to be two different, so for convenience
The recognition result is contrasted with the benchmark character, the recognition result can also be converted to English character by the server, with
Contrasted.
Specifically, because the pronunciation of each word in Chinese is combined with the pronunciation of single word, not corresponding to
To the Chinese pinyin of each word, and the Chinese pinyin of two words, which is connected together, can not correspond to out a word pronunciation, so
In this application, the terminal can be determined in the recognition result according to the Chinese character and the corresponding relation of English character prestored
Each Chinese character distinguish corresponding English character, and English words corresponding with each benchmark character carried in the checking page
Symbol progress pair, to determine the accuracy of recognition result.
Firstly, since the terminal needs to be determined the correctness of the recognition result, to determine whether to call
The resource, so the terminal needs the checking character corresponding correct " answer " to be contrasted with the recognition result, then,
In the application, the hair with the checking character can be carried in the corresponding JS codes of the checking page that the service server is returned
The corresponding benchmark character of sound.
Wherein, the corresponding benchmark character of the pronunciation of the checking character can be English character, also, due to the follow-up benchmark
Character need it is corresponding with the Chinese character of the recognition result respectively should be character and contrasted, so the benchmark character is correspondingly
In the Chinese character of each Chinese pronunciations of the checking character, and corresponding to each Chinese character in the form of Chinese pinyin.
For example, when the checking page show English character " Hello " when, benchmark character corresponding with the checking character can be " ha " and
" lou ", i.e. English Hello pronunciation corresponds to the phonetic of " Kazakhstan " and " " of Chinese speech pronunciation, when the checking page shows German
During character " GutenTag ", benchmark character corresponding with the checking character can be " gu ", " teng ", " ta " and " ge ", i.e.
German GutenTag pronunciation corresponds respectively to the phonetic of " Gu ", " pain ", " stepping on " and " brother " of Chinese speech pronunciation, when checking page
When face shows French characters " Bonjour ", benchmark character corresponding with the checking character can be " ben " and " zhu ", i.e. method
Language Bonjour pronunciation is corresponding to phonetic of " sheet " and " pig " of Chinese speech pronunciation etc..
Secondly, the terminal can be determined in the recognition result according to the Chinese character and the corresponding relation of Chinese pinyin prestored
Each Chinese character distinguish corresponding Chinese pinyin, be used as each Chinese character in the recognition result to distinguish corresponding English words
Symbol, i.e. the terminal calls the Chinese character prestored corresponding with Chinese pinyin by running the JS codes of the checking page
Relation, and the corresponding Chinese pinyin of the recognition result is determined according to the Chinese character and the corresponding relation of Chinese pinyin, it is used as this
The corresponding English character of recognition result.
Afterwards, the terminal can be by the corresponding English character of the recognition result, English words corresponding with the benchmark character
Symbol is contrasted, and determines the accuracy of the recognition result, and according to the accuracy, it is determined whether allow to call the resource.
Further, due to also there are audio tone in Chinese pinyin, so in this application, in order to determine sound
Adjusting can also be digital by being added after the recognition result of the audio to be identified, and in the corresponding English character of benchmark character
The middle numeral that adds to represent the tone of each word, specifically, as " " of a sound to the four tones of standard Chinese pronunciation can be respectively labeled as " a1 ",
" a2 ", " a3 " and " a4 ".
Further, since the checking page carries benchmark character corresponding with the pronunciation of the checking character in this application,
The benchmark character is the corresponding English character of pronunciation of the checking character, so the terminal is by the corresponding English of the recognition result
Can be by the corresponding English words of each Chinese character of the recognition result when Chinese character is contrasted with the benchmark character
Symbol, each English character with the benchmark character is contrasted respectively.For example, it is assumed that the corresponding English character point of the recognition result
Not Wei " bu ", " ru ", " he ", the checking character be " Bonjou ", benchmark character corresponding with the checking character be " benzhu ",
Then the terminal can will be somebody's turn to do " bu ", " ru ", " he " and be contrasted respectively with being somebody's turn to do " ben ", " zhu ", determine the correct of the recognition result
Rate.
Further, it is determined that the accuracy of the recognition result, can be using true with the accuracy of existing voice identification technology
Determine mode identical method, e.g., frontier distance algorithm etc., the application is repeated no more to this.
Finally, the terminal can judge the correct of the recognition result by running the JS codes carried in the checking page
Whether rate is more than default threshold value, and when it is determined that the accuracy is more than the default threshold value, the terminal can determine to allow to call
The resource, and the instruction of the resource transfer is sent, when it is determined that the accuracy is not more than the default threshold value, the terminal can be true
It is fixed not allow to call the resource, the instruction of the resource transfer is not sent, and show error message.
Further, since generally resource is stored in single equipment, for example, database, server of offer resource etc., institute
, can be according to default call address, to the default call address with the terminal when it is determined that sending the instruction of the resource transfer
The instruction of resource transfer is sent, wherein, the call address can be the ground of the equipment such as the database, the server for providing resource
Location.
It should be noted that the server of the offer resource and the service server and the speech recognition server, can
To be identical server or different server, the application is not specifically limited to this.
By the method for resource transfer as shown in Figure 1, either terminal or server receive resource transfer please
After asking, it can be asked according to the resource transfer, it is determined that the checking page of the checking character of display, the checking character can be appointed
The corresponding character of one languages, also, due to being necessary to determine whether to allow to call resource when usual user calls resource, so this is tested
The card page can be sent in the terminal used to user, to allow the terminal to show the checking page and checking page
Checking character on face, further, because the checking character can be the corresponding character of any languages, so the checking
The audio file of the RP of the checking character can also be carried in the page, by playing the RP, to adopt
The audio to be identified that collection user inputs according to the RP of the checking character (that is, by playing the RP, makes user's root
According to the RP, the audio to be identified of the user input gathered as the terminal), enter finally by the audio to be identified
Row speech recognition, determine the recognition result of the audio to be identified with for the default benchmark character of the checking character compare it is correct
Rate, it is determined whether allow to call the resource.It can be seen that, whether the resource is allowed to call be determined when, user is without hand again
Dynamic input character password, and only need to save the time required for input character with reading RP so that Yong Hucao
Work becomes easy, improves efficiency during resource transfer.
In addition, in this application, the speech recognition server can be the clothes for carrying out speech recognition to any voice
Be engaged in device, also, because generally speech recognition server is which kind of language to carry out speech recognition to, then the voice be by
The recognition result that server is returned is exactly the character of which kind of language, so in this application, the speech recognition server can be returned
The corresponding character of any languages is returned, certainly, then in this application, the service server is back in the checking page of the terminal and taken
Band be directed to the default benchmark character of the checking character, similarly can be that the speech recognition server can return to any language
Plant the character of the corresponding languages of pronunciation of corresponding character.
Certainly, because the pronunciation of most of languages can be represented by English character, so the generally benchmark character can
To be English character, the application is to this and is not specifically limited.
In addition, in this application, because usual user needs first to log in the account oneself held, then business is performed, so
When the terminal to the service server send the resource transfer request when, the terminal can also be by listed account to this
Service server sends resource transfer request, then, and the service server may be used also after resource transfer request is received
To determine the account corresponding accounts information, and nationality's information of the user in account information according to the account, enter
One step determines the corresponding languages of the international information of the user.For example, nationality's information of the user is the United States of America, the then industry
Business server can determine that the corresponding languages of nationality's information of the user are English, and if the international information of the user is middle Chinese
People republic, then the service server can determine the user the corresponding languages of nationality's information be Chinese.
Then, the service server it is determined that the checking page carry the checking character when, it is possible to according to the user
The corresponding languages of nationality, determine other languages of the corresponding languages of nationality of the non-user, it is corresponding as the checking character
Languages, for example, when it is determined that the corresponding languages of nationality's information of the user are English, then the checking character is other of non-english
The corresponding character of languages, e.g., method Chinese character, German character, Chinese character etc..
Further, the language used in belonging to the user of same nationality but different regions there may be difference,
For example, nationality is Canadian user, if the user lives in Quebec, the user has higher probability to use French conduct
The language of daily use, and if the user lives in Ottawa city, the user has higher probability to use using being used as day
Often live the language used, so in this application, the service server can also further determine that the user birth address,
The accounts informations such as life area, determine the corresponding languages of conventional language of the user, and determine the conventional language pair of the non-user
Other languages for the languages answered, as the corresponding languages of checking character, then that shown in the checking page can be the user
The corresponding character of languages being of little use.
Further, also can be by the terminal according to the accounts information for sending the user that the resource transfer is asked, it is determined that should
Nationality's information of user, and method same as described above is used, it is determined that the checking character of display.Wherein, the user profile
It can store with the terminal, can also be stored in the server, and be obtained by the terminal from the server, and the authenticator
According with corresponding languages can also be determined by the terminal, i.e. the application is not limited determines the checking character as except the use by server
Beyond the corresponding languages in family, the corresponding checking character of other languages determines the authenticator particular by terminal or server
Corresponding languages are accorded with, can be configured by staff according to the need for practical application.
In addition, based on the resource transfer process shown in Fig. 1, the application provides a kind of detailed process of resource transfer, such as Fig. 4
It is shown.
The detailed process for the resource transfer that Fig. 4 provides for the embodiment of the present application, including:
S201:Terminal receives resource transfer request.
S202:Terminal forwarding resource transfer is asked to service server.
S203:The service server returns to the checking page to the terminal.
S204:The terminal shows the checking character in the checking page.
S205:The play operation of terminal monitoring user, plays the corresponding RP of checking character.
S206:The recording operation of the terminal monitoring user, gathers the user according to the to be identified of the checking character input
Audio.
S207:The terminal sends the audio to be identified to speech recognition server.
S208:The speech recognition server returns to recognition result to the terminal.
S209:The terminal is according to the recognition result and for the default benchmark character of the checking character, it is determined whether permit
Permitted to call the resource.
Wherein, the service server and the voice are that being serviced device can be same equipment, the play operation and should
Recording operation can be the gesture operation of user, also, the play operation and recording behaviour (e.g., can be click with identical
Gesture operation), or the play operation and the recording behaviour can differ (e.g., play operation for click on gesture operation, the record
Sound operation is long-pressing gesture operation), the application is not specifically limited to this, can be entered by staff according to the need for practical application
Row is set.
Further, since step S101, S104 and S105 can be performed by the terminal, it can also be held by default server
OK, so the resource transfer that can be also sent in this application by server receiving terminal is asked, and the checking is returned to the terminal
The page, to cause the terminal to show the checking character by running the checking page, can be turned the recognition result by the server
English character is changed to, and benchmark character corresponding with the checking character is contrasted, really the accuracy of the recognition result, with root
According to the accuracy of the recognition result, it is determined whether allow to call the resource, i.e. can not be by the terminal operating checking page
JS codes perform each step, and above-mentioned steps also can be performed by server, and the application contrast is repeated no more.
In another embodiment of the application, this calls the request of resource, can obtain red packet request, the checking page
Can be the page for robbing red packet, the resource can be the remaining sum in the red packet during the acquisition red packet is asked, as shown in Figure 5.
A kind of process for resource transfer that Fig. 5 provides for the embodiment of the present application, specifically includes following steps:
S301:The terminal can receive acquisition red packet request first, and acquisition red packet request is sent to business service
Device.
S302:This for receiving service server return robs the page of red packet, and by running the page for robbing red packet, shows
Show the checking character, wherein, the checking character can be the corresponding character of any languages.
S303:The terminal can play the corresponding RP of checking character, and gather use by monitoring the operation of user
The audio to be identified that family is inputted according to the mark pronunciation of the checking character.
S304:The audio to be identified is sent to the speech recognition server, speech recognition is carried out.
S305:By receiving the recognition result that the speech recognition server is returned, and for the default base of checking character
Quasi- character, determines the accuracy of the recognition result, and is determined whether according to the accuracy to call the remaining sum in the red packet.
Further, generally when the terminal determines that the accuracy of the recognition result is more than default threshold value, the terminal can
It is determined that allow to call the remaining sum in the red packet, but it is due to that remaining sum in red packet is also that can limit call number, for example, setting
It is 5 times to put remaining sum can be got in the red packet number of times, then only 5 terminals can call the remaining sum in the red packet, and other
Terminal can not call the remaining sum in the red packet, and receive the error message of return, e.g., and " red packet, which is robbed, to be over!", its
In, the number of times that the red packet can be got can have staff according to being configured the need for practical application, and the application, which is not done, to be had
Body is limited.
In addition, during the resource transfer shown in Fig. 1, Fig. 4 and Fig. 5, the application is not limited, the terminal must lead to
Each step of JS codes execution run and carried in the checking page is crossed, certain terminal also can be integrated with the JS by receiving in advance
The application program of code, or the application program of the corresponding SDK bags of the JS codes is received, and the JS codes are integrated with by operation
Application program or receive the application programs of the corresponding SDK bags of the JS codes and perform each step.
In another embodiment that the application is provided, the checking page can not also show the checking character, but directly
The corresponding RP of checking character is played, then the process of the resource transfer can be as shown in Figure 6.
A kind of process for resource transfer that Fig. 6 provides for the embodiment of the present application, specifically includes following steps:
S601:Receive resource transfer request.
S602:Asked according to the resource transfer, playing standard pronunciation.
S603:The audio to be identified that collection user inputs according to the RP of broadcasting.
S604:Speech recognition is carried out to the audio to be identified.
S605:According to the recognition result to the audio to be identified and for the default character datum of the RP
Symbol, it is determined whether allow to call the resource.
Wherein, in step S602, the terminal can be received in the checking page of service server return, the checking page
The corresponding JS codes of the RP, the broadcasting button, the corresponding JS codes of the record button can be carried, so as to obtain user
The RP can be played, its interface can be as shown in Figure 7 by performing gesture operation to the broadcasting button.In the figure 7 may be used
See, do not show the checking character as shown in Fig. 2 or Fig. 3 in the checking page, and only display reminding information, broadcasting are pressed
Key and record button, then user the RP can be played according to the prompting of the prompt message, wherein, the prompt message bag
Include:Pin lower section button and say " hello " of French, and click on " hello " for playing French.
Then, further in step S603, the terminal can gather the RP that the user partial seeding is put
The audio to be identified of input.
Further, can also be carried in the checking page for the default benchmark character of the RP, so as to
In step S605, according to the recognition result and the benchmark character, the accuracy of the recognition result is determined, and according to the accuracy
Determine whether to call the resource.For example, the RP is the RP of French " Bonjou ", then the benchmark character can
To be " ben " and " zhu ", then the terminal is by the corresponding English character of each Chinese character of the recognition result, respectively with
The English character of the benchmark character is contrasted.
Further, the terminal is after the checking page is received in step S602, by running checking page
The code in face, directly plays the RP, i.e. operate the checking page directly to play the RP without user.When
So, the number of times that the RP can be played automatically, the time interval between broadcasting also can be by staff according to practical application
The need for be configured, the application is to this and is not specifically limited.Certainly, because user may need to return to the RP
During broadcasting, so the terminal can replay the RP by monitoring gesture operation of the user to the broadcasting button.
It should be noted that the executive agent that the embodiment of the present application provides each step of method may each be same and set
It is standby, or, this method is also used as executive agent by distinct device.Such as, step S101 and step S102 executive agent can be with
For equipment 1, step S103 executive agent can be equipment 2;Again such as, step S101 executive agent can be equipment 1, step
Rapid S102 and step S103 executive agent can be equipment 2;Etc., i.e. the server can be made up of multiple devices
Distributed server.Meanwhile, the executive agent of each step for the method that the embodiment of the present application is provided also is not limited to server,
Can also be terminal, the terminal can be the equipment such as mobile phone, PC, tablet personal computer.
By taking the resource transfer process that Fig. 1 is provided as an example, step S101 can be received resource transfer request, step by server
S102 can be asked by terminal according to the resource transfer, display checking character, and step S103 can be gathered user according to this by the terminal
The audio to be identified of character input is verified, step S104 can carry out speech recognition, step by the server to the audio to be identified
S105 can by the server according to the recognition result to the audio to be identified and for the default benchmark character of the checking character,
Determine whether to call the resource, or;
Step S101 can be received resource transfer request by the terminal, and step S102 can be asked by terminal according to the resource transfer
Ask, display checking character, step S103 can be gathered user according to the audio to be identified of the checking character input, step by the terminal
S104 can carry out speech recognition by the server to the audio to be identified, and step S105 can be by the server according to be identified to this
The recognition result of audio and for the default benchmark character of the checking character, it is determined whether allow to call the resource, or;
Step S101 can be received resource transfer request by the terminal, and step S102 can be asked by terminal according to the resource transfer
Ask, display checking character, step S103 can be gathered user according to the audio to be identified of the checking character input, step by the terminal
S104 can carry out speech recognition by the server to the audio to be identified, and step S105 can be by the terminal according to the sound to be identified
The recognition result of frequency and for the default benchmark character of the checking character, it is determined whether allow to call the resource, or;
Step S101 can be received resource transfer request by the server, and step S102 can be asked by terminal according to the resource transfer
Ask, display checking character, step S103 can be gathered user according to the audio to be identified of the checking character input, step by the terminal
S104 the audio to be identified can carry out speech recognition by the terminal-pair, and step S105 can be by the server according to the sound to be identified
The recognition result of frequency and for the default benchmark character of the checking character, it is determined whether allow to call the resource, or;
Step S101 can be received resource transfer request by the terminal, and step S102 can be asked by terminal according to the resource transfer
Ask, display checking character, step S103 can be gathered user according to the audio to be identified of the checking character input, step by the terminal
S104 the audio to be identified can carry out speech recognition by the terminal-pair, and step S105 can be by the server according to the sound to be identified
The recognition result of frequency and for the default benchmark character of the checking character, it is determined whether allow to call the resource, etc..
It should be noted that show that the checking character can be performed by the terminal in step S102, but according to the money
Source call request, determines the process of the checking character, can both be carried out by the terminal, can also be carried out by the server, this Shen
Please to this and it is not specifically limited.
It can be seen that, during the resource transfer that the application is provided, the executive agent of each step can be according to practical application
Need to be configured, can be that terminal can also be server, and just as the aforementioned, the server can be same service
Device performs a variety of operations, or performs different operations respectively by different servers, and further, the server can be
A single equipment or distributed server.It should be noted that the server is single equipment or distribution
Formula server is to perform a variety of operations or perform a kind of operation not conflict with the server, i.e. the server can be one
Platform equipment simultaneously performs a variety of operations, or the server is distributed server and performs a kind of operation etc..
Based on the process of the resource transfer shown in Fig. 1, the embodiment of the present application also corresponds to and provides a kind of device of resource transfer,
As shown in Figure 8.
A kind of structural representation of the device for resource transfer that Fig. 8 provides for the embodiment of the present application, including:
Receiving module 401, receives resource transfer request;
Display module 402, is asked according to the resource transfer, display checking character;
Acquisition module 403, collection user is according to the audio to be identified for verifying character input;
Identification module 404, speech recognition is carried out to the audio to be identified;
Calling module 405 is contrasted, it is according to the recognition result to the audio to be identified and pre- for the checking character
If benchmark character, it is determined whether allow to call the resource.
The display module 402, resource transfer request is sent to server, testing for the server return is received
The page is demonstrate,proved, and shows the checking character carried in the checking page.
The checking character is the corresponding character of at least one languages.
The acquisition module 403, receives the checking page that the server is returned, and the institute that the checking page is carried
The corresponding RP of checking character is stated, the RP is played, collection user inputs according to the RP of broadcasting
Audio to be identified.
The identification module 404, the audio to be identified is sent to server, to cause the server to be treated to described
Recognize that audio carries out speech recognition, receive the recognition result that the server is returned.
The recognition result is Chinese character, and the benchmark character is English character, the contrast calling module 405, root
According to the Chinese character and the corresponding relation of English character prestored, determine that each Chinese character difference in the recognition result is corresponding
English character, by the corresponding Chinese pinyin of the recognition result, English character progress pair corresponding with the benchmark character
Than the accuracy of the recognition result being determined, according to the accuracy, it is determined whether allow to call the resource.
The contrast calling module 405, according to the Chinese character and the corresponding relation of Chinese pinyin prestored, determines the knowledge
Each Chinese character in other result distinguishes corresponding Chinese pinyin, is corresponded to respectively as each Chinese character in the recognition result
English character.
Specifically, the device of above-mentioned resource transfer as shown in Figure 8 can be located in terminal, the terminal can be specifically hand
The equipment such as machine, tablet personal computer, PC.
Based on the process of the resource transfer shown in Fig. 6, the embodiment of the present application also corresponds to and provides a kind of device of resource transfer,
As shown in Figure 9.
A kind of structural representation of the device for resource transfer that Fig. 9 provides for the embodiment of the present application, including:
Receiving module 701, receives and obtains red packet request;
Playing module 702, according to the acquisition red packet request, playing standard pronunciation;
Acquisition module 703, collection user sends out the audio to be identified of input according to the standard of broadcasting;
Identification module 704, speech recognition is carried out to the audio to be identified;
Calling module 705 is contrasted, it is according to the recognition result to the audio to be identified and pre- for the RP
If benchmark character, it is determined whether allow to obtain the red packet.
The playing module 702, resource transfer request is sent to service server, the service server is received
The checking page of return, and play the RP carried in the checking page.
The RP is the corresponding audio of at least one languages.
The identification module 704, the audio to be identified is sent to speech recognition server, to cause the voice to know
Other server carries out speech recognition to the audio to be identified, receives the recognition result that the speech recognition server is returned.
The recognition result is Chinese character, and the benchmark character is English character, the contrast calling module 705, root
According to the Chinese character and the corresponding relation of English character prestored, determine that each Chinese character difference in the recognition result is corresponding
English character, by the corresponding Chinese pinyin of the recognition result, English character progress pair corresponding with the benchmark character
Than the accuracy of the recognition result being determined, according to the accuracy, it is determined whether allow to call the resource.
The contrast calling module 705, according to the Chinese character and the corresponding relation of Chinese pinyin prestored, determines the knowledge
Each Chinese character in other result distinguishes corresponding Chinese pinyin, is corresponded to respectively as each Chinese character in the recognition result
English character.
Specifically, the device of above-mentioned resource transfer as shown in Figure 9 can be located in terminal, the terminal can be specifically hand
The equipment such as machine, tablet personal computer, PC.
Based on the process of the resource transfer shown in Fig. 5, the embodiment of the present application also corresponds to and provides a kind of device of resource transfer,
As shown in Figure 10.
A kind of structural representation of the device for resource transfer that Figure 10 provides for the embodiment of the present application, including:
Receiving module 501, receives and obtains red packet request;
Display module 502, according to the acquisition red packet request, display checking character;
Acquisition module 503, collection user is according to the audio to be identified for verifying character input;
Identification module 504, speech recognition is carried out to the audio to be identified;
Calling module 505 is contrasted, it is according to the recognition result to the audio to be identified and pre- for the checking character
If benchmark character, it is determined whether allow to obtain the red packet.
The display module 502, resource transfer request is sent to service server, the service server is received
The checking page of return, and show the checking character carried in the checking page.
The checking character is the corresponding character of at least one languages.
The acquisition module 503, receives the checking page that the service server is returned, and the checking page is carried
The corresponding RP of the checking character, play the RP, collection user is according to the RP of broadcasting
The audio to be identified of input.
The identification module 504, the audio to be identified is sent to speech recognition server, to cause the voice to know
Other server carries out speech recognition to the audio to be identified, receives the recognition result that the speech recognition server is returned.
The recognition result is Chinese character, and the benchmark character is English character, the contrast calling module 505, root
According to the Chinese character and the corresponding relation of English character prestored, determine that each Chinese character difference in the recognition result is corresponding
English character, by the corresponding Chinese pinyin of the recognition result, English character progress pair corresponding with the benchmark character
Than the accuracy of the recognition result being determined, according to the accuracy, it is determined whether allow to call the resource.
The contrast calling module 505, according to the Chinese character and the corresponding relation of Chinese pinyin prestored, determines the knowledge
Each Chinese character in other result distinguishes corresponding Chinese pinyin, is corresponded to respectively as each Chinese character in the recognition result
English character.
Specifically, the device of above-mentioned resource transfer as shown in Figure 10 can be located in terminal, the terminal can be specifically
The equipment such as mobile phone, tablet personal computer, PC.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So
And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic
Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system
Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., it should be included within the scope of claims hereof.