CN114785585B - Information verification method, device, equipment and storage medium - Google Patents

Information verification method, device, equipment and storage medium Download PDF

Info

Publication number
CN114785585B
CN114785585B CN202210406417.2A CN202210406417A CN114785585B CN 114785585 B CN114785585 B CN 114785585B CN 202210406417 A CN202210406417 A CN 202210406417A CN 114785585 B CN114785585 B CN 114785585B
Authority
CN
China
Prior art keywords
verification
score
verification step
target
information
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
CN202210406417.2A
Other languages
Chinese (zh)
Other versions
CN114785585A (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.)
Gaotu Education Technology Group Co ltd
Original Assignee
Gaotu Education Technology Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gaotu Education Technology Group Co ltd filed Critical Gaotu Education Technology Group Co ltd
Priority to CN202210406417.2A priority Critical patent/CN114785585B/en
Publication of CN114785585A publication Critical patent/CN114785585A/en
Application granted granted Critical
Publication of CN114785585B publication Critical patent/CN114785585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information

Abstract

The present disclosure provides an information verification method, apparatus, device, and storage medium, by obtaining a verification score corresponding to each verification step in at least one verification step verified in an information verification process, and multiplying a determined at least one verification score by a preset unique element value for each verification step under the condition of successful verification, to obtain a verification score of the at least one verification step, multiplying the determined at least one unique element value to obtain a verification score of the at least one verification step, and if the verification score is consistent with the verification score, determining that the verified at least one verification step is successful. Therefore, the verification process is added aiming at the verification results of a plurality of verification steps, so that the integrity of the information verification process can be ensured, the potential safety hazards existing in the verification process can be reduced, the verification mode is simple and effective, and the improvement of the safety of the information verification is facilitated.

Description

Information verification method, device, equipment and storage medium
Technical Field
The disclosure relates to the technical field of security verification, and in particular relates to an information verification method, device, equipment and storage medium.
Background
Currently, with the continuous development of communication technology, people are increasingly learning, shopping, social interaction and the like by using the mobile internet. For some websites or some application software, the user needs to perform corresponding identity verification, operation verification and the like in the login or use process so as to determine the use safety. For example, when a user logs in an online banking, authentication is required, and when payment is performed, payment authentication is required, and in order to enhance security, a plurality of authentication steps are often required to perform information authentication.
Although most verification processes can perform verification in multiple verification steps, each verification step may have a safety hazard during verification.
Disclosure of Invention
The embodiment of the disclosure at least provides an information verification method, an information verification device, information verification equipment and a storage medium.
The embodiment of the disclosure provides an information verification method, which comprises the following steps:
acquiring verification scores corresponding to all verification steps in at least one verification step verified in an information verification process, and pre-configuring unique element values for all verification steps under the condition of successful verification, wherein the verification scores are not zero;
Multiplying the determined at least one verification score to obtain a verification score of the at least one verification step;
multiplying the determined at least one unique element value to obtain a verification score of the at least one verification step;
and if the verification score is consistent with the verification score, determining that the verified at least one verification step is successful in verification.
In an alternative embodiment, the method further comprises:
determining a plurality of verification steps in the information verification process, wherein the plurality of verification steps includes the at least one verification step;
and configuring a verification score for each verification step of the plurality of verification steps, wherein the verification score comprises a unique prime number value configured for the case that the verification step is successful in verification, and no score or any non-prime number value is configured for the case that the verification step is unsuccessful in verification, and the verification score configured for each verification step is different.
In an alternative embodiment, the method further comprises:
if the verification score is inconsistent with the verification score, determining a first target verification step which fails to verify in the at least one verification step according to the verification score and the verification score;
And sending prompt information to the user according to the first target verification step.
In an alternative embodiment, the determining the first target verification step that fails to verify in the at least one verification step according to the verification score and the verification score if the verification score and the verification score are inconsistent includes:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score and the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the calculation result.
In an alternative embodiment, when the verification score includes a score that is not configured for the verification step if the verification is unsuccessful for the verification step, the determining, according to the calculation result, a first target verification step that fails to verify in the at least one verification step includes:
a verification step of determining from the at least one verification step that the unique element value is consistent with the calculation result;
and determining the determined verification step as a first target verification step of verification failure.
In an alternative embodiment, when the verification score includes any non-prime value configured for the verification step if the verification is unsuccessful for the verification step, the determining, according to the verification score and the verification score, a first target verification step that fails to verify in the at least one verification step includes:
Determining prime common divisors of the verification score and the verification score;
multiplying all the determined prime common divisors to obtain prime common divisor product values;
calculating the divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the divisor of the prime common divisor product value of the verification score and a preset unique prime value for each verification step under the condition of successful verification.
In an alternative embodiment, when a second target verification step of the at least one verification step is verified at least twice, the method comprises:
determining a current verification score at each verification step that is currently verified and a target verification score at each verification step that is verified when each verification step of the second target verification step is completed;
and if the current verification score can be divided by each target verification score, recording one target verification score, and taking the recorded target verification score as the verification score of the second target verification step.
The embodiment of the disclosure also provides an information verification device, which comprises:
The information verification system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring a verification score corresponding to each verification step in at least one verified step in an information verification process, and a pre-configured unique element value for each verification step under the condition that verification is successful, wherein the verification score is not zero;
the first calculation module is used for multiplying the determined at least one verification score to obtain a verification score of the at least one verification step;
the second calculation module is used for multiplying the determined at least one unique element value to obtain a verification score of the at least one verification step;
and the determining module is used for determining that the verified at least one verification step is successful if the verification score is consistent with the verification score.
In an alternative embodiment, the apparatus further comprises a configuration module for:
determining a plurality of verification steps in the information verification process, wherein the plurality of verification steps includes the at least one verification step;
and configuring a verification score for each verification step of the plurality of verification steps, wherein the verification score comprises a unique prime number value configured for the case that the verification step is successful in verification, and no score or any non-prime number value is configured for the case that the verification step is unsuccessful in verification, and the verification score configured for each verification step is different.
In an alternative embodiment, the device further includes a verification prompt module, where the verification prompt module is configured to:
if the verification score is inconsistent with the verification score, determining a first target verification step which fails to verify in the at least one verification step according to the verification score and the verification score;
and sending prompt information to the user according to the first target verification step.
In an optional implementation manner, the verification prompting module is configured to determine, when the verification score and the verification score are inconsistent, a first target verification step that fails to verify in the at least one verification step according to the verification score and the verification score, where the first target verification step is specifically configured to:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score and the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the calculation result.
In an optional implementation manner, when the verification prompt module is configured to not configure a score for the verification step if the verification score includes verification for the verification step is unsuccessful, the verification prompt module is configured to determine, according to the calculation result, a first target verification step that fails to verify in the at least one verification step, specifically configured to:
A verification step of determining from the at least one verification step that the unique element value is consistent with the calculation result;
and determining the determined verification step as a first target verification step of verification failure.
In an optional implementation manner, when the verification prompt module is configured to configure any non-prime value for the verification step if the verification score includes verification for the verification step is unsuccessful, the verification prompt module is configured to determine, according to the verification score and the verification score, a first target verification step that fails to verify in the at least one verification step, specifically configured to:
determining prime common divisors of the verification score and the verification score;
multiplying all the determined prime common divisors to obtain prime common divisor product values;
calculating the divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the divisor of the prime common divisor product value of the verification score and a preset unique prime value for each verification step under the condition of successful verification.
In an alternative embodiment, when the second target verification step of the at least one verification step is verified at least twice, the apparatus further comprises a score determination module for:
Determining a current verification score at each verification step that is currently verified and a target verification score at each verification step that is verified when each verification step of the second target verification step is completed;
and if the current verification score can be divided by each target verification score, recording one target verification score, and taking the recorded target verification score as the verification score of the second target verification step.
The embodiment of the disclosure also provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the embodiments described above.
The disclosed embodiments also provide a computer storage medium having a computer program stored thereon, which when executed by a processor performs the steps in the above-described implementations.
According to the information verification method, the information verification device, the information verification equipment and the storage medium, verification scores corresponding to all verification steps in at least one verification step verified in an information verification process are obtained, and unique element values which are configured in advance for all verification steps under the condition that verification is successful, wherein the verification scores are not zero, multiplication calculation is conducted on the determined at least one verification score to obtain verification scores of the at least one verification step, multiplication calculation is conducted on the determined at least one unique element value to obtain verification scores of the at least one verification step, and if the verification scores are consistent with the verification scores, verification success of the verified at least one verification step is determined.
Therefore, the verification process is added aiming at the verification results of a plurality of verification steps, so that the integrity of the information verification process can be ensured, the potential safety hazards existing in the verification process can be reduced, the verification mode is simple and effective, and the improvement of the safety of the information verification is facilitated.
Further, according to the information verification method provided by the embodiment of the present disclosure, a first target verification step of verification failure in the at least one verification step may be determined according to the verification score inconsistent with the verification score, and according to the first target verification step, prompt information is sent to a user, so that a step of verification failure may be further clarified, and convenience is provided for re-verification of a subsequent step of verification failure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
FIG. 1 shows a flow chart of an information verification method provided by an embodiment of the present disclosure;
FIG. 2 illustrates a flow chart of another information verification method provided by embodiments of the present disclosure;
FIG. 3 is a schematic diagram of an information verification device according to an embodiment of the disclosure;
FIG. 4 is a schematic diagram showing a second embodiment of an information verification device according to the present disclosure;
fig. 5 shows a schematic diagram of an electronic device provided by an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the embodiments of the present disclosure, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The term "and/or" is used herein to describe only one relationship, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist together, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Research shows that with the continuous development of communication technology, people are increasingly learning, shopping, social interaction and the like by using the mobile internet. For some websites or some application software, the user needs to perform corresponding identity verification, operation verification and the like in the login or use process so as to determine the use safety. For example, when a user logs in an online banking, authentication is required, and when payment is performed, payment authentication is required, and in order to enhance security, a plurality of authentication steps are often required to perform information authentication. Although most verification processes can perform verification in multiple verification steps, each verification step may have a safety hazard during verification.
Based on the research, the information verification and verification method is provided, and the verification process is added aiming at verification results of a plurality of verification steps, so that the integrity of the information verification process can be ensured, potential safety hazards existing in the verification process can be reduced, the verification mode is simple and effective, and the improvement of the safety of information verification is facilitated.
For the sake of understanding the present embodiment, first, a detailed description will be given of an information verification method disclosed in an embodiment of the present disclosure, where an execution subject of the information verification method provided in the embodiment of the present disclosure is generally a computer device having a certain computing capability, and the computer device includes, for example: the terminal device, or server or other processing device, may be a User Equipment (UE), mobile device, user terminal, cellular telephone, cordless telephone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle mounted device, wearable device, etc. In some possible implementations, the information verification method may be implemented by a processor invoking computer readable instructions stored in a memory.
Referring to fig. 1, fig. 1 is a flowchart of an information verification method according to an embodiment of the disclosure. As shown in fig. 1, a flowchart of an information verification method provided by an embodiment of the present disclosure includes:
s101: and acquiring a verification score corresponding to each verification step in at least one verified step in the information verification process, and a pre-configured unique element value for each verification step under the condition that verification is successful, wherein the verification score is not zero.
In practical application, for the user to use the website or the application software, multi-step information verification is mostly performed, taking the case that the user uses the payment application to transfer accounts, the user needs to input account information of transfer, input payment passwords and perform face recognition verification when the user needs to transfer accounts, and correspondingly, the background server can verify account information of transfer when receiving account information of transfer, further, the background server can verify payment passwords when receiving payment passwords, and finally, the background server can verify face information when receiving face information.
Therefore, in this step, after the verification step in the information verification process is completed, for example, after the verification of the payment password, the face information, and the like described above is completed, the corresponding, pre-configured verification score thereof may be obtained accordingly, and the unique element value pre-configured for the verification step for which the verification is completed may also be obtained if the verification is successful.
The obtaining of the verification score corresponding to each verification step in the at least one verification step verified in the information verification process may be obtained immediately after the verification of each verification step is completed, or may be obtained together after a final interface call request is received, that is, after all the verification steps of the at least one verification step are completed.
Wherein, the verification score corresponding to each verification step is configured for each verification step in advance, and the verification score of each verification step is not zero.
Specifically, the verification score may be configured for each verification step by:
determining a plurality of verification steps in the information verification process, wherein the plurality of verification steps includes the at least one verification step; and configuring a verification score for each verification step of the plurality of verification steps, wherein the verification score comprises a unique prime number value configured for the case that the verification step is successful in verification, and no score or any non-prime number value is configured for the case that the verification step is unsuccessful in verification, and the verification score configured for each verification step is different.
In this step, a plurality of verification steps included in the information verification flow may be first determined, and a verification score may be configured for each verification step.
Accordingly, for each verification step, after the verification is completed, two cases may occur, namely, the verification step is successful in verification and the verification step is unsuccessful in verification, if the verification step is successful in verification, a unique prime value may be configured for the verification step that is successful in verification, and if the verification step is unsuccessful in verification, no score or any non-prime value may be configured for the verification step that is unsuccessful in verification.
For example, for each verification step, a verification score of each verification step may be configured, where each verification step is configured with a corresponding unique prime value in advance, for example, a prime number 3 is configured for a verification bank information step, a prime number 5 is configured for a verification code verification step, a prime number 7 is configured for a face recognition step, and a prime number 9 is configured for a payment password step, and if there is a verification step that is unsuccessful, no score or no prime number value is configured for the verification step, for example, when the verification of bank information is unsuccessful, no score or no prime number value 4 is configured for the step.
Further, the verification score is configured for each verification step, and may be configured by random configuration, sequential configuration, weight configuration, and the like. When the prime numbers are configured in sequence, the prime numbers can be configured in the sequence from small to large according to the execution sequence of the verification steps, or the prime numbers with the same number can be determined according to the number of the verification steps, and the prime numbers are configured in the sequence from large to small according to the selected prime numbers; when the weight is configured, the weight for each verification step and the prime number which is equal to the number of the verification steps are determined in advance according to different importance degrees of each verification step, and the configuration is carried out according to the size of the weight of each verification step and the size of the selected prime number.
Illustratively, configuring the scores for the verification steps of the transfer, such as configuring the scores from small to large according to the prime numbers configured in sequence, results in configuring the prime number 2 for the verification bank information, configuring the prime number 3 for the verification code, configuring the prime number 5 for the face recognition, and configuring the prime number 7 for the payment password. When the weight is configured, firstly, the weight of each verification step is determined according to different importance degrees of each verification step, for example, the weights of verification bank information, verification codes, face recognition and payment passwords are respectively set to 30%, 5%, 25% and 40%, four prime numbers such as 2, 3, 5 and 7 are randomly determined according to the four verification steps, and prime number 5 is configured for the verification bank information, prime number 2 is configured for the verification codes, prime number 3 is configured for the face recognition and prime number 7 is configured for the payment passwords according to the weight of the verification steps.
S102: and multiplying the determined at least one verification score to obtain the verification score of the at least one verification step.
Wherein the verification score of the at least one verification step is the product value of the at least one verification score.
S103: and multiplying the determined at least one unique element value to obtain the verification score of the at least one verification step.
Wherein the verification score of the at least one verification step is the product value of the at least one unique prime value.
S104: and if the verification score is consistent with the verification score, determining that the verified at least one verification step is successful in verification.
In the step, when judging that the verification score is consistent with the verification score, performing division calculation or subtraction calculation on the verification score and the verification score to obtain a specific numerical calculation result, and determining that the verification score is consistent with the verification score according to the calculation result, for example, when the verification score is divided from the verification score to obtain a numerical result 1, the verification score is consistent with the verification score; and for example, when the verification score and the verification score are subtracted, and a numerical result 0 is obtained, the verification score and the verification score are consistent. And then according to the verification score and the verification score being consistent, determining that the verified at least one verification step is successful in verification.
According to the information verification method provided by the embodiment of the disclosure, verification scores corresponding to all verification steps in at least one verification step verified in an information verification process are obtained, and unique element values which are preset for all verification steps under the condition that verification is successful are obtained, wherein the verification scores are not zero, multiplication calculation is conducted on the determined at least one verification score to obtain verification scores of the at least one verification step, multiplication calculation is conducted on the determined at least one unique element value to obtain verification scores of the at least one verification step, and if the verification scores are consistent with the verification scores, verification success of the verified at least one verification step is determined.
Therefore, the verification process is added aiming at the verification results of a plurality of verification steps, so that the integrity of the information verification process can be ensured, the potential safety hazards existing in the verification process can be reduced, the verification mode is simple and effective, and the improvement of the safety of the information verification is facilitated.
Referring to fig. 2, fig. 2 is a flowchart of another information verification method according to an embodiment of the disclosure. As shown in fig. 2, another information verification method provided by an embodiment of the present disclosure includes:
s201: and acquiring a verification score corresponding to each verification step in at least one verified step in the information verification process, and a pre-configured unique element value for each verification step under the condition that verification is successful, wherein the verification score is not zero.
S202: and multiplying the determined at least one verification score to obtain the verification score of the at least one verification step.
S203: and multiplying the determined at least one unique element value to obtain the verification score of the at least one verification step.
S204: and if the verification score is consistent with the verification score, determining that the verified at least one verification step is successful in verification.
S205: and if the verification score is inconsistent with the verification score, determining a first target verification step which fails to verify in the at least one verification step according to the verification score and the verification score.
In the step, if the verification score is inconsistent with the verification score, the verification score and the verification score are calculated, and then a first target verification step of verification failure in the at least one verification step is determined according to a calculation result obtained after calculation.
S206: and sending prompt information to the user according to the first target verification step.
In the step, after a first target verification step which fails to verify in the at least one verification step is determined according to the verification score and the verification score, prompt information is sent to a user according to the determined first target verification step which fails to verify in the at least one verification step so as to re-execute the subsequent first target verification step which fails to verify.
The prompt information can be sent to the user through popup window prompt or through verification page prompt.
The descriptions of step S201 to step S204 may refer to the descriptions of step S101 to step S104, and may achieve the same technical effects and solve the same technical problems, which are not described herein.
Next, this embodiment will be further described with reference to specific embodiments.
In an alternative embodiment, the determining the first target verification step that fails to verify in the at least one verification step according to the verification score and the verification score if the verification score and the verification score are inconsistent includes:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score and the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the calculation result.
In the step, when the verification score is inconsistent with the verification score, the configuration score and the verification score are divided to obtain a calculation result according to the calculation, and then a first target verification step which fails to verify in the at least one verification step is determined according to the calculation result.
In an alternative embodiment, when the verification score includes a score that is not configured for the verification step if the verification is unsuccessful for the verification step, determining, according to the calculation result, a first target verification step that fails to verify in the at least one verification step, including:
A verification step of determining from the at least one verification step that the unique element value is consistent with the calculation result;
and determining the determined verification step as a first target verification step of verification failure.
In the step, the verification score is inconsistent with the verification score, namely the verification in the verification step is unsuccessful, when the score is not configured for the verification step, the calculation result obtained by dividing the configured score by the verification score is calculated, and when the calculation result is consistent with the unique prime number value determined in the at least one verification step, the verification step is determined to be the first target verification step failing in verification.
For example, when the user transfers, there is an authentication procedure, for example, the following steps may be included: the method comprises the steps of verifying card number information, verification codes, face identification and payment passwords, wherein each verification step has preset unique prime number values under the condition of successful verification, such as configuring prime number 3 for a verification bank information step, configuring prime number 5 for a verification code verification step, configuring prime number 7 for a face identification step and configuring prime number 9 for a payment password step, multiplying the preset unique prime numbers of each step to obtain verification fraction 945 of the whole identity verification process, multiplying the verification fractions of each verification step to obtain verification fraction 315 of the verification step when the verification of the card number information of the verification step fails and the verification fraction is not configured for the verification card number information step, dividing the verification fraction 945 by the verification fraction 315 to obtain calculation result 3, and determining that the calculation result 3 is consistent with the unique prime number value preset for the verification card number information step.
In an alternative embodiment, when the verification score includes any non-prime value configured for the verification step if verification is unsuccessful for the verification step, determining, according to the verification score and the verification score, a first target verification step that fails to verify in the at least one verification step, including:
determining prime common divisors of the verification score and the verification score;
multiplying all the determined prime common divisors to obtain prime common divisor product values;
calculating the divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the divisor of the prime common divisor product value of the verification score and a preset unique prime value for each verification step under the condition of successful verification.
In the step, the verification score is inconsistent with the verification score, namely, the verification in the verification step is unsuccessful, when any non-prime value is configured for at least one verification step, the prime common divisor of the verification score and the verification score is determined, all prime common divisors obtained are multiplied to obtain a prime common divisor product value, the verification score and the verification score are respectively used for carrying out division calculation with the prime common divisor product value, the divisor value of the verification score and the prime common divisor product value is respectively obtained, and the first target verification step of verification failure in the at least one verification step is determined according to the consistency of the divisor value of the verification score and the prime common divisor product value and the unique prime value of the pre-configured verification step.
For example, when the user transfers, there is an authentication procedure, for example, the following steps may be included: the method comprises the steps of verifying card number information, verification codes, face identification and payment passwords, wherein each verification step has preset unique prime number values under the condition of successful verification, such as configuring prime number 3 for the verification bank information step, configuring prime number 5 for the verification code verification step, configuring prime number 7 for the face identification step and configuring prime number 9 for the payment password step, multiplying the preset unique prime numbers of each step to obtain verification score 945 of the whole identity verification process, when the verification of the card number information of the verification step fails, multiplying the verification score of each verification step to obtain verification score 1260 of the verification step, calculating prime common divisor of verification score 945 and verification score 1260 to obtain prime common divisor 5, 7 and 9, multiplying the obtained prime common divisor to obtain product value 315 of prime common divisor, further calculating divisor of product of verification score 945 and prime common divisor to obtain divisor 3 of value calculated verification score 945 and common divisor, and determining that the verification score of 3 is identical to the preset prime number value of the card number information of the verification step 3 fails to obtain the target verification score.
In an alternative embodiment, when a second target verification step of the at least one verification step is verified at least twice, the method comprises:
determining a current verification score at each verification step that is currently verified and a target verification score at each verification step that is verified when each verification step of the second target verification step is completed;
and if the current verification score can be divided by each target verification score, recording one target verification score, and taking the recorded target verification score as the verification score of the second target verification step.
In the step, when the second target verification step in the at least one verification step is verified at least twice in the verification process, firstly, when each verification step of the second target verification step is verified, determining the current verification score of each verification step which is verified currently, and each verification step of the second target verification step, secondly, dividing the current verification score by each target verification score, and if the current verification score can be divided by each target verification score, recording one target verification score, and taking the recorded target verification score as the verification score of the second target verification step.
Wherein, upon completion of each verification of the second target verification step, determining a current verification score for each verification step that is currently verified, and each verification of the target verification score for the second target verification step, the method further comprises:
and if the current verification score cannot be divided by any target verification score, taking the target verification score corresponding to the second target verification step verified last time in the at least two times as the verification score of the second target verification step.
In the step, when the second target verification step in the at least one verification step is verified at least twice in the verification process, after determining the current verification score of each verification step which is verified currently after each verification step is completed, dividing and calculating the current verification score with each target verification score, if the current verification score cannot be divided by any target verification score, taking the target verification score corresponding to the last verification step in the at least two times as the verification score of the second target verification step, namely, taking the verification score of the second target verification step in the last verification step as the final verification score when the second target verification step in the at least one verification step is verified at least twice.
According to the information verification method provided by the embodiment of the disclosure, verification scores corresponding to all verification steps in at least one verification step verified in an information verification process are obtained, and unique element values which are preset for all verification steps under the condition that verification is successful, wherein the verification scores are not zero, multiplication calculation is carried out on the determined at least one verification score to obtain verification scores of the at least one verification step, multiplication calculation is carried out on the determined at least one unique element value to obtain verification scores of the at least one verification step, verification success of the verified at least one verification step is determined if the verification scores are consistent with the verification scores, a first target verification step which fails to verify in the at least one verification step is determined according to the verification scores and the verification scores, and prompt information is sent to a user according to the first target verification step.
Therefore, the verification process is added aiming at verification results of a plurality of verification steps, the integrity of the information verification process can be ensured, potential safety hazards existing in the verification process can be reduced, the verification mode is simple and effective, the improvement of the safety of information verification is facilitated, a first target verification step failing in verification in at least one verification step can be determined according to the fact that verification scores are inconsistent with the verification scores, prompt information is sent to a user according to the first target verification step, the step failing in verification can be further clarified, and convenience is provided for re-verification of the steps failing in follow-up verification.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiment of the disclosure further provides an information verification device corresponding to the information verification method, and since the principle of solving the problem by the device in the embodiment of the disclosure is similar to that of the information verification method in the embodiment of the disclosure, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 3 to 4, fig. 3 is a first structural diagram of an information verification device according to an embodiment of the disclosure, and fig. 4 is a second structural diagram of an information verification device according to an embodiment of the disclosure. As shown in fig. 3, a service scheme selecting device 300 provided in an embodiment of the present disclosure, where the service scheme selecting device 300 includes:
an obtaining module 310, configured to obtain a verification score corresponding to each verification step in at least one verification step that has been verified in the information verification process, and a pre-configured unique element value for each verification step when verification is successful, where the verification score is not zero;
A first calculation module 320, configured to multiply the determined at least one verification score to obtain a verification score of the at least one verification step;
a second calculation module 330, configured to multiply the determined at least one unique element value to obtain a verification score of the at least one verification step;
a determining module 340, configured to determine that the at least one verified verification step is successful if the verification score is consistent with the verification score.
In an alternative embodiment, as shown in fig. 4, the apparatus further includes a configuration module 350, where the configuration module 350 is configured to:
determining a plurality of verification steps in the information verification process, wherein the plurality of verification steps includes the at least one verification step;
and configuring a verification score for each verification step of the plurality of verification steps, wherein the verification score comprises a unique prime number value configured for the case that the verification step is successful in verification, and no score or any non-prime number value is configured for the case that the verification step is unsuccessful in verification, and the verification score configured for each verification step is different.
In an alternative embodiment, as shown in fig. 4, the apparatus further includes a verification prompt module 360, and the verification prompt module 360 is configured to:
If the verification score is inconsistent with the verification score, determining a first target verification step which fails to verify in the at least one verification step according to the verification score and the verification score;
and sending prompt information to the user according to the first target verification step.
In an alternative embodiment, the verification prompt module 360 is configured to determine, when the verification score and the verification score are inconsistent, a first target verification step that fails to verify in the at least one verification step according to the verification score and the verification score, where the first target verification step is specifically configured to:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score and the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the calculation result.
In an alternative embodiment, the verification prompt module 360 is configured to determine, when the verification score includes a score that is not configured for the verification step if verification for the verification step is unsuccessful, a first target verification step that fails to verify in the at least one verification step according to the calculation result, specifically configured to:
A verification step of determining from the at least one verification step that the unique element value is consistent with the calculation result;
and determining the determined verification step as a first target verification step of verification failure.
In an alternative embodiment, when the verification prompt module 360 is configured to configure any non-prime value for the verification step if the verification score includes verification for the verification step is unsuccessful, the verification prompt module is configured to determine, according to the verification score and the verification score, a first target verification step that fails to verify in the at least one verification step, specifically configured to:
determining prime common divisors of the verification score and the verification score;
multiplying all the determined prime common divisors to obtain prime common divisor product values;
calculating the divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the divisor of the prime common divisor product value of the verification score and a preset unique prime value for each verification step under the condition of successful verification.
In an alternative embodiment, as shown in fig. 4, when the second target verification step of the at least one verification step is verified at least twice, the apparatus further comprises a score determination module 370, the score determination module 370 is configured to:
Determining a current verification score at each verification step that is currently verified and a target verification score at each verification step that is verified when each verification step of the second target verification step is completed;
and if the current verification score can be divided by each target verification score, recording one target verification score, and taking the recorded target verification score as the verification score of the second target verification step.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
According to the information verification device provided by the embodiment of the disclosure, verification scores corresponding to all verification steps in at least one verification step verified in an information verification process are obtained, and unique element values which are preset for all verification steps under the condition that verification is successful are obtained, wherein the verification scores are not zero, multiplication calculation is carried out on the determined at least one verification score to obtain verification scores of the at least one verification step, multiplication calculation is carried out on the determined at least one unique element value to obtain verification scores of the at least one verification step, and if the verification scores are consistent with the verification scores, verification success of the verified at least one verification step is determined.
Therefore, the verification process is added aiming at the verification results of a plurality of verification steps, so that the integrity of the information verification process can be ensured, the potential safety hazards existing in the verification process can be reduced, the verification mode is simple and effective, and the improvement of the safety of the information verification is facilitated.
Based on the same technical conception, the embodiment of the application also provides electronic equipment. The embodiment of the disclosure further provides an electronic device 500, as shown in fig. 5, which is a schematic structural diagram of the electronic device 500 provided in the embodiment of the disclosure, including:
a processor 510, a memory 520, and a bus 530; memory 520 is used to store execution instructions, including memory 521 and external storage 522; the internal memory 521 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 510 and data exchanged with the external memory 522 such as a hard disk, and the processor 510 exchanges data with the external memory 522 through the internal memory 521, and when the electronic device 500 is operated, the processor 510 and the memory 520 communicate through the bus 530, so that the processor 510 can perform the steps of the information verification method shown in the above-mentioned method embodiment.
The disclosed embodiments also provide a computer storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the information verification method described in the above method embodiments. Wherein the storage medium may be a volatile or nonvolatile computer-readable storage medium.
The embodiments of the present disclosure further provide a computer program product, where the computer program product carries program code, and instructions included in the program code may be used to perform the steps of the information verification method described in the foregoing method embodiments, and specifically reference may be made to the foregoing method embodiments, which are not described herein in detail.
Wherein the above-mentioned computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the storage medium, the apparatus and the device described above may refer to corresponding procedures in the foregoing method embodiments, which are not described in detail herein. In several embodiments provided in the present disclosure, it should be understood that the disclosed storage media, apparatus, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be another division manner in actual implementation, and for example, multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, but the present disclosure is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, it is not limited to the disclosure: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (8)

1. An information verification method, the method comprising:
acquiring verification scores corresponding to all verification steps in at least one verification step verified in an information verification process, and pre-configuring unique element values for all verification steps under the condition of successful verification, wherein the verification scores are not zero;
Multiplying the determined at least one verification score to obtain a verification score of the at least one verification step;
multiplying the determined at least one unique element value to obtain a verification score of the at least one verification step;
if the verification score is consistent with the verification score, determining that the verified at least one verification step is successful in verification;
the method further comprises the steps of:
determining a plurality of verification steps in the information verification process, wherein the plurality of verification steps includes the at least one verification step;
configuring a verification score for each of the plurality of verification steps, wherein the verification score comprises a unique prime value configured for the case of successful verification of the verification step and a non-configured score for the case of unsuccessful verification of the verification step, the configured verification score being different for each verification step.
2. The method according to claim 1, wherein the method further comprises:
if the verification score is inconsistent with the verification score, determining a first target verification step which fails to verify in the at least one verification step according to the verification score and the verification score;
And sending prompt information to the user according to the first target verification step.
3. The method of claim 2, wherein the determining a first target verification step of the at least one verification step that fails verification based on the verification score and the verification score if the verification score and the verification score do not match comprises:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the verification score and the verification score;
and determining a first target verification step of verification failure in the at least one verification step according to the calculation result.
4. A method according to claim 3, wherein said determining a first target verification step of verification failure in said at least one verification step based on said calculation result comprises:
a verification step of determining from the at least one verification step that the unique element value is consistent with the calculation result;
and determining the determined verification step as a first target verification step of verification failure.
5. The method of claim 1, wherein when a second target verification step of the at least one verification step is verified at least twice, the method comprises:
Determining a current verification score at each verification step that is currently verified and a target verification score at each verification step that is verified when each verification step of the second target verification step is completed;
and if the current verification score can be divided by each target verification score, recording one target verification score, and taking the recorded target verification score as the verification score of the second target verification step.
6. An information verification apparatus, comprising:
the information verification system comprises an acquisition module, a verification module and a verification module, wherein the acquisition module is used for acquiring a verification score corresponding to each verification step in at least one verified step in an information verification process, and a pre-configured unique element value for each verification step under the condition that verification is successful, wherein the verification score is not zero;
the first calculation module is used for multiplying the determined at least one verification score to obtain a verification score of the at least one verification step;
the second calculation module is used for multiplying the determined at least one unique element value to obtain a verification score of the at least one verification step;
the determining module is used for determining that the at least one verified verification step is successful in verification if the verification score is consistent with the verification score;
A configuration module, configured to determine a plurality of verification steps in the information verification process, where the plurality of verification steps includes the at least one verification step; configuring a verification score for each of the plurality of verification steps, wherein the verification score comprises a unique prime value configured for the case of successful verification of the verification step and a non-configured score for the case of unsuccessful verification of the verification step, the configured verification score being different for each verification step.
7. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the machine readable instructions when executed by the processor performing the steps of the information verification method according to any one of claims 1 to 5.
8. A computer storage medium, characterized in that the computer storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the information verification method according to any one of claims 1 to 5.
CN202210406417.2A 2022-04-18 2022-04-18 Information verification method, device, equipment and storage medium Active CN114785585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210406417.2A CN114785585B (en) 2022-04-18 2022-04-18 Information verification method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210406417.2A CN114785585B (en) 2022-04-18 2022-04-18 Information verification method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114785585A CN114785585A (en) 2022-07-22
CN114785585B true CN114785585B (en) 2023-12-08

Family

ID=82430832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210406417.2A Active CN114785585B (en) 2022-04-18 2022-04-18 Information verification method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114785585B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752285A (en) * 2012-06-07 2012-10-24 广东电网公司茂名供电局 Pre-authentification computer system login method based on high collision probability hash function
CN109088850A (en) * 2018-06-22 2018-12-25 陕西师范大学 Batch cloud auditing method based on Lucas sequence positioning wrong file
CN110717158A (en) * 2019-09-06 2020-01-21 平安普惠企业管理有限公司 Information verification method, device, equipment and computer readable storage medium
CN111835514A (en) * 2020-07-23 2020-10-27 上海英方软件股份有限公司 Method and system for realizing safe interaction of front-end and back-end separated data
CN111931226A (en) * 2020-06-09 2020-11-13 山东浪潮质量链科技有限公司 Block chain certificate revocation method, device, equipment and medium
CN112084486A (en) * 2020-09-08 2020-12-15 中国平安财产保险股份有限公司 User information verification method and device, electronic equipment and storage medium
CN112948851A (en) * 2021-02-25 2021-06-11 深圳壹账通智能科技有限公司 User authentication method, device, server and storage medium
CN114090119A (en) * 2021-11-16 2022-02-25 交控科技股份有限公司 Control flow checking method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040034636A1 (en) * 2002-08-15 2004-02-19 Ramakanth Vallur Method, system and computer readable medium for duplicate record detection
US11295118B2 (en) * 2017-06-29 2022-04-05 Avast Software, S.R.O. Online user verification without prior knowledge of the user

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752285A (en) * 2012-06-07 2012-10-24 广东电网公司茂名供电局 Pre-authentification computer system login method based on high collision probability hash function
CN109088850A (en) * 2018-06-22 2018-12-25 陕西师范大学 Batch cloud auditing method based on Lucas sequence positioning wrong file
CN110717158A (en) * 2019-09-06 2020-01-21 平安普惠企业管理有限公司 Information verification method, device, equipment and computer readable storage medium
CN111931226A (en) * 2020-06-09 2020-11-13 山东浪潮质量链科技有限公司 Block chain certificate revocation method, device, equipment and medium
CN111835514A (en) * 2020-07-23 2020-10-27 上海英方软件股份有限公司 Method and system for realizing safe interaction of front-end and back-end separated data
CN112084486A (en) * 2020-09-08 2020-12-15 中国平安财产保险股份有限公司 User information verification method and device, electronic equipment and storage medium
CN112948851A (en) * 2021-02-25 2021-06-11 深圳壹账通智能科技有限公司 User authentication method, device, server and storage medium
CN114090119A (en) * 2021-11-16 2022-02-25 交控科技股份有限公司 Control flow checking method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于属性的零知识证明数据封装方法;任路成;王世卿;;《计算机工程与设计》(第01期);全文 *
改进的基于身份的数据完整性验证方案;刘振鹏;志贤;胡倩茹;刘晓丹;;《河北大学学报》(01);全文 *

Also Published As

Publication number Publication date
CN114785585A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN104077689B (en) A kind of method of Information Authentication, relevant apparatus and system
CN102542453B (en) Mobile payment identity verification method
CN105323253B (en) Identity verification method and device
US20150195133A1 (en) Methods and systems for provisioning multiple devices
CN109086317B (en) Risk control method and related device
CN105591743B (en) Method and device for identity authentication through equipment operation characteristics of user terminal
US20160127134A1 (en) User authentication system and method
EP2936277B1 (en) Method and apparatus for information verification
WO2013138714A1 (en) Authentication system
US20210256527A1 (en) Risk payment processing method and apparatus, and device
CN104092653A (en) Data processing method and system
CN105227520A (en) The method and system of a kind of account password setting and authenticating user identification
US20200396219A1 (en) Methods for randomized multi-factor authentication with biometrics and devices thereof
US20190089544A1 (en) Validation code encryption manager
CN107480513B (en) Authentication implementation method and device, computer device and readable storage medium
CN105989259A (en) User identity authentication method and device as well as system
CN111611976A (en) Payment method and device based on face recognition
CN107005558B (en) Location-based user disambiguation
CN104778389A (en) Numerical value transferring method, terminal, server and system
CN107679383B (en) Identity verification method and device based on geographic position and touch area
CN105590044B (en) A kind of information authentication method and device
CN114785585B (en) Information verification method, device, equipment and storage medium
CN103957104A (en) Dynamic token anti-phishing method and device
CN111314343A (en) Account management method and device and readable storage medium
CN107947934B (en) Fingerprint identification and authentication system and method of mobile terminal based on bank system

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