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

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

Info

Publication number
CN114785585A
CN114785585A CN202210406417.2A CN202210406417A CN114785585A CN 114785585 A CN114785585 A CN 114785585A CN 202210406417 A CN202210406417 A CN 202210406417A CN 114785585 A CN114785585 A CN 114785585A
Authority
CN
China
Prior art keywords
verification
score
verification step
target
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210406417.2A
Other languages
Chinese (zh)
Other versions
CN114785585B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present disclosure provides an information verification and verification method, apparatus, device, and storage medium, where a verification score corresponding to each verification step in at least one verified step in an information verification process is obtained, and a unique prime number value pre-configured in the case that verification is successful for each verification step is obtained, the determined at least one verification score is multiplied to obtain a verification score of the at least one verification step, the determined at least one unique prime number value is multiplied to obtain a verification score of the at least one verification step, and if the verification score is consistent with the verification score, the verified at least one verification step is determined to be successful in verification. Therefore, the verification process is added according to the verification results of the multiple verification steps, the integrity of the information verification process can be ensured, potential safety hazards in the verification process can be reduced, the verification mode is simple and effective, and the safety of information verification is improved.

Description

Information verification and verification method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of security verification technologies, and in particular, to an information verification method, apparatus, device, and storage medium.
Background
Currently, with the continuous development of communication technology, people are increasingly using the mobile internet to learn, shop, socialize, and the like. For some websites or some application software, the user needs to perform corresponding authentication, operation authentication, and the like during login or use to determine the use safety. For example, when a user logs in an online bank, authentication is required, and when the user pays, payment authentication is required.
Although most verification processes perform multiple verification steps, each verification step may still have a security risk 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 includes:
acquiring a verification score corresponding to each verification step in at least one verified verification step in an information verification process, and a preset unique element value under the condition that the verification is successful aiming at each verification step, wherein the verification score is not zero;
multiplying the determined at least one verification score to obtain the verification score of the at least one verification step;
multiplying the determined at least one unique prime value to obtain a check score of the at least one verification step;
and if the verification score is consistent with the verification score, determining that the at least one verified step is verified successfully.
In an optional 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 in the plurality of verification steps, wherein the verification score comprises a unique prime value configured for the condition that the verification step is successful, and the verification score configured for each verification step is different for the condition that the verification step is unsuccessful without configuring a score value or configuring any non-prime value.
In an optional embodiment, the method further comprises:
if the verification score is inconsistent with the verification score, determining a first target verification step in which the verification in the at least one verification step fails according to the verification score and the verification score;
and sending prompt information to a user according to the first target verification step.
In an optional implementation manner, if the verification score and the verification score are not consistent, determining, according to the verification score and the verification score, a first target verification step in which verification fails in the at least one verification step, includes:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score by the verification score;
and determining a first target verification step which fails in verification in the at least one verification step according to the calculation result.
In an alternative embodiment, when the verification score includes that no score is configured for the verification step in case the verification is unsuccessful for the verification step, the determining, according to the calculation result, a first target verification step for which the verification fails in the at least one verification step includes:
a verification step of determining from the at least one verification step that the unique prime value is consistent with the calculation result;
and determining the determined verification step as a first target verification step with verification failure.
In an optional embodiment, when the verification score includes any non-prime value configured for the verification step in the case that the verification is unsuccessful for the verification step, the determining, according to the verification score and the verification score, a first target verification step in which the verification fails in the at least one verification step includes:
determining a prime common divisor of the verification score and the check score;
multiplying all the determined prime number common divisor to obtain a prime number common divisor product value;
calculating a divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of which the verification fails in the at least one verification step according to the divisor of the prime common divisor product value of the verification fraction and a unique prime value which is configured in advance 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 the current check score of each currently verified verification step and the target verification score of each second target verification step when each second target verification step is verified;
if the current verification score can be divided by each target verification score, recording the target verification score once, and taking the recorded target verification score as the verification score of the second target verification step.
The embodiment of the present disclosure further provides an information verification apparatus, where the apparatus includes:
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 verification step verified in an information verification process and a unique element value which is configured in advance under the condition that the verification is successful aiming at each verification step, and the verification score is not zero;
the first calculation module is used for multiplying the determined at least one verification score to obtain the verification score of the at least one verification step;
the second calculation module is used for multiplying the determined at least one unique prime value to obtain a check score of the at least one verification step;
and the determining module is used for determining that the at least one verified step is verified successfully if the verification score is consistent with the verification score.
In an optional embodiment, the apparatus further comprises a configuration module 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 in the plurality of verification steps, wherein the verification score comprises a unique prime value configured when the verification step is successful, and the verification score configured for each verification step is different when the verification step is unsuccessful and no score or any non-prime value is configured.
In an optional implementation manner, the apparatus further includes a verification prompting module, and the verification prompting module is configured to:
if the verification score is inconsistent with the verification score, determining a first target verification step in which the verification in the at least one verification step fails according to the verification score and the verification score;
and sending prompt information to a user according to the first target verification step.
In an optional implementation manner, the verification prompting module is configured to determine, according to the verification score and the verification score, a first target verification step in which verification fails in the at least one verification step if the verification score and the verification score are not consistent, and specifically configured to:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score by the verification score;
and determining a first target verification step which fails in verification in the at least one verification step according to the calculation result.
In an optional embodiment, when the verification score includes a score not configured for the verification step in a case that the verification is unsuccessful for the verification step, the verification prompt module is configured to determine, according to the calculation result, a first target verification step in which the verification fails in the at least one verification step, and is specifically configured to:
a verification step of determining from the at least one verification step that the unique prime value is consistent with the calculation result;
and determining the determined verification step as a first target verification step with verification failure.
In an optional embodiment, when the verification score includes any non-prime value configured for the verification step in the case that the verification is unsuccessful for the verification step, the verification prompt module determines, according to the verification score and the verification score, a first target verification step in which the verification fails in the at least one verification step, and is specifically configured to:
determining a prime common divisor of the verification score and the check score;
multiplying all the determined prime number common divisor to obtain a prime number common divisor product value;
calculating a divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of which the verification fails in the at least one verification step according to the divisor of the prime number common divisor product value of the verification score and a unique prime number value which is configured in advance under the condition of successful verification aiming at each verification step.
In an optional embodiment, when a 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 the current check score of each currently verified verification step and the target verification score of each second target verification step when each second target verification step is verified;
and if the current verification score can be divided by each target verification score, recording the target verification score once, and taking the recorded target verification score as the verification score of the second target verification step.
An embodiment of the present disclosure further provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate via the bus when the electronic device is running, and the machine-readable instructions are executed by the processor to perform the steps of the above-mentioned embodiments.
Embodiments of the present disclosure also provide a computer storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program performs the steps in the foregoing embodiments.
According to the information verification and verification method, the device, the equipment and the storage medium provided by the embodiment of the disclosure, the verification score corresponding to each verification step in at least one verified verification step in the information verification process is obtained, and the unique prime number value is configured in advance under the condition that the verification is successful aiming at each verification step, wherein the verification score is not zero, the determined at least one verification score is multiplied to obtain the verification score of the at least one verification step, the determined at least one unique prime number value is multiplied to obtain the verification score of the at least one verification step, and if the verification score is consistent with the verification score, the verified at least one verification step is determined to be successful in verification.
Therefore, the verification process is added according to the verification results of the multiple verification steps, the integrity of the information verification process can be ensured, potential safety hazards in the verification process can be reduced, the verification mode is simple and effective, and the safety of information verification is improved.
Further, the information verification and verification method provided by the embodiment of the present disclosure may further determine, according to the inconsistency between the verification score and the verification score, a first target verification step in which verification fails in the at least one verification step, and send prompt information to the user according to the first target verification step, so that the step in which verification fails may be further specified, and convenience may be provided for re-verification in subsequent steps in which verification fails.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 shows a flowchart of an information verification method provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating another information verification method provided by the embodiments of the present disclosure;
fig. 3 is a schematic diagram illustrating an information verification apparatus provided in an embodiment of the present disclosure;
fig. 4 shows a second schematic diagram of an information verification apparatus provided in the embodiment of the present disclosure;
fig. 5 shows a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the 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 derived by a person skilled in the art from the embodiments of the disclosure without making any creative effort, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, 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 people are increasingly learning, shopping, socializing and the like by using the mobile internet with the continuous development of communication technology. For some websites or some application software, the user needs to perform corresponding authentication, operation authentication, and the like during login or use to determine the use safety. For example, when a user logs in an internet bank, authentication is required, and when the user pays, payment authentication is required, and so on. Although most verification processes perform multiple verification steps, each verification step may still have a security risk during verification.
Based on the research, the information verification and verification method provided by the disclosure is capable of increasing verification processes aiming at verification results of multiple 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 safety of information verification is improved.
To facilitate understanding of the present embodiment, first, a detailed description is given to an information verification and verification method disclosed in an embodiment of the present disclosure, where an execution subject of the information verification and verification method provided in the embodiment of the present disclosure is generally a computer device with certain computing capability, and the computer device includes, for example: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the information verification method may be implemented by a processor calling 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 in the embodiment of the present disclosure includes:
s101: the method comprises the steps of obtaining a verification score corresponding to each verification step in at least one verification step verified in an information verification process, and obtaining a preset unique prime value under the condition that the verification is successful aiming at each verification step, wherein the verification score is not zero.
In practical application, for the user using a website or application software, multi-step information verification is mostly performed, and for the example of transferring accounts by using a payment application, when the user needs to transfer accounts, the user needs to input account information, input a payment password and perform face recognition verification, correspondingly, when the background server receives the account information, the account information is verified, further, when the background server receives the input payment password, the payment password is verified, and finally, when the background server receives the face information, the face information is verified.
Therefore, in this step, after the verification of the verification step in the information verification flow is completed, for example, after the verification of the payment password, the face information, and the like is completed, the corresponding pre-configured verification score may be correspondingly obtained, and the pre-configured unique prime value may be obtained for the verified verification step if the verification is successful.
The obtaining of the verification score corresponding to each verification step in the at least one verified step in the information verification process may be obtained immediately after the verification of each verification step is completed, or may be obtained together with all the verification scores of the at least one verification step after a final interface call request is received, that is, after all the verification steps are completed.
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 in the plurality of verification steps, wherein the verification score comprises a unique prime value configured for the condition that the verification step is successful, and the verification score configured for each verification step is different for the condition that the verification step is unsuccessful without configuring a score value or configuring any non-prime value.
In this step, a plurality of verification steps included in the information verification flow may be determined first, and a verification score may be configured for each verification step.
Correspondingly, for each verification step, after the verification is completed, two situations occur, namely, the verification of the verification step is successful and the verification of the verification step is unsuccessful, if the verification of the verification step is successful, a unique prime number value can be configured for the verification step with the successful verification, and if the verification of the verification step is unsuccessful, no score value or any non-prime number value is configured for the verification step with the unsuccessful verification.
For example, for each verification step, a verification score of each verification step may be configured, and in a case that the verification of each verification step is successful, a corresponding unique prime value is configured in advance, for example, a prime number 3 is configured for a step of verifying bank information, 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 in a case that the verification step is unsuccessful, a score value or a non-prime value is not configured for the verification step, for example, when the verification of the bank information is unsuccessful, a score value is not configured for the verification step or a non-prime value 4 is configured for the verification step.
Further, the verification scores may be arranged in a random arrangement, in a sequential arrangement, in a weighted arrangement, and the like for each verification step. When the configuration is performed in sequence, the configuration can be performed in the order of the prime numbers 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 configuration can be performed in the order of the selected prime numbers from large to small; when the verification steps are configured according to the weight, the weight of 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 verification steps are configured according to the size of the selected prime number corresponding to the weight of each verification step.
Illustratively, when the scores are configured for the verification step of the transfer, for example, the scores are configured from small to large according to prime numbers configured in sequence, so that a prime number 2 is configured for verifying bank information, a prime number 3 is configured for verification codes, a prime number 5 is configured for face identification, and a prime number 7 is configured for payment passwords. For example, when the weights are configured according to the weights, firstly, the weight of each verification step is determined according to different importance degrees of each verification step, for example, the weights of the verification bank information, the verification code, the face identification and the payment password are respectively set to be 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 according to the weights of the verification steps, a prime number 5 is configured for the verification bank information, a prime number 2 is configured for the verification code, a prime number 3 is configured for the face identification, and a prime number 7 is configured for the payment password.
S102: and multiplying the at least one determined verification score to obtain the verification score of the at least one verification step.
Wherein the verification score of at least one verification step is a product value of at least one verification score.
S103: and multiplying the determined at least one unique prime value to obtain the check score of the at least one verification step.
Wherein the check score of at least one verification step is the product of at least one unique prime value.
S104: and if the verification score is consistent with the verification score, determining that the at least one verified step is verified successfully.
In this step, when it is determined 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 by the verification score, and a numerical result 1 is obtained, the verification score is consistent with the verification score; 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 consistency of the verification score and the verification score, determining that the at least one verified step is verified successfully.
According to the information verification and verification method provided by the embodiment of the disclosure, a verification score corresponding to each verification step in at least one verified step in an information verification process is obtained, and a unique prime number value is configured in advance under the condition that the verification is successful for each verification step, wherein the verification score is not zero, the determined at least one verification score is multiplied to obtain a verification score of the at least one verified step, the determined at least one unique prime number value is multiplied to obtain a verification score of the at least one verified step, and if the verification score is consistent with the verification score, the verified at least one verification step is determined to be successful in verification.
Therefore, the verification process is added according to the verification results of the multiple 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, and the safety of information verification is improved.
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 in the embodiment of the present disclosure includes:
s201: the method comprises the steps of obtaining a verification score corresponding to each verification step in at least one verification step verified in an information verification process, and obtaining a preset unique prime value under the condition that the verification is successful aiming at each verification step, 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 prime number value to obtain the check score of the at least one verification step.
S204: and if the verification score is consistent with the verification score, determining that the at least one verified step is verified successfully.
S205: and if the verification score is inconsistent with the verification score, determining a first target verification step with verification failure in the at least one verification step according to the verification score and the verification score.
In this 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 in which verification fails in the at least one verification step is determined according to a calculation result obtained after calculation.
S206: and sending prompt information to a user according to the first target verification step.
In the step, after the first target verification step which fails 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 in the at least one verification step, so that the subsequent first target verification step which fails in verification can be executed again.
The prompt message sent to the user may be a pop-up prompt or a verification page prompt.
The descriptions of step S201 to step S204 may refer to the descriptions of step S101 to step S104, and the same technical effects and the same technical problems may be achieved, which are not described herein again.
Next, this embodiment will be further described with reference to specific embodiments.
In an optional implementation manner, if the verification score is inconsistent with the verification score, determining a first target verification step in which verification in the at least one verification step fails according to the verification score and the verification score, includes:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score by the verification score;
and determining a first target verification step which fails in verification 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 subjected to division calculation, a calculation result is obtained according to the calculation, and a first target verification step of which the verification fails in at least one verification step is determined according to the calculation result.
In an alternative embodiment, when the verification score includes that no score is configured for the verification step in case the verification is unsuccessful for the verification step, determining a first target verification step for which the verification fails in the at least one verification step according to the calculation result includes:
a verification step of determining from the at least one verification step that the unique prime number value is consistent with the calculation result;
and determining the determined verification step as a first target verification step with verification failure.
In this step, the verification score and the verification score are not consistent, that is, the verification in the verification step is unsuccessful, and when the score is not configured in the verification step, a calculation result obtained by dividing the configuration score by the verification score is calculated, and when the calculation result is consistent with the unique prime value determined in the at least one verification step, the verification step is determined to be a first target verification step in which the verification fails.
For example, when the user transfers money, there is an authentication process, for example, there may be the following steps: verifying card number information, a verification code, face recognition and a payment password, wherein each verification step has a preset unique prime number under the condition of successful verification, such as configuring prime number 3 for a bank information verification step, configuring prime number 5 for a verification code verification step, configuring prime number 7 for a face recognition step and configuring prime number 9 for a payment password step, multiplying the preset unique prime number of each step to obtain verification score 945 of the whole identity verification process, multiplying the verification scores of the verification steps to obtain verification score 315 of the verification step when the verification of the card number information fails, the verification of other steps succeeds and verification score is not configured for the card number information verification step, dividing the verification score 945 by the verification score 315 to obtain calculation result 3, wherein the calculation result 3 is consistent with the preset unique prime number of the verification card number information step, the step of determining the verification card number information is the first target verification step of which the verification fails.
In an optional embodiment, when the verification score includes any non-prime value configured for the verification step in case of unsuccessful verification for the verification step, determining a first target verification step for which verification failed in the at least one verification step according to the verification score and the check score, includes:
determining a prime common divisor of the verification score and the check score;
multiplying all the determined prime number common divisor to obtain a prime number common divisor product value;
calculating a divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of which the verification fails in the at least one verification step according to the divisor of the prime number common divisor product value of the verification score and a unique prime number value which is configured in advance under the condition of successful verification aiming at each verification step.
In this step, the verification score and the verification score are not consistent, that is, the verification in the verification step is unsuccessful, and when any non-prime number value is configured for at least one verification step, the prime number common divisor of the verification score and the verification score is determined, all the obtained prime number common divisor are multiplied to obtain a prime number common divisor product value, the verification score and the verification score are respectively used for division calculation with the prime number common divisor product value, the verification score and the division value of the verification score and the prime number common divisor product value are respectively obtained, and a first target verification step of which the verification fails in the at least one verification step is determined according to the fact that the division value of the verification score and the prime number common divisor product value is consistent with a preset unique prime number value of the verification step.
For example, when the user transfers money, there is an authentication process, for example, there may be the following steps: verifying card number information, a verification code, face recognition and a payment password, wherein each verification step has a preset unique prime number under the condition of successful verification, such as configuring prime number 3 for a bank information verification step, configuring prime number 5 for a verification code verification step, configuring prime number 7 for a face recognition step and configuring prime number 9 for a payment password step, multiplying the preset unique prime number 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 1260 of the verification step when the verification of the card number information fails, the verification of other steps succeeds and any non-prime number 4 is configured for the card number information step, calculating the prime number common divisor of the verification fraction 945 and the verification fraction 1260 to obtain prime number common divisor of 5, 7 and 9, multiplying the obtained prime number common divisor, and obtaining a product value 315 of the prime number common divisor, further calculating a divisor of the product value 315 of the check score 945 and the prime number common divisor, obtaining a divisor of the product value 315 of the check score 945 and the prime number common divisor as 3, and determining that the step of verifying the card number information is a first target verification step of failed verification according to the condition that the divisor 3 of the check score is consistent with the unique prime number value 3 of the preset card number information.
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 the current check score of each currently verified verification step and the target verification score of each second target verification step when each second target verification step is verified;
and if the current verification score can be divided by each target verification score, recording the target verification score once, and taking the recorded target verification score as the verification score of the second target verification step.
In this step, when the at least one verification step is in the process of verification, and a second target verification step in the at least one verification step is verified at least twice, first, when each time the second target verification step is verified, a current verification score of each currently verified verification step and a target verification score of each time the second target verification step is verified are determined, then, division calculation is performed on the current verification score and each target verification score, if the current verification score can be divided by each target verification score, a target verification score is recorded once, and the recorded target verification score is used as the verification score of the second target verification step.
Wherein after determining the current verification score of each currently verified verification step and the target verification score of each time the second target verification step is verified after each time the second target verification step is verified, 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 at the last time in the at least two times as the verification score of the second target verification step.
In this step, when the at least one verification step is in the process of verification, and a second target verification step in the at least one verification step is verified at least twice, each time when the second target verification step is verified, after determining a current verification score of each currently verified verification step, performing division calculation on the current verification score and each target verification score, and if the current verification score cannot be divided by any target verification score, taking a target verification score corresponding to the second target verification step verified last in the at least two times as a verification score of the second target verification step, that is, when the second target verification step in the at least one verification step is verified at least twice, and the verification result of the verification step is verified successfully or unsuccessfully, taking the verification score of the second target verification step in the at least one verification step last time as the verification score of the second target verification step in the at least one verification step Is the final verification score.
The information verification and verification method provided by the embodiment of the disclosure includes obtaining a verification score corresponding to each verification step in at least one verified step in an information verification process, and a unique prime number value pre-configured for each verification step under the condition of successful verification, wherein the verification score is not zero, multiplying the determined at least one verification score to obtain a verification score of the at least one verified step, multiplying the determined at least one unique prime number value to obtain a verification score of the at least one verified step, determining that the verified at least one verified step is successful if the verification score is consistent with the verification score, and determining a first target verification step failed in the at least one verified step according to the verification score and the verification score if the verification score is inconsistent with the verification score, and sending prompt information to a user according to the first target verification step.
Therefore, the verification process is added for the verification results of the multiple 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 safety of information verification is improved, the first target verification step of which the verification fails in at least one verification step can be determined according to the inconsistency between the verification score and the verification score, prompt information is sent to a user according to the first target verification step, the step of which the verification fails can be further defined, and convenience is provided for the subsequent step of which the verification fails to be verified again.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an information verification checking device corresponding to the information verification checking method is also provided in the embodiments of the present disclosure, and as the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the information verification checking method in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and the repeated parts are not described again.
Referring to fig. 3 to 4, fig. 3 is a first structural diagram of an information verification apparatus according to an embodiment of the disclosure, and fig. 4 is a second structural diagram of an information verification apparatus according to an embodiment of the disclosure. As shown in fig. 3, a service scheme selecting apparatus 300 according to an embodiment of the present disclosure, the service scheme selecting apparatus 300 includes:
an obtaining module 310, configured to obtain a verification score corresponding to each verification step in at least one verification step verified in an information verification process, and a unique prime value pre-configured for each verification step under the condition that the verification is successful, where the verification score is not zero;
a first calculating 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 calculating module 330, configured to multiply the determined at least one unique prime number to obtain a check score of the at least one verifying step;
a determining module 340, configured to determine that the at least one verified step is verified successfully if the verification score is consistent with the verification score.
In an alternative embodiment, as shown in fig. 4, the apparatus further comprises a configuration module 350, wherein 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 in the plurality of verification steps, wherein the verification score comprises a unique prime value configured when the verification step is successful, and the verification score configured for each verification step is different when the verification step is unsuccessful and no score or any non-prime value is configured.
In an alternative embodiment, as shown in fig. 4, the apparatus further comprises a verification prompt module 360, 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 in the at least one verification step according to the verification score and the verification score;
and sending prompt information to a user according to the first target verification step.
In an optional implementation manner, the verification prompting module 360 is configured to, if the verification score is inconsistent with the verification score, determine, according to the verification score and the verification score, a first target verification step in which verification fails in the at least one verification step, and specifically:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score by the verification score;
and determining a first target verification step which fails to verify in the at least one verification step according to the calculation result.
In an optional embodiment, when the verification score includes a score not configured for the verification step in a case that the verification is unsuccessful for the verification step, the verification prompt module 360 determines, according to the calculation result, a first target verification step in which the verification fails in the at least one verification step, and is specifically configured to:
a verification step of determining from the at least one verification step that the unique prime number value is consistent with the calculation result;
and determining the determined verification step as a first target verification step with verification failure.
In an optional embodiment, when the verification score includes any non-prime value configured for the verification step in the case that the verification is unsuccessful for the verification step, the verification prompt module 360 determines, according to the verification score and the verification score, a first target verification step in the at least one verification step in which the verification fails, and is specifically configured to:
determining a prime common divisor of the verification score and the check score;
multiplying all the determined prime number common divisor to obtain a prime number common divisor product value;
calculating a divisor of the prime common divisor product value of the verification score;
and determining a first target verification step of which the verification fails in the at least one verification step according to the divisor of the prime number common divisor product value of the verification score and a unique prime number value which is configured in advance under the condition of successful verification aiming at each verification step.
In an alternative embodiment, as shown in fig. 4, when a 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 the current check score of each currently verified verification step and the target verification score of each second target verification step when each second target verification step is verified;
if the current verification score can be divided by each target verification score, recording the target verification score once, and taking the recorded target verification score as the verification score of the second target verification step.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
The information verification and verification device provided by the embodiment of the disclosure obtains a verification score corresponding to each verification step in at least one verified step in an information verification process, and a unique prime number value pre-configured for each verification step under the condition of successful verification, wherein the verification score is not zero, multiplies the determined at least one verification score to obtain a verification score of the at least one verified step, multiplies the determined at least one unique prime number value to obtain a verification score of the at least one verified step, and determines that the verified at least one verified step is successful in verification if the verification score is consistent with the verification score.
Therefore, the verification process is added according to the verification results of the multiple 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, and the safety of information verification is improved.
Based on the same technical concept, the embodiment of the application also provides the electronic equipment. An embodiment of the present 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 present disclosure, and includes:
a processor 510, a memory 520, and a bus 530; the memory 520 is used for storing execution instructions and comprises a memory 521 and an external memory 522; the memory 521 is also referred to as an internal memory, and is configured to temporarily store operation data in the processor 510 and data exchanged with an external storage 522 such as a hard disk, the processor 510 exchanges data with the external storage 522 through the memory 521, and when the electronic device 500 operates, the processor 510 and the storage 520 communicate through a bus 530, so that the processor 510 may perform the steps of the information verification method shown in the above method embodiments.
The embodiment of the present disclosure further provides a computer storage medium, where a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the steps of the information verification and verification method in the foregoing method embodiment are executed. Wherein the storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the information verification and verification method in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the storage medium, the apparatus, and the device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed storage medium, device, apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, and for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-accessible storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, but not to limit the technical solutions, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes and substitutions do not depart from the spirit and scope of the embodiments disclosed herein, and they should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. An information verification method, comprising:
acquiring a verification score corresponding to each verification step in at least one verified verification step in an information verification process, and a preset unique prime value under the condition that each verification step is verified successfully, wherein the verification score is not zero;
multiplying the at least one verification score to obtain the verification score of the at least one verification step;
multiplying the determined at least one unique prime value to obtain a check score of the at least one verification step;
and if the verification score is consistent with the verification score, determining that the at least one verified step is verified successfully.
2. The method of claim 1, further comprising:
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 in the plurality of verification steps, wherein the verification score comprises a unique prime value configured when the verification step is successful, and the verification score configured for each verification step is different when the verification step is unsuccessful and no score or any non-prime value is configured.
3. The method of claim 1, further comprising:
if the verification score is inconsistent with the verification score, determining a first target verification step which fails in the at least one verification step according to the verification score and the verification score;
and sending prompt information to a user according to the first target verification step.
4. The method of claim 3, wherein determining a first target verification step for which verification in the at least one verification step failed based on the verification score and the verification score if the verification score and the verification score are inconsistent comprises:
if the verification score is inconsistent with the verification score, determining a calculation result obtained by dividing the configuration score by the verification score;
and determining a first target verification step which fails to verify in the at least one verification step according to the calculation result.
5. The method according to claim 4, wherein, when the verification score includes not configuring the score for the verification step in case the verification is unsuccessful for the verification step, said determining the first target verification step for which the verification fails in the at least one verification step according to the calculation result comprises:
a verification step of determining from the at least one verification step that the unique prime value is consistent with the calculation result;
and determining the determined verification step as a first target verification step with verification failure.
6. The method of claim 3, wherein when a verification score comprises any non-prime value configured for a verification step if verification is unsuccessful for the verification step, said determining a first target verification step for which verification failed in said at least one verification step based on said verification score and said verification score comprises:
determining a prime common divisor of the verification score and the check score;
multiplying all the determined prime number common divisor to obtain a prime number common divisor product value;
calculating a divisor of a product value of the verification score and the prime common divisor;
and determining a first target verification step of which the verification fails in the at least one verification step according to the divisor of the product value of the verification score and the common divisor of the prime numbers and a unique prime number value which is configured in advance for each verification step under the condition of successful verification.
7. 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 the current check score of each currently verified verification step and the target verification score of each second target verification step when each second target verification step is verified;
if the current verification score can be divided by each target verification score, recording the target verification score once, and taking the recorded target verification score as the verification score of the second target verification step.
8. 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 verification step in an information verification process and a preset unique element value under the condition that the verification is successful aiming at each verification step, and the verification score is not zero;
the first calculation module is used for multiplying the determined at least one verification score to obtain the verification score of the at least one verification step;
the second calculation module is used for multiplying the determined at least one unique prime value to obtain a check score of the at least one verification step;
and the determining module is used for determining that the at least one verified step is verified successfully if the verification score is consistent with the verification score.
9. 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 communicating over the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the information verification method of any one of claims 1 to 7.
10. A computer storage medium, having a computer program stored thereon, which, when executed by a processor, performs the steps of the information verification method according to any one of claims 1 to 7.
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 true CN114785585A (en) 2022-07-22
CN114785585B 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 (10)

* 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
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
US20190005314A1 (en) * 2017-06-29 2019-01-03 AVAST Software s.r.o. Online user verification without prior knowledge of the user
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

Patent Citations (10)

* 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
CN102752285A (en) * 2012-06-07 2012-10-24 广东电网公司茂名供电局 Pre-authentification computer system login method based on high collision probability hash function
US20190005314A1 (en) * 2017-06-29 2019-01-03 AVAST Software s.r.o. Online user verification without prior knowledge of the user
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
任路成;王世卿;: "基于属性的零知识证明数据封装方法", 《计算机工程与设计》, no. 01 *
刘振鹏;志贤;胡倩茹;刘晓丹;: "改进的基于身份的数据完整性验证方案", 《河北大学学报》, no. 01 *

Also Published As

Publication number Publication date
CN114785585B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
KR102151862B1 (en) Service processing method and device
CN107645482B (en) Risk control method and device for business operation
CN104077689A (en) Information verification method, relevant device and system
CN110166438B (en) Account information login method and device, computer equipment and computer storage medium
US11157902B1 (en) Token generation in providing a secure credit card payment service without storing credit card data on merchant servers
WO2017028630A1 (en) Verification method and server
CN109086317B (en) Risk control method and related device
CN112651841B (en) Online business handling method, online business handling device, server and computer readable storage medium
CN105868970B (en) authentication method and electronic equipment
CN112671806B (en) User authentication method, user authentication equipment and user authentication system
CN105100029A (en) Method and device for user identity verification
CN108647501A (en) Multiple utility program shares password unlocking method, device, equipment and storage medium
CN104967553A (en) Message interaction method, related device and communication system
CN104092653A (en) Data processing method and system
CN105337739B (en) Safe login method, device, server and terminal
US20190089544A1 (en) Validation code encryption manager
KR101267229B1 (en) Method and system for authenticating using input pattern
CN105306202A (en) Identity verification method and device, server
CN104778389A (en) Numerical value transferring method, terminal, server and system
CN107679383B (en) Identity verification method and device based on geographic position and touch area
CN107846393B (en) Real person authentication method and device
CN110909212B (en) Bank identification code matching method and equipment
CN114785585B (en) Information verification method, device, equipment and storage medium
CN115438325A (en) Electronic contract signing method, device, equipment and storage medium
CN114255134A (en) Account number disassembling method and device and storage medium

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