Methods and apparatuses for establishing verification code generation model and generating verification code

A technology for generating models and verification codes, which is applied in the field of machine learning, can solve problems such as low generation efficiency and cumbersome steps, and achieve the effect of simplifying generation steps and improving generation efficiency

Inactive Publication Date: 2018-11-06
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the prior art, the steps of generating a verification code with high security are relatively cumbersome, and the generation efficiency is low

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
  • Methods and apparatuses for establishing verification code generation model and generating verification code
  • Methods and apparatuses for establishing verification code generation model and generating verification code
  • Methods and apparatuses for establishing verification code generation model and generating verification code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0027] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0028] It should be understood that the term "and / or" used herein is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and / or B, which may mean that A exists alone, and A and B exist simultaneously. B, there are three situations of B alone. In addition, the character " / " in this articl...

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 present invention provides a method for establishing a verification code generation model. The method for establishing a verification code generation model comprises: acquiring a verification codeof a preset type; acquiring a constraint information set and establishing a correspondence between each constraint information in the constraint information set and each verification code; constructing a generation against network containing a generation model and a discriminant model; and according to the acquired verification code and the constraint information corresponding to the verificationcode, training the generation against network, and using the generation model of the trained generation against network to obtain the verification code generation model. The present invention also provides a method for generating a verification code. The method for generating a verification code comprises: sampling constraint information from a preset constraint information set; and inputting a p-dimensional random variable and the sampled constraint information into a trained verification code generation model, and using an output result of the verification code generation model to obtain the verification code corresponding to the sampled constraint information. According to the technical scheme of the present invention, the steps for generating the verification code can be simplified, and the generation efficiency of the verification code can be improved.

Description

【Technical field】 [0001] The invention relates to the technical field of machine learning, in particular to a method and device for establishing a verification code generation model and generating verification codes. 【Background technique】 [0002] At present, the forms of verification codes mainly include the following types: numbers, letters, Chinese characters, images, and static or dynamic combinations of the above elements. Moreover, the strategies for generating verification codes in existing technologies are roughly similar. Taking image verification code generation as an example, the process can be summarized as follows: define a preset character set; generate a random number, and match the character corresponding to the random number from the preset character set; Repeat the above steps for the length of the generated captcha; create a blank image, draw the image background; draw the generated string into the image to get the captcha. That is to say, the traditiona...

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
IPC IPC(8): G06F21/36G06N3/04G06N3/08
CPCG06F21/36G06N3/08G06N3/047
Inventor 杨华刘凡平陈相礼
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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