Method and apparatus for processing verification code, device, and storage medium
By introducing a CAPTCHA recognition control into the verification page, the CAPTCHA can be automatically recognized and entered, solving the problem of users making mistakes when manually entering CAPTCHAs and improving the efficiency and user experience of CAPTCHA verification.
Patent Information
- Application Number
- PCT/CN2025/098663
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-05
- Filing Date
- 2025-05-30
- Publication Date
- 2025-12-11
AI Technical Summary
In existing technologies, users are prone to making mistakes and the process is cumbersome when entering verification codes, which affects the efficiency of verification and user experience.
A method for processing CAPTCHAs is provided. By presenting a verification page including a first input box and a CAPTCHA recognition control, the user can trigger the CAPTCHA recognition control to identify the target CAPTCHA from the verification information and automatically display it in the input box, eliminating the need for manual input.
It reduces the difficulty of operation for users, avoids errors in CAPTCHA input, and improves the efficiency of CAPTCHA verification and user experience.
Smart Images

Figure CN2025098663_11122025_PF_FP_ABST
Abstract
Description
Method, device, equipment and storage medium for verification code processing
[0001] The present application claims priority to the Chinese patent application No. 202410726193.2, filed on June 5, 2024, entitled “Method, device, equipment and storage medium for verification code processing”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, device, equipment and computer readable storage medium for verification code processing. BACKGROUND
[0003] With the development of computer and Internet technology, the application of verification code is also becoming more and more common. For example, using verification code for authentication, using verification code to prevent misoperation, using verification code to prevent batch processing, using verification code to prevent brute force cracking, etc.
[0004] In the conventional technology, the verification code is usually sent to the terminal device through short message, email or notification information, etc. The user usually needs to record the verification code, and then manually input the verification code, which is easy to make input error of the verification code. SUMMARY
[0005] In a first aspect of the present disclosure, a method for verification code processing is provided. The method comprises: presenting a verification page in response to receiving a verification request for a verification code, the verification page comprising a first input box for inputting the verification code and at least one verification code recognition control; obtaining verification information containing the verification code through the triggered verification code recognition control in response to receiving a trigger operation of a verification code recognition control in the at least one verification code recognition control; identifying a target verification code from the verification information; and presenting the identified target verification code in the first input box.
[0006] In a second aspect of the present disclosure, a device for verification code processing is provided. The device comprises: a verification page presenting module configured to present a verification page in response to receiving a verification request for a verification code, the verification page comprising a first input box for inputting the verification code and at least one verification code recognition control; an obtaining module configured to obtain verification information containing the verification code through the triggered verification code recognition control in response to receiving a trigger operation of a verification code recognition control in the at least one verification code recognition control; an identifying module configured to identify a target verification code from the verification information; and a verification code presenting module configured to present the identified target verification code in the first input box.
[0007] In a third aspect of the disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. The instructions, when executed by the at least one processor, cause the electronic device to perform the method of the first aspect.
[0008] In a fourth aspect of the disclosure, a computer-readable storage medium is provided. The medium has stored thereon computer-executable instructions that, when executed by a processor, implement the method of the first aspect.
[0009] In a fifth aspect of the disclosure, a computer program product is provided, comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to the first aspect of the disclosure.
[0010] It should be understood that all statements herein made regarding the examples described in this section are intended to be illustrative of the key and important features of the embodiments of the present disclosure and it is not intended that the disclosure be limited to such features. Other features of the disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0011] The above-mentioned and other features and advantages of various embodiments of the present disclosure will become more apparent by reference to the following detailed description taken in conjunction with the accompanying drawings. In the drawings, like reference numerals denote like elements, wherein:
[0012] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0013] FIG. 2 shows a flowchart of a process for verification code processing according to some embodiments of the present disclosure;
[0014] FIGS. 3A-3F show schematic diagrams of example pages according to some embodiments of the present disclosure;
[0015] FIGS. 4A-4C show schematic diagrams of example pages according to some other embodiments of the present disclosure;
[0016] FIG. 5 shows a schematic structural block diagram of an apparatus for verification code processing according to some embodiments of the present disclosure; and
[0017] FIG. 6 shows a block diagram of an electronic device that can implement one or more embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It is understood that the drawings and embodiments of the present disclosure are for exemplary purposes only and are not intended to limit the scope of protection of the present disclosure.
[0019] In the description of embodiments of the present disclosure, the term "comprising" and its conjugations should be understood to encompass the meaning of "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions can also be included below.
[0020] In this document, unless explicitly stated, performing a step "in response to A" does not mean performing the step immediately after A, but can include one or more intermediate steps.
[0021] It can be understood that the data involved in the technical solutions of the present disclosure (including but not limited to the data itself, the obtaining, use, storage or deletion of the data) should comply with the requirements of relevant laws and regulations and relevant provisions.
[0022] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the type of information involved in the present disclosure, the scope of use, the use scenario, etc. should be informed to the relevant user and the authorization of the relevant user should be obtained by appropriate means, wherein the relevant user can include any type of right subject, such as an individual, an enterprise or a group.
[0023] For example, in response to receiving the active request of the user, a prompt information is sent to the relevant user to explicitly prompt the relevant user that the operation requested to be performed will require the information of the relevant user to be obtained and used, so that the relevant user can voluntarily choose whether to provide the information to the software or hardware such as electronic device, application program, server or storage medium, etc. performing the operation of the technical solutions of the present disclosure according to the prompt information.
[0024] As an optional but non-limiting implementation manner, in response to receiving the active request of the relevant user, the prompt information can be sent to the relevant user in the form of a pop-up window, and the prompt information can be presented in the form of text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to select "agree" or "disagree" to provide information to the electronic device.
[0025] It can be understood that the above notification and obtaining user authorization process is only illustrative, and does not limit the implementation of the present disclosure, and other ways that meet the relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0026] FIG. 1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In the example environment 100, a terminal device 110 has an application 120 installed therein. A user 140 can interact with the application 120 via the terminal device 110 and / or an attached device of the terminal device 110.
[0027] In embodiments of the present disclosure, the application 120 can be any suitable application associated with a verification operation of a verification code. For example, the application 120 can be an application for user login, or an application browsed or operated by the user 140. In the environment 100 of FIG. 1, if the application 120 is in an active state, the terminal device 110 can present a page 150 of the application 120. The page 150 can include various types of pages that can be provided by the application 120, such as a page for verifying a verification code, a page for presenting a verification code, and the like.
[0028] In some embodiments, the terminal device 110 communicates with a server 130 to implement the provision of services of the application 120. The terminal device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media player, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface to the user (such as "wearable" circuitry, etc.). The server 130 can be various types of computing systems / servers capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in a cloud environment, and the like.
[0029] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0030] Conventionally, a verification operation of a verification code is required in many scenarios. For example, when a user logs in, the user can be authenticated by a verification code, and after the authentication is passed, a page containing personal information of the user is presented. Also for example, a verification code can be used to prevent misoperation, or a verification code can be used to prevent batch processing, or a verification code can be used to prevent brute force attacks, and the like.
[0031] Traditionally, when a verification operation of a verification code is needed, the verification code is sent to a terminal device through a short message, an email or a notification message. The user usually needs to record the verification code and then manually input the verification code. This not only is cumbersome, but also is prone to input errors. For example, in a case where the verification code is sent through a short message and needs to be input into a page of an application, the user needs to switch to a page presenting the short message to view the verification code, and then needs to switch to the page of the application to input the verification code. If the verification code is input incorrectly or the user fails to remember the complete verification code, the page switching needs to be repeated. This not only affects the efficiency of the verification operation of the verification code, but also affects the user experience of using the application.
[0032] According to an embodiment of the present disclosure, an improved solution for verification code processing is provided. According to the solution of the embodiment of the present disclosure, in response to receiving a verification request for a verification code, a verification page is presented, the verification page including a first input box for inputting the verification code and at least one verification code recognition control; in response to receiving a triggering operation of a verification code recognition control in the at least one verification code recognition control, verification information containing the verification code is obtained through the triggered verification code recognition control; a target verification code is identified from the verification information; and the identified target verification code is presented in the first input box.
[0033] In this way, in the scenario of inputting the verification code, the problem that the user manually inputting the verification code is prone to errors and cumbersome is solved. Through the solution, the verification page including the first input box and the verification code recognition control can be presented, the user can trigger any verification recognition control, the target verification code is identified from the verification information through the verification recognition control, and the target verification code is presented in the first input box. This saves the process of the user manually inputting the verification code, can reduce the difficulty of the user operation, and can avoid input errors of the verification code.
[0034] Some example embodiments of the present disclosure will be described below with continued reference to the drawings. FIG. 2 illustrates a flowchart of a process 200 for verification code processing according to some embodiments of the present disclosure. In describing the process 200, examples shown in FIGS. 3A to 4C will be used to help understanding. FIGS. 3A to 4C show schematic diagrams of example pages 300A to 400C (which can also be referred to simply as examples 300A to 400C) according to some embodiments of the present disclosure. It should be understood that the pages shown in the drawings are merely examples, and various page designs can actually exist. Various graphical elements in the pages can have different arrangements and different visual representations, one or more of which can be omitted or replaced, and one or more other elements can also exist. The embodiments of the present disclosure are not limited in this respect.
[0035] The pages shown in Examples 300A-400C can be presented at terminal device 110 or at terminal device 120. For ease of discussion, process 200 will be described with reference to environment 100 of FIG. 1 and explained in conjunction with Examples 300A-400C. It is noted that the operations performed by terminal device 110 described above and the operations performed by terminal device 110 described below can be performed by an application (e.g., application 120) installed on terminal device 110. In some embodiments, the operations performed on the electronic device can be performed with the assistance of server 130.
[0036] At block 210 of process 200, terminal device 110 can present a verification page in response to receiving a verification request for a verification code. The verification page may, for example, include a first input box for inputting the verification code and at least one verification code identification control.
[0037] With respect to the receiving process of the verification request for the verification code, the receiving process can vary depending on the application scenario of the verification code. Illustratively, as shown in FIG. 3A, Example 300A shows an example of a user login page. Example 300A includes an account input box 301 and an account confirmation control 302. Terminal device 110 can present a login account in account input box 301 in response to an input operation of user 140 via an input device (e.g., a keyboard, a touch screen, a handwriting board, etc.). Terminal device 110 can send a login request to server 130 in response to a triggering operation of account confirmation control 302. Server 130 can send a verification request for a verification code to terminal device 110 in response to the login request. Server 130 can also send verification information including the verification code to terminal device 110 or another terminal device based on the login account. Terminal device 110 can present a verification page in response to the verification request.
[0038] Illustratively, terminal device 110 can display a specific operation page (e.g., a shopping page, a transfer page, a recharge page, etc.) of application 120 in response to an operation of user 140. To prevent user 140 from triggering a specific operation (e.g., shopping, transferring, recharging, etc.) by mistake on the specific operation page, terminal device 110 can obtain a verification request for a verification code in response to triggering the specific operation on the specific operation page and present a verification page.
[0039] It is understood that the verification code can be applied to various scenarios, and is not limited to the two scenarios described above. When the verification code is applied to different scenarios, the receiving process of the verification request for the verification code can not be the same, which will not be described herein.
[0040] As to the page design of the verification page, the first input box can be any appropriate input box. Optionally, the first input box can be a rectangular input box in which a plurality of verification code digits can be input. Optionally, the first input box can include a plurality of boxes in a number same as that of the verification code digits, and the plurality of boxes can be regularly arranged on the verification page. For example, as shown in FIG. 3B, example 300B shows an example of a verification page. Example 300B includes a first input box 310 for inputting a verification code. The first input box 310 includes six boxes, each of which can be filled with one verification symbol, and the six boxes can be filled with a total of six verification symbols, which together form the verification code. The verification code recognition control herein can be any appropriate control, including but not limited to an input box, an option, an operation control, and the like.
[0041] In block 220 of process 200, the terminal device 110 acquires verification information containing a verification code through a triggered verification code recognition control in response to receiving a triggering operation of the verification code recognition control in the at least one verification code recognition control. The verification information herein can include verification information of various data types (for example, text, pictures, audio, and the like).
[0042] In some embodiments, the verification page can include one verification code recognition control. The terminal device 110 can present a verification information selection page in response to a triggering operation of the verification code recognition control. The verification information selection page can also include a plurality of data type selection controls corresponding one-to-one to verification information of different data types. The terminal device 110 can acquire verification information of a corresponding type through a triggered data type selection control in response to a triggering operation of any one of the plurality of data type selection controls.
[0043] In some embodiments, the verification page can include a plurality of verification code recognition controls, which can be used to acquire verification information of different data types. The terminal device 110 can acquire verification information of a corresponding type through a triggered verification code recognition control in response to a triggering operation of any one of the plurality of verification code recognition controls. In this way, the user 140 can directly trigger the corresponding verification code recognition control on the verification page according to the data type of the verification information.
[0044] In some embodiments, the at least one verification code recognition control can include a first verification code recognition control, and the terminal device 110 can acquire verification text containing a verification code through the first verification code recognition control in response to receiving a triggering operation of the first verification code recognition control. The verification text herein can have multiple forms, and the specific type of the verification text is not limited herein.
[0045] For example, as shown in FIG. 3B, the example 300B includes a first verification code recognition control (e.g., the verification code recognition control 320). In a case where the terminal device 110 receives the verification information containing the verification text, the terminal device 110 can receive a copy request for the verification text in response to the operation of the user 140, and add the verification text to the system clipboard. Then, the user 140 can trigger the verification code recognition control 320 via the terminal device 110 or an attached device of the terminal device 110. The terminal device 110 can acquire the verification text located in the system clipboard by using the verification code recognition control 320 in response to the triggering operation of the verification code recognition control 320.
[0046] For example, the terminal device 110 can also present at least one text type selection control in response to receiving the triggering operation of the first verification code recognition control. The terminal device 110 can acquire the verification text of a corresponding type by using the selected text type selection control in response to the selection operation on any one of the at least one text type selection control.
[0047] In some embodiments, the first verification code recognition control includes a paste recognition control and a second input box. The terminal device 110 can present the verification text in the second input box in response to receiving the triggering operation of the paste recognition control. In this way, the user can intuitively feel the pasting process of the verification text, and the user experience can be improved.
[0048] For example, as shown in FIG. 3B, the verification code recognition control 320 can include a second input box (i.e., the input box 321) and a paste recognition control (i.e., the control 322). The terminal device 110 can determine that the triggering operation of the control 322 is received in response to receiving the clicking operation on the control 322 presented in the verification page. The terminal device 110 can acquire the verification text 323 from the system clipboard and present the verification text 323 in the input 321 in response to the triggering operation of the control 322, as shown in FIG. 3C.
[0049] It can be understood that the first verification code recognition control can also adopt other design schemes or layout manners. For example, the first verification code recognition control can include a paste input control. The terminal device 110 can acquire the verification text from the system clipboard and present at least part of the verification text in the area of the paste input control in response to receiving the clicking operation on the paste input control.
[0050] In some embodiments, the at least one verification code recognition control includes a second verification code recognition control. The terminal device 110 can acquire the verification image containing the verification code by using the second verification code recognition control in response to receiving the triggering operation of the second verification code recognition control. The verification image here can include various types of images as long as it contains the verification code, and the type of the verification image is not limited here.
[0051] For example, as shown in FIG. 3B, the second verification code recognition control (e.g., the verification code recognition control 330) is included in the example 300B. The terminal device 110 can receive a verification image containing a verification code from the server 130 or other electronic devices. The terminal device 110 can also receive a verification text containing a verification code from the server 130 or other electronic devices. The terminal device 110 can obtain a verification image containing a verification code in response to a photographing or screenshot operation on a page presenting the verification text. The terminal device 110 can obtain a verification image using the verification recognition control 330 in response to a triggering operation of the verification recognition control 330.
[0052] In some embodiments, the terminal device 110 can present at least one image acquisition control on the verification page in response to receiving a triggering operation of the second verification code recognition control. The terminal device 110 can obtain a verification image based on an image acquisition mode corresponding to the triggered image acquisition control in response to receiving a triggering operation of any one of the at least one image acquisition control. In this way, multiple selectable image acquisition methods can be provided for the user, which is conducive to improving the user experience.
[0053] For example, as shown in FIG. 3B and FIG. 3D, the terminal device 110 can present the image acquisition control 331, the image acquisition control 332, and the image acquisition control 333 on the verification page in response to a click operation on the verification code recognition control 330 in the example 300B. The image acquisition control 331 is used to trigger the camera to obtain a verification image by photographing through the camera. The image acquisition control 332 is used to switch to a photo album page to select a verification image from the photo album. The image acquisition control 333 is used to switch to an application interface to obtain a verification image from the application interface.
[0054] In some application scenarios, the server 130 can send verification information to other terminal devices. The terminal device 110 can start the camera in response to a triggering operation of the image acquisition control 331, and obtain a photo containing a verification code by photographing a display page of the verification information of the other terminal device through the camera.
[0055] In other application scenarios, if the terminal device 110 has saved a verification image containing a verification code in the photo album, the user 140 can click the image acquisition control 332. The terminal device 110 can switch to a photo album page in response to receiving a click operation of the image acquisition control 332. The user 140 can click a verification image containing a verification code in the photo album page. The terminal device 110 can obtain a corresponding verification image in response to receiving a selection operation of any one of the verification images.
[0056] In one application scenario, the terminal device 110 can receive the verification image from the server 130 or other electronic device through an application program. The user can click the image acquisition control 333, and the terminal device 110 can switch to an application selection interface in response to receiving the click operation of the image acquisition control 333. The application selection interface can include at least one application icon. The terminal device 110 can present a corresponding application interface in response to a selection operation on any one of the application icons in the application selection interface. The terminal device 110 can obtain the image as the verification image in response to a selection operation on any one of the images in the application interface.
[0057] In block 230 in the process 200, the terminal device 110 can identify the target verification code from the verification information. In some embodiments, if the verification page presents multiple verification code identification controls, the terminal device 110 can identify the target verification code from the verification information of the corresponding type based on the identification mode corresponding to the triggered verification code identification control.
[0058] For example, as shown in FIG. 3C, the terminal device 110 can present the verification text 323 in the second input box 321 in response to receiving the triggering operation of the paste identification control 322. The terminal device 110 can identify the target verification code from the verification text 323 in the second input box 321 based on the text identification mode in response to the verification text 323 being presented in the second input box 321.
[0059] For example, as shown in FIG. 3E, the terminal device 110 can obtain the verification image through the verification code identification control 330 in response to receiving the triggering operation of the verification code identification control 330. The terminal device 110 can display the image identifier 334 (for example, the image name of the verification image or at least part of the verification image) of the verification image in the area where the verification code identification control 330 is located in response to obtaining the verification image. The terminal device 110 can also identify the target verification code from the verification image based on the image identification mode in response to obtaining the verification image. For example, the terminal device 110 can identify the text content from the verification image based on the image identification algorithm, and then identify the target verification code from the text content.
[0060] In some embodiments, the terminal device 110 can identify the target verification code from the verification information based on a preset rule. For example, the terminal device 110 can identify the target verification code from the verification information based on a regular expression method or a keyword identification method.
[0061] In block 240 of process 200, terminal device 110 can present the identified target verification code in the first input box. In this way, the user can intuitively observe that the verification code has been successfully acquired, so that the user can intuitively experience the identification process of automatic identification of the verification code, which is conducive to improving the user experience. The target verification code here can include various forms of verification codes, for example, the target verification code can include at least one of numbers, letters, punctuation marks, mathematical characters, etc.
[0062] For example, as shown in FIG. 3C, in response to identifying the target verification code 311 from the verification text in the second input box 321, the terminal device 110 can present the six verification symbols of the target verification code 311 in the six boxes of the first input box 310 in sequence.
[0063] For example, as shown in FIG. 3E, in response to identifying the target verification code 311 from the verification image, the terminal device 110 can also present the six verification symbols of the target verification code 311 in the six boxes of the first input box 311 in sequence.
[0064] In some embodiments, the terminal device 110 can also trigger the verification operation for the target verification code in response to the first input box acquiring the target verification code meeting the target condition. In this way, it is conducive to simplifying the verification process of the verification code, and thus it is conducive to improving the user experience. The target verification code meeting the target condition here can include a verification code meeting a target bit number, and can also include a verification code meeting a target format.
[0065] For example, as shown in FIGS. 3C and 3F, in response to identifying the target verification code 311 from the verification text 323 in the second input box 321, the terminal device 110 can present the target verification code 311 in the first input box 310. In response to the first input box 310 acquiring the target verification code 311 meeting the target condition, the terminal device 110 can trigger the verification operation for the target verification code 311. The terminal device 110 can also present a verification waiting identifier 340 on the verification page, so that the user knows that the terminal device 110 is performing the verification operation of the target verification code 311, and avoids the verification operation of the target verification code 311 being interrupted due to a misoperation.
[0066] It can be understood that the verification page can also be provided with a verification code confirmation control. In the case that the terminal device 110 acquires the target verification code meeting the target condition in the first input box and receives a triggering operation of the verification code confirmation control, the terminal device 110 can trigger the verification operation for the target verification code.
[0067] In summary, according to the embodiments of the present disclosure, in the scenario of inputting the verification code, the problem that the user manually inputting the verification code is prone to error and cumbersome operation is solved. Through the scheme, the verification page including the first input box and the verification code recognition control can be presented, the user can trigger the verification recognition control, identify the target verification code from the verification information through the verification recognition control, and present the target verification code in the first input box. This saves the process of manually inputting the verification code by the user, can reduce the operation difficulty of the user, and can avoid inputting the verification code incorrectly. In addition, in some embodiments, the verification operation on the target verification code can also be automatically triggered in response to the target verification code being input into the first input box, further simplifying the operation of the user.
[0068] In the embodiments of the present disclosure, the verification information includes a verification link, and the target verification code is included in the verification link. The terminal device 110 can identify the target verification code from the verification link in response to receiving the triggering operation on the verification link, and trigger the verification operation on the target verification code. In this way, in the scenario of verifying the verification code, the problem that the user manually inputting the verification code is prone to error and cumbersome operation is also solved. The verification link here can include various links (such as URL links, web page links, etc.) that can carry the verification code. The target verification code here can include various forms of verification codes, for example, the target verification code can include at least one of numbers, characters, punctuation marks, and mathematical characters. The target verification code here can be encoded in the target link in various ways conforming to the protocol of the verification link. For example, the target verification code can be part of the URL link, or the target verification code can be added to the header information of the HTTP request.
[0069] For example, as shown in FIG. 4A, example 400A shows one example of a display page of verification information. Example 400A includes verification information 401, and the verification information 401 includes a verification link 402, and the verification link 402 includes a target verification code 403. The terminal device 110 can identify the target verification code 403 from the verification link 402 in response to receiving the triggering operation on the verification link 402, and trigger the verification operation on the target verification code 403.
[0070] In some embodiments, the terminal device 110 can present a verification page in response to receiving the triggering operation on the verification link. The verification page here includes at least a first input box. The terminal device 110 can identify the target verification code from the verification link and present the target verification code in the first input box. The terminal device 110 can also trigger the verification operation on the target verification code in response to the first input box obtaining the target verification code meeting the target condition. In this way, the user can intuitively experience the identification and input process of the verification code, which is beneficial to improve the user experience.
[0071] As shown in FIG. 4B, an example 400B shows an example of a verification page. The example 400B includes a first input box 410 for inputting a verification code, which can include six boxes. The terminal device 110 can present the six verification characters of the target verification code 403 in the six boxes in sequence in response to identifying the target verification code 403 from the verification link 402. The terminal device 110 can trigger a verification operation on the target verification code 403 in response to the target verification code 403 meeting the target condition, and present a verification waiting identifier 440 on the verification page. Optionally, the verification page can further include a verification code identification control 420 and a verification code identification control 430 for obtaining verification information and identifying the target verification code from the verification information.
[0072] It should be noted that the terminal device 110, in response to receiving a triggering operation on the verification link, is not limited to presenting a verification page, but can also present a verification waiting page, or a verification pass page or a verification fail page. As shown in FIG. 4C, an example 400C shows an example of a verification waiting page, which can include a verification waiting identifier 450.
[0073] Embodiments of the present disclosure also provide a corresponding device for implementing the above method or process. FIG. 5 shows a schematic structural block diagram of a device 500 for verification code processing according to certain embodiments of the present disclosure. The device 500 can be implemented as or included in the terminal device 110. Various modules / components in the device 500 can be implemented by hardware, software, firmware, or any combination thereof.
[0074] As shown in FIG. 5, the device 500 includes a verification page presentation module 510, an obtaining module 520, an identifying module 530, and a verification code presentation module 540. The verification page presentation module 510 is configured to present a verification page in response to receiving a verification request for a verification code, the verification page including a first input box for inputting a verification code and at least one verification code identification control. The obtaining module 520 is configured to obtain verification information containing a verification code through a triggered verification code identification control in response to receiving a triggering operation on the verification code identification control in the at least one verification code identification control. The identifying module 530 is configured to identify a target verification code from the verification information. The verification code presentation module 540 is configured to present the identified target verification code in the first input box.
[0075] In some embodiments, the at least one verification identification control includes a plurality of verification identification controls. The obtaining module 520 is further configured to obtain verification information of a corresponding type through the triggered verification code identification control. The identifying module 530 is further configured to identify the target verification code from the verification information of the corresponding type based on an identification mode corresponding to the triggered verification code identification control.
[0076] In some embodiments, the at least one verification code recognition control includes a first verification code recognition control. The obtaining module 520 is further configured to: in response to receiving a triggering operation of the first verification code recognition control, obtain the verification text containing the verification code through the first verification code recognition control.
[0077] In some embodiments, the first verification code recognition control includes a paste recognition control and a second input box. The obtaining module 520 is further configured to: in response to receiving a triggering operation of the paste recognition control, present the verification text in the second input box.
[0078] In some embodiments, the at least one verification code recognition control includes a second verification code recognition control. The obtaining module 520 is further configured to: in response to receiving a triggering operation of the second verification code recognition control, obtain the verification image containing the verification code through the second verification code recognition control.
[0079] In some embodiments, the obtaining module 520 is further configured to: in response to receiving the triggering operation of the second verification code recognition control, present at least one image obtaining control on the verification page; in response to receiving a triggering operation of an image obtaining control in the at least one image obtaining control, obtain the verification image based on an image obtaining mode corresponding to the triggered image obtaining control.
[0080] In some embodiments, the apparatus 500 further includes a triggering module configured to: in response to the first input box obtaining a target verification code meeting a target condition, trigger a verification operation for the target verification code.
[0081] In some embodiments, the verification information includes a verification link containing the target verification code; the apparatus 500 further includes a link response module configured to: in response to receiving a triggering operation of the verification link, identify the target verification code from the verification link; and trigger the verification operation for the target verification code.
[0082] In some embodiments, the link response module is further configured to: in response to receiving the triggering operation of the verification link, present a verification page including at least the first input box; identify the target verification code from the verification link; and present the target verification code in the first input box.
[0083] The units and / or modules included in the apparatus 500 can be implemented utilizing various means including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, e.g., machine-executable instructions stored on a storage medium. In addition to or alternatively, some or all of the units and / or modules in the apparatus 500 can be implemented at least partially by one or more hardware logic components. As an example and not by way of limitation, example types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SOCs), complex programmable logic devices (CPLDs), etc.
[0084] It should be understood that one or more steps in the above methods can be performed by an appropriate electronic device or combination of electronic devices. Such an electronic device or combination of electronic devices may, for example, include the terminal device 110 in FIG. 1.
[0085] FIG. 6 illustrates a block diagram of an electronic device 600 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 600 illustrated in FIG. 6 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 600 illustrated in FIG. 6 can be used to implement the terminal device 110 of FIG. 1 or the apparatus 500 of FIG. 5.
[0086] As shown in FIG. 6, the electronic device 600 is in the form of a general electronic device. Components of the electronic device 600 can include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processor 610 can be a real or virtual processor and is capable of performing various processing according to programs stored in the memory 620. In a multi-processor system, multiple processors perform computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 600.
[0087] The electronic device 600 typically includes a plurality of computer storage media. Such media can be any available media that is located either internally or externally to the electronic device 600, including, but not limited to, memory, removable storage, and non-removable storage. The memory 620 can be volatile (such as, for example, registers, cache, RAM), non-volatile (such as, for example, ROM, EEPROM, flash memory), or some combination of the two. The storage 630 can be removable or non-removable media, and can include machine- readable media, such as flash drives, disk drives, or any other media that can be used to store information and / or data and that can be accessed by the electronic device 600.
[0088] The electronic device 600 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, a disk drive for reading from or writing to a removable, non- volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 620 can include a computer program product 625 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0089] The communication unit 640 enables communications with other electronic devices over a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating with one another over a communication connection. As such, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in the networking environment.
[0090] The input device 650 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 660 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc. through the communication unit 640, as needed, one or more devices that enable a user to interact with the electronic device 600, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 600 to communicate with one or more other electronic devices. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0091] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0092] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0093] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0094] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0095] The computer program product of the present disclosure can have a signal including said computer program. This signal can be electronic, electromagnetic, optical, or any other suitable type of signal. Such a signal can be provided through a communication connection, such as electrical wiring, optical fiber, wireless interface, etc. Examples of computer program products include computer program implemented on a personal computer, server, or other networked device. A non-transitory computer readable medium, such as a floppy disk, CD-ROM, DVD-ROM, Blu-ray Disc, hard disk, or memory stick, can also be used to implement the present disclosure. The computer program product of the present disclosure can also be provided as a service to download and use the computer program over a network, such as the Internet.
[0096] The implementations of the disclosure have been described above with the intent to be illustrative rather than limiting. Although the implementations of the disclosure have been described with regard to one or more implementations, numerous modifications and changes can be made to the implementations of the disclosure by those skilled in the art without departing from the scope and spirit of the implementations. For example, the implementations of the disclosure can be used in a variety of different applications and environments and are not limited to the specific examples described above. It is therefore intended that the disclosure not be limited to the described implementations, but that the full scope of the implementations should be determined by reference to the appended claims.
Claims
1. A method for verification code processing, comprising: presenting a verification page in response to receiving a verification request for a verification code, the verification page comprising a first input box for inputting a verification code and at least one verification code recognition control; acquiring verification information containing a verification code through a triggered verification code recognition control in response to receiving a triggering operation of a verification code recognition control in the at least one verification code recognition control; identifying a target verification code from the verification information; and presenting the identified target verification code in the first input box. The at least one verification recognition control comprises a plurality of verification recognition controls; 2. The method of claim 1, wherein, wherein acquiring verification information containing a verification code through a triggered verification code recognition control comprises: acquiring verification information of a corresponding type through the triggered verification code recognition control; wherein identifying a target verification code from the verification information comprises: identifying the target verification code from the verification information of the corresponding type based on an identification mode corresponding to the triggered verification code recognition control. The at least one verification code recognition control comprises a first verification code recognition control; 3. The method of claim 1, wherein, acquiring verification information containing a verification code through a triggered verification code recognition control in response to receiving a triggering operation of a verification code recognition control in the at least one verification code recognition control comprises: acquiring verification text containing a verification code through the first verification code recognition control in response to receiving a triggering operation of the first verification code recognition control. The first verification code recognition control comprises a paste recognition control and a second input box; 4. The method of claim 3, wherein, acquiring verification text containing a verification code through the first verification code recognition control in response to receiving a triggering operation of the first verification code recognition control comprises: presenting the verification text in the second input box in response to receiving a triggering operation of the paste recognition control. The at least one verification code recognition control comprises a second verification code recognition control; 5. The method of claim 1, wherein, acquiring verification information containing a verification code through a triggered verification code recognition control in response to receiving a triggering operation of a verification code recognition control in the at least one verification code recognition control comprises: acquiring a verification image containing a verification code through the second verification code recognition control in response to receiving a triggering operation of the second verification code recognition control. acquiring a verification image containing a verification code through the second verification code recognition control in response to receiving a triggering operation of the second verification code recognition control comprises:
6. The method of claim 5, wherein, presenting at least one image acquisition control on the verification page in response to receiving a triggering operation of the second verification code recognition control; acquiring the verification image based on an image acquisition mode corresponding to a triggered image acquisition control in response to receiving a triggering operation of the image acquisition control in the at least one image acquisition control.
7. The method of claim 1, further comprising: triggering a verification operation for the target verification code in response to the first input box acquiring the target verification code meeting a target condition. The verification information comprises a verification link containing a target verification code; wherein the method further comprises:
8. The method of claim 1, wherein, in response to receiving the trigger operation for the verification link, identifying the target verification code from the verification link; triggering a verification operation for the target verification code.
9. The method of claim 8, wherein, in response to receiving the trigger operation for the verification link, identifying the target verification code from the verification link, comprises: in response to receiving the trigger operation for the verification link, presenting a verification page, the verification page comprising at least a first input box; identifying the target verification code from the verification link; presenting the target verification code in the first input box. 10.An apparatus for verification code processing, comprising: a verification page presenting module configured to, in response to receiving a verification request for a verification code, present a verification page, the verification page comprising a first input box for inputting the verification code and at least one verification code identifying control; an obtaining module configured to, in response to receiving a trigger operation of a verification code identifying control in the at least one verification code identifying control, obtain verification information containing a verification code through the triggered verification code identifying control; an identifying module configured to identify a target verification code from the verification information; and a verification code presenting module configured to present the identified target verification code in the first input box. 11.An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, causing the electronic device to perform the method according to any one of claims 1 to 9. 12.A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being executable by a processor to implement the method according to any one of claims 1 to 9. 13.A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for testing by utilizing verification code, electronic equipment and storage medium
CN110532186A
Verification code processing method and device, electronic equipment and storage medium
CN111966432A
Verification method and device of graphic verification code, equipment and storage medium
CN115378606A
Verification code input method and device, terminal equipment and storage medium
CN117349806A
Faucet with gesture sensor
KR1020240007002A