CN106296890B - Unlocking method, device and the mobile terminal of mobile terminal - Google Patents

Unlocking method, device and the mobile terminal of mobile terminal Download PDF

Info

Publication number
CN106296890B
CN106296890B CN201610589381.0A CN201610589381A CN106296890B CN 106296890 B CN106296890 B CN 106296890B CN 201610589381 A CN201610589381 A CN 201610589381A CN 106296890 B CN106296890 B CN 106296890B
Authority
CN
China
Prior art keywords
harmonic wave
mobile terminal
fundamental frequency
acoustic information
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610589381.0A
Other languages
Chinese (zh)
Other versions
CN106296890A (en
Inventor
龙飞
陈志军
杨松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610589381.0A priority Critical patent/CN106296890B/en
Publication of CN106296890A publication Critical patent/CN106296890A/en
Application granted granted Critical
Publication of CN106296890B publication Critical patent/CN106296890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The disclosure is directed to a kind of unlocking method of mobile terminal, device and mobile terminals, belong to mobile communication technology field.Method includes: the acoustic information for receiving user's input;Generate the sonograph of acoustic information, and since the fundamental frequency of sonograph, go out N number of harmonic wave according to the sequential selection of frequency from low to high, the corresponding range value of fundamental frequency is mapped as preset value, and according to the proportionate relationship between other corresponding range values of N-1 harmonic wave and the corresponding range value of fundamental frequency, other corresponding range values of N-1 harmonic wave are mapped respectively;Mobile terminal is unlocked when judging the ratio of harmonic wave of the N-1 harmonic wave in corresponding range value within the scope of is more than that preset ratio threshold value is more than preset ratio threshold value for the N-1 harmonic wave other than fundamental frequency.The unlocking method, so that user is not necessarily to unlock mobile terminal in such a way that human eye cooperates, user can be realized by sound and unlock to mobile terminal, unlock simple and convenient.

Description

Unlocking method, device and the mobile terminal of mobile terminal
Technical field
This disclosure relates to mobile communication technology field more particularly to a kind of unlocking method of mobile terminal, device and movement Terminal.
Background technique
With the rapid development of communication technology, the function of the mobile terminals such as mobile phone is more and more, people pass through mobile phone not only It can be conversed, be sent short messages, can also be paid, store individual privacy information etc., therefore, mobile phone has become people day It often lives indispensable a part.
It, can be to mobile terminal execution lock operation, so that mobile terminal is in order to prevent to mobile terminal maloperation Lock operating mode.When needing to open the mobile terminal in locking operating mode, user inputs unlock on mobile terminals Information executes unlock operation, so that mobile terminal is in non-locking operating mode.
Currently, the unlocking method of mobile terminal mainly includes by entity or dummy keyboard input numerical ciphers, by defeated Enter pattern (gesture) password, biological information (fingerprint, iris) etc., process of these unlocking manners in unlock mobile terminal In, need user's trick compounding practice to input corresponding encrypted message, the time that input encrypted message is spent is longer, unlock movement The efficiency of terminal is lower.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provide a kind of mobile terminal unlocking method, Device and mobile terminal.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of unlocking method of mobile terminal is provided, which comprises connect Receive the acoustic information of user's input;The sonograph of the acoustic information is generated, and since the fundamental frequency of the sonograph, according to frequency The sequential selection of rate from low to high goes out N number of harmonic wave, wherein N is the positive integer greater than 2;The corresponding range value of the fundamental frequency is reflected It penetrates as preset value, and is closed according to the ratio between other corresponding range values of N-1 harmonic wave and the corresponding range value of the fundamental frequency System, respectively maps other corresponding range values of N-1 harmonic wave;For the N-1 harmonic wave other than fundamental frequency, judgement is every Range value after the mapping of a harmonic wave whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of;According to Judging result calculates the ratio of harmonic wave of N-1 harmonic wave within the scope of corresponding range value;It is more than default in the ratio When proportion threshold value, mobile terminal is unlocked.
Method as described above, the sonograph for generating the acoustic information, comprising:
Sampling processing is carried out to the acoustic information, and Fast Fourier Transform (FFT) is carried out to the acoustic information after sampling, with Obtain the spectrogram of the acoustic information;
It is that the spectrogram increases time dimension according to preset strategy, to generate the sonograph of the acoustic information.
Method as described above, it is described that time dimension is increased for the spectrogram according to preset strategy, to generate the sound The sonograph of message breath, comprising:
The spectrogram is rotated to the left 90 degree, and the range value in postrotational spectrogram is carried out according to number of greyscale levels Quantization;
By the range value gray level expressing after quantization, to generate the sonograph of the acoustic information, wherein range value is got over Greatly, corresponding gray level is smaller.
Method as described above, further includes:
Whether within the preset frequency range to judge the corresponding frequency values of the fundamental frequency;
If the corresponding frequency values of the fundamental frequency are within the preset frequency range, execute described that the fundamental frequency is corresponding Range value the step of being mapped as preset value.
Method as described above, further includes:
If the corresponding frequency values of the fundamental frequency are not within the preset frequency range, it is determined that the sound of user's input Message breath is mismatched with the acoustic information that the mobile terminal prestores, and Xiang Suoshu user provides the prompt information of unlock failure.
According to the second aspect of an embodiment of the present disclosure, a kind of tripper of mobile terminal is provided, described device includes connecing Module is received, is configured as receiving the acoustic information of user's input;First processing module is configurable to generate the acoustic information Sonograph, and since the fundamental frequency of the sonograph, goes out N number of harmonic wave according to the sequential selection of frequency from low to high, wherein N is Positive integer greater than 2;Second processing module is configured as the corresponding range value of the fundamental frequency being mapped as preset value, and according to Proportionate relationship between other corresponding range values of N-1 harmonic wave and the corresponding range value of the fundamental frequency, respectively by other N-1 The corresponding range value of harmonic wave is mapped;First judgment module is configured as sentencing for the N-1 harmonic wave other than fundamental frequency Range value after each harmonic wave of breaking mapping whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of; Computing module is configured as calculating the ratio of harmonic wave of N-1 harmonic wave within the scope of corresponding range value according to judging result Example;Unlocked state is configured as being unlocked mobile terminal when confirming that the ratio is more than preset ratio threshold value.
Device as described above, the first processing module, comprising:
Processing unit is configured as carrying out the acoustic information sampling processing, and carries out to the acoustic information after sampling Fast Fourier Transform (FFT), to obtain the spectrogram of the acoustic information;
Generation unit is configured as being that the spectrogram increases time dimension according to preset strategy, to generate the sound The sonograph of information.
Device as described above, the generation unit, comprising:
Quantify subelement, is configured as the spectrogram rotating to the left 90 degree, and according to number of greyscale levels to postrotational Range value in spectrogram is quantified;
Subelement is generated, the range value gray level expressing after quantifying is configured as, to generate the acoustic information Sonograph, wherein range value is bigger, and corresponding gray level is smaller.
Device as described above, further includes:
Third judgment module is configured as whether within the preset frequency range judging the corresponding frequency values of the fundamental frequency;
Wherein, the Second processing module is additionally configured in the corresponding frequency values of the fundamental frequency in the predeterminated frequency When in range, the corresponding range value of the fundamental frequency is mapped as preset value.
Device as described above, further includes:
Third processing module, be configured as the corresponding frequency values of the fundamental frequency not within the preset frequency range, really The acoustic information that the acoustic information and the mobile terminal of fixed user's input prestore mismatches, and Xiang Suoshu user provides unlock The prompt information of failure.
According to the third aspect of an embodiment of the present disclosure, a kind of mobile terminal is provided, the mobile terminal includes second aspect The tripper of the mobile terminal of embodiment.
According to a fourth aspect of embodiments of the present disclosure, a kind of mobile terminal is provided, which includes: processor;With In the memory of storage processor executable instruction;Wherein, the processor is configured to:
Receive the acoustic information of user's input;
Extract the tamber characteristic information of the acoustic information;
Judge whether the tamber characteristic information of the acoustic information matches with the tamber characteristic information of the sound pattern prestored;
If it does, then being unlocked to mobile terminal.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
When mobile terminal is in the lock state, after the acoustic information for unlock of user's input, the sound is generated The sonograph of information, and fundamental frequency is determined from sonograph, and since fundamental frequency, it is selected from low to high from frequency N number of humorous Wave, and the corresponding range value of fundamental frequency is mapped as preset value, and corresponding according to other corresponding range values of N-1 harmonic wave and fundamental frequency Range value between proportionate relationship, other corresponding range values of N-1 harmonic wave are mapped respectively, then, in addition to N-1 harmonic wave except fundamental frequency, range value after judging the mapping of each harmonic wave whether the sound pattern prestored each harmonic wave Within the scope of corresponding range value, and the harmonic wave in judging the N-1 harmonic wave within the scope of its respective range value When ratio is more than preset ratio threshold value, mobile terminal is unlocked.As a result, user is not necessarily in such a way that human eye cooperates Mobile terminal is unlocked, user can be realized by sound and unlock to mobile terminal, and it is simple to operate, it facilitates user and unlocks shifting Dynamic terminal increases the convenience that user unlocks mobile terminal.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and be configured as explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the unlocking method of mobile terminal shown according to an exemplary embodiment.
Fig. 2 a is the refined flow chart for generating the sonograph of acoustic information.
Fig. 2 b is the exemplary diagram of the spectrogram of acoustic information.
Fig. 3 a is the exemplary diagram of the spectrogram of a frame voice.
Fig. 3 b is the exemplary diagram of the figure obtained after rotating to the left 90 degree to Fig. 3 a.
Fig. 3 c is the exemplary diagram that the figure after gray level expressing is carried out to Fig. 3 b.
Fig. 4 a is the exemplary diagram of the sonograph of acoustic information.
Fig. 4 b is the exemplary diagram that the sonograph from Fig. 4 a determines 6 frequency values.
Fig. 5 is a kind of flow chart of the unlocking method of the mobile terminal shown according to another exemplary embodiment.
Fig. 6 is a kind of block diagram of the tripper of mobile terminal shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the tripper of the mobile terminal shown according to another exemplary embodiment.
Fig. 8 is a kind of block diagram of the tripper of the mobile terminal shown according to another exemplary embodiment.
Fig. 9 is a kind of block diagram of the tripper of the mobile terminal shown according to another exemplary embodiment.
Figure 10 is a kind of block diagram of the tripper of the mobile terminal shown according to another exemplary embodiment.
Figure 11 is a kind of block diagram of the tripper 1100 of mobile terminal shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the unlocking method of mobile terminal shown according to an exemplary embodiment, such as Fig. 1 institute Show, the unlocking method of the mobile terminal of the embodiment is suitable for mobile terminal, wherein mobile terminal may, for example, be mobile phone, put down Plate computer, personal digital assistant, e-book etc. have the hardware device of various operating systems, the unlocking method packet of the mobile terminal Include following steps.
In a step 11, the acoustic information of user's input is received.
Specifically, when mobile terminal is in the lock state, it is defeated that mobile terminal can acquire user by voice collection device What is entered is used to unlock the acoustic information of mobile terminal.
In step 12, the sonograph of acoustic information is generated, and since the fundamental frequency of sonograph, from low to high according to frequency Sequential selection go out N number of harmonic wave.
Wherein, N is the positive integer greater than 2.
Wherein, N is pre-set value, for example, N can be 6, or 12, it, can be according to applied field in actually answering The value of N is arranged in scape demand, and usual N is bigger, and the accuracy accurately identified to acoustic information is higher.
In embodiment of the disclosure, as shown in Figure 2 a, the process for generating the sonograph of acoustic information may include following Several steps:
In step 121, sampling processing is carried out to acoustic information, and fast Fourier is carried out to the acoustic information after sampling Transformation, to obtain the spectrogram of acoustic information.
Wherein, for acoustic information carry out discrete processes sampled point quantity be it is pre-set, for example, settable 8000 sampled points carry out discretization to continuous acoustic information to realize.
After carrying out sliding-model control to acoustic information, can by Fast Fourier Transform (FFT) to the acoustic information of discretization into Row frequency-domain transform, to generate the spectrogram of the acoustic information.Wherein, Fig. 2 b is the exemplary diagram of the spectrogram of certain section of acoustic information.
It in step 122, is that spectrogram increases time dimension according to preset strategy, to generate the sonograph of acoustic information.
In embodiment of the disclosure, spectrogram is rotated to the left 90 degree, and according to number of greyscale levels to postrotational frequency spectrum Range value in figure is quantified, and by the range value gray level expressing after quantization, to generate the sonograph of acoustic information.
Wherein, range value is bigger, and corresponding gray level is smaller.
For example, the frequency spectrum of the wherein frame voice in Mr. Yu's section acoustic information is come out by coordinate representation, is such as schemed Shown in 3a.90 degree of obtained figures are rotated to the left for frequency spectrum shown in Fig. 3 a, as shown in Figure 3b, for scheming shown in Fig. 3 b, Range value in Fig. 3 b can be mapped to a gray level expressing, specifically, the quantization of continuous range value is measured for 256 Change value, 0 indicates black, and 255 indicate white, and range value is bigger, and corresponding gray value is smaller, i.e., corresponding region is more black, to Fig. 3 b Figure after progress grey scale change increases this dimension of time as shown in Figure 3c as a result,.
The people being typically different is when issuing the pitch of same frequency, although corresponding frequency is the same, the sound corresponding to it Color is different, has different timbres and is mainly reflected on harmonic wave.Therefore, in embodiment of the disclosure, in order to can be according to the sound of user Sound realizes the unlock to mobile terminal, after the sonograph for obtaining acoustic information, first can determine acoustic information according to sonograph Fundamental frequency go out N number of harmonic wave according to the sequential selection of low frequency to high frequency and since fundamental frequency.
For example, Fig. 4 a is the exemplary diagram of the sonograph of acoustic information, as shown in fig. 4 a, in sonograph includes very much Similar straight line, these are all the harmonic waves of same fundamental frequency.The ordinate of the sonograph represents frequency, and (unit is not Hz, but have one-to-one relationship), it, can be it can be easily ascertained that fundamental frequency, as sonograph by analyzing sonograph In with respect to most shallow that, the frequency in sonograph after the stabilization of remaining straight line is usually that the integral multiple of fundamental frequency therefore can The harmonic wave of 6 integral multiples is taken out from a certain moment of frequency stabilization, as shown in Figure 4 b, the position where the upper circle of Fig. 4 b represents Frequency values it is corresponding can to obtain each frequency values by spectrogram corresponding with the life spectrogram after obtaining said frequencies value Range value.
In step 13, the corresponding range value of fundamental frequency is mapped as preset value, and according to other corresponding width of N-1 harmonic wave Proportionate relationship between angle value and the corresponding range value of fundamental frequency respectively maps other corresponding range values of N-1 harmonic wave.
Wherein, preset value is pre-set value, for example, preset value can be 1000, or 100.
It should be noted that preset value is pre-stored in mobile terminal, and the preset threshold does not have unit, is not anti- Actual range value is reflected, but reflects relative size.
Wherein, it is to be understood that after the sonograph according to acoustic information determines N number of harmonic wave, can believe from the sound It ceases and determines range value corresponding to each harmonic wave in corresponding spectrogram.
The embodiment passes through N-1 harmonic wave during the acoustic information to input mobile terminal is unlocked judgement Proportionate relationship between fundamental frequency identifies the acoustic information of input mobile terminal, in order to improve identification sound in mobile terminal The range value of fundamental frequency, can be mapped to preset value such as 1000, then, according between each harmonic wave and fundamental frequency by the efficiency of message breath Range value between proportionate relationship the range value of each harmonic wave can be mapped, in the range value after the mapping of each harmonic wave Reflect the proportionate relationship between each harmonic wave and fundamental frequency.That is, during handling acoustic information, by fundamental frequency Corresponding range value normalizes to preset value, and according to the proportionate relationship of other harmonic waves and the range value of fundamental frequency to other harmonic waves It is handled, so that the range value of other harmonic waves after mapping is also normalized within the scope of one.
For example, preset value is 1000, the size of range value corresponding to first harmonic wave (fundamental frequency) is 500, and second humorous The size of range value corresponding to wave is 750, and range value corresponding to second harmonic wave and first harmonic wave (fundamental frequency) are corresponding Range value ratio value be 1.5, after range value corresponding to first harmonic is mapped to 1000, according to second harmonic wave institute The ratio value of range value corresponding to corresponding range value and first harmonic wave (fundamental frequency), second after can determining mapping are humorous The size of range value corresponding to wave is 1500.
At step 14, for the N-1 harmonic wave other than fundamental frequency, whether the range value after judging each harmonic wave mapping Within the scope of the range value corresponding to each harmonic wave of the sound pattern prestored.
Wherein, range value range corresponding to each harmonic wave is according to the amplitude after each harmonic wave mapping in sound pattern The pre-set range value range of value institute.
Wherein, it is to be understood that, for different harmonic waves, amplitude corresponding to the different harmonic waves that mobile terminal is pre-saved Range is different, for example, mobile terminal can pre-stored voice template second harmonic wave mapping after range value range be A1- A2, the range value range after the mapping of third harmonic wave are A3-A4.
It should be noted that the range value range in the embodiment pre-saves, and does not have unit, it is not reflection Actual range value, but reflect relative size.
For example, N is 6, six harmonic waves are respectively first to the 6th harmonic wave, and first harmonic wave is fundamental frequency, for third For a harmonic wave, if according to the proportionate relationship of third harmonic and first harmonic, after the range value mapping of third harmonic wave, institute Range value after the third harmonic wave mapping of acquisition is 500, if the third harmonic wave of the sound pattern prestored in mobile terminal Mapping after range value magnitude range be 350-650, obtain third harmonic wave map after range value after, by with shifting The range value range of the third harmonic wave prestored in dynamic terminal compares, and the range value after can determining third harmonic mapping exists Within the scope of range value.It is to be appreciated that the treatment process for other harmonic waves is identical as the treatment process of third harmonic wave, this Place repeats no more.
In step 15, harmonic wave of N-1 harmonic wave within the scope of corresponding range value is calculated according to judging result Ratio.
For example, N be 6, six harmonic waves are respectively the first to the 6th harmonic wave, and first harmonic is fundamental frequency, if calculate in addition to Outside fundamental frequency, there are four harmonic wave mapping after range value saved in the terminal its respectively corresponding to range value range It is interior, then other than fundamental frequency, in N-1 harmonic wave its respectively the harmonic wave of preset amplitude range ratio be 80%.
In step 16, judge whether ratio is more than preset ratio threshold value.
Wherein, preset ratio threshold value is pre-set value in mobile terminal, for example, preset ratio threshold value can be 60%, or 70%, preset ratio threshold value can be set according to practical application request.
In step 17, if it exceeds preset ratio threshold value, then be unlocked mobile terminal.
For example, N is 11, preset ratio threshold value is 60%, after the acoustic information that mobile terminal receives user's input, such as Fruit calculates in 10 harmonic waves, if there is 8 harmonic waves are within the scope of its corresponding preset range value, that is, calculate humorous The ratio of wave is 80%, by by the ratio and preset ratio threshold value comparison, it can be seen that the ratio has been more than preset ratio threshold Value, at this point, can determine whether out that the user for the sound pattern for inputting the user of acoustic information and mobile terminal being arranged is the same person, it is right Mobile terminal is unlocked, so that the user of mobile terminal can be unlocked mobile terminal by sound.
Specifically, mobile whole after user opens sound unlock mobile terminal function during using mobile terminal End can prompt the acoustic information of user's input default such as 2 seconds a period of time, at this point, the sound of mobile terminal records user input Information, and the acoustic information that user inputs is generated into the corresponding sound of the sound pattern as sound pattern, and according to acoustic information Color characteristic information.
In embodiment of the disclosure, in order to which the tamber characteristic information of the sound pattern saved in mobile terminal is accurate, User can be prompted to input identical acoustic information again, and the acoustic information by repeatedly inputting is to determine the sound of sound pattern Color characteristic information, as a result, the tamber characteristic information of the sound pattern pre-saved in mobile terminal is more accurate.
Wherein, it should be noted that in order to enable user can unlock mobile terminal, user by different acoustic informations A variety of different acoustic informations can be set according to demand to unlock mobile terminal.
As an example, when opening the sound unlocking function of mobile terminal, user can protect in the terminal in advance A variety of different acoustic informations are deposited, to facilitate user that can unlock mobile terminal by any saved acoustic information.
For example, it is assumed that two different acoustic informations have been pre-saved in mobile terminal, respectively " " and " mobile phone Unlock ", user unlock mobile terminal when, can by the acoustic information of input " " or " mobile phone unlock " to mobile terminal into Row unlock.
It in summary it can be seen, the unlocking method of mobile terminal provided in this embodiment is in the lock state in mobile terminal When, after the acoustic information for unlock of user's input, the sonograph of the acoustic information is generated, and determine from sonograph Fundamental frequency, and since fundamental frequency, select N number of harmonic wave from low to high from frequency, and the corresponding range value of fundamental frequency is mapped as pre- If value, and according to the proportionate relationship between other corresponding range values of N-1 harmonic wave and the corresponding range value of fundamental frequency, respectively by it He maps the corresponding range value of N-1 harmonic wave, then, for the N-1 harmonic wave other than fundamental frequency, judges each harmonic wave Range value after mapping whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of, and judging When the ratio of harmonic wave in the N-1 harmonic wave within the scope of its respective range value is more than preset ratio threshold value, to mobile terminal It is unlocked.As a result, user is not necessarily to unlock mobile terminal in such a way that human eye cooperates, user can be realized by sound Mobile terminal is unlocked, it is simple to operate, it facilitates user and unlocks mobile terminal, increase user and unlock mobile terminal just Victory.
Fig. 5 is a kind of flow chart of the unlocking method of the mobile terminal shown according to another exemplary embodiment, such as Fig. 5 institute Show, the unlocking method of the mobile terminal of the embodiment is suitable for mobile terminal, wherein mobile terminal may, for example, be mobile phone, put down Plate computer, personal digital assistant, e-book etc. have the hardware device of various operating systems, the unlocking method packet of the mobile terminal Include following steps.
In step 51, the acoustic information of user's input is received.
Specifically, when mobile terminal is in the lock state, it is defeated that mobile terminal can acquire user by voice collection device What is entered is used to unlock the acoustic information of mobile terminal.
In step 52, the sonograph of acoustic information is generated, and since the fundamental frequency of sonograph, from low to high according to frequency Sequential selection go out N number of harmonic wave.
Wherein, N is the positive integer greater than 2.
Wherein, N is pre-set value, for example, N can be 6, or 12, it, can be according to applied field in actually answering The value of N is arranged in scape demand, and usual N is bigger, and the accuracy accurately identified to acoustic information is higher.
Wherein, it should be noted that the process of the sonograph of acoustic information is generated, as shown in Figure 2 a, the preceding phase to Fig. 2 a It closes description and also uses the embodiment, details are not described herein again.
In step 53, whether within the preset frequency range the corresponding frequency values of fundamental frequency are judged, if not, thening follow the steps 54, if so, thening follow the steps 55.
In step 54, determine that the acoustic information of user's input and the acoustic information that mobile terminal prestores mismatch, Xiang Yong Family provides the prompt information of unlock failure.
Usually everyone has respective frequency range during speaking, and therefore, fundamental frequency is being determined from sonograph Afterwards, the frequency values of fundamental frequency can be compared with the predeterminated frequency range of the fundamental frequency of the sound pattern prestored, that is to say, that can lead to It crosses fundamental frequency and preliminary screening is carried out to the acoustic information of input mobile terminal, if determined by preliminary screening defeated to mobile terminal Entering user corresponding to sound pattern in the user and mobile terminal of acoustic information is not the same user, user can be prompted to unlock Failure.
For example, the frequency range of the fundamental frequency of the sound pattern saved in smart phone is 20-30, if according to sonograph The fundamental frequency for determining acoustic information received by mobile terminal is 15, by comparing as can be seen that the fundamental frequency no longer mobile terminal In the frequency range prestored, illustrate the sound pattern institute into the user of mobile terminal input acoustic information and mobile terminal at this time Corresponding user is not the same user, and in order to guarantee the personal secrets of mobile terminal affiliated user, the unlock for breaking off relations user is asked It asks.
In step 55, the corresponding range value of fundamental frequency is mapped as preset value, and according to other corresponding width of N-1 harmonic wave Proportionate relationship between angle value and the corresponding range value of fundamental frequency respectively maps other corresponding range values of N-1 harmonic wave.
Wherein, preset value is pre-set value, for example, preset value can be 1000, or 100.
It should be noted that preset value is pre-stored in mobile terminal, and the preset threshold does not have unit, is not anti- Actual range value is reflected, but reflects relative size.
Wherein, it is to be understood that after the sonograph according to acoustic information determines N number of harmonic wave, can believe from the sound It ceases and determines range value corresponding to each harmonic wave in corresponding spectrogram.
The embodiment passes through N-1 harmonic wave during the acoustic information to input mobile terminal is unlocked judgement Proportionate relationship between fundamental frequency identifies the acoustic information of input mobile terminal, in order to improve identification sound in mobile terminal The range value of fundamental frequency, can be mapped to preset value such as 1000, then, according between each harmonic wave and fundamental frequency by the efficiency of message breath Range value between proportionate relationship the range value of each harmonic wave can be mapped, in the range value after the mapping of each harmonic wave Reflect the proportionate relationship between each harmonic wave and fundamental frequency.That is, during handling acoustic information, by fundamental frequency Corresponding range value normalizes to preset value, and according to the proportionate relationship of other harmonic waves and the range value of fundamental frequency to other harmonic waves It is handled, so that the range value of other harmonic waves after mapping is also normalized within the scope of one.
For example, preset value is 1000, the size of range value corresponding to first harmonic wave (fundamental frequency) is 500, and second humorous The size of range value corresponding to wave is 750, and range value corresponding to second harmonic wave and first harmonic wave (fundamental frequency) are corresponding Range value ratio value be 1.5, after range value corresponding to first harmonic is mapped to 1000, according to second harmonic wave institute The ratio value of range value corresponding to corresponding range value and first harmonic wave (fundamental frequency), second after can determining mapping are humorous The size of range value corresponding to wave is 1500.
At step 56, for the N-1 harmonic wave other than fundamental frequency, whether the range value after judging each harmonic wave mapping Within the scope of the range value corresponding to each harmonic wave of the sound pattern prestored.
Wherein, range value range corresponding to each harmonic wave is according to the amplitude after each harmonic wave mapping in sound pattern The pre-set range value range of value institute.
Wherein, it is to be understood that, for different harmonic waves, amplitude corresponding to the different harmonic waves that mobile terminal is pre-saved Range is different, for example, mobile terminal can pre-stored voice template second harmonic wave mapping after range value range be A1- A2, the range value range after the mapping of third harmonic wave are A3-A4.
It should be noted that the range value range in the embodiment pre-saves, and does not have unit, it is not reflection Actual range value, but reflect relative size.
For example, N is 6, six harmonic waves are respectively first to the 6th harmonic wave, and first harmonic wave is fundamental frequency, for third For a harmonic wave, if according to the proportionate relationship of third harmonic and first harmonic, after the range value mapping of third harmonic wave, institute Range value after the third harmonic wave mapping of acquisition is 500, if the third harmonic wave of the sound pattern prestored in mobile terminal Mapping after range value magnitude range be 350-650, obtain third harmonic wave map after range value after, by with shifting The range value range of the third harmonic wave prestored in dynamic terminal compares, and the range value after can determining third harmonic mapping exists Within the scope of range value.It is to be appreciated that the treatment process for other harmonic waves is identical as the treatment process of third harmonic wave, this Place repeats no more.
In step 57, harmonic wave of N-1 harmonic wave within the scope of corresponding range value is calculated according to judging result Ratio.
For example, N be 6, six harmonic waves are respectively the first to the 6th harmonic wave, and first harmonic is fundamental frequency, if calculate in addition to Outside fundamental frequency, there are four harmonic wave mapping after range value saved in the terminal its respectively corresponding to range value range It is interior, then other than fundamental frequency, in N-1 harmonic wave its respectively the harmonic wave of preset amplitude range ratio be 80%.
In step 58, judge whether ratio is more than preset ratio threshold value.
Wherein, preset ratio threshold value is pre-set value in mobile terminal, for example, preset ratio threshold value can be 60%, or 70%, preset ratio threshold value can be set according to practical application request.
In step 59, if it exceeds preset ratio threshold value, then be unlocked mobile terminal.
For example, N is 11, preset ratio threshold value is 60%, after the acoustic information that mobile terminal receives user's input, such as Fruit calculates in 10 harmonic waves, if there is 8 harmonic waves are within the scope of its corresponding preset range value, that is, calculate humorous The ratio of wave is 80%, by by the ratio and preset ratio threshold value comparison, it can be seen that the ratio has been more than preset ratio threshold Value, at this point, can determine whether out that the user for the sound pattern for inputting the user of acoustic information and mobile terminal being arranged is the same person, it is right Mobile terminal is unlocked, so that the user of mobile terminal can be unlocked mobile terminal by sound.
Wherein, it should be noted that if it is judged that the ratio of harmonic wave is no more than preset ratio threshold value, then follow the steps 54。
Specifically, mobile whole after user opens sound unlock mobile terminal function during using mobile terminal End can prompt the acoustic information of user's input default such as 2 seconds a period of time, at this point, the sound of mobile terminal records user input Information, and the acoustic information that user inputs is generated into the corresponding sound of the sound pattern as sound pattern, and according to acoustic information Color characteristic information.
In embodiment of the disclosure, in order to which the tamber characteristic information of the sound pattern saved in mobile terminal is accurate, User can be prompted to input identical acoustic information again, and the acoustic information by repeatedly inputting is to determine the sound of sound pattern Color characteristic information, as a result, the tamber characteristic information of the sound pattern pre-saved in mobile terminal is more accurate.
Wherein, it should be noted that in order to enable user can unlock mobile terminal, user by different acoustic informations A variety of different acoustic informations can be set according to demand to unlock mobile terminal.
As an example, when opening the sound unlocking function of mobile terminal, user can protect in the terminal in advance A variety of different acoustic informations are deposited, to facilitate user that can unlock mobile terminal by any saved acoustic information.
For example, it is assumed that two different acoustic informations have been pre-saved in mobile terminal, respectively " " and " mobile phone Unlock ", user unlock mobile terminal when, can by the acoustic information of input " " or " mobile phone unlock " to mobile terminal into Row unlock.
It in summary it can be seen, the unlocking method of mobile terminal provided in this embodiment is in the lock state in mobile terminal When, after the acoustic information for unlock of user's input, the sonograph of the acoustic information is generated, and determine from sonograph Fundamental frequency, and since fundamental frequency, select N number of harmonic wave from low to high from frequency, and the corresponding range value of fundamental frequency is mapped as pre- If value, and according to the proportionate relationship between other corresponding range values of N-1 harmonic wave and the corresponding range value of fundamental frequency, respectively by it He maps the corresponding range value of N-1 harmonic wave, then, for the N-1 harmonic wave other than fundamental frequency, judges each harmonic wave Range value after mapping whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of, and judging When the ratio of harmonic wave in the N-1 harmonic wave within the scope of its respective range value is more than preset ratio threshold value, to mobile terminal It is unlocked.As a result, user is not necessarily to unlock mobile terminal in such a way that human eye cooperates, user can be realized by sound Mobile terminal is unlocked, it is simple to operate, it facilitates user and unlocks mobile terminal, increase user and unlock mobile terminal just Victory.
Corresponding with the embodiment of the unlocking method of mobile terminal above-mentioned, the disclosure additionally provides the unlock of mobile terminal The embodiment of device.
Fig. 6 is a kind of block diagram of the tripper of mobile terminal shown according to an exemplary embodiment, the mobile terminal Tripper being implemented in combination with by software, hardware or both, as shown in fig. 6, the tripper of the mobile terminal Include:
Receiving module 10 is configured as receiving the acoustic information of user's input.
First processing module 20 is configurable to generate the sonograph of acoustic information, and since the fundamental frequency of sonograph, according to The sequential selection of frequency from low to high goes out N number of harmonic wave, wherein N is the positive integer greater than 2.
Second processing module 30 is configured as the corresponding range value of fundamental frequency being mapped as preset value, and according to other N-1 Proportionate relationship between the corresponding range value of harmonic wave and the corresponding range value of fundamental frequency, respectively by other corresponding width of N-1 harmonic wave Angle value is mapped.
First judgment module 40 is configured as the N-1 harmonic wave other than fundamental frequency, after judging each harmonic wave mapping Range value whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of.
Computing module 50 is configured as calculating N-1 harmonic wave according to judging result within the scope of corresponding range value The ratio of harmonic wave.
Second judgment module 60 is configured as judging whether ratio is more than preset ratio threshold value.
Unlocked state 70 is configured as being unlocked mobile terminal when being more than preset ratio threshold value.
In embodiment of the disclosure, on the basis of embodiment shown in Fig. 6, if Fig. 7 is instigated, above-mentioned first processing mould Block 20 may include:
Processing unit 210 is configured as carrying out acoustic information sampling processing, and carries out to the acoustic information after sampling fast Fast Fourier transformation, to obtain the spectrogram of acoustic information;
Generation unit 220 is configured as being that spectrogram increases time dimension according to preset strategy, to generate acoustic information Sonograph.
In embodiment of the disclosure, on the basis of embodiment shown in Fig. 7, as shown in figure 8, generation unit 220 can To include:
Quantization subelement 221 is configured as rotating to the left spectrogram into 90 degree, and according to number of greyscale levels to postrotational frequency Range value in spectrogram is quantified.
It generates subelement 222 and is configured as the range value gray level expressing after quantifying, to generate the sound of acoustic information Spectrogram.
Wherein, range value is bigger, and corresponding gray level is smaller.
In embodiment of the disclosure, on the basis of embodiment shown in Fig. 6, as shown in figure 9, above-mentioned apparatus can be with Include:
Third judgment module 80 is configured as whether within the preset frequency range judging the corresponding frequency values of fundamental frequency.
Wherein, Second processing module 30 be additionally configured to the corresponding frequency values of fundamental frequency within the preset frequency range when, will The corresponding range value of fundamental frequency is mapped as preset value.
Wherein, it should be noted that the structure of the third judgment module 80 in above-mentioned Installation practice shown in Fig. 9 can also To be included in the Installation practice of earlier figures 7 and Fig. 8, this disclosure is not limited.
In embodiment of the disclosure, on the basis of embodiment shown in Fig. 9, as shown in Figure 10, above-mentioned apparatus may be used also To include:
Third processing module 90 be configured as the corresponding frequency values of fundamental frequency not within the preset frequency range, determine that user is defeated The acoustic information that the acoustic information and mobile terminal entered prestores mismatches, and provides a user the prompt information of unlock failure.
Wherein, it should be noted that the structure of the third processing module 90 in above-mentioned Installation practice shown in Fig. 10 It may be embodied in the Installation practice of earlier figures 7- Fig. 9, this disclosure be not limited.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It in summary it can be seen, the tripper of mobile terminal provided in this embodiment is in the lock state in mobile terminal When, after the acoustic information for unlock of user's input, the sonograph of the acoustic information is generated, and determine from sonograph Fundamental frequency, and since fundamental frequency, select N number of harmonic wave from low to high from frequency, and the corresponding range value of fundamental frequency is mapped as pre- If value, and according to the proportionate relationship between other corresponding range values of N-1 harmonic wave and the corresponding range value of fundamental frequency, respectively by it He maps the corresponding range value of N-1 harmonic wave, then, for the N-1 harmonic wave other than fundamental frequency, judges each harmonic wave Range value after mapping whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of, and judging When the ratio of harmonic wave in the N-1 harmonic wave within the scope of its respective range value is more than preset ratio threshold value, to mobile terminal It is unlocked.As a result, user is not necessarily to unlock mobile terminal in such a way that human eye cooperates, user can be realized by sound Mobile terminal is unlocked, it is simple to operate, it facilitates user and unlocks mobile terminal, increase user and unlock mobile terminal just Victory.
Correspondingly, the disclosure also provides a kind of mobile terminal, which includes the mobile terminal in above-described embodiment Tripper.
To sum up, mobile terminal provided in this embodiment, when mobile terminal is in the lock state, in being used for for user's input After the acoustic information of unlock, the sonograph of the acoustic information is generated, and determines fundamental frequency from sonograph, and open from fundamental frequency Begin, selects N number of harmonic wave from low to high from frequency, and the corresponding range value of fundamental frequency is mapped as preset value, and according to other N-1 Proportionate relationship between the corresponding range value of a harmonic wave and the corresponding range value of fundamental frequency, it is respectively that other N-1 harmonic wave are corresponding Range value is mapped, and then, for the N-1 harmonic wave other than fundamental frequency, the range value after judging each harmonic wave mapping is Within the scope of the no range value corresponding to each harmonic wave of the sound pattern prestored, and in judging the N-1 harmonic wave When the ratio of harmonic wave within the scope of its respective range value is more than preset ratio threshold value, mobile terminal is unlocked.Make as a result, User is obtained to be not necessarily to unlock mobile terminal in such a way that human eye cooperates, user can be realized by sound and unlock to mobile terminal, It is simple to operate, it facilitates user and unlocks mobile terminal, increase the convenience that user unlocks mobile terminal.
Correspondingly, the disclosure also provides a kind of terminal, terminal includes memory and one or more than one journey Sequence, perhaps more than one program is stored in memory and is configured to by one or more than one processor for one of them It executes one or more than one program includes the instruction for performing the following operation: being in mobile terminal to unlocked state Under, if detecting, user holds mobile terminal, obtains the gripping information that user holds mobile terminal;Judgement holds information and pre- Whether the gripping habits information deposited matches;If hold information matched with the gripping habits information prestored, to mobile terminal into Row unlock.
Figure 11 is a kind of block diagram of the tripper 1100 of mobile terminal shown according to an exemplary embodiment.For example, Device 1100 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, device 1100 may include following one or more components: processing component 1102, memory 1104, Electric power assembly 1106, multimedia component 1108, audio component 1110, the interface 1112 of input/output (I/O), sensor module 1114 and communication component 1116.
The integrated operation of the usual control device 1100 of processing component 1102, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1102 may include one or more processors 1120 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more moulds Block, convenient for the interaction between processing component 1102 and other assemblies.For example, processing component 1102 may include multi-media module, To facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in device 1100.These data Example includes the instruction of any application or method for operating on device 1100, contact data, telephone book data, Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1106 provides electric power for the various assemblies of device 1100.Electric power assembly 1106 may include power management System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1108 includes the screen of one output interface of offer between device 1100 and user.Some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, But also detection duration and pressure relevant to touch or slide.In some embodiments, multimedia component 1108 Including a front camera and/or rear camera.When device 1100 is in operation mode, such as screening-mode or video mode When, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition camera shooting Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes a wheat Gram wind (MIC), when device 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1104 or via communication Component 1116 is sent.In some embodiments, audio component 1110 further includes a loudspeaker, is used for output audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commented Estimate.For example, sensor module 1114 can detecte the state that opens/closes of device 1100, the relative positioning of component, such as group Part is the display and keypad of device 1100, and sensor module 1114 can be with 1,100 1 groups of detection device 1100 or device The position change of part, the existence or non-existence that user contacts with device 1100,1100 orientation of device or acceleration/deceleration and device 1100 temperature change.Sensor module 1114 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when touching.Sensor module 1114 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1116 further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of device 1100 to complete the above method.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of mobile terminal When row, so that mobile terminal is able to carry out a kind of unlocking method of mobile terminal, method includes:
Receive the acoustic information of user's input;
The sonograph of acoustic information is generated, and since the fundamental frequency of sonograph, according to the sequential selection of frequency from low to high N number of harmonic wave out, wherein N is the positive integer greater than 2.
The corresponding range value of fundamental frequency is mapped as preset value, and according to other corresponding range values of N-1 harmonic wave and fundamental frequency Proportionate relationship between corresponding range value respectively maps other corresponding range values of N-1 harmonic wave;
For the N-1 harmonic wave other than fundamental frequency, whether the range value after judging each harmonic wave mapping is in the sound prestored Within the scope of range value corresponding to each harmonic wave of sound template;
The ratio of harmonic wave of N-1 harmonic wave within the scope of corresponding range value is calculated according to judging result;
Judge whether ratio is more than preset ratio threshold value;
If it exceeds preset ratio threshold value, then be unlocked mobile terminal.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of unlocking method of mobile terminal, which comprises the following steps:
Receive the acoustic information of user's input;
The sonograph of the acoustic information is generated, and since the fundamental frequency of the sonograph, according to the sequence of frequency from low to high Select N number of harmonic wave, wherein N is the positive integer greater than 2;
The corresponding range value of the fundamental frequency is mapped as preset value, and according to other corresponding range values of N-1 harmonic wave and described Proportionate relationship between the corresponding range value of fundamental frequency respectively maps other corresponding range values of N-1 harmonic wave;
For the N-1 harmonic wave other than fundamental frequency, whether the range value after judging each harmonic wave mapping is in the sound mould prestored Within the scope of range value corresponding to each harmonic wave of plate;
The ratio of harmonic wave of N-1 harmonic wave within the scope of corresponding range value is calculated according to judging result;
When the ratio is more than preset ratio threshold value, the mobile terminal is unlocked;
Further include:
Whether within the preset frequency range to judge the corresponding frequency values of the fundamental frequency;
The corresponding frequency values of the fundamental frequency within the preset frequency range when, execute it is described by the corresponding amplitude of the fundamental frequency Value is mapped as the step of preset value.
2. the method as described in claim 1, which is characterized in that the sonograph for generating the acoustic information, comprising:
Sampling processing is carried out to the acoustic information, and Fast Fourier Transform (FFT) is carried out to the acoustic information after sampling, to obtain The spectrogram of the acoustic information;
It is that the spectrogram increases time dimension according to preset strategy, to generate the sonograph of the acoustic information.
3. method according to claim 2, which is characterized in that described to increase time dimension according to preset strategy for the spectrogram Degree, to generate the sonograph of the acoustic information, comprising:
The spectrogram is rotated to the left 90 degree, and according to number of greyscale levels to the range value amount of progress in postrotational spectrogram Change;
By the range value gray level expressing after quantization, to generate the sonograph of the acoustic information, wherein range value is bigger, Corresponding gray level is smaller.
4. the method as described in claim 1, which is characterized in that further include:
The corresponding frequency values of the fundamental frequency not within the preset frequency range when, determine the acoustic information of user input It is mismatched with the acoustic information that the mobile terminal prestores, Xiang Suoshu user provides the prompt information of unlock failure.
5. a kind of tripper of mobile terminal characterized by comprising
Receiving module is configured as receiving the acoustic information of user's input;
First processing module is configurable to generate the sonograph of the acoustic information, and since the fundamental frequency of the sonograph, presses Go out N number of harmonic wave according to the sequential selection of frequency from low to high, wherein N is the positive integer greater than 2;
Second processing module is configured as the corresponding range value of the fundamental frequency being mapped as preset value, and humorous according to other N-1 Proportionate relationship between the corresponding range value of wave and the corresponding range value of the fundamental frequency, it is respectively that other N-1 harmonic wave are corresponding Range value is mapped;
First judgment module is configured as judging the amplitude after each harmonic wave mapping for the N-1 harmonic wave other than fundamental frequency Value whether the range value corresponding to each harmonic wave of the sound pattern prestored within the scope of;
Computing module is configured as calculating harmonic wave of N-1 harmonic wave within the scope of corresponding range value according to judging result Ratio;
Unlocked state is configured as being unlocked mobile terminal when confirming that the ratio is more than preset ratio threshold value;
Further include:
Third judgment module is configured as whether within the preset frequency range judging the corresponding frequency values of the fundamental frequency;
Wherein, the Second processing module is additionally configured in the corresponding frequency values of the fundamental frequency in the predeterminated frequency range When interior, the corresponding range value of the fundamental frequency is mapped as preset value.
6. tripper as claimed in claim 5, which is characterized in that the first processing module, comprising:
Processing unit is configured as carrying out the acoustic information sampling processing, and carries out to the acoustic information after sampling quick Fourier transformation, to obtain the spectrogram of the acoustic information;
Generation unit is configured as being that the spectrogram increases time dimension according to preset strategy, to generate the acoustic information Sonograph.
7. tripper as claimed in claim 6, which is characterized in that the generation unit, comprising:
Quantify subelement, is configured as rotating to the left the spectrogram into 90 degree, and according to number of greyscale levels to postrotational frequency spectrum Range value in figure is quantified;
Subelement is generated, the range value gray level expressing after quantifying is configured as, to generate the sound spectrum of the acoustic information Figure, wherein range value is bigger, and corresponding gray level is smaller.
8. tripper as claimed in claim 5, which is characterized in that further include:
Third processing module, be configured as the corresponding frequency values of the fundamental frequency not within the preset frequency range, determine institute The acoustic information that the acoustic information and the mobile terminal for stating user's input prestore mismatches, and Xiang Suoshu user provides unlock failure Prompt information.
9. a kind of mobile terminal characterized by comprising the unlock of the mobile terminal as described in any one of claim 5-8 Device.
10. a kind of mobile terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the acoustic information of user's input;
The sonograph of the acoustic information is generated, and since the fundamental frequency of the sonograph, according to the sequence of frequency from low to high Select N number of harmonic wave, wherein N is the positive integer greater than 2;
The corresponding range value of the fundamental frequency is mapped as preset value, and according to other corresponding range values of N-1 harmonic wave and described Proportionate relationship between the corresponding range value of fundamental frequency respectively maps other corresponding range values of N-1 harmonic wave;
For the N-1 harmonic wave other than fundamental frequency, whether the range value after judging each harmonic wave mapping is in the sound mould prestored Within the scope of range value corresponding to each harmonic wave of plate;
Ratio of N-1 harmonic wave within the scope of corresponding range value is calculated according to judging result;
When the ratio is more than preset ratio threshold value, mobile terminal is unlocked;
Further include:
Whether within the preset frequency range to judge the corresponding frequency values of the fundamental frequency;
The corresponding frequency values of the fundamental frequency within the preset frequency range when, execute it is described by the corresponding amplitude of the fundamental frequency Value is mapped as the step of preset value.
CN201610589381.0A 2016-07-22 2016-07-22 Unlocking method, device and the mobile terminal of mobile terminal Active CN106296890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610589381.0A CN106296890B (en) 2016-07-22 2016-07-22 Unlocking method, device and the mobile terminal of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610589381.0A CN106296890B (en) 2016-07-22 2016-07-22 Unlocking method, device and the mobile terminal of mobile terminal

Publications (2)

Publication Number Publication Date
CN106296890A CN106296890A (en) 2017-01-04
CN106296890B true CN106296890B (en) 2019-06-04

Family

ID=57652161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610589381.0A Active CN106296890B (en) 2016-07-22 2016-07-22 Unlocking method, device and the mobile terminal of mobile terminal

Country Status (1)

Country Link
CN (1) CN106296890B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110322886A (en) * 2018-03-29 2019-10-11 北京字节跳动网络技术有限公司 A kind of audio-frequency fingerprint extracting method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727900A (en) * 2009-11-24 2010-06-09 北京中星微电子有限公司 Method and equipment for detecting user pronunciation
CN102981615A (en) * 2012-11-05 2013-03-20 瑞声声学科技(深圳)有限公司 Gesture recognition system and gesture recognition method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092330B (en) * 2011-10-27 2015-11-25 宏碁股份有限公司 Electronic installation and speech identifying method thereof
CN102799408A (en) * 2012-07-09 2012-11-28 上海斐讯数据通信技术有限公司 Mobile terminal with voice-operated unlocking function and voice-operated unlocking method for mobile terminals
US9728182B2 (en) * 2013-03-15 2017-08-08 Setem Technologies, Inc. Method and system for generating advanced feature discrimination vectors for use in speech recognition
CN103139395A (en) * 2013-03-20 2013-06-05 上海鼎为软件技术有限公司 Mobile terminal and control method thereof
CN105096946B (en) * 2014-05-08 2020-09-29 钰太芯微电子科技(上海)有限公司 Awakening device and method based on voice activation detection
CN104900228B (en) * 2015-04-30 2018-11-16 重庆理工大学 A kind of recognition methods of suspicious enabling sound
CN104821168B (en) * 2015-04-30 2017-03-29 北京京东方多媒体科技有限公司 A kind of audio recognition method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727900A (en) * 2009-11-24 2010-06-09 北京中星微电子有限公司 Method and equipment for detecting user pronunciation
CN102981615A (en) * 2012-11-05 2013-03-20 瑞声声学科技(深圳)有限公司 Gesture recognition system and gesture recognition method

Also Published As

Publication number Publication date
CN106296890A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US10129044B2 (en) Method and apparatus for controlling smart device
EP3261037A1 (en) Method and apparatus for activating virtual card
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
CN104125335B (en) Right management method, apparatus and system
WO2017128767A1 (en) Fingerprint template input method and device
CN104850827B (en) Fingerprint identification method and device
RU2679568C1 (en) Method and device for fingerprints recognition
CN105654302B (en) Payment method and device
EP3331226A1 (en) Method and device for reading messages
WO2017215224A1 (en) Fingerprint input prompting method and apparatus
KR20150027329A (en) Terminal including fingerprint reader and operating method of the terminal
CN105205494B (en) Similar pictures recognition methods and device
EP3208742B1 (en) Method and apparatus for detecting pressure
CN104363205B (en) Using login method and device
RU2636686C2 (en) Method and device for sending information in voice service
CN106528389A (en) Performance evaluation method and device for system smoothness and terminal
EP3407256A1 (en) Recognizing biological feature
CN110555336A (en) Fingerprint acquisition method and device, electronic equipment and storage medium
CN109325336A (en) Unlocking method, device and computer readable storage medium
CN105893854B (en) Encryption and decryption method and device
CN107622189A (en) Optimize the method and apparatus of unlocked by fingerprint
CN106534658A (en) Method and apparatus for controlling shooting of camera and mobile terminal
CN106296890B (en) Unlocking method, device and the mobile terminal of mobile terminal
CN106774802A (en) The reminding method of terminal power, device and terminal
CN106250742A (en) The unlocking method of mobile terminal, device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant