CN111563941A - Picture verification code generation method, verification method, device and related equipment - Google Patents

Picture verification code generation method, verification method, device and related equipment Download PDF

Info

Publication number
CN111563941A
CN111563941A CN202010390154.1A CN202010390154A CN111563941A CN 111563941 A CN111563941 A CN 111563941A CN 202010390154 A CN202010390154 A CN 202010390154A CN 111563941 A CN111563941 A CN 111563941A
Authority
CN
China
Prior art keywords
picture
sliding
verification
target area
verification 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.)
Granted
Application number
CN202010390154.1A
Other languages
Chinese (zh)
Other versions
CN111563941B (en
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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202010390154.1A priority Critical patent/CN111563941B/en
Publication of CN111563941A publication Critical patent/CN111563941A/en
Application granted granted Critical
Publication of CN111563941B publication Critical patent/CN111563941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation

Abstract

The embodiment of the invention provides a picture verification code generation method, a verification method, a device and related equipment, wherein the method comprises the following steps: acquiring a reference picture of a first knowledge domain; selecting a target area from the reference picture, and extracting picture content of the target area as a sliding picture; acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain; covering the filling picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code. The embodiment of the invention can increase the difficulty of identifying the target area by a machine and improve the reliability of the picture verification code.

Description

Picture verification code generation method, verification method, device and related equipment
Technical Field
The embodiment of the invention relates to the technical field of verification, in particular to a picture verification code generation method, a verification method, a device and related equipment.
Background
The image identifying code technology is a part of the modern network security technology and is used for carrying out man-machine authentication on an access object so as to prevent a machine from carrying out large-flow malicious access. The picture sliding verification code is a mainstream picture verification code, and mainly comprises: the device comprises a background picture and a sliding picture which is positioned above the background picture and used for sliding; when the picture sliding verification code is used for verification, the verification is mainly realized by sliding the sliding picture to the target area of the background picture.
At present, when a picture sliding verification code is generated, picture contents of a target area in a background picture are mainly extracted to obtain a sliding picture, and the target area is easily identified by a machine due to the mode, so that the machine easily disguises the operation of sliding the sliding picture to the target area, and man-machine verification is difficult to effectively achieve.
Therefore, the reliability of the currently generated picture sliding verification code is low, and how to provide an improved picture verification code generation scheme to increase the difficulty of machine identification of the target area and improve the reliability of the picture verification code becomes a problem that needs to be solved by the technical staff in the field.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a device and a related apparatus for generating a picture verification code, so as to increase the difficulty of a machine in identifying a target area and improve the reliability of the picture verification code.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for generating a picture verification code, including:
acquiring a reference picture of a first knowledge domain;
selecting a target area from the reference picture, and extracting picture content of the target area as a sliding picture;
acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain;
covering the filling picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
With reference to the first aspect, in a first implementation manner of the first aspect, the extracting the picture content of the target region as a sliding picture includes:
and copying the picture content of the target area to obtain a sliding picture.
With reference to the first aspect, in a second implementation manner of the first aspect, the overlaying the filler picture on at least the target area of the reference picture to obtain a background picture includes:
and covering the filling picture in the target area of the reference picture, and performing boundary blurring processing on the boundary corresponding to the filling picture and the reference picture to obtain a background picture.
In a second aspect, an embodiment of the present invention provides a verification method, including:
acquiring a picture verification code, wherein the picture verification code comprises a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture;
displaying the background picture and the sliding picture positioned on the background picture, and displaying prompt information, wherein the prompt information is used for prompting the sliding picture to recover the complete picture content of the background picture;
detecting a sliding instruction of the sliding picture, and sliding the sliding picture;
when an instruction for releasing sliding is detected, sliding data of the sliding picture is determined;
and sending a verification request to a server according to at least the sliding data.
With reference to the second aspect, in a first implementation manner of the second aspect, the determining sliding data of the sliding picture includes:
and determining the position of the sliding picture when the command of releasing the sliding is detected, and the track point corresponding to the sliding process of the sliding picture.
In a third aspect, an embodiment of the present invention provides an apparatus for generating a picture verification code, including:
the first acquisition module is used for acquiring a reference picture of a first knowledge domain;
the selection extraction module is used for selecting a target area from the reference picture and extracting the picture content of the target area as a sliding picture;
the second acquisition module is used for acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain;
a background picture obtaining module, configured to cover the filler picture at least in a target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
In a fourth aspect, an embodiment of the present invention provides an authentication apparatus, including:
the picture verification code acquisition module is used for acquiring a picture verification code, and the picture verification code comprises a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture;
the picture verification code display module is used for displaying the background picture and the sliding picture positioned on the background picture and displaying prompt information, and the prompt information is used for prompting the sliding picture to slide;
the sliding detection module is used for detecting a sliding instruction of the sliding picture and sliding the sliding picture;
the sliding data determining module is used for determining sliding data of the sliding picture when an instruction for releasing sliding is detected;
and the request sending module is used for sending a verification request to the server at least according to the sliding data.
In a fifth aspect, an embodiment of the present invention provides a server, including: at least one memory and at least one processor; the memory stores one or more computer-executable instructions, and the processor calls the one or more computer-executable instructions to execute the picture verification code generation method.
In a sixth aspect, an embodiment of the present invention provides a terminal, including: at least one memory and at least one processor; the memory stores one or more computer-executable instructions that are invoked by the processor to perform the authentication method described above.
In a seventh aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more computer-executable instructions, where the one or more computer-executable instructions are configured to execute the picture verification code generation method described above, or execute the verification method described above.
The picture verification code generation method provided by the embodiment of the invention can acquire a reference picture of a first knowledge domain, select a target area from the reference picture, and extract the picture content of the target area as a sliding picture; acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain; therefore, the filling picture is covered at least in the target area of the reference picture to obtain a background picture, and the picture verification code is formed by the background picture and the sliding picture.
It can be seen that the picture verification code generated in the embodiment of the present invention includes a background picture and a sliding picture, wherein in the embodiment of the present invention, at least in the target area of the reference picture in the first knowledge domain, the filling picture in the second knowledge domain is covered to obtain the background picture, and the sliding picture is the picture content extracted from the target area of the reference picture in the first knowledge domain; because the first knowledge domain is different from the second knowledge domain, the user can understand the original picture content of the sliding picture as the target area in the background picture from the knowledge perspective, so that the user can understand and identify the target area to which the sliding picture in the background picture should slide from the knowledge perspective, and the convenient use of the picture verification code is realized; meanwhile, the filling picture is at least covered on the target area of the reference picture, so that the filling picture can shield the target area, and the difficulty of identifying the target area by a machine is increased. Therefore, the embodiment of the invention can realize the generation of the picture verification code and improve the reliability of the generated picture verification code under the condition that the difficulty of identifying the target area by the machine is improved and the user can understand the position of the target area in the background picture from the knowledge perspective.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram illustrating a prior art picture verification code;
fig. 2 is a flowchart of a method for generating a picture verification code according to an embodiment of the present invention;
FIG. 3 is an alternative example of a slide picture according to an embodiment of the present invention;
FIG. 4 is a diagram of another alternative example of a slide picture provided by an embodiment of the present invention;
fig. 5 is an optional schematic diagram of covering a target area with a slide picture according to an embodiment of the present invention
Fig. 6 is an exemplary diagram of obtaining a filling picture of a second knowledge domain according to an embodiment of the present invention;
FIG. 7 is a flow chart of a blurring process according to an embodiment of the present invention;
fig. 8 is an exemplary diagram of a signaling flow of a picture verification code generation method according to an embodiment of the present invention;
FIG. 9 is an alternative flowchart process diagram of a verification method provided by an embodiment of the present invention;
FIG. 10 is a further signaling flow diagram of an authentication method provided by an embodiment of the present invention;
fig. 11 is an alternative block diagram of a picture verification code generation apparatus according to an embodiment of the present invention;
fig. 12 is another alternative block diagram of a picture verification code generation apparatus according to an embodiment of the present invention;
fig. 13 is a hardware structure implementation diagram of a server according to an embodiment of the present invention;
FIG. 14 is an alternative block diagram of an authentication device provided by an embodiment of the present invention;
FIG. 15 is another alternative block diagram of an authentication device provided by an embodiment of the present invention;
fig. 16 is a block diagram of a further alternative authentication apparatus according to an embodiment of the present invention.
Detailed Description
As can be known from the background art, in the existing scheme for generating the image sliding verification code, the image content of the target region in the background image is usually scratched, and the scratched image content is used as a sliding image; therefore, when verification is carried out based on the picture sliding verification code, the sliding picture can be displayed on the background picture in a superposition mode except for the random position of the target area, if the sliding picture is slid to the target area of the background picture, the verification is passed, and if not, the verification is not passed;
for example, as shown in fig. 1, the picture content of the target region 001 in the background picture 002 is extracted as the sliding picture 003, then the target region 001 of the extracted picture content and the non-target region of the background picture 002 will have a distinct edge, which may be a distinct regular-shaped edge of the target region 001 (as shown in fig. 1, the target region 001 is regular-shaped, and then the target region 001 and the non-target region of the background picture 002 have a regular-shaped edge), or may be a distinct boundary between the pixels of the target region 001 and the pixels of the non-target region (as shown in fig. 1, the edge pixels of the target region 001 and the pixels of the non-target region change significantly), which makes the machine easily detect the target region 001 from the background picture 002; when the verification is performed, the machine is very easy to disguise the operation of sliding the sliding picture 003 to the target area 001, so that the man-machine verification is difficult to effectively realize. It should be noted that, in the example of fig. 1, if the user operates the slide picture 003, the user can implement the sliding of the slide picture 003 by operating the slider 005 in the slide bar 004.
In summary, in the picture sliding verification code generated by the prior art, the target area of the background picture is easily recognized by the machine, which results in low reliability of the picture sliding verification code. Therefore, the embodiment of the invention provides an improved picture verification code generation scheme, so as to increase the difficulty of a machine in identifying a target area and improve the reliability of the picture verification code.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an alternative implementation, an optional flow of the picture verification code generation method provided by the embodiment of the present invention may be as shown in fig. 2, where the flow may be executed by a server; optionally, the server may be a service device that interacts with the terminal to implement human-computer verification, and the server may generate the picture verification code based on the picture verification code generation method provided by the embodiment of the present invention before the terminal displays the picture verification code, so that the server may send the generated picture verification code to the terminal, so that the terminal displays the picture verification code;
in a possible example, the server may be a server corresponding to a page requested to be accessed by the terminal, for example, the server may be a service device providing one or more specific services, and when the terminal requests to access the page of the service, the server may add human-machine authentication in the process of accessing the page by the terminal to distinguish whether the access is performed by a human operating the terminal or a machine controlling the terminal.
As shown in fig. 2, the method for generating a picture verification code according to an embodiment of the present invention may include:
and step S1, acquiring a reference picture of the first knowledge domain.
One knowledge domain refers to the knowledge range of a knowledge branch in the subject, and different knowledge domains correspond to the knowledge ranges of different knowledge branches. Optionally, in the embodiment of the present invention, a plurality of picture libraries in the knowledge domain may be configured in advance, where the knowledge branches corresponding to the picture expression contents in the picture libraries in different knowledge domains are different, for example, the content types of the picture expression contents in the picture libraries in different knowledge domains are different, and for example, in the case of setting picture libraries in different knowledge domains such as daily necessities, animals, plants, and the like, the content type of the picture expression contents in the picture library in the knowledge domain of the daily necessities is a daily necessity, and the content type of the picture expression contents in the picture library in the knowledge domain of the animals is an animal.
The first knowledge domain may be any one of a plurality of knowledge domains, and in an alternative implementation, an embodiment of the present invention may configure a picture library of the first knowledge domain in advance, so as to obtain a reference picture of the first knowledge domain from the picture library of the first knowledge domain, for example, randomly obtain a reference picture of the first knowledge domain from the picture library of the first knowledge domain. In one example, assuming the first knowledge domain is an animal knowledge domain, the picture of the first knowledge domain may be an animal picture, for example, the obtained reference picture of the first knowledge domain may be an animal picture randomly selected from a library of animal pictures.
In the embodiment of the present invention, the reference picture is a base picture used for generating the picture verification code, and the sliding picture and the background picture in the picture verification code may be generated based on the reference picture.
Step S2, selecting a target region from the reference picture, and extracting picture content of the target region as a slide picture.
After acquiring the reference picture, the server may select a target region from the reference picture, and then extract the picture content of the target region, so as to use the extracted picture content as a sliding picture. In an alternative implementation, the target region may be a region randomly selected in the reference picture, for example, the region position and the region shape of the target region are randomly selected, so that the target region may be determined from the reference picture according to the embodiment of the present invention based on the randomly selected region position and the region shape in the reference picture; in other possible implementations, the embodiment of the present invention may also select the target region from the reference picture based on the set rule, for example, set the region area of the target region, and randomly select the target region having the region area in the reference picture.
An optional implementation manner of extracting the picture content of the target region as the sliding picture in the embodiment of the present invention may be that the picture content in the target region is copied to obtain the sliding picture; after the target area is selected, copying the picture content of the target area in the reference picture, and copying the obtained picture content of the target area to be used as a sliding picture; obtaining a sliding picture based on the mode, and reserving the picture content of the target area in the reference picture; for example, as shown in fig. 3, the dashed area represents the target area 11, and after copying the picture content of the target area 11 in the reference picture 12, the sliding picture 13 can be obtained, and the reference picture 12 retains the picture content of the target area 11.
In other optional implementation manners for obtaining the sliding picture, the embodiment of the present invention can perform matting on the picture content of the target region in the reference picture (for example, matting the picture content in the target region in a matting manner), so as to take the picture content of the target region as the sliding picture; if the sliding picture is obtained based on the mode, the picture content of the target area in the reference picture is not reserved; illustratively, as shown in fig. 4, the dashed region represents the target region 11, and after the picture content of the target region 11 in the reference picture 12 is extracted, the sliding picture 13 can be obtained, and the picture content of the target region of the reference picture 12 is not retained.
Of course, the implementation manner of obtaining the sliding picture shown above is only optional, and the embodiment of the present invention may also support other possible implementation manners as long as the picture content of the target area can be taken as the sliding picture.
As can be understood, since the reference picture belongs to the first knowledge domain, the picture content expressed by the slide picture obtained based on the reference picture is a partial content of the reference picture of the first knowledge domain; the user can understand the relation between the sliding picture and the reference picture based on knowledge, that is, the user can understand from the knowledge that the sliding picture is the picture content in the target area of the reference picture.
Step S3, a filling picture of a second knowledge domain is obtained, wherein the first knowledge domain is different from the second knowledge domain.
The second knowledge domain may be a plurality of pre-configured knowledge domains different from the first knowledge domain, and in an alternative implementation, an embodiment of the present invention may pre-set a picture library of the second knowledge domain, so as to obtain a filler picture of the second knowledge domain from the picture library of the second knowledge domain, for example, randomly select the filler picture from the picture library of the second knowledge domain.
It should be noted that the first knowledge domain is different from the second knowledge domain, for example, the first knowledge domain belongs to an animal knowledge domain, and the second knowledge domain may be another knowledge domain except an animal knowledge domain, for example, the first knowledge domain is an animal knowledge domain, and the second knowledge domain is a plant knowledge domain.
Step S4, covering the filling picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
After the filler picture is acquired, the filler picture is used for covering the target area of the reference picture and shielding the content of the target area in the reference picture, and in optional implementation, the filler picture can be displayed in the target area of the reference picture in an overlapping mode so as to cover the target area. For example, as shown in fig. 5, since the first knowledge domain is different from the second knowledge domain, assuming that the reference picture of the first knowledge domain is the panda avatar picture (belonging to the animal knowledge domain) shown in fig. 5, and the filling picture of the second knowledge domain is the flowerpot picture (belonging to the plant knowledge domain), after the picture content of the target area in the panda avatar picture is extracted to obtain the slide picture, the flowerpot picture can be covered on the target area of the panda avatar picture; it can be understood that, based on the knowledge understanding of the user, in the example of fig. 5, the user can understand that the slide picture is the original picture content of the area where the flowerpot picture is located.
In an optional implementation, the picture area of the filler picture may not be larger than the area of the target region, so that the filler picture can be completely embedded in the target region to achieve coverage of the target region. In another alternative implementation manner, the picture area of the filler picture may be slightly larger than the area of the target region, so as to cover the target region; the picture area of the filler picture is slightly larger than the area of the target region, for example: the picture area of the filling picture is larger than the area of the target region, but the area ratio of the filling picture exceeding the target region is smaller than a predetermined ratio, for example, 50%, which can be specifically set according to the actual situation, and the embodiment of the present invention is not limited.
In an optional implementation of the embodiment of the present invention, the shape of the sliding picture may be different from that of the filling picture, for example, when the shape of the sliding picture is a trapezoid, the shape of the filling picture may be a square; in other optional implementations of the embodiment of the present invention, the sliding picture may also have the same shape as the filling picture, for example, the shape of the sliding picture and the shape of the filling picture are both square.
The embodiment of the invention can cover the filling picture at least in the target area of the reference picture to obtain the background picture, and the filling picture shields the target area, so that the difficulty of identifying the target area by a machine can be increased.
The background picture and the sliding picture obtained in the embodiment of the invention can form the picture verification code generated in the embodiment of the invention.
It can be understood that, because the filling picture in the background picture belongs to the second knowledge domain and the reference picture in the background picture belongs to the first knowledge domain, based on the difference between the first knowledge domain and the second knowledge domain, the user can obviously understand that the contents of the pictures expressed by the filling picture and the reference picture are essentially different from the knowledge perspective, so that the user can understand the relationship between the filling picture, the background picture and the sliding picture from the knowledge perspective, and after the terminal displays the background picture and the sliding picture, the user can understand the target region to which the sliding picture should slide (i.e. the region where the filling picture in the background picture is located) from the knowledge perspective; meanwhile, the filling picture is at least covered in the target area of the reference picture, so that the filling picture can shield the target area, and the difficulty of identifying the target area by a machine is increased; therefore, the embodiment of the invention can realize the generation of the picture verification code and improve the reliability of the generated picture verification code under the condition that the difficulty of identifying the target area by the machine is improved and the user can understand the position of the target area in the background picture from the knowledge perspective.
The picture verification code generation method provided by the embodiment of the invention can acquire a reference picture of a first knowledge domain, select a target area from the reference picture, and extract the picture content of the target area as a sliding picture; acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain; therefore, covering the filling picture in the target area of the reference picture, and performing boundary blurring processing on the boundary corresponding to the filling picture and the reference picture to obtain a background picture; and then, the background picture and the sliding picture form the picture verification code.
It can be seen that the picture verification code generated in the embodiment of the present invention includes a background picture and a sliding picture, wherein in the embodiment of the present invention, at least in the target area of the reference picture in the first knowledge domain, the filling picture in the second knowledge domain is covered to obtain the background picture, and the sliding picture is the picture content extracted from the target area of the reference picture in the first knowledge domain; because the first knowledge domain is different from the second knowledge domain, the user can understand the original picture content of the sliding picture as the target area in the background picture from the knowledge perspective, so that the user can understand and identify the target area to which the sliding picture in the background picture should slide from the knowledge perspective, and the convenient use of the picture verification code is realized; meanwhile, the filling picture is at least covered on the target area of the reference picture, so that the filling picture can shield the target area, and the difficulty of identifying the target area by a machine is increased. The embodiment of the invention can realize the generation of the picture verification code and improve the reliability of the generated picture verification code under the condition that the difficulty of identifying the target area by a machine is improved and a user can understand the position of the target area in the background picture from the knowledge perspective.
In an optional implementation, in order to further increase the difficulty of identifying a target area by a machine, the embodiment of the present invention may cover a filler picture in the target area of a reference picture, and perform boundary blurring processing on a boundary between the filler picture and the reference picture, thereby obtaining a background picture. By performing boundary blurring processing on the boundary corresponding to the filler picture and the reference picture, the pixel change at the boundary position of the filler picture and the reference picture is gradual, namely the pixel change from the outer circle to the inner circle of the boundary of the reference picture and the filler picture is regular, so that the machine is difficult to identify the target area through the boundary pixel change of different pictures, and the difficulty of the machine in identifying the target area can be improved.
In another optional implementation, the pixels of the filler picture selected in the embodiment of the present invention may be close to the pixels of the boundary of the target area of the reference picture, for example, the pixels of the filler picture and the pixels of the boundary of the target area of the reference picture are gradually changed, so that the embodiment of the present invention may directly overlay the filler picture in the target area of the reference picture to obtain the background picture. Because the filling picture close to the pixels at the boundary of the target area is selected, the filling picture is directly covered on the target area of the reference picture, so that the pixel change at the boundary position of the filling picture and the reference picture is gradual, a machine is difficult to identify the target area through the boundary pixel change of different pictures, and the difficulty of identifying the target area by the machine can be improved.
In yet another alternative implementation, if multiple boundaries exist in the reference picture (for example, multiple boundaries with large pixel change differences exist in the reference picture), the target region extracted to obtain the sliding picture is only one of the multiple boundaries, in which case, the difficulty of identifying the target region from the reference picture by the machine is large, and the probability of identifying the target region is low; at this time, the embodiment of the present invention may directly cover the filler picture in the target region of the reference picture to obtain the background picture, and since the filler picture is used to shield the target region, the embodiment of the present invention may further increase the difficulty of the machine in identifying the target region from the plurality of boundaries of the reference picture.
In optional implementation, the area of the filling picture can be set to be not larger than that of the target region, so that the situation that the position of the target region is difficult to understand by a user due to the fact that the area of the filling picture is too large is avoided; on the basis of pre-configuring the picture library of the second knowledge domain, optionally, in the embodiment of the present invention, based on the area of the target region, a filler picture whose picture area is not greater than the area of the target region is obtained from the picture library of the second knowledge domain, that is, according to the area of the target region, a filler picture whose picture area is not greater than the area of the target region is directly obtained from the picture library of the second knowledge domain.
In the embodiment of the present invention, another optional implementation manner of obtaining the filler picture may be to randomly obtain an original filler picture from a picture library in the second knowledge domain, and if the area of the original filler picture may be larger than the area of the target region, the embodiment of the present invention may cut out a picture that is not larger than the area of the target region from the original filler picture to obtain the filler picture.
In yet another optional implementation manner of the embodiment of the present invention, the embodiment of the present invention may randomly obtain a picture from a picture library in the second knowledge domain, where the obtained picture may be used as an original filling picture, and if the area of the original filling picture is larger than the area of the target region, the area compression processing may be performed on the original filling picture, so as to compress the area of the original filling picture to be not larger than the area of the target region, so as to obtain the filling picture. Referring to fig. 6, in order to compress the area of the original filler picture to obtain an optional example of the filler picture according to the embodiment of the present invention, specifically, if the area of the original filler picture 33 randomly obtained from the picture library of the second knowledge domain is larger than the area of the target region 31, the area of the original filler picture 33 may be compressed to be not larger than the area of the target region 31 to obtain the filler picture 33'.
Taking an example that a target area of a reference picture is covered with a filler picture, and a boundary corresponding to the filler picture and the reference picture is subjected to boundary blurring processing, so that it is difficult for a machine to identify the boundary corresponding to the filler picture and the reference picture, an optional flow for performing the boundary blurring processing on the boundary corresponding to the filler picture and the reference picture in the embodiment of the present invention may be shown in fig. 7, and includes:
step S41, determining surrounding pixels located around the boundary between the filler picture and the reference picture.
Optionally, the surrounding pixels located around the boundary between the filler picture and the reference picture may be: one or more circles of pixels around the boundary (encompassing the inside and outside of the boundary) of the filler picture and the reference picture.
Step S42 is to perform blurring processing on the surrounding pixels so that the pixels of the surrounding pixels change to a gradation state.
Optionally, when the pixel change of the surrounding pixels is in a gradual change state, the pixel change from the outer circle to the inner circle of the boundary corresponding to the reference picture and the filler picture is regular, so that the machine is difficult to identify the target area through the boundary pixel change of different pictures, and the difficulty of identifying the target area by the machine can be improved.
In the embodiment of the present invention, an optional implementation manner of blurring the surrounding pixels after determining the surrounding pixels may be: blurring the surrounding pixels by a Gaussian algorithm so that the pixel change of the surrounding pixels is a gradual change state.
According to the embodiment of the invention, the boundary corresponding to the filling picture and the reference picture is subjected to boundary blurring processing to obtain the background picture, so that the difficulty of identifying the target area by a machine can be increased and the reliability of the picture verification code can be improved on the basis that a user understands the position of the target area in the background picture from the knowledge perspective.
The picture verification code generation method provided by the embodiment of the invention can be applied to scenes such as data reverse-crawling and login verification of websites and platforms, and the scene of data reverse-crawling is taken as an example to introduce the picture verification code generation method provided by the embodiment of the invention.
The crawler is a machine program for automatically extracting webpage information, in the current information interaction era, the crawler cannot enter without holes, the crawler can easily access the webpage to acquire a large amount of data, and the website and the platform often have the requirement that the data are not wanted to be arbitrarily grabbed by the crawler, so that in order to avoid malicious crawling of the data of the website and the platform and protect the data security of the website and the platform, the image verification code generation method provided by the embodiment of the invention can be utilized to distinguish access objects of the website and the platform in a man-machine mode, and therefore when the access objects are identified as machines, the access of the access objects is refused.
Optionally, fig. 8 shows a signaling flow of the picture verification code generation method provided in the embodiment of the present invention, where the signaling flow may be implemented by a server and a terminal of an access object, and the terminal of the access object may be a terminal device used by the access object; referring to fig. 8, the signaling flow may include:
step S51, the terminal accessing the object sends a page access request to the server.
When the access object uses a terminal (i.e., an access object terminal) to perform page access on a website or a platform where the server is located, the access object terminal may send a page access request to the server.
Step S52, the server determines whether the preset wind control rule is hit, if yes, step S53 is executed, and if no, step S56 is executed.
Optionally, the preset wind control rule may be a preset data anti-crawling rule, for example, the access frequency of the access object is higher than a predetermined access frequency; in an optional implementation, the server may determine whether the access frequency of the access object is higher than the predetermined access frequency, so as to determine whether a preset wind control rule is hit;
the crawler accesses the pages of the website and the platform through extremely high access frequency to capture a large amount of data of the website and the platform, so that the access frequency of the crawler is generally high. Based on the method, when the server acquires the page access request sent by the accessed object terminal, the server can judge whether the access frequency of the accessed object is higher than the preset access frequency; if so, the access object has the suspicion of the crawler, and the server can generate the picture verification code by using the picture verification code generation method provided by the embodiment of the invention so as to distinguish whether the access object is the crawler or not based on the generated picture verification code; if not, the access frequency of the access object is low, the server can not perform man-machine verification on the access object, so that the picture verification code is not generated, and for example, the server can directly feed back a page requesting access to the accessed object terminal.
Optionally, the access objects may be distinguished by access object identifiers such as an access IP and an access account, and the embodiment of the present invention may count the access frequency of the access object identifier used by the access object, thereby determining whether the access frequency of the access object is higher than a predetermined access frequency; in an optional implementation manner of the embodiment of the present invention, the server may determine the IP address of the access object, count the access frequency of the IP address, and determine whether the access frequency of the access object is higher than a predetermined access frequency by determining whether the access frequency of the IP address is higher than the predetermined access frequency; in another optional implementation manner of the embodiment of the present invention, the server may determine an access account of the access object, count the access frequency of the access account, and determine whether the access frequency of the access object is higher than a predetermined access frequency by determining whether the access frequency of the access account is higher than the predetermined access frequency.
The predetermined access frequency is an access frequency preset by the server, and the size of the predetermined access frequency may be set according to the different server to match with the application scenario, which is not limited herein.
In other optional implementations of the embodiment of the present invention, the preset wind control rule may further define other types of contents that need to trigger the verification mechanism of the picture verification code, for example, the preset wind control rule may define a specific page that needs to be distinguished by a human and an machine, and when the access object requests to access the specific page, the server may determine that the preset wind control rule is hit, that is, based on the predefined specific page, when any access object requests to access the specific page, the verification mechanism of the picture verification code of the embodiment of the present invention is triggered.
Step S53, the server acquires a reference picture of the first knowledge domain; selecting a target area from the reference picture, and extracting picture content of the target area as a sliding picture; acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain; covering the filling picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
When the preset wind control rule is hit, the server can trigger the picture verification code generation method provided by the embodiment of the invention to be executed, so that the picture verification code is generated. The content of the generation process of the picture verification code provided by the embodiment of the present invention may refer to the description of the corresponding parts, and is not described herein again.
And step S54, the server sends the picture verification code to the terminal of the access object.
Step S55, the terminal of the access object displays the picture authentication code.
Optionally, the terminal accessing the object may jump to a verification page and display the picture verification code on the verification page, or the terminal may superimpose a picture verification code floating layer on the currently displayed page, where the picture verification code is displayed on the picture verification code floating layer. Optionally, the picture verification code floating layer may be in a semi-transparent state, and supports the access object to perform verification operation based on the picture verification code floating layer.
After the server sends the generated picture verification code to the terminal of the access object, the terminal of the access object can display the picture verification code, so that the access object can perform verification operation based on the picture verification code displayed by the terminal of the access object.
Step S56, the server feeds back the page requested to be accessed to the terminal of the access object.
If the determination result in step S52 is no, the server may feed back the page requested to be accessed by the terminal of the access target to the terminal of the access target without performing human-machine authentication on the access target.
It can be seen that, when an accessed object terminal requests for an access page from a server, if the server judges that a preset wind control rule is hit, the server needs to generate a picture verification code so as to distinguish a crawler from a user for the accessed object based on the picture verification code, so that the accessed object terminal needs to display the picture verification code after acquiring the picture verification code fed back by the server, so that the accessed object can perform verification operation. It can be understood that based on the picture verification code generated by the embodiment of the present invention, a user can understand and identify the target area in the picture verification code according to knowledge, so as to complete the operation of sliding the sliding picture to the target area, and meanwhile, since the target area is difficult to identify by the machine, when the access object is a machine program such as a crawler, the identification and verification can be effectively performed, so that an effective guarantee is provided for avoiding the machine program such as the crawler from capturing data arbitrarily.
In a further optional implementation, the embodiment of the present invention may perform human-machine verification using the generated picture verification code, and the verification method provided in the embodiment of the present invention is described below, where the verification method may perform human-machine verification based on the picture verification code generated by the picture verification code generation method provided in the embodiment of the present invention. In an optional implementation, fig. 9 shows an optional flow of the verification method provided in the embodiment of the present invention, where the flow may be executed by the terminal, for example, in a process of accessing a web page of a platform or a website where the server is located by the terminal or at the beginning of the access, the server may issue a generated picture verification code to the terminal, so as to perform human-machine verification on an object operating the terminal; as shown in fig. 9, the verification method may specifically include:
step S60, requesting to access a page;
and step S61, acquiring a picture verification code, wherein the picture verification code comprises a background picture and a sliding picture.
The terminal can trigger a man-machine verification mechanism in the process of accessing a website and a page of a platform where the server is located, so that the picture verification code sent by the server is obtained, for example, the server determines that a preset wind control rule is hit based on an access request of the terminal (if the access frequency of the terminal is determined to be higher than the preset access frequency), the server can send the generated picture verification code to the terminal. In other possible implementations, the terminal may also acquire the picture verification code sent by the server in a verification scenario such as login verification or password input verification.
It is understood that the slide picture is the picture content extracted from the target region of the reference picture of the first knowledge domain, and the background picture includes the reference picture and the filler picture of the second knowledge domain covered by the target region of the reference picture.
And step S62, displaying the background picture and the sliding picture positioned on the background picture, and displaying prompt information, wherein the prompt information is used for prompting the sliding picture to slide.
Optionally, the terminal may jump to a verification page to display the background picture and the sliding picture located on the background picture; in another optional implementation, the terminal may display the background picture and the sliding picture located above the background picture by displaying a picture verification code floating layer on the current page in an overlapping manner.
Optionally, the position of the sliding picture may be located on the same horizontal line as the position of the filling picture on the background picture, or the position of the sliding picture may be located at another position on the background picture except the position of the filling picture, so that the sliding picture does not block the filling picture on the background picture, which is not limited herein.
Optionally, the prompt information may be a text prompt, for example, "drag the slide picture to restore the background picture", where the prompt information is based on that the prompt can restore the complete content of the background picture, and the embodiment of the present invention is not limited.
And step S63, detecting a sliding instruction of the sliding picture, and sliding the sliding picture.
Optionally, the user may perform sliding control on the sliding picture through an operation body (a finger, a touch pen, a mouse, or the like) according to the prompt information, and in an optional implementation, the user may click the sliding picture through the operation body, and drag the sliding picture under the condition of maintaining the click, so that the sliding picture slides; in other possible implementations, the sliding of the slide picture may be controlled by a slider in the slide bar (fig. 1 illustrates the slide bar and the slider in the slide bar, which may be referred to), and the user may click the slider in the slide bar and drag the slider while maintaining the click, thereby controlling the sliding of the slide picture by the dragging of the slider.
Optionally, the terminal may have a touch screen, and the user may directly operate on the touch screen through an operation body such as a finger or a touch pen, so as to slide the sliding picture.
Optionally, in the process of dragging the slide picture by the user described above, based on the user operation, the terminal may detect a slide instruction corresponding to the slide picture (for example, an instruction for the user to click and drag the slide picture, or an instruction for the user to click and drag a slider in the slide bar), so that based on the slide instruction, the terminal may slide the displayed slide picture.
And step S64, when the instruction for releasing the sliding is detected, determining the sliding data of the sliding picture.
The instruction for releasing the sliding may be, for example, that the user no longer keeps clicking the slider in the sliding picture or the sliding bar, but releases the clicking of the slider in the sliding picture or the sliding bar; when the terminal detects the instruction for releasing the sliding, and the sliding of the sliding picture by the user is completed, the embodiment of the invention can determine the sliding data of the sliding picture so as to send a verification request to the server based on the sliding data.
In an alternative implementation, the slide data for the slide picture may include: and when the terminal detects an instruction of releasing the sliding, the position of the sliding picture and the track point corresponding to the sliding picture in the sliding process are obtained.
Optionally, in the embodiment of the present invention, a coordinate system may be established with one corner point of the background picture as an origin, so as to determine the position of the sliding picture by determining the position of the center point of the sliding picture; in an example, in the embodiment of the present invention, a coordinate system may be established by using an upper left corner point of a background picture as an origin, increasing a horizontal axis to the right, and increasing a vertical axis to the downward, so that when the terminal detects an instruction to release a slide, the terminal may determine a position of a center point of a slide picture (i.e., a center position of the slide picture), so as to determine a position of the slide picture when a user releases the slide.
Optionally, in the sliding process of the sliding picture, the terminal may detect the position point where the sliding picture is located at a fixed time, so that when the user releases the sliding, the terminal may collect the position points detected at the fixed time in the sliding process to obtain the track point corresponding to the sliding picture in the sliding process.
Of course, the form of the slide data in the above example is only optional, and the slide data may also only include the position of the slide picture when the terminal detects the instruction to release the slide.
And step S65, sending a verification request to a server according to at least the sliding data.
After the terminal determines the sliding data of the sliding picture, the terminal can send a verification request to a server based on the sliding data to request whether verification passes; in optional implementation, when the verification request portable terminal detects an instruction for releasing sliding, the position of the sliding picture and the track point corresponding to the sliding picture in the sliding process are determined; in another alternative implementation, the authentication request may carry a position of the slide picture when the portable terminal detects an instruction to release the slide.
The embodiment of the invention discloses a verification method, wherein when a server detects an access request of an access object, if the man-machine verification is needed to be carried out on the access object, the server can send a picture verification code to a terminal used by the access object, so that the terminal can display the picture verification code and prompt sliding of a sliding picture in the picture verification code, when one-time sliding is finished and the terminal detects a command of releasing the sliding, the terminal can send a verification request to the server based on sliding data of the sliding picture, so that the server provides a verification result to distinguish whether an object operating the terminal is a machine or a user. It is to be noted that the target area to which the slide picture in the picture verification code should slide is difficult to recognize by a machine, but a user can recognize according to the understanding of the knowledge domain, so that the verification method disclosed by the embodiment of the invention can perform effective man-machine verification on the object of the operation terminal.
After the terminal sends a verification request to the server, the server can determine the result of passing or failing the verification according to the sliding data of the sliding picture and feed back the result to the terminal; if the verification is passed, the object of the operation terminal is indicated as the user, otherwise, the object of the operation terminal is not indicated as the user; in an alternative implementation, taking the example that the sliding data of the sliding picture includes the position of the sliding picture when the sliding is released and the track point of the sliding picture in the sliding process as an example, from the interaction angle between the terminal and the server, fig. 10 shows a signaling flow of the authentication method provided by the embodiment of the present invention, as shown in fig. 10, the signaling flow may include:
step S71, the terminal accessing the object sends a page access request to the server.
Step S72, the server determines whether the preset wind control rule is hit, if not, step S73 is executed, and if yes, step S74 is executed.
And step S73, the server control terminal jumps to the page requested to be accessed.
If the preset wind control rule is not hit, the server can feed back the page requested to be accessed by the terminal, and therefore the terminal is controlled to jump to the page requested to be accessed.
Step S74, the server generates a picture verification code.
The process of generating the picture verification code by the server may refer to the description of the corresponding part, and is not described herein again.
And step S75, the server sends the picture verification code to the terminal of the access object.
Step S76, the terminal of the access object displays the picture authentication code.
And step S77, the terminal detects a sliding instruction of the sliding picture in the picture verification code, slides the sliding picture, and determines the sliding data of the sliding picture when the instruction of releasing the sliding is detected.
Step S78, the terminal sends a verification request to the server based on the slide data.
The descriptions of the optional steps S76 to S78 may refer to the descriptions of the corresponding parts, and are not repeated here.
In step S79, the server determines whether the verification request meets a preset verification retry rule, if yes, step S710 is executed, and if no, step S714 is executed.
In order to avoid that the terminal performs repeated verification for the same picture verification code for more times or longer time, in the embodiment of the invention, a preset verification retry rule can be set, and optionally, the preset verification retry rule can define a preset retry time or a preset timeout time; specifically, in order to ensure the reliability of verification, the embodiment of the invention can set the retry times for one picture verification code, optionally, the retry times can be 3-5, when the verification times of a user for one picture verification code exceed the retry times, the picture verification code fails, and the user needs to wait for a period of time and then verify with the picture verification code newly issued by the server; the embodiment of the invention can also set the overtime time for the verification of the picture verification code, when the verification time of a user aiming at one picture verification code exceeds the overtime time, the picture verification code is invalid, and the user needs to wait for a period of time and then verify with the picture verification code newly issued by the server; the timeout period may be 1 minute to 5 minutes.
In an optional implementation, when the verification times of the terminal for the picture verification code do not exceed a preset retry time, or the verification time of the terminal for the picture verification code does not exceed a preset timeout time, it may be determined that the verification request conforms to a preset verification retry rule, and verification for the verification request may be allowed; when the verification times of the terminal aiming at the picture verification code exceed the preset retry times, or the verification time of the terminal aiming at the picture verification code exceeds the preset overtime, the verification request can be determined to be not in accordance with the preset verification retry rule, and the server can determine the verification failure result and refuse the page access of the terminal.
Step S710, the server determines whether the position of the slider image corresponds to the position of the target area, if not, step S711 is executed, and if so, step S712 is executed.
In an optional embodiment of the present invention, determining whether the position of the slider picture corresponds to the position of the target region may be: judging whether the center position of the slider picture corresponds to the center position of the target area; specifically, if the error between the center position of the slider picture and the center position of the target area is within a set error range, the position of the slider picture corresponds to the position of the target area, otherwise, the position of the slider picture does not correspond to the position of the target area; optionally, the set error range may be set according to an actual situation, for example, the deviation between the slider picture and the center position of the target area is within 5%.
It should be noted that, in the case of establishing a coordinate system with one corner point of the background picture as an origin, the embodiment of the present invention may determine and record the center position of the target area when selecting the target area.
Step S711, the server feeds back the verification result that the verification fails to pass to the terminal, and allows the terminal to request verification again for the picture verification code.
Step S712, the server determines that the release of the trace point of the slider image in the sliding process conforms to the manual operation trace, if so, step S713 is executed, and if not, step S714 is executed.
Optionally, in the embodiment of the invention, whether the track points of the slider picture in the sliding process conform to the manual operation track can be verified through the machine learning model. The machine learning model can simulate or realize the learning behavior of a user by researching how a computer so as to acquire new knowledge or skill and reorganize the existing knowledge structure to continuously improve the performance of the machine learning model; the embodiment of the invention can train the machine learning model based on the real track from the user history sliding slider picture to the target area, so that the trained machine learning model can be used for verifying whether the track point of the slider picture in the sliding process conforms to the manual operation track.
And step S713, the server feeds back the verification result passing the verification to the terminal and controls the terminal to jump to the page requesting access.
Optionally, the judgment in step S710 and step S712 may be performed synchronously, or the judgment in step S712 may be performed, and then the judgment in step S710 is performed; it can be understood that in the embodiment of the present invention, when the position of the sliding picture corresponds to the position of the target region and the track point conforms to the manual operation trajectory through the machine learning model verification, a verification result is obtained as verification passed, and when the position of the sliding picture does not correspond to the position of the target region, and/or when the track point does not conform to the manual operation trajectory through the machine learning model verification, a verification result is obtained as verification failed; and when the verification result is that the verification is not passed, and the number of times of the current verification of the terminal for the picture verification code does not exceed the preset retry number or the time-out time does not exceed the preset time-out time during the verification, the embodiment of the present invention allows the terminal to re-request the verification for the picture verification code, so that the terminal can return to execute the step of sliding the sliding picture in the picture verification code in step S77, perform the step of sliding the sliding picture, and re-detect the sliding operation of the access object on the sliding picture.
Step S714, the server feeds back the verification result that the verification fails to pass to the terminal, and denies the page access of the terminal.
Step S715, the terminal accessing the object executes a processing logic corresponding to the verification result.
Optionally, if the verification result sent by the server is that the verification is passed, the terminal of the access object may obtain the requested access page from the server and display the requested access page; if the verification result sent by the server is that the verification is not passed and the current verification meets the preset retry rule, the embodiment of the present invention may re-execute the verification operation process, for example, if the verification result sent by the server is that the verification is not passed and the verification retry number is not greater than the preset retry number, the step of re-detecting the sliding instruction of the sliding picture in the picture verification code in step S77 may be returned, and the step of sliding the sliding picture is performed, so as to re-send the verification request based on the sliding operation of the sliding picture.
Therefore, the verification method disclosed by the embodiment of the invention can distinguish the access object from the human machine, and particularly, during verification, the server sends the picture verification code to the terminal of the access object so as to verify the access object; the server determines the verification result of the access object based on the sliding data of the sliding picture in the picture verification code sent by the terminal, and feeds the verification result back to the terminal of the access object; further, the terminal accessing the object may determine the subsequent processing logic according to the verification result. Because the target area in the picture verification code is difficult to identify by a machine, but a user can understand and identify the target area according to knowledge, the user can manually and conveniently correctly operate the picture verification code, and the machine is difficult to disguise the correct operation of the picture verification code.
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
In the following, the picture verification code generation apparatus provided in the embodiment of the present invention is introduced, and the picture verification code generation apparatus described below may be considered as a functional module that is required to be set by a server to implement the object pushing method provided in the embodiment of the present invention. The contents of the picture authentication code generation apparatus described below may be referred to in correspondence with the contents of the picture authentication code generation method described above.
In an alternative implementation, fig. 11 shows an alternative block diagram of a picture verification code generation apparatus provided in an embodiment of the present invention, and as shown in fig. 11, the picture verification code generation apparatus may include:
a first obtaining module 81, configured to obtain a reference picture of a first knowledge domain;
a selection extraction module 82, configured to select a target region from the reference picture, and extract picture content of the target region as a sliding picture;
a second obtaining module 83, configured to obtain a filling picture of a second knowledge domain, where the first knowledge domain is different from the second knowledge domain;
a background picture obtaining module 84, configured to cover the filler picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
Optionally, the selecting and extracting module 82 is configured to extract the picture content of the target area as a sliding picture, and includes: and copying the picture content of the target area to obtain a sliding picture.
Optionally, the area of the filling picture is not greater than the area of the target region.
Optionally, the second obtaining module 83, configured to obtain the filling picture of the second knowledge domain, includes:
acquiring a filling picture with the picture area not larger than the area of the target area from a picture library of a second knowledge domain;
or randomly acquiring an original filling picture from a picture library of a second knowledge domain, and if the area of the original filling picture is larger than that of the target region, compressing the area of the original filling picture to be not larger than that of the target region, or cutting out a picture which is not larger than that of the target region from the original filling picture to acquire the filling picture.
Optionally, the background picture obtaining module 84 is configured to overlay the filler picture in at least the target area of the reference picture, and obtaining the background picture includes:
and covering the filling picture in the target area of the reference picture, and performing boundary blurring processing on the boundary corresponding to the filling picture and the reference picture to obtain a background picture.
Optionally, the background picture obtaining module 84, configured to perform boundary blurring processing on the boundary between the filler picture and the reference picture, may include:
determining surrounding pixels located around a boundary of the filler picture and the reference picture;
blurring the surrounding pixels so that the pixels of the surrounding pixels change to a gradual change state.
Optionally, referring to another block diagram of the picture verification code generation apparatus shown in fig. 12, the apparatus may further include:
a wind control rule judging module 85, configured to judge whether a preset wind control rule is hit, and if yes, trigger the first obtaining module to perform the step of obtaining the reference picture of the first knowledge domain; the preset wind control rule at least comprises that the access frequency of the access object is higher than a preset access frequency.
Optionally, as further shown in fig. 12, the apparatus provided in the embodiment of the present invention may further include:
a verification code sending module 86, configured to send the picture verification code to the terminal of the access object, so that the terminal jumps to a verification page on which the picture verification code is displayed, or the terminal superimposes a picture verification code floating layer on a currently displayed page.
Optionally, it may be further explained that the shape of the slide picture may be different from the shape of the fill picture.
The embodiment of the invention also provides a server, and the server can load the picture verification code generation device in a program form so as to realize the picture verification code generation method provided by the embodiment of the invention. Optionally, the hardware structure of the server may be as shown in fig. 13, and includes: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the present invention, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4; it is clear that the illustrated communication connection illustration of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is only optional;
optionally, the communication interface 2 may be an interface of a communication module for performing network communication;
alternatively, the processor 1 may be a CPU (central Processing Unit), a GPU (Graphics Processing Unit), an NPU (embedded neural network processor), an FPGA (Field Programmable Gate Array), a TPU (tensor Processing Unit), an AI chip, an asic (application specific integrated circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.
The memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
The memory 3 stores one or more computer-executable instructions, and the processor 1 calls the one or more computer-executable instructions to execute the method for generating the picture verification code executed by the server according to the embodiment of the present invention.
In the following, the verification apparatus provided in the embodiment of the present invention is described, and the verification apparatus described below may be considered as a functional module that is required to be configured by the terminal to implement the verification method provided in the embodiment of the present invention. The contents of the authentication device described below may be referred to in correspondence with the contents of the authentication method described above.
In an alternative implementation, fig. 14 shows an alternative block diagram of the authentication apparatus provided in the embodiment of the present invention, and as shown in fig. 14, the authentication apparatus may include:
the picture verification code acquiring module 91 is configured to acquire a picture verification code, where the picture verification code includes a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture.
And a picture verification code display module 92, configured to display the background picture and the sliding picture located on the background picture, and display a prompt message, where the prompt message is used to prompt the sliding picture to slide.
And a sliding detection module 93, configured to detect a sliding instruction of the sliding picture, and slide the sliding picture.
A sliding data determining module 94, configured to determine sliding data of the sliding picture when the instruction to release the sliding is detected.
A request sending module 95, configured to send a verification request to the server at least according to the sliding data.
Optionally, in the verification apparatus disclosed in the embodiment of the present invention, the sliding data determining module 94 is configured to determine the sliding data of the sliding picture, and includes:
and determining the position of the sliding picture when the command of releasing the sliding is detected, and the track point corresponding to the sliding process of the sliding picture.
Optionally, in another optional embodiment of the present invention, referring to fig. 15, the verification apparatus may further include:
a verification result receiving module 96, configured to receive a verification result fed back by the server; the position of the sliding picture corresponds to the position of the target area, the track point is verified to accord with the manual operation track through the machine learning model, then the verification result is verified to pass, the position of the sliding picture does not correspond to the position of the target area, and/or the track point is verified to not accord with the manual operation track through the machine learning model, then the verification result is verified not to pass.
And a result executing module 97, configured to execute processing logic corresponding to the verification result.
Optionally, in another optional embodiment of the present invention, referring to fig. 16, the verification apparatus further includes:
a page request module 98, configured to request to access a page before the picture verification code obtaining module obtains the picture verification code.
Optionally, the result executing module 97, configured to execute the processing logic corresponding to the verification result, may further include:
if the verification result is that the verification is passed, acquiring and displaying the access page;
and if the verification result is that the verification fails, and the verification frequency does not exceed a preset retry frequency or the verification time does not exceed a preset timeout time, controlling the sliding detection module 93 to execute the sliding instruction for detecting the sliding picture again, and sliding the sliding picture.
The embodiment of the invention also provides a terminal, and the terminal can be loaded with the verification device in the form of a program so as to realize the verification method executed by the terminal provided by the embodiment of the invention. Optionally, the hardware structure of the terminal may be as shown in fig. 13, and includes: at least one processor, at least one communication interface;
the memory stores one or more computer-executable instructions, and the processor calls the one or more computer-executable instructions to execute the authentication method executed by the terminal provided by the embodiment of the invention.
The embodiment of the invention provides a storage medium, which can store one or more computer-executable instructions, and the one or more computer-executable instructions can be used for executing the picture verification code generation method executed by the terminal provided by the embodiment of the invention, or executing the verification method. .
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
Although the embodiments of the present invention have been disclosed, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
In summary, in the aspect 1, an embodiment of the present invention provides a method for generating a picture verification code, including:
acquiring a reference picture of a first knowledge domain;
selecting a target area from the reference picture, and extracting picture content of the target area as a sliding picture;
acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain;
covering the filling picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
With reference to the first aspect, in an implementation manner of the first aspect 1 of the present invention, the extracting the picture content of the target region as a sliding picture includes:
and copying the picture content of the target area to obtain a sliding picture.
With reference to the first aspect, in a 2 nd implementation manner of the first aspect, in the embodiment of the present invention, an area of the filler picture is not greater than an area of the target region.
With reference to the 2 nd implementation manner of the 1 st aspect, in a 3 rd implementation manner of the 1 st aspect, the acquiring a filler picture of a second knowledge domain includes:
acquiring a filling picture with the area not larger than that of the target area from a picture library of a second knowledge domain;
or randomly acquiring an original filling picture from a picture library of a second knowledge domain, and if the area of the original filling picture is larger than that of the target region, compressing the area of the original filling picture to be not larger than that of the target region, or cutting out a picture which is not larger than that of the target region from the original filling picture to acquire the filling picture.
With reference to any one of the 1 st aspect to the 3 rd implementation manner of the 1 st aspect, in a 4 th implementation manner of the 1 st aspect, the overlaying the filler picture on the target region of the reference picture includes:
and superposing the filling picture in a target area of the reference picture in a map form.
With reference to the first aspect, in a 5 th implementation manner of the first aspect, the overlaying the filler picture on at least the target area of the reference picture to obtain a background picture includes:
and covering the filling picture in the target area of the reference picture, and performing boundary blurring processing on the boundary corresponding to the filling picture and the reference picture to obtain a background picture.
With reference to the 5 th implementation manner of the 1 st aspect, in the 6 th implementation manner of the 1 st aspect, the performing boundary blurring processing on the boundary between the filler picture and the reference picture includes:
determining surrounding pixels located around a boundary of the filler picture and the reference picture;
blurring the surrounding pixels so that the pixels of the surrounding pixels change to a gradual change state.
With reference to the aspect 1, in a 7 th implementation manner of the aspect 1, before acquiring the reference picture of the first knowledge domain, the method further includes:
judging whether a preset wind control rule is hit, if so, triggering and executing the step of acquiring the reference picture of the first knowledge domain; the preset wind control rule at least comprises that the access frequency of the access object is higher than a preset access frequency.
With reference to the 7 th implementation manner of the aspect 1, in an 8 th implementation manner of the aspect 1, the embodiment of the present invention further includes:
and sending the picture verification code to the terminal of the access object so as to enable the terminal to jump to a verification page on which the picture verification code is displayed, or enable the terminal to superpose a picture verification code floating layer on the currently displayed page.
With reference to aspect 1, in a 9 th implementation manner of aspect 1, the shape of the sliding picture is different from the shape of the filling picture.
In the aspect, the embodiment of the invention discloses a verification method, which comprises the following steps:
acquiring a picture verification code, wherein the picture verification code comprises a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture;
displaying the background picture and the sliding picture positioned on the background picture, and displaying prompt information, wherein the prompt information is used for prompting the sliding picture to slide;
detecting a sliding instruction of the sliding picture, and sliding the sliding picture;
when an instruction for releasing sliding is detected, sliding data of the sliding picture is determined;
and sending a verification request to a server according to at least the sliding data.
With reference to the second aspect, in a 1 st implementation manner of the second aspect, the determining sliding data of the sliding picture includes:
and determining the position of the sliding picture when the command of releasing the sliding is detected, and the track point corresponding to the sliding process of the sliding picture.
With reference to the 1 st implementation manner of the 2 nd aspect, in the 2 nd implementation manner of the 2 nd aspect, the embodiment of the present invention further includes:
receiving a verification result fed back by the server; if the position of the sliding picture corresponds to the position of the target area and the track point accords with the manual operation track through the machine learning model verification, the verification result is that the sliding picture passes the verification, and if the position of the sliding picture does not correspond to the position of the target area and/or the track point does not accord with the manual operation track through the machine learning model verification, the verification result is that the sliding picture does not pass the verification;
executing processing logic corresponding to the verification result.
With reference to the 2 nd implementation manner of the 2 nd aspect of the embodiment of the present invention, in the 3 rd implementation manner of the 2 nd aspect of the embodiment of the present invention, before acquiring the picture verification code, the method further includes:
requesting access to a page;
the executing processing logic corresponding to the verification result comprises:
if the verification result is that the verification is passed, acquiring and displaying the access page;
and if the verification result is that the verification is not passed, and the verification times do not exceed the preset retry times or the verification time does not exceed the preset timeout time, returning the sliding instruction for detecting the sliding picture again, and sliding the sliding picture.
In aspect 3, an image verification code generation apparatus according to an embodiment of the present invention includes:
the first acquisition module is used for acquiring a reference picture of a first knowledge domain;
the selection extraction module is used for selecting a target area from the reference picture and extracting the picture content of the target area as a sliding picture;
the second acquisition module is used for acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain;
a background picture obtaining module, configured to cover the filler picture at least in a target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
With reference to the 3 rd aspect, in a 1 st implementation manner of the 3 rd aspect of the embodiment of the present invention, the selecting and extracting module, configured to extract the picture content of the target region as a sliding picture, includes:
and copying the picture content of the target area to obtain a sliding picture.
With reference to aspect 3, in a 2 nd implementation manner of aspect 3 of the embodiment of the present invention, an area of the filler picture is not greater than an area of the target region.
With reference to the 2 nd implementation manner of the 3 rd aspect of the embodiment of the present invention, in the 3 rd implementation manner of the 3 rd aspect of the embodiment of the present invention, the obtaining, by the second obtaining module, a filler picture of the second knowledge domain includes:
acquiring a filling picture with the area not larger than that of the target area from a picture library of a second knowledge domain;
or randomly acquiring an original filling picture from a picture library of a second knowledge domain, and if the area of the original filling picture is larger than that of the target region, compressing the area of the original filling picture to be not larger than that of the target region to acquire the filling picture, or cutting out a picture not larger than that of the target region from the original filling picture to acquire the filling picture.
With reference to the 3 rd aspect, in a 4 th implementation manner of the 3 rd aspect of the embodiment of the present invention, the obtaining, by the background picture obtaining module, the background picture is used to cover the filler picture at least in the target area of the reference picture, and the obtaining of the background picture includes:
and covering the filling picture in the target area of the reference picture, and performing boundary blurring processing on the boundary corresponding to the filling picture and the reference picture to obtain a background picture.
With reference to the 4 th implementation manner of the 3 rd aspect, in a 5 th implementation manner of the 3 rd aspect, the performing, by the background picture obtaining module, boundary blurring processing on a boundary between the filler picture and the reference picture includes:
determining surrounding pixels located around a boundary of the filler picture and the reference picture;
blurring the surrounding pixels so that the pixels of the surrounding pixels change to a gradual change state.
With reference to aspect 3, in a 6 th implementation manner of aspect 3 of the embodiment of the present invention, the method further includes:
the wind control rule judging module is used for judging whether a preset wind control rule is hit or not, and if yes, triggering the first obtaining module to execute the step of obtaining the reference picture of the first knowledge domain; the preset wind control rule at least comprises that the access frequency of the access object is higher than a preset access frequency.
With reference to the 6 th implementation manner of the 3 rd aspect, in the 7 th implementation manner of the 3 rd aspect, the embodiment of the present invention further includes:
and the verification code sending module is used for sending the picture verification code to the terminal equipment of the access object so as to enable the terminal to jump to a verification page on which the picture verification code is displayed, or enable the terminal to superpose a picture verification code floating layer on the currently displayed page.
With reference to aspect 3, in an 8 th implementation manner of aspect 3, the shape of the sliding picture is different from the shape of the filling picture.
In a 4 th aspect, the present invention discloses an authentication apparatus, comprising:
the picture verification code acquisition module is used for acquiring a picture verification code, and the picture verification code comprises a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture;
the picture verification code display module is used for displaying the background picture and the sliding picture positioned on the background picture and displaying prompt information, and the prompt information is used for prompting the sliding picture to recover the complete picture content of the background picture;
the sliding detection module is used for detecting a sliding instruction of the sliding picture and sliding the sliding picture;
the sliding data determining module is used for determining sliding data of the sliding picture when an instruction for releasing sliding is detected;
and the request sending module is used for sending a verification request to the server at least according to the sliding data.
With reference to the 4 th aspect, in a 1 st implementation manner of the 4 th aspect of the embodiment of the present invention, the determining sliding data of the sliding picture by the sliding data determining module includes:
and determining the position of the sliding picture when the command of releasing the sliding is detected, and the track point corresponding to the sliding process of the sliding picture.
With reference to the 1 st implementation manner of the 4 th aspect, in the 2 nd implementation manner of the 4 th aspect, the embodiment of the present invention further includes:
the verification result receiving module is used for receiving the verification result fed back by the server; if the position of the sliding picture corresponds to the position of the target area and the track point accords with the manual operation track through the machine learning model verification, the verification result is that the sliding picture passes the verification, and if the position of the sliding picture does not correspond to the position of the target area and/or the track point does not accord with the manual operation track through the machine learning model verification, the verification result is that the sliding picture does not pass the verification;
and the result execution module is used for executing the processing logic corresponding to the verification result.
With reference to the 2 nd implementation manner of the 4 th aspect, in the 3 rd implementation manner of the 4 th aspect, the embodiment of the present invention further includes:
the page request module is used for requesting to access the page before the picture verification code acquisition module acquires the picture verification code;
the result execution module, configured to execute the processing logic corresponding to the verification result, further includes:
if the verification result is that the verification is passed, acquiring and displaying the access page;
and if the verification result is that the verification fails, and the verification frequency does not exceed the preset retry frequency or the verification time does not exceed the preset timeout time, controlling the sliding detection module to execute the sliding instruction for detecting the sliding picture again, and sliding the sliding picture.
In a 5 th aspect, an embodiment of the present invention provides a server, including: at least one memory and at least one processor; the memory stores one or more computer-executable instructions, and the processor calls the one or more computer-executable instructions to execute the picture verification code generation method.
In the 6 th aspect, an embodiment of the present invention provides a terminal, including: at least one memory and at least one processor; the memory stores one or more computer-executable instructions that are invoked by the processor to perform the authentication method described above.
In the 7 th aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more computer-executable instructions, where the one or more computer-executable instructions are configured to execute the above-mentioned picture verification code generation method, or execute the above-mentioned verification method.

Claims (10)

1. A picture verification code generation method is characterized by comprising the following steps:
acquiring a reference picture of a first knowledge domain;
selecting a target area from the reference picture, and extracting picture content of the target area as a sliding picture;
acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain;
covering the filling picture in at least the target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
2. The picture authentication code generation method according to claim 1, wherein the extracting the picture content of the target region as a slide picture comprises:
and copying the picture content of the target area to obtain a sliding picture.
3. The picture validation code generation method according to claim 1, wherein the overlaying the filler picture on at least the target area of the reference picture to obtain a background picture comprises:
and covering the filling picture in the target area of the reference picture, and performing boundary blurring processing on the boundary corresponding to the filling picture and the reference picture to obtain a background picture.
4. A method of authentication, comprising:
acquiring a picture verification code, wherein the picture verification code comprises a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture;
displaying the background picture and the sliding picture positioned on the background picture, and displaying prompt information, wherein the prompt information is used for prompting the sliding picture to slide;
detecting a sliding instruction of the sliding picture, and sliding the sliding picture;
when an instruction for releasing sliding is detected, sliding data of the sliding picture is determined;
and sending a verification request to a server according to at least the sliding data.
5. The authentication method according to claim 4, wherein the determining the slide data of the slide picture comprises:
and determining the position of the sliding picture when the command of releasing the sliding is detected, and the track point corresponding to the sliding process of the sliding picture.
6. An image verification code generation device, comprising:
the first acquisition module is used for acquiring a reference picture of a first knowledge domain;
the selection extraction module is used for selecting a target area from the reference picture and extracting the picture content of the target area as a sliding picture;
the second acquisition module is used for acquiring a filling picture of a second knowledge domain, wherein the first knowledge domain is different from the second knowledge domain;
a background picture obtaining module, configured to cover the filler picture at least in a target area of the reference picture to obtain a background picture; the background picture and the sliding picture form the picture verification code.
7. An authentication apparatus, comprising:
the picture verification code acquisition module is used for acquiring a picture verification code, and the picture verification code comprises a background picture and a sliding picture; the sliding picture is picture content extracted from a target area of a reference picture of a first knowledge domain, and the background picture comprises the reference picture and a filling picture of a second knowledge domain covered by the target area of the reference picture;
the picture verification code display module is used for displaying the background picture and the sliding picture positioned on the background picture and displaying prompt information, and the prompt information is used for prompting the sliding picture to slide;
the sliding detection module is used for detecting a sliding instruction of the sliding picture and sliding the sliding picture;
the sliding data determining module is used for determining sliding data of the sliding picture when an instruction for releasing sliding is detected;
and the request sending module is used for sending a verification request to the server at least according to the sliding data.
8. A server, comprising: at least one memory and at least one processor; the memory stores one or more computer-executable instructions that are invoked by the processor to perform the picture verification code generation method of any one of claims 1-3.
9. A terminal, comprising: at least one memory and at least one processor; the memory stores one or more computer-executable instructions that are invoked by the processor to perform the authentication method of any one of claims 4-5.
10. A storage medium storing one or more computer-executable instructions for performing the picture authentication code generation method of any one of claims 1 to 3, or performing the authentication method of any one of claims 4 to 5.
CN202010390154.1A 2020-05-08 2020-05-08 Picture verification code generation method, verification method, device and related equipment Active CN111563941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010390154.1A CN111563941B (en) 2020-05-08 2020-05-08 Picture verification code generation method, verification method, device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010390154.1A CN111563941B (en) 2020-05-08 2020-05-08 Picture verification code generation method, verification method, device and related equipment

Publications (2)

Publication Number Publication Date
CN111563941A true CN111563941A (en) 2020-08-21
CN111563941B CN111563941B (en) 2023-12-22

Family

ID=72070894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010390154.1A Active CN111563941B (en) 2020-05-08 2020-05-08 Picture verification code generation method, verification method, device and related equipment

Country Status (1)

Country Link
CN (1) CN111563941B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241522A (en) * 2020-09-29 2021-01-19 全通金信控股(广东)有限公司 Picture verification code generation method and verification system
CN113190310A (en) * 2021-04-27 2021-07-30 中冶华天工程技术有限公司 Verification code design method based on random position object semantic recognition
CN113852619A (en) * 2021-09-22 2021-12-28 北京顶象技术有限公司 Interactive verification method and device and electronic equipment
CN114626047A (en) * 2022-03-04 2022-06-14 北京百度网讯科技有限公司 Verification method, device and equipment based on man-machine interaction
CN115150137A (en) * 2022-06-23 2022-10-04 浪潮通用软件有限公司 High-frequency access early warning method and device based on Redis

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618350A (en) * 2015-01-15 2015-05-13 湘潭大学 Generation method of image checking code
CN105354480A (en) * 2014-08-20 2016-02-24 阿里巴巴集团控股有限公司 Verification code picture generation method and apparatus
CN108959900A (en) * 2018-07-10 2018-12-07 浪潮软件股份有限公司 A method of generating sliding identifying code picture
CN109902470A (en) * 2019-01-08 2019-06-18 平安科技(深圳)有限公司 Sliding block verification method, device, computer equipment and storage medium
CN110135145A (en) * 2019-05-23 2019-08-16 四川新网银行股份有限公司 Click identifying code method based on turing test
CN110266497A (en) * 2013-12-04 2019-09-20 腾讯科技(深圳)有限公司 Auth method, device, server, user terminal and storage medium
CN110308846A (en) * 2019-05-22 2019-10-08 广西链全科技有限公司 A kind of generation of two-dimension translational puzzle type identifying code and verification method
US20200026844A1 (en) * 2017-10-17 2020-01-23 Tencent Technology (Shenzhen) Company Limited Verification code generation method and apparatus, computer device, and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266497A (en) * 2013-12-04 2019-09-20 腾讯科技(深圳)有限公司 Auth method, device, server, user terminal and storage medium
CN105354480A (en) * 2014-08-20 2016-02-24 阿里巴巴集团控股有限公司 Verification code picture generation method and apparatus
CN104618350A (en) * 2015-01-15 2015-05-13 湘潭大学 Generation method of image checking code
US20200026844A1 (en) * 2017-10-17 2020-01-23 Tencent Technology (Shenzhen) Company Limited Verification code generation method and apparatus, computer device, and storage medium
CN108959900A (en) * 2018-07-10 2018-12-07 浪潮软件股份有限公司 A method of generating sliding identifying code picture
CN109902470A (en) * 2019-01-08 2019-06-18 平安科技(深圳)有限公司 Sliding block verification method, device, computer equipment and storage medium
CN110308846A (en) * 2019-05-22 2019-10-08 广西链全科技有限公司 A kind of generation of two-dimension translational puzzle type identifying code and verification method
CN110135145A (en) * 2019-05-23 2019-08-16 四川新网银行股份有限公司 Click identifying code method based on turing test

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241522A (en) * 2020-09-29 2021-01-19 全通金信控股(广东)有限公司 Picture verification code generation method and verification system
CN112241522B (en) * 2020-09-29 2024-02-09 全通金信控股(广东)有限公司 Picture verification code generation method and verification system
CN113190310A (en) * 2021-04-27 2021-07-30 中冶华天工程技术有限公司 Verification code design method based on random position object semantic recognition
CN113190310B (en) * 2021-04-27 2023-03-14 中冶华天工程技术有限公司 Verification code design method based on random position object semantic recognition
CN113852619A (en) * 2021-09-22 2021-12-28 北京顶象技术有限公司 Interactive verification method and device and electronic equipment
CN113852619B (en) * 2021-09-22 2024-03-01 北京顶象技术有限公司 Interactive verification method and device and electronic equipment
CN114626047A (en) * 2022-03-04 2022-06-14 北京百度网讯科技有限公司 Verification method, device and equipment based on man-machine interaction
CN115150137A (en) * 2022-06-23 2022-10-04 浪潮通用软件有限公司 High-frequency access early warning method and device based on Redis
CN115150137B (en) * 2022-06-23 2023-06-23 浪潮通用软件有限公司 Redis-based high-frequency access early warning method and device

Also Published As

Publication number Publication date
CN111563941B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN111563941B (en) Picture verification code generation method, verification method, device and related equipment
KR101821729B1 (en) Pseudo random guided fingerprint enrolment
CN110377500A (en) Test method, device, terminal device and the medium of Website page
CN112818456B (en) Layer configuration method, electronic equipment and related products
CN106485164A (en) A kind of image processing method and mobile terminal
CN108615159A (en) Access control method and device based on blinkpunkt detection
US10339334B2 (en) Augmented reality captcha
CN105245489B (en) Verification method and device
CN107248169A (en) Image position method and device
US11409849B2 (en) System, method and program for preventing unauthorized copies of webcomics and tracking replicated webcomics
CN113852619B (en) Interactive verification method and device and electronic equipment
US20220229764A1 (en) Automated test replay with sensitive information obfuscation
CN109726543A (en) A kind of login method of application program, device, terminal device and storage medium
CN114157568B (en) Browser secure access method, device, equipment and storage medium
CN115205087A (en) Screen watermark generation method, system, device and storage medium
CN111583159B (en) Image complement method and device and electronic equipment
CN109740334A (en) A kind of spatial reasoning verification method, server and terminal
CN102945338B (en) Method and device for providing passwords
CN115426350A (en) Image uploading method, image uploading device, electronic equipment and storage medium
CN108460269A (en) Verification method and device, verification terminal device
KR101837963B1 (en) System, method and program for protecting copying webtoon
JP2014081729A (en) Information processing apparatus, information processing system, control method, and program
CN112328996A (en) Operation authentication method, device, equipment and storage medium based on DCS system
CN111898107A (en) Account freezing method and device, computer equipment and storage medium
CN108537009B (en) Method and system for downloading picture and verifying original edition

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
GR01 Patent grant
GR01 Patent grant