CN103106361A - Method and device for strengthening picture verification code security - Google Patents

Method and device for strengthening picture verification code security Download PDF

Info

Publication number
CN103106361A
CN103106361A CN2011103622756A CN201110362275A CN103106361A CN 103106361 A CN103106361 A CN 103106361A CN 2011103622756 A CN2011103622756 A CN 2011103622756A CN 201110362275 A CN201110362275 A CN 201110362275A CN 103106361 A CN103106361 A CN 103106361A
Authority
CN
China
Prior art keywords
picture
identifying code
frame
dynamically
code
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN2011103622756A
Other languages
Chinese (zh)
Inventor
方顺豹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology Co Ltd
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 Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN2011103622756A priority Critical patent/CN103106361A/en
Publication of CN103106361A publication Critical patent/CN103106361A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and a device for strengthening picture verification code security. The method comprises the followings: displaying a verification code picture; displaying a dynamic block picture on the displayed verification code picture; wherein the dynamic block picture moves on the verification code picture, the dynamic block picture blocks at least one code on the verification code picture in the moving process, and the fact that each code on the verification code picture in the overall moving process has the moment when not being blocked is guaranteed. According to the technical scheme, the security of the picture verification code is greatly strengthened.

Description

A kind of method and apparatus that strengthens the picture validation code security
Technical field
The present invention relates to computer network security technology field, field, particularly a kind of method and apparatus that strengthens the security of identifying code picture.
Background technology
Usually adopt at present the mode of static images to carry out the confirmation of identifying code on network.Fig. 1 is the schematic diagram of existing picture validation code.As shown in Figure 1, this is a kind of static images identifying code.
The mode of static images identifying code, strengthened to a certain extent the security of user account, but the thing followed is some image recognition wooden horse softwares has also been captured, and some image recognition wooden horse software has reached surprising 70% to the recognition correct rate of static images identifying code.
Therefore, existing picture validation code Technology Need further improves.
Summary of the invention
The invention provides a kind of method and apparatus that strengthens the picture validation code security, technical scheme of the present invention has strengthened the security of picture validation code greatly.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method that strengthens the picture validation code security, the method comprises:
Show the identifying code picture;
On the identifying code picture that shows, show one and dynamically block picture;
Wherein, the described picture that dynamically blocks moves on described identifying code picture, blocks at least one code on the identifying code picture in mobile process, and guarantees that each yard on the identifying code picture has the moment that is not blocked in whole moving process.
The invention also discloses a kind of device that strengthens the picture validation code security, this device comprises: identifying code Image Display module and dynamically block the picture display module;
Identifying code Image Display module is used for showing the identifying code picture;
Dynamically block the picture display module, be used for showing one and dynamically blocking picture on the identifying code picture that shows;
Wherein, the described picture that dynamically blocks moves on described identifying code picture, blocks at least one code on the identifying code picture in mobile process, and guarantees that each yard on the identifying code picture has the moment that is not blocked in whole moving process.
The beneficial effect of the embodiment of the present invention is: due to the part of dynamically blocking picture and having blocked the identifying code picture, the verification code information that makes image recognition wooden horse software obtain is also imperfect, thereby None-identified goes out complete identifying code, has greatly improved the security of identifying code.
Description of drawings
Fig. 1 is the schematic diagram of existing picture validation code;
Fig. 2 is a kind of process flow diagram that strengthens the method for picture validation code security in the embodiment of the present invention;
Fig. 3 is the design sketch that adopts the identifying code picture in a certain moment that the described method of Fig. 2 obtains;
Fig. 4 is the design sketch that adopts another identifying code picture constantly that the described method of Fig. 2 obtains
Fig. 5 is the process flow diagram that picture and GIF picture are verified in the demonstration in the embodiment of the present invention;
Fig. 6 is the identifying code picture schematic diagram of the increase interference code in the embodiment of the present invention.
Fig. 7 is a kind of composition structural representation that strengthens the device of picture validation code security in the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The mode that present wooden horse software is obtained identifying code is as follows: obtain the static images of identifying code, crack identifying code by the technology with image recognition.Improve the security of identifying code based on this principle, need to increase the difficulty of image recognition to wooden horse.The present invention has adopted method as shown in Figure 2.
Fig. 2 is a kind of process flow diagram that strengthens the method for picture validation code security in the embodiment of the present invention.As shown in Figure 2, the method comprises:
201, show the identifying code picture;
202, on the identifying code picture that shows, show one and dynamically block picture; Wherein, the described picture that dynamically blocks moves on described identifying code picture, blocks at least one code on the identifying code picture in mobile process, and guarantees that each yard on the identifying code picture has the moment that is not blocked in whole moving process.
Fig. 3 is the design sketch that adopts the identifying code picture in a certain moment that the described method of Fig. 2 obtains.Fig. 4 is the design sketch that adopts another identifying code picture constantly that the described method of Fig. 2 obtains.As shown in Figure 3 and Figure 4, always some is covered by dynamic Occlusion Map sheet the identifying code picture at any one time, so wooden horse is when obtaining the identifying code picture, and verification code information wherein is incomplete.
In the present invention, the described picture that dynamically blocks can be the picture that has arbitrarily the animation effect picture format, as long as it guarantees to block in process mobile on the identifying code picture at least one code on the identifying code picture, and guarantees that each yard on the identifying code picture has the moment that is not blocked to get final product in whole moving process.
Adopt in one embodiment of the invention graphic interchange format (GIF, Graphics Interchange Format) picture to realize dynamically blocking picture.Namely on the identifying code picture that shows, then GIF picture of Overlapping display.In the GIF picture, the position of each frame on the identifying code picture is different; Broadcasting in the time of each frame in the GIF picture first shows the identifying code picture, shows the present frame of GIF picture on the correspondence position of identifying code picture.
For example, in one embodiment of the invention, the whole identifying code word in the same size in GIF picture and identifying code picture, image content can only have a blockage, and blockage can be a pure color piece, and is opaque.The size of this blockage is enough to cover one to two code word in the identifying code picture, but can not shelter from whole code words.This blockage a kind of on the identifying code picture from left to right, from right to left ceaselessly the motion.In the process of motion, must guarantee that the user can see all code words.Here relate to the drafting of two pictures, identifying code picture and GIF picture, drawing order is: first draw the identifying code picture, then the frame in the GIF picture is drawn in the same position of drawing the identifying code picture.
Namely a mobile square is actually a GIF picture, and the content of GIF picture is exactly that a blockage is moving left and right.The player method of GIF picture is as follows: resolve and play the GIF animation with GDI+, play the interval of each frame and can control with thread or timer, concrete playing flow as shown in Figure 5.
Fig. 5 is the process flow diagram that picture and GIF picture are verified in the demonstration in the embodiment of the present invention.As shown in Figure 5, comprise the steps:
501, the first frame that arranges in the GIF picture is the current active frame;
502, show output identifying code picture;
503, play the current active frame on the identifying code picture that shows output;
504, obtain the reproduction time of current active frame, the broadcast of current active frame is lasted till that this reproduction time finishes;
505, whether this current active frame of judgement is last frame, is to return to step 501, otherwise carries out 506;
506, it is the current active frame that next frame is set, and returns to step 502.
In the present invention, further also at the described upper interference code that shows of picture (as the GIF picture) that dynamically blocks.These interference codes can be some identifying code words that are easy to identify, with the image recognition program of deception wooden horse.Fig. 6 is the identifying code picture schematic diagram of the increase interference code in the embodiment of the present invention.
Simultaneously, also showing to the user interference code that output dynamically blocks on picture is not the information of identifying code.For example, take above-mentioned GIF picture as example, reminding user: the word on mobile blockage is not the part of identifying code.
Based on above-described embodiment, provide a kind of structural representation that strengthens the device of picture validation code security in the present invention.
Fig. 7 is a kind of composition structural representation that strengthens the device of picture validation code security in the present invention.As shown in Figure 7, this device comprises: identifying code Image Display module 701 and dynamically block picture display module 702;
Identifying code Image Display module 701 is used for showing the identifying code picture;
Dynamically block picture display module 702, be used for showing one and dynamically blocking picture on the identifying code picture that shows;
Wherein, the described picture that dynamically blocks moves on described identifying code picture, blocks at least one code on the identifying code picture in mobile process, and guarantees that each yard on the identifying code picture has the moment that is not blocked in whole moving process.
In device shown in Figure 7, the described picture that dynamically blocks that dynamically blocks 702 demonstrations of picture display module is the picture with picture format of animation effect.For example, described block dynamically that picture display module 702 shows dynamically block picture and can be graphic interchange format GIF picture, in the GIF picture, the position of each frame on the identifying code picture is different;
The described picture display module 702 that dynamically blocks is used for showing the present frame of GIF picture the broadcasting in the time of each frame of GIF picture on the correspondence position of identifying code picture.
Specifically, the described picture display module 702 that dynamically blocks is used for carrying out following steps;
A, the first frame that arranges in the GIF picture are the current active frame;
B, play the current active frame on the identifying code picture that shows output;
C, obtain the reproduction time of current active frame, the broadcast of current active frame is lasted till between this broadcast finish;
Whether d, this current active frame of judgement are last frame, are to return to step a, are the current active frame otherwise next frame is set, and return to step b.
In device shown in Figure 7, describedly dynamically block dynamically blocking that picture display module 702 shows interference code is arranged on picture.In this case, device shown in Figure 7 further comprises: information display module 703, being used for showing to the user interference code that output dynamically blocks on picture is not the information of identifying code.
Due to the part of dynamically blocking picture and having blocked the identifying code picture, make verification code information that image recognition wooden horse software obtains and imperfect, thereby None-identified goes out complete identifying code, has greatly improved the security of identifying code.In addition, dynamically blocking the scheme that also further shows interference code on picture, further wooden horse is disturbed, further improved the security of identifying code.
The above is only preferred embodiment of the present invention, is not for limiting protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (10)

1. a method that strengthens the picture validation code security, is characterized in that, the method comprises:
Show the identifying code picture;
On the identifying code picture that shows, show one and dynamically block picture;
Wherein, the described picture that dynamically blocks moves on described identifying code picture, blocks at least one code on the identifying code picture in mobile process, and guarantees that each yard on the identifying code picture has the moment that is not blocked in whole moving process.
2. method according to claim 1, is characterized in that, the described picture that dynamically blocks is the picture with picture format of animation effect.
3. method according to claim 1, is characterized in that, the described picture that dynamically blocks is graphic interchange format GIF picture, and in the GIF picture, the position of each frame on the identifying code picture is different;
Described on the identifying code picture that shows, shows that one dynamically blocks picture and specifically comprises: broadcasting in the time of each frame in the GIF picture first shows the identifying code picture, the present frame of demonstration GIF picture on the correspondence position of identifying code picture.
4. method according to claim 3, is characterized in that, broadcasting in the time of described each frame in the GIF picture first shows the identifying code picture, shows that on the correspondence position of identifying code picture the present frame of GIF picture comprises the steps:
A, the first frame that arranges in the GIF picture are the current active frame;
B, demonstration output identifying code picture;
C, play the current active frame on the identifying code picture that shows output;
D, obtain the reproduction time of current active frame, the broadcast of current active frame is lasted till that this reproduction time finishes;
Whether E, this current active frame of judgement are last frame, are to return to steps A, are the current active frame otherwise next frame is set, and return to step B.
5. the described method of any one according to claim 1 to 3, is characterized in that, the method further comprises:
Show interference code on picture described dynamically blocking;
Showing to the user interference code that output dynamically blocks on picture is not the information of identifying code.
6. a device that strengthens the picture validation code security, is characterized in that, this device comprises: identifying code Image Display module and dynamically block the picture display module;
Identifying code Image Display module is used for showing the identifying code picture;
Dynamically block the picture display module, be used for showing one and dynamically blocking picture on the identifying code picture that shows;
Wherein, the described picture that dynamically blocks moves on described identifying code picture, blocks at least one code on the identifying code picture in mobile process, and guarantees that each yard on the identifying code picture has the moment that is not blocked in whole moving process.
7. device according to claim 6, is characterized in that, the described picture that dynamically blocks that dynamically blocks the demonstration of picture display module is the picture with picture format of animation effect.
8. device according to claim 7, is characterized in that, the described picture that dynamically blocks that dynamically blocks the demonstration of picture display module is graphic interchange format GIF picture, and in the GIF picture, the position of each frame on the identifying code picture is different;
The described picture display module that dynamically blocks is used for showing the present frame of GIF picture the broadcasting in the time of each frame of GIF picture on the correspondence position of identifying code picture.
9. device according to claim 8, is characterized in that, the described picture display module that dynamically blocks is used for carrying out following steps;
A, the first frame that arranges in the GIF picture are the current active frame;
B, play the current active frame on the identifying code picture that shows output;
C, obtain the reproduction time of current active frame, the broadcast of current active frame is lasted till that this reproduction time finishes;
Whether d, this current active frame of judgement are last frame, are to return to step a, are the current active frame otherwise next frame is set, and return to step b.
10. the described device of any one according to claim 6 to 8, is characterized in that, describedly dynamically blocks dynamically blocking that the picture display module shows interference code is arranged on picture;
This device further comprises: the information display module, being used for showing to the user interference code that output dynamically blocks on picture is not the information of identifying code.
CN2011103622756A 2011-11-15 2011-11-15 Method and device for strengthening picture verification code security Pending CN103106361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103622756A CN103106361A (en) 2011-11-15 2011-11-15 Method and device for strengthening picture verification code security

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103622756A CN103106361A (en) 2011-11-15 2011-11-15 Method and device for strengthening picture verification code security

Publications (1)

Publication Number Publication Date
CN103106361A true CN103106361A (en) 2013-05-15

Family

ID=48314214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103622756A Pending CN103106361A (en) 2011-11-15 2011-11-15 Method and device for strengthening picture verification code security

Country Status (1)

Country Link
CN (1) CN103106361A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104283883A (en) * 2014-10-13 2015-01-14 宁波公众信息产业有限公司 Scrolling display method and system for verification code information
CN104346557A (en) * 2013-08-06 2015-02-11 深圳市腾讯计算机系统有限公司 Verification code generation method and device and verification code display control method and device
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN104657654A (en) * 2014-12-22 2015-05-27 河海大学 Image verification code generation method utilizing human eye vision compensation principle
CN105574399A (en) * 2015-12-22 2016-05-11 安徽一拓通信科技集团股份有限公司 Graphic verification code generation method
CN106161388A (en) * 2015-04-16 2016-11-23 深圳市腾讯计算机系统有限公司 Information Authentication method, server and system
CN106612277A (en) * 2016-12-09 2017-05-03 武汉斗鱼网络科技有限公司 Method and system for realizing CAPTCHA verification using cipher disk
CN107622194A (en) * 2016-12-11 2018-01-23 卢安迪 A kind of dynamic barriers ocra font ocr string graphic verification code verification method
CN110472432A (en) * 2019-05-31 2019-11-19 上海上湖信息技术有限公司 A kind of method and device of sensitive information desensitization
CN110730162A (en) * 2019-09-16 2020-01-24 北京齐尔布莱特科技有限公司 Page verification method, mobile terminal and readable storage medium
US10592655B2 (en) 2017-09-21 2020-03-17 International Business Machines Corporation Access control to computer resource

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1955872A (en) * 2005-10-28 2007-05-02 腾讯科技(深圳)有限公司 Protection method of operation interface
CN1988442A (en) * 2005-12-23 2007-06-27 上海盛大网络发展有限公司 Method for realizing picture verification code
CN101339666A (en) * 2008-08-12 2009-01-07 腾讯科技(深圳)有限公司 Picture identifying code creation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1955872A (en) * 2005-10-28 2007-05-02 腾讯科技(深圳)有限公司 Protection method of operation interface
CN1988442A (en) * 2005-12-23 2007-06-27 上海盛大网络发展有限公司 Method for realizing picture verification code
CN101339666A (en) * 2008-08-12 2009-01-07 腾讯科技(深圳)有限公司 Picture identifying code creation method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346557A (en) * 2013-08-06 2015-02-11 深圳市腾讯计算机系统有限公司 Verification code generation method and device and verification code display control method and device
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN104519404B (en) * 2013-09-29 2018-02-16 北京新媒传信科技有限公司 The player method and device of graphic interchange format file
CN104283883A (en) * 2014-10-13 2015-01-14 宁波公众信息产业有限公司 Scrolling display method and system for verification code information
CN104657654A (en) * 2014-12-22 2015-05-27 河海大学 Image verification code generation method utilizing human eye vision compensation principle
CN104657654B (en) * 2014-12-22 2017-05-31 河海大学 A kind of method for generating picture verification codes of utilization human eye vision compensation principle
CN106161388A (en) * 2015-04-16 2016-11-23 深圳市腾讯计算机系统有限公司 Information Authentication method, server and system
CN106161388B (en) * 2015-04-16 2020-07-28 深圳市腾讯计算机系统有限公司 Information verification method, server and system
CN105574399A (en) * 2015-12-22 2016-05-11 安徽一拓通信科技集团股份有限公司 Graphic verification code generation method
CN106612277B (en) * 2016-12-09 2020-05-12 武汉斗鱼网络科技有限公司 Method and system for realizing verification of verification code by using password disk
CN106612277A (en) * 2016-12-09 2017-05-03 武汉斗鱼网络科技有限公司 Method and system for realizing CAPTCHA verification using cipher disk
CN107622194A (en) * 2016-12-11 2018-01-23 卢安迪 A kind of dynamic barriers ocra font ocr string graphic verification code verification method
US10592655B2 (en) 2017-09-21 2020-03-17 International Business Machines Corporation Access control to computer resource
US10592654B2 (en) 2017-09-21 2020-03-17 International Business Machines Corporation Access control to computer resource
CN110472432A (en) * 2019-05-31 2019-11-19 上海上湖信息技术有限公司 A kind of method and device of sensitive information desensitization
CN110730162A (en) * 2019-09-16 2020-01-24 北京齐尔布莱特科技有限公司 Page verification method, mobile terminal and readable storage medium
CN110730162B (en) * 2019-09-16 2022-03-18 北京齐尔布莱特科技有限公司 Page verification method, mobile terminal and readable storage medium

Similar Documents

Publication Publication Date Title
CN103106361A (en) Method and device for strengthening picture verification code security
CN103460177B (en) Gesture visualization between electronic equipment and remote display and sharing
CN102780932B (en) Multiwindow player method and system
CN108010112B (en) Animation processing method, device and storage medium
CN102208171B (en) Local detail playing method on portable high-definition video player
US9430252B2 (en) Information processing apparatus, storage medium, information processing system and information processing method
CN103561277B (en) Transmission method and system for network teaching
CN105635848A (en) Bullet-screen display method and terminal
CN114025219B (en) Rendering method, device, medium and equipment for augmented reality special effects
CN102436838A (en) Lyric displaying method and device executed by computer
CN103384253B (en) The play system and its construction method of multimedia interaction function are presented in video
CN108966036B (en) Barrage display methods, electronic equipment and computer storage medium
CN109508090B (en) Augmented reality panel system with interchangeability
CN101976183A (en) Method and device for updating images when simultaneously updating multi-window images
CN112135161A (en) Dynamic effect display method and device of virtual gift, storage medium and electronic equipment
WO2015070812A1 (en) Content typesetting method and mobile terminal
US20220248102A1 (en) Subtitle border-crossing processing method and apparatus, and electronic device
CN106383640A (en) Projection method
CN102074033B (en) A kind of animation method and device
CN104599307A (en) Mobile terminal animated image display method
CN105589673A (en) Competition voting information displaying method and device
CN105096365A (en) 3D interface local refreshing method and system
CN102147923B (en) Method for displaying animated image in masking way
CN102298887A (en) Method, device and system for simulative preview of LED program
CN106060528A (en) Method and system for enhancing reality based on mobile phone side and electronic whiteboard

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130515