Summary of the invention
The embodiment of the invention provides a kind of method and device of logining based on the user of audio frequency, is used for realizing that the user logins related web site.
A kind of method of logining based on the user of audio frequency may further comprise the steps:
The logging request that the server receiving terminal sends; Server obtains audio file from logging request; The audio file that server obtains the audio file in the logging request and when registration mates; Wherein, the audio file that obtains during registration is to obtain after server is received the registration request that terminal sends, and sends the user of registration request with unique identification; Server determines whether to allow the user to login according to matching result.
A kind of method of utilizing audio frequency to come Website login is provided, utilizes the uniqueness of audio frequency itself, so that login is safer, simultaneously also convenient.
Preferably, server receives that the step that obtains audio file behind the registration request that terminal sends comprises: server obtains audio file after receiving the registration request that terminal sends from registration request; Perhaps, after server is received the registration request of terminal transmission, generate audio file.
The invention provides two kinds of different audio file acquisition patterns, both can generate from server also can be independently selected by the user of registration, has personalization with the audio file that is used in login, also can easily obtain audio file.
Preferably, the content of audio file comprises: one or more in music, recording, voice and the animal cry; Perhaps, audio file comprises the audio-frequency fingerprint that audio content is corresponding.
The step that the audio file that obtains when preferably, server is with the audio file in the logging request and registration mates comprises:
Server is with the audio file segmentation that obtains; Server calculates respectively the audio-frequency fingerprint of every section audio file; Server mates respectively the audio-frequency fingerprint of the audio file that obtains when registering according to the audio-frequency fingerprint of the every section audio that calculates.
Preferably, server determines whether that according to matching result the step that allows the user to login comprises: the result that server passes through according to coupling determines to allow user's login;
Described method also comprises step: server returns authorization information to the user
Preferably, described authorization information comprises: identifying code and/or login password.
Behind server identification user, further return authorization information to the user, wherein, return identifying code and can guarantee that server avoids the impact of malice login, return the safety that login password can further guarantee user account.
Preferably, server is analyzed the described uniquely identified audio file that has, and the step that identifies user identity comprises: server matches this audio file and user profile after generating and having the audio file of unique sign mutually; Server receives that the user transmits be used for the audio file of authentication after, analyze its audio-frequency fingerprint, find the corresponding user identity of audio file that has identical audio-frequency fingerprint with it.
A kind of method of logining based on the user of audio frequency, may further comprise the steps: the logging request that terminal will comprise audio file sends to server; The audio file of determining when this audio file is registration, and unique identification registered user; The object information of the login that the terminal reception server sends.
Preferably, the method that the logging request that terminal will comprise audio file sends to server comprises: the audio file of the registration usefulness that terminal admission user plays terminal outside, and the audio file transmissions under will recording arrives server; Terminal gathers the audio file of the registration usefulness that the user plays in terminal, and the audio file that collects is uploaded onto the server; Terminal is uploaded onto the server existing audio file as the audio file of registration usefulness.
The invention provides the multiple method that sends audio file to server, so that the transmission of audio file has diversity, the user can play-over audio file and can login, and is simple to operate and have an individual character.
A kind of user's entering device based on audio frequency is characterized in that, comprising: receiver module is used for the logging request that the receiving terminal sends; Acquisition module is used for obtaining audio file from logging request; Matching module, the audio file that obtains when being used for audio file with logging request with registration mates; Wherein, the audio file that obtains during registration is to obtain after server is received the registration request that terminal sends, and sends the user of registration request with unique identification; Whether sending module allows the user to login for returning according to matching result.
Preferably, after receiver module was received the registration request of terminal transmission in the matching module, acquisition module obtained audio file from registration request; Perhaps, after receiver module was received the registration request of terminal transmission, acquisition module generated audio file.
A kind of user's entering device based on audio frequency is characterized in that, comprising: sending module sends to server for the logging request that will comprise audio file; The audio file of determining when this audio file is registration, and unique identification registered user.Receiver module is used for the object information of the login that reception server sends.
Preferably, sending module is by the mode of recording, the audio file that obtains during registration that the admission user plays terminal outside, and the audio file transmissions of enrolling arrived server; The audio file that obtains when perhaps, sending module gathers the registration that the user plays in terminal and with the audio file transmissions that collects to server; The audio file that obtains when perhaps, sending module is with the registration transmitted on the user is uploaded onto the server.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
Participate in Fig. 1, server is as follows based on the main flow process of the method for user's login of audio frequency in the present embodiment:
Step 101, the logging request that the server receiving terminal sends.
Concrete, the user need to open the login page of website in Website login, send logging request to the website, receives the logging request that the user sends by server.
Step 102, server obtain audio file from logging request.
Among the present invention, the mode of user's login is different from input account commonly used at present and the form of password.Concrete, the present invention is the user sends user log-in authentication when logining to server audio file, and server obtains the audio file that the user is used for login from logging request, authenticate with the user after carrying out.Audio file has the effect of user name and/or password.
Step 103, the audio file that server obtains the audio file in the logging request and when registration mates; Wherein, the audio file that obtains during registration is to obtain after server is received the registration request that terminal sends, and sends the user of registration request with unique identification.
Concrete, it is that the user obtains when register in the website that server receives audio file that the user sends, with this audio file unique identification should registration the user, for the login in this website.This audio file can be that the user generates by server is autonomous when registering, and for example the user has filled in after the log-on message, and server generates a section audio file at random, comes this user of unique identification with this document.This audio file also can independently be selected to obtain by the user, for example the user has filled in after the log-on message, whether server prompts user independently uploads audio file is used for login, user's choosing is, then the user with a section audio File Upload to server, authenticated by server, whether be used to identify the user of other registrations to detect this section audio.If detecting this section audio, server is not used for other users of sign, the user who then comes unique identification registering this section audio, if this section audio has been used to other users of unique identification, then server can be uploaded or this section audio is trained by prompting user again, it is had be different from training audio frequency before, will training this registered user of audio file unique identification afterwards.
Concrete, the content of audio file comprises: one or more in music, recording, voice and the animal cry; Perhaps, audio file comprises the audio-frequency fingerprint that audio content is corresponding.Any type of audio file may be used to the unique identification user, is used for user's login.
When login, server is received the audio file that is used for login that the user sends, and authenticates.Concrete authentication method is that the audio file that audio file in the logging request that the user is sent obtains during with registration mates.
Concrete, the step of coupling comprises: server is with the audio file segmentation that obtains; Server calculates respectively the audio-frequency fingerprint of every section audio file; Server mates respectively the audio-frequency fingerprint of the audio file that obtains when registering according to the audio-frequency fingerprint of the every section audio that calculates.
Described audio file has start mark, server is with the audio file of the form receiving terminal transmission of data flow, and the audio data stream of receiving analyzed, when from audio data stream, identifying start mark, determine that follow-up audio data stream all belongs to the audio file of logining usefulness from the position of start mark.
The beginning flag of described audio file comprises: the initial position that is used for the audio file of login has special audio symbol etc.
Step 104, server determines whether to allow the user to login according to matching result.
Concrete, server is identified the user according to the result of coupling, if the match is successful for the audio file that obtains when the audio file that is used for login that the user sends is registered with certain user, then the user logins successfully, and this user's relevant information is returned to server; If the match is successful for the audio file that the audio file that is used for login that the user sends obtains when not registering with any one user, then login failed for user.
If server allows user's login according to matching result, then can also return authorization information to the user.Further determine the safety of user profile.Wherein, the authorization information of returning to the user comprises: identifying code and/or login password.Identifying code can make server avoid the impact of malice login, and login password can make user profile safer.
Referring to Fig. 2, terminal is as follows based on the main flow process of the method for user's login of audio frequency in the present embodiment:
Step 201: the logging request that terminal will comprise audio file sends to server; The audio file of determining when this audio file is registration, and unique identification registered user.
Concrete, the audio file that is used for registration that terminal is determined can be generated by server and obtain, and also can independently be selected to obtain by the user.Return to terminal after this audio file can be generated by server, after for example the user had filled in log-on message and sends registration request to server, server generated a section audio file at random, comes this user of unique identification with this document.This audio file also can independently be selected to obtain by the user, for example the user has filled in after the log-on message, whether server prompts user independently uploads audio file is used for login, user's choosing is, then the user with a section audio File Upload to server, authenticated by server, whether be used to identify the user of other registrations to detect this section audio.If detecting this section audio, server is not used for other users of sign, the user who then comes unique identification registering this section audio, if this section audio has been used to other users of unique identification, then server can be uploaded or this section audio is trained by prompting user again, it is had be different from training audio-frequency fingerprint before, will training this registered user of audio file unique identification afterwards.The content of this audio file comprises: one or more in music, recording, voice and the animal cry.
After the audio file that terminal is identified for registering, this audio file can be saved in the terminal, also this audio file can be saved in the storage device outside the terminal, such as: portable hard drive, mobile phone, MP3(music player) etc.
Concrete, the method that the logging request of the audio file that will obtain when terminal will comprise registration sends to server comprises:
The audio file that obtains during registration that terminal admission user plays outside terminal, and the audio file transmissions under will recording is to server, when for example the user logins, open login page, login page can be provided with the button that begins to record, and the user clicks and to begin recording, the audio file that obtains when then utilizing the audio-frequence player device such as mobile phone to play registration, enrolled by terminal, and the audio file transmissions of admission is arrived server.Need terminal to have sound-recording function and corresponding hardware is arranged this moment, if any microphone etc.
Perhaps, the audio file that the browser of terminal obtains when gathering the registration that the user plays in terminal, and the audio file that collects uploaded onto the server, when for example the user logins, open login page, be provided with the crawl button in the login page, the user clicks the crawl button, then click in terminal and play the audio file that obtains when registering, the terminal browser directly grasps in progress audio file, and the audio file transmissions that obtains is arrived server.
The user directly will upload onto the server for the audio file of login by terminal, when for example the user logins, open login page, be provided with in the login page and upload button, the user clicks and uploads button, then the audio file that obtains in the time of will registering uploads to terminal, and by terminal with this audio file transmissions to server.
Concrete, described audio file has start mark, terminal receives the audio file that the user sends with the form of data flow, and the audio data stream of receiving analyzed, when from audio data stream, identifying start mark, determine that follow-up audio data stream all belongs to the audio file of logining usefulness from the position of start mark.The beginning flag of described audio file comprises: the initial position that is used for the audio file of login has special audio symbol etc.
Step 202: the object information of the login that the terminal reception server sends.
After terminal will comprise the logging request of audio file for registration and send to server, server verified, server turns back to terminal with the result, the login object information that is sent by the terminal reception server.The login result can be successfully or unsuccessful, if login successfully, the authorization information that can also reception server sends is such as login authentication code and/or login password etc.If login unsuccessfully, then receive the unsuccessful information of login.
Referring to Fig. 3, server comprises based on the device of user's login of audio frequency in the present embodiment: receiver module 301, acquisition module 302, matching module 303 and sending module 304.
Receiver module 301 is used for the logging request that the receiving terminal sends.
Acquisition module 302 is used for obtaining audio file from logging request.
Matching module 303, the audio file that obtains when being used for audio file with logging request with registration mates; Wherein, the audio file that obtains during registration is to obtain after server is received the registration request that terminal sends, and sends the user of registration request with unique identification.
Whether sending module 304 allows the user to login for returning according to matching result.
Concrete, the logging request that receiver module 301 receiving terminals send, then obtain audio file in the logging request by acquisition module 302, the audio file that the audio file that is used for login that matching module 303 obtains acquisition module 302 obtains during with registration mates, wherein, the audio file that obtains during registration is to obtain after server is received the registration request that terminal sends, send the user of registration request with unique identification, according to the matching result of matching module, returned the information that whether allows the user to login by sending module.
Concrete, the audio file that obtains during registration is to obtain after server is received the registration request that terminal sends, send the user of registration request with unique identification, wherein, the audio file of acquisition is that acquisition module 302 obtains during described registration, and concrete acquisition pattern comprises: independently generated and independently selected to determine by the user by acquisition module 302.Concrete, acquisition module 302 independently generates, send application for registration such as the user after, one section audio file that is used for registration of acquisition module 302 autonomous generations, send the user of registration request with unique identification, acquisition module 302 sends to terminal with this section audio, is preserved by the user; Determined by autonomous selection of user, after sending application for registration such as the user, whether acquisition module 302 prompting users independently upload audio file is used for login, user's choosing is, then the user with a section audio File Upload to acquisition module 302, authenticated by acquisition module, whether be used to identify the user of other registrations to detect this section audio, if detecting this section audio, acquisition module 302 is not used for other users of sign, the user who then comes unique identification registering this section audio, if this section audio has been used to other users of unique identification, then acquisition module 302 can be uploaded or this section audio is trained by prompting user again, it is had be different from training audio frequency before, this registered user of audio file unique identification after will training, acquisition module 302 sends to terminal with this section audio file, is preserved by the user.
The content of this audio file comprises: one or more in music, recording, voice and the animal cry; Perhaps, audio file comprises the audio-frequency fingerprint that audio content is corresponding.
Concrete, the step that the audio file that the audio file that is used for login that matching module 303 obtains acquisition module 302 obtains during with registration mates comprises: matching module 303 is with the audio file segmentation that obtains; Matching module 303 calculates respectively the audio-frequency fingerprint of every section audio file; Matching module 303 it is calculated that the audio-frequency fingerprint of the audio file that obtains when the audio-frequency fingerprint of the every section audio that obtains mates respectively registration.
Perhaps acquisition module 302 is in the audio reception file, matching module 303 calculates the audio-frequency fingerprint that obtains audio file in real time, and obtain to be used for the audio-frequency fingerprint of unique identification user's audio file during with the registration of the audio-frequency fingerprint match user that calculates in real time, when the audio-frequency fingerprint of the audio file that is used for the unique identification user that obtains when the audio-frequency fingerprint of the audio file that transmits when a certain moment is registered with the user is identical, after then from then on identification rises constantly, the audio file that acquisition module 303 is received is used for the audio file of login, the audio file that obtains before ignoring for the user.
Concrete, after receiver module 301 was received the registration request of terminal transmission in the matching module 303, acquisition module 302 obtained audio file from registration request; Perhaps, after receiver module was received the registration request of terminal transmission, acquisition module generated audio file.
Referring to Fig. 4, terminal comprises based on the device of user's login of audio frequency in the present embodiment: sending module 401 and receiver module 402.
Sending module 401 sends to server for the logging request that will comprise audio file; The audio file of determining when this audio file is registration, and unique identification registered user.
Receiver module 402 is used for the object information of the login that reception server sends.
Concrete, sending module 401 is by the mode of recording, the audio file of determining during registration that the admission user plays terminal outside, and the audio file transmissions of enrolling arrived server; The audio file of determining when perhaps, sending module 401 utilizes the registration that browser collection user plays in terminal and with the audio file transmissions that collects to server; The audio file of determining when perhaps, sending 401 modules with the registration transmitted on the user is uploaded onto the server.
The audio file that obtains during registration that sending module 401 admission users play outside terminal, and the audio file under will recording utilizes transport module 401 to be transferred to server, when for example the user logins, open login page, login page can be provided with the button that begins to record, and the user clicks and to begin recording, the audio file that obtains when then utilizing the audio-frequence player device such as mobile phone to play registration, enrolled by terminal, and the audio file transmissions of admission is arrived server.Need terminal to have sound-recording function and corresponding hardware is arranged this moment, if any microphone etc.
Perhaps, the audio file that the browser of terminal obtains when gathering the registration that the user plays in terminal, and utilize transport module 401 to be transferred to server the audio file that collects, when for example the user logins, open login page, be provided with the crawl button in the login page, the user clicks the crawl button, then click in terminal and play the audio file that obtains when registering, the terminal browser directly grasps in progress audio file, and the audio file transmissions that obtains is arrived server.
Perhaps, the user directly will upload onto the server for the audio file of login by transport module 401, when for example the user logins, open login page, be provided with in the login page and upload button, the user clicks and to upload button, and the audio file of acquisition uploads to terminal in the time of then will register, and by terminal with this audio file transmissions to server.
Receiver module 402 is used for the process server authentication login object information afterwards that reception server sends, and for example passes through the authentication of server, and the user logins unsuccessful, and what then receiver module 402 received is the unsuccessful information of login; If through server authentication success, then receiver module 402 receives and logins successfully prompting and jump to user interface, and the perhaps authorization information that sends of reception server is such as login authentication code and/or login password.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device that is used for realizing in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.