CN106599637B - Method and device for inputting verification code on verification interface - Google Patents

Method and device for inputting verification code on verification interface Download PDF

Info

Publication number
CN106599637B
CN106599637B CN201610974573.3A CN201610974573A CN106599637B CN 106599637 B CN106599637 B CN 106599637B CN 201610974573 A CN201610974573 A CN 201610974573A CN 106599637 B CN106599637 B CN 106599637B
Authority
CN
China
Prior art keywords
input
verification code
character combinations
input boxes
boxes
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
CN201610974573.3A
Other languages
Chinese (zh)
Other versions
CN106599637A (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 Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology 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 Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201610974573.3A priority Critical patent/CN106599637B/en
Publication of CN106599637A publication Critical patent/CN106599637A/en
Application granted granted Critical
Publication of CN106599637B publication Critical patent/CN106599637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0853Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha

Abstract

The embodiment of the application provides a method for inputting a verification code on a verification interface, wherein the verification interface is provided with a plurality of input boxes, and the method comprises the following steps: acquiring a verification code; the verification code comprises a plurality of characters; dividing the verification code into a plurality of character combinations matched with the input boxes; and correspondingly writing the character combinations into the input boxes respectively. In the embodiment of the application, after the verification code is received, the verification code is segmented into the character combinations, the character combinations are respectively input into the input boxes of the verification interface, a user does not need to input characters into the input boxes one by one, so that the operation amount of the user is reduced, the user experience is improved, and the input time of the verification code can be shortened.

Description

Method and device for inputting verification code on verification interface
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a method for inputting a verification code on a verification interface and a device for inputting a verification code on a verification interface.
Background
With the continuous development of the internet, the interaction between the user using the terminal and the server is more and more frequent. To protect the security of certain interactions, audits are performed in the form of dynamic authentication codes. The server system sends a verification code to the mobile phone number registered by the user, and the user inputs the verification code into an input box of the input interface so as to activate interactive operation.
At present, in order to increase security, some servers set a plurality of input boxes in a verification code input interface, and a user needs to split and input a verification code into each input box to trigger a verification process of the verification code.
In this case, the user cannot paste characters into the input box at one time, and the user needs to input characters into the input box one by one, increasing the amount of operation for the user.
Disclosure of Invention
In view of the above problems, embodiments of the present application are provided to provide a method for inputting a verification code at a verification interface and a corresponding apparatus for inputting a verification code at a verification interface, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a method for inputting a verification code in a verification interface, where the verification interface has a plurality of input boxes, and the method includes:
acquiring a verification code; the verification code comprises a plurality of characters;
dividing the verification code into a plurality of character combinations matched with the input boxes;
and correspondingly writing the character combinations into the input boxes respectively.
Preferably, the step of dividing the verification code into a plurality of character combinations adapted to the plurality of input boxes includes:
determining the number of input boxes of the current input interface;
and splitting the verification code into character combinations which are adaptive to the number of input boxes of the current input interface.
Preferably, the substep of splitting the verification code into character combinations adapted to the number of input boxes of the current input interface further comprises:
determining a first arrangement order of the plurality of input boxes;
determining the input writing length of the plurality of input boxes;
and according to the input-write lengths of the input boxes and the first arrangement sequence of the input boxes, segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface.
Preferably, the sub-step of splitting the verification code into character combinations that are adapted to the number of input boxes of the current input interface according to the input-writing lengths of the input boxes and the first arrangement order of the input boxes further comprises:
determining the number of bits of the verification code;
determining whether the sum of the input writing lengths of the plurality of input boxes is equal to the number of bits of the verification code;
and if so, segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
Preferably, the step of writing the character combinations into the input boxes correspondingly comprises:
determining a second arrangement order of the plurality of character combinations;
and writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
Preferably, the step of acquiring the verification code includes:
when the copy operation is detected, the verification code is acquired.
Preferably, the step of writing the character combinations into the input boxes correspondingly comprises:
and when the pasting operation is detected, writing the character combinations into the input boxes correspondingly.
Preferably, the step of acquiring the verification code includes:
and acquiring the verification code from the short message.
Preferably, the substep of obtaining the verification code from the short message further comprises:
determining a target number;
and acquiring a verification code from the short message of the target number.
Meanwhile, the embodiment of the application also discloses a device for inputting the verification code on the verification interface, wherein the verification interface is provided with a plurality of input boxes, and the device comprises:
the verification code acquisition module is used for acquiring a verification code; the verification code comprises a plurality of characters;
the verification code segmentation module is used for segmenting the verification code into a plurality of character combinations matched with the input boxes;
and the verification code input module is used for correspondingly writing the character combinations into the input boxes respectively.
Preferably, the verification code cutting module includes:
the input frame number determining submodule is used for determining the number of input frames of the current input interface;
and the matching number segmentation submodule is used for segmenting the verification code into character combinations which are matched with the number of the input boxes of the current input interface.
Preferably, the adaptation number slicing sub-module further includes:
a first order determination unit configured to determine a first arrangement order of the plurality of input boxes;
the input and write length determining unit is used for determining the input and write lengths of the input boxes;
and the length sequence segmentation unit is used for segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
Preferably, the length-sequential splitting unit further includes:
a verification code digit determining subunit, configured to determine a digit of the verification code;
a length-digit matching subunit, configured to determine whether a sum of the input lengths of the plurality of input boxes is equal to the digit number of the verification code;
and the length sequence segmentation subunit is used for segmenting the verification code into character combinations which are suitable for the number of the input frames of the current input interface according to the input lengths of the input frames and the first arrangement sequence of the input frames if the sum of the input lengths of the input frames is equal to the number of bits of the verification code.
Preferably, the verification code input module includes:
a second order determination sub-module for determining a second arrangement order of the plurality of character combinations;
and the sequence input submodule is used for writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
Preferably, the verification code obtaining module includes:
and the operation acquisition submodule is used for acquiring the verification code after the copying operation is detected.
Preferably, the verification code input module includes:
and the operation input sub-module is used for correspondingly writing the character combinations into the input boxes respectively after the pasting operation is detected.
Preferably, the verification code obtaining module includes:
and the short message acquisition submodule is used for acquiring the verification code from the short message.
Preferably, the short message obtaining sub-module further includes:
a target number determination unit for determining a target number;
and the number short message acquisition unit is used for acquiring the verification code from the short message of the target number.
The embodiment of the application has the following advantages:
in the embodiment of the application, after the verification code is received, the verification code is segmented into the character combinations, the character combinations are respectively input into the input boxes of the verification interface, a user does not need to input characters into the input boxes one by one, so that the operation amount of the user is reduced, the user experience is improved, and the input time of the verification code can be shortened.
Drawings
FIG. 1 is a flowchart illustrating steps of embodiment 1 of a method for entering a verification code in a verification interface according to the present application;
FIG. 2 is a schematic diagram of a verification interface for multiple input boxes;
FIG. 3 is a flowchart illustrating the steps of embodiment 2 of a method for entering a verification code in a verification interface according to the present application;
fig. 4 is a block diagram illustrating an embodiment of an apparatus for inputting a verification code in a verification interface according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
One of the core concepts of the embodiment of the application is that when the verification code interface is provided with a plurality of input boxes, the verification code is automatically divided into character combinations matched with the input boxes, the character combinations are respectively written into the corresponding input boxes, and a user does not need to input characters in the input boxes one by one, so that the operation amount of the user is reduced.
Referring to fig. 1, a flowchart illustrating steps of embodiment 1 of a method for inputting a verification code on a verification interface according to the present application is shown, where the verification interface has a plurality of input boxes, and the method may specifically include the following steps:
step 101, acquiring a verification code; the verification code comprises a plurality of characters;
when a verification interface of a webpage is triggered in a terminal or a verification interface of an application program is triggered, a verification code needs to be input into an input box of the verification interface to complete a verification process. Generally, the verification code can be provided in the verification interface or received through a short message.
In one example, the terminal may extract the verification code from the web page data of the verification interface. For example, a verification code picture is displayed in the verification interface, the terminal acquires the verification code picture from the webpage data, and then image recognition processing is performed on the verification code picture, so that the verification code in the verification code picture is recognized.
In another example, the terminal may extract the verification code from the short message. The terminal can analyze the short message by identifying the keyword in the short message, so as to obtain the verification code in the short message. For example, the format of the verification code in the short message may be: "authentication code: 123456". Identifying the verification code in the short message: after, the following number is determined as the verification code.
When extracting the verification code from the short message, in order to avoid the error of the extraction source, the verification code can be extracted from the short message sent by the specified number.
Specifically, a copy function key may be provided in the terminal interface, and when the user clicks the copy function key to trigger a copy operation, the terminal automatically acquires the verification code.
It should be noted that the embodiments of the present application can be applied to various terminals, for example, a mobile phone, a tablet computer, a personal digital assistant, and the like.
At present, in order to increase security, some servers set a plurality of input boxes in a verification code input interface, and a user needs to split and input a verification code into each input box to trigger a verification process of the verification code.
Referring to FIG. 2, a diagram of a verification interface for multiple input boxes is shown. The verification interface comprises 4 input boxes, and when the characters input in the 4 input boxes are correct, the verification can be passed.
102, dividing the verification code into a plurality of character combinations matched with the input boxes;
the terminal splits the validation code into a plurality of character combinations, each of which may include one or more characters.
Step 103, writing the character combinations into the input boxes correspondingly.
And the terminal respectively inputs the character combination into each input box of the verification interface.
Specifically, a paste function key may be provided in the terminal interface, and when the user clicks the paste function key to trigger a paste operation, the terminal automatically inputs the character combinations into the input boxes of the verification interface, respectively.
In the embodiment of the application, after the verification code is received, the verification code is segmented into the character combinations, the character combinations are respectively input into the input boxes of the verification interface, a user does not need to input characters into the input boxes one by one, so that the operation amount of the user is reduced, the user experience is improved, and the input time of the verification code can be shortened.
Referring to fig. 3, a flowchart illustrating steps of embodiment 2 of a method for inputting a verification code on a verification interface according to the present application is shown, where the verification interface has a plurality of input boxes, and the method may specifically include the following steps:
step 201, acquiring a verification code; the verification code comprises a plurality of characters;
step 202, determining the number of input boxes of the current input interface;
the terminal determines the number of input boxes in the current input interface.
Step 203, segmenting the verification code into character combinations which are suitable for the number of input boxes of the current input interface;
the verification code is divided into character combinations the number of which is equal to the number of input boxes.
For example, if the number of input boxes of the current input interface is 4, the verification code is divided into 4 character combinations.
At present, the input length of an input box is usually 1, namely, only one character can be input in the input box. In the embodiment of the present application, it is considered that in the case of increasing the security of authentication, the input length of the input box may be set to not only 1, and the input lengths of the respective input boxes may be set to be different from each other.
In this embodiment, the step 203 may specifically include the following sub-steps:
a sub-step S11 of determining a first arrangement order of the plurality of input boxes;
a substep S12 of determining the length of input of the plurality of input boxes;
and a sub-step S13, segmenting the verification code into character combinations that are adapted to the number of input boxes of the current input interface according to the input-writing lengths of the input boxes and the first arrangement order of the input boxes.
For example, the current verification interface has 4 input boxes, wherein the input length of the 1 st and 3 rd input boxes is 1, and the input length of the 2 nd and 4 th input boxes is 2. The current authentication code is abcdef.
The terminal combines the 1 st character into a, the 2 nd character into bc, the 3 rd character into d and the 4 th character into ef, which are obtained by splitting the verification code.
In this embodiment, the sub-step S13 may further include:
substep S131, determining the digit of the verification code;
a substep S132 of determining whether the sum of the input writing lengths of the input boxes is equal to the number of bits of the verification code;
and a substep S233, if yes, segmenting the verification code into character combinations with the number of input boxes adapted to the current input interface according to the input-writing lengths of the input boxes and the first arrangement sequence of the input boxes.
In practice, the terminal may extract an error when extracting the verification code. For example, assume that the actual captcha is a 6-bit captcha, and the number of bits of the extracted character is not 6. At this time, the terminal will not be able to input the correct verification code.
To avoid unnecessary operations. And when the digit of the verification code is different from the sum of the input and write lengths of the input boxes, the terminal does not execute the operation of splitting the verification code. The terminal performs an operation of slicing the captcha only when the number of bits of the captcha is the same as the sum of the write lengths of the respective input boxes.
And 204, writing the character combinations into the input boxes correspondingly.
In this embodiment, the step 204 may specifically include the following sub-steps:
a sub-step S21 of determining a second arrangement order of the plurality of character combinations;
and a substep S22 of writing the character combinations into the input boxes in the order corresponding to the first arrangement order of the input boxes and the second arrangement order of the character combinations, respectively.
And writing each character combination into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
For example, there are currently 4 character combinations and 4 input boxes, the 1 st character combination is input into the 1 st input box, the 2 nd character combination is input into the 2 nd input box, the 3 rd character combination is input into the 3 rd input box, and the 4 th character combination is input into the 4 th input box.
In the embodiment of the application, after the verification code is received, the terminal segments the verification code into a plurality of character combinations according to the number of the input boxes and the input-write length of each input box, and inputs the character combinations into each input box sequentially corresponding to the verification interface respectively, so that a user does not need to input characters into the input boxes one by one, the operation amount of the user is reduced, the user experience is improved, and the time for inputting the verification code can be shortened.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 4, a block diagram of an embodiment of an apparatus for inputting a verification code on a verification interface according to the present application is shown, where the verification interface has a plurality of input boxes, and the apparatus may specifically include the following modules:
a verification code obtaining module 301, configured to obtain a verification code; the verification code comprises a plurality of characters;
a verification code dividing module 302, configured to divide the verification code into a plurality of character combinations adapted to the plurality of input boxes;
the verification code input module 303 is configured to write the plurality of character combinations into the plurality of input boxes respectively and correspondingly.
In this embodiment, the verification code splitting module 302 may include:
the input frame number determining submodule is used for determining the number of input frames of the current input interface;
and the matching number segmentation submodule is used for segmenting the verification code into character combinations which are matched with the number of the input boxes of the current input interface.
In this embodiment of the application, the adaptation number slicing sub-module may further include:
a first order determination unit configured to determine a first arrangement order of the plurality of input boxes;
the input and write length determining unit is used for determining the input and write lengths of the input boxes;
and the length sequence segmentation unit is used for segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
In an embodiment of the present application, the length-order slicing unit may further include:
a verification code digit determining subunit, configured to determine a digit of the verification code;
a length-digit matching subunit, configured to determine whether a sum of the input lengths of the plurality of input boxes is equal to the digit number of the verification code;
and the length sequence segmentation subunit is used for segmenting the verification code into character combinations which are suitable for the number of the input frames of the current input interface according to the input lengths of the input frames and the first arrangement sequence of the input frames if the sum of the input lengths of the input frames is equal to the number of bits of the verification code.
In this embodiment, the verification code inputting module 303 may include:
a second order determination sub-module for determining a second arrangement order of the plurality of character combinations;
and the sequence input submodule is used for writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
In this embodiment of the application, the verification code obtaining module 301 may include:
and the operation acquisition submodule is used for acquiring the verification code after the copying operation is detected.
In this embodiment, the verification code inputting module 303 may include:
and the operation input sub-module is used for correspondingly writing the character combinations into the input boxes respectively after the pasting operation is detected.
In this embodiment of the application, the verification code obtaining module 301 may include:
and the short message acquisition submodule is used for acquiring the verification code from the short message.
In this embodiment of the application, the short message obtaining sub-module further includes:
a target number determination unit for determining a target number;
and the number short message acquisition unit is used for acquiring the verification code from the short message of the target number.
In the embodiment of the application, after the verification code is received, the terminal segments the verification code into a plurality of character combinations according to the number of the input boxes and the input-write length of each input box, and inputs the character combinations into each input box sequentially corresponding to the verification interface respectively, so that a user does not need to input characters into the input boxes one by one, the operation amount of the user is reduced, the user experience is improved, and the time for inputting the verification code can be shortened.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for inputting the verification code on the verification interface and the device for inputting the verification code on the verification interface provided by the application are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the application, and the description of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
The embodiment of the application discloses A1, a method for inputting a verification code on a verification interface, wherein the verification interface is provided with a plurality of input boxes, and the method comprises the following steps:
acquiring a verification code; the verification code comprises a plurality of characters;
dividing the verification code into a plurality of character combinations matched with the input boxes;
and correspondingly writing the character combinations into the input boxes respectively.
A2, the method of A1, the step of segmenting the captcha into character combinations that fit into the input boxes comprising:
determining the number of input boxes of the current input interface;
and splitting the verification code into character combinations which are adaptive to the number of input boxes of the current input interface.
A3, the method as in A2, the sub-step of slicing the captcha into character combinations that fit the number of input boxes of the current input interface further comprising:
determining a first arrangement order of the plurality of input boxes;
determining the input writing length of the plurality of input boxes;
and according to the input-write lengths of the input boxes and the first arrangement sequence of the input boxes, segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface.
A4, the method as in A3, the sub-step of splitting the captcha into character combinations that fit the number of input boxes of the current input interface according to the length of input of the input boxes and the first arrangement order of the input boxes further comprising:
determining the number of bits of the verification code;
determining whether the sum of the input writing lengths of the plurality of input boxes is equal to the number of bits of the verification code;
and if so, segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
A5, the method of A3, wherein the writing the character combinations into the input boxes respectively comprises:
determining a second arrangement order of the plurality of character combinations;
and writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
A6, the method of a1, wherein the step of obtaining the verification code comprises:
when the copy operation is detected, the verification code is acquired.
A7, the method of A1, wherein the writing the character combinations into the input boxes respectively comprises:
and when the pasting operation is detected, writing the character combinations into the input boxes correspondingly.
A8, the method of a1, wherein the step of obtaining the verification code comprises:
and acquiring the verification code from the short message.
A9, the method as in A8, wherein the substep of obtaining the verification code from the sms further comprises:
determining a target number;
and acquiring a verification code from the short message of the target number.
The embodiment of the application also discloses B10, a device for inputting a verification code on a verification interface, wherein the verification interface has a plurality of input boxes, and the device includes:
the verification code acquisition module is used for acquiring a verification code; the verification code comprises a plurality of characters;
the verification code segmentation module is used for segmenting the verification code into a plurality of character combinations matched with the input boxes;
and the verification code input module is used for correspondingly writing the character combinations into the input boxes respectively.
B11, the apparatus as described in B10, the verification code cutting module comprising:
the input frame number determining submodule is used for determining the number of input frames of the current input interface;
and the matching number segmentation submodule is used for segmenting the verification code into character combinations which are matched with the number of the input boxes of the current input interface.
B12, the apparatus as in B11, the adaptation number slicing sub-module further comprising:
a first order determination unit configured to determine a first arrangement order of the plurality of input boxes;
the input and write length determining unit is used for determining the input and write lengths of the input boxes;
and the length sequence segmentation unit is used for segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
B13, the apparatus as in B12, the length-sequential splitting unit further comprising:
a verification code digit determining subunit, configured to determine a digit of the verification code;
a length-digit matching subunit, configured to determine whether a sum of the input lengths of the plurality of input boxes is equal to the digit number of the verification code;
and the length sequence segmentation subunit is used for segmenting the verification code into character combinations which are suitable for the number of the input frames of the current input interface according to the input lengths of the input frames and the first arrangement sequence of the input frames if the sum of the input lengths of the input frames is equal to the number of bits of the verification code.
B14, the apparatus as described in B12, the verification code input module comprising:
a second order determination sub-module for determining a second arrangement order of the plurality of character combinations;
and the sequence input submodule is used for writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
B15, the apparatus as in B10, the verification code obtaining module comprising:
and the operation acquisition submodule is used for acquiring the verification code after the copying operation is detected.
B16, the apparatus as described in B10, the verification code input module comprising:
and the operation input sub-module is used for correspondingly writing the character combinations into the input boxes respectively after the pasting operation is detected.
B17, the apparatus as in B10, the verification code obtaining module comprising:
and the short message acquisition submodule is used for acquiring the verification code from the short message.
B18, the apparatus as in B17, wherein the short message obtaining sub-module further comprises:
a target number determination unit for determining a target number;
and the number short message acquisition unit is used for acquiring the verification code from the short message of the target number.

Claims (18)

1. A method for entering a verification code in a verification interface, the verification interface having a plurality of input boxes, the method comprising:
acquiring a verification code; the verification code comprises a plurality of characters;
dividing the verification code into a plurality of character combinations matched with the input boxes;
writing the character combinations into the input boxes correspondingly respectively;
the terminal automatically segments the verification code into a plurality of character combinations according to the number of the input boxes and the input-write length of each input box, and automatically inputs the character combinations into each input box of the verification interface corresponding to the sequence.
2. The method of claim 1, wherein the step of segmenting the validation code into a plurality of character combinations that fit into the plurality of input boxes comprises:
determining the number of input boxes of the current input interface;
and splitting the verification code into character combinations which are adaptive to the number of input boxes of the current input interface.
3. The method according to claim 2, wherein the sub-step of splitting the captcha into character combinations that fit the number of input boxes of the current input interface further comprises:
determining a first arrangement order of the plurality of input boxes;
determining the input writing length of the plurality of input boxes;
and according to the input-write lengths of the input boxes and the first arrangement sequence of the input boxes, segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface.
4. The method of claim 3, wherein the sub-step of splitting the captcha into character combinations that fit the number of input boxes of the current input interface in accordance with the length of the input of the plurality of input boxes and the first order of arrangement of the plurality of input boxes further comprises:
determining the number of bits of the verification code;
determining whether the sum of the input writing lengths of the plurality of input boxes is equal to the number of bits of the verification code;
and if so, segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
5. The method according to claim 3, wherein the step of writing the character combinations into the input boxes respectively comprises:
determining a second arrangement order of the plurality of character combinations;
and writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
6. The method of claim 1, wherein the step of obtaining the verification code comprises:
when the copy operation is detected, the verification code is acquired.
7. The method according to claim 1, wherein the step of writing the character combinations into the input boxes respectively comprises:
and when the pasting operation is detected, writing the character combinations into the input boxes correspondingly.
8. The method of claim 1, wherein the step of obtaining the verification code comprises:
and acquiring the verification code from the short message.
9. The method as claimed in claim 8, wherein the sub-step of obtaining the verification code from the short message further comprises:
determining a target number;
and acquiring a verification code from the short message of the target number.
10. An apparatus for entering a verification code into a verification interface, the verification interface having a plurality of input boxes, the apparatus comprising:
the verification code acquisition module is used for acquiring a verification code; the verification code comprises a plurality of characters;
the verification code segmentation module is used for segmenting the verification code into a plurality of character combinations matched with the input boxes;
the verification code input module is used for correspondingly writing the character combinations into the input boxes respectively;
the terminal automatically segments the verification code into a plurality of character combinations according to the number of the input boxes and the input-write length of each input box, and automatically inputs the character combinations into each input box of the verification interface corresponding to the sequence.
11. The apparatus of claim 10, wherein the authentication code slicing module comprises:
the input frame number determining submodule is used for determining the number of input frames of the current input interface;
and the matching number segmentation submodule is used for segmenting the verification code into character combinations which are matched with the number of the input boxes of the current input interface.
12. The apparatus of claim 11, wherein the adaptation number slicing sub-module further comprises:
a first order determination unit configured to determine a first arrangement order of the plurality of input boxes;
the input and write length determining unit is used for determining the input and write lengths of the input boxes;
and the length sequence segmentation unit is used for segmenting the verification code into character combinations which are suitable for the number of the input boxes of the current input interface according to the input and write lengths of the input boxes and the first arrangement sequence of the input boxes.
13. The apparatus of claim 12, wherein the length-sequential splitting unit further comprises:
a verification code digit determining subunit, configured to determine a digit of the verification code;
a length-digit matching subunit, configured to determine whether a sum of the input lengths of the plurality of input boxes is equal to the digit number of the verification code;
and the length sequence segmentation subunit is used for segmenting the verification code into character combinations which are suitable for the number of the input frames of the current input interface according to the input lengths of the input frames and the first arrangement sequence of the input frames if the sum of the input lengths of the input frames is equal to the number of bits of the verification code.
14. The apparatus of claim 12, wherein the verification code input module comprises:
a second order determination sub-module for determining a second arrangement order of the plurality of character combinations;
and the sequence input submodule is used for writing the character combinations into the input boxes corresponding to the sequence according to the first arrangement sequence of the input boxes and the second arrangement sequence of the character combinations.
15. The apparatus of claim 10, wherein the verification code obtaining module comprises:
and the operation acquisition submodule is used for acquiring the verification code after the copying operation is detected.
16. The apparatus of claim 10, wherein the verification code input module comprises:
and the operation input sub-module is used for correspondingly writing the character combinations into the input boxes respectively after the pasting operation is detected.
17. The apparatus of claim 10, wherein the verification code obtaining module comprises:
and the short message acquisition submodule is used for acquiring the verification code from the short message.
18. The apparatus of claim 17, wherein the short message obtaining sub-module further comprises:
a target number determination unit for determining a target number;
and the number short message acquisition unit is used for acquiring the verification code from the short message of the target number.
CN201610974573.3A 2016-11-04 2016-11-04 Method and device for inputting verification code on verification interface Active CN106599637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610974573.3A CN106599637B (en) 2016-11-04 2016-11-04 Method and device for inputting verification code on verification interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610974573.3A CN106599637B (en) 2016-11-04 2016-11-04 Method and device for inputting verification code on verification interface

Publications (2)

Publication Number Publication Date
CN106599637A CN106599637A (en) 2017-04-26
CN106599637B true CN106599637B (en) 2020-11-03

Family

ID=58589756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610974573.3A Active CN106599637B (en) 2016-11-04 2016-11-04 Method and device for inputting verification code on verification interface

Country Status (1)

Country Link
CN (1) CN106599637B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932173B (en) * 2018-07-05 2020-12-22 厦门美图移动科技有限公司 Verification code filling method and device
CN109409044A (en) * 2018-09-19 2019-03-01 维沃移动通信有限公司 A kind of verifying interface display method and terminal
CN110287655B (en) * 2019-06-24 2021-06-18 维沃移动通信有限公司 Verification code input method and device and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011134149A (en) * 2009-12-25 2011-07-07 Kyocera Corp Cellular phone, security program and security method
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103777864A (en) * 2014-01-17 2014-05-07 广东金宇恒科技有限公司 Password login assembly
CN104917612A (en) * 2014-03-14 2015-09-16 腾讯科技(深圳)有限公司 Identity verification method and device
CN105808132A (en) * 2015-09-24 2016-07-27 维沃移动通信有限公司 Information filling method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101851398B1 (en) * 2011-10-14 2018-04-23 삼성전자주식회사 Apparus and method for authorizing combining code using quick response code
CN105511949B (en) * 2015-12-03 2020-03-17 小米科技有限责任公司 Verification code filling method and device and mobile terminal
CN105553663A (en) * 2015-12-09 2016-05-04 小米科技有限责任公司 Verification code input method and device
CN105847288B (en) * 2016-05-16 2019-09-27 珠海市魅族科技有限公司 A kind of identifying code treating method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011134149A (en) * 2009-12-25 2011-07-07 Kyocera Corp Cellular phone, security program and security method
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103777864A (en) * 2014-01-17 2014-05-07 广东金宇恒科技有限公司 Password login assembly
CN104917612A (en) * 2014-03-14 2015-09-16 腾讯科技(深圳)有限公司 Identity verification method and device
CN105808132A (en) * 2015-09-24 2016-07-27 维沃移动通信有限公司 Information filling method and electronic equipment

Also Published As

Publication number Publication date
CN106599637A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
US9514741B2 (en) Data shredding for speech recognition acoustic model training under data retention restrictions
CN110490721B (en) Financial voucher generating method and related product
WO2016101577A1 (en) Voice recognition method, client and terminal device
CN111343496A (en) Video processing method and device
CN111666746A (en) Method and device for generating conference summary, electronic equipment and storage medium
CN106599637B (en) Method and device for inputting verification code on verification interface
CN111145202B (en) Model generation method, image processing method, device, equipment and storage medium
CN111381819B (en) List creation method and device, electronic equipment and computer-readable storage medium
US10313391B1 (en) Digital distillation
CN107291931B (en) Note generation method and device and user terminal
US10735357B1 (en) Cross-platform messaging system
CN116303937A (en) Reply method, reply device, electronic equipment and readable storage medium
CN112988776B (en) Method, device and equipment for updating text parsing rule and readable storage medium
CN113360127B (en) Audio playing method and electronic equipment
CN113033552B (en) Text recognition method and device and electronic equipment
CN113254579A (en) Voice retrieval method and device and electronic equipment
CN114501059A (en) Video score processing method and device, electronic equipment and readable storage medium
CN112182520B (en) Identification method and device of illegal account number, readable medium and electronic equipment
CN110309517B (en) Expression document processing method, device, system and storage medium
CN110297807B (en) Two-dimensional code management method and device
CN107608947B (en) HTML file processing method and device and electronic equipment
CN110971759A (en) Processing method and device for unsubscribed short message and server
CN111104534A (en) Integration method and device of public image training data set
CN113504836B (en) Information input method and electronic equipment
CN111209733A (en) Text record processing method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170802

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant