Verification code generation method and device

A verification code and generation module technology, applied in the field of verification code generation, can solve problems such as security problems, and achieve the effect of solving security problems without affecting legibility

Active Publication Date: 2020-07-28
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiments of the present invention provide a method and device for generating verification codes, which can solve the security problems existing in the prior art using common adversarial samples, and further achieve a technology that does not affect user legibility and improves accuracy. Effect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Verification code generation method and device
  • Verification code generation method and device
  • Verification code generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064]Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0065] figure 1 is a schematic diagram of the main flow of the method for generating a verification code according to an embodiment of the present invention, such as figure 1 As shown, a method for generating a verification code is provided, including:

[0066] Step S101, acquiring a target character set for generating a verification code;

[0067] Step S102, generating ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a verification code generation method and device, and relates to the technical field of computers. A specific embodiment of the method comprises: obtaining a target character set used for generating a verification code; for each character in the target character set, generating a sub-adversarial sample; and combining the sub-adversarial samples corresponding to the characters in the target character set to generate a verification code. According to the embodiment, the security problem existing in the prior art due to the adoption of universal adversarial samples is solved, so that the technical effects of not influencing the readability of the user and improving the security of the verification code can be achieved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for generating verification codes. Background technique [0002] The full name of the verification code is "Completely Automated Public Turing test to tell Computers and Humans Apart" (CAPTCHA), which is a fully automatic Turing test to tell computers and humans apart. The verification code is used to distinguish whether the user is a computer or a human, which can prevent malicious cracking of passwords, malicious registration, repeated refreshing of orders, etc. Captcha designs are generated by computers, but only humans must be able to solve them. The prior art generally uses the following methods to generate verification codes based on text, images, or other forms. [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] 1. The generated verification code ma...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/36G06F21/46G06T11/60
CPCG06F21/36G06F21/46G06T11/60
Inventor 易津锋陈景辉
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products