Movatterモバイル変換


[0]ホーム

URL:


CN110955881A - Simple verification method based on image movement - Google Patents

Simple verification method based on image movement
Download PDF

Info

Publication number
CN110955881A
CN110955881ACN201911190797.5ACN201911190797ACN110955881ACN 110955881 ACN110955881 ACN 110955881ACN 201911190797 ACN201911190797 ACN 201911190797ACN 110955881 ACN110955881 ACN 110955881A
Authority
CN
China
Prior art keywords
picture
coordinate
axis
small
method based
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
CN201911190797.5A
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.)
Hangzhou Miluoxing Technology Group Co ltd
Original Assignee
Hangzhou Miluoxing Technology Group 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 Hangzhou Miluoxing Technology Group Co ltdfiledCriticalHangzhou Miluoxing Technology Group Co ltd
Priority to CN201911190797.5ApriorityCriticalpatent/CN110955881A/en
Publication of CN110955881ApublicationCriticalpatent/CN110955881A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a simple verification method based on image movement. The method specifically comprises the following steps: (1) randomly acquiring a picture from an existing picture library, taking a point at the lower left corner of the picture as an origin of an X axis and a Y axis, and randomly generating two numbers in the size range of the picture as coordinates of a comparison point; (2) taking the coordinate point as a center, and digging a small drawing factor with a fixed size; (3) when the user drags the floating small picture, the coordinate of the center position of the dragged small picture and the hand speed during dragging are judged whether to meet the conditions, and if the two conditions are met simultaneously, the verification is successful. The invention has the beneficial effects that: the interaction is more friendly, and the use by a user is more convenient and quick; in the verification process, the user can concentrate on the picture, so that the picture is a good advertisement space; the image dragging verification mode is not easy to crack.

Description

Simple verification method based on image movement
Technical Field
The invention relates to the technical field of internet correlation, in particular to a simple verification method based on image movement.
Background
The rapid development of the internet, the products appear like bamboo shoots after rain, and in order to obtain more users, the higher users remain, and the user interaction is also gradually valued. The original traditional verification mode of directly and manually inputting numbers and letters is not friendly to user experience due to time and labor consumption, and gradually becomes an obsolete old-style interaction mode. Simple authentication techniques based on image movement are one of the alternatives to this legacy model.
Disclosure of Invention
The invention provides a simple verification method based on image movement, which is convenient and quick to use, in order to overcome the defects in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a simple verification method based on image movement specifically comprises the following steps:
(1) randomly acquiring a picture from an existing picture library, taking a point at the lower left corner of the picture as an origin of an X axis and a Y axis, and randomly generating two numbers in the size range of the picture as coordinates of a comparison point;
(2) taking the coordinate point as a center, and digging a small drawing factor with a fixed size;
(3) when the user drags the floating small picture, the coordinate of the center position of the dragged small picture and the hand speed during dragging are judged whether to meet the conditions, and if the two conditions are met simultaneously, the verification is successful.
Compared with the traditional verification mode of manual input, the method is more friendly in interaction and more convenient and rapid in use by a user; in the verification process, the user can concentrate on the picture, so that the picture is a good advertisement space; the image dragging verification mode is not easy to crack.
Preferably, in step (2), the image is processed by using GraphcMagic precision algorithm on the position to be scratched and the scratched-out picture. The design makes the picture softer, and the user is more comfortable visually.
Preferably, the coordinates of the comparison points have the following requirements: the picture size can be any value, set to N1 × N2; the small scale factor is set at a, where a should be in the range of (20, min (N1, N2)/2); the coordinate value range of the X axis is (a/2, N1-a/2), and the coordinate value range of the Y axis is (a/2, N2-a/2). The value of a represents the size of the slider picture, the slider is a square, the theoretical size of the slider should be smaller than the size of the background picture to ensure that the slider slides in the background picture, but actually, in order to improve safety and usability, the size of the slider should not be too small or too large, the slider is too small to be easily operated, user experience is affected, and the slider too large affects the value range of the verification code random number. Therefore, according to the daily use habit of people, the size of the slider should not be less than 20px, but should not be more than half of the smaller one of the two sizes, i.e., width and height, of the background picture, and if the size of the background picture is N1 × N2, then the formula should be: a is max (20, min (N1, N2)/2), and the min function returns a smaller value of the parameters needing to be judged; the max function represents a larger value in the parameters to be judged, so that the size of the slider picture is ensured. The value of X should be equal to the background picture width and the value of Y should be equal to the background picture height, i.e.: the size of the background picture determines the size of the area in which the entire slider can slide.
Preferably, in step (3), satisfying the condition means: (a) whether the coordinate of the central position of the dragged small graph is consistent with the coordinate of the comparison point or not is judged, the coordinate of the central position is compared with the values of the X axis and the Y axis of the comparison point, errors within a certain range are allowed, and if the error value is lambda, the value range of the lambda is (0, 20); (b) if the hand speed is not uniform during dragging, the hand dragging always has slight speed change, but the robot does not. The smaller the value of lambda is, the more accurate the lambda is, but the user completion degree is relatively reduced, and the safety is higher; conversely, the larger the value of λ, the coarser the value, the higher the user completion, and the lower the security. The value of lambda represents an acceptable error value, the larger the error value is, the lower the precision is, the larger the acceptable error range is, but the operation convenience is higher; a smaller error value means a higher operation accuracy, a smaller acceptable error range, but a lower operation convenience.
The invention has the beneficial effects that: the interaction is more friendly, and the use by a user is more convenient and quick; in the verification process, the user can concentrate on the picture, so that the picture is a good advertisement space; the image dragging verification mode is not easy to crack.
Detailed Description
The invention is further described with reference to specific embodiments.
A simple verification method based on image movement specifically comprises the following steps:
(1) randomly acquiring a picture from an existing picture library, taking a point at the lower left corner of the picture as an origin of an X axis and a Y axis, and randomly generating two numbers in the size range of the picture as coordinates of a comparison point;
(2) taking the coordinate point as a center, and digging a small drawing factor with a fixed size; the scratched position and the scratched picture are processed by using a GraphsMagick precision algorithm, so that the picture is softer, and a user is more comfortable in vision;
the coordinates of the comparison points have the following requirements: the picture size can be any value, set to N1 × N2; the small scale factor is set at a, where a should be in the range of (20, min (N1, N2)/2); the coordinate value range of the X axis is (a/2, N1-a/2), and the coordinate value range of the Y axis is (a/2, N2-a/2); the value of a represents the size of the slider picture, the slider is a square, the theoretical size of the slider should be smaller than the size of the background picture to ensure that the slider slides in the background picture, but actually, in order to improve safety and usability, the size of the slider should not be too small or too large, the slider is too small to be easily operated, user experience is affected, and the slider too large affects the value range of the verification code random number. Therefore, according to the daily use habit of people, the size of the slider should not be less than 20px, but should not be more than half of the smaller one of the two sizes, i.e., width and height, of the background picture, and if the size of the background picture is N1 × N2, then the formula should be: a is max (20, min (N1, N2)/2), and the min function returns a smaller value of the parameters needing to be judged; the max function represents a larger value in the parameters to be judged, so that the size of the slider picture is ensured. The value of X should be equal to the background picture width and the value of Y should be equal to the background picture height, i.e.: the size of the background picture determines the size of the area in which the entire slider can slide.
(3) When the user drags the suspension small picture, the coordinate of the center position of the dragged small picture and the hand speed during dragging are judged whether to meet the conditions, and the meeting of the conditions refers to: (a) whether the coordinate of the central position of the dragged small graph is consistent with the coordinate of the comparison point or not is judged, the coordinate of the central position is compared with the values of the X axis and the Y axis of the comparison point, errors within a certain range are allowed, and if the error value is lambda, the value range of the lambda is (0, 20); the smaller the value of lambda is, the more accurate the lambda is, but the user completion degree is relatively reduced, and the safety is higher; on the contrary, the larger the value of λ is, the coarser the user completion is, and the security is reduced accordingly; (b) if the hand speed is not uniform during dragging, the hand speed always has slight change, but the robot does not; if the two conditions are simultaneously met, the verification is successful. The value of lambda represents an acceptable error value, the larger the error value is, the lower the precision is, the larger the acceptable error range is, but the operation convenience is higher; a smaller error value means a higher operation accuracy, a smaller acceptable error range, but a lower operation convenience. In general, λ is 3px, which is reasonable.
Compared with the traditional verification mode of manual input, the method is more friendly in interaction and more convenient and rapid in use by a user; in the verification process, the user can concentrate on the picture, so that the picture is a good advertisement space; the image dragging verification mode is not easy to crack.

Claims (4)

CN201911190797.5A2019-11-282019-11-28Simple verification method based on image movementPendingCN110955881A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911190797.5ACN110955881A (en)2019-11-282019-11-28Simple verification method based on image movement

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911190797.5ACN110955881A (en)2019-11-282019-11-28Simple verification method based on image movement

Publications (1)

Publication NumberPublication Date
CN110955881Atrue CN110955881A (en)2020-04-03

Family

ID=69978756

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911190797.5APendingCN110955881A (en)2019-11-282019-11-28Simple verification method based on image movement

Country Status (1)

CountryLink
CN (1)CN110955881A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130106916A1 (en)*2011-10-272013-05-02Qing Kevin GuoDrag and drop human authentication
CN105094918A (en)*2015-08-112015-11-25北京思特奇信息技术股份有限公司Image size processing method and system
CN107846412A (en)*2017-11-282018-03-27五八有限公司Identifying code request processing method, device and identifying code processing system
CN109902474A (en)*2019-03-012019-06-18北京奇艺世纪科技有限公司The determination method and device of the motion track of mobile object in a kind of sliding identifying code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130106916A1 (en)*2011-10-272013-05-02Qing Kevin GuoDrag and drop human authentication
CN105094918A (en)*2015-08-112015-11-25北京思特奇信息技术股份有限公司Image size processing method and system
CN107846412A (en)*2017-11-282018-03-27五八有限公司Identifying code request processing method, device and identifying code processing system
CN109902474A (en)*2019-03-012019-06-18北京奇艺世纪科技有限公司The determination method and device of the motion track of mobile object in a kind of sliding identifying code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ECHX: "一步步实现滑动验证码(拼图验证码),Java图片处理关键代码", 《HTTPS://WWW.CNBLOGS.COM/YAOHONV/P/SWIPECAPTCHA.HTML》*

Similar Documents

PublicationPublication DateTitle
CN103761536B (en)Human face beautifying method based on non-supervision optimal beauty features and depth evaluation model
Prasad et al.A novel framework for making dominant point detection methods non-parametric
WO2009117311A3 (en)Controller with an integrated camera and methods for interfacing with an interactive application
CN101807114A (en)Natural interactive method based on three-dimensional gestures
CN108549878B (en)Depth information-based hand detection method and system
JP2005073015A5 (en)
CN108257203B (en)Home decoration effect graph construction rendering method and platform
CN102346913A (en)Simplification method of polygon models of image
CN104834459A (en)Providing drawing assistance using feature detection and semantic labeling
CN108932141A (en)Copy drawing implementation method and device, electronic equipment, storage medium
CN108280865A (en)Color matching method, system, storage medium and computer equipment
CN110955881A (en)Simple verification method based on image movement
CN103870048B (en)Detection method of touch device
CN112884864A (en)Drawing method based on automatic correction rectangle of electronic whiteboard and application thereof
US9292970B2 (en)Systems and methods of retopologizing graphical data
CN113538624B (en)Fillet drawing method, device, equipment and medium for sector ring page element
CN110096736A (en)A kind of two dimension house type drawing drawing method
KR102147930B1 (en)Method and apparatus for recognizing pose
CN106708406B (en)Method and device for beautifying handwriting of writing brush
CN101342839A (en)Manufacturing technique for knap surface veins containing carving
TWI532007B (en)Searching method for plane area of 3D module
CN104731492B (en)A kind of magic pen and its display control method
CN105653124A (en)Handwriting effect simulation method and device
JP2005176200A5 (en)
CN119669501B (en)Design method, system, equipment and medium for ancient folk house woodcarving window patterns

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20200403

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp