Captcha image generation method and apparatus, and server
US-2017170967-A1 · Jun 15, 2017 · US
US12493680B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12493680-B2 |
| Application number | US-202118252650-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 1, 2021 |
| Priority date | Nov 20, 2020 |
| Publication date | Dec 9, 2025 |
| Grant date | Dec 9, 2025 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Provided are a verification code processing method and apparatus, and a device and a storage medium. The method comprises: upon receiving a trigger operation for verification code display, firstly acquiring a verification code image and verification code input prompt information; and then displaying the verification code image and the verification code input prompt information for verification code input. In the embodiments of the present disclosure, since a verification code image comprises one or more verification codes, at least one verification code is divided into a plurality of areas, and at least two areas are different in color, the overall structure of the verification code is destroyed, thereby improving the OCR resistance performance of the verification code, and achieving the purpose of effectively intercepting malicious behavior.
Opening claim text (preview).
The invention claimed is: 1 . A method for verification code processing, comprising: acquiring a verification code image and verification code input prompt information in response to a triggering operation for verification code display; and displaying the verification code image and the verification code input prompt information; wherein the verification code image comprises one or more verification codes, each verification code on the verification code image is divided into a plurality of regions, and in each verification code all of the plurality of regions are in different colors, a color difference between at least one of the plurality of regions in the verification code and a background corresponding to the region conforms to a predetermined contrast; and the verification code input prompt information is used to prompt to input a specified verification code in the verification code image. 2 . The method according to claim 1 , wherein the verification codes on the verification code image at least comprise a first verification code and a second verification code, wherein, in the first verification code, pixels within a same region are continuous, and at least two regions are spaced by pixel interval; and in the second verification code, all regions have identical width or identical height, and adjacent regions are in different colors. 3 . The method according to claim 1 , wherein the verification code is in a form of character, and the verification code image comprises verification codes in at least two different fonts. 4 . A non-transitory computer-readable storage medium having instructions stored thereon, wherein the instructions, when being executed by a computer device, cause the computer device to perform the method according to claim 1 . 5 . The method according to claim 1 , wherein pixels within a same region of the verification code are continuous, and at least two regions of the verification code are spaced by pixel interval. 6 . The method according to claim 5 , wherein at least one verification code on the verification code image is in a form of a character; and character strokes within a same region of the verification code are continuous, and character strokes are discontinuous between at least two regions of the verification code. 7 . The method according to claim 1 , wherein a width or height direction of each of the plurality of regions in the verification code is parallel to an overall width or height direction of the verification code; or a width or height direction of each of the plurality of regions in the verification code is parallel to an overall width or height direction of the verification code image. 8 . The method according to claim 7 , wherein the plurality of regions in the verification code have identical width or identical height, and adjacent regions are in different colors. 9 . A method for verification code processing, comprising: receiving a triggering request for verification code display, and determining a verification code image and verification code input prompt information; wherein the verification code image comprises one or more verification codes, each verification code on the verification code image is divided into a plurality of regions, and in each verification code all of the plurality of regions are in different colors, a color difference between at least one of the plurality of regions in the verification code and a background corresponding to the region conforms to a predetermined contrast; and sending the verification code image and the verification code input prompt information in response to the triggering request; wherein the verification code input prompt information is used to prompt to input specified verification codes in the verification code image. 10 . The method according to claim 9 , wherein before determining the verification code image and the verification code input prompt information, the method further comprises: dividing the verification code into a plurality of regions; determining colors respectively corresponding to the plurality of regions, wherein at least two regions among the plurality of regions are in different colors; and drawing the verification code on a background image based on the colors respectively corresponding to the plurality of region, to obtain the verification code image with the verification code. 11 . The method according to claim 10 , wherein the verification code is in a form of a character, and dividing the verification code into the plurality of regions comprises: dividing the verification code into the plurality of regions based on continuity between character strokes, wherein character strokes are discontinuous between adjacent regions. 12 . A device comprising: a memory, a processor, and a computer program stored in the memory, wherein the processor, when executing the computer program, performs: acquiring a verification code image and verification code input prompt information in response to a triggering operation for verification code display; and displaying the verification code image and the verification code input prompt information; wherein the verification code image comprises one or more verification codes, each verification code on the verification code image is divided into a plurality of regions, and in each verification code all of the plurality of regions are in different colors, a color difference between at least one of the plurality of regions in the verification code and a background corresponding to the region conforms to a predetermined contrast; and the verification code input prompt information is used to prompt to input a specified verification code in the verification code image. 13 . The device according to claim 12 , wherein pixels within a same region of the verification code are continuous, and at least two regions of the verification code are spaced by pixel interval. 14 . The device according to claim 13 , wherein at least one verification code on the verification code image is in a form of a character; and character strokes within a same region of the verification code are continuous, and character strokes are discontinuous between at least two regions of the verification code. 15 . A device comprising: a memory, a processor, and a computer program stored in the memory, wherein the processor, when executing the computer program, performs: receiving a triggering request for verification code display, and determining a verification code image and verification code input prompt information; wherein the verification code image comprises one or more verification codes, each verification code on the verification code image is divided into a plurality of regions, and in each verification code all of the plurality of regions are in different colors, a color difference between at least one of the plurality of regions in the verification code and a background corresponding to the region conforms to a predetermined contrast; and sending the verification code image and the verification code input prompt information in response to the triggering request; wherein the verification code input prompt information is used to prompt to input specified verification codes in the verification code image. 16 . The device according to claim 15 , wherein the processor is further configured for: dividing the verification code into a plurality of regions; determining colors respectively corresponding to the plurality of regions, wherein at least two regions among the plurality of regions are in different colors; and drawing the
Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77) · CPC title
Verifying human interaction, e.g., Captcha · CPC title
by designing passwords or checking the strength of passwords · CPC title
by graphic or iconic representation · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.