Search

CN-122027228-A - Service processing method and device and computer equipment

CN122027228ACN 122027228 ACN122027228 ACN 122027228ACN-122027228-A

Abstract

The application discloses a service processing method, a device and computer equipment, wherein the method comprises the following steps: and responding to the target service request of the user, if the identity grade of the user is the first grade, simultaneously processing the target service request of the user, and carrying out identity verification on the user. And if the identity grade of the user is the second grade, determining the running state of the identity verification system. Wherein the second level is lower than the first level. And calling the identity verification system to verify the identity of the user under the condition that the running state of the identity verification system is in a normal state or the identity grade of the user is a third grade, so as to obtain an identity verification result, wherein the third grade is lower than the second grade. And processing the target service request of the user under the condition that the identity verification result represents that the user passes the identity verification. The embodiment of the application can realize the differentiated processing of the service request and ensure the continuity of service processing.

Inventors

  • LAI ZHENYU
  • WANG MENG

Assignees

  • 中金金融认证中心有限公司

Dates

Publication Date
20260512
Application Date
20260115

Claims (10)

  1. 1. A method for processing a service, comprising: responding to a target service request of a user, if the identity grade of the user is a first grade, simultaneously processing the target service request of the user, and carrying out identity verification on the user; If the identity grade of the user is a second grade, determining the running state of the identity verification system, wherein the second grade is lower than the first grade; Calling the identity verification system to carry out identity verification on the user to obtain an identity verification result under the condition that the identity verification system is in a normal state or the identity grade of the user is a third grade, wherein the third grade is lower than the second grade; and processing the target service request of the user under the condition that the identity verification result represents that the user passes the identity verification.
  2. 2. The method of claim 1, wherein determining the operational status of the identity verification system comprises: Acquiring a system call result and a system response time of the identity verification system; When the system call result represents that the identity verification system call is successful and the system response time is less than or equal to the preset response time, a failure queue is emptied, and the determined time of the system call result is stored to the termination position of the success queue; And under the condition that the total length of the successful queue reaches a first preset length, if the time difference between the starting position and the ending position in the successful queue is smaller than the first preset difference, the successful queue is emptied, and the running state of the identity verification system is updated to be a normal state.
  3. 3. The method according to claim 2, wherein the method further comprises: under the condition that the total length of the successful queue does not reach a first preset length, the running state of the identity verification system is not updated; And under the condition that the time difference value between the starting position and the ending position in the successful queue is larger than or equal to a first preset difference value, the running state of the identity verification system is not updated, and the time corresponding to the starting position in the successful queue is deleted.
  4. 4. The method according to claim 2, wherein the method further comprises: When the system call result indicates that the identity verification system call fails, or the system call result indicates that the identity verification system call is successful, but the system response time is longer than a preset response time, a success queue is emptied, and the determined time of the system call result is stored to the termination position of the failure queue; And when the total length of the failure queue reaches a second preset length, if the time difference between the starting position and the ending position in the failure queue is smaller than the second preset difference, the failure queue is emptied, and the running state of the identity verification system is updated to be an unstable state.
  5. 5. The method of claim 4, wherein if the time difference between the start position and the end position in the failure queue is less than a second predetermined difference, the method further comprises: Adding 1 to a target count value, and judging whether the target count value reaches a preset count value, wherein the target count value is used for representing the number of times that the identity verification system continuously generates problems; Under the condition that the target count value reaches a preset count value, updating the running state of the identity verification system into an unavailable state, and setting the target count value to 0; And under the condition that the target count value does not reach the preset count value, the running state of the identity verification system is not updated.
  6. 6. The method according to claim 4, wherein the method further comprises: if the total length of the failure queue does not reach a second preset length, the running state of the identity verification system is not updated; And under the condition that the time difference value between the starting position and the ending position in the failure queue is larger than or equal to a second preset difference value, the running state of the identity verification system is not updated, and the time corresponding to the starting position in the failure queue is deleted.
  7. 7. The method according to any one of claims 1-6, further comprising: Under the condition that the identity verification system is in an unstable state, if the target value is smaller than or equal to a preset value, simultaneously processing a target service request of the user and carrying out identity verification on the user; If the target value is greater than a preset value, calling the identity verification system to verify the identity of the user to obtain the identity verification result; and processing the target service request of the user under the condition that the identity verification result represents that the user passes the identity verification.
  8. 8. The method according to any one of claims 1-6, further comprising: and under the condition that the identity verification system is in an unavailable state, simultaneously processing the target service request of the user and carrying out identity verification on the user.
  9. 9. A service processing apparatus, comprising: The first processing module is used for responding to the target service request of the user, processing the target service request of the user at the same time if the identity grade of the user is the first grade, and carrying out identity verification on the user; the status determining module is used for determining the running status of the identity verification system if the identity grade of the user is a second grade, wherein the second grade is lower than the first grade; The identity verification module is used for calling the identity verification system to carry out identity verification on the user under the condition that the identity verification system is in a normal state or the identity grade of the user is a third grade, so as to obtain an identity verification result, wherein the third grade is lower than the second grade; And the second processing module is used for processing the target service request of the user under the condition that the identity verification result represents that the user passes the identity verification.
  10. 10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 8 when executing the computer program.

Description

Service processing method and device and computer equipment Technical Field The present application relates to the field of computer technologies, and in particular, to a service processing method, apparatus, and computer device. Background At present, in order to improve the security of service processing, identity verification is performed on a user, and after the identity verification is passed, a service request of the user is processed, so as to avoid the loss of resources of the user. However, if an abnormal condition such as unstable network or interruption occurs during the identity verification, the service processing flow is blocked, and the service processing efficiency is further affected. Therefore, how to improve the service processing efficiency while ensuring the security of the service processing so as to further improve the use experience of the user is a problem to be solved. Disclosure of Invention In view of the above, embodiments of the present application provide a service processing method, apparatus, and computer device, which can ensure security of service processing, and improve service processing efficiency, thereby improving user experience. In a first aspect, the present application provides a service processing method, including: responding to the target service request of the user, if the identity grade of the user is the first grade, simultaneously processing the target service request of the user, and carrying out identity verification on the user; if the identity grade of the user is a second grade, determining the running state of the identity verification system, wherein the second grade is lower than the first grade; Under the condition that the identity verification system is in a normal state or the identity grade of the user is a third grade, calling the identity verification system to carry out identity verification on the user to obtain an identity verification result, wherein the third grade is lower than the second grade; and processing the target service request of the user under the condition that the identity verification result represents that the user passes the identity verification. In a second aspect, the present application provides a service processing apparatus, including: The first processing module is used for responding to the target service request of the user, processing the target service request of the user at the same time if the identity grade of the user is the first grade, and checking the identity of the user; The system comprises a state determining module, a state verification module and a state verification module, wherein the state determining module is used for determining the running state of the identity verification system if the identity grade of the user is a second grade, and the second grade is lower than the first grade; The identity verification module is used for calling the identity verification system to carry out identity verification on the user under the condition that the identity verification system is in a normal state or the identity grade of the user is a third grade, so as to obtain an identity verification result, wherein the third grade is lower than the second grade; And the second processing module is used for processing the target service request of the user under the condition that the identity verification result represents that the user passes the identity verification. In a third aspect, the present application provides a storage medium having stored thereon a computer program which when executed by a processor implements the above-described service processing method. In a fourth aspect, the present application provides a computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the above-mentioned service processing method when executing the program. In a fifth aspect, the present application provides a computer program product having a computer program stored thereon, which when executed by a processor implements the above-mentioned business processing method. By means of the technical scheme, the business processing method, the business processing device and the computer equipment provided by the embodiment of the application can dynamically determine the execution sequence of business processing and identity verification according to the identity grade of the user under the condition that the target business request of the user is received, so that the flexibility and the diversity of business processing are improved, the safety of business processing is ensured, and the business processing efficiency is improved. Further, if the identity level of the user is the first level, it is indicated that the identity level of the user is higher. Therefore, the identity verification can be performed on the user while the target service request of the user is processed, so that the high efficiency of se