User login verification method and device

By using human recognition capabilities to verify the verification code in the verification area of ​​the client, the problems of low security and high cost of the existing verification codes are solved, and the effects of improved security and reduced cost are achieved.

CN118821099APending Publication Date: 2024-10-22INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410851264.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The existing verification code has poor security and high cost, making it difficult to effectively prevent artificial intelligence model recognition and cracking and reduce costs.

Method used

By displaying the description information and description pictures generated by the server on the client, the user operates in the verification area to generate verification objects and feeds them back to the server for comparison. Human image recognition and information recognition capabilities are used for comprehensive verification, avoiding the need for Adds additional costs and risks of relying on AI identification.

Benefits of technology

It improves the security of user login verification, prevents artificial intelligence models from cracking verification codes, reduces costs, and enhances the security of system user login.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118821099A_ABST
    Figure CN118821099A_ABST
Patent Text Reader

Abstract

The invention provides a user login verification method and device, and the method comprises the steps: transmitting a login request to a server under the condition that a user login operation instruction is received; receiving description information and a description picture which are issued by the server and correspond to the login request, and displaying the description information and the description picture in the verification area, the description information being generated by the server according to a target image randomly selected in a preset image library, and the description picture at least comprising the target image; receiving a verification object generated by the user through operation in the description picture according to the description information and the target image in the verification area, feeding back the verification object to the server, receiving a verification result of the server, the verification result being obtained by comparing the verification object with the target image through the server, and sending the verification result to the server. Therefore, comprehensive verification is carried out by using the image recognition capability and the information recognition capability of human beings, additional cost does not need to be paid, the verification code is prevented from being recognized and cracked by using an artificial intelligence model, and the security is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a method and device for user login verification. Background Art

[0002] In today's increasingly digital world, the security of information systems and the protection of user data have become critical. With the frequent occurrence of cyber attacks and identity theft, ensuring that only legitimate users can access sensitive data and functions has become a pressing issue. In this context, user login verification codes are widely used in various information systems as an effective identity authentication mechanism.

[0003] In the prior art, common verification codes include: SMS verification codes, image verification codes, sliding verification codes, etc. They all have their own shortcomings, such as: SMS verification codes are relatively secure, but their cost is relatively high, and each trigger requires a SMS fee, and is also subject to mobile network restrictions; image verification codes and sliding verification codes are easily visually recognized and cracked by artificial intelligence models, and have poor security.

[0004] How to improve the security of existing verification methods and reduce costs is a technical problem that needs to be solved. Summary of the invention

[0005] The present invention provides a method and device for user login verification, which are used to solve the defects of poor security and high cost of verification codes in the prior art.

[0006] The present invention provides a method for user login verification, which is used for a client, and the method comprises: Upon receiving a login operation instruction from the user, sending a login request to the server; receiving description information and description pictures corresponding to the login request sent by the server, and displaying them in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description pictures at least include the target image; Receive a verification object generated by a user operating in a verification area according to the description information and the target image in the description picture, feed the verification object back to the server, and receive a verification result from the server, wherein the verification result is obtained by the server comparing the verification object with the target image.

[0007] According to a method for user login verification provided by the present invention, the description information is distance description information, and the distance description information is generated by the server according to the length pixel value of a target image randomly selected from a preset image library; the description picture is generated according to the description information and with the interference information of noise added; Receiving a verification object generated by a user performing an operation in a description picture according to the description information and the target image in the verification area, specifically comprising: receiving a verification line segment generated by a user performing a sliding operation in the description picture according to the description information and the length pixel value of the target image in the verification area; Feeding back the verification object to the server and receiving the verification result from the server specifically includes: feeding back the verification line segment to the server and receiving the verification result from the server, wherein the verification result is obtained by the server comparing the length of the verification line segment with the length pixel value of the target image.

[0008] According to a method for user login verification provided by the present invention, the description picture also includes a randomly given starting coordinate point; Receiving a verification object generated by a user in a verification area according to the description information and the target image in a description picture through an operation, specifically comprising: receiving a verification coordinate point generated by a user in a verification area according to the description information, the length pixel value of the target image and the starting coordinate point through a point selection operation in the description picture; Feeding back the verification object to the server and receiving the verification result of the server specifically includes: feeding back the verification coordinate point to the server and receiving the verification result of the server, wherein the verification result is obtained by comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image by the server.

[0009] According to a user login verification method provided by the present invention, the description information is image description information, and the image description information is generated by the server according to the shape of a target image randomly selected from a preset image library; Receiving a verification object generated by a user performing an operation in a description picture according to the description information and the target image in the verification area, specifically comprising: receiving a verification image generated by a user performing a sliding operation in the description picture according to the description information and the target image in the verification area; Feeding back the verification object to a server and receiving a verification result from the server specifically includes: feeding back the verification image to a server and receiving a verification result from the server, wherein the verification result is obtained by the server comparing the verification image with the target image.

[0010] The present invention provides a method for user login verification, which is used for a server, and the method comprises: Receiving a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; Generate corresponding description information and description picture according to the login request, and send them to the client, so that the client displays the description information and description picture in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; Receive a verification object sent by the client, compare the verification object with the target image to obtain a verification result, and return the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0011] According to a method for user login verification provided by the present invention, corresponding description information and description picture are generated according to the login request, including: according to the login request, randomly selecting a target image in a preset image library, and generating corresponding distance description information based on the length pixel value of the target image; generating the description picture according to the distance description information and adding interference information of noise, and adding the target image to the description picture.

[0012] According to a method for user login verification provided by the present invention, the verification object is a verification line segment generated by a user performing a sliding operation in the description picture in a verification area according to the description information and the length pixel value of the target image; receiving the verification object sent by a client, and comparing the verification object with the target image to obtain a verification result, including: receiving the verification line segment sent by the client, and comparing the length of the verification line segment with the length pixel value of the target image to obtain the verification result.

[0013] According to a method for user login verification provided by the present invention, after generating the description picture, the method further comprises: randomly adding a starting coordinate point in the description picture; The verification target user selects the verification coordinate point generated by the point-selection operation in the description picture in the verification area according to the description information, the length pixel value of the target image and the starting coordinate point; Receiving a verification object sent by a client, and comparing the verification object with the target image to obtain a verification result, including: receiving a verification coordinate point sent by the client, and comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image to obtain the verification result.

[0014] According to a user login verification method provided by the present invention, corresponding description information and description pictures are generated according to the login request, including: According to the login request, randomly selecting a target image from a preset image library, and generating corresponding image description information based on the shape of the target image; The description picture is generated according to the image description information and by adding interference information of noise, and the target image is added to the description picture.

[0015] According to a method for user login verification provided by the present invention, the verification object is generated by the user performing a sliding operation in the description picture in the verification area according to the description information and the target image; Receiving a verification object sent by a client, and comparing the verification object with the target image to obtain a verification result, includes: receiving a verification image sent by a client, and comparing the verification image with the target image to obtain the verification result.

[0016] The present invention also provides a user login verification device, which is used for a client, and the device comprises: A login request sending module is used to send a login request to the server when receiving a user login operation instruction; a display information receiving module is used to receive description information and description pictures corresponding to the login request sent by the server, and display them in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; The verification result receiving module is used to receive the verification object generated by the user in the verification area according to the description information and the target image in the description picture, and feed back the verification object to the server, and receive the verification result of the server, wherein the verification result is obtained by comparing the verification object with the target image through the server.

[0017] The present invention also provides a user login verification device, which is used for a server, and the device comprises: A login request receiving module, used to receive a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; a display information sending module, used to generate corresponding description information and description pictures according to the login request, and send them to the client, so that the client displays the description information and description pictures in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; The verification result sending module is used to receive the verification object sent by the client, compare the verification object with the target image to obtain the verification result, and return the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0018] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for user login verification as described above is implemented.

[0019] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for user login verification as described in any one of the above is implemented.

[0020] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for user login verification as described above is implemented.

[0021] The method and device for user login verification provided by the present invention receive user login operation instructions through a client and send a login request to a server; generate description information and a description picture corresponding to the login request through the server, and display them in a verification area of ​​the client; then receive a verification object generated by the user performing operations in the description picture in the verification area according to the description information and a target image through the client, and feed the verification object back to the server, so that the server compares the verification object with the target image to obtain a verification result, thereby utilizing human image recognition capabilities and information recognition capabilities for comprehensive verification, not only without paying additional fees, but also preventing the use of artificial intelligence models to identify and crack verification codes, thereby greatly improving security and playing a very important role in protecting the security of system user logins. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 This is one of the flow charts of the method for user login verification provided by the present invention.

[0024] Figure 2 This is the second flow chart of the method for user login verification provided by the present invention.

[0025] Figure 3 This is the third flow chart of the method for user login verification provided by the present invention.

[0026] Figure 4 It is a schematic diagram of a description picture provided by the present invention.

[0027] Figure 5 This is one of the structural schematic diagrams of the device for user login verification provided by the present invention.

[0028] Figure 6 This is the second structural diagram of the device for user login verification provided by the present invention.

[0029] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] In order to overcome the defects of poor security and high cost of verification codes in the prior art, this embodiment uses human image recognition ability and information recognition ability to perform comprehensive verification to improve verification security, which plays a very important role in protecting the security of system user login.

[0032] Combine the following Figure 1-Figure 6 The user login verification method and device of the present invention are described.

[0033] Figure 1 This is one of the flow charts of the method for user login verification provided by the present invention, which is used for the client. Figure 1 As shown, the method includes the following: Step 101: upon receiving a user login operation instruction, send a login request to a server.

[0034] The client can be a mobile terminal, which refers to a program corresponding to the server and providing local services to customers. Generally, the client can be understood as an application APP loaded on a mobile terminal or a computer.

[0035] The user login operation instruction may be an instruction generated when the user enters the user name and password on the login interface and clicks "Login" when logging into the client. The client may be a variety of clients, such as shopping apps, financial apps, etc., which require login verification.

[0036] Step 102: Receive description information and description pictures corresponding to the login request sent by the server, and display them in the verification area.

[0037] The server is provided with an image library of pre-stored images, and the description information is generated by the server according to a target image randomly selected from the preset image library.

[0038] The images may be of various types, such as triangles, quadrilaterals, cars, bicycles, airplanes, cups, chairs, benches, and the like.

[0039] The description information may be generated based on the target image, such as “please draw a 3 / 4 circle”, “please add a verification point at the origin approximately the length of a car”, “please draw a straight line the height of a cup”, etc.

[0040] The description picture at least includes a target image for user reference. In addition, the description picture may also include other images for the user to select a target image from multiple images and then draw the verification object with reference to the target image and the description information.

[0041] The verification area may be a separate area in the user's login page, which is used to display description information and description pictures, and is provided as an operable area for the user to implement verification.

[0042] Generally, the verification area can be set at the bottom of the login dialog box to facilitate users to perform corresponding verification operations after clicking login.

[0043] Step 103: receiving a verification object generated by a user operating in the verification area according to the description information and the target image in the description picture, and feeding back the verification object to the server, and receiving a verification result from the server, wherein the verification result is obtained by the server comparing the verification object with the target image.

[0044] The verification object may be a verification object generated by the user performing corresponding operations based on the description information and the target image. For example, if the description information is "Please draw a 3 / 4 circle" and the target image is "3 / 4 circle", then the corresponding verification object is a circular image drawn by the user imitating the target image by sliding in the description image. For another example, if the description information is "Please draw a straight line of the height of a cup", then the corresponding verification object is a straight line drawn by the user imitating the target image by sliding in the description image.

[0045] It should be noted that, since the accuracy of human operation is not high, there will be differences between the verification object and the target image. Then, for the server, when comparing the verification object with the target image, if the error of the comparison result is within the set error threshold, the verification result is considered to be passed. The error threshold can be set slightly larger, such as 20%, 18%, etc.

[0046] The method for user login verification provided by the present invention receives user login operation instructions through a client and sends a login request to a server; generates description information and a description picture corresponding to the login request through the server, and displays them in a verification area of ​​the client; then receives a verification object generated by the user performing operations in the description picture in the verification area according to the description information and a target image through the client, and feeds back the verification object to the server, so that the server compares the verification object with the target image to obtain a verification result, thereby utilizing human image recognition capabilities and information recognition capabilities for comprehensive verification, not only without paying additional fees, but also preventing the use of artificial intelligence models to identify and crack verification codes, thereby greatly improving security and playing a very important role in protecting the security of system user logins.

[0047] Furthermore, the description information is distance description information, and the distance description information is generated by the server according to the length pixel value of the target image randomly selected in a preset image library; the description picture is generated according to the description information and with the interference information of noise added.

[0048] For example, the distance description information may be "please draw a line segment about the length of a bicycle", and the description image may be generated based on the description information and adding noise interference information, which at least includes a bicycle image for user reference. Of course, the description image may also include other images, such as car images, mobile phone images, bench images, etc.

[0049] Among them, adding noise interference information can avoid using artificial intelligence models to identify and crack verification codes to a certain extent.

[0050] Step 103 specifically includes: receiving a verification line segment generated by a user performing a sliding operation in the description picture in the verification area according to the description information and the length pixel value of the target image; feeding back the verification line segment to the server, and receiving a verification result from the server, wherein the verification result is obtained by the server comparing the length of the verification line segment with the length pixel value of the target image.

[0051] It should be noted that since the verification line segment is generated by the user through the sliding operation of the touch screen of the terminal or the sliding operation of the mouse, its accuracy is not very high. For example, there is a situation where the drawn verification line segment is slightly curved. If the curvature is within the error range, it is considered that the drawn verification line segment meets the requirements in this embodiment.

[0052] In the image library in the server, the length pixel value of each image is pre-stored, for example, the length pixel value of an electric car is 200px, the length pixel value of a car is 300px, the length pixel value of a bicycle is 150px, and the length pixel value of a mobile phone is 50px.

[0053] For the server, when comparing the length pixel value of the verification line segment with the bicycle image, if the error of the comparison result is within the set error threshold, the verification result is considered to be passed. The set error threshold can be slightly larger, for example, the error threshold is set to 20%.

[0054] Furthermore, in this embodiment, the starting coordinate point can be defined in advance, and then the user is prompted to click on the generated verification coordinate point in the description picture to verify whether the distance between the starting coordinate point and the verification coordinate point meets the requirements. Specifically, the description picture also includes a randomly given starting coordinate point.

[0055] In describing the picture, by giving a starting coordinate point, use voice or text to describe a distance, such as one centimeter, two centimeters, half a centimeter, and other easily recognizable length distances, and then let the user click to add another verification coordinate point within the given distance range around the starting coordinate point, so that the distance between the two points is approximately within the given range.

[0056] Step 103 specifically includes: receiving a verification coordinate point generated by a user performing a click operation in the description picture in the verification area according to the description information, the length pixel value of the target image and the starting coordinate point; feeding back the verification coordinate point to the server, and receiving a verification result from the server, wherein the verification result is obtained by the server comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image.

[0057] If the user clicks to generate multiple verification coordinate points, the client collects multiple user verification coordinate points and feeds back the first verification coordinate point to the server.

[0058] For example, if the verification coordinate point is (x1, y1) and the origin coordinate is (x, y), after receiving the verification coordinate point, the server calculates the distance S between the two points and then compares it with the length pixel value S1 of the target image. If the difference between the two is less than the preset error threshold of 20%, the verification passes; if the difference between the two is greater than or equal to the preset error threshold of 20%, the verification fails, and the verification can be repeated 2 to 3 times according to the actual situation.

[0059] Furthermore, in another usage scenario, the description information may be image description information, and the image description information is generated by the server according to the shape of a target image randomly selected from a preset image library.

[0060] For example, the target image may be a triangle, and the image description information may be “Please draw a triangle of the same size”.

[0061] Step 103 specifically includes: receiving a verification image generated by a user sliding in the description picture in the verification area according to the description information and the target image; feeding back the verification image to the server, and receiving a verification result from the server, wherein the verification result is obtained by comparing the verification image with the target image by the server.

[0062] The verification image can be generated by a user sliding operation through the touch screen of the mobile terminal, or by a user inputting through a mouse. Since the accuracy of human operation is not high, there will be differences between the verification image and the target image. Then, for the server, when comparing the verification image with the target image, if the error of the comparison result is within the set error threshold, the verification result is considered to be passed.

[0063] Of course, a vertex may also be added to the description image so that the user can draw a triangle in the verification area based on the vertex and the target image.

[0064] The above embodiment is a flow chart of a method for implementing user login verification on the client side. The following will further describe the method for user login verification provided by the present invention on the server side.

[0065] Figure 2 This is one of the flow charts of the method for user login verification provided by the present invention, which is used for a server. Figure 2 , the method comprising: Step 201: Receive a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction.

[0066] The user login operation instruction may be an instruction generated when the user enters the user name and password on the login interface and clicks "Login" when logging into the client. The client may be a variety of clients, such as shopping apps, financial apps, etc., which require login verification.

[0067] Step 202: Generate corresponding description information and description picture according to the login request, and send them to the client, so that the client displays the description information and description picture in the verification area.

[0068] The description information is generated by the server according to a target image randomly selected from a preset image library. The server is provided with an image library of pre-stored images, and the description picture at least includes the target image.

[0069] The images may be of various types, such as triangles, quadrilaterals, cars, bicycles, airplanes, cups, chairs, benches, and the like.

[0070] The description information may be generated based on the target image, such as “please draw a 3 / 4 circle”, “please add a verification point at the origin approximately the length of a car”, “please draw a straight line the height of a cup”, etc.

[0071] The description picture at least includes a target image for user reference. In addition, the description picture may also include other images for the user to select a target image from multiple images and then draw the verification object with reference to the target image and the description information.

[0072] The verification area may be a separate area in the user's login page, which is used to display description information and description pictures, and is provided as an operable area for the user to implement verification.

[0073] Step 203: receiving the verification object sent by the client, comparing the verification object with the target image to obtain a verification result, and returning the verification result to the client.

[0074] The verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0075] The verification object may be a verification object generated by the user performing corresponding operations based on the description information and the target image. For example, if the description information is "Please draw a 3 / 4 circle" and the target image is "3 / 4 circle", then the corresponding verification object is a circular image drawn by the user imitating the target image by sliding in the description image. For another example, if the description information is "Please draw a straight line of the height of a cup", then the corresponding verification object is a straight line drawn by the user imitating the target image by sliding in the description image.

[0076] The method for user login verification provided by the present invention receives user login operation instructions through a client and sends a login request to a server; generates description information and a description picture corresponding to the login request through the server, and displays them in a verification area of ​​the client; then receives a verification object generated by the user performing operations in the description picture in the verification area according to the description information and a target image through the client, and feeds back the verification object to the server, so that the server compares the verification object with the target image to obtain a verification result, thereby utilizing human image recognition capabilities and information recognition capabilities for comprehensive verification, not only without paying additional fees, but also preventing the use of artificial intelligence models to identify and crack verification codes, thereby greatly improving security and playing a very important role in protecting the security of system user logins.

[0077] Further, in step 202, generating corresponding description information and description picture according to the login request includes: randomly selecting a target image from a preset image library according to the login request, and generating corresponding distance description information based on the length pixel value of the target image; generating a description picture according to the distance description information and adding interference information of noise, and adding the target image to the description picture.

[0078] In one usage scenario, the verification object is a verification line segment generated by a user performing a sliding operation in the description picture in the verification area according to the description information and the length pixel value of the target image.

[0079] Step 203 includes: receiving a verification line segment sent by the client, comparing the length of the verification line segment with the length pixel value of the target image, and obtaining the verification result.

[0080] In another use case, in this embodiment, the starting coordinate point can also be defined in advance, and then the user is prompted to click in the description picture to generate a verification coordinate point to verify whether the distance between the starting coordinate point and the verification coordinate point meets the requirements. Correspondingly, after generating the description picture, the method further includes: randomly adding a starting coordinate point in the description picture.

[0081] The verification object is a verification coordinate point generated by the user by clicking in the description picture according to the description information, the length pixel value of the target image and the starting coordinate point in the verification area.

[0082] Step 203 includes: receiving a verification coordinate point sent by the client, and comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image to obtain the verification result.

[0083] In another usage scenario, in step 202, corresponding description information and description picture are generated according to the login request, including: randomly selecting a target image from a preset image library according to the login request, and generating corresponding image description information based on the shape of the target image; generating a description picture according to the image description information and adding interference information of noise, and adding the target image to the description picture.

[0084] The verification object is generated by the user sliding in the description image in the verification area according to the description information and the target image. Step 203 specifically includes: receiving the verification image sent by the client, comparing the verification image with the target image, and obtaining the verification result.

[0085] The descriptions of the above three usage scenarios have been introduced in the aforementioned client-side embodiment, and will not be repeated in this embodiment.

[0086] To further understand the solution of this embodiment, see Figure 3 and Figure 4 , Figure 3 A flowchart of a method for user login verification provided by the present invention is shown below. Figure 4 A schematic diagram of a description picture provided for the present invention.

[0087] In the description picture, a starting coordinate point is given, and the description information formed by voice or text describes a distance based on the target image, and the target image is given in the description picture for user reference. Then the user is asked to click to add another verification coordinate point within the given distance range around the starting coordinate point, so that the distance between the two points is approximately equal to the length pixel of the target image.

[0088] You can set the user to click three times repeatedly, and send the results of the three user operations to the server for calculation and verification. If the user clicks correctly twice within the allowed error range, the verification is passed.

[0089] Specifically, see Figure 3 , the method comprising: 301. The client receives a user login operation instruction and sends a login request to the server.

[0090] 302. The server receives the login request and generates corresponding description information and description pictures according to the login request.

[0091] Among them, Figure 4 As shown in the figure, the description information is "Please click to add a verification coordinate point at a distance of about one car length from the origin", and the description picture includes a randomly given starting coordinate point. In addition, the description picture includes not only an image of a car, but also images of a bicycle, a mobile phone, and an electric motor for user reference.

[0092] 303. The server sends the description information and description picture corresponding to the login request to the client.

[0093] 304. The client displays the description information and description picture in the verification area.

[0094] 305. The client receives verification coordinate points generated by the user performing operations in the verification area according to the description information and the target image in the description picture.

[0095] 306. The client feeds back the verification coordinate point to the server.

[0096] 307. The server calculates the distance between the verification coordinate point and the starting coordinate point, and compares the distance with the length pixel value of the target image to obtain a verification result.

[0097] The verification coordinate point is (x1, y1), and the origin coordinate is (x, y). After receiving the verification coordinate point, the server calculates the distance S between the two points and then compares it with the length pixel value S1 of the target image. If the deviation of the comparison result is within plus or minus 20%, it is considered to be verified.

[0098] The user login verification device provided by the present invention is described below. The user login verification device described below and the user login verification method described above can be referenced to each other.

[0099] This application discloses a user login verification device for a client, see Figure 5 The device comprises: a login request sending module 501, which is used to send a login request to the server when receiving a user login operation instruction; a display information receiving module 502, which is used to receive description information and description pictures corresponding to the login request sent by the server, and display them in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; The verification result receiving module 503 is used to receive the verification object generated by the user in the verification area according to the description information and the target image in the description picture, and feed back the verification object to the server, and receive the verification result of the server, wherein the verification result is obtained by the server comparing the verification object with the target image.

[0100] Optionally, the description information is distance description information, and the distance description information is generated by the server according to a length pixel value of a target image randomly selected from a preset image library; The description picture is generated according to the description information and with the interference information of noise added; The verification result receiving module 503 is specifically used for: receiving a verification line segment generated by a user performing a sliding operation on the description picture in the verification area according to the description information and the length pixel value of the target image; The verification line segment is fed back to the server, and a verification result from the server is received, wherein the verification result is obtained by the server comparing the length of the verification line segment with the length pixel value of the target image.

[0101] Optionally, the description picture also includes a randomly given starting coordinate point; The verification result receiving module 503 is specifically used to: receive the verification coordinate point generated by the user performing a point selection operation in the description picture in the verification area according to the description information, the length pixel value of the target image and the starting coordinate point; The verification coordinate point is fed back to the server, and a verification result from the server is received, wherein the verification result is obtained by the server comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image.

[0102] Optionally, the description information is image description information, and the image description information is generated by the server according to the shape of a target image randomly selected from a preset image library; The verification result receiving module 503 is specifically used to: receive a verification image generated by a user sliding in the description picture in the verification area according to the description information and the target image; The verification image is fed back to a server, and a verification result from the server is received, wherein the verification result is obtained by the server comparing the verification image with the target image.

[0103] This application discloses a user login verification device for a server, see Figure 6 , the device comprises: a login request receiving module 601, used to receive a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; The display information sending module 602 is used to generate corresponding description information and description pictures according to the login request, and send them to the client, so that the client displays the description information and description pictures in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; The verification result sending module 603 is used to receive the verification object sent by the client, compare the verification object with the target image to obtain a verification result, and return the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0104] Optionally, the display information sending module 602 is specifically used to: randomly select a target image from a preset image library according to the login request, and generate corresponding distance description information based on the length pixel value of the target image; generate the description picture according to the distance description information and add the interference information of the noise, and add the target image to the description picture.

[0105] Optionally, the verification object is a verification line segment generated by a user performing a sliding operation in the description picture in the verification area according to the description information and the length pixel value of the target image; The verification result sending module 603 is specifically used to: receive the verification line segment sent by the client, compare the length of the verification line segment with the length pixel value of the target image, and obtain the verification result.

[0106] Optionally, the device further comprises a coordinate point module, which is used to randomly add a starting coordinate point in the description picture after generating the description picture; The verification object is a verification coordinate point generated by a user performing a point selection operation in the description picture in the verification area according to the description information, the length pixel value of the target image and the starting coordinate point; The verification result sending module 603 is specifically used to: receive the verification coordinate point sent by the client, compare the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image to obtain the verification result.

[0107] Optionally, the display information sending module 602 is specifically used to: randomly select a target image from a preset image library according to the login request, and generate corresponding image description information based on the shape of the target image; generate the description picture according to the image description information and add interference information of noise, and add the target image to the description picture.

[0108] Optionally, the verification object is generated by the user sliding in the description picture in the verification area according to the description information and the target image; the verification result sending module 603 is specifically used to: receive the verification image sent by the client, compare the verification image with the target image, and obtain the verification result.

[0109] The device for user login verification provided by the present invention receives user login operation instructions through a client and sends a login request to a server; generates description information and a description picture corresponding to the login request through the server, and displays them in a verification area of ​​the client; then receives a verification object generated by the user performing operations in the description picture in the verification area according to the description information and a target image through the client, and feeds back the verification object to the server, so that the server compares the verification object with the target image to obtain a verification result, thereby utilizing human image recognition capabilities and information recognition capabilities for comprehensive verification, not only without paying additional fees, but also preventing the use of artificial intelligence models to identify and crack verification codes, thereby greatly improving security and playing a very important role in protecting the security of system user logins.

[0110] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the method for user login verification, which includes: sending a login request to the server when receiving a user login operation instruction; receiving description information and description pictures corresponding to the login request sent by the server, and displaying them in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description pictures at least contain the target image; receiving the verification object generated by the user in the verification area according to the description information and the target image in the description picture, and feeding back the verification object to the server, and receiving the verification result of the server, wherein the verification result is obtained by comparing the verification object with the target image through the server.

[0111] The processor 710 can call the logic instructions in the memory 730 to execute a method for user login verification, which includes: receiving a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; generating corresponding description information and description picture according to the login request, and sending them to the client, so that the client displays the description information and description picture in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, and the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; receiving a verification object sent by the client, comparing the verification object with the target image to obtain a verification result, and returning the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0112] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the user login verification method provided by the above methods, the method including: when receiving a user login operation instruction, sending a login request to a server; receiving description information and description pictures corresponding to the login request issued by the server, and displaying them in a verification area, wherein the description information is generated by the server based on a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; receiving a verification object generated by the user in the verification area by operating in the description picture based on the description information and the target image, and feeding back the verification object to the server, and receiving the verification result of the server, wherein the verification result is obtained by the server comparing the verification object with the target image.

[0114] The present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the user login verification method provided by the above methods, which includes: receiving a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; generating corresponding description information and description pictures according to the login request, and sending them to the client, so that the client displays the description information and description pictures in a verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, and the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; receiving a verification object sent by the client, comparing the verification object with the target image to obtain a verification result, and returning the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0115] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the user login verification method provided by the above-mentioned methods, the method comprising: sending a login request to a server when a user login operation instruction is received; receiving description information and a description picture corresponding to the login request issued by the server, and displaying them in a verification area, wherein the description information is generated by the server based on a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; receiving a verification object generated by the user performing operations in the description picture in the verification area based on the description information and the target image, and feeding the verification object back to the server, and receiving the verification result of the server, wherein the verification result is obtained by the server comparing the verification object with the target image.

[0116] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for user login verification provided by the above-mentioned methods is implemented, and the method includes: receiving a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; generating corresponding description information and description picture according to the login request, and sending them to the client, so that the client displays the description information and description picture in a verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, and the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; receiving a verification object sent by the client, comparing the verification object with the target image to obtain a verification result, and returning the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

[0117] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0118] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for user login verification, characterized in that: For a client, the method comprises: Upon receiving a login operation instruction from the user, sending a login request to the server; receiving description information and description pictures corresponding to the login request sent by the server, and displaying them in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description pictures at least include the target image; Receive a verification object generated by a user operating in a verification area according to the description information and the target image in the description picture, feed the verification object back to the server, and receive a verification result from the server, wherein the verification result is obtained by the server comparing the verification object with the target image.

2. The method for user login verification according to claim 1, characterized in that: The description information is distance description information, and the distance description information is generated by the server according to a length pixel value of a target image randomly selected from a preset image library; The description picture is generated according to the description information and with the interference information of noise added; Receiving a verification object generated by a user performing an operation in a description picture according to the description information and the target image in the verification area, specifically comprising: receiving a verification line segment generated by a user performing a sliding operation in the description picture according to the description information and the length pixel value of the target image in the verification area; Feeding back the verification object to the server and receiving the verification result from the server specifically includes: feeding back the verification line segment to the server and receiving the verification result from the server, wherein the verification result is obtained by the server comparing the length of the verification line segment with the length pixel value of the target image.

3. The method for user login verification according to claim 2, characterized in that: The description picture also includes a randomly given starting coordinate point; Receiving a verification object generated by a user in a verification area according to the description information and the target image in a description picture through an operation, specifically comprising: receiving a verification coordinate point generated by a user in a verification area according to the description information, the length pixel value of the target image and the starting coordinate point through a point selection operation in the description picture; Feeding back the verification object to the server and receiving the verification result of the server specifically includes: feeding back the verification coordinate point to the server and receiving the verification result of the server, wherein the verification result is obtained by comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image by the server.

4. The method for user login verification according to claim 1, characterized in that: The description information is image description information, and the image description information is generated by the server according to the shape of a target image randomly selected from a preset image library; Receiving a verification object generated by a user performing an operation in a description picture according to the description information and the target image in the verification area, specifically comprising: receiving a verification image generated by a user performing a sliding operation in the description picture according to the description information and the target image in the verification area; Feeding back the verification object to a server and receiving a verification result from the server specifically includes: feeding back the verification image to a server and receiving a verification result from the server, wherein the verification result is obtained by the server comparing the verification image with the target image.

5. A method for user login verification, characterized in that: For a server, the method comprises: Receiving a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; Generate corresponding description information and description picture according to the login request, and send them to the client, so that the client displays the description information and description picture in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; Receive a verification object sent by the client, compare the verification object with the target image to obtain a verification result, and return the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

6. The method for user login verification according to claim 5, characterized in that: Generate corresponding description information and description pictures according to the login request, including: According to the login request, randomly select a target image from a preset image library, and generate corresponding distance description information based on the length pixel value of the target image; The description picture is generated according to the distance description information and by adding interference information of noise points, and the target image is added to the description picture.

7. The method for user login verification according to claim 6, characterized in that: The verification object is a verification line segment generated by a user performing a sliding operation in the description picture in the verification area according to the description information and the length pixel value of the target image; Receiving a verification object sent by a client, and comparing the verification object with the target image to obtain a verification result, including: receiving a verification line segment sent by the client, and comparing the length of the verification line segment with the length pixel value of the target image to obtain the verification result.

8. The method for user login verification according to claim 6, characterized in that: After generating the description picture, the method further includes: randomly adding a starting coordinate point in the description picture; The verification object is a verification coordinate point generated by a user performing a point selection operation in the description picture in the verification area according to the description information, the length pixel value of the target image and the starting coordinate point; Receiving a verification object sent by a client, and comparing the verification object with the target image to obtain a verification result, including: receiving a verification coordinate point sent by the client, and comparing the distance between the verification coordinate point and the starting coordinate point with the length pixel value of the target image to obtain the verification result.

9. The method for user login verification according to claim 5, characterized in that: Generate corresponding description information and description pictures according to the login request, including: According to the login request, randomly selecting a target image from a preset image library, and generating corresponding image description information based on the shape of the target image; The description picture is generated according to the image description information and by adding interference information of noise, and the target image is added to the description picture.

10. The method for user login verification according to claim 9, characterized in that: The verification object is generated by the user sliding in the description picture according to the description information and the target image in the verification area; Receiving a verification object sent by a client, and comparing the verification object with the target image to obtain a verification result, includes: receiving a verification image sent by a client, and comparing the verification image with the target image to obtain the verification result.

11. A user login verification device, characterized in that: For a client, the device comprises: A login request sending module, used to send a login request to the server when receiving a login operation instruction from the user; a display information receiving module, used for receiving description information and description pictures corresponding to the login request sent by the server, and displaying them in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; The verification result receiving module is used to receive the verification object generated by the user in the verification area according to the description information and the target image in the description picture, and feed back the verification object to the server, and receive the verification result of the server, wherein the verification result is obtained by comparing the verification object with the target image through the server.

12. A user login verification device, characterized in that: For a server, the device comprises: A login request receiving module, used to receive a login request sent by a client, wherein the login request is generated when the client receives a user login operation instruction; a display information sending module, used to generate corresponding description information and description pictures according to the login request, and send them to the client, so that the client displays the description information and description pictures in the verification area, wherein the description information is generated by the server according to a target image randomly selected from a preset image library, the server is provided with an image library of pre-stored images, and the description picture at least includes the target image; The verification result sending module is used to receive the verification object sent by the client, compare the verification object with the target image to obtain the verification result, and return the verification result to the client, wherein the verification object is generated by the user performing operations in the description picture in the verification area according to the description information and the target image.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for user login verification as described in any one of claims 1 to 10 is implemented.

14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for user login verification as claimed in any one of claims 1 to 10 is implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for user login verification as claimed in any one of claims 1 to 10 is implemented.

Citation Information

Cited By

  • Login verification method and device, computer equipment and storage medium

    CN119760684A