CN114546872B - Certificate management testing method and device, computer equipment and storage medium - Google Patents

Certificate management testing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114546872B
CN114546872B CN202210184491.4A CN202210184491A CN114546872B CN 114546872 B CN114546872 B CN 114546872B CN 202210184491 A CN202210184491 A CN 202210184491A CN 114546872 B CN114546872 B CN 114546872B
Authority
CN
China
Prior art keywords
service
certificate
request
interface
verified
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
CN202210184491.4A
Other languages
Chinese (zh)
Other versions
CN114546872A (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.)
Bank Of Jilin Co ltd
Original Assignee
Bank Of Jilin 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 Bank Of Jilin Co ltd filed Critical Bank Of Jilin Co ltd
Priority to CN202210184491.4A priority Critical patent/CN114546872B/en
Publication of CN114546872A publication Critical patent/CN114546872A/en
Application granted granted Critical
Publication of CN114546872B publication Critical patent/CN114546872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The utility model provides a voucher management test method, a device, a computer device and a storage medium, which pre-configures the incidence relation of the number information of the voucher to be verified, the service identification to be verified and the voucher verification test interface, wherein the test method comprises the following steps: receiving a service request; searching a request service identifier and a request certificate number in the service request in the association relationship, if the search fails, verifying a normal interface according to a certificate corresponding to the request service identifier, and calling an interface service for processing; if the search is successful, the interface service is called to process according to the searched service identification to be verified and the certificate verification test interface associated with the certificate number to be verified. According to the method, the construction of a gray level issuing environment can be omitted, the testing interface service can be verified in a real issuing environment by pre-configuring the incidence relation among the number information of the certificate to be verified, the service identification to be verified and the certificate verification testing interface service, the comprehensiveness of verification is guaranteed, and the verification error is reduced.

Description

Certificate management testing method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of testing, and in particular, to a credential management testing method and apparatus, a computer device, and a storage medium.
Background
Today, people rely on voucher numbers, such as bank card numbers, for deposits, financing, shopping consumption, loans, etc., in their lives. The shopping is carried out by the bank card without cash, cheque opening and identity card showing, so that the shopping system is safe and reliable, is not limited by regions and bank institutions, and records are recorded in each transaction. Based on the supervision requirement and the bank business development requirement, when various types of transactions respond, certificate verification is required, and the certificate verification executed by various types of transactions is different. When the certificate verification algorithm needs to be tested after being updated, the certificate verification algorithm can be put into use after the test is passed, and the verification mode of the certificate verification algorithm in the prior art is as follows: and (3) simulating the certificate verification algorithm to issue in a test environment (namely, building a gray level issuing environment), and verifying the certificate verification algorithm through the test certificate number.
The verification method of the certificate verification algorithm has the following defects: the testing environment is different from the real production environment, and the certificate number for verification is not the real certificate number of the user, so the problems of incomplete verification and large verification error exist, when the certificate verification algorithm is put into production, the risk that the user cannot handle the service also exists, further social adverse effects are caused, the user is lost, and a series of adverse effects such as the report of a supervision unit and the like are also received.
Disclosure of Invention
The method is used for solving the problem that verification errors are not complete and large in the mode of verifying the certificate verification algorithm in the test environment in the prior art.
In order to solve the above technical problem, a first aspect of the present disclosure provides a credential management test method, where association relations between credential number information to be verified, a service identifier to be verified, and a credential verification test interface are configured in advance, and the test method includes:
receiving a service request;
and searching the request service identifier and the request certificate number in the service request in the association relationship, and if the search fails, verifying a normal interface according to the certificate corresponding to the request service identifier. Calling an interface service for processing; if the search is successful, verifying the test interface according to the searched service identifier to be verified and the certificate associated with the certificate number to be verified. And calling the service for processing.
As a further embodiment herein, finding a request service identifier and a request credential number in the service request in the association relationship includes:
searching the request certificate number in the certificate number information to be verified of the incidence relation;
if the search is successful, searching the request service identification in the service identification to be verified associated with the searched certificate number to be verified;
and if the search is successful, determining that the request service identifier and the request certificate number in the service request are successfully searched in the association relationship.
In a further embodiment of this document, if the result of executing the credential verification test interface service is failure, verifying a normal interface according to the credential corresponding to the request service identifier, and calling the interface service to perform processing.
As a further embodiment herein, the to-be-verified credential number information determination process comprises:
setting information of a certificate number to be verified according to a certificate number managed by a preset worker for a certificate of an unassociated user;
for the associated user's credentials, the setup is done as follows:
acquiring historical service requests in a preset time period;
screening out users with transaction amount larger than a preset value under each service identification and each user portrait according to the historical service request;
and taking the certificate number information of the user screened from each service identifier and each user figure as the certificate number information to be verified of each service identifier.
As a further embodiment herein, transaction device attribute information is also preconfigured;
before searching the request service identifier and the request certificate number in the service request in the association relationship, the method further comprises the following steps:
searching transaction equipment attribute information in the service request in preconfigured transaction equipment attribute information, wherein the transaction equipment attribute information comprises one or more of transaction equipment identification, transaction equipment attribution and transaction equipment type;
if the search is successful, the step of searching the request service identifier and the request certificate number in the service request in the association relationship is executed;
if the search fails, verifying a normal interface according to the certificate corresponding to the request service identifier, and calling an interface service for processing.
As a further embodiment herein, the credential validation normal interface service comprises a plurality of normal sub-interface services, the credential validation test interface service comprises a plurality of test sub-interface services;
when the test interface service is processed according to the certificate verification, the corresponding test sub-interface service is called according to the execution sequence of the test sub-interface service in the certificate verification test interface service to execute verification, and when the verification of a certain test sub-interface service fails, the normal sub-interface service corresponding to the test sub-interface service and the normal sub-interface service behind the normal sub-interface service are called to execute verification.
As a further embodiment herein, the credential management testing method further comprises:
calculating the verification index value of each certificate verification test interface service according to the execution result of each certificate verification test interface service;
and judging whether the verification index value of each certificate verification test interface service conforms to a preset response index value, if so, replacing the corresponding certificate verification normal interface service by the certificate verification test interface service, and deleting the related information of the certificate verification test interface from the association relation.
A second aspect herein provides a credential management test device comprising:
the storage unit is used for pre-configuring the incidence relation among the number information of the certificate to be verified, the service identification to be verified and the certificate verification test interface service;
a receiving unit, configured to receive a service request;
the verification unit is used for searching the request service identifier and the request certificate number in the service request in the association relationship, and if the search fails, verifying a normal interface according to the certificate corresponding to the request service identifier and calling an interface service for processing; if the search is successful, the interface service is called to process according to the searched service identification to be verified and the certificate verification test interface associated with the certificate number to be verified.
A third aspect herein provides a computer apparatus comprising a memory, a processor, and a computer program stored on the memory, the computer program when executed by the processor, performing the instructions of the method according to any of the preceding embodiments.
A fourth aspect of the present document provides a computer storage medium having stored thereon a computer program which, when executed by a processor of a computer device, executes instructions of a method according to any of the preceding embodiments.
The voucher management test method and the device provided by the invention can determine whether the user voucher number in the user service request needs to execute test verification or not through the incidence relation by pre-configuring the incidence relation of the voucher number information to be verified, the service identification and the voucher verification test interface, can save the establishment of a gray release environment, arrange voucher verification test interface service in a real release environment, verify the voucher verification test interface service according to the voucher number of the real environment, ensure the comprehensiveness of verification and reduce verification errors.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates a block diagram of a credential management test system according to embodiments herein;
FIG. 2 illustrates a first flowchart of a credential management testing method of embodiments herein;
FIG. 3 illustrates a second flowchart of a credential management testing method of embodiments herein;
FIG. 4 shows a flow diagram of a credential number information determination process to be verified according to an embodiment herein;
FIG. 5 illustrates a third flowchart of a credential management testing method of embodiments herein;
FIG. 6 illustrates a first block diagram of a credential management test device according to embodiments herein;
FIG. 7 is a second block diagram of a credential management test device according to an embodiment herein;
FIG. 8 is a block diagram of a computer device according to an embodiment of the present disclosure.
Description of the symbols of the drawings:
110. a database;
120. a transaction device;
130. a server;
610. a storage unit;
620. a receiving unit;
630. a verification unit;
611. a first storage module;
612. a second storage module;
631. an inspection module;
632. an interface calling module;
802. a computer device;
804. a processor;
806. a memory;
808. a drive mechanism;
810. an input/output module;
812. an input device;
814. an output device;
816. a presentation device;
818. a graphical user interface;
820. a network interface;
822. a communication link;
824. a communication bus.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection.
It should be noted that the terms "first," "second," and the like in the description and the drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments herein described are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises" and "comprising," and any variations thereof, in the description and claims and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive practice. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual system or apparatus product executes, it can execute sequentially or in parallel according to the method shown in the embodiment or the figures.
It should be noted that the method and apparatus for testing and managing certificates can be used in the financial field, and can also be used in any fields other than the financial field, such as membership card service management. The voucher number described herein is an account number for managing assets, and takes a bank voucher as an example, and includes non-blank vouchers and blank vouchers. Non-blank credentials refer to credentials of the associated user including, but not limited to, a bank card, passbook, and the like. Blank documents refer to documents of unassociated users including, but not limited to, proof of funds documents, transfer checks, cash checks, bank drafts, bond receipts, letter of credit amendments, and the like.
It should be noted that the user representation (including but not limited to the user's gender, age, occupation, income, etc.) and the service request data (including but not limited to the data for analysis, the stored data, the displayed data, etc.) referred to in the present application are all information and data authorized by the user or sufficiently authorized by each party.
In an embodiment of the present disclosure, a credential management test system is provided, as shown in fig. 1, including: database 110, transaction device 120, server 130.
The database 110 stores pre-configured association relationship among the number information of the certificate to be verified, the service identifier to be verified, and the certificate verification test interface.
The information of the certificate number to be verified comprises a plurality of certificate numbers of a plurality of types, each certificate number can be a full certificate number or a partial certificate number, for example, the certificate number is normally 18 bits, the information of the certificate number to be verified can only give a specific numerical value of partial bits (for example, the first 6 bits), and other bits can take any value. The to-be-verified credential number includes credentials of the associated user and credentials of the unassociated user. The certificate of the associated user refers to the certificate matched with the user, the type of the related service is the service of the certificate showing to the outside, such as a bank debit card, the type of the related service includes but is not limited to transfer accounts, withdrawal, deposit and the like, and the user refers to a person handling the service to the certificate providing institution. The credentials of the unassociated user refer to the credentials of the unassociated user at the organization (such as a bank) to which the credentials belong, and the related business types include but are not limited to credential warehousing, credential asking for approval, credential payment, credential recovery, credential destruction and the like. The certificate warehousing is a process of the certificates in the system from the absence to the existence. The certificate request is a service for a subordinate organization to claim a certificate to a superordinate organization. The certificate approval is an approval business of applying for the certificate from a superior organization to a subordinate organization. The process of voucher uploading and voucher asking for claiming are reverse processes, the website initiates an uploading service, and the superior organization makes warehousing confirmation according to the service content. Credential recovery refers to the business of recovering credentials for reuse. The destruction of the voucher refers to the destruction business of the voucher.
For the certificate of the unassociated user, the certificate number to be verified is set by the certificate number managed by the preset staff, wherein the preset staff are the development and maintenance staff of the certificate management system, and for the bank, the preset staff are the teller and the certificate manager.
For the associated user's credentials, the credential number to be verified may be configured in the manner of the embodiment shown in subsequent fig. 4.
The service identifier to be verified may be determined according to the update service and the newly added service, that is, the service identifiers of the update service and the newly added service are set as the service identifier to be verified. As shown in table 1, the to-be-verified voucher number information corresponding to each to-be-verified service identifier may be the same or different, and this document does not limit this.
The credential verification test interface in the association relationship is an interface identifier, and the interface service corresponding to the interface identifier can be called through the interface identifier, the interface service described herein has processing logic for processing the service request, and the processing logic corresponding to each service is different, which is not limited herein. Specifically, the following describes the processing logic of the interface service by taking a deposit service, a withdrawal service, and a transfer service as examples:
1. interface service corresponding to deposit business
(1) And (4) limitation checking: checking whether account limitation exists in the account, and selecting whether to terminate the transaction according to actual conditions;
(2) Customer checking: checking the basic information of the client, including whether the client is logged off, whether the client state is normal, and the like;
(3) Basic checking of the account:
1) Account general checking: whether the account state is normal or not, whether the account is a sales account or not, and whether the account is an out-of-business account or not;
2) And (4) checking the private account: the teller does not allow operating his own account;
3) And (3) checking the public account: checking the validity period of the account attribute, checking the validity period of the accredited user, and automatically prompting the expiration of the temporary user;
(4) Storing: and updating the account balance and the teller tail box, and generating bookkeeping running water and sending the bookkeeping running water to the general ledger system.
2. Interface service corresponding to deposit business
(1) Basic check of a client: checking whether the client is logged off, blacklist or not and freezing state;
(2) Basic checking of the account: checking account status (sales, hang for a long time, change to outside the business, etc.), checking private customers;
teller authority (not allowing to operate the own account), account attribute check of the public account, account validity check of the accredited user and account validity check of the temporary user;
(3) And (4) limiting checking: checking the account for client level limit, attribute level limit and account level limit;
(4) Checking bill information: when bill information exists in the fund transaction process, checking related information (bill account relation, bill issuing date, loss reporting state and voucher selling state);
(5) Live fetch event master logic: the method comprises the following steps of organizing debit pipelining and cash tail box pipelining, carrying out tail box updating by operation service, carrying out debit account number checking, balance checking and the like by deposit service, updating account balance and performing pipelining registration.
3. Interface service corresponding to transfer business
(1) Internal account transfer transaction checking: checking whether the two accounts of the transfer transaction are internal accounts;
(2) Checking bill information: when bill information exists in the fund transaction process, checking related information (bill account relation, bill issuing date, loss reporting state and voucher selling state);
(3) Basic check of the customer: checking whether the client is logged off, blacklist or not and freezing state;
(4) Basic check of the account: checking account status (sales, hang for a long time, change to outside the business, etc.), checking private customers;
teller authority (not allowing to operate the own account), account attribute check of the public account, account validity check of the accredited user and account validity check of the temporary user;
(5) Foreign currency transfer checking: checking whether the transaction is foreign currency transaction;
(6) And (4) limitation checking: checking the account for client level limit, attribute level limit and account level limit;
(7) Examination on holidays: checking whether the transaction day is a holiday or not;
(8) Transferring accounts at the current time: the main flow is organized, the lender flows, and the lender flows and receives the commission fees according to the transaction.
TABLE 1
Figure BDA0003516397680000081
Figure BDA0003516397680000091
The database 110 described herein may be a database management system or may be a file system.
The transaction device 120 is configured to receive a service request. Taking the bank certificate management test system as an example, the transaction device includes but is not limited to a teller terminal device (computer device, PAD, wearable device, etc.), an ATM machine, and the like. Different transaction devices can send different service requests, and the document does not limit the service requests which can be sent by each transaction device. The service request is determined according to the service function provided by the voucher management test system, and still taking the bank voucher management test system as an example, the service function related to the service request includes but is not limited to pre-preparing a voucher, transferring the voucher, issuing the voucher, opening an account of the voucher, depositing money, withdrawing money from a home bank, withdrawing money from a cross-bank and the like, transferring accounts and signing contracts.
The server 130 is configured with a production environment, and configured with a credential verification test interface service and a credential verification test normal interface service (i.e., an interface service that has been put into production completely), where the production environment is an environment issued to the outside, and service requests of all users can be responded to.
The server 130 is configured to search for a request service identifier and a request credential number in the service request in the association relationship, and if the search fails, verify a normal interface according to a credential corresponding to the request service identifier, and invoke an interface service to perform processing (that is, invoke the credential corresponding to the request service identifier to verify the normal interface service to perform processing); if the search is successful, the interface service is called for processing according to the searched certificate verification test interface associated with the to-be-verified service identifier and the to-be-verified certificate number (namely, the searched certificate verification test interface service associated with the to-be-verified service identifier and the to-be-verified certificate number is called for processing). Specifically, the server 130 may be a mainframe computer, or may be a medium or small computer. To ensure the validity of the business response, the servers 130 described herein may also be a cluster of servers.
In specific implementation, for the efficiency of searching the request service identifier and the request certificate number in the service request, the method for searching the request service identifier and the request certificate number in the service request in the association relationship includes:
searching a request certificate number in the certificate number information to be verified of the association relation;
if the request certificate number is successfully searched, searching the request service identification in the service identification to be verified related to the searched certificate number to be verified;
and if the request service identifier is successfully searched, determining that the request service identifier and the request certificate number in the service request are successfully searched in the association relationship.
For example, assuming that the request credential number is 623132 × × 1002, and the request service identifier is the credential account opening, the request credential number is found in the information about the credential number to be verified in table 1, and then the credential account opening is found in the service identifier to be verified associated with 623132 × 1002 in table 1, so that it can be determined that the request service identifier and the request credential number in the service request are found in the association relationship successfully.
According to the embodiment, the incidence relation among the number information of the certificate to be verified, the service identification and the certificate verification test interface service is configured in advance, and whether the user certificate number in the user service request needs to be tested and verified or not is determined through the incidence relation, so that the construction of a gray level issuing environment can be omitted, the verification working efficiency is improved, and the stability of the system can be ensured. The certificate verification test interface service is arranged in the real issuing environment, and the certificate verification test interface service is verified according to the certificate number of the real environment, so that the comprehensiveness of verification is ensured, and the verification error is reduced.
In an embodiment of this document, a credential management testing method is further provided, where the method is executed in the server 130, and before the method is executed, an association relationship between credential number information to be verified, a service identifier to be verified, and a credential verification testing interface service is configured in advance, specifically, as shown in fig. 2, the testing method includes:
step 210, receiving a service request;
step 220, searching the request service identifier and the request certificate number in the service request in the association relationship, and if the search fails, executing step 230; if the search is successful, go to step 240;
step 230, verifying a normal interface according to the certificate corresponding to the request service identifier, and calling an interface service for processing;
and step 240, calling an interface service for processing according to the found certificate verification test interface associated with the to-be-verified service identifier and the to-be-verified certificate number.
According to the embodiment, whether the user certificate number in the user service request needs to execute test verification or not is determined through the incidence relation, the construction of a gray level issuing environment can be omitted, the certificate verification test interface service is arranged in the real issuing environment, the certificate verification test interface service is verified according to the certificate number of the real environment, the comprehensiveness of verification is guaranteed, and the verification error is reduced.
In an embodiment of the present invention, the step 220 includes:
searching the request certificate number in the certificate number information to be verified of the association relation;
if the search is successful, searching the request service identification in the service identification to be verified associated with the searched certificate number to be verified;
if the search is successful, the request service identifier and the request certificate number in the service request are determined to be successfully searched in the association relationship.
In order to avoid a failure of service request response due to an incomplete service update service of the service interface, in an embodiment of the present disclosure, as shown in fig. 3, when the step 240 is implemented, if an execution result of the credential verification test interface service is a failure, the step 230 is returned to verify a normal interface according to a credential corresponding to the service identifier of the request, and the interface service is called to perform processing.
According to the embodiment, when the processing of the certificate verification test interface service fails, the normal interface service is returned and called for processing, and the request certificate number in the service request can be ensured to be normally verified.
In an embodiment of this document, as shown in fig. 4, for the credentials of the associated user, the number information of the credentials to be verified may be determined by the following way:
step 410, obtaining historical service requests in a predetermined time period.
In this step, the predetermined time period is, for example, the last three months, half a year, and the like, and the predetermined time period is not specifically limited herein. The historical service request comprises service requests of various services, wherein the service requests comprise request service identifiers, request certificate numbers and user information, and the user information comprises but is not limited to names, ages, professions, identity card numbers, home addresses and the like.
And step 420, screening out users with the transaction amount larger than a preset value under each service identification and each user portrait according to the historical service request.
In the step, users who do not frequently initiate service requests can be eliminated, and users who frequently initiate service requests in a preset time period, namely active users, are reserved, so that the testing efficiency of interface service can be ensured.
The user representation described herein is used to identify user characteristics including, but not limited to, gender, age bracket, occupation, income bracket, region, etc., and is not specifically limited thereto. The predetermined value can be set according to actual requirements.
And step 430, taking the certificate number information of the user screened by the service identifications and the user figures as the certificate number information to be verified of the service identifications.
In the embodiment, the service identification and the certificate number of each user portrait are screened out from the existing opened certificate numbers in a random mode, and the screened certificate numbers are used as the certificate numbers to be verified, so that the completeness of verification can be ensured, and the interface service verification can be ensured to be completed within a certain time.
In an embodiment of the present disclosure, in order to improve the dimension and efficiency of the service verification, the credential management test method is implemented by pre-configuring the number information of the credential to be verified, the service identifier to be verified, the association relationship of the credential verification test interface service, and the attribute information of the transaction device. As shown in fig. 5, the test method includes:
step 510, a service request is received.
Step 520, searching the transaction device attribute information in the service request in the pre-configured transaction device attribute information, if the searching fails, executing step 530, and if the searching succeeds, executing step 540.
The attribute information of the transaction equipment comprises one or more of transaction equipment identification, a transaction equipment attribution and transaction equipment types, wherein the transaction equipment identification can be set according to the job number of a person using the transaction equipment. The transaction device described herein includes, but is not limited to, a user intelligent terminal, a teller service terminal.
Step 530, verifying normal interface service according to the certificate corresponding to the request service identifier for processing.
Step 540, searching the request service identifier and the request certificate number in the service request in the association relationship, and if the search fails, executing step 530; if the lookup is successful, step 550 is performed.
And step 550, calling an interface service for processing according to the found certificate verification test interface associated with the to-be-verified service identifier and the to-be-verified certificate number.
In the embodiment, the test of the certificate verification test interface service is performed by limiting part of the service requests initiated by the transaction equipment, so that the controllability of test verification can be ensured, and the problem that the test interface service is not well embodied for most users under the abnormal condition is avoided.
In one embodiment, the credential validation normal interface service includes a plurality of normal sub-interface services, and the credential validation test interface service includes a plurality of test sub-interface services. For the normal interface service and the test interface service corresponding to the same service, the incidence relation between the normal sub-interface service in the normal interface service and the test sub-interface service in the test interface service is established in advance.
When the test interface service is processed according to the certificate verification, the corresponding test sub-interface service is called according to the execution sequence of the test sub-interface service in the test interface service for executing verification, and when the verification of a certain test sub-interface service fails, the normal sub-interface service corresponding to the test sub-interface service and the normal sub-interface service behind the normal sub-interface service are called according to the incidence relation for executing verification.
According to the embodiment, under the condition that the exception occurs in the execution process of the certificate verification test interface service, the normal sub-interface service is timely switched to continue to be executed, so that the certificate verification speed and the certificate verification accuracy are improved.
In an embodiment of this document, after the credential verification test interface service is online for a period of time, the following procedure is also performed to complete the test of the test interface service:
(1) And calculating the verification index value of each certificate verification test interface service according to the execution result of each certificate verification test interface service.
The verification index includes transaction amount, success rate, response time, and the like. The transaction amount is the number of processing times, the success rate is the ratio of successful verification of the test interface service to the transaction amount, and the response time refers to the execution duration of the test interface service.
(2) And judging whether the verification index value of each certificate verification test interface service conforms to a preset response index value, if so, replacing the corresponding certificate verification normal interface service by using the certificate verification test interface service, and deleting the related information of the certificate verification test interface service from the association relation.
Each preset response index value may be set according to actual requirements, which is not limited herein.
Based on the same inventive concept, a credential management test device is also provided herein, as described in the following embodiments. Because the principle of the device to solve the problem is similar to the credential management test method, the implementation of the credential management test device can refer to the credential management test method, and repeated details are not repeated.
Specifically, as shown in fig. 6, the credential management test device includes:
a storage unit 610, configured to pre-configure association relationships between credential number information to be verified, a service identifier to be verified, and a credential verification test interface service;
a receiving unit 620, configured to receive a service request;
a verification unit 630, configured to search for a request service identifier and a request credential number in the service request in the association relationship, and if the search fails, verify a normal interface according to a credential corresponding to the request service identifier, and invoke an interface service to process the interface service; if the search is successful, the interface service is called to process according to the searched service identification to be verified and the certificate verification test interface associated with the certificate number to be verified.
Further, as shown in fig. 7, the storage unit 610 further includes: the system comprises a first storage module 611 and a second storage module 612, wherein the first storage module 611 is used for storing the number information of the certificate to be verified, and the second storage module 612 is used for storing the association relationship among the number information of the certificate to be verified, the service identifier to be verified and the certificate verification test interface service.
The verification unit 630 further includes: the checking module 631 and the interface invoking module 632, the checking module 631 is configured to search for a request credential number in the service request from the first storage module 611, and if the search is successful, search for a request service identifier and the request credential number in the service request from the second storage module 612. The interface calling module 632 is configured to call an interface service according to the checking result of the checking module 631 for processing, specifically, if the search fails, verify a normal interface according to a credential corresponding to the request service identifier, and call the interface service for processing; if the search is successful, the interface service is called to process according to the searched service identification to be verified and the certificate verification test interface associated with the certificate number to be verified.
In an embodiment herein, a remote computer device is also provided, and as shown in fig. 8, the computer device 802 may include one or more processors 804, such as one or more Central Processing Units (CPUs), each of which may implement one or more hardware threads. The computer arrangement 802 may further comprise any memory 806 for storing any kind of information, such as code, settings, data, computer programs etc., which when executed by the processor 804, perform the instructions of the method according to any of the previous embodiments. For example, and without limitation, memory 806 may include any one or more of the following in combination: any type of RAM, any type of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any memory may use any technology to store information. Further, any memory may provide volatile or non-volatile retention of information. Further, any memory may represent fixed or removable components of computer device 802. In one case, when the processor 804 executes the associated instructions, which are stored in any memory or combination of memories, the computer device 802 can perform any of the operations of the associated instructions. The computer device 802 also includes one or more drive mechanisms 808, such as a hard disk drive mechanism, an optical disk drive mechanism, etc., for interacting with any memory.
The computer device 802 may also include an input/output module 810 (I/O) for receiving various inputs (via input device 812) and for providing various outputs (via output device 814)). One particular output mechanism may include a presentation device 816 and an associated graphical user interface 818 (GUI). In other embodiments, input/output module 810 (I/O), input device 812, and output device 814 may also be excluded, as just one computer device in a network. Computer device 802 can also include one or more network interfaces 820 for exchanging data with other devices via one or more communication links 822. One or more communication buses 824 couple the above-described components together.
Communication link 822 may be implemented in any manner, such as over a local area network, a wide area network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof. The communication link 822 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
Corresponding to the methods in fig. 2 to 5, the embodiments herein also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the steps of the above-mentioned method.
Embodiments herein also provide computer readable instructions, wherein a program therein causes a processor to perform the method as shown in fig. 2-5 when the instructions are executed by the processor.
It should be understood that, in various embodiments herein, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments herein.
It should also be understood that, in the embodiments herein, the term "and/or" is only one kind of association relation describing an associated object, and means that there may be three kinds of relations. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided herein, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, 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 through some interfaces, devices or units, and may also be an electrical, mechanical or other form of connection.
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 position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments herein.
In addition, functional units in the embodiments herein 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions in the present invention substantially or partially contribute to the prior art, or all or part of the technical solutions 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 herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The principles and embodiments of the present disclosure are explained in detail by using specific embodiments, and the above description of the embodiments is only used to help understanding the method and its core idea; meanwhile, for the general technical personnel in the field, according to the idea of this document, there may be changes in the concrete implementation and the application scope, in summary, this description should not be understood as the limitation of this document.

Claims (9)

1. A voucher management test method is characterized in that incidence relations of voucher number information to be verified, service identification to be verified and a voucher verification test interface are configured in advance, the voucher verification test interface is arranged in a real issuing environment, a voucher number is an account number of a management asset, and the test method comprises the following steps:
receiving a service request sent by a user;
searching a request service identifier and a request certificate number in the service request in the association relation, and if the search fails, verifying a normal interface according to a certificate corresponding to the request service identifier to call an interface service for processing; if the search is successful, calling an interface service for processing according to the searched to-be-verified service identifier and the certificate verification test interface associated with the to-be-verified certificate number;
the process for determining the number information of the certificate to be verified comprises the following steps:
setting the number information of the certificate to be verified according to the certificate number managed by preset staff for the certificate of the user which is not associated;
for the associated user's credentials, the setup is done as follows:
acquiring historical service requests in a preset time period;
screening out users with transaction amount larger than a preset value under each service identification and each user portrait according to the historical service request;
and taking the certificate number information of the user screened from each service identifier and each user figure as the certificate number information to be verified of each service identifier.
2. The method for testing credential management of claim 1 wherein finding a request service identifier and a request credential number in the service request in the association comprises:
searching the request certificate number in the certificate number information to be verified of the incidence relation;
if the search is successful, searching the request service identification in the service identification to be verified associated with the searched certificate number to be verified;
and if the search is successful, determining that the request service identifier and the request certificate number in the service request are successfully searched in the association relationship.
3. The method of claim 1, wherein if the result of the execution of the interface service for credential validation testing is failure, then invoking the interface service to process according to the normal interface for credential validation corresponding to the request service identifier.
4. The credential management test method of claim 1 further pre-configuring transaction device attribute information;
before searching for the request service identifier and the request certificate number in the service request in the association relationship, the method further includes:
searching transaction equipment attribute information in the service request in preconfigured transaction equipment attribute information, wherein the transaction equipment attribute information comprises one or more of transaction equipment identification, transaction equipment attribution and transaction equipment type;
if the search is successful, the step of searching the request service identifier and the request certificate number in the service request in the association relation is executed;
if the search fails, verifying a normal interface according to the certificate corresponding to the request service identifier, and calling an interface service for processing.
5. The credential management test method of claim 1 wherein the credential validation normal interface service comprises a plurality of normal subinterface services, the credential validation test interface service comprising a plurality of test subinterface services;
when the test interface service is processed according to the certificate verification, the corresponding test sub-interface service is called according to the execution sequence of the test sub-interface service in the certificate verification test interface service to execute verification, and when the verification of a certain test sub-interface service fails, the normal sub-interface service corresponding to the test sub-interface service and the normal sub-interface service behind the normal sub-interface service are called to execute verification.
6. The credential management testing method of claim 1, the testing method further comprising:
calculating the verification index value of each certificate verification test interface service according to the execution result of each certificate verification test interface service;
and judging whether the verification index value of each certificate verification test interface service conforms to a preset response index value, if so, replacing the corresponding certificate verification normal interface service by using the certificate verification test interface service, and deleting the related information of the certificate verification test interface service from the association relation.
7. A credential management test device, comprising:
the system comprises a storage unit, a certification verification testing interface and a certification management unit, wherein the storage unit is used for pre-configuring the number information of a certificate to be verified, a service identifier to be verified and the incidence relation of the certification verification testing interface, the certificate verification testing interface is arranged in a real release environment, and the certificate number is an account number of management assets;
a receiving unit, configured to receive a service request sent by a user;
the verification unit is used for searching the request service identifier and the request certificate number in the service request in the association relationship, and if the search fails, verifying a normal interface according to the certificate corresponding to the request service identifier and calling an interface service for processing; if the search is successful, calling an interface service for processing according to the searched service identifier to be verified and the certificate verification test interface associated with the certificate number to be verified;
the process for determining the number information of the certificate to be verified comprises the following steps:
setting the number information of the certificate to be verified according to the certificate number managed by preset staff for the certificate of the user which is not associated;
for the associated user's credentials, the setup is done as follows:
acquiring historical service requests in a preset time period;
screening out users with transaction amount larger than a preset value under each service identification and each user portrait according to the historical service request;
and taking the certificate number information of the user screened from each service identifier and each user figure as the certificate number information to be verified of each service identifier.
8. A computer arrangement comprising a memory, a processor, and a computer program stored on the memory, characterized in that the computer program, when executed by the processor, executes the instructions of the method according to any one of claims 1-6.
9. A computer storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor of a computer device, executes instructions of a method according to any one of claims 1-6.
CN202210184491.4A 2022-02-23 2022-02-23 Certificate management testing method and device, computer equipment and storage medium Active CN114546872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210184491.4A CN114546872B (en) 2022-02-23 2022-02-23 Certificate management testing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210184491.4A CN114546872B (en) 2022-02-23 2022-02-23 Certificate management testing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114546872A CN114546872A (en) 2022-05-27
CN114546872B true CN114546872B (en) 2023-02-17

Family

ID=81679447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210184491.4A Active CN114546872B (en) 2022-02-23 2022-02-23 Certificate management testing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114546872B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117436905B (en) * 2023-11-27 2024-06-25 哈尔滨工程大学三亚南海创新发展基地 Method, system, equipment and storage medium for generating service certificate chain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004061786A2 (en) * 2002-12-30 2004-07-22 American Express Travel Related Services Company, Inc. Methods and apparatus for credential validation
CN104836664A (en) * 2015-03-27 2015-08-12 腾讯科技(深圳)有限公司 Method for executing business processing, device for executing business processing and system for executing business processing
CN109685650A (en) * 2018-12-28 2019-04-26 中国农业银行股份有限公司 A kind of debit card multiplexing method and device
CN110399303A (en) * 2019-07-29 2019-11-01 中国工商银行股份有限公司 For the method for setup test data, data preparation device and electronic equipment
CN110401630A (en) * 2019-05-21 2019-11-01 杭州米雅信息科技有限公司 Verification method, device, electronic equipment and the medium of transaction certificate
CN111835514A (en) * 2020-07-23 2020-10-27 上海英方软件股份有限公司 Method and system for realizing safe interaction of front-end and back-end separated data
CN111931188A (en) * 2020-08-13 2020-11-13 中国工商银行股份有限公司 Vulnerability testing method and system under login scene
CN112527252A (en) * 2020-11-30 2021-03-19 北京百度网讯科技有限公司 Applet management method and device, applet platform, electronic device and medium
CN114022264A (en) * 2021-11-05 2022-02-08 平安科技(深圳)有限公司 Method, device, equipment and storage medium for generating certificate

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180211249A1 (en) * 2017-01-25 2018-07-26 Bank Of America Corporation Enabling authentication shifting based on mobile wallet characteristics
CN108564371A (en) * 2017-12-27 2018-09-21 ***股份有限公司 A kind of transaction verification method and device
CN109491887A (en) * 2018-09-28 2019-03-19 深圳壹账通智能科技有限公司 Test environment dispositions method, device, computer equipment and storage medium
US10983898B2 (en) * 2019-03-29 2021-04-20 Usablenet, Inc. Methods for improved web application testing using remote headless browsers and devices thereof
CN110097443A (en) * 2019-05-14 2019-08-06 上海溪之谷软件技术有限公司 A kind of accounting processing method and its system based on economic affairs classification
CN113159614A (en) * 2021-05-10 2021-07-23 中国工商银行股份有限公司 Task allocation method and device, electronic equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004061786A2 (en) * 2002-12-30 2004-07-22 American Express Travel Related Services Company, Inc. Methods and apparatus for credential validation
CN104836664A (en) * 2015-03-27 2015-08-12 腾讯科技(深圳)有限公司 Method for executing business processing, device for executing business processing and system for executing business processing
CN109685650A (en) * 2018-12-28 2019-04-26 中国农业银行股份有限公司 A kind of debit card multiplexing method and device
CN110401630A (en) * 2019-05-21 2019-11-01 杭州米雅信息科技有限公司 Verification method, device, electronic equipment and the medium of transaction certificate
CN110399303A (en) * 2019-07-29 2019-11-01 中国工商银行股份有限公司 For the method for setup test data, data preparation device and electronic equipment
CN111835514A (en) * 2020-07-23 2020-10-27 上海英方软件股份有限公司 Method and system for realizing safe interaction of front-end and back-end separated data
CN111931188A (en) * 2020-08-13 2020-11-13 中国工商银行股份有限公司 Vulnerability testing method and system under login scene
CN112527252A (en) * 2020-11-30 2021-03-19 北京百度网讯科技有限公司 Applet management method and device, applet platform, electronic device and medium
CN114022264A (en) * 2021-11-05 2022-02-08 平安科技(深圳)有限公司 Method, device, equipment and storage medium for generating certificate

Also Published As

Publication number Publication date
CN114546872A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US10698795B2 (en) Virtual payments environment
CN106530088B (en) Method for trading certificate products based on blockchain security nodes
US7004382B2 (en) Payment validation network
US7337953B2 (en) Negotiable instrument authentication systems and methods
AU2003217958B2 (en) Method and system for processing credit card related transactions
US20030135457A1 (en) Method and apparatus for providing online financial account services
US20200007647A1 (en) Real-time Event Orchestrator
JP4272186B2 (en) Collection agency system
CN111178994B (en) Electronic silver ticket full-flow automatic intelligent wind control cash registering system and cash registering method
CN114546872B (en) Certificate management testing method and device, computer equipment and storage medium
WO2019117746A1 (en) Method for automatically crediting deposited funds in the event of fault occurrences
CN116128458B (en) Intelligent automatic auditing system for hospital expense card account reporting
CA2986719A1 (en) Systems and methods for providing an orchestration layer for service offered by early warning services
CN117094764A (en) Bank integral processing method and device
CN111047325B (en) Collecting system and method
CN115858489A (en) Transaction processing method and device based on data migration, computer equipment and medium
US11301850B2 (en) System and method for transferring an anonymized transaction between nodes of a computer network
US10216830B2 (en) Multicomputer processing of client device request data using centralized event orchestrator and link discovery engine
TWM610530U (en) Transaction data integration equipment
CN111932368B (en) Credit card issuing system and construction method and device thereof
CN114240610B (en) Automatic fund collection method, device, computer equipment and storage medium
US11989774B1 (en) Systems and methods for providing digital trusted data
CN117172761A (en) Service processing method, device, equipment and medium of electronic bill
JP2006004121A (en) Business form data processing system
CN117391851A (en) Digital RMB transaction management method and system for enterprise users

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