CN110287655A - A kind of verifying code imput method, device and mobile terminal - Google Patents

A kind of verifying code imput method, device and mobile terminal Download PDF

Info

Publication number
CN110287655A
CN110287655A CN201910550002.0A CN201910550002A CN110287655A CN 110287655 A CN110287655 A CN 110287655A CN 201910550002 A CN201910550002 A CN 201910550002A CN 110287655 A CN110287655 A CN 110287655A
Authority
CN
China
Prior art keywords
character
input
character string
string
code
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.)
Granted
Application number
CN201910550002.0A
Other languages
Chinese (zh)
Other versions
CN110287655B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910550002.0A priority Critical patent/CN110287655B/en
Publication of CN110287655A publication Critical patent/CN110287655A/en
Application granted granted Critical
Publication of CN110287655B publication Critical patent/CN110287655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material
    • G06F21/105Tools for software license management or administration, e.g. managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The present invention provides a kind of verifying code imput method, device and mobile terminals, are related to technical field of mobile terminals.Wherein, which comprises obtain target verification code;The first character string is received in identifying code input interface;When corresponding first character quantity of the first character string the second character quantity corresponding less than target verification code, the second character string is determined;Second character string includes the character that target verification code median is greater than the first character quantity;Character in second character string is filled respectively in the character input boxes for including into identifying code input interface, the input of identifying code is completed.In embodiments of the present invention, mobile terminal can be according to the character string inputted, the character string lacked in target verification code is filled automatically into remaining character input boxes, so, user checks the remaining character of target verification code and fills in without being repeatedly opened short message, so as to simplify the user's operation in identifying code input process, the input efficiency of identifying code is improved.

Description

A kind of verifying code imput method, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of verifying code imput methods, device and mobile terminal.
Background technique
With the fast development of terminal technology, requirement of the people for application software safety is also higher and higher.In correlation In technology, application software can carry out safety to user by various ways such as identifying code matching, fingerprint matching, face matchings and test Card, when safety verification passes through, user can just continue the operation such as payment, Modify password, by carrying out safety to user Verifying, can be improved the safety in application software use process.
Currently, there is a kind of relatively conventional identifying code input mode when carrying out safety verification by identifying code, namely Each of identifying code number needs individually to occupy a character input boxes.However, when user replicates the identifying code in short message simultaneously When being pasted in first character input frame, the first digit only in identifying code could paste success, at this point, user It then needs to be again turned on the remaining digit that short message checks identifying code, remaining digit is then inserted into corresponding character input boxes again. Therefore, need individually to occupy the input mode of a character input boxes for each of identifying code number, user's operation is more numerous Trivial, the input efficiency of identifying code is lower.
Summary of the invention
The present invention provides a kind of verifying code imput method, device and mobile terminal, lower to solve identifying code input efficiency, The relatively complicated problem of user's operation.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows: a kind of method of identifying code input, is applied to move Dynamic terminal, comprising:
Obtain target verification code;
The first character string of input is received in identifying code input interface;
When corresponding first character quantity of first character string is less than corresponding second number of characters of the target verification code When amount, the second character string is determined;Second character string includes that the target verification code median is greater than first number of characters The character of amount;
Character in second character string is filled to the character input for including into the identifying code input interface respectively In frame, the input of identifying code is completed.
The embodiment of the invention also provides a kind of identifying code input unit, which includes:
First obtains module, for obtaining target verification code;
Receiving module, for receiving the first character string of input in identifying code input interface;
First determining module, for being less than the target verification code when corresponding first character quantity of first character string When corresponding second character quantity, the second character string is determined;Second character string includes that the target verification code median is big In the character of first character quantity;
Input module is wrapped for being filled the character in second character string respectively into the identifying code input interface In the character input boxes included, the input of identifying code is completed.
The embodiment of the invention also provides a kind of mobile terminal, which includes processor, memory and is stored in On the memory and the computer program that can run on the processor, the computer program are executed by the processor The step of Shi Shixian verifying code imput method of the present invention.
The embodiment of the invention also provides a kind of computer readable storage medium, stored on the computer readable storage medium Computer program, the step of verifying code imput method of the present invention is realized when computer program is executed by processor.
In embodiments of the present invention, mobile terminal target verification code available first, then in identifying code input interface Middle the first character string for receiving input, when corresponding first character quantity of the first character string is less than target verification code corresponding second When character quantity, illustrate that mobile terminal has received only part identifying code at present, and then mobile terminal determines in target verification code Digit is greater than the second character string of the first character quantity, and the character in the second character string is filled respectively to identifying code and inputs boundary In the character input boxes for including in face, to complete the input of identifying code.In embodiments of the present invention, mobile terminal can be according to The character string of input fills the character string lacked in target verification code automatically into remaining character input boxes, in this way, user It checks the remaining character of target verification code without being repeatedly opened short message and is filled in, so as to simplify identifying code input process In user's operation, improve the input efficiency of identifying code.
Detailed description of the invention
Fig. 1 shows the flow chart of one of embodiment of the present invention one verifying code imput method;
Fig. 2 shows the flow charts of one of embodiment of the present invention two verifying code imput method;
Fig. 3 shows the signal that one of embodiment of the present invention two pastes target verification code in identifying code input interface Figure;
Fig. 4 shows the schematic diagram that one of embodiment of the present invention two shows " key is filled in " prompt information;
Fig. 5 shows one of the embodiment of the present invention two identifying code and inputs the schematic diagram finished;
Fig. 6 shows the structural block diagram of one of embodiment of the present invention three identifying code input unit;
Fig. 7 shows the structural block diagram of another identifying code input unit in the embodiment of the present invention three;
Fig. 8 shows the hardware structural diagram of one of each embodiment of present invention mobile terminal.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, the flow chart of the verifying code imput method of the embodiment of the present invention one is shown, can specifically include as follows Step:
S101, acquisition for mobile terminal target verification code.
In embodiments of the present invention, it during in use, certain is applied user, needs to carry out safety by identifying code to test When card, which can be usually sent to target verification code to be entered in the mobile terminal of user in a manner of short message, into And mobile terminal can extract the target verification code for needing user to input from short message.In practical applications, target verification code In character may include number, letter and at least one of symbol, the present invention is not especially limit this.
S102, mobile terminal receive the first character string of input in identifying code input interface.
In embodiments of the present invention, the character that may include in the identifying code input interface of application for inputting identifying code is defeated Enter frame, wherein the quantity of character input boxes can be consistent with the digit of target verification code, such as when target verification code includes 6 When character, the quantity of character input boxes also mutually should be 6.Certainly, in practical applications, the quantity of character input boxes can also be small In the digit of target verification code, and it is greater than 1, the present invention is not especially limit this.User can by duplication paste, It the modes such as fills in manually and inputs the first character string in the identifying code input interface of application.Wherein, the first character string may include At least one character, such as the first character string can be 1,12,123 etc..
S103, when corresponding first character quantity of the first character string is less than corresponding second character quantity of target verification code When, mobile terminal determines the second character string;Second character string includes the word that target verification code median is greater than the first character quantity Symbol.
In embodiments of the present invention, each character in target verification code is according to sequence from left to right, first character Digit be 1, the digit of second character is 2, and so on.When corresponding first character quantity of the first character string is less than target When corresponding second character quantity of identifying code, it that is to say that the character for being less than target verification code when the character length of the first character string is long When spending, it may be said that bright mobile terminal has received only part identifying code at present, then mobile terminal can from target verification code, Determine that digit is greater than the second character string for not being entered identifying code input interface of the first character quantity.Wherein, the second character string It may include at least one character, such as the second character string can be 1,12,123 etc..
Character in second character string is filled the character for including into identifying code input interface by S104, mobile terminal respectively In input frame, the input of identifying code is completed.
In embodiments of the present invention, mobile terminal can by each character for including in the second character string, fill respectively to In identifying code input interface in corresponding character input boxes, so as to by digit and the consistent identifying code of character input boxes quantity It completely fills into each character input boxes.It that is to say that mobile terminal can be according to the character string inputted, by target verification The character string lacked in code is filled automatically into remaining character input boxes, in this way, user checks mesh without being repeatedly opened short message It marks the remaining character of identifying code and is filled in, so as to simplify the user's operation in identifying code input process, improve and test Demonstrate,prove the input efficiency of code.
In embodiments of the present invention, mobile terminal target verification code available first, then in identifying code input interface Middle the first character string for receiving input, when corresponding first character quantity of the first character string is less than target verification code corresponding second When character quantity, illustrate that mobile terminal has received only part identifying code at present, and then mobile terminal determines in target verification code Character digit is greater than the second character string of the first character quantity, and the character in the second character string is filled respectively defeated to identifying code Enter in the character input boxes for including in interface, to complete the input of identifying code.In embodiments of the present invention, mobile terminal can root According to the character string inputted, the character string lacked in target verification code is filled automatically into remaining character input boxes, in this way, User checks the remaining character of target verification code and fills in without being repeatedly opened short message, so as to simplify identifying code input User's operation in the process improves the input efficiency of identifying code.
Embodiment two
Referring to Fig. 2, the flow chart of the verifying code imput method of the embodiment of the present invention two is shown, can specifically include as follows Step:
S201, acquisition for mobile terminal target verification code.
This step is similar with the realization process of above-mentioned steps 101, and details are not described herein.
For example, target verification code 321654 can be sent to the mobile end of user by application server in a manner of short message End.
S202, mobile terminal receive the first character string of input in identifying code input interface.
Wherein, the character in the first character string can be arbitrary character, and the present invention is not especially limit this.
In one implementation, mobile terminal, can be to target verification when extracting target verification code from short message Code carries out duplication operation, and then user can paste in the identifying code input interface of application, as shown in figure 3, correspondingly, Mobile terminal can paste the first character string in identifying code input interface.Due to including extremely in the identifying code input interface of application Few two character input boxes, therefore, when user pastes target verification code in identifying code input interface, only target Character corresponding with first character input frame could paste success in identifying code.For example, be 6 characters in target verification code, In the case that the quantity of character input boxes is 6, the first character only in target verification code could paste success.Example again It such as, is 6 characters in target verification code, the quantity of character input boxes is 3, and each character input boxes can receive 2 characters In the case where, the first two character only in target verification code could paste success.
In another implementation, user can test when viewing the target verification code of application server transmission The first character string is filled in manually in card code input interface, so that mobile terminal can receive user in identifying code input interface The first character string filled in manually.
For example, mobile terminal is from short message when extracting target verification code 321654, it can be to target verification code 321654 carry out duplication operation, then when receiving stickup instruction in identifying code input interface, by the first character string, namely First character " 3 " in target verification code 321654 is pasted onto corresponding first character input frame.
S203, the corresponding interface image of acquisition for mobile terminal identifying code input interface.
In embodiments of the present invention, when being entered the first character string in identifying code input interface, mobile terminal needs true Corresponding first character quantity of the first character string is made, to determine whether identifying code is completely inputted.When identifying code to be entered Using for third-party application, and nonsystematic is in application, usually only application server can just get user and input in application First character string, and mobile terminal can not be known, therefore, in specific application, mobile terminal can pass through the side of image recognition Formula determines the first character string of user's input, and then determines corresponding first character quantity of the first character string.Firstly, mobile whole End can obtain the corresponding interface image of identifying code input interface by modes such as screenshotss.
For example, mobile terminal can carry out screenshotss to identifying code input interface, to get identifying code input interface pair The interface image answered.
S204, mobile terminal identify the input frame region in interface image.
In embodiments of the present invention, character input boxes are typically shown as box, or the region with lower horizontal line, therefore, Mobile terminal can be by the image recognition mode based on elements such as shape, symbols, from the corresponding interface of identifying code input interface In image, the corresponding input frame region of character input boxes is identified.
For example, mobile terminal can be corresponding from identifying code input interface by the image recognition mode based on block form Interface image in, identify the corresponding input frame region of character input boxes.
S205, mobile terminal identify the first character string in input frame region.
In embodiments of the present invention, after identifying the input frame region in interface image, mobile terminal can be defeated Enter and carry out character recognition in frame region, to obtain the first character string.
For example, mobile terminal can identify the first character string " 3 " in input frame region.
S206, mobile terminal determine corresponding first character quantity of the first character string.
In embodiments of the present invention, after mobile terminal identifies the first character string, the first character string can be determined Corresponding first character quantity, that is to say the quantity for the character for including in the first character string.
For example, mobile terminal can determine that corresponding first character quantity of the first character string " 3 " is 1.
S207, when corresponding first character quantity of the first character string is less than corresponding second character quantity of target verification code When, mobile terminal determines the second character string;Second character string includes the word that target verification code median is greater than the first character quantity Symbol.
In embodiments of the present invention, this step can be accomplished in the following manner, comprising: when the first character string corresponding When one character quantity is less than target verification code corresponding second character quantity, since the first character in target verification code, Sequentially extract the target string that quantity is the first character quantity;Target string and the first character string are compared;Work as mesh Mark character string it is consistent with the first character string when, since the first character in target verification code, sequentially delete target character string, Obtain the second character string in target verification code.
Wherein, in practical application, the first character string for having inputted identifying code input interface might not be with target verification The front portion of code is identical, such as replicates target verification code when user uses, and in the side that identifying code input interface is pasted When formula inputs the first character string, the front portion of first character string and target verification code is identical, and when user uses hand When the dynamic mode filled in inputs the first character string, due to the uncertainty filled in manually, first character string and target verification code Front portion be not necessarily the same.And when the front portion of the first character string and target verification code is not identical, it will necessarily Lead to final authentication failed, it is therefore, mobile whole when the first character quantity the second character quantity corresponding less than target verification code End can sequentially extract the target string that quantity is the first character quantity since the first character in target verification code, And then compare target string and the first character string, when target string is consistent with the first character string, can determine The character inputted is consistent with the front portion in target verification code, that is to say the character string inputted not and will lead to verifying Failure supplements identifying code complete at this point, mobile terminal can continue to determine the second character string in target verification code.
Optionally, in practical applications, when mobile terminal determines the first character quantity less than the second character quantity, also The modes such as frame that play can be first passed through, whether display needs for prompting by the complete prompt information of identifying code Auto-writing, such as Fig. 4 It is shown.When the user clicks when " key is filled in " option, then mobile terminal can continue to execute " from first in target verification code Character starts, and sequentially extracts the target string that quantity is the first character quantity " the step of.And " cancel " option when the user clicks When, then mobile terminal can wait user oneself to fill in remaining identifying code manually, and the embodiment of the present invention does not limit this specifically It is fixed.
Further, after the step of target string and the first character string being compared, mobile terminal can also be held Row following step, comprising: when target string and inconsistent the first character string, export for prompting identifying code input error Prompt information.
It that is to say when target string and inconsistent the first character string, can determine that the character string inputted is tested with target Front portion in card code is not consistent, and that is to say that the character string inputted will cause authentication failed, at this point, mobile terminal can The prompt information for prompting identifying code input error is exported in a manner of through bullet frame, voice etc., thus when user receives this When prompt information, a front at least identifying code input error can be known, and then user can re-start input, and this When, mobile terminal is without the operation for continuing subsequent supplement identifying code, so as to improve verification efficiency.
In practical applications, mobile terminal can also be less than mesh determining corresponding first character quantity of the first character string When marking corresponding second character quantity of identifying code, directly the second character string in target verification code is determined, without to Whether the character string of input is correctly judged.Correspondingly, this step can specifically be accomplished in the following manner: when the first character When corresponding first character quantity of going here and there is less than target verification code corresponding second character quantity, digit is extracted from target verification code Greater than the character of the first character quantity, the second character string is obtained.
Wherein, due to the first character string inputted in character input boxes, not with the target string in target verification code Certain consistent, therefore, it is each greater than the first character quantity that mobile terminal can also extract digit directly from target verification code Character that is to say the character that missing digit can be directly determined from target verification code, without what is inputted before concern Whether part is consistent with the front portion of target verification code, in this way, the input time of identifying code can be saved, improves identifying code Input efficiency.
For example, the digit of character " 3 " is 1 in target verification code 321654, the digit of character " 2 " is 2, character " 1 " Digit is 3, and the digit of character " 6 " is 4, and the digit of character " 5 " is 5, and the digit of character " 4 " is 6, the first character string corresponding the One character quantity can be 1, and mobile terminal can extract digit greater than the first character quantity 1 from target verification code 321654 Each character obtains the second character string 21654.
Optionally, in another implementation, in the case where pasting the first character string in identifying code input interface, this Step can also be accomplished in the following manner, comprising: when corresponding first character quantity of the first character string is less than target verification code When corresponding second character quantity, since the first character in target verification code, the first character string is sequentially deleted, obtains mesh Mark the second character string in identifying code.
Wherein, when the mode of previously passed stickup, when pasting the first character string in identifying code input interface, it is believed that The first character string in character input boxes is inputted, with the target string inevitable one for being located at front portion in target verification code It causes, therefore, mobile terminal can sequentially delete the first character string directly since the first character in target verification code, from And obtain the second character string in target verification code.
For example, when the target string extracted from target verification code 321654 is with the first character string inputted When " 3 ", mobile terminal can sequentially delete the first character string " 3 " since the first character in target verification code 321654, It is hereby achieved that the second character string 21654 in target verification code.
In addition, when corresponding first character quantity of the first character string is equal to corresponding second character quantity of target verification code When, it can determine that identifying code has inputted completely, and then mobile terminal can directly carry out subsequent security validation operation.
In addition, in specific application, mobile terminal can determine the first character quantity with S203 through the above steps to S206 Whether corresponding second character quantity of target verification code is less than.Certainly, mobile terminal can also determine first by other means Whether character quantity less than the second character quantity works as box for example, mobile terminal can determine the box quantity in interface image When quantity is greater than 1, target verification code can not be completely pasted onto identifying code input interface by user, at this point, mobile terminal can To determine the first character quantity less than the second character quantity, when box quantity is equal to 1, then user can be complete by target verification code Site preparation is pasted onto identifying code input interface, at this point, mobile terminal can determine that the first character quantity is equal to the second character quantity.
For example, corresponding first character quantity 1 of the first character string " 3 " is less than corresponding second word of target verification code 321654 Quantity 6 is accorded with, at this point, mobile terminal can be since the first character in target verification code 321654, sequentially extracting quantity is The target string " 3 " of first character quantity 1, then compares target string " 3 " and the first character string " 3 ", comparison As a result consistent for the two, and then mobile terminal can sequentially be deleted since the first character in target verification code 321654 First character string " 3 ", to obtain the second character string 21654 in target verification code 321654.
Character in second character string is filled the character for including into identifying code input interface by S208, mobile terminal respectively In input frame, the input of identifying code is completed.
In embodiments of the present invention, optionally, this step can specifically be accomplished in the following manner, comprising: for second Focus is placed in character input boxes corresponding with the character in identifying code input interface by any character in character;It calls current Input method in control interface corresponding with the character;The corresponding interface function of control interface is run, extremely by the Character Filling In identifying code input interface in corresponding character input boxes, the input of identifying code is completed.
Specifically, mobile terminal can operate input after the character string for determining missing in target verification code Focus be placed in the 1st and do not input the character input boxes of character, and then can call in current input method with the second character string In the corresponding control interface of the 1st character, and run the corresponding interface function of control interface, which can be used for It, therefore, can by running the interface function by the corresponding character input of control interface into the current input frame for obtaining focus With by the 1st Character Filling in the second character string into identifying code input interface in corresponding character input boxes.Then, mobile The focus of input operation can be placed in the 2nd and not input the character input boxes of character by terminal, and be called in current input method Control interface corresponding with the 2nd character in the second character string, and the corresponding interface function of control interface is run, by The 2nd character input in two character strings is into identifying code input interface in corresponding character input boxes.And so on, when most The latter does not input when inputting the last character in the second character string in the character input boxes of character, namely completes verifying The input of code, and then mobile terminal can carry out subsequent security validation operation.
Since the first character string that user is manually entered before may be consistent with the target string in target verification code, May be inconsistent, therefore, mobile terminal can carry out security validation operation to the identifying code of input, when the identifying code and mesh of input When mark identifying code is consistent, it can determine that safety verification passes through, it, can be true when the identifying code of input and target verification code are inconsistent Determine safety verification not pass through.
For example, for first character " 2 " in the second character string, focus can be placed in the second character string by mobile terminal In the corresponding character input boxes of first character " 2 ", then call control corresponding with character " 2 " in current input method to connect Mouthful, and the corresponding interface function of control interface is run, the 1st in character " 2 " input identifying code input interface is not inputted In the character input boxes of character;Then, for the second character " 1 " in the second character string, mobile terminal can be grasped input The focus of work is placed in the 2nd and does not input the character input boxes of character, and calls control corresponding with character " 1 " in current input method Part interface, and the corresponding interface function of control interface is run, character " 1 " is input in identifying code input interface the 2nd It does not input in the character input boxes of character.And so on, when inputting the second word in the 5th character input boxes for not inputting character When according with the 5th character " 4 " in string, namely the input of identifying code 321654 is completed, as shown in Figure 5.
In embodiments of the present invention, mobile terminal target verification code available first, then in identifying code input interface Middle the first character string for receiving input, and then by way of image recognition, in the corresponding interface image of identifying code input interface In identify the first character string, and corresponding first character quantity of the first character string is determined, when the first character quantity is less than target When corresponding second character quantity of identifying code, illustrate that mobile terminal has received only part identifying code, and then mobile terminal at present It determines that target verification code median is greater than the second character string of the first character quantity, and the character in the second character string is filled out respectively It is charged in the character input boxes in identifying code input interface included, to complete the input of identifying code.In embodiments of the present invention, it moves Dynamic terminal can fill the character string lacked in target verification code defeated to remaining character automatically according to the character string inputted Enter in frame, in this way, user checks the remaining character of target verification code and fill in without being repeatedly opened short message, so as to letter Change the user's operation in identifying code input process, improves the input efficiency of identifying code.
Embodiment three
Referring to Fig. 6, a kind of structural block diagram of identifying code input unit 600 of the embodiment of the present invention three is shown, specifically may be used To include:
First obtains module 601, for obtaining target verification code;
Receiving module 602, for receiving the first character string of input in identifying code input interface;
First determining module 603, for being tested when corresponding first character quantity of first character string is less than the target When demonstrate,proving corresponding second character quantity of code, the second character string is determined;Second character string includes position in the target verification code Number is greater than the character of first character quantity;
Input module 604, for being filled the character in second character string respectively to the identifying code input interface In include character input boxes in, complete the input of identifying code.
Optionally, referring to Fig. 7, first determining module 603 includes:
First extracting sub-module 6031, for being less than the target when corresponding first character quantity of first character string When corresponding second character quantity of identifying code, since the first character in the target verification code, sequentially extracting quantity is The target string of first character quantity;
Submodule 6032 is compared, for comparing the target string and first character string;
Submodule 6033 is deleted, is used for when the target string is consistent with first character string, from the target First character in identifying code starts, and sequentially deletes the target string, obtains the second word in the target verification code Symbol string.
Optionally, referring to Fig. 7, described device 600 further include:
Second obtains module 605, for obtaining the corresponding interface image of the identifying code input interface;
First identification module 606, for identification the input frame region in the interface image;
Second identification module 607 identifies first character string in the input frame region;
Second determining module 608, for determining corresponding first character quantity of first character string.
Optionally, referring to Fig. 7, first determining module 603 includes:
Second extracting sub-module 6034, for being less than the target when corresponding first character quantity of first character string When corresponding second character quantity of identifying code, the word that digit is greater than first character quantity is extracted from the target verification code Symbol, obtains the second character string.
Optionally, referring to Fig. 7, the input module 604 includes:
Focus submodule 6041, for for any character in second character string, focus to be placed in the verifying Character input boxes corresponding with the character in code input interface;
Submodule 6042 is called, for calling control interface corresponding with the character in current input method;
Submodule 6043 is run, for running the corresponding interface function of the control interface, extremely by the Character Filling In the identifying code input interface in corresponding character input boxes, the input of identifying code is completed.
Identifying code input unit provided in an embodiment of the present invention can be realized mobile whole in the embodiment of the method for Fig. 1 and Fig. 2 The each process realized is held, to avoid repeating, which is not described herein again.
In embodiments of the present invention, mobile terminal can obtain module by first first and obtain target verification code, then By receiving module, the first character string of input is received in identifying code input interface, when corresponding first word of the first character string When according with quantity and being less than corresponding second character quantity of target verification code, illustrate that mobile terminal has received only part at present and verified Code, and then mobile terminal can determine that target verification code median is greater than the of the first character quantity by the first determining module Two character strings, and the character in the second character string is filled by input module by the word for including into identifying code input interface respectively It accords in input frame, to complete the input of identifying code.In embodiments of the present invention, mobile terminal can be according to the character inputted String, the character string lacked in target verification code is filled automatically into remaining character input boxes, in this way, user without beating repeatedly It opens short message to check the remaining character of target verification code and filled in, so as to simplify the user behaviour in identifying code input process Make, improves the input efficiency of identifying code.
Example IV
A kind of hardware structural diagram of Fig. 8 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, defeated Enter unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor The components such as 810 and power supply 811.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 8 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 810, for obtaining target verification code;The first word of input is received in identifying code input interface Symbol string;When corresponding first character quantity of first character string is less than corresponding second character quantity of the target verification code When, determine the second character string;Second character string includes that the target verification code median is greater than first character quantity Character;Character in second character string is filled to the character input boxes for including into the identifying code input interface respectively In, complete the input of identifying code.
In embodiments of the present invention, mobile terminal target verification code available first, then in identifying code input interface Middle the first character string for receiving input, when corresponding first character quantity of the first character string is less than target verification code corresponding second When character quantity, illustrate that mobile terminal has received only part identifying code at present, and then mobile terminal determines in target verification code Digit is greater than the second character string of the first character quantity, and the character in the second character string is filled respectively to identifying code and inputs boundary In the character input boxes for including in face, to complete the input of identifying code.In embodiments of the present invention, mobile terminal can be according to The character string of input fills the character string lacked in target verification code automatically into remaining character input boxes, in this way, user It checks the remaining character of target verification code without being repeatedly opened short message and is filled in, so as to simplify identifying code input process In user's operation, improve the input efficiency of identifying code.
It should be understood that the embodiment of the present invention in, radio frequency unit 801 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 810 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 801 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 801 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 802 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 803 can be received by radio frequency unit 801 or network module 802 or in memory 809 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 803 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 800 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 803 includes loudspeaker, buzzer and receiver etc..
Input unit 804 is for receiving audio or video signal.Input unit 804 may include graphics processor (Graphics Processing Unit, GPU) 8041 and microphone 8042, graphics processor 8041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 806.Through graphics processor 8041, treated that picture frame can be deposited Storage is sent in memory 809 (or other storage mediums) or via radio frequency unit 801 or network module 802.Mike Wind 8042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 801 is converted in the case where telephone calling model.
Mobile terminal 800 further includes at least one sensor 805, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 8061, and proximity sensor can close when mobile terminal 800 is moved in one's ear Display panel 8061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 806 is for showing information input by user or being supplied to the information of user.Display unit 806 can wrap Display panel 8061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 8061.
User input unit 807 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 807 include touch panel 8071 and Other input equipments 8072.Touch panel 8071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 8071 or in touch panel 8071 Neighbouring operation).Touch panel 8071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 810, receiving area It manages the order that device 810 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 8071.In addition to touch panel 8071, user input unit 807 can also include other input equipments 8072.Specifically, other input equipments 8072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 8071 can be covered on display panel 8061, when touch panel 8071 is detected at it On or near touch operation after, send processor 810 to determine the type of touch event, be followed by subsequent processing device 810 according to touching The type for touching event provides corresponding visual output on display panel 8061.Although in fig. 8, touch panel 8071 and display Panel 8061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 8071 and display panel 8061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 808 is the interface that external device (ED) is connect with mobile terminal 800.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 808 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 800 or can be used in 800 He of mobile terminal Data are transmitted between external device (ED).
Memory 809 can be used for storing software program and various data.Memory 809 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 809 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 810 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 809, and calls and is stored in storage Data in device 809 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 810 may include one or more processing units;Preferably, processor 810 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 810.
Mobile terminal 800 can also include the power supply 811 (such as battery) powered to all parts, it is preferred that power supply 811 Can be logically contiguous by power-supply management system and processor 810, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 800 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 810, and memory 809 is stored in On memory 809 and the computer program that can run on the processor 810, the computer program are executed by processor 810 Each process of the above-mentioned verifying code imput method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, this In repeat no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned verifying code imput method embodiment when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including There is also other identical elements in the process, method of the element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (11)

1. a kind of verifying code imput method is applied to mobile terminal, which is characterized in that the described method includes:
Obtain target verification code;
The first character string of input is received in identifying code input interface;
When corresponding first character quantity of first character string the second character quantity corresponding less than the target verification code, Determine the second character string;Second character string includes the word that the target verification code median is greater than first character quantity Symbol;
Character in second character string is filled respectively in the character input boxes for including into the identifying code input interface, Complete the input of identifying code.
2. the method according to claim 1, wherein described work as corresponding first number of characters of first character string When amount is less than the target verification code corresponding second character quantity, the step of determining the second character string, comprising:
When corresponding first character quantity of first character string the second character quantity corresponding less than the target verification code, Since the first character in the target verification code, the target character that quantity is first character quantity is sequentially extracted String;
The target string and first character string are compared;
When the target string is consistent with first character string, opened from the first character in the target verification code Begin, sequentially deletes the target string, obtain the second character string in the target verification code.
3. the method according to claim 1, wherein described work as corresponding first number of characters of first character string When amount is less than the target verification code corresponding second character quantity, before determining the second character string, further includes:
Obtain the corresponding interface image of the identifying code input interface;
Identify the input frame region in the interface image;
First character string is identified in the input frame region;
Determine corresponding first character quantity of first character string.
4. the method according to claim 1, wherein described work as corresponding first number of characters of first character string When amount is less than the target verification code corresponding second character quantity, the step of determining the second character string, comprising:
When corresponding first character quantity of first character string the second character quantity corresponding less than the target verification code, The character that digit is greater than first character quantity is extracted from the target verification code, obtains the second character string.
5. the method according to claim 1, wherein the character by second character string is filled respectively Into the character input boxes for including in the identifying code input interface, the step of completing the input of identifying code, comprising:
For any character in second character string, focus is placed in the identifying code input interface and the character pair The character input boxes answered;
Call control interface corresponding with the character in current input method;
The corresponding interface function of the control interface is run, the Character Filling is corresponding into the identifying code input interface Character input boxes in, complete the input of identifying code.
6. a kind of identifying code input unit, which is characterized in that described device includes:
First obtains module, for obtaining target verification code;
Receiving module, for receiving the first character string of input in identifying code input interface;
First determining module, for being corresponded to when corresponding first character quantity of first character string less than the target verification code The second character quantity when, determine the second character string;Second character string includes that the target verification code median is greater than institute State the character of the first character quantity;
Input module includes into the identifying code input interface for filling the character in second character string respectively In character input boxes, the input of identifying code is completed.
7. device according to claim 6, which is characterized in that first determining module includes:
First extracting sub-module is right less than the target verification code for working as corresponding first character quantity of first character string When the second character quantity answered, since the first character in the target verification code, sequentially extracting quantity is described first The target string of character quantity;
Submodule is compared, for comparing the target string and first character string;
Submodule is deleted, is used for when the target string is consistent with first character string, from the target verification code First character start, sequentially delete the target string, obtain the second character string in the target verification code.
8. device according to claim 6, which is characterized in that described device further include:
Second obtains module, for obtaining the corresponding interface image of the identifying code input interface;
First identification module, for identification the input frame region in the interface image;
Second identification module identifies first character string in the input frame region;
Second determining module, for determining corresponding first character quantity of first character string.
9. device according to claim 6, which is characterized in that first determining module includes:
Second extracting sub-module is right less than the target verification code for working as corresponding first character quantity of first character string When the second character quantity answered, the character that digit is greater than first character quantity is extracted from the target verification code, is obtained Second character string.
10. device according to claim 6, which is characterized in that the input module includes:
Focus submodule, for focus being placed in the identifying code and inputs boundary for any character in second character string Character input boxes corresponding with the character in face;
Submodule is called, for calling control interface corresponding with the character in current input method;
Submodule is run, for running the corresponding interface function of the control interface, by the Character Filling to the verifying In code input interface in corresponding character input boxes, the input of identifying code is completed.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in verifying code imput method the step of.
CN201910550002.0A 2019-06-24 2019-06-24 Verification code input method and device and mobile terminal Active CN110287655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910550002.0A CN110287655B (en) 2019-06-24 2019-06-24 Verification code input method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910550002.0A CN110287655B (en) 2019-06-24 2019-06-24 Verification code input method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN110287655A true CN110287655A (en) 2019-09-27
CN110287655B CN110287655B (en) 2021-06-18

Family

ID=68004463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910550002.0A Active CN110287655B (en) 2019-06-24 2019-06-24 Verification code input method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN110287655B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565842A (en) * 2020-12-04 2021-03-26 广州视源电子科技股份有限公司 Information processing method, device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660406A (en) * 2013-11-22 2015-05-27 华为终端有限公司 Method, device and equipment for logging in service
CN105160236A (en) * 2015-08-31 2015-12-16 小米科技有限责任公司 Method and device for inputting verification code
CN105159533A (en) * 2015-08-31 2015-12-16 努比亚技术有限公司 Mobile terminal and automatic verification code input method thereof
CN105511949A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Verification code filling method and device and mobile terminal
US20160127134A1 (en) * 2013-05-24 2016-05-05 Barclays Bank Plc User authentication system and method
CN106131000A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 Identifying code fill method and mobile terminal thereof
CN106294528A (en) * 2015-06-29 2017-01-04 深圳市腾讯计算机系统有限公司 A kind of method and device realizing information transmission
CN106599637A (en) * 2016-11-04 2017-04-26 北京奇虎科技有限公司 Method and device for inputting verification code into verification interface
CN107817906A (en) * 2017-12-04 2018-03-20 北京小米移动软件有限公司 A kind of method and apparatus of input
CN109040010A (en) * 2015-12-31 2018-12-18 华为技术有限公司 A kind of identifying code acquisition methods, device and terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127134A1 (en) * 2013-05-24 2016-05-05 Barclays Bank Plc User authentication system and method
CN104660406A (en) * 2013-11-22 2015-05-27 华为终端有限公司 Method, device and equipment for logging in service
CN106294528A (en) * 2015-06-29 2017-01-04 深圳市腾讯计算机系统有限公司 A kind of method and device realizing information transmission
CN105160236A (en) * 2015-08-31 2015-12-16 小米科技有限责任公司 Method and device for inputting verification code
CN105159533A (en) * 2015-08-31 2015-12-16 努比亚技术有限公司 Mobile terminal and automatic verification code input method thereof
CN105511949A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Verification code filling method and device and mobile terminal
CN109040010A (en) * 2015-12-31 2018-12-18 华为技术有限公司 A kind of identifying code acquisition methods, device and terminal
CN106131000A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 Identifying code fill method and mobile terminal thereof
CN106599637A (en) * 2016-11-04 2017-04-26 北京奇虎科技有限公司 Method and device for inputting verification code into verification interface
CN107817906A (en) * 2017-12-04 2018-03-20 北京小米移动软件有限公司 A kind of method and apparatus of input

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ABRAM HINDLE 等: "Reverse Engineering CAPTCHAs", 《2008 15TH WORKING CONFERENCE ON REVERSE ENGINEERING》 *
李焕兴 等: "基于威客模式的威酷校园APP设计与实现", 《计算机时代》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565842A (en) * 2020-12-04 2021-03-26 广州视源电子科技股份有限公司 Information processing method, device and storage medium

Also Published As

Publication number Publication date
CN110287655B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108540951A (en) A kind of recharge method and mobile terminal
CN107679514A (en) A kind of face identification method and electronic equipment
CN107786569A (en) A kind of identifying code sending method, method of reseptance and relevant device
CN109544172A (en) A kind of display methods and terminal device
CN109831582A (en) Non- response events processing method and terminal
CN109359460A (en) A kind of face recognition method and terminal device
CN110287655A (en) A kind of verifying code imput method, device and mobile terminal
CN109164951A (en) Mobile terminal operating method and mobile terminal
CN108898040A (en) A kind of recognition methods and mobile terminal
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN107885825A (en) A kind of five application page sharing method and mobile terminal
CN110430573A (en) A kind of information authentication method, electronic equipment and network side equipment
CN110519544A (en) A kind of video call method and electronic equipment
CN107577409B (en) A kind of processing method and mobile terminal of preview image
CN110225040A (en) A kind of information processing method, terminal device and server
CN110191426A (en) A kind of method and terminal of information sharing
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109547330A (en) A kind of information sharing method and device
CN109451143A (en) A kind of call method and mobile terminal
CN109901761A (en) A kind of content display method and mobile terminal
CN109982237A (en) A kind of communication means and equipment
CN109348035A (en) A kind of recognition methods of telephone number and terminal device
CN109492451A (en) A kind of coded image recognition methods and mobile terminal
CN109409068A (en) A kind of operation execution method and terminal

Legal Events

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