CN114968003B - Verification code input method and device - Google Patents

Verification code input method and device Download PDF

Info

Publication number
CN114968003B
CN114968003B CN202210418343.4A CN202210418343A CN114968003B CN 114968003 B CN114968003 B CN 114968003B CN 202210418343 A CN202210418343 A CN 202210418343A CN 114968003 B CN114968003 B CN 114968003B
Authority
CN
China
Prior art keywords
verification code
box
input
text selection
user
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
CN202210418343.4A
Other languages
Chinese (zh)
Other versions
CN114968003A (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.)
China Telecom Digital Intelligence Technology Co Ltd
Original Assignee
China Telecom Digital Intelligence 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 China Telecom Digital Intelligence Technology Co Ltd filed Critical China Telecom Digital Intelligence Technology Co Ltd
Priority to CN202210418343.4A priority Critical patent/CN114968003B/en
Publication of CN114968003A publication Critical patent/CN114968003A/en
Application granted granted Critical
Publication of CN114968003B publication Critical patent/CN114968003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a verification code input method and device, wherein the method comprises the following steps: when the first application program is in a verification code receiving state, displaying a target message received by a second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface; receiving a first input of a user on the interface to the target message; and in response to the first input, filling the verification code into a verification code input area on the interface. The invention does not need to switch application programs, and simplifies user operation; the verification code is convenient to check, and the accuracy of verification code input is improved.

Description

Verification code input method and device
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a verification code input method and device.
Background
When a key task is executed on the intelligent terminal, such as login, online banking transfer, shopping order, and the like, in order to increase safety, a server often sends a short message verification code, and a user inputs the short message verification code on a page corresponding to the intelligent terminal to complete normal transaction.
When the user looks at the short message verification code, the user usually enters a short message program, and at this time, the transaction program which is being executed originally cannot be seen. After remembering the verification code on the short message, the user exits the short message program in a rollback mode and the like to reenter the transaction program. Because the short message program and the transaction program are switched back and forth, the user easily forgets the verification code or exits the transaction program, and needs to make multiple and multi-step attempts to successfully input the short message verification code, so that the operation is complex.
The prior art has a method for automatically filling in the verification code, and the verification code in the short message is extracted by analyzing the content of the received short message, so that the verification code is directly filled in a verification code input box. Although the complexity of verification code input is reduced, the analysis of the content of the short message may be inaccurate, and if the input box is filled with the wrong verification code, the transaction will fail.
Disclosure of Invention
The invention provides a verification code input method and device, which are used for solving the defects of complex verification code input operation and inaccurate input in the prior art, improving the verification code input accuracy and simplifying the user operation.
The invention provides a verification code input method, which comprises the following steps:
when the first application program is in a verification code receiving state, displaying a target message received by a second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface;
receiving a first input of a user on the interface to the target message;
and filling the verification code into the verification code input area in response to the first input.
According to the verification code input method provided by the invention, before the step of receiving the first input of the target message by the user on the interface, the method further comprises the following steps:
displaying a text selection box on the interface, wherein the text selection box is used for identifying the verification code from the target message;
the first input is an adjustment operation and/or a confirmation operation of the text selection box by the user.
According to the verification code input method provided by the invention, the step of displaying the text selection box on the interface comprises the following steps:
performing character recognition on the target message to obtain a verification code in the target message;
determining the position of the verification code as the display position of the text selection box;
and displaying the text selection box according to the display position, and controlling the text selection box to select the verification code at least in a box mode.
According to the verification code input method provided by the invention, the method further comprises the following steps:
acquiring configuration information associated with the first application program, wherein the configuration information comprises the screen size of terminal equipment and/or the font size set by the user;
and adjusting the display position according to the configuration information, and displaying the text selection box according to the adjusted display position.
According to the verification code input method provided by the invention, the method further comprises the following steps:
pre-storing the initial position and the initial size of the text selection box;
the step of displaying a text selection box on the interface comprises: and displaying the text display box on the interface according to the initial position and the initial size.
According to the verification code input method provided by the invention, the step of filling the verification code into the verification code input area in response to the first input comprises the following steps:
if the first input is the adjustment operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area, and filling the verification code into the verification code input area;
if the first input is the adjustment operation and the confirmation operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area according to the confirmation operation, and filling the verification code into the verification code input area;
and if the first input is the confirmation operation of the user on the text selection box, extracting the verification code from the box selection area of the text selection box, and filling the verification code into the verification code input area.
According to the verification code input method provided by the invention, if the first input comprises the adjustment operation of the text selection box by the user, the method further comprises the following steps:
and establishing a corresponding relation between the adjusted box selection area and the first application program so as to display an adjusted text selection box according to the adjusted box selection area when receiving the verification code through the first application program again.
According to the verification code input method provided by the invention, the method further comprises the following steps:
when the position of the verification code is determined to be changed, acquiring a new frame selection area of the text selection frame;
and updating the corresponding relation, and establishing the corresponding relation between the new frame selection area and the first application program.
According to the verification code input method provided by the invention, the target information is displayed on the interface in a floating window mode;
the method further comprises the steps of:
when the user is determined to receive the verification code again through the first application program within the preset time, acquiring the display state of the floating window;
if the presentation status indicates that the floating window has been closed, redisplaying the floating window containing the target message.
The invention also provides a verification code input device, which comprises:
the display module is used for displaying a target message received by the second application program on an interface of the first application program when the first application program is in a verification code receiving state, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface;
a receiving module for receiving a first input of a user to the target message on the interface;
and the filling module is used for responding to the first input and filling the verification code into a verification code input area on the interface.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements any one of the verification code input methods described above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a verification code input method as described in any of the above.
The invention also provides a computer program product comprising a computer program which when executed by a processor implements a method of inputting a verification code as described in any of the above.
According to the verification code input method and device, the target message received by the second application program is displayed on the interface where the verification code input area of the first application program is located, the user operates the target message on the interface, the verification code in the target message is filled according to the operation, application program switching is not needed, and user operation is simplified; the verification code is convenient to check, and the accuracy of verification code input is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a verification code input method provided by the invention;
FIG. 2 is a schematic diagram of a verification code input device according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a verification code input method according to the present invention with reference to fig. 1, including: step 101, when the first application program is in the verification code receiving state, displaying a target message received by the second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface.
Wherein the second application is an application that receives the target message, and the second application may correspond to a type of the target message. For example, the target message is a short message, and the second application program is a short message application program. And if the target message is mail, the second application program is a mailbox application program. The target message is a message of even a communication tool, and the second application program is an instant communication tool.
The first application is an application that requires entry of an authentication code, such as a user login in an online payment application.
The verification code in the target message is the verification code which needs to be input on the interface of the first application program.
The execution body of the embodiment is an intelligent terminal, such as a mobile phone, with a first application program and a second application program. The intelligent terminal has two information receiving modes, namely a verification code receiving mode and a conventional receiving mode. The authentication code receiving mode receives information including an authentication code. The normal reception mode receives information that does not contain a verification code, i.e., normal information.
After clicking a button for acquiring the verification code on the interface of the first application program, the user switches the information receiving mode of the intelligent terminal from the conventional receiving mode to the verification code receiving mode, and meanwhile, the input focus of the interface of the first application program can be positioned in a text input box of the verification code input area.
After the second application program receives the information, if the intelligent terminal is in the verification code receiving mode, displaying target information received by the second application program on the first application program; if the intelligent terminal is in the normal receiving mode, displaying information according to an information notification mode of the second application program, and realizing differential display of the verification code information and the common information.
Step 102, receiving a first input of a user on the interface for the target message.
The user makes a first input of the target message on an interface of the first application. For example, the first input is to edit the target message to identify the verification code in the target message, and click the confirm button after the editing is completed, triggering automatic population. The present embodiment is not limited to the first input.
And step 103, responding to the first input, and filling the verification code into a verification code input area on the interface.
The verification code input area is an area for inputting verification codes, such as a text box for inputting verification codes. The first input by the user triggers the automatic population of the verification code into the verification code input area.
According to the embodiment, the target message is displayed on the interface where the verification code input area is located, the user operates the target message on the interface, the verification code in the target message is filled according to the operation, application program switching is not needed, and user operation is simplified; the verification code is convenient to check, and the accuracy of verification code input is improved.
On the basis of the foregoing embodiment, the identifying the verification code in the target message in this embodiment includes: and displaying a text selection box on the interface, wherein the text selection box is used for identifying the verification code from the target message.
The selection box of the target message is used for carrying out box selection on the verification code in the target message, so that identification of the verification code is realized.
The first input is an adjustment operation and/or a confirmation operation of the user on the selected frame.
If the user confirms that the initial position of the selected frame has accurately selected the verification code, the user can directly click a confirmation button to trigger the execution of the subsequent verification code filling action.
If the user does not have any operation within a preset time, such as 5s, the user can be considered to acknowledge the selected content of the selection frame, and even if the instruction of clicking the confirm button by the user is not acquired, the subsequent filling action can be automatically triggered to be executed.
The check code is selected in the text by a box, for example, the check code is selected incompletely or in error. At this time, the user can adjust the selected frame by means of manual adjustment, including moving operation and boundary adjustment, so that the selected frame completely frames the actual position where the verification code is located, and then clicks the confirmation button to trigger the subsequent filling action.
The embodiment supports manual adjustment of the selection frame by a user, determines the accurate position of the verification code in a manual intervention mode, realizes the accurate positioning of the verification code, and further improves the automatic filling accuracy of the verification code.
On the basis of the foregoing embodiment, the step of displaying the text selection box of the target message on the interface in this embodiment includes: performing character recognition on the target message to obtain a verification code in the target message; determining the position of the verification code as the display position of the text selection box; and displaying the text selection box according to the display position, and controlling the text selection box to select the verification code at least in a box mode.
That is, when the target information is displayed, the text of the target information is scanned in a text recognition mode, and the verification code in the target message is positioned. The identified verification code is a text segment which is prejudged as the verification code in the whole target message. And adding a text selection box in the area according to the area where the text segment of the verification code is pre-judged. The location of the text selection box is where the region is located.
According to the method, the region where the verification code is located is selected from the target information through the pre-judging mode, and a selected frame is displayed in the region, so that the adjustment amplitude and the possibility of a user are reduced, and the operation of the user is simplified; if the region is inaccurate, the user is supported to manually adjust the selection frame, the accurate position of the verification code is determined in a manual intervention mode, the accurate positioning of the verification code is realized, and the automatic filling accuracy of the verification code is further improved.
On the basis of the foregoing embodiment, the method in this embodiment further includes: acquiring configuration information associated with the first application program, wherein the configuration information comprises the screen size of terminal equipment and/or the font size set by the user;
and adjusting the display position according to the configuration information, and displaying the text selection box according to the adjusted display position.
Aiming at the same target message, different screen sizes and/or different font sizes can influence the final display effect of the message, so as to influence the final display position of the verification code.
In addition, the embodiment may further provide another scheme for displaying the text selection box on the interface, where the display position of the text selection box may be fixed in advance. Specifically, the initial position and the initial size of the text selection box may be saved in advance; and displaying the text display box on the interface according to the initial position and the initial size.
The initial position of the text selection box may be a fixed preset position, such as the upper right corner of the target message display area. And positioning the text display frame according to the initial position and the initial size, providing a reference for a user, and simplifying the operation of the user.
On the basis of the foregoing embodiment, the step of filling the verification code into the verification code input area on the interface in response to the first input in this embodiment includes: and if the first input is the adjustment operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area, and filling the verification code into the verification code input area.
Optionally, the adjusting operation includes adjusting only the position, adjusting only the size, and adjusting both the position size. This embodiment triggers a subsequent filling action by the adjustment operation.
Under the condition that the size of the text selection box is only required to be adjusted, the user can adjust the size of the selection box by dragging the boundary of the text selection box, so that the text selection box completely frames the verification code.
Under the condition that the position and the size of the text selection box are required to be adjusted, a user can drag the text selection box to the position where the verification code is located, and then drag the boundary of the text selection box to adjust the size of the selection box.
Under the condition that the position of the text selection box is only required to be adjusted, the user drags and changes the position of the text selection box according to actual conditions, so that the user can completely select the verification code.
As an implementation scheme, the embodiment can identify the verification code from the text fragments selected by the selected frame according to the format of the target information.
Taking Chinese short message content as an example, if the content in the selected frame consists of at least one of numbers, letters and special symbols, directly extracting corresponding character strings when the numbers, the letters and the special symbols are identified; if the content in the selected box includes Chinese characters, specific characters contained in the selected box can be identified, for example, the selected box contains a character string of verification code: XXX, "can" verify the code: and as specific characters, identifying the content between the two as verification codes and automatically filling.
And if the first input is the adjustment operation and the confirmation operation of the user on the text selection box, adjusting the box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area according to the confirmation operation, and filling the verification code into the verification code input area.
After the user adjusts the frame selection area of the text selection box, the user clicks the confirm button again to trigger the subsequent filling action.
And if the first input is the confirmation operation of the user on the text selection box, extracting the verification code from the box selection area of the text selection box, and filling the verification code into the verification code input area.
If the user determines that the text selection box has completely selected the verification code, the user directly clicks the confirmation button without adjusting the box selection area to trigger the subsequent filling action.
According to the embodiment, when the frame selection area is inaccurate, a user is supported to manually adjust the selection frame, the accurate position of the verification code is determined in a manual intervention mode, the accurate positioning of the verification code is realized, and the automatic filling accuracy of the verification code is further improved.
On the basis of the above embodiment, if the first input includes an adjustment operation of the text selection box by the user in this embodiment, after the step of receiving the first input of the target message by the user on the interface, the method further includes: and establishing a corresponding relation between the adjusted box selection area and the first application program so as to display an adjusted text selection box according to the adjusted box selection area when receiving the verification code through the first application program again.
After the user adjusts the selection frame, the embodiment includes adjusting the size and/or the position of the selection frame, and recording the selection frame information finally corresponding to different first application programs, including the size of the selection frame and the selection position of the frame in the target information. And establishing a corresponding relation between the first application program and the text selection box information, so that when the user needs to fill the verification code in the first application program again, the selection box is automatically displayed according to the stored corresponding relation, the user is not required to adjust, and the user operation is simplified.
On the basis of the foregoing embodiment, the method in this embodiment further includes: when the position of the verification code is determined to be changed, acquiring a new frame selection area of the text selection frame; and updating the corresponding relation, and establishing the corresponding relation between the new frame selection area and the first application program.
When the target information corresponding to the first application program, the combination mode of the verification codes and the like are changed, the positions of the verification codes may be changed, and the changed verification codes cannot be correctly selected according to the sizes and the positions of the original selected frames. Corresponding to the method, when the position of the verification code changes, a new frame selection area of the text selection frame is obtained in an automatic identification mode or a user adjustment mode, and a corresponding relation between the new frame selection area and the first application program is established, so that the self-adaptive updating of the corresponding relation is realized.
On the basis of the above embodiments, the target information in this embodiment is displayed on the interface in a floating window manner.
The embodiment takes a short message verification code as an example for explanation. After clicking a button for acquiring the verification code on the interface of the first application program, the first application program sends a verification code acquisition request to the server. The second application receives the short message.
And when the second application program determines that the short message is received, acquiring the short message content, and sending the short message content to the first application program.
The first application program displays the short message content on the interface in a floating window mode, identifies the currently selected content in the selected frame of the short message content, and fills the identified content into the verification code input area.
It should be noted that the floating window may be displayed at a fixed position on the interface of the first application program. In order to improve the user experience, the floating window may avoid the display of the verification code input text box of the first application program, so that the text box is not blocked by the floating window.
The method further comprises the steps of:
when the user is determined to receive the verification code again through the first application program within the preset time, acquiring the display state of the floating window;
if the presentation status indicates that the floating window has been closed, redisplaying the floating window containing the target message.
After the user performs the first input of the target message, the floating window is closed. For example, the first input is a user adjusting a selected box of target information in the hover window and clicking a confirmation button of the hover window after the adjustment. After the user clicks the confirmation button, the automatic closing of the floating window can be triggered besides the automatic filling of the verification code, and the user is not required to perform closing operation.
And re-displaying the floating window when the user acquires that the user receives the verification code on the interface again through the first application program within the preset time length.
After the floating window is closed, verification code filling failure may be caused by the blocking of the intelligent terminal or the operation reason of the user, and in this case, if the user clicks the button for obtaining the verification code again within a shorter preset time after the verification code filling, the last closed floating window is redisplayed, and the target information is displayed in the floating window for the user to perform the first input operation.
According to the embodiment, the floating window is redisplayed according to the user requirement, and verification code filling is triggered according to the first input operation of the last target information in the floating window, so that on one hand, verification code information is not required to be received again, and waiting time for receiving the verification code is saved; on the other hand, interaction between the intelligent terminal and the server is reduced, resource consumption is saved, security of the verification code is improved, and repeated switching between the first application program and the second application program is not needed.
The verification code input device provided by the invention is described below, and the verification code input device described below and the verification code input method described above can be referred to correspondingly.
As shown in fig. 2, the apparatus includes a display module 201, a receiving module 202, and a filling module 203, wherein:
the display module 201 is configured to display, when it is determined that the first application is in a verification code receiving state, a target message received by the second application on an interface of the first application, where the target message includes a verification code, and an input area of the verification code is set on the interface;
the receiving module 202 is configured to receive a first input of the target message from a user on the interface;
the filling module 203 is configured to fill the verification code into a verification code input area on the interface in response to the first input.
According to the embodiment, the target message is displayed on the interface where the verification code input area is located, the user operates the target message on the interface, the verification code in the target message is filled according to the operation, application program switching is not needed, and user operation is simplified; the verification code is convenient to check, and the accuracy of verification code input is improved.
Fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, where the electronic device may include: processor 310, communication interface (Communications Interface) 320, memory 330 and communication bus 340, wherein processor 310, communication interface 320, memory 330 accomplish communication with each other through communication bus 340. Processor 310 may invoke logic instructions in memory 330 to perform a verification code input method comprising: when the first application program is in a verification code receiving state, displaying a target message received by a second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface; receiving a first input of a user on the interface to the target message; and in response to the first input, filling the verification code into a verification code input area on the interface.
Further, the logic instructions in the memory 330 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the verification code input method provided by the above methods, the method comprising: when the first application program is in a verification code receiving state, displaying a target message received by a second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface; receiving a first input of a user on the interface to the target message; and in response to the first input, filling the verification code into a verification code input area on the interface.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method of verification code input provided by the above methods, the method comprising: when the first application program is in a verification code receiving state, displaying a target message received by a second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface; receiving a first input of a user on the interface to the target message; and in response to the first input, filling the verification code into a verification code input area on the interface.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (7)

1. A verification code input method, comprising:
when the first application program is in a verification code receiving state, displaying a target message received by a second application program on an interface of the first application program, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface;
receiving a first input of a user on the interface to the target message;
filling the verification code into the verification code input area in response to the first input;
before the step of receiving a first input by the user on the interface to the target message, further comprising:
displaying a text selection box on the interface, wherein the text selection box is used for identifying the verification code from the target message;
the first input is an adjustment operation and/or a confirmation operation of the text selection box by the user;
the step of displaying a text selection box on the interface comprises:
performing character recognition on the target message to obtain a verification code in the target message;
determining the position of the verification code as the display position of the text selection box;
displaying the text selection box according to the display position, and controlling the text selection box to select the verification code at least in a box mode;
the step of populating the verification code into the verification code input field in response to the first input includes:
if the first input is the adjustment operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area, and filling the verification code into the verification code input area;
if the first input is the adjustment operation and the confirmation operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area according to the confirmation operation, and filling the verification code into the verification code input area;
and if the first input is the confirmation operation of the user on the text selection box, extracting the verification code from the box selection area of the text selection box, and filling the verification code into the verification code input area.
2. The method of verification code entry according to claim 1, wherein the method further comprises:
acquiring configuration information associated with the first application program, wherein the configuration information comprises the screen size of terminal equipment and/or the font size set by the user;
and adjusting the display position according to the configuration information, and displaying the text selection box according to the adjusted display position.
3. The method of verification code entry according to claim 1, wherein the method further comprises:
pre-storing the initial position and the initial size of the text selection box;
the step of displaying a text selection box on the interface comprises:
and displaying the text selection box on the interface according to the initial position and the initial size.
4. The passcode entry method of claim 1 wherein if the first input includes an adjustment operation of the text selection box by the user, the method further comprises:
and establishing a corresponding relation between the adjusted box selection area and the first application program so as to display an adjusted text selection box according to the adjusted box selection area when receiving the verification code through the first application program again.
5. The method of verification code entry according to claim 4, further comprising:
when the position of the verification code is determined to be changed, acquiring a new frame selection area of the text selection frame;
and updating the corresponding relation, and establishing the corresponding relation between the new frame selection area and the first application program.
6. A verification code input method as claimed in any one of claims 1 to 3 wherein said target message is displayed on said interface in a floating window;
the method further comprises the steps of:
when the user is determined to receive the verification code again through the first application program within the preset time, acquiring the display state of the floating window;
if the presentation status indicates that the floating window has been closed, redisplaying the floating window containing the target message.
7. An authentication code input device, comprising:
the display module is used for displaying a target message received by the second application program on an interface of the first application program when the first application program is in a verification code receiving state, wherein the target message comprises a verification code, and a verification code input area is arranged on the interface;
a receiving module for receiving a first input of a user to the target message on the interface;
the filling module is used for responding to the first input and filling the verification code into a verification code input area on the interface;
the display module is further configured to:
displaying a text selection box on the interface, wherein the text selection box is used for identifying the verification code from the target message;
the first input is an adjustment operation and/or a confirmation operation of the text selection box by the user;
the display module is further configured to:
performing character recognition on the target message to obtain a verification code in the target message;
determining the position of the verification code as the display position of the text selection box;
displaying the text selection box according to the display position, and controlling the text selection box to select the verification code at least in a box mode;
the filling module is used for:
if the first input is the adjustment operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area, and filling the verification code into the verification code input area;
if the first input is the adjustment operation and the confirmation operation of the user on the text selection box, adjusting a box selection area of the text selection box according to the adjustment operation, extracting the verification code from the adjusted box selection area according to the confirmation operation, and filling the verification code into the verification code input area;
and if the first input is the confirmation operation of the user on the text selection box, extracting the verification code from the box selection area of the text selection box, and filling the verification code into the verification code input area.
CN202210418343.4A 2022-04-20 2022-04-20 Verification code input method and device Active CN114968003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210418343.4A CN114968003B (en) 2022-04-20 2022-04-20 Verification code input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210418343.4A CN114968003B (en) 2022-04-20 2022-04-20 Verification code input method and device

Publications (2)

Publication Number Publication Date
CN114968003A CN114968003A (en) 2022-08-30
CN114968003B true CN114968003B (en) 2023-08-11

Family

ID=82977575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210418343.4A Active CN114968003B (en) 2022-04-20 2022-04-20 Verification code input method and device

Country Status (1)

Country Link
CN (1) CN114968003B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN105049607A (en) * 2015-06-24 2015-11-11 广东欧珀移动通信有限公司 Text message display method and mobile terminal
CN105094551A (en) * 2015-07-24 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment
CN106973157A (en) * 2017-03-23 2017-07-21 联想(北京)有限公司 A kind of control method and the first electronic equipment
CN108702413A (en) * 2017-05-10 2018-10-23 华为技术有限公司 A kind of input method and device of identifying code
CN111382402A (en) * 2018-12-28 2020-07-07 炬才微电子(深圳)有限公司 Character input method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN105049607A (en) * 2015-06-24 2015-11-11 广东欧珀移动通信有限公司 Text message display method and mobile terminal
CN105094551A (en) * 2015-07-24 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment
CN106973157A (en) * 2017-03-23 2017-07-21 联想(北京)有限公司 A kind of control method and the first electronic equipment
CN108702413A (en) * 2017-05-10 2018-10-23 华为技术有限公司 A kind of input method and device of identifying code
WO2018205168A1 (en) * 2017-05-10 2018-11-15 华为技术有限公司 Method and device for inputting verification code
CN111382402A (en) * 2018-12-28 2020-07-07 炬才微电子(深圳)有限公司 Character input method and device

Also Published As

Publication number Publication date
CN114968003A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN107785021B (en) Voice input method, device, computer equipment and medium
US8990909B2 (en) Out-of-band challenge question authentication
CN114006718A (en) Verification code obtaining method, device and terminal
WO2021055097A1 (en) Systems and methods of establishing secure passwords using real-time dynamic feedback.
US20180285843A1 (en) Electronic system and method for atm cash withdrawals
CN109936621B (en) Information security multi-page message pushing method, device, equipment and storage medium
RU2610584C2 (en) Electronic message processing method and server used therein
EP3506073A1 (en) Information input method and apparatus
US10511594B2 (en) Verification information processing method and device
CN109542289B (en) MES operation method, device, equipment and storage medium
US11093265B1 (en) User interface modality switching for transaction management
CN110703977A (en) H5 webpage input keyboard implementation method, device, equipment and storage medium
US20230409827A1 (en) Utilizing natural language processing to automatically perform multi-factor authentication
CN105843495A (en) Method and device for processing pushed message
CN115048177A (en) Dynamic configuration method for completing business scene based on custom container
CN114968003B (en) Verification code input method and device
US11538041B1 (en) Secondary financial session monitoring across multiple access channels
JP6838108B2 (en) Confirmation code acquisition method and device, and terminal
CN112578953B (en) Display control method and device applied to terminal interface
CN108182355B (en) Login verification method, server and computer readable storage medium
CN110752933A (en) Verification code input method and device, electronic equipment and storage medium
US20150235023A1 (en) Presenting Service Processes
CN111931465B (en) Method and system for automatically generating user manual based on user operation
CN108959901B (en) Verification code prompting method based on picture carousel
US10891024B2 (en) Hierarchical user interface

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