WO2016206558A1 - 一种验证码生成验证的方法和装置 - Google Patents

一种验证码生成验证的方法和装置 Download PDF

Info

Publication number
WO2016206558A1
WO2016206558A1 PCT/CN2016/085936 CN2016085936W WO2016206558A1 WO 2016206558 A1 WO2016206558 A1 WO 2016206558A1 CN 2016085936 W CN2016085936 W CN 2016085936W WO 2016206558 A1 WO2016206558 A1 WO 2016206558A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
graphic
graphics
verification code
character
Prior art date
Application number
PCT/CN2016/085936
Other languages
English (en)
French (fr)
Inventor
陈磊
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016206558A1 publication Critical patent/WO2016206558A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for verification code generation verification.
  • One of the currently more secure verification codes is a combination of text and interference graphics.
  • the verification verification process of the above graphic verification code is as follows: randomly selecting text and interference graphics from the preset graphic character library, combining the selected text and the interference graphics to obtain a graphic text verification code; displaying a graphic text verification code; obtaining a native keyboard activation instruction Activate the native keyboard; get the text entered through the native keyboard and verify the input text.
  • the existing generated graphic verification code when there are many interference graphics, the interference is very large, the user is not easy to recognize the text in the verification code, and the time is wasted; and when the existing graphic verification code is verified, the native keyboard needs to be activated, and the text is input through the native keyboard.
  • the verification process is cumbersome.
  • the present invention provides a verification code generation verification method and device, which combines a preset graphic with a preset character graphic to obtain a gestalt verification code, which is convenient for the user to identify the verification code. Graphics can save time; and the user draws input by drawing the recognized graphics without the need to activate the native keyboard, and the verification process is simple and fast.
  • the present invention discloses a method for verification code generation verification, the method comprising:
  • the user draws the input graphic to verify according to the graphic contained in the gestalt verification code.
  • the preset canvas is a maximum boundary area of the set gestalt verification code in the terminal device.
  • the preset character graphics are set on an upper layer of the preset graphics, and when the preset graphics are superimposed, the preset character graphics and the preset graphics overlay area The size is less than or equal to the preset overlay threshold.
  • the gestalt verification code is displayed, and the graphic that the user draws the input by touch is obtained, including:
  • displaying the gestalt verification code, and obtaining a graphic that the user draws the input by touch including:
  • verifying according to the graphic included in the gestalt verification code, the graphic drawn by the user, including:
  • the verification fails when the user draws the input graphic without including all the graphics contained in the gestalt verification code.
  • the present invention also discloses an apparatus for verification code generation verification, the apparatus comprising:
  • a processing module configured to select a preset graphic from the preset graphic library, select a preset character graphic from the preset character graphic library, and combine the preset graphic with the preset character graphic to obtain Gestalt verification code;
  • An obtaining module configured to display the gestalt verification code, and obtain a graphic that the user draws the input by touch
  • a verification module configured to verify, according to the graphic included in the gestalt verification code, the graphic drawn by the user.
  • processing module includes:
  • a selecting unit configured to randomly select the preset graphics from the preset graphics library, and set each graphics in the preset graphics to a preset color preset size graphic;
  • a first setting unit configured to set the preset graphic in the preset canvas according to a rule that the pixels of each graphic do not touch an edge of the preset canvas, and each of the graphics does not overlap each other ;
  • a second setting unit configured to select the preset character graphic from the preset character graphic library, and set each character graphic in the preset character graphic to a character graphic with a preset color preset size;
  • a superimposing unit configured to set the preset character graphics on an upper layer of the preset graphics, and superimpose the preset graphics to obtain the gestalt verification code.
  • the preset canvas is a maximum boundary area of the set gestalt verification code in the terminal device.
  • the preset character graphics are set on an upper layer of the preset graphics, and when the preset graphics are superimposed, the preset character graphics and the preset graphics overlay area The size is less than or equal to the preset overlay threshold.
  • the obtaining module includes:
  • a first display unit configured to display the phantom verification code on a preset display position of the touch screen of the terminal device
  • a first acquiring unit configured to acquire a graphic that the user draws an input at a preset input position of the touch screen of the terminal device
  • the obtaining module includes:
  • a second display unit configured to display the phantom verification code on a preset display position of a screen of the terminal device
  • a second acquiring unit configured to acquire, by the user, a graphic input on a preset input position of a screen of the terminal device by using a touch panel or a touch mouse of the terminal device.
  • the verification module includes:
  • a comparison unit configured to compare the graphic included in the phantom verification code with the graphic drawn by the user
  • a first verification unit configured to: when the graphic drawn by the user drawing the graphic includes all the graphics included in the phantom verification code, the verification is successful;
  • a second verification unit configured to: when the user draws the input graphic, does not include the phantom verification code When all the graphics are valid, the validation fails.
  • the present invention can obtain the following technical effects:
  • FIG. 1 is a flowchart of a method for generating verification code of a first verification code according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for generating verification of a second verification code according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for generating verification of a third verification code according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a preset graphics library according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a preset character graphics library according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a fourth verification code generation verification method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a first verification code according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a second verification code according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a third verification code according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a fourth verification code according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a fifth verification code according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a sixth verification code according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a seventh verification code according to an embodiment of the present invention.
  • FIG. 14 is a flowchart of a method for verification code generation verification in a mobile phone according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of an apparatus for verifying code generation and verification according to an embodiment of the present invention.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • first device if a first device is coupled to a second device, the first device can be directly electrically coupled to the second device, or electrically coupled indirectly through other devices or coupling means. Connected to the second device.
  • a flowchart of a verification code generation verification method according to an embodiment of the present invention includes:
  • S101 Select a preset graphic from the preset graphic library, and select a preset character graphic from the preset character graphic library.
  • a graphics library and a character graphics library are preset, and the preset graphics library includes a circle, a square, a triangle, a polygon, a star, and the like.
  • the preset character graphic library includes a circle, a square, a triangle, a text, a letter, etc., and the character graphic in the preset character graphic library is preferably a SVG (Scalable Vector Graphics) vector graphic.
  • the verification code of the embodiment combines the graphic with the character graphic.
  • the user identifies the graphic included in the verification code and draws the input.
  • the verification passes.
  • the verification code generation verification process of the embodiment is suitable for human identification but is not conducive to computer program (AI) recognition.
  • the verification code generation verification process of this embodiment conforms to the theory of completion psychology, and thus the verification code of the embodiment can be used. It is called a gestalt verification code.
  • S103 Display a gestalt verification code, and obtain a graphic that the user draws the input by touch.
  • the method of the present embodiment can be applied to a mobile terminal having a touch screen, or a terminal device such as a computer.
  • a terminal device such as a mobile terminal having a touch screen
  • the avatar verification code is displayed on the preset display position of the touch screen of the terminal device, and the user inputs the input graphic at the preset input position of the touch screen of the terminal device.
  • the avatar verification code is displayed on the preset display position of the screen of the terminal device; the user inputs the input at the preset input position of the screen of the terminal device through the touch panel of the terminal device or the touch mouse. Graphics.
  • the user recognizes the graphics included in the gestalt verification code, and draws all the graphics included in the gestalt verification code one by one. It should be noted that the drawing input may not be set in the drawing input, as long as the final drawing is performed. If all the graphics included in the Gestalt verification code are entered, the verification is successful; if the graphics from the preset graphics library and the preset character graphics library can be distinguished (such as by layering or color), you can also set Draw the order of input, such as inputting the graphics from the preset graphics library first, and then inputting the graphics from the preset character graphics library. Only when the user inputs all the graphics included in the gestalt verification code in order, the verification is successful.
  • S104 Verify the graphic drawn by the user according to the graphic contained in the gestalt verification code.
  • the verification is successful; if the user does not draw all the graphics contained in the input phenotype verification code (including no input or input but graphic error) Etc.), the verification failed.
  • a preset graphic is selected from a preset graphic library, and a preset character graphic is selected from a preset character graphic library;
  • Set a character graphic to combine and get the gestalt verification code including:
  • S101a randomly select preset graphics from the preset graphics library, and set each graphics in the preset graphics to a preset color preset size graphic.
  • the preset number may be one, two, etc., and may be set each time the phantom verification code is generated, the number of preset graphics is fixed, or randomly changed, and may be set according to actual application conditions. This is not specifically limited.
  • the preset color may be a full color black color, and the preset size may be set according to the terminal device and the actual application.
  • S101b The preset graphics are set in the preset canvas according to the rule that the pixels of each graphic in the preset graphics do not touch the edge of the preset canvas, and each of the preset graphics does not overlap each other.
  • the preset canvas is the largest boundary area for generating the gestalt verification code.
  • the color of the preset canvas can be set to white, black, etc., and can be set according to the actual application.
  • each graphic is not superimposed on each other in order to facilitate the user to recognize the graphic.
  • it may also be partially superimposed.
  • S101c Select a preset character graphic from the preset character graphic library, and set each character graphic in the preset character graphic to a character graphic with a preset color preset size.
  • the preset number may be one, two, etc., and may be set each time the phantom verification code is generated, the number of preset character graphics is fixed, or randomly changed, and may be set according to actual application conditions. This is not specifically limited. Moreover, the number of preset character graphics is generally smaller than the number of preset graphics.
  • the preset color may be a color such as white, and the preset size may be set according to the terminal device, the size of the preset graphic, and the like.
  • S101d The preset character graphics are set on the upper layer of the preset graphics, and are superimposed with the preset graphics to obtain a gestalt verification code.
  • the graphics cannot be recognized, and the preset character graphics are set on the upper layer of the preset graphics, and are superimposed with the preset graphics.
  • the size of the superimposed area of the character graphic and the preset graphic does not exceed the preset superimposed threshold.
  • the preset superimposed threshold can be set to 50%, 60%, etc., and can be set according to the actual application condition. limited.
  • the user draws the input graphics to verify, including:
  • the user compares with the graphic contained in the gestalt verification code; and determines whether the similarity between the graphic and the graphic input by the user in the gestalt verification code satisfies the preset similarity threshold. If present, the same type of graphics in the Gestalt verification code that match the user-entered graphics to meet the preset similarity threshold are marked as verified; if not, the rendering input error is prompted.
  • the preset similarity threshold may be 70%, 80%, etc., and may be set according to actual application conditions.
  • the verification code generation verification method described in this embodiment combines a preset graphic with a preset character graphic to obtain a gestalt verification code, which is convenient for the user to recognize the graphic in the verification code, which can save time; and the user draws The recognized graphics are drawn and input, and the native keyboard does not need to be activated, and the verification process is simple and quick.
  • the size of the superimposed area of the preset character graphic and the preset graphic does not exceed the preset superimposed threshold at most, and the part of the preset character graphic overlapping with the preset graphic is prevented from being too much, and the graphic cannot be recognized.
  • the preset graphics library includes a circle, a square, and a triangle.
  • the preset character graphic library includes SVG vector graphics of a circle, a square, a triangle, and an English alphabet.
  • the verification code generation verification method is as follows:
  • S201 Select one graphic (circle) from the preset graphic library, and set the circular to a full color (black) of 100px*100px size.
  • the circle is as shown in FIG.
  • S202 The circular shape is set in the preset canvas according to the rule that the circular pixels do not touch the edge of the preset canvas and the circles do not overlap each other.
  • the size of the preset canvas in this embodiment is 800px*800px, the color of the preset canvas is white, and the preset canvas is as shown in FIG. 7.
  • the selected graphics may be copied, and the number of graphics is increased to overlap the outer frame of the preset character graphics. As shown in FIG. 7, the circular is copied into multiple.
  • S203 Select one character graphic (triangle) from the preset character graphic library, and set the triangle to a full color (white) of 600px*600px size.
  • the obtained gestalt verification code is as shown in FIG.
  • the preset overlay threshold is set to 50%, that is, the size of the triangle of 600px*600px and the circle of 100px*100px size is at most 50%.
  • the gestalt verification code obtained when selecting different graphics and character graphics.
  • the character graphic in the actual application may also be a text or a corporate logo, etc., to increase the meaning of the gestalt verification code.
  • the number of character graphics is one, and the number of character graphics in actual application may also be multiple, for example, when the number of character graphics is two (triangle and circle)
  • the resulting Gestalt verification code is shown in Figure 13.
  • S205 Display a gestalt verification code on a preset display position of the touch screen of the terminal device.
  • the terminal device is a mobile phone, and the preset display position is on the touch screen portion of the terminal device.
  • S206 Acquire a graphic that the user draws the input at a preset input position of the touch screen of the terminal device.
  • the terminal device is a mobile phone, and the preset input position is in a lower portion of the touch screen of the terminal device.
  • the preset prompt information (such as text, sound, or image, etc.) may be used to prompt the current user to draw the input graphic to pass the verification.
  • the user is authenticated. Enter the corresponding function. After the verification fails, the user will be prompted to verify the failure by preset prompt information (such as text, sound or image).
  • FIG. 15 is a structural diagram of a device for verifying code generation verification according to an embodiment of the present invention, where the device includes:
  • the processing module 301 is configured to select a preset graphic from the preset graphic library, select a preset character graphic from the preset character graphic library, and combine the preset graphic with the preset character graphic to obtain the gestalt verification. code;
  • the obtaining module 302 is configured to display a gestalt verification code, and obtain a graphic that the user draws the input by touch;
  • the verification module 303 is configured to perform, according to the graphic included in the gestalt verification code, the graphic drawn by the user verification.
  • processing module 301 includes:
  • the selecting unit is configured to randomly select a preset graphic from the preset graphic library, and set each graphic in the preset graphic to a preset color preset size graphic;
  • a first setting unit configured to set a preset graphic in the preset canvas according to a rule that the pixels of each graphic do not touch the edge of the preset canvas, and each graphic does not overlap each other;
  • a second setting unit configured to select a preset character graphic from the preset character graphic library, and set each character graphic in the preset character graphic to a character graphic with a preset color preset size;
  • the superimposing unit is configured to set a preset character graphic on an upper layer of the preset graphic, and superimpose with the preset graphic to obtain a gestalt verification code.
  • the preset canvas is a maximum boundary area of the set gestalt verification code in the terminal device.
  • the preset character graphics are set on the upper layer of the preset graphics, and when the preset graphics are superimposed, the size of the overlapping region of the preset character graphics and the preset graphics is less than or equal to the preset overlay threshold.
  • the obtaining module 302 includes:
  • a first display unit configured to display a gestalt verification code on a preset display position of the touch screen of the terminal device
  • a first acquiring unit configured to acquire a graphic that the user draws an input at a preset input position of the touch screen of the terminal device
  • the obtaining module 302 includes:
  • a second display unit configured to display a gestalt verification code on a preset display position of the screen of the terminal device
  • a second acquiring unit configured to acquire, by the user, the input graphic by using a touch panel of the terminal device or a touch mouse, at a preset input position of the screen of the terminal device.
  • the verification module 303 includes:
  • Aligning unit configured to compare the graphic contained in the gestalt verification code with the graphic drawn by the user
  • a first verification unit configured to be successful when the graphic drawn by the user includes all the graphics included in the gestalt verification code
  • the second verification unit is configured to: when the graphic drawn by the user does not include all the graphics included in the phantom verification code, the verification fails.
  • the device for verifying code generation and verification combines a preset graphic with a preset character graphic to obtain a gestalt verification code, which is convenient for the user to recognize the graphic in the verification code, which can save time; and the user draws The recognized graphics are drawn and input, and the native keyboard does not need to be activated, and the verification process is simple and quick.
  • Preset character graphics and The size of the superimposed area of the preset graphics does not exceed the preset superimposition threshold at most, which can avoid that the preset character graphics overlaps with the preset graphics too much, and the graphics cannot be recognized.
  • the device corresponds to the foregoing method flow description, and the deficiencies refer to the description of the above method flow, and will not be further described.

Landscapes

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

Abstract

一种验证码生成验证的方法和装置,属于通信技术领域。所述方法包括:从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形(101);将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码(102);展示所述完形验证码,获取用户通过触摸方式绘制输入的图形(103);根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证(104)。所述装置包括:处理模块(301)、获取模块(302)和验证模块(303)。其中,将预设个图形与预设个字符图形进行组合,得到完形验证码,方便用户识别验证码中的图形,可以节约时间;且用户通过绘制所识别的图形进行绘制输入,不需要激活原生键盘,验证过程简单快捷。

Description

一种验证码生成验证的方法和装置
本申请要求2015年06月23日递交的申请号为201510350205.7、发明名称为“一种验证码生成验证的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,具体涉及一种验证码生成验证的方法和装置。
背景技术
随着网络通信技术的发展,可以通过终端设备链接网络进行聊天、购物、支付、访问论坛等,为了保证终端设备和网络服务的安全,常常会通过验证码对用户进行验证。目前安全性比较高的一种验证码是文字和干扰图形组合成的图形验证码。
上述图形验证码的生成验证过程如下:从预设图形文字库中随机选取文字和干扰图形,将选取的文字和干扰图形进行组合得到图形文字验证码;展示图形文字验证码;获取原生键盘激活指令,激活原生键盘;获取通过原生键盘输入的文字,对输入的文字进行验证。
现有生成的图形验证码,当干扰图形很多时,干扰很大,用户不易识别验证码中的文字,浪费时间;且现有的图形验证码验证时,需要激活原生键盘,通过原生键盘输入文字,验证过程繁琐。
发明内容
为了解决现有技术的问题,本发明提供了一种验证码生成验证的方法和装置,将预设个图形与预设个字符图形进行组合,得到完形验证码,方便用户识别验证码中的图形,可以节约时间;且用户通过绘制所识别的图形进行绘制输入,不需要激活原生键盘,验证过程简单快捷。
为了解决上述问题,本发明公开了一种验证码生成验证的方法,所述方法包括:
从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;
将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码;
展示所述完形验证码,获取用户通过触摸方式绘制输入的图形;
根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证。
进一步地,从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码,包括:
从所述预设图形库中随机选取所述预设个图形,将所述预设个图形中每个图形设置为预设颜色预设大小的图形;
按照所述每个图形的像素不触碰预设画布的边缘、所述每个图形相互不叠加的规定,将所述预设个图形设置在所述预设画布内;
从所述预设字符图形库中选取所述预设个字符图形,将所述预设个字符图形中每个字符图形设置为预设颜色预设大小的字符图形;
将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加,得到所述完形验证码。
进一步地,所述预设画布为设置的所述完形验证码在终端设备中的最大边界区域。
进一步地,将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加时,所述预设个字符图形与所述预设个图形的叠加区域的大小小于等于预设叠加阈值。
进一步地,展示所述完形验证码,获取用户通过触摸方式绘制输入的图形,包括:
在终端设备的触摸屏的预设展示位置展示所述完形验证码;
获取所述用户在所述终端设备的触摸屏的预设输入位置绘制输入的图形;
或,展示所述完形验证码,获取用户通过触摸方式绘制输入的图形,包括:
在终端设备的屏幕的预设展示位置展示所述完形验证码;
获取所述用户通过所述终端设备的触摸板或触摸鼠标,在所述终端设备的屏幕的预设输入位置绘制输入的图形。
进一步地,根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证,包括:
将所述完形验证码中所含有的图形与所述用户绘制输入的图形进行比对;
当所述用户绘制输入的图形包含所述完形验证码中所含有的所有图形时,验证成功;
当所述用户绘制输入的图形没有包含所述完形验证码中所含有的所有图形时,验证失败。
为了解决上述问题,本发明还公开了一种验证码生成验证的装置,所述装置包括:
处理模块,用于从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码;
获取模块,用于展示所述完形验证码,获取用户通过触摸方式绘制输入的图形;
验证模块,用于根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证。
进一步地,所述处理模块包括:
选取单元,用于从所述预设图形库中随机选取所述预设个图形,将所述预设个图形中每个图形设置为预设颜色预设大小的图形;
第一设置单元,用于按照所述每个图形的像素不触碰预设画布的边缘、所述每个图形相互不叠加的规定,将所述预设个图形设置在所述预设画布内;
第二设置单元,用于从所述预设字符图形库中选取所述预设个字符图形,将所述预设个字符图形中每个字符图形设置为预设颜色预设大小的字符图形;
叠加单元,用于将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加,得到所述完形验证码。
进一步地,所述预设画布为设置的所述完形验证码在终端设备中的最大边界区域。
进一步地,将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加时,所述预设个字符图形与所述预设个图形的叠加区域的大小小于等于预设叠加阈值。
进一步地,所述获取模块包括:
第一展示单元,用于在终端设备的触摸屏的预设展示位置展示所述完形验证码;
第一获取单元,用于获取所述用户在所述终端设备的触摸屏的预设输入位置绘制输入的图形;
或,所述获取模块包括:
第二展示单元,用于在终端设备的屏幕的预设展示位置展示所述完形验证码;
第二获取单元,用于获取所述用户通过所述终端设备的触摸板或触摸鼠标,在所述终端设备的屏幕的预设输入位置绘制输入的图形。
进一步地,所述验证模块包括:
比对单元,用于将所述完形验证码中所含有的图形与所述用户绘制输入的图形进行比对;
第一验证单元,用于当所述用户绘制输入的图形包含所述完形验证码中所含有的所有图形时,验证成功;
第二验证单元,用于当所述用户绘制输入的图形没有包含所述完形验证码中所含有 的所有图形时,验证失败。
与现有技术相比,本发明可以获得包括以下技术效果:
1)将预设个图形与预设个字符图形进行组合,得到完形验证码,方便用户识别验证码中的图形,可以节约时间;且用户通过绘制所识别的图形进行绘制输入,不需要激活原生键盘,验证过程简单快捷。
2)预设个字符图形与预设个图形的叠加区域的大小最多不超过预设叠加阈值,可以避免预设个字符图形与预设个图形重叠的部分太多,无法辨识图形。
当然,实施本发明的任一产品必不一定需要同时达到以上所述的所有技术效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是本发明实施例的第一种验证码生成验证的方法流程图;
图2是本发明实施例的第二种验证码生成验证的方法流程图;
图3是本发明实施例的第三种验证码生成验证的方法流程图;
图4是本发明实施例的一种预设图形库的示意图;
图5是本发明实施例的一种预设字符图形库的示意图;
图6是本发明实施例的第四种验证码生成验证的方法流程图;
图7是本发明实施例的第一种验证码的示意图;
图8是本发明实施例的第二种验证码的示意图;
图9是本发明实施例的第三种验证码的示意图;
图10是本发明实施例的第四种验证码的示意图;
图11是本发明实施例的第五种验证码的示意图;
图12是本发明实施例的第六种验证码的示意图;
图13是本发明实施例的第七种验证码的示意图;
图14是本发明实施例的手机中的验证码生成验证的方法流程图;
图15是本发明实施例的一种验证码生成验证的装置结构示意图。
具体实施方式
以下将配合附图及实施例来详细说明本发明的实施方式,藉此对本发明如何应用技 术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
如在说明书及权利要求当中使用了某些词汇来指称特定组件。本领域技术人员应可理解,硬件制造商可能会用不同名词来称呼同一个组件。本说明书及权利要求并不以名称的差异来作为区分组件的方式,而是以组件在功能上的差异来作为区分的准则。如在通篇说明书及权利要求当中所提及的“包含”为一开放式用语,故应解释成“包含但不限定于”。“大致”是指在可接收的误差范围内,本领域技术人员能够在一定误差范围内解决所述技术问题,基本达到所述技术效果。此外,“耦接”一词在此包含任何直接及间接的电性耦接手段。因此,若文中描述一第一装置耦接于一第二装置,则代表所述第一装置可直接电性耦接于所述第二装置,或通过其他装置或耦接手段间接地电性耦接至所述第二装置。说明书后续描述为实施本发明的较佳实施方式,然所述描述乃以说明本发明的一般原则为目的,并非用以限定本发明的范围。本发明的保护范围当视所附权利要求所界定者为准。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者***不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者***所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或 者***中还存在另外的相同要素。
实施例描述
下面以一实施例对本发明方法的实现作进一步说明。如图1所示,为本发明实施例的一种验证码生成验证的方法流程图,该方法包括:
S101:从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形。
具体地,预先设置一个图形库和字符图形库,预设图形库中包括圆形、方形、三角形、多边形、星形等。预设字符图形库中包括圆形、方形、三角形、文字、字母等,预设字符图形库中的字符图形优选为SVG(Scalable Vector Graphics,可伸缩矢量图形)矢量图形。
S102:将预设个图形与预设个字符图形进行组合,得到完形验证码。
具体地,本实施例的验证码将图形与字符图形进行组合得到,在验证时,用户识别验证码中包含的图形,并绘制输入,当用户绘制了验证码中包含的所有图形时,验证通过。本实施例的验证码生成验证过程,适于人类识别却不利于计算机程序(AI)识别,本实施例的验证码生成验证过程符合完行心理学的理论,因此可以将本实施例的验证码称为完形验证码。
S103:展示完形验证码,获取用户通过触摸方式绘制输入的图形。
具体地,本实施例的方法可以用于具有触摸屏的移动终端、或计算机等终端设备。当用于具有触摸屏的移动终端等终端设备时,在终端设备的触摸屏的预设展示位置展示完形验证码,获取用户在终端设备的触摸屏的预设输入位置绘制输入的图形。当用于计算机等终端设备时,在终端设备的屏幕的预设展示位置展示完形验证码;获取用户通过终端设备的触摸板或触摸鼠标,在终端设备的屏幕的预设输入位置绘制输入的图形。
具体地,用户识别完形验证码中包含的图形,将完形验证码中包含的所有图形一一绘制输入,需要说明的是,在绘制输入时可以不设定绘制输入的顺序,只要最终绘制输入了完形验证码中包含的所有图形即验证成功;如果来自预设图形库和预设字符图形库中的图形可以区分开(如通过分层的方式或颜色的方式等)也可以设定绘制输入的顺序,如先输入来自预设图形库的图形,再输入来自预设字符图形库中的图形等,只有用户按照顺序输入了完形验证码中包含的所有图形才验证成功。
S104:根据完形验证码中所含有的图形,对用户绘制输入的图形进行验证。
具体地,如果用户绘制输入了完形验证码中所含有的所有图形,则验证成功;如果用户没有绘制输入完形验证码中所含有的所有图形(包含没有输入或虽输入但图形错误 等),则验证失败。
其中,在本实施例的一优选实施例中,参见图2,从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;将预设个图形与预设个字符图形进行组合,得到完形验证码,包括:
S101a:从预设图形库中随机选取预设个图形,将预设个图形中每个图形设置为预设颜色预设大小的图形。
其中,预设个可以是1个、2个等,并且,可以设置每次生成完形验证码时,预设个图形的数量是固定的,或随机改变的,可以根据实际应用状况进行设置,对此不做具体限定。
其中,预设颜色可以是满色黑色等颜色,预设大小可以根据终端设备和实际应用情况进行设置。
S101b:按照预设个图形中每个图形的像素不触碰预设画布的边缘、预设个图形中每个图形相互不叠加的规定,将预设个图形设置在预设画布内。
其中,预设画布为生成完形验证码的最大边界区域。预设画布的颜色可以设置为白色、黑色等,可以根据实际应用状况进行设置。
并且,每个图形相互不叠加是为了便于用户识别图形,实际应用中,在用户能够识别出图形的前提下,也可以部分叠加。
S101c:从预设字符图形库中选取预设个字符图形,将预设个字符图形中每个字符图形设置为预设颜色预设大小的字符图形。
其中,预设个可以是1个、2个等,并且,可以设置每次生成完形验证码时,预设个字符图形的数量是固定的,或随机改变的,可以根据实际应用状况进行设置,对此不做具体限定。并且,预设个字符图形的个数一般小于预设个图形的个数。
其中,预设颜色可以是白色等颜色,预设大小可以根据终端设备、预设个图形的大小等进行设置。
S101d:将预设个字符图形设置在预设个图形的上层,与预设个图形进行叠加,得到完形验证码。
具体地,为了防止预设个字符图形与预设个图形重叠的部分太多,无法辨识图形,将预设个字符图形设置在预设个图形的上层,与预设个图形进行叠加时,预设个字符图形与预设个图形的叠加区域的大小最多不超过预设叠加阈值,其中,预设叠加阈值可以设置为50%、60%等,可以根据实际应用状况进行设置,对此不做限定。
其中,在本实施例的一优选实施例中,参见图3,根据完形验证码中所含有的图形,对用户绘制输入的图形进行验证,包括:
S104a:将完形验证码中所含有的图形与用户绘制输入的图形进行比对。
具体地,用户每绘制输入一个图形,就与完形验证码中所含有的图形进行比对;判断完形验证码中是否存在一图形与用户绘制输入的图形的相似度满足预设相似度阈值;如果存在,则将完形验证码中与用户绘制输入的图形的相似度满足预设相似度阈值的同一类图形标为已验证;如果不存在,则提示绘制输入错误。
其中,预设相似度阈值可以是70%、80%等,可以根据实际应用状况进行设置。
S104b:当用户绘制输入的图形包含完形验证码中所含有的所有图形时,验证成功,然后结束。
S104c:当用户绘制输入的图形没有包含完形验证码中所含有的所有图形时,验证失败,然后结束。
本实施例所述的验证码生成验证的方法,将预设个图形与预设个字符图形进行组合,得到完形验证码,方便用户识别验证码中的图形,可以节约时间;且用户通过绘制所识别的图形进行绘制输入,不需要激活原生键盘,验证过程简单快捷。预设个字符图形与预设个图形的叠加区域的大小最多不超过预设叠加阈值,可以避免预设个字符图形与预设个图形重叠的部分太多,无法辨识图形。
为了便于理解,下面列举具体的验证码生成验证的例子,参见图4,本实施例中预设图形库中包括圆形、方形和三角形。参见图5,本实施例中预设字符图形库中包括圆形、方形、三角形、英语字母的SVG矢量图形。参见图6,验证码生成验证的方法如下:
S201:从预设图形库中选取1个图形(圆形),将圆形设置为100px*100px大小的满色(黑色)。
具体地,圆形如图7中的所示。
S202:按照圆形的像素不触碰预设画布的边缘、圆形相互不叠加的规定,将圆形设置在预设画布内。
其中,本实施例中预设画布的大小为800px*800px,预设画布的颜色为白色,预设画布如图7中的所示。
需要说明的是,为了美观、增加辨识度,可将选取的图形进行复制,增加图形数量,以叠满预设个字符图形的外框,如图7所示,将圆形复制为多个。
S203:从预设字符图形库中选取1个字符图形(三角形),将三角形设置为600px*600px大小的满色(白色)。
S204:将600px*600px大小的三角形叠加在100px*100px大小的圆形的上层,得到完形验证码。
具体地,得到的完形验证码如图7所示。本实施例中设置预设叠加阈值为50%,即600px*600px大小的三角形与100px*100px大小的圆形的叠加区域的大小最多不超过50%。
具体地,参见图8、9和10,为选择不同图形和字符图形时,得到的完形验证码。并且,参见图11和12,实际应用中字符图形还可以是文字或企业logo等,增加完形验证码的意义,
需要说明的是,本实施例中字符图形的个数是1个,实际应用中字符图形的个数也可以是多个,例如:当字符图形的个数是2个(三角形和圆形)时,得到的完形验证码如图13。
S205:在终端设备的触摸屏的预设展示位置展示完形验证码。
具体地,参见图14,终端设备为手机,预设展示位置在终端设备的触摸屏上部分。
S206:获取用户在终端设备的触摸屏的预设输入位置绘制输入的图形。
具体地,参见图14,终端设备为手机,预设输入位置在终端设备的触摸屏下部分。
S207:根据完形验证码中所含有的图形,对用户绘制输入的图形进行验证。
具体地,当用户输入一个三角形,三角形是完形验证码中所含有的图形,则对完形验证码中的三角形验证完成。用户再次输入一个方形,方形是完形验证码中所没有含有的图形,则错误。用户再次输入一个圆形,圆形是完形验证码中所含有的图形,且完形验证码中包含的所有图形为三角形和圆形,因此验证成功。需要说明的是,实际应用中,可以在验证过程中在预设提示位置通过预设提示信息(如文字、声音或图像等)提示当前用户绘制输入的图形是否验证通过,在验证成功后,用户进入相应的功能,在验证失败后,通过预设提示信息(如文字、声音或图像等)提示用户验证失败。
如图15所示,是本发明实施例的一种验证码生成验证的装置结构图,该装置包括:
处理模块301,用于从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;将预设个图形与预设个字符图形进行组合,得到完形验证码;
获取模块302,用于展示完形验证码,获取用户通过触摸方式绘制输入的图形;
验证模块303,用于根据完形验证码中所含有的图形,对用户绘制输入的图形进行 验证。
进一步地,处理模块301包括:
选取单元,用于从预设图形库中随机选取预设个图形,将预设个图形中每个图形设置为预设颜色预设大小的图形;
第一设置单元,用于按照每个图形的像素不触碰预设画布的边缘、每个图形相互不叠加的规定,将预设个图形设置在预设画布内;
第二设置单元,用于从预设字符图形库中选取预设个字符图形,将预设个字符图形中每个字符图形设置为预设颜色预设大小的字符图形;
叠加单元,用于将预设个字符图形设置在预设个图形的上层,与预设个图形进行叠加,得到完形验证码。
进一步地,预设画布为设置的完形验证码在终端设备中的最大边界区域。
进一步地,将预设个字符图形设置在预设个图形的上层,与预设个图形进行叠加时,预设个字符图形与预设个图形的叠加区域的大小小于等于预设叠加阈值。
进一步地,获取模块302包括:
第一展示单元,用于在终端设备的触摸屏的预设展示位置展示完形验证码;
第一获取单元,用于获取用户在所述终端设备的触摸屏的预设输入位置绘制输入的图形;
或,获取模块302包括:
第二展示单元,用于在终端设备的屏幕的预设展示位置展示完形验证码;
第二获取单元,用于获取用户通过所述终端设备的触摸板或触摸鼠标,在所述终端设备的屏幕的预设输入位置绘制输入的图形。
进一步地,验证模块303包括:
比对单元,用于将完形验证码中所含有的图形与用户绘制输入的图形进行比对;
第一验证单元,用于当用户绘制输入的图形包含完形验证码中所含有的所有图形时,验证成功;
第二验证单元,用于当用户绘制输入的图形没有包含完形验证码中所含有的所有图形时,验证失败。
本实施例所述的验证码生成验证的装置,将预设个图形与预设个字符图形进行组合,得到完形验证码,方便用户识别验证码中的图形,可以节约时间;且用户通过绘制所识别的图形进行绘制输入,不需要激活原生键盘,验证过程简单快捷。预设个字符图形与 预设个图形的叠加区域的大小最多不超过预设叠加阈值,可以避免预设个字符图形与预设个图形重叠的部分太多,无法辨识图形。
所述装置与前述的方法流程描述对应,不足之处参考上述方法流程的叙述,不再一一赘述。
上述说明示出并描述了本发明的若干优选实施例,但如前所述,应当理解本发明并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述发明构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。

Claims (12)

  1. 一种验证码生成验证的方法,其特征在于,所述方法包括:
    从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;
    将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码;
    展示所述完形验证码,获取用户通过触摸方式绘制输入的图形;
    根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证。
  2. 如权利要求1所述的方法,其特征在于,从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码,包括:
    从所述预设图形库中随机选取所述预设个图形,将所述预设个图形中每个图形设置为预设颜色预设大小的图形;
    按照所述每个图形的像素不触碰预设画布的边缘、所述每个图形相互不叠加的规定,将所述预设个图形设置在所述预设画布内;
    从所述预设字符图形库中选取所述预设个字符图形,将所述预设个字符图形中每个字符图形设置为预设颜色预设大小的字符图形;
    将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加,得到所述完形验证码。
  3. 如权利要求2所述的方法,其特征在于,所述预设画布为设置的所述完形验证码在终端设备中的最大边界区域。
  4. 如权利要求2所述的方法,其特征在于,将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加时,所述预设个字符图形与所述预设个图形的叠加区域的大小小于等于预设叠加阈值。
  5. 如权利要求1所述的方法,其特征在于,展示所述完形验证码,获取用户通过触摸方式绘制输入的图形,包括:
    在终端设备的触摸屏的预设展示位置展示所述完形验证码;
    获取所述用户在所述终端设备的触摸屏的预设输入位置绘制输入的图形;
    或,展示所述完形验证码,获取用户通过触摸方式绘制输入的图形,包括:
    在终端设备的屏幕的预设展示位置展示所述完形验证码;
    获取所述用户通过所述终端设备的触摸板或触摸鼠标,在所述终端设备的屏幕的预 设输入位置绘制输入的图形。
  6. 如权利要求1-5任一权利要求所述的方法,其特征在于,根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证,包括:
    将所述完形验证码中所含有的图形与所述用户绘制输入的图形进行比对;
    当所述用户绘制输入的图形包含所述完形验证码中所含有的所有图形时,验证成功;
    当所述用户绘制输入的图形没有包含所述完形验证码中所含有的所有图形时,验证失败。
  7. 一种验证码生成验证的装置,其特征在于,所述装置包括:
    处理模块,用于从预设图形库中选取预设个图形,从预设字符图形库中选取预设个字符图形;将所述预设个图形与所述预设个字符图形进行组合,得到完形验证码;
    获取模块,用于展示所述完形验证码,获取用户通过触摸方式绘制输入的图形;
    验证模块,用于根据所述完形验证码中所含有的图形,对所述用户绘制输入的图形进行验证。
  8. 如权利要求7所述的装置,其特征在于,所述处理模块包括:
    选取单元,用于从所述预设图形库中随机选取所述预设个图形,将所述预设个图形中每个图形设置为预设颜色预设大小的图形;
    第一设置单元,用于按照所述每个图形的像素不触碰预设画布的边缘、所述每个图形相互不叠加的规定,将所述预设个图形设置在所述预设画布内;
    第二设置单元,用于从所述预设字符图形库中选取所述预设个字符图形,将所述预设个字符图形中每个字符图形设置为预设颜色预设大小的字符图形;
    叠加单元,用于将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加,得到所述完形验证码。
  9. 如权利要求8所述的装置,其特征在于,所述预设画布为设置的所述完形验证码在终端设备中的最大边界区域。
  10. 如权利要求8所述的装置,其特征在于,将所述预设个字符图形设置在所述预设个图形的上层,与所述预设个图形进行叠加时,所述预设个字符图形与所述预设个图形的叠加区域的大小小于等于预设叠加阈值。
  11. 如权利要求7所述的装置,其特征在于,所述获取模块包括:
    第一展示单元,用于在终端设备的触摸屏的预设展示位置展示所述完形验证码;
    第一获取单元,用于获取所述用户在所述终端设备的触摸屏的预设输入位置绘制输入的图形;
    或,所述获取模块包括:
    第二展示单元,用于在终端设备的屏幕的预设展示位置展示所述完形验证码;
    第二获取单元,用于获取所述用户通过所述终端设备的触摸板或触摸鼠标,在所述终端设备的屏幕的预设输入位置绘制输入的图形。
  12. 如权利要求7-11任一权利要求所述的装置,其特征在于,所述验证模块包括:
    比对单元,用于将所述完形验证码中所含有的图形与所述用户绘制输入的图形进行比对;
    第一验证单元,用于当所述用户绘制输入的图形包含所述完形验证码中所含有的所有图形时,验证成功;
    第二验证单元,用于当所述用户绘制输入的图形没有包含所述完形验证码中所含有的所有图形时,验证失败。
PCT/CN2016/085936 2015-06-23 2016-06-16 一种验证码生成验证的方法和装置 WO2016206558A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510350205.7A CN106327547B (zh) 2015-06-23 2015-06-23 一种验证码生成验证的方法和装置
CN201510350205.7 2015-06-23

Publications (1)

Publication Number Publication Date
WO2016206558A1 true WO2016206558A1 (zh) 2016-12-29

Family

ID=57586599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085936 WO2016206558A1 (zh) 2015-06-23 2016-06-16 一种验证码生成验证的方法和装置

Country Status (2)

Country Link
CN (1) CN106327547B (zh)
WO (1) WO2016206558A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111428229A (zh) * 2020-03-05 2020-07-17 广东睿江云计算股份有限公司 一种生成拼图以及缺省图的方法及其***

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989269B (zh) * 2017-06-02 2021-10-15 阿里巴巴集团控股有限公司 获取验证码的方法、装置和***
CN109933970B (zh) * 2017-12-15 2022-12-27 深圳市腾讯计算机***有限公司 一种图形验证码检测方法、装置及存储介质
CN108319844A (zh) * 2018-01-30 2018-07-24 努比亚技术有限公司 一种验证码生成方法、终端及计算机可读存储介质
CN112818319B (zh) * 2021-01-25 2023-03-21 天津五八到家货运服务有限公司 图形验证码的验证方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183463A (zh) * 2007-12-19 2008-05-21 腾讯科技(深圳)有限公司 一种图片验证码的生成方法和装置
CN102360505A (zh) * 2011-08-16 2012-02-22 北京新媒传信科技有限公司 一种图形验证码生成方法
CN103188263A (zh) * 2013-03-22 2013-07-03 百度在线网络技术(北京)有限公司 一种验证方法、***及装置
CN103488934A (zh) * 2013-09-24 2014-01-01 刘雪英 一种验证码输入方法、装置及***
CN103870725A (zh) * 2012-12-13 2014-06-18 华为技术有限公司 一种验证码的生成验证方法和装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890761B (zh) * 2011-08-24 2015-06-10 北京文海思创科技有限公司 一种通过图形验证码验证的方法
CN103179092A (zh) * 2011-12-22 2013-06-26 阿里巴巴集团控股有限公司 一种验证码信息的提供方法、***及装置
CN103870740B (zh) * 2012-12-14 2017-10-24 深圳市腾讯计算机***有限公司 图像验证码的实现方法和***
CN103093138B (zh) * 2013-01-05 2015-12-02 中国传媒大学 基于静态字符进行captcha图灵测试的认证方法及***
CN103312512B (zh) * 2013-06-07 2016-03-02 深圳第七大道网络技术有限公司 一种图片验证码的生成方法及装置、身份验证方法及装置
CN104298912B (zh) * 2013-07-15 2018-12-11 深圳市腾讯计算机***有限公司 抗破解的验证码实现方法、生成方法及装置
CN104637077B (zh) * 2015-02-13 2017-10-17 浙江农林大学 基于字符绘制的图片验证码生成方法
CN104700022B (zh) * 2015-03-31 2018-08-07 北京奇艺世纪科技有限公司 一种动态验证码生成方法及装置
CN105574399A (zh) * 2015-12-22 2016-05-11 安徽一拓通信科技集团股份有限公司 一种图形验证码的生成方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183463A (zh) * 2007-12-19 2008-05-21 腾讯科技(深圳)有限公司 一种图片验证码的生成方法和装置
CN102360505A (zh) * 2011-08-16 2012-02-22 北京新媒传信科技有限公司 一种图形验证码生成方法
CN103870725A (zh) * 2012-12-13 2014-06-18 华为技术有限公司 一种验证码的生成验证方法和装置
CN103188263A (zh) * 2013-03-22 2013-07-03 百度在线网络技术(北京)有限公司 一种验证方法、***及装置
CN103488934A (zh) * 2013-09-24 2014-01-01 刘雪英 一种验证码输入方法、装置及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111428229A (zh) * 2020-03-05 2020-07-17 广东睿江云计算股份有限公司 一种生成拼图以及缺省图的方法及其***
CN111428229B (zh) * 2020-03-05 2023-06-02 广东睿江云计算股份有限公司 一种生成拼图以及缺省图的方法及其***

Also Published As

Publication number Publication date
CN106327547A (zh) 2017-01-11
CN106327547B (zh) 2019-09-27

Similar Documents

Publication Publication Date Title
WO2016206558A1 (zh) 一种验证码生成验证的方法和装置
EP3554000B1 (en) Validation code based verification method and device
US20200160577A1 (en) Efficient image synthesis
US20190095605A1 (en) Electronic device, method for authenticating user, and computer readable recording medium
US9514297B2 (en) Systems and methods for gesture lock obfuscation
US9129100B2 (en) Verification code generation and verification method and apparatus
CN111814885B (zh) 一种管理图像框的方法、***、设备及介质
US8832606B2 (en) Wallpaper assignment for multi-user mobile device
US10360659B2 (en) Method and apparatus for controlling image display during image editing
US9596087B2 (en) Token authentication for touch sensitive display devices
CN105094652B (zh) 触控屏解锁方法、装置及电子设备、显示器及移动终端
TWI686717B (zh) 資料的提取方法、裝置及終端設備
US20220172193A1 (en) Method and apparatus for displaying identification code of application
WO2017101077A1 (en) Enhanced lock screen security
WO2017067459A1 (zh) 一种桌面数据加载方法及装置
US20150067825A1 (en) Visual authentication to a computing device
US10037137B2 (en) Directing input of handwriting strokes
CN109635601B (zh) 密码防盗方法和装置
CN104951693A (zh) 一种基于移动终端的密码输入检测方法及***
CN115048637A (zh) 一种基于Web端交互图片旋转的人机验证方法及***
WO2020133201A1 (en) Automated identification of input elements in graphical user interface
US10586037B1 (en) Disambiguation of an alphanumeric security code to a user
US9996185B2 (en) Preventing the automatic display of an onscreen keyboard
WO2017067323A1 (zh) 控制方法及装置
US20150363583A1 (en) Information terminal, display method for image for information input, and computer-readable recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16813674

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16813674

Country of ref document: EP

Kind code of ref document: A1