CN109450646B - Verification request processing method and system - Google Patents

Verification request processing method and system Download PDF

Info

Publication number
CN109450646B
CN109450646B CN201811506367.5A CN201811506367A CN109450646B CN 109450646 B CN109450646 B CN 109450646B CN 201811506367 A CN201811506367 A CN 201811506367A CN 109450646 B CN109450646 B CN 109450646B
Authority
CN
China
Prior art keywords
verification
picture
statement
parameters
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811506367.5A
Other languages
Chinese (zh)
Other versions
CN109450646A (en
Inventor
甄志坚
宋德超
王沅召
程万里
程时鹏
赵慧子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811506367.5A priority Critical patent/CN109450646B/en
Publication of CN109450646A publication Critical patent/CN109450646A/en
Application granted granted Critical
Publication of CN109450646B publication Critical patent/CN109450646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3271Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a system for processing a verification request, which comprise the following steps: receiving an authentication request; acquiring and returning a verification code picture and a first verification statement corresponding to the verification code picture, wherein the verification code picture has at least one picture parameter, and the first verification statement is a statement for operating the at least one picture parameter; receiving a feedback result, and comparing the feedback result with a preset result; if the feedback result is the same as the preset result, the verification is successful; if the feedback result is different from the preset result, the verification fails; the preset result is a first operation result obtained by operating the picture parameters according to the first verification statement. Therefore, the probability of the identification verification code being broken by the program algorithm is reduced, the man-machine identification can effectively identify whether the requester is a human or a program, and the picture does not need to be reloaded when the verification fails, so that the bandwidth occupation is reduced.

Description

Verification request processing method and system
Technical Field
The present invention relates to the field of authentication, and in particular, to a method and a system for processing an authentication request.
Background
The man-machine recognition method is provided for recognizing whether a person is operating or a program is operating, and the man-machine recognition method is adopted for all requests related to resources in consideration of safety.
The man-machine identification modes commonly adopted at present are as follows: picture verification codes, sliding puzzles, point selection in pictures, and the like, wherein the picture verification codes are most convenient to implement, have the lowest cost and are most accepted by people. However, the current picture recognition algorithm is more and more intelligent and perfect, so that the man-machine recognition mode of the picture verification code is challenged, the verification code data is trained by an article on the internet, the verification code in the picture can be automatically recognized by the algorithm after a short time, people and programs cannot be accurately distinguished, and in addition, when a user cannot see the picture clearly, clicks for refreshing or fails in verification, the picture needs to be reloaded, so that the network flow is increased.
Therefore, accurately identifying whether a requestor is a human or a program is a problem to be solved in the art.
Disclosure of Invention
The invention provides a verification request processing method and a verification request processing system, which are used for facilitating maintenance personnel to quickly determine electric appliance faults.
In order to solve the above problem, as an aspect of the present invention, there is provided an authentication request processing method including:
receiving an authentication request;
acquiring and returning a verification code picture and a first verification statement corresponding to the verification code picture, wherein the verification code picture has at least one picture parameter, and the first verification statement is a statement for operating the at least one picture parameter;
receiving a feedback result, and comparing the feedback result with a preset result;
if the feedback result is the same as the preset result, the verification is successful;
if the feedback result is different from the preset result, the verification fails;
the preset result is a first operation result obtained by operating the picture parameters according to the first verification statement.
Optionally, after the verification fails, the method further includes: replacing the first verification statement with a second verification statement corresponding to the verification code picture;
calculating the picture parameters according to a second verification statement to obtain a second calculation result;
using the second operation result as a preset result;
wherein the second verification statement is different from the first verification statement.
Optionally, the obtaining of the verification code picture and the first verification statement corresponding to the verification code picture includes:
determining the number m of parameters, and acquiring a first verification statement according to the number m of parameters, wherein the first verification statement is a statement for operating m picture parameters;
setting parameter values for the m graphic parameters;
and generating a verification code picture according to the m picture parameters, wherein the verification code picture has the m picture parameters.
Optionally, generating the verification code picture according to the m picture parameter values includes:
generating m optional pictures according to the m picture parameters, wherein any optional picture has one picture parameter;
and combining the m candidate pictures into the verification code picture.
Optionally, the picture parameters include text parameters, numerical parameters, and/or image parameters.
The present application further provides a verification request processing system, including:
a receiving unit configured to receive a verification request;
the processing unit is used for acquiring and returning a verification code picture and a first verification statement corresponding to the verification code picture, wherein the verification code picture has at least one picture parameter, and the first verification statement is a statement for operating the at least one picture parameter;
the verification unit is used for receiving the feedback result and comparing the feedback result with a preset result;
if the feedback result is the same as the preset result, the verification is successful;
if the feedback result is different from the preset result, the verification fails;
the preset result is a first operation result obtained by operating the picture parameters according to the first verification statement.
Optionally, the verification unit is further configured to replace the first verification statement with a second verification statement corresponding to the verification code picture after the verification fails;
calculating the picture parameters according to a second verification statement to obtain a second calculation result;
using the second operation result as a preset result;
wherein the second verification statement is different from the first verification statement.
Optionally, the obtaining, by the processing unit, the verification code picture and the first verification statement corresponding to the verification code picture includes:
determining the number m of parameters, and acquiring a first verification statement according to the number m of parameters, wherein the first verification statement is a statement for operating m picture parameters;
setting parameter values for the m graphic parameters;
and generating a verification code picture according to the m picture parameters, wherein the verification code picture has the m picture parameters.
Optionally, the generating, by the processing unit, the verification code picture according to the m picture parameter values includes:
generating m optional pictures according to the m picture parameters, wherein any optional picture has one picture parameter;
and combining the m candidate pictures into the verification code picture.
Optionally, the picture parameters include text parameters, numerical parameters, and/or image parameters.
The invention provides a verification request processing method and a verification request processing system, which are used for verifying by combining a first verification statement and a verification code picture, so that the probability of decoding and identifying the verification code by a program algorithm is reduced, a human-computer identification can effectively identify whether a requester is a human or a program, the picture does not need to be reloaded when the verification fails, and the bandwidth occupation is reduced.
Drawings
FIG. 1 is a flow chart of a method for processing a verification request according to an embodiment of the present invention;
fig. 2 is a block diagram of an authentication request processing system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or article that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or article.
In the prior art, in order to prevent a person from maliciously accessing and acquiring resources by using a software program, man-machine authentication is usually performed on an accessing party to ensure that an access request is sent by a user and not automatically sent by a computer program, so the application proposes an authentication request processing method, as shown in fig. 1, including:
s11: an authentication request is received.
Specifically, the method provided by the application can be used for verification code verification of a website or a mobile phone app, wherein a front-end page of the website or an input port of the app receives a verification request, and requests a back-end server to perform verification after the request is received.
S12: and acquiring and returning a verification code picture and a first verification statement corresponding to the verification code picture.
Specifically, after receiving a verification request, the request needs to be processed, a verification code picture and a first verification statement corresponding to the verification code picture are obtained, the verification code picture has at least one picture parameter, the picture parameter includes a parameter type and a parameter value, for example, the parameter type may be a number, a character, a letter, and an animal, the parameter value is a specific number size, a number of people, a specific letter, and a number of animals, for example, the verification code picture includes three people, the parameter type corresponding to the verification code picture is a person, the parameter value is 3, for example, if the verification code picture has a number 233, the parameter type is a number, and the parameter value is: 233, if there is a letter ABC in the verification code picture, the parameter category is letter, and the parameter value is: ABC or the verification code picture has three vehicles, the parameter category is the vehicle, and the parameter values are: 3; it should be noted that one verification code picture may correspond to a plurality of picture parameters, for example, if there are 3 men and 4 women who have 7 persons in the verification code picture, the parameter categories include men, women and persons, the corresponding parameter values are 3, 4 and 7, respectively, and the first verification statement is a statement for operating at least one of the picture parameters; for example, the picture verification code has a number 23, and the first verification statement may be: please enter the sum of two numbers in the figure, or please enter the product of two numbers in the figure. For example, if there are 3 men and 7 women in the verification code picture, the parameter category includes men, women and people, the corresponding parameter values are 3, 7 and 10, and the corresponding first verification statement may be: please input the difference between the number of women and the number of men in the graph. Of course, the first verification voice may also be: please input the number of men in the figure, at this time, the first verification voice is equivalent to a first square of the number of men. The first verification voice may also be a request to input the square of the number of men, where the first verification voice is equivalent to squaring the number of men. It should be noted that the picture has the picture parameter means that the picture parameter is displayed on the picture or the picture graphically represents the parameter, for example, if the picture parameter is the number 3, the number 3 may be directly displayed on the picture, or 3 persons may be displayed on the picture, at this time, the number of the persons is 3, or the picture displays the sum "1 + 2" in an indirect manner of displaying the number 3, that is, the picture may display the number 3 in a direct or indirect manner.
S13: receiving a feedback result, and comparing the feedback result with a preset result;
specifically, the preset result is a first operation result obtained by operating the picture parameter according to the first verification statement. If the feedback result is the same as the preset result, the verification is successful, the requesting party which initiates the request is considered to be a person instead of a computer program, and if the feedback result is different from the preset result, the verification is failed; optionally, the method provided by the application can be used for the website and the mobile phone app, so as to reduce the pressure on the network and the pressure on the website and the mobile phone app and the background server, the preset result can be fed back when the verification code picture and the first verification statement are returned, but the preset result is not displayed, and the website front end and the mobile phone app compare with the preset result according to the feedback result, so that interaction with the server is not needed. The feedback result is an input value entered in the authentication code input box. In the method provided by the application, the verification code picture can obtain a correct result only by combining the semantics of the first verification statement, so that a computer program can be organized to automatically break the verification code, and the accuracy of man-machine identification is improved.
Optionally, after the verification fails, the method further includes: replacing the first verification statement with a second verification statement corresponding to the verification code picture;
calculating the picture parameters according to the second verification statement to obtain a second calculation result;
using the second operation result as the preset result;
specifically, any verification code picture can correspond to a plurality of verification statements, the first verification statement needs to be replaced when the verification fails or a request for replacing the verification statement is received, and the verification code picture is not replaced at the moment, so that only a small data volume needs to be loaded, network flow is reduced, the requirement on bandwidth is reduced, the verification code picture needs to be reloaded when the verification code is replaced in the prior art, the network pressure is large, the verification statements only need to be loaded in the application, the flow can be saved for a user, the server load is reduced, the second verification statement is different from the first verification statement in the application, for example, 2 women in 3 men are on the verification code picture, and the first verification statement originally is: please input the sum of the number of men and women on the verification code picture, if the result input by the user is not 5, the first verification sentence is changed, for example, the first verification sentence may be changed to: please input the number difference between men and women in the verification code picture. Without changing the verification code map, the computer program generally considers that the correct answer of the verification code has not changed, but actually the preset result of the application has changed, thereby further preventing the verification code picture from being cracked, and particularly, when the first procedure is performed if the automatically inputted answer is the same as a preset result obtained according to the second operation result, since the program already knows that the first input answer is not correct, it will not input that answer, and in particular, when the feedback result input by the user is continuously wrong for 3 times, the feedback result of one time is obtained as a target result, generating a second verification statement according to the target result to replace the first verification statement and correspondingly change the preset result, because the computer program does not use repeated answers without the captcha picture being changed, the computer program cannot crack the captcha picture.
Preferably, the obtaining of the verification code picture and the first verification statement corresponding to the verification code picture includes:
determining a parameter number m, obtaining a first verification statement according to the parameter number m,
setting parameter values for the m graphic parameters;
and generating a verification code picture according to the m picture parameters.
Specifically, the parameter number m may be a random value, optionally, the value is not greater than 3 and not less than 1, so as to prevent the verification sentence from being too complex due to too many parameters, and after the parameter number is determined, a first verification sentence is obtained, where the first verification sentence is a sentence in which m picture parameters are operated, and it should be noted that the picture parameters include parameter categories and parameter values, in order to ensure that the first verification sentence conforms to the syntax, the parameter categories of the m picture parameters are the same or belong to the same large category, for example, the parameter number is 2, the parameter categories of 2 picture parameters may be numbers at the same time, and at this time, the same parameter category, or the parameter categories may be men and women, at this time, which belong to the same large category, so as to ensure that the first verification speech conforms to the syntax, and can process the m picture parameters, and then generate the verification code picture according to the first verification sentence, the verification code picture has the m picture parameters, for example, it is determined that the number of the parameters is 2, and 2 graphic parameters are two numbers respectively, the generated verification code picture should include the two numbers, or the graphic parameters are characters, specific parameter types are men and women, and corresponding parameter values are 3 and 4, and the verification code picture should include 3 men and 4 women. In the embodiment, the first verification statement is acquired first, and then the verification code picture is automatically generated, so that a large number of verification code pictures do not need to be stored in advance, the storage space is saved, and certainly, corresponding verification statements can be set for each verification code picture in advance, so that a certain storage space needs to be occupied, the loading efficiency can be improved, the verification code picture and the verification statements can be directly acquired, and the loading speed is accelerated.
Optionally, generating the verification code picture according to the m picture parameter values includes:
generating m candidate pictures according to the m picture parameters, wherein any one of the candidate pictures has one picture parameter;
and merging the m candidate pictures into the verification code picture.
Specifically, the verification code picture in this embodiment is synthesized from a plurality of candidate pictures, for example, if the parameter types of 2 picture parameters are numbers and the parameter values are 2 and 3, respectively, one candidate picture may be generated first, and 2 may be displayed in the candidate picture, another candidate picture may be generated and displayed 3, and then the two pictures are synthesized, or if the parameter types of 2 picture parameters are men and women, and the corresponding parameter values are 1 and 3, respectively, two candidate pictures may be generated, and 1 man and 3 women are displayed in the candidate pictures, respectively.
Optionally, in this application, the picture parameter includes a text parameter, a number parameter, and/or an image parameter. For example, when the picture parameter is a number, the number 3 may be displayed in a roman numeral, an arabic numeral or a chinese capitalization manner, and when the parameter type of the picture parameter is a person and the parameter value is 3, three persons may be drawn by using the graphics while three persons are displayed by using the chinese characters. Therefore, the computer program is further prevented from identifying the verification code picture, and the accuracy of man-machine identification is improved.
The present application further provides a verification request processing system, as shown in fig. 2, including: a receiving unit 10, a processing unit 20 and a verification unit 30.
A receiving unit 10, configured to receive an authentication request. Specifically, the device provided by the present application may be used for verification code verification of a website or a mobile app, and the receiving unit 10 may be a front-end page of the website or an input port of the app, and requests a backend server to perform verification after receiving the request.
The processing unit 20 is configured to obtain and return a verification code picture and a first verification statement corresponding to the verification code picture, where the verification code picture has at least one picture parameter, and the first verification statement is a statement for performing an operation on at least one picture parameter;
specifically, after the receiving unit 10 receives the verification request, the processing unit 20 processes the request, first obtains the verification code picture and the first verification statement corresponding to the verification code picture, the verification code picture has at least one picture parameter, the picture parameter comprises a parameter category and a parameter value, for example, the parameter category may be numbers, characters, letters, animals, the parameter value is the specific number size, the number of people, the specific letters, the number of animals, the picture on the internet is manually selected, then, a series of corresponding sentence and answer combinations are generated according to the pictures, for example, there is now 10 people shown on one verification code picture, which are 3 men and 7 women, respectively, the first verification voice may be "please input the number of men in the picture", or "please enter the number of women in the figure", or "please enter the number of people wearing glasses in the figure".
A verification unit 30 for receiving the feedback result and comparing the feedback result with a preset result;
if the feedback result is the same as the preset result, the verification is successful;
if the feedback result is different from the preset result, the verification fails;
specifically, the preset result is a first operation result obtained by operating the picture parameter according to the first verification statement. If the feedback result is the same as the preset result, the verification is successful, the requesting party which initiates the request is considered to be a person instead of a computer program, and if the feedback result is different from the preset result, the verification is failed; optionally, the device provided by the application can be used for a website and a mobile phone app, so as to reduce pressure on a network and pressure on the website and the mobile phone app and a background server, the preset result can be fed back when the verification code picture and the first verification statement are returned, but the preset result is not displayed, and the website front end and the mobile phone app compare with the preset result according to the feedback result, so that interaction with the server is not needed. The feedback result is an input value entered in the authentication code input box.
Optionally, the verification unit 30 is further configured to replace the first verification statement with a second verification statement corresponding to the verification code picture after the verification fails;
calculating the picture parameters according to the second verification statement to obtain a second calculation result;
and using the second operation result as the preset result.
Specifically, any verification code picture may correspond to a plurality of verification statements, the first verification statement needs to be replaced when the verification fails or the receiving unit 10 receives a request for replacing the verification statement, and at this time, the verification code picture is not replaced, so that only a small amount of data needs to be loaded, thereby reducing network traffic and reducing the requirement on bandwidth.
Optionally, the acquiring, by the processing unit 20, the verification code picture and the first verification statement corresponding to the verification code picture includes:
determining the number m of parameters, and acquiring a first verification statement according to the number m of parameters;
setting parameter values for the m graphic parameters;
and generating a verification code picture according to the m picture parameters.
Specifically, the parameter number m may be a random value obtained by the processing unit 20 by using a random function, and optionally, the value is not greater than 3 and not less than 1, so as to prevent the verification sentence from being too complex due to too many parameters, and after the parameter number is determined, a first verification sentence is obtained, where the first verification sentence is a sentence in which m picture parameters are operated, where it is to be noted that the picture parameters include a parameter type and a parameter value, in order to ensure that the first verification sentence conforms to the grammar, the parameter types of the m picture parameters are the same or belong to the same large class, for example, the parameter number is 2, the parameter types of the 2 picture parameters may be numbers at the same time, and at this time, the same parameter type is used, or the parameter types may be men and women, and at this time, they belong to the same large class, so that the first verification speech conforms to the grammar and can process the m picture parameters, and generating a verification code picture according to the first verification statement, wherein the verification code picture has the m picture parameters, for example, it is determined that the number of the parameters is 2, and 2 graphic parameters are two numbers respectively, the generated verification code picture should include the two numbers, or the generated verification code picture should include the figure parameters, the specific parameter types are male and female, and the corresponding parameter values are 3 and 4, and the verification code picture should include 3 male and 4 female. In the embodiment, the first verification statement is acquired first, and then the verification code picture is automatically generated, so that a large number of verification code pictures do not need to be stored in advance, the storage space is saved, and certainly, corresponding verification statements can be set for each verification code picture in advance, so that a certain storage space needs to be occupied, the loading efficiency can be improved, the verification code picture and the verification statements can be directly acquired, and the loading speed is accelerated.
Optionally, the generating, by the processing unit, the verification code picture according to the m picture parameter values includes:
generating m candidate pictures according to the m picture parameters, wherein any one of the candidate pictures has one picture parameter;
and merging the m candidate pictures into the verification code picture.
Specifically, the verification code picture in this embodiment is synthesized from a plurality of candidate pictures, for example, if the parameter types of 2 picture parameters are numbers and the parameter values are 2 and 3, respectively, one candidate picture may be generated first, and 2 may be displayed in the candidate picture, another candidate picture may be generated and displayed 3, and then the two pictures are synthesized, or if the parameter types of 2 picture parameters are men and women, and the corresponding parameter values are 1 and 3, respectively, two candidate pictures may be generated, and 1 man and 3 women are displayed in the candidate pictures, respectively. Optionally, the picture parameters include text parameters, numerical parameters, and/or image parameters.
In order to better explain the advantages of the present application, another preferred embodiment is presented below.
The system provided by the application can be a server interactive system, and when the server receives the verification request, the server can require the requester to pass the man-machine identification verification first. The server presets a series of verification statements and corresponding program functions, the program functions are computer codes generated according to statement pre-coding, the program functions need to have input values, return values of the program functions obtained after the input values of the program functions are determined are preset values, for example, the verification statements are 'adding two numbers in a graph', the corresponding program functions are functions with two input parameters, and the return results of the functions are equal to the sum of the two input parameters. The server randomly selects one preset verification statement and a corresponding program function according to the set parameter number, firstly randomly generates input parameters, then generates corresponding alternative pictures according to the input parameters, the picture parameters of the alternative pictures correspond to the input parameters one by one, the program function obtains a preset result according to the input parameters, and the verification code pictures seen by the end user are formed by combining the alternative pictures.
The server returns the verification code picture and the corresponding verification statement, the returned verification statement is the first verification statement, the feedback result is received and compared with the preset result, when the verification fails, the server reselects a group of verification statements (second verification statements) and program functions, and carries out calculation again according to the previous input parameters to obtain a new preset result, namely the verification code picture is reused when the verification fails and the verification needs to be carried out again, the new verification code picture does not need to be loaded again, and only the new verification statement needs to be loaded, so that the network flow is reduced.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An authentication request processing method, comprising:
receiving an authentication request;
acquiring and returning a verification code picture and a first verification statement corresponding to the verification code picture, wherein the verification code picture has at least one picture parameter, and the first verification statement is a statement for operating at least one picture parameter;
receiving a feedback result, and comparing the feedback result with a preset result;
if the feedback result is the same as the preset result, the verification is successful;
if the feedback result is different from the preset result, the verification fails;
the preset result is a first operation result obtained by operating the picture parameters according to the first verification statement;
after the verification fails, the method further comprises the following steps: replacing the first verification statement with a second verification statement corresponding to the verification code picture;
calculating the picture parameters according to the second verification statement to obtain a second calculation result;
using the second operation result as the preset result;
wherein the second verification statement is different from the first verification statement.
2. The method of claim 1, wherein obtaining a verification code picture and a first verification statement corresponding to the verification code picture comprises:
determining the number m of parameters, and acquiring a first verification statement according to the number m of parameters, wherein the first verification statement is a statement for operating m picture parameters;
setting parameter values for the m graphic parameters;
and generating a verification code picture according to the m picture parameters, wherein the verification code picture has the m picture parameters.
3. The method of claim 2, wherein generating the verification code picture according to the m picture parameter values comprises:
generating m candidate pictures according to the m picture parameters, wherein any one of the candidate pictures has one picture parameter;
and merging the m candidate pictures into the verification code picture.
4. The authentication request processing method according to any one of claims 1 to 3,
the picture parameters comprise character parameters, numerical parameters and/or image parameters.
5. An authentication request processing system, comprising:
a receiving unit configured to receive a verification request;
the processing unit is used for acquiring and returning a verification code picture and a first verification statement corresponding to the verification code picture, wherein the verification code picture has at least one picture parameter, and the first verification statement is a statement for operating at least one picture parameter;
the verification unit is used for receiving a feedback result and comparing the feedback result with a preset result;
if the feedback result is the same as the preset result, the verification is successful;
if the feedback result is different from the preset result, the verification fails;
the preset result is a first operation result obtained by operating the picture parameters according to the first verification statement;
the verification unit is further used for replacing the first verification statement with a second verification statement corresponding to the verification code picture after the verification fails;
calculating the picture parameters according to the second verification statement to obtain a second calculation result;
using the second operation result as the preset result;
wherein the second verification statement is different from the first verification statement.
6. The system according to claim 5, wherein the processing unit obtains a verification code picture and a first verification statement corresponding to the verification code picture, and includes:
determining the number m of parameters, and acquiring a first verification statement according to the number m of parameters, wherein the first verification statement is a statement for operating m picture parameters;
setting parameter values for the m graphic parameters;
and generating a verification code picture according to the m picture parameters, wherein the verification code picture has the m picture parameters.
7. The system of claim 6, wherein the processing unit generates a verification code picture according to the m picture parameter values, comprising:
generating m candidate pictures according to the m picture parameters, wherein any one of the candidate pictures has one picture parameter;
and merging the m candidate pictures into the verification code picture.
8. An authentication request processing system according to any one of claims 5-7, wherein the picture parameters comprise text parameters, numerical parameters and/or image parameters.
CN201811506367.5A 2018-12-10 2018-12-10 Verification request processing method and system Active CN109450646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811506367.5A CN109450646B (en) 2018-12-10 2018-12-10 Verification request processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811506367.5A CN109450646B (en) 2018-12-10 2018-12-10 Verification request processing method and system

Publications (2)

Publication Number Publication Date
CN109450646A CN109450646A (en) 2019-03-08
CN109450646B true CN109450646B (en) 2020-03-17

Family

ID=65556457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811506367.5A Active CN109450646B (en) 2018-12-10 2018-12-10 Verification request processing method and system

Country Status (1)

Country Link
CN (1) CN109450646B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078437B (en) * 2019-12-24 2023-07-14 五八有限公司 Remote calling method and device for verification codes, electronic equipment and readable storage medium
CN114465762A (en) * 2021-12-24 2022-05-10 安徽航天信息有限公司 Verification code generation method and device based on context and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845489B (en) * 2005-04-06 2010-06-02 腾讯科技(深圳)有限公司 Authentication information generating device and its method, inverse automata checking device and its method
US20080133321A1 (en) * 2006-12-01 2008-06-05 Yahoo! Inc. System and method for measuring awareness of online advertising using captchas
CN101321066B (en) * 2008-05-20 2012-03-07 北京深思洛克软件技术股份有限公司 Information safety device for internetwork communication
CN102130909A (en) * 2011-02-22 2011-07-20 中兴通讯股份有限公司 Authentication method and system
CN102300177A (en) * 2011-09-28 2011-12-28 宇龙计算机通信科技(深圳)有限公司 terminal, server and identification code updating method
CN102750464A (en) * 2012-02-06 2012-10-24 青岛印象派信息技术有限公司 Verification code method based on user identification
CN102571356A (en) * 2012-02-23 2012-07-11 深圳市乐讯科技有限公司 Method and device for authenticating user identity
CN103428163A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Verification code based on image content
CN103942486A (en) * 2013-01-17 2014-07-23 上海博路信息技术有限公司 Verification code of image array
CN104038502B (en) * 2014-06-24 2018-11-13 五八同城信息技术有限公司 A kind of verification method and system
CN105824486B (en) * 2015-01-07 2019-02-05 阿里巴巴集团控股有限公司 A kind of method and device showing check code
KR101709112B1 (en) * 2015-07-13 2017-02-23 고려대학교 산학협력단 Image captcha providing method and server
CN107483208A (en) * 2016-06-08 2017-12-15 ***通信有限公司研究院 Generation, verification method and the device of identifying code picture
CN108076061A (en) * 2017-12-19 2018-05-25 重庆亚凡科技有限公司 Question-type picture verification method

Also Published As

Publication number Publication date
CN109450646A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109345417B (en) Online assessment method and terminal equipment for business personnel based on identity authentication
CN109194689B (en) Abnormal behavior recognition method, device, server and storage medium
CN108875404B (en) Data desensitization method and device based on machine learning and storage medium
EP2892003A1 (en) Method and apparatus for input verification
CN109450646B (en) Verification request processing method and system
CN106878275B (en) Identity verification method and device and server
CN109740040B (en) Verification code identification method, device, storage medium and computer equipment
KR101575276B1 (en) Virtual counseling system
CN109635086A (en) Knowledge recommendation method and device applied to knowledge platform
CN112966081A (en) Method, device, equipment and storage medium for processing question and answer information
CN111768040A (en) Model interpretation method, device, equipment and readable storage medium
CN111143813A (en) Verification problem generation method, verification method and device
CN111640417A (en) Information input method, device, equipment and computer readable storage medium
CN107517180A (en) Login method and device
CN111651554A (en) Insurance question-answer method and device based on natural language understanding and processing
CN110717158A (en) Information verification method, device, equipment and computer readable storage medium
CN105162931B (en) The sorting technique and device of a kind of communicating number
CN107231358B (en) Questionnaire data acquisition method, server and mobile terminal
CN111159379B (en) Automatic question setting method, device and system
CN106060000B (en) Method and equipment for identifying verification information
CN111933133A (en) Intelligent customer service response method and device, electronic equipment and storage medium
CN114467283B (en) Identity authentication method, device, terminal, storage medium and program product
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN112200961B (en) Page generation method, device, system, electronic equipment and computer readable medium
CN111008373B (en) Intelligent question-answering processing method and device, computer readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant