Verification method, device, electronic device and storage medium

By forming two-level verification in the closed graphics area and the target connection points selected by the user, the problem that traditional verification codes are easily cracked is solved, and higher security and difficulty are achieved, which is suitable for preventing malicious operations.

CN115329307BActive Publication Date: 2025-08-19CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210892800.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2025-08-19
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

Traditional verification code technology is easily cracked by machines, resulting in low verification security and inability to effectively distinguish user identities.

Method used

Using a two-level verification method, first, the random object fluctuates in multiple semi-enclosed sub-regions of the closed graphics area to determine whether the random object is located in the closed area composed of the target connection points selected by the user. After successful, the second level verification is performed. The second level verification depends on the target connection points and trajectory verification selected by the user.

Benefits of technology

It improves the security and difficulty of verification, greatly increasing the difficulty of cracking, and is suitable for preventing malicious operations such as scripts and crawlers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115329307B_ABST
    Figure CN115329307B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a verification method, device, electronic device, and readable storage medium. The method includes: in response to a connection point selection instruction for a next sub-area, determining a target closed area composed of selected target connection points, fluctuating the random object to the target fluctuation position of the next sub-area, and determining whether the fluctuated random object is located within the target closed area; if so, it indicates that one verification in the first level verification has been successfully completed; when each verification in the first level verification has been successfully completed, performing a second level verification using the target connection point selected for each verification in the first level verification, and displaying a corresponding business interface when the second level verification has been successfully completed. By adopting the above method, a two-level verification is provided. The second level verification can only be performed when each verification in the first level verification has been completed, which increases the difficulty of verification and improves the security of verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data security technology, and in particular to a verification method, a verification device, an electronic device and a computer-readable storage medium. Background Art

[0002] With the advancement of science and technology, the advent of the information age has brought significant convenience to people's lives, but it has also brought numerous challenges. Determining user identities in cyberspace to control access to information resources is a crucial issue. To ensure internet security, many websites employ CAPTCHA technology. Its basic form involves automatically generating a random string of numbers or symbols (i.e., a CAPTCHA) each time information is submitted to a webpage. Verification is only completed by correctly entering the system-generated CAPTCHA in the designated location. However, traditional verification systems are susceptible to cracking. For example, in traditional image CAPTCHA verification, a word prompt tells the user what to verify, such as a fan. A set of images is then provided, allowing the user to select and submit an image featuring a fan. During this process, the word prompt and image content can easily be cracked by machine-based image recognition algorithms. The recognition system cannot distinguish between a machine and a person, resulting in low security for image CAPTCHA verification. Faced with the potential for verification information to be cracked by artificial intelligence or machine learning algorithms, ensuring the security of business systems is a pressing issue. Summary of the Invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a verification method and a corresponding verification device, an electronic device, and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.

[0004] An embodiment of the present invention discloses a verification method, which includes:

[0005] In response to a user-triggered service instruction, a corresponding verification interface is displayed; the verification interface includes a closed graphic area composed of a plurality of fixed connection points and a random object located within the closed graphic area; the closed graphic area is divided into a plurality of semi-closed sub-areas; the random object fluctuates in the plurality of sub-areas in sequence;

[0006] In response to a connection point selection instruction for a next sub-region, determining a target closed region formed by the selected target connection points, fluctuating the random object to a target fluctuating position of the next sub-region, and determining whether the fluctuated random object is within the target closed region;

[0007] If so, it indicates that one verification in the first-level verification is successfully completed, and the steps of responding to the connection point selection instruction for the next sub-area, determining the target closed area formed by the selected target connection points, fluctuating the random object to the target fluctuating position of the next sub-area, and determining whether the random object after fluctuating is located within the target closed area are continued, until the random object after fluctuating is not located within the target closed area or each verification in the first-level verification is successfully completed;

[0008] When each verification in the first level verification is successfully completed, the target connection point selected in each verification in the first level verification is used to perform the second level verification, and when the second level verification is successfully completed, the corresponding business interface is displayed.

[0009] Optionally, in response to the connection point selection instruction for the next sub-region, determining the target closed region composed of the selected target connection points includes:

[0010] In response to the connection point selection instruction for the next sub-area, determining a target connection line composed of the selected target connection points;

[0011] A closed area formed by the target connecting line and the boundary line of the next sub-area is determined as the target closed area.

[0012] Optionally, before determining the target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area, the method further includes:

[0013] The target fluctuation position where the random object needs to fluctuate to the next sub-region is determined by calculation.

[0014] Optionally, when each verification in the first level verification is successfully completed, performing the second level verification using the target connection point selected in each verification in the first level verification includes:

[0015] When each verification in the first level verification is successfully completed, determining a target graph formed by connecting the target connection points selected in each verification in the first level verification;

[0016] Get the trajectory verification information entered by the user;

[0017] If the trajectory verification information matches the target pattern, it is determined that the second level verification is successfully completed.

[0018] Optionally, obtaining trajectory verification information input by the user includes:

[0019] Acquire touch track information input by the user in a designated area of the verification interface, and use the touch track information as the track verification information.

[0020] Optionally, in response to a connection point selection instruction for a next sub-region, determining a target closed region formed by selected target connection points, and fluctuating the random object to a target fluctuation position of the next sub-region comprises:

[0021] After executing the step of determining a target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area, executing the step of fluctuating the random object to the target fluctuation position of the next sub-area;

[0022] or,

[0023] After executing the step of fluctuating the random object to the target fluctuating position of the next sub-area, executing the step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for the next sub-area.

[0024] Optionally, if the trajectory verification information matches the target graphic, determining that the second-level verification is successfully completed includes:

[0025] Using image recognition technology to respectively identify the trajectory verification information and the target graphic, and comparing the recognition results;

[0026] If the comparison is consistent, it is determined that the second level verification is successfully completed.

[0027] The embodiment of the present invention further discloses a verification device, comprising:

[0028] A display module is configured to display a corresponding verification interface in response to a service instruction triggered by a user; the verification interface includes a closed graphic area composed of a plurality of fixed connection points and a random object located within the closed graphic area; the closed graphic area is divided into a plurality of semi-closed sub-areas; the random object fluctuates in the plurality of sub-areas in sequence;

[0029] a first determining module, configured to, in response to a connection point selection instruction for a next sub-region, determine a target closed region formed by the selected target connection points, fluctuate the random object to a target fluctuation position of the next sub-region, and determine whether the fluctuated random object is within the target closed region;

[0030] a verification and execution module, configured to: if yes, indicating that one verification in the first-level verification is successfully completed, continue to execute the steps of responding to the connection point selection instruction for the next sub-area, determining a target closed area formed by the selected target connection points, fluctuating the random object to the target fluctuating position of the next sub-area, and determining whether the random object after fluctuating is located within the target closed area, until the random object after fluctuating is not located within the target closed area or each verification in the first-level verification is successfully completed;

[0031] The verification and display module is used to perform the second-level verification using the target connection point selected in each verification of the first-level verification when each verification in the first-level verification is successfully completed, and to display the corresponding business interface when the second-level verification is successfully completed.

[0032] Optionally, the first determining module includes:

[0033] a first determining submodule, configured to determine a target connection line formed by the selected target connection points in response to the connection point selection instruction for the next sub-area;

[0034] The second determining submodule is configured to determine a closed area formed by the target connecting line and the boundary line of the next sub-area as the target closed area.

[0035] Optionally, the device further includes:

[0036] The second determining module is configured to calculate and determine the target fluctuation position where the random object needs to fluctuate to the next sub-region.

[0037] Optionally, the verification and display module includes:

[0038] a third determining submodule, configured to determine, upon successful completion of each verification in the first level verification, a target graph formed by connecting the target connection points selected in each verification in the first level verification;

[0039] The acquisition submodule is used to obtain the trajectory verification information input by the user;

[0040] The fourth determining submodule is configured to determine that the second level verification is successfully completed if the trajectory verification information matches the target graphic.

[0041] Optionally, the acquisition submodule includes:

[0042] The acquisition and determination unit is configured to acquire touch track information input by the user in a designated area of the verification interface, and use the touch track information as the track verification information.

[0043] Optionally, the first determining module includes:

[0044] a first execution submodule, configured to, after executing the step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for a next subarea, execute the step of fluctuating the random object to a target fluctuation position of the next subarea;

[0045] or,

[0046] The second execution submodule is used to execute the step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for the next subarea after executing the step of fluctuating the random object to the target fluctuation position of the next subarea.

[0047] Optionally, the fourth determining submodule includes:

[0048] an identification and comparison unit, configured to respectively identify the trajectory verification information and the target graphic using image recognition technology, and compare the identification results;

[0049] The determination unit is configured to determine that the second-level verification is successfully completed if the comparison is consistent.

[0050] An embodiment of the present invention further discloses an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the above-mentioned verification method when executed by the processor.

[0051] An embodiment of the present invention further discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the verification method described above are implemented.

[0052] The embodiments of the present invention include the following advantages:

[0053] In an embodiment of the present invention, a closed graphic area composed of connection points and random objects that fluctuate sequentially within multiple semi-closed sub-areas of the closed graphic area are provided on the verification interface. During each verification in the first level verification, it can be determined whether the random object fluctuates into the target closed area composed of the target connection points selected by the user. If so, it indicates that one verification in the first level verification has been successfully completed. If each verification in the first level verification has been successfully completed, the target connection points selected in each verification in the first level verification can be continued to be used for the second level verification. By adopting the above method, a two-level verification is provided. Only after each verification in the first level verification is completed can the second level verification be performed, which increases the difficulty of verification and improves the security of verification. By setting the random object to fluctuate randomly in multiple sub-areas, the user selects a target connection point to enclose the random object for the first level verification, and continues to use the target connection point selected by the user for the second level verification in the second level verification. The second level verification depends entirely on the user's selection and is difficult to crack. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a flowchart of a verification method provided by an embodiment of the present invention;

[0055] Figure 2 is a flowchart of another verification method provided by an embodiment of the present invention;

[0056] Figure 3 is a schematic diagram of a verification interface according to an embodiment of the present invention;

[0057] Figure 4 This is a schematic diagram of an application scenario of a verification method provided by an embodiment of the present invention;

[0058] Figure 5 This is a structural block diagram of a verification device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0059] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the embodiments described are only some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention are within the scope of protection of the present invention.

[0060] Traditional image and text verification methods and sliding block verification methods are easy to be cracked. For example, the traditional image and text verification method simply puts words into the background image to generate the corresponding image and text content, and tells the user the verification content through word prompts. When the user clicks on the words in the image and text content to enter the verification content, the verification is completed. For another example, in the verification process of the traditional image verification code, the user is told the verification content through word prompts, such as a fan, and then a group of pictures are provided for the user to select a picture with a fan and submit. In this process, the word prompts and picture content can easily be automatically cracked by the machine-based image recognition algorithm. The recognition system cannot identify whether the verification object is a machine or a natural person, resulting in low verification security of the image verification code. Faced with the hidden danger that verification information can be easily cracked by artificial intelligence or machine learning algorithms, how to ensure the security of the business system is an urgent problem that needs to be solved.

[0061] In order to solve the above problems, the present invention intends to provide a verification method and a corresponding verification device, an electronic device, and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.

[0062] One of the core concepts of the embodiment of the present invention is to provide a closed graphic area composed of connection points on the verification interface, as well as random objects that fluctuate sequentially in multiple semi-closed sub-areas of the closed graphic area. When performing each verification in the first level verification, it can be determined whether the random object fluctuates into the target closed area composed of the target connection points selected by the user. If so, it means that one verification in the first level verification has been successfully completed. If each verification in the first level verification has been successfully completed, the target connection points selected in each verification in the first level verification can be continued to be used for the second level verification. By adopting the above method, a two-level verification is provided. Only when each verification in the first level verification is completed can the second level verification be performed, which increases the difficulty of verification and improves the security of verification. By setting the random object to fluctuate randomly in multiple sub-areas, the user selects a target connection point to enclose the random object for the first level verification, and continues to use the target connection point selected by the user for the second level verification in the second level verification. The second level verification depends entirely on the user's selection and is difficult to crack.

[0063] Reference Figure 1 , shows a flowchart of a verification method provided by an embodiment of the present invention, which may specifically include the following steps:

[0064] Step 101: In response to a service instruction triggered by a user, a corresponding verification interface is displayed.

[0065] The verification interface includes a closed graphic area composed of several fixed connection points and a random object located in the closed graphic area; the closed graphic area is divided into multiple semi-closed sub-areas; and the random object fluctuates in the multiple sub-areas in turn.

[0066] In an embodiment of the present invention, when a user performs a certain operation, a corresponding service instruction may be triggered. In response to the service instruction, a corresponding verification interface may be displayed. The closed graphic area provided in the verification interface may be in the shape of a rectangle, triangle, square, circle, or the like. Several fixed connection points may be connected to form the boundary line of the closed graphic area.

[0067] A closed graphic area is divided into multiple semi-enclosed sub-areas, and the random object can be randomly fluctuated in each of these sub-areas in sequence. For example, a rectangular closed graphic area can be divided into three semi-enclosed sub-areas, namely sub-area A, sub-area B, and sub-area C. The random object can be set to fluctuate first into sub-area A, then into sub-area B, and finally into sub-area C. The specific fluctuation positions within the sub-areas are not specifically limited. In addition, the specific design style of the random object can be various, such as an animal image or a graphic image, and this is not specifically limited in the embodiments of the present invention.

[0068] Step 102, in response to the connection point selection instruction for the next sub-area, determine the target closed area composed of the selected target connection points, fluctuate the random object to the target fluctuation position of the next sub-area, and determine whether the random object after the fluctuation is located in the target closed area.

[0069] In the embodiment of the present invention, one sub-area may correspond to one verification. When verification is successfully completed in each sub-area, it can be determined that the first level verification is successfully completed.

[0070] For a verification performed in the next sub-region, when the user performs a connection point selection operation for the next sub-region on the verification interface, a corresponding connection point selection instruction can be generated. The connection point selection operation for the next sub-region can include selecting a corresponding target connection point from the connection points contained in the next sub-region. In response to the connection point selection instruction, a target closed region formed by the selected target connection points can be determined. When the random object is waved to the target wave position in the next sub-region, it can be determined whether the target wave position of the waved random object is within the target closed region.

[0071] Step 103, if yes, it indicates that one verification in the first-level verification is successfully completed, and the steps of responding to the connection point selection instruction for the next sub-area, determining the target closed area composed of the selected target connection points, fluctuating the random object to the target fluctuation position of the next sub-area, and judging whether the random object after the fluctuation is located in the target closed area are continued, until the random object after the fluctuation is not located in the target closed area or each verification in the first-level verification is successfully completed.

[0072] If the random object after the fluctuation is located within the target closed area, it can be determined that one verification in the first level verification is successfully completed; if the random object after the fluctuation is not located within the target closed area, it indicates that the verification has failed.

[0073] When one verification is successfully completed, the next verification may be continued according to the original step 102 until all verifications in the first level verification are successfully completed.

[0074] Step 104: When each verification in the first level verification is successfully completed, the target connection point selected in each verification in the first level verification is used to perform the second level verification, and when the second level verification is successfully completed, the corresponding business interface is displayed.

[0075] After successfully completing each verification step in the first level verification, the second level verification can be started, and the target connection points selected in each verification step in the first level verification can be used for the second level verification. After successfully completing the second level verification, the business interface for the business that the user needs to handle can be displayed.

[0076] In summary, in an embodiment of the present invention, a closed graphic area composed of connection points and random objects that fluctuate sequentially in multiple semi-closed sub-areas of the closed graphic area are provided on the verification interface. When performing each verification in the first level verification, it can be determined whether the random object fluctuates into the target closed area composed of the target connection points selected by the user. If so, it indicates that one verification in the first level verification has been successfully completed. When each verification in the first level verification has been successfully completed, the target connection points selected in each verification in the first level verification can be continued to be used for the second level verification. By adopting the above method, two-level verification is provided. Only when each verification in the first level verification is completed can the second level verification be performed, which increases the difficulty of verification and improves the security of verification. By setting the random object to fluctuate randomly in multiple sub-areas, the user selects the target connection point to enclose the random object for the first level verification, and continues to use the target connection point selected by the user for the second level verification in the second level verification. The second level verification depends entirely on the user's selection, and is difficult to crack.

[0077] Reference Figure 2 , shows a flowchart of another verification method provided by an embodiment of the present invention, which may specifically include the following steps:

[0078] Step 201: In response to a service instruction triggered by a user, a corresponding verification interface is displayed.

[0079] Among them, the verification interface includes a closed graphic area composed of several fixed connection points and a random object located in the closed graphic area; the closed graphic area is divided into multiple semi-closed sub-areas; and the random object fluctuates in the multiple sub-areas in turn.

[0080] Reference Figure 3 As shown, it is a schematic diagram of a verification interface of an embodiment of the present invention, which includes a rectangular area composed of 8 connection points and a random trajectory object (i.e., a random object) located in the rectangular area. The rectangular area can be divided into multiple semi-closed sub-areas, namely, a first sub-area composed of connection point 1, connection point 2, connection point 6 and connection point 5, a second sub-area composed of connection point 2, connection point 3, connection point 7 and connection point 6, and a third sub-area composed of connection point 3, connection point 4, connection point 8 and connection point 7. The random trajectory object can fluctuate in the three sub-areas in turn.

[0081] In an embodiment of the present invention, there may be various types of business instructions triggered by users, such as a system login business instruction for a certain system or a call business instruction for a certain service interface, etc. The embodiment of the present invention does not impose any specific restrictions on the business instructions triggered by users.

[0082] In one embodiment, in response to a business instruction triggered by a user, a corresponding verification interface is displayed, and the process of generating a corresponding closed graphic area on the verification interface may include: generating a plane coordinate system on the verification interface, generating a number of connection points above the X-axis of the plane coordinate system, and generating a number of symmetrical connection points below the plane coordinate system, connecting each connection point to form a boundary line of the closed graphic area, and each boundary line can form a corresponding closed graphic area.

[0083] Step 202, in response to the connection point selection instruction for the next sub-area, determine the target closed area composed of the selected target connection points, fluctuate the random object to the target fluctuation position of the next sub-area, and determine whether the random object after the fluctuation is located within the target closed area.

[0084] In the embodiment of the present invention, one sub-area may correspond to one verification. When verification is successfully completed in each sub-area, it means that the first level verification is successfully completed.

[0085] When performing the first verification in the first sub-area, the user can perform a connection point selection operation in the first sub-area, that is, select a target connection point from the connection points contained in the first sub-area. Based on the connection point selection operation, a corresponding connection point selection instruction can be generated. In response to the connection point selection instruction, a target closed area composed of the selected target connection points can be determined. The random object is fluctuated to the target fluctuation position in the first sub-area, wherein the target fluctuation position can be determined based on a preset algorithm, and the target fluctuation position obtained each time is random. After the random object is fluctuated to the target fluctuation position in the first sub-area, it can be determined whether the target fluctuation position of the first sub-area where the fluctuated random object is located is within the corresponding target closed area.

[0086] If the target fluctuation position of the first sub-area where the random object after the fluctuation is located is within the target closed area, it means that the first verification in the first-level verification is successfully completed, and the next verification can be performed on the next sub-area.

[0087] When performing the next verification in the next sub-region, the user can perform a connection point selection operation in the next sub-region, that is, select a target connection point from the connection points contained in the next sub-region. Based on the connection point selection operation, a corresponding connection point selection instruction can be generated. In response to the connection point selection instruction, a target closed region formed by the selected target connection points can be determined. When the random object is fluctuated to the target fluctuation position in the next sub-region, it can be determined whether the target fluctuation position of the next sub-region where the random object is located after the fluctuation is within the corresponding target closed region.

[0088] If the target fluctuation position of the next sub-area where the random object after the fluctuation is located is within the corresponding target closed area, it means that the next verification in the first-level verification is successfully completed, and the step of performing the next verification on the next sub-area can be performed again.

[0089] In an optional embodiment of the present invention, in response to the connection point selection instruction for the next sub-region in step 202, the step of determining the target closed area composed of the selected target connection points may specifically include the following sub-steps:

[0090] Sub-step S11 , in response to a connection point selection instruction for the next sub-region, determining a target connection line composed of the selected target connection points.

[0091] In sub-step S12, a closed area formed by the target connecting line and the boundary line of the next sub-area is determined as the target closed area.

[0092] In an embodiment of the present invention, in response to a connection point selection instruction for the next sub-region, a target connection line formed by connecting the selected target connection points can be determined, and then a closed area formed by the target connection line and the boundary line of the next sub-region is used as a target closed area for enclosing a random object. Figure 3 As shown, for Figure 3 In the first sub-area of the rectangular area, which is composed of connection points 1, 2, 6 and 5, the target connection points selected by the operator are connection points 5 and 2, and the target connection line formed by the target connection lines is line segment 52. The boundary lines of the next sub-area include line segments 12, 15 and 56. The closed area formed by connecting the target connection lines with the endpoints of the boundary lines is triangle 125, that is, the target closed area formed is triangle 125.

[0093] In another optional embodiment, a closed area consisting of the target connecting line, the boundary line of the next sub-area, and the boundary line of the sub-area for which verification has been completed may be determined as the target closed area.

[0094] In an optional embodiment of the present invention, in step 202, in response to the connection point selection instruction for the next sub-region, determining the target closed region formed by the selected target connection points, and fluctuating the random object to the target fluctuation position of the next sub-region may specifically include the following sub-steps:

[0095] After executing the step of determining the target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area, executing the step of fluctuating the random object to the target fluctuation position of the next sub-area; or, after executing the step of fluctuating the random object to the target fluctuation position of the next sub-area, executing the step of determining the target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area.

[0096] The order of executing the steps of determining the target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area and the step of fluctuating the random object to the target fluctuation position of the next sub-area can be flexibly set.

[0097] If the step of fluctuating the random object to the target fluctuating position of the next sub-region is performed first, the user needs to predict the fluctuating position of the random object. If the step of determining the target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-region is performed first, the connection point selection operation can be performed after the random object fluctuates to the specified position. This method has a higher verification success rate.

[0098] In an optional embodiment of the present invention, before executing the step of determining a target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area in step 202, the following steps may be further executed:

[0099] Calculate and determine the target fluctuation position of the random object required to fluctuate to the next sub-area.

[0100] In a specific implementation, a random algorithm may be used to calculate and determine the target fluctuation position of the random object required to fluctuate to the next sub-area. The random algorithm introduces a random factor, which can make the calculated target fluctuation position random.

[0101] Step 203, if yes, it indicates that one verification in the first-level verification is successfully completed, and the steps of responding to the connection point selection instruction for the next sub-area, determining the target closed area composed of the selected target connection points, fluctuating the random object to the target fluctuation position of the next sub-area, and judging whether the random object after the fluctuation is located in the target closed area are continued, until the random object after the fluctuation is not located in the target closed area or each verification in the first-level verification is successfully completed.

[0102] In an embodiment of the present invention, if the target fluctuation position of the next sub-area where the random object after the fluctuation is located is within the corresponding target closed area, it indicates that the next verification in the first-level verification is successfully completed; if the target fluctuation position of the next sub-area where the random object after the fluctuation is located is not within the corresponding target closed area, it indicates that the verification has failed.

[0103] When the next verification in the first level verification is successfully completed, the next verification may be continued according to the original step 202 until all verifications in the first level verification are successfully completed.

[0104] Step 204 : When each verification in the first level verification is successfully completed, a target graph formed by connecting the target connection points selected in each verification in the first level verification is determined.

[0105] When each verification in the first level verification is successfully completed, the second level verification can be started, and the target connection points selected in each verification in the first level verification can be determined, and then each target connection point can be connected to form a corresponding target graph. Figure 3 As shown, the target connection points selected by the operator in each verification step during the first level verification are connection point 5, connection point 2, connection point 7, and connection point 4, and the target connection points are connected to form a corresponding target graph, graph "N." In a specific implementation, the target connection points can be connected to form a corresponding target graph in sequence.

[0106] Step 205: Acquire trajectory verification information input by the user.

[0107] In an optional embodiment of the present invention, step 205 may specifically include the following sub-steps:

[0108] Sub-step S21 : acquiring touch track information input by the user in a designated area of the verification interface, and using the touch track information as track verification information.

[0109] In an embodiment of the present invention, the verification interface may provide a designated area where the user may perform a touch operation to generate corresponding touch track information, which may be used as track verification information to match the target graphic.

[0110] Step 206: If the trajectory verification information matches the target pattern, it is determined that the second level verification is successfully completed.

[0111] If the trajectory verification information matches the target pattern, it can be determined that the second level verification is successfully completed; if the trajectory verification information does not match the target pattern, it can be determined that the second level verification has failed.

[0112] In an optional embodiment of the present invention, step 206 may specifically include the following sub-steps:

[0113] In sub-step S31 , the trajectory verification information and the target graphic are recognized respectively using image recognition technology, and the recognition results are compared.

[0114] Sub-step S32: If the comparison is consistent, it is determined that the second level verification is successfully completed.

[0115] In a specific embodiment, the trajectory verification information and the target graphic may be identified by graphic recognition technology, and the recognition result of the trajectory verification information is compared with the recognition result of the target graphic. If the comparison is consistent, it can be determined that the second level verification is successfully completed.

[0116] Step 207: When the second level verification is successfully completed, the corresponding business interface is displayed.

[0117] If the second level verification is successfully completed, the business interface for the business that the user needs to handle can be displayed.

[0118] In order to make those skilled in the art better understand the embodiments of the present invention, the following is an example to illustrate. Figure 3 The specific verification process in the verification interface shown includes:

[0119] 1. In response to a business instruction triggered by the user, a plane coordinate system is generated on the verification interface, 4 connection points are generated above the X-axis of the plane coordinate system, and another 4 symmetrical connection points are generated below the X-axis, thereby forming a rectangular area composed of 8 connection points.

[0120] 2. Generate a random trajectory object in the matrix area and calculate the first fluctuation position of the random trajectory object. The first fluctuation area is in the first sub-area composed of connection point 1, connection point 2, connection point 6 and connection point 5.

[0121] 3. The operator can select connection point 5 and connection point 2 as target connection points on the verification interface to generate the corresponding target connection line, i.e., line segment 52. At this time, the random trajectory object can be fluctuated to the fluctuation position in the first sub-area.

[0122] 4. Verify whether the random trajectory object exists in the closed area formed by the target connection point and the boundary line in the first sub-area. If it exists, the verification is successful, otherwise the verification fails.

[0123] 5. After successful verification, the next fluctuation position of the random trajectory object is calculated again. This fluctuation position is located in the second sub-area composed of connection point 2, connection point 3, connection point 7 and connection point 6.

[0124] 6. The operator can again select connection point 7 as the target connection point on the verification interface to generate the corresponding target connection line, i.e., line segment 27. At this time, the random trajectory object can be fluctuated to the fluctuation position in the second sub-area again.

[0125] 7. Refer to step 4 and perform the verification step again. After the verification is successful, calculate the next fluctuation position of the random trajectory object again. The fluctuation position is located in the third sub-area composed of connection point 3, connection point 4, connection point 8 and connection point 7.

[0126] 8. The operator can again select connection point 4 as the target connection point on the verification interface to generate the corresponding target connection line, i.e., line segment 74. At this time, the random trajectory object can be fluctuated to the fluctuation position in the third sub-area again.

[0127] 9. Refer to step 4 to perform the final verification in the first level verification.

[0128] 10. After the first level verification is successful, the graphics formed by connecting the target connection points selected for each verification can be identified through image recognition technology and matched with the verification trajectory entered by the operator. If the match is successful, the second level verification is successful and the corresponding business interface can be displayed.

[0129] Reference Figure 4As shown, it is a schematic diagram of an application scenario of a verification method provided by an embodiment of the present invention. The verification method proposed by the embodiment of the present invention can be applied to the client. When user 1 performs verification through the client, the target graphic generated on the verification interface can be composed of connection point 1, connection point 6, connection point 3 and connection point 8 as endpoints; and when user 2 performs verification through the client, the target graphic generated on the verification interface can be composed of connection point 6, connection point 2, connection point 7 and connection point 4 as endpoints.

[0130] In summary, in an embodiment of the present invention, a closed graphic area composed of connection points and random objects that fluctuate sequentially in multiple semi-closed sub-areas of the closed graphic area are provided on the verification interface. When performing each verification in the first level verification, it can be determined whether the random object fluctuates into the target closed area composed of the target connection points selected by the user. If so, it indicates that one verification in the first level verification has been successfully completed. When each verification in the first level verification has been successfully completed, the target connection points selected in each verification in the first level verification can be continued to be used for the second level verification. By adopting the above method, two-level verification is provided. Only when each verification in the first level verification is completed can the second level verification be performed, which increases the difficulty of verification and improves the security of verification. By setting the random object to fluctuate randomly in multiple sub-areas, the user selects the target connection point to enclose the random object for the first level verification, and continues to use the target connection point selected by the user for the second level verification in the second level verification. The second level verification depends entirely on the user's selection, and is difficult to crack.

[0131] In this invention, a closed graphical area consisting of connection points is abstracted from the verification interface, along with a random object that can fluctuate randomly. Verification is performed based on the fluctuation trajectory of the random object. Because the fluctuation position of the random object is random and can be set to move to the corresponding fluctuation position after selecting the target connection point, manual trajectory prediction is difficult, making verification more difficult. The first-level verification in this invention requires multiple verifications, making verification more secure. Due to the high verification difficulty of this invention, it is suitable for preventing backdoor operations such as scripts and crawlers.

[0132] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0133] Reference Figure 5, shows a structural block diagram of a verification device provided by an embodiment of the present invention, which may specifically include the following modules:

[0134] Display module 501 is configured to display a corresponding verification interface in response to a user-triggered service instruction; the verification interface includes a closed graphic area consisting of a plurality of fixed connection points and a random object located within the closed graphic area; the closed graphic area is divided into a plurality of semi-closed sub-areas; the random object fluctuates in the plurality of sub-areas in sequence;

[0135] A first determining module 502 is configured to, in response to a connection point selection instruction for a next sub-region, determine a target closed region formed by the selected target connection points, fluctuate the random object to a target fluctuation position in the next sub-region, and determine whether the fluctuated random object is within the target closed region;

[0136] Verification and execution module 503 is configured to: if yes, indicating that one verification in the first-level verification is successfully completed, continue to execute the steps of responding to the connection point selection instruction for the next sub-region, determining a target closed region formed by the selected target connection points, fluctuating the random object to the target fluctuating position of the next sub-region, and determining whether the random object after fluctuating is located within the target closed region, until the random object after fluctuating is not located within the target closed region or each verification in the first-level verification is successfully completed;

[0137] The verification and display module 504 is used to perform a second-level verification using the target connection point selected in each verification in the first-level verification when each verification in the first-level verification is successfully completed, and to display the corresponding business interface when the second-level verification is successfully completed.

[0138] In this embodiment of the present invention, the first determining module includes:

[0139] a first determining submodule, configured to determine a target connection line formed by the selected target connection points in response to the connection point selection instruction for the next sub-area;

[0140] The second determining submodule is configured to determine a closed area formed by the target connecting line and the boundary line of the closed graphic area as the target closed area.

[0141] In an embodiment of the present invention, the apparatus further includes:

[0142] The second determining module is configured to calculate and determine the target fluctuation position where the random object needs to fluctuate to the next sub-region.

[0143] In an embodiment of the present invention, the verification and display module includes:

[0144] a third determining submodule, configured to determine, upon successful completion of each verification in the first level verification, a target graph formed by connecting the target connection points selected in each verification in the first level verification;

[0145] The acquisition submodule is used to obtain the trajectory verification information input by the user;

[0146] The fourth determining submodule is configured to determine that the second level verification is successfully completed if the trajectory verification information matches the target graphic.

[0147] In an embodiment of the present invention, the acquisition submodule includes:

[0148] The acquisition and determination unit is configured to acquire touch track information input by the user in a designated area of the verification interface, and use the touch track information as the track verification information.

[0149] In this embodiment of the present invention, the first determining module includes:

[0150] a first execution submodule, configured to, after executing the step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for a next subarea, execute the step of fluctuating the random object to a target fluctuation position of the next subarea;

[0151] or,

[0152] The second execution submodule is used to execute the step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for the next subarea after executing the step of fluctuating the random object to the target fluctuation position of the next subarea.

[0153] In this embodiment of the present invention, the fourth determining submodule includes:

[0154] an identification and comparison unit, configured to respectively identify the trajectory verification information and the target graphic using image recognition technology, and compare the identification results;

[0155] The determination unit is configured to determine that the second-level verification is successfully completed if the comparison is consistent.

[0156] In summary, in an embodiment of the present invention, a closed graphic area composed of connection points and random objects that fluctuate sequentially in multiple semi-closed sub-areas of the closed graphic area are provided on the verification interface. When performing each verification in the first level verification, it can be determined whether the random object fluctuates into the target closed area composed of the target connection points selected by the user. If so, it indicates that one verification in the first level verification has been successfully completed. When each verification in the first level verification has been successfully completed, the target connection points selected in each verification in the first level verification can be continued to be used for the second level verification. By adopting the above method, two-level verification is provided. Only when each verification in the first level verification is completed can the second level verification be performed, which increases the difficulty of verification and improves the security of verification. By setting the random object to fluctuate randomly in multiple sub-areas, the user selects the target connection point to enclose the random object for the first level verification, and continues to use the target connection point selected by the user for the second level verification in the second level verification. The second level verification depends entirely on the user's selection, and is difficult to crack.

[0157] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0158] An embodiment of the present invention also provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned verification method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0159] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned verification method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0160] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0161] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, apparatus, or computer program products. Thus, embodiments of the present invention may take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining software and hardware. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0162] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0163] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0165] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0166] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

[0167] The above is a detailed introduction to a verification method and a verification device, an electronic device and a computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A verification method, characterized in that: The method comprises: In response to a user-triggered service instruction, a corresponding verification interface is displayed; the verification interface includes a closed graphic area composed of a plurality of fixed connection points and a random object located within the closed graphic area; the closed graphic area is divided into a plurality of semi-closed sub-areas; the random object fluctuates in the plurality of sub-areas in sequence; In response to a connection point selection instruction for a next sub-region, determining a target closed region formed by the selected target connection points, fluctuating the random object to a target fluctuating position of the next sub-region, and determining whether the fluctuated random object is within the target closed region; If so, it indicates that one verification in the first-level verification is successfully completed, and the steps of responding to the connection point selection instruction for the next sub-area, determining the target closed area formed by the selected target connection points, fluctuating the random object to the target fluctuating position of the next sub-area, and determining whether the random object after fluctuating is located within the target closed area are continued, until the random object after fluctuating is not located within the target closed area or each verification in the first-level verification is successfully completed; When each verification in the first level verification is successfully completed, the target connection point selected in each verification in the first level verification is used to perform the second level verification, and when the second level verification is successfully completed, the corresponding business interface is displayed.

2. The method according to claim 1, characterized in that The step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for a next sub-area includes: In response to the connection point selection instruction for the next sub-area, determining a target connection line composed of the selected target connection points; A closed area formed by the target connecting line and the boundary line of the next sub-area is determined as the target closed area.

3. The method according to claim 1, characterized in that Before determining the target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area, the method further includes: The target fluctuation position where the random object needs to fluctuate to the next sub-region is determined by calculation.

4. The method according to claim 1, wherein The step of performing a second level verification using the target connection points selected in each verification in the first level verification upon successful completion of each verification in the first level verification includes: When each verification in the first level verification is successfully completed, determining a target graph formed by connecting the target connection points selected in each verification in the first level verification; Get the trajectory verification information entered by the user; If the trajectory verification information matches the target pattern, it is determined that the second level verification is successfully completed.

5. The method according to claim 4, characterized in that The step of obtaining the trajectory verification information input by the user includes: Acquire touch track information input by the user in a designated area of the verification interface, and use the touch track information as the track verification information.

6. The method according to claim 1, characterized in that In response to the connection point selection instruction for the next sub-region, determining a target closed region formed by the selected target connection points, and fluctuating the random object to a target fluctuation position of the next sub-region, comprises: After executing the step of determining a target closed area composed of the selected target connection points in response to the connection point selection instruction for the next sub-area, executing the step of fluctuating the random object to the target fluctuation position of the next sub-area; or, After executing the step of fluctuating the random object to the target fluctuating position of the next sub-area, executing the step of determining a target closed area composed of selected target connection points in response to a connection point selection instruction for the next sub-area.

7. The method according to claim 4, characterized in that If the trajectory verification information matches the target graphic, determining that the second level verification is successfully completed includes: Using image recognition technology to respectively identify the trajectory verification information and the target graphic, and comparing the recognition results; If the comparison is consistent, it is determined that the second level verification is successfully completed.

8. A verification device, characterized in that: The device comprises: A display module is configured to display a corresponding verification interface in response to a service instruction triggered by a user; the verification interface includes a closed graphic area composed of a plurality of fixed connection points and a random object located within the closed graphic area; the closed graphic area is divided into a plurality of semi-closed sub-areas; the random object fluctuates in the plurality of sub-areas in sequence; a first determining module, configured to, in response to a connection point selection instruction for a next sub-region, determine a target closed region formed by the selected target connection points, fluctuate the random object to a target fluctuation position of the next sub-region, and determine whether the fluctuated random object is within the target closed region; a verification and execution module, configured to: if yes, indicating that one verification in the first-level verification is successfully completed, continue to execute the steps of responding to the connection point selection instruction for the next sub-area, determining a target closed area formed by the selected target connection points, fluctuating the random object to the target fluctuating position of the next sub-area, and determining whether the random object after fluctuating is located within the target closed area, until the random object after fluctuating is not located within the target closed area or each verification in the first-level verification is successfully completed; The verification and display module is used to perform the second-level verification using the target connection point selected in each verification of the first-level verification when each verification in the first-level verification is successfully completed, and to display the corresponding business interface when the second-level verification is successfully completed.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of a verification method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a verification method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Verification Code Generation and Verification Method and Apparatus

    US20140173713A1

  • Subtyping heterogeneous disorders using functional random forest models

    US20200219619A1