CN109933971A - A kind of verification method based on identifying code, device, electronic equipment and storage medium - Google Patents

A kind of verification method based on identifying code, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109933971A
CN109933971A CN201910145048.4A CN201910145048A CN109933971A CN 109933971 A CN109933971 A CN 109933971A CN 201910145048 A CN201910145048 A CN 201910145048A CN 109933971 A CN109933971 A CN 109933971A
Authority
CN
China
Prior art keywords
verified
verification
shape
target verification
target
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
CN201910145048.4A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910145048.4A priority Critical patent/CN109933971A/en
Publication of CN109933971A publication Critical patent/CN109933971A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of verification method based on identifying code, device, electronic equipment and storage medium, to solve the problems, such as that safety of verification code is low in the prior art, poor user experience.The described method includes: showing the display interface of the prompt information comprising drawing target verification figure, the prompt information is for prompting the corresponding verification condition of the target verification figure;Obtain the first coordinate information of the figure to be verified drawn in the display interface;According to first coordinate information, judge whether the figure to be verified meets the corresponding verification condition of the target verification figure;According to judging result, preset subsequent operation is carried out.

Description

A kind of verification method based on identifying code, device, electronic equipment and storage medium
Technical field
The invention mainly relates to Internet technical field more particularly to a kind of verification methods based on identifying code, device, electricity Sub- equipment and storage medium.
Background technique
Identifying code is widely used in the Safeguard tactics of website, its main mechanism is to force human-computer interaction, is come Resist and such as imitate logins, malice decryption, brush ticket, the forum hacker that pours water with software imitate normal users, automation is attacked The behavior of website.
Common identifying code is mostly to identify the number that deforms and letter in a figure, with image recognition technology at Ripe, this identifying code is easy to be cracked.In response to this, the complexity that number of site increases picture is used as reply, than Such as text identifying code, picture screening verification code, dynamic picture identifying code.The identifying code of this upgrading complexity, in certain journey More rudimentary attack has been stopped on degree, but has encountered the image recognition algorithm of higher level, still can easily have been cracked, and The difficulty for increasing user's identification, reduces experience.
In addition, some platforms are proposed the advanced inscience verification modes such as sliding verifying in recent years, although improving user's body Test, but this verification mode must be based on huge Back end data analysis and can just accomplish, realize complicated, higher cost, for than It is more small-sized, again need compared with high safety guarantee website less be applicable in.
Summary of the invention
The embodiment of the invention provides a kind of verification method based on identifying code, device, electronic equipment and storage mediums, use To solve the problems, such as that safety of verification code is low in the prior art, poor user experience.
The embodiment of the invention provides a kind of verification methods based on identifying code, which comprises
Show the display interface of the prompt information comprising drawing target verification figure, the prompt information is described for prompting The corresponding verification condition of target verification figure;
Obtain the first coordinate information of the figure to be verified drawn in the display interface;
According to first coordinate information, it is corresponding to judge whether the figure to be verified meets the target verification figure Verification condition;
According to judging result, preset subsequent operation is carried out.
Further, described to judge whether the figure to be verified meets the corresponding verification condition of the target verification figure Include:
Judge whether the figure to be verified is identical as the shape of the target verification figure;And/or
Judge whether the figure to be verified is located in the preset drawing area of target verification figure.
Further, described to judge whether the figure to be verified is identical as the shape of the target verification figure and include:
The corresponding goal rule of the figure to be verified is determined using preset algorithm according to first coordinate information Figure, the shape of the goal rule figure are identical as the shape of the target verification figure;
Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold value model In enclosing;
If so, determine that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines The shape of the figure to be verified is not identical as the shape of the target verification figure.
Further, described to judge whether the figure to be verified is located at the corresponding drawing area of the target verification figure Inside include:
Judge the first coordinate information of the figure to be verified, if be respectively positioned in the drawing area.
The embodiment of the invention provides a kind of verifying device based on identifying code, described device include:
Display module includes the display interface for drawing the prompt information of target verification figure for showing, the prompt letter Breath is for prompting the corresponding verification condition of the target verification figure;
Module is obtained, for obtaining the first coordinate information of the figure to be verified drawn in the display interface;
Judgment module, for judging whether the figure to be verified meets the target according to first coordinate information The corresponding verification condition of verification pattern;
Operation module, for carrying out preset subsequent operation according to judging result.
Further, the judgment module, specifically for judging the figure to be verified and the target verification figure Whether shape is identical;And/or judge whether the figure to be verified is located in the corresponding drawing area of the target verification figure.
Further, the judgment module is specifically used for according to first coordinate information, using preset algorithm, really Determine the corresponding goal rule figure of the figure to be verified, the shape of the goal rule figure and the target verification figure Shape is identical;Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold value model In enclosing;If so, determining that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines institute The shape for stating figure to be verified is not identical as the shape of the target verification figure.
Further, the judgment module, specifically for judging the first coordinate information of the figure to be verified, if In the drawing area.
The embodiment of the invention provides a kind of electronic equipment, including processor, communication interface, memory and communication bus, Wherein, processor, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the place Manage the step of device executes any of the above-described the method.
The embodiment of the invention provides a kind of computer readable storage medium, it is stored with the meter that can be executed by Cloud Server Calculation machine program, when described program is run on the cloud server, so that the Cloud Server executes described in any of the above-described The step of method.
The embodiment of the invention provides a kind of verification method based on identifying code, device, electronic equipment and storage medium, institutes The method of stating includes: the display interface for showing the prompt information comprising drawing target verification figure, and the prompt information is for prompting The corresponding verification condition of the target verification figure;Obtain the first coordinate letter for the figure to be verified drawn in the display interface Breath;According to first coordinate information, judge whether the figure to be verified meets the corresponding verifying of the target verification figure Condition;According to judging result, preset subsequent operation is carried out.In embodiments of the present invention, by judging to draw in display interface Figure to be verified whether meet the verification condition of preset target verification figure to carry out subsequent operation, using drawing target The mode of verification pattern improves the safety of identifying code, and realizes simply, improves the experience of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of process schematic of the verification method based on identifying code provided in an embodiment of the present invention;
Fig. 2A is a kind of structural schematic diagram of identifying code provided in an embodiment of the present invention;
Fig. 2 B is a kind of corresponding drawing area exemplary diagram of target verification figure provided in an embodiment of the present invention;
Fig. 3 is the result exemplary diagram that identifying code provided in an embodiment of the present invention is verified;
Fig. 4 is that identifying code provided in an embodiment of the present invention verifies unacceptable result exemplary diagram;
Fig. 5 is a kind of structural schematic diagram of verifying device based on identifying code provided in an embodiment of the present invention;
Fig. 6 is a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The present invention will be describe below in further detail with reference to the accompanying drawings, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist All other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is a kind of process schematic of the verification method based on identifying code provided in an embodiment of the present invention, the process packet Include following steps:
S101: the display interface of the prompt information comprising drawing target verification figure is shown, the prompt information is for mentioning Show the corresponding verification condition of the target verification figure.
It is easily cracked to solve currently used identifying code, the low and advanced inscience verification mode of user experience needs Complicated technical support is wanted, and cost and high problem are drawn by acquisition in display interface in embodiments of the present invention Figure to be verified judges that figure to be verified meets the corresponding verification condition of target verification figure right, and then according to judging result Carry out preset subsequent operation.
Firstly, when detecting that the display interface verified generates this identifying code when being verified, the display It may include the prompt information for drawing target verification figure on interface, in order to improve the accuracy of verifying, which is to use The verification condition corresponding to prompt target verification figure.The specific corresponding verification condition of target verification figure can wrap Include content that the band of position of target verification figure, the shape of target verification figure or target verification figure include etc. wherein One or more.
In the display interface for drawing figure to be verified, it can be operated by dragging mouse or direct touching display screen Mode draws the target verification figure that display interface prompt is drawn.For example the prompt information of the display interface is prompted in display interface Circular target verification figure is drawn in left side, then can carry out circular drafting in the left side of display interface according to prompt information Operation.The specific target verification figure can be regular figure, be also possible to irregular figure, preferably, generally rule Figure, such as rectangular, star, triangle etc. improve user experience, the target verification figure to reduce the drafting difficulty of user Shape is mostly simple geometric figure.
S102: the first coordinate information of the figure to be verified inputted in the display interface is obtained.
After the drafting for detecting display interface operates, by way of image recognition, obtain defeated in display interface First coordinate information of the figure to be verified entered, specifically, the accuracy in order to guarantee verifying, first coordinate information can be The coordinate set that the coordinate information of each pixel of figure to be verified is constituted.
S103: according to first coordinate information, judge whether the figure to be verified meets the target verification figure Corresponding verification condition.
After the first coordinate information that figure to be verified that display interface is drawn has been determined, according to first coordinate information, Judge whether figure to be verified meets the corresponding verification condition of target verification figure of identifying code.The verification condition can be set in advance It sets, for example can be the band of position of target verification figure, the shape of target verification figure or target verification figure and include Content etc..
For example, if the corresponding verification condition of preset target verification figure is: in the left side of the display interface of identifying code Draw a circle.So obtain display interface drafting figure to be verified the first coordinate information after, can first judge this to Whether verification pattern is round, then judges whether the first coordinate information is located at the left side of the display interface of identifying code.
S104: according to judging result, preset subsequent operation is carried out.
Based on the content of above-mentioned steps S103, preset subsequent operation can be carried out according to judging result.Specifically, not Same judging result, corresponding preset subsequent operation are different.Such as, if it is determined that the figure to be verified of drafting meets mesh The corresponding verification condition of verification pattern is marked, which can be the prompt information that display is verified, can also be with It is directly to jump interface to be visited, or other subsequent verifying steps can also be continued in order to guarantee that verifying is more accurate It is rapid etc.;And if it is determined that draw figure to be verified be not able to satisfy the corresponding verification condition of target verification figure, can directly exist Unacceptable prompt information is verified in display interface output, or can also prompt to verify and show that new identifying code shows boundary again Face.
Specific preset subsequent operation can be any one of the above, no longer limit in embodiments of the present invention.
In the embodiment of the present invention, tested by judging whether the figure to be verified drawn in display interface meets preset target The verification condition of figure is demonstrate,proved to carry out subsequent operation, the safety of identifying code is improved by the way of drawing target verification figure Property, and realize simply, improve the experience of user.
Embodiment 2:
It is on the basis of the above embodiments, in embodiments of the present invention, described in order to ensure the accuracy of identifying code verifying Judge whether the figure to be verified meets the corresponding verification condition of the target verification figure and include:
Judge whether the shape of the figure to be verified is identical as the shape of the target verification figure;And/or
Judge whether the figure to be verified is located in the corresponding drawing area of the target verification figure.
It is in embodiments of the present invention, all default for target verification figure in order to guarantee the accuracy of identifying code verifying Corresponding verification condition.Specifically, the verification condition comprises at least one of the following: the shape of target verification figure, target verification The drawing area of figure.
It can be judged when judging based on any one of the above verification condition, but in order to further ensure verifying Accuracy, it is preferable that verification pattern can be treated according to above-mentioned two verification condition and be verified.
Specifically, after obtaining the figure to be verified of drafting, it can be determined that the shape and target of the figure to be verified Whether the shape of verification pattern is identical, that is, judges whether the shape of the figure to be verified is the corresponding shape of target verification figure Shape.Specifically, being judged as if the shape of the target verification figure is prompted to be square in the prompt information of display interface Whether the shape for the figure to be verified drawn is square, if it is, thinking the shape and target verification of the figure to be verified The shape of figure is identical.
In addition, drawing for target verification figure can also be preset in order to further ensure the accuracy of identifying code verifying Region processed.For example, preset drawing area is the left half side of identifying code display interface, then then may determine that the to be verified of drafting Whether figure is in the corresponding default drawing area of target verification figure, i.e., half side positioned at a left side for identifying code display interface.Specifically , it can be judged according to the coordinate information of figure to be verified, other modes can also be used certainly, in embodiments of the present invention No longer limit.
In the embodiment of the present invention, by presetting the verification condition of target verification figure, the figure to be verified drawn is judged Whether shape meets corresponding verification condition, it is ensured that the accuracy of identifying code verifying.
Embodiment 3:
It is in embodiments of the present invention, described to sentence on the basis of the various embodiments described above in order to improve the safety of identifying code Whether the figure to be verified that breaks is identical as the shape of the target verification figure to include:
The corresponding goal rule of the figure to be verified is determined using preset algorithm according to first coordinate information Figure, the shape of the goal rule figure are identical as the shape of the target verification figure;
Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold value model In enclosing;
If so, determine that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines The shape of the figure to be verified is not identical as the shape of the target verification figure.
Pass through to determine whether figure to be verified is able to verify that, in embodiments of the present invention, firstly, it is necessary to according to acquisition Figure to be verified the first coordinate information, in conjunction with preset pattern fits algorithm, such as least square method, genetic algorithm etc., The corresponding goal rule figure of the figure to be verified is fitted, wherein the goal rule figure is the figure that rule degree is 100%, And for accurate judgement, whether the shape of the figure to be verified is consistent with the shape of target verification figure, the target which obtains The shape of regular figure can be identical as the shape of target verification figure.For example, if the target that identifying code prompt is drawn is tested Demonstrate,proving figure is circle, then by way of image recognition and preset pattern fits algorithm, according to the figure to be verified of drafting First coordinate information fits the circle that a rule degree is 100%.
It wherein, is the prior art according to the process of coordinate information fit object regular figure, in embodiments of the present invention not It repeats again.
Purpose existing for identifying code mainly forces human-computer interaction, prevents the machine simulations user such as hacker software It the behaviors such as logs in, and for the embodiment of the present invention, by the figure to be verified of hand drawn and passes through machine program drafting Figure to be verified be different, be based on this point, go out goal rule figure in the pattern fits to be verified of the drafting according to acquisition It, can be according to the registration of both figure to be verified and goal rule figure, to distinguish whether figure to be verified is manual after shape It draws, and then which subsequent predetermined registration operation of the execution is determined.
Specifically, the threshold range of a registration, such as 60%-90% can be preset.Using figure identification Mode, obtain respectively figure to be verified the first coordinate information and the corresponding goal rule figure of the figure to be verified First coordinate information and the second coordinate information are compared by two coordinate informations, and then calculate figure and goal rule to be verified The registration of both figures.Specific first coordinate information can be the first of each pixel of the figure to be verified of acquisition The set of coordinate, second coordinate information can be the collection of the second coordinate of each pixel of the goal rule figure of acquisition It closes, first in two set then can be sat to target value and the second seat target value is compared, determining has same coordinate The quantity of the pixel of value, by the total quantity of the quantity of the pixel with same coordinate value and the pixel of goal rule figure Registration of the ratio as figure to be verified and goal rule figure.
If the registration is in the threshold range of preset registration, i.e. between 60%-90%, it is determined that this is to be verified The shape of figure is consistent with the shape for target verification figure, and for registration except the threshold range of preset registration Figure to be verified can then export the unacceptable prompt information of verifying, specific registration is minimum lower than preset threshold range The shape or and target verification that value, the i.e. shape for then thinking the figure to be verified lower than 60% are not target verification figure The differences in shape of figure is larger;And registration is higher than preset threshold range maximum value, i.e., then thinks that this is to be verified higher than 90% Figure may non-manual drafting, the considerations of for network security, can equally export the unacceptable prompt information of verifying.
In the embodiment of the present invention, by obtain display interface draw figure to be verified, and calculate the figure to be verified and The registration of both goal rule figures, only registration just think figure to be verified in preset registration threshold range Shape is consistent with the shape of target verification figure.The method increase the safeties of identifying code, and realize simply, improve use The experience at family.
Embodiment 4:
In order to further ensure that the accuracy of identifying code verifying, on the basis of the various embodiments described above, implement in the present invention It is described to judge whether the figure to be verified is located in the corresponding drawing area of the target verification figure and include: in example
Judge the first coordinate information of the figure to be verified, if be respectively positioned in the drawing area.
It is to input figure to be verified in display interface, that is, carry out in embodiments of the present invention in order to improve safety Graphic plotting, in order to further increase safety need to meet some requirements when carrying out graphic plotting to be verified, For example what region the drafting of figure to be verified is carried out in, alternatively, when carrying out graphic plotting to be verified, it should what include Information etc..
Therefore, the verification condition also met comprising target verification figure in display interface shown in the embodiment of the present invention Prompt information, such as the information that the prompt information to be included for target verification figure can be one ring of picture and live to show Smiling face in interface, then the corresponding drawing area of target verification figure can be then the region around smiling face.
By taking initial authentication code as shown in Figure 2 A as an example, the display interface prompt information of the identifying code is that " please use a side Frame carrys out all well all enclosing ", then left side (left and right as shown in the figure) all regions comprising " good " word are then tested for target Demonstrate,prove drawing area corresponding to figure.When showing the display interface of the identifying code, it should in the drawing area of the display interface In, i.e., all include " good " word regions, drawing area corresponding to target verification figure draws figure to be verified.
Specifically, the determination of the corresponding drawing area of target verification figure can according to the shape of target verification figure, The prompt information for the verification condition that target verification figure meets in display interface determines.For example the shape of target verification figure is Circle, the prompt information of corresponding verification condition are to draw target verification figure to surround specified region, can be and " draw a circle Enclose smiling face " etc..It, can be using the part only comprising specified region as target verification figure so when determining drawing area Minimum enclosing region will further include the part of other white spaces as target verification figure other than only including specified region Maximum enclosure region can be more preferably target verification figure regardless of maximum enclosure region or minimum enclosing region Shape.Wherein maximum enclosure region should be comprising minimum enclosing region, within maximum enclosure region except minimum enclosing region Region as the corresponding default drawing area of target verification figure.
For example, corresponding drawing area can be by two circles of different sizes if target verification figure is circle The circular ring shape of composition, if target verification figure be it is rectangular, corresponding drawing area can be by two sides of different sizes The centre that shape is constituted is empty figure, and other target verification figures can also carry out setting for drawing area in this manner It sets.
Specifically, as shown in Figure 2 B, the left side of the display interface of identifying code is target verification figure institute enclosing region, i.e., one A smiling face, right side are the prompt information of verification condition corresponding to target verification figure, i.e., to one circle of picture outside smiling face.In needle , can be as shown in Figure 2 B when being preset to target verification figure progress drawing area, wherein dotted line is minimum encirclement area The edge in domain, solid line are the edge in maximum enclosure region, and the region between dotted line and solid line is that the target verification figure is corresponding Drawing area.
After pre-setting drawing area for target verification figure, sat according to the first of the figure to be verified of drafting Information is marked, judges whether the figure to be verified is located in preset drawing area, if be located in drawing area, can be carried out Other verification steps directly display the prompt information being verified.Specific first coordinate information is figure to be verified The set of first coordinate of pixel obtains the first coordinate of each pixel of the figure to be verified of drafting, judges that this is to be tested Whether each pixel of card figure is respectively positioned in the corresponding drawing area of target verification figure.Only in the equal position of all pixels point When the drawing area, other verification steps of figure to be verified can be just carried out.If each pixel of the figure to be verified Point is not respectively positioned in the drawing area, then can export the unacceptable prompt information of verifying.
In the embodiment of the present invention, by being directed to the corresponding drawing area of target verification figure, identifying code is further improved The accuracy of verifying.
The various embodiments described above are described in detail with a specific embodiment below, comprising the following steps:
Step 1: showing the prompt letter of the verification condition met comprising input target verification figure and target verification figure The display interface of breath obtains the first coordinate information of the figure to be verified drawn in the display interface.
When needing to carry out verification operation, the display interface of identifying code is shown, which includes input target verification The prompt information for the verification condition that figure and target verification figure are met, according to the prompt of display interface, draw it is corresponding to Verification pattern.Then the first coordinate information of the figure to be verified of drafting is obtained.
Step 2: judging the first coordinate information of figure to be verified, if be respectively positioned on the corresponding drafting of target verification figure In region.
Corresponding drawing area is pre-set for target verification figure, according to the of the figure to be verified that user draws One coordinate information, judges whether the figure to be verified is respectively positioned in preset drawing area.
If it is, other subsequent verification steps can be continued or export the prompt information being verified, such as Fruit is no, then exports the unacceptable prompt information of verifying.
Step 3: according to the first coordinate information of figure to be verified, determine the corresponding goal rule figure of figure to be verified, Judge whether figure to be verified is identical as the shape of target verification figure, if it is, carrying out preset subsequent operation.
According to the first coordinate information of the figure to be verified of acquisition, in conjunction with preset pattern fits algorithm, fit this to The corresponding goal rule figure of verification pattern, wherein the goal rule figure is the figure that rule degree is 100%, and the target The shape of regular figure should be identical with the shape of target verification figure.
First coordinate information can be the set of the coordinate of the pixel of figure to be verified.It is verified in above steps It, specifically can be according to the set of the first coordinate of each pixel of figure to be verified and target verification figure after success The set of second coordinate of each pixel calculates the registration of figure and target verification figure to be verified.If registration exists In preset registration threshold range, it is determined that figure to be verified is identical as the shape of target verification figure.As shown in Figure 3 tests The exemplary diagram that card code is verified, the circle that wherein irregular heavy line is drawn in figure are to be tested with rectangular as hand drawn Figure is demonstrate,proved, since the registration of figure and the target verification figure to be verified is in preset registration threshold range, really Fixed figure to be verified is identical with the shape of target verification figure, carries out preset subsequent operation at this time, for example, continue to verify or Directly jump interface to be visited.
And if the registration of figure to be verified and target verification figure not in preset registration threshold range, specifically If the registration be lower than the minimum of preset registration, it is determined that the shape of figure to be verified and target verification figure is not It is identical, the unacceptable prompt information of verifying can be exported at this time.And if the registration is higher than the maximum value of preset registration, The considerations of for network security, also directly unacceptable prompt information is verified in output.
Identifying code as shown in Figure 4 verifies unacceptable exemplary diagram, the circle of the heavy line of the rule occurred in the figure and Rectangular is the figure to be verified drawn using machine program, and the registration of figure and the target verification figure to be verified will be big Maximum value in preset registration threshold range, at this point, can then export the unacceptable prompt information of verifying.
The detailed process of above each step has a detailed description in the above-described embodiments, no longer superfluous in embodiments of the present invention It states.
Embodiment 4:
Based on the same technical idea, the embodiment of the present invention provides a kind of verifying device based on identifying code.The present invention is real The device of example offer is applied as shown in figure 5, the device includes:
Display module 501 includes the display interface for drawing the prompt information of target verification figure, the prompt for showing Information is for prompting the corresponding verification condition of the target verification figure;
Module 502 is obtained, for obtaining the first coordinate information of the figure to be verified drawn in the display interface;
Judgment module 503, for judging whether the figure to be verified meets the mesh according to first coordinate information Mark the corresponding verification condition of verification pattern;
Operation module 504, for carrying out preset subsequent operation according to judging result.
Further, the judgment module 503 is specifically used for judging the figure to be verified and the target verification figure Shape it is whether identical;And/or judge whether the figure to be verified is located at the corresponding drawing area of the target verification figure It is interior.
Further, the judgment module 503, is specifically used for according to first coordinate information, using preset algorithm, Determine the corresponding goal rule figure of the figure to be verified, the shape of the goal rule figure and the target verification figure Shape it is identical;Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold value In range;If so, determine that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines The shape of the figure to be verified is not identical as the shape of the target verification figure.
Further, the judgment module 503 is specifically for judging the first coordinate information of the figure to be verified It is no to be respectively positioned in the drawing area.
Embodiment 5:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of electronic equipment 600, as shown in fig. 6, It include: processor 601, communication interface 602, memory 603 and communication bus 604, wherein processor 601, communication interface 602, Memory 603 completes mutual communication by communication bus 604;
It is stored with computer program in the memory 603, when described program is executed by the processor 601, so that The processor 601 executes following steps:
Show the display interface of the prompt information comprising drawing target verification figure, the prompt information is described for prompting The corresponding verification condition of target verification figure;
Obtain the first coordinate information of the figure to be verified drawn in the display interface;
According to first coordinate information, it is corresponding to judge whether the figure to be verified meets the target verification figure Verification condition;
According to judging result, preset subsequent operation is carried out.
Further, the processor be used to judge the figure to be verified and the target verification figure shape whether It is identical;And/or judge whether the figure to be verified is located in the corresponding drawing area of the target verification figure.
Further, the processor is used for according to first coordinate information, using preset algorithm, determine it is described to The corresponding goal rule figure of verification pattern, the shape phase of the shape of the goal rule figure and the target verification figure Together;Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold range; If so, determining that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines described to be tested The shape for demonstrate,proving figure is not identical as the shape of the target verification figure.
Further, the processor is used to judge the first coordinate information of the figure to be verified, if is respectively positioned on institute It states in drawing area.
The communication bus that above-mentioned server is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface 602 is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network Processor, NP) etc.;It can also be digital command processor (Digital Signal Processing, DSP), dedicated collection At circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hard Part component etc..
Embodiment 6:
On the basis of the various embodiments described above, the embodiment of the invention also provides a kind of computer readable storage medium, institutes The computer program for being stored with and being executed in computer readable storage medium by electronic equipment is stated, when described program is in the electronics When being run in equipment, so that the electronic equipment realizes following steps when executing:
It is stored with computer program in the memory, when described program is executed by the processor, so that the place It manages device and executes following steps:
Show the display interface of the prompt information comprising drawing target verification figure, the prompt information is described for prompting The corresponding verification condition of target verification figure;
Obtain the first coordinate information of the figure to be verified drawn in the display interface;
According to first coordinate information, it is corresponding to judge whether the figure to be verified meets the target verification figure Verification condition;
According to judging result, preset subsequent operation is carried out.
Further, the processor be used to judge the figure to be verified and the target verification figure shape whether It is identical;And/or judge whether the figure to be verified is located in the corresponding drawing area of the target verification figure.
Further, the processor is used for according to first coordinate information, using preset algorithm, determine it is described to The corresponding goal rule figure of verification pattern, the shape phase of the shape of the goal rule figure and the target verification figure Together;Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold range; If so, determining that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines described to be tested The shape for demonstrate,proving figure is not identical as the shape of the target verification figure.
Further, the processor is used to judge the first coordinate information of the figure to be verified, if is respectively positioned on institute It states in drawing area.
Above-mentioned computer readable storage medium can be any usable medium that the processor in electronic equipment can access Or data storage device, including but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc., optical memory Such as CD, DVD, BD, HVD and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid state hard disk (SSD) etc..
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or an operation are distinguished with another entity or another operation, without necessarily requiring or implying these entities Or there are any actual relationship or orders between operation.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, the reality of complete hardware embodiment, complete Application Example or connected applications and hardware aspect can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of verification method based on identifying code, which is characterized in that the described method includes:
Show the display interface of the prompt information comprising drawing target verification figure, the prompt information is for prompting the target The corresponding verification condition of verification pattern;
Obtain the first coordinate information of the figure to be verified drawn in the display interface;
According to first coordinate information, judge whether the figure to be verified meets the corresponding verifying of the target verification figure Condition;
According to judging result, preset subsequent operation is carried out.
2. the method as described in claim 1, which is characterized in that described to judge whether the figure to be verified meets the target The corresponding verification condition of verification pattern includes:
Judge whether the figure to be verified is identical as the shape of the target verification figure;And/or
Judge whether the figure to be verified is located in the corresponding drawing area of the target verification figure.
3. method according to claim 2, which is characterized in that the judgement figure to be verified and the target verification figure Whether the shape of shape is identical to include:
The corresponding goal rule figure of the figure to be verified is determined using preset algorithm according to first coordinate information, The shape of the goal rule figure is identical as the shape of the target verification figure;
Judge the registration of the figure to be verified and the goal rule figure whether in preset registration threshold range;
If so, determining that the shape of the figure to be verified is identical as the shape of the target verification figure, otherwise, it determines described The shape of figure to be verified is not identical as the shape of the target verification figure.
4. method according to claim 2, which is characterized in that described to judge whether the figure to be verified is located at the target Include: in the corresponding drawing area of verification pattern
Judge the first coordinate information of the figure to be verified, if be respectively positioned in the drawing area.
5. a kind of verifying device based on identifying code, which is characterized in that described device includes:
Display module, includes the display interface for drawing the prompt information of target verification figure for showing, the prompt information is used In the corresponding verification condition of the prompt target verification figure;
Module is obtained, for obtaining the first coordinate information of the figure to be verified drawn in the display interface;
Judgment module, for judging whether the figure to be verified meets the target verification according to first coordinate information The corresponding verification condition of figure;
Operation module, for carrying out preset subsequent operation according to judging result.
6. device as claimed in claim 5, which is characterized in that the judgment module is specifically used for judging the figure to be verified Whether shape is identical as the shape of the target verification figure;And/or judge whether the figure to be verified is located at the target and tests It demonstrate,proves in the corresponding drawing area of figure.
7. device as claimed in claim 6, which is characterized in that the judgment module is specifically used for according to first coordinate Information determines the corresponding goal rule figure of the figure to be verified, the shape of the goal rule figure using preset algorithm Shape is identical as the shape of the target verification figure;Judging the registration of the figure to be verified and the goal rule figure is It is no in preset registration threshold range;If so, shape and the target verification figure of the determining figure to be verified Shape it is identical, otherwise, it determines the shape of the figure to be verified is not identical as the shape of the target verification figure.
8. device as claimed in claim 6, which is characterized in that the judgment module is specifically used for judging the figure to be verified First coordinate information of shape, if be respectively positioned in the drawing area.
9. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor, so that the processor Perform claim requires the step of any one of 1-4 the method.
10. a kind of computer readable storage medium, which is characterized in that it is stored with the computer journey that can be executed by Cloud Server Sequence, when described program is run on the cloud server, so that the Cloud Server perform claim requires described in any one of 1-4 The step of method.
CN201910145048.4A 2019-02-27 2019-02-27 A kind of verification method based on identifying code, device, electronic equipment and storage medium Pending CN109933971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910145048.4A CN109933971A (en) 2019-02-27 2019-02-27 A kind of verification method based on identifying code, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910145048.4A CN109933971A (en) 2019-02-27 2019-02-27 A kind of verification method based on identifying code, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109933971A true CN109933971A (en) 2019-06-25

Family

ID=66985971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910145048.4A Pending CN109933971A (en) 2019-02-27 2019-02-27 A kind of verification method based on identifying code, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109933971A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414609A (en) * 2020-03-19 2020-07-14 腾讯科技(深圳)有限公司 Object verification method and device
CN112257052A (en) * 2020-10-22 2021-01-22 上海悦易网络信息技术有限公司 Verification method and device based on picture
CN112667989A (en) * 2021-01-06 2021-04-16 拉扎斯网络科技(上海)有限公司 Method and apparatus for verifying and generating verification information, storage medium, and electronic device
CN112818319A (en) * 2021-01-25 2021-05-18 天津五八到家货运服务有限公司 Verification method and device of graphic verification code, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064607A (en) * 2011-10-20 2013-04-24 网秦无限(北京)科技有限公司 Method and system for unlocking device with touch screen
CN103488934A (en) * 2013-09-24 2014-01-01 刘雪英 Method, device and system for inputting verification codes
CN103927465A (en) * 2014-01-05 2014-07-16 艾文卫 Verification code generating and verifying method based on graphs
CN104023029A (en) * 2014-06-19 2014-09-03 百度在线网络技术(北京)有限公司 Method and device for verifying verification codes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064607A (en) * 2011-10-20 2013-04-24 网秦无限(北京)科技有限公司 Method and system for unlocking device with touch screen
CN103488934A (en) * 2013-09-24 2014-01-01 刘雪英 Method, device and system for inputting verification codes
CN103927465A (en) * 2014-01-05 2014-07-16 艾文卫 Verification code generating and verifying method based on graphs
CN104023029A (en) * 2014-06-19 2014-09-03 百度在线网络技术(北京)有限公司 Method and device for verifying verification codes

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414609A (en) * 2020-03-19 2020-07-14 腾讯科技(深圳)有限公司 Object verification method and device
CN111414609B (en) * 2020-03-19 2024-01-26 腾讯科技(深圳)有限公司 Object verification method and device
CN112257052A (en) * 2020-10-22 2021-01-22 上海悦易网络信息技术有限公司 Verification method and device based on picture
CN112667989A (en) * 2021-01-06 2021-04-16 拉扎斯网络科技(上海)有限公司 Method and apparatus for verifying and generating verification information, storage medium, and electronic device
CN112818319A (en) * 2021-01-25 2021-05-18 天津五八到家货运服务有限公司 Verification method and device of graphic verification code, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109933971A (en) A kind of verification method based on identifying code, device, electronic equipment and storage medium
CN108664364B (en) Terminal testing method and device
CN104065666B (en) A kind of method and device for generating picture validation code
CN109756458B (en) Identity authentication method and system
CN107682368B (en) Verification method, client, server and system based on interactive operation
WO2017032265A1 (en) Application push method and apparatus, and a serving device
CN108399327B (en) Electronic device, user authentication method based on dynamic picture and storage medium
EP3189472B1 (en) Managing registration of user identity using handwriting
US9548865B2 (en) Token authentication for touch sensitive display devices
CN109871312B (en) Interface testing method, device, equipment and readable storage medium
CN112383554B (en) Interface flow abnormity detection method and device, terminal equipment and storage medium
CN110113329A (en) A kind of verification method and device of identifying code
CN110519269B (en) Verification method, device and system for image-text click data and mobile terminal
US10896252B2 (en) Composite challenge task generation and deployment
CN108959865A (en) A kind of verification method and device
CN111181771A (en) Security changing abnormity positioning method and device based on fort machine and electronic equipment
CN107623696B (en) User identity verification method and device based on user behavior characteristics
JP6634055B2 (en) System and method for preventing unfair evaluation of an application by a user
CN111090849A (en) Memory, verification code implementation method, device and equipment
CN107679865B (en) Identity verification method and device based on touch area
CN106878248A (en) A kind of verification method and equipment
CN110781833A (en) Authentication method and device and electronic equipment
CN113422687B (en) Verification method, verification server and verification system
TWI426764B (en) Randomly generate methods for verifying graphics and questionnaires
JP6168645B2 (en) Reverse Turing test method and access authentication method

Legal Events

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

Application publication date: 20190625

RJ01 Rejection of invention patent application after publication