CN116992414A - Authority verification method and device and electronic equipment - Google Patents

Authority verification method and device and electronic equipment Download PDF

Info

Publication number
CN116992414A
CN116992414A CN202310961645.0A CN202310961645A CN116992414A CN 116992414 A CN116992414 A CN 116992414A CN 202310961645 A CN202310961645 A CN 202310961645A CN 116992414 A CN116992414 A CN 116992414A
Authority
CN
China
Prior art keywords
verification
permission
target user
link
links
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.)
Pending
Application number
CN202310961645.0A
Other languages
Chinese (zh)
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202310961645.0A priority Critical patent/CN116992414A/en
Publication of CN116992414A publication Critical patent/CN116992414A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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
    • 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/06Asset management; Financial planning or analysis
    • 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/08Insurance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a permission verification method, a permission verification device and electronic equipment, and relates to the technical field of computer application, wherein the method comprises the following steps: responding to permission verification operation aiming at a target user, and extracting account information of the target user which is input in advance in a test platform; responding to the execution instruction, calling a preconfigured automation script, running the automation script to verify account information of the target user, and generating a verification result; and storing the verification result into a database which is preset. According to the permission verification method, the permission verification device and the electronic equipment, when the permission of the target user is verified, verification results can be simply, intuitively and accurately transferred from the database and displayed, and step problems of each permission verification link can be displayed, so that the problem root of the problem that a test server can be put in manpower to scoop logs and then locate is avoided greatly, a great amount of manpower and time spent in the process of locating the problem are effectively avoided, and the permission verification efficiency is improved.

Description

Authority verification method and device and electronic equipment
Technical Field
The present invention relates to the field of computer applications, and in particular, to a method and apparatus for verifying authority, and an electronic device.
Background
In the financial and technological industry, investment insurance and financial related products of financial institutions such as banks generally require professional knowledge assistance and assistance of financial manager personnel to complete sales of insurance products. And the rights of the financial manager are necessarily checked in the application process.
In general, the verification of the authority has a plurality of steps, and involves a plurality of associated parties such as banks, financial accounting, insurance, etc., and the test environments of the associated parties often switch the test environment server and the database according to the iteration version, so that the financial institutions such as banks need to switch the environments frequently in order to synchronize with the test environments of the associated parties.
Whether the iterative version deployment of the test environment of financial institutions such as banks or the iterative version deployment of the test environment of related parties can influence the stability of the rights of the financial manager, so that problems occur due to poor stability when the rights of the financial manager are checked in the insurance process, and when problems occur each time, the problems of the specific step of the right check are required to be positioned, and the corresponding log analysis is required to be fished by the test environment server through the insurance related information, so that a great deal of manpower and time are spent by the testers in the positioning process, the cost is high, and the efficiency of the right check is seriously influenced.
Disclosure of Invention
Accordingly, the present invention is directed to a method and apparatus for verifying authority, and an electronic device, so as to alleviate the above technical problems.
In a first aspect, an embodiment of the present invention provides a permission verification method, which is applied to a test platform, where the method includes: responding to permission verification operation aiming at a target user, and extracting account information of the target user, which is input in advance in the test platform; responding to an execution instruction, and calling a preconfigured automation script, wherein the automation script records a plurality of permission verification links matched with the target user, and the permission verification links are used for verifying the permission of the target user to manage a target financial product; operating the automatic script to check account information of the target user and generating a check result; and storing the verification result into a database which is preset.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the test platform is configured with an FTP server, where the FTP server is used to store the automation script; the step of retrieving a preconfigured automation script includes: and calling the automation script from the FTP server.
With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect, where a plurality of the rights verification links of the automation script record are arranged according to a preset priority order; and according to the priority order, the plurality of rights verification links at least comprise: character identity verification link, organization verification link, qualification verification link, data verification link and system maintenance verification link.
With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of running the automation script to verify account information of the target user and generate a verification result includes: according to the preset priority order, sequentially acquiring an automation script of each authority verification link; and acquiring corresponding verification content from the FTP server based on the permission verification links so as to verify each permission verification link and generate a verification result corresponding to each permission verification link.
With reference to the third possible implementation manner of the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the step of verifying each rights verification link and generating a verification result corresponding to each rights verification link includes: if the acquired right verification links are successfully verified, continuing to acquire the right verification links of the next stage according to the priority order until all the right verification links are traversed, and generating a verification result of successful verification; if the obtained authority verification link is unsuccessful in verification, ending the verification process and generating ending prompt information to prompt that the verification in the authority verification link is unsuccessful.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the method further includes: responding to check result query operation, and calling a check record from the database; and selecting the latest data of the verification result to display based on the verification record.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes: acquiring pre-recorded account information; generating the permission verification link according to the permission of the user corresponding to the account information, and an automatic script of the permission verification link; and storing the account information, the permission verification link and an automatic script of the permission verification link to the FTP server.
In a second aspect, an embodiment of the present invention further provides a permission verification apparatus, applied to a test platform, where the apparatus includes: the acquisition module is used for responding to the permission verification operation aiming at the target user and extracting account information of the target user, which is input in advance in the test platform; the execution module is used for responding to the execution instruction and retrieving a preconfigured automation script, wherein the automation script records a plurality of permission verification links matched with the target user, and the permission verification links are used for verifying the permission of the target user for managing the target financial product; the operation module is used for operating the automatic script to check the account information of the target user and generating a check result; and the storage module is used for storing the verification result into a database which is preset.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the steps of the method described in the first aspect.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which when being executed by a processor performs the steps of the method according to the first aspect.
The embodiment of the invention has the following beneficial effects:
the permission verification method, the permission verification device and the electronic equipment provided by the embodiment of the invention can respond to permission verification operation aiming at the target user, and the account information of the target user which is input in advance in the test platform can be extracted; and then, responding to the execution instruction, calling a preconfigured automatic script, running the automatic script to check account information of the target user, generating a check knot and storing the check knot into a database which is preset, wherein the automatic script records a plurality of authority check links matched with the target user, and the authority check links are used for checking the authority of a target financial product managed by the target user.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for verifying authority provided in an embodiment of the present invention;
FIG. 2 is a flowchart of another method for verifying authority provided in an embodiment of the present invention;
FIG. 3 is a flowchart of an automated script execution process provided by an embodiment of the present invention;
FIG. 4 is a flow chart of authority verification provided by an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a rights verification apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, in the financial and scientific industry, when the authority verification of a financial manager is problematic due to the stability of a test environment, the problem is analyzed by manually taking a log, so that a tester spends a great deal of manpower and time in the positioning process, and the cost is high.
Based on the above, the permission verification method, the permission verification device and the electronic equipment provided by the embodiment of the invention can effectively alleviate the technical problems.
For the convenience of understanding the present embodiment, a method for verifying authority disclosed in the embodiment of the present invention will be described in detail first.
In a possible implementation manner, the embodiment of the invention provides a permission verification method, which is applied to a test platform, and in particular, the test platform in the embodiment of the invention is generally a test platform arranged in the financial and technological industry, for example, a test platform of a banking service department, an insurance service department or a financial service department, and can verify the permission of related personnel, for example, a financial manager, and can form an intelligent analysis system to automatically verify the permission of the related personnel so as to improve the efficiency of permission verification.
Specifically, as shown in fig. 1, a flowchart of a rights verification method includes the following steps:
step S102, responding to permission verification operation aiming at a target user, and extracting account information of the target user which is input in advance in a test platform;
step S104, responding to the execution instruction and calling a preconfigured automation script;
the automatic script in the embodiment of the invention records a plurality of authority verification links matched with the target user, wherein the authority verification links are used for verifying the authority of the target financial product managed by the target user;
step S106, running an automation script to check account information of the target user and generating a check result;
step S108, storing the verification result into a database which is preset.
In practical use, the above-mentioned authority verification operation is generally performed under the condition of affecting the stability of the authority of the target user when the test environment of the financial institution such as a bank is updated and iterated, but the stability of the authority of the financial manager is affected no matter whether the test environment of the financial institution such as a bank is iterated or the test environment of the relevant party is iterated, so that the test environment has a problem due to poor stability when the authority of the financial manager is verified in the application process.
Furthermore, because the automatic script in the embodiment of the invention is preconfigured, when responding to the execution instruction, the automatic script can be directly called to realize the automatic verification process, and meanwhile, the plurality of authority verification links are independently arranged, so that the problematic links can be rapidly positioned.
Therefore, the permission verification method provided by the embodiment of the invention can respond to the permission verification operation aiming at the target user, and the account information of the target user which is input in advance in the test platform can be extracted; and then, responding to the execution instruction, calling a preconfigured automatic script, running the automatic script to check account information of the target user, generating a check knot and storing the check knot into a database which is preset, wherein the automatic script records a plurality of authority check links matched with the target user, and the authority check links are used for checking the authority of a target financial product managed by the target user.
In practical use, the target user in the embodiment of the invention generally refers to staff of financial institutions such as banks, for example, staff having a certain expertise of investment insurance finance related products such as financial managers, and the staff can assist or assist in completing sales of the insurance products due to the certain expertise.
In the embodiment of the invention, the account information of the target user refers to a unique identifier which can represent the target user in the test platform, such as employee numbers, identity card numbers and the like, and can represent the unique identifier of the target user.
Furthermore, the automation script in the embodiment of the invention is generally configured by means of other servers so as to reduce the pressure of the test platform, and meanwhile, the automation script is also convenient for operation and maintenance personnel to configure or update the automation script.
Specifically, in the embodiment of the present invention, the test platform is configured with a FTP (File Transfer Protocol Server) server, and the FTP server is used for storing the automation script; in particular, the FTP server may provide the test platform with services for file storage and access based on the internet, and provide the test platform with services according to the FTP protocol.
Therefore, in step S104 in the embodiment of the present invention, when the automation script is called, the automation script may be called from the FTP server.
Further, in the embodiment of the present invention, a plurality of rights verification links of the automation script record are arranged according to a preset priority order; and, according to the priority order, the plurality of rights verification links at least include: the role identity verification link, the organization verification link, the qualification verification link, the data verification link and the system maintenance verification link are used for sequentially verifying account information of a target user.
For easy understanding, fig. 2 further shows a flowchart of another authority verification method, and further illustrates a process of verifying account information of a target user, specifically, as shown in fig. 2, including the following steps:
step S202, responding to permission verification operation aiming at a target user, and extracting account information of the target user which is input in advance in a test platform;
step S204, responding to the execution instruction, and calling an automation script from the FTP server;
step S206, sequentially acquiring an automation script of each authority verification link according to a preset priority order;
step S208, acquiring corresponding verification content from the FTP server based on the permission verification links so as to verify each permission verification link and generate a verification result corresponding to each permission verification link;
when in actual use, a plurality of authority verification links recorded by the automatic script are arranged according to a preset priority order; and, according to the priority order, the multiple rights verification links at least include: in the step S208, each authority verification link is usually verified in sequence according to the priority order, that is, if the obtained authority verification link is verified successfully, the next authority verification link is continuously obtained according to the priority order until all the authority verification links are traversed, and a verification result of verification success is generated; if the verification of the acquired authority verification link is unsuccessful, ending the verification process and generating ending prompt information to prompt that the verification of the authority verification link is unsuccessful.
For example, in the verification process, firstly, an automatic script of the role identity verification link is called, if verification is successful, the automatic script of the mechanism verification link is continuously called until all authority verification links are successfully verified, and if the corresponding verification content obtained based on the FTP server in the role identity verification link finds that the role identity verification link at the moment is unsuccessful, the verification process is directly ended, and ending prompt information is generated to prompt that the verification in the role identity verification link is unsuccessful.
Step S210, storing the verification result into a database which is preset.
In practical use, in order to realize automatic execution of the verification process, the automation scripts in the FTP server are all preconfigured, and specifically, when the automation scripts are configured, the pre-recorded account information can be obtained; generating a permission verification link and an automatic script of the permission verification link according to the permission of the user corresponding to the account information; and storing the account information, the permission verification link and an automatic script of the permission verification link to an FTP server for the test platform to call.
Further, for the verification result generated in the verification process, the test platform can also respond to the verification result query operation and call the verification record from the database; and then, based on the verification record, selecting the latest verification result data for display.
In practical use, the database for recording the verification result in the embodiment of the invention generally adopts a MySQL database, specifically, the front end of the test platform generally uses a Bootstrap framework as a display, utilizes JavaScript, JQuery, CSS technology to process data and render, and the rear end uses Django framework python language processing function logic to store data by using the MySQL database. And the automation script is realized by using a python language pytest monocular.
For easy understanding, the following description will be given by taking a financial manager of a banking institution as an example, and as shown in table 1 below, an automated script for verifying sales rights of the financial manager is shown, and for a rights verification process of the financial manager, a rights verification link at least includes: character identity verification link, organization verification link, qualification verification link, data verification link and system maintenance verification link, specifically, 10 steps in the following table 1 are involved in total:
table 1:
further, based on the above table 1, steps S1 to S2 refer to the above role identity verification link, steps S3 to S4 refer to the above organization verification link, steps S5 to S6 refer to the above qualification verification link, steps S7 to S8 refer to the above data verification link, and steps S9 to S10 refer to the above system maintenance verification link, such as a life insurance system, or an insurance financial sales system, etc., and, according to the authority verification link of the above table 1, the priority order thereof is sequentially the role identity verification link, the organization verification link, the qualification verification link, the data verification link, and the system maintenance verification link from high to low, that is, the first verification priority order is the link, if not passed, the verification process is ended, if passed, the next verification link is continued until the verification of all authority verification links is ended, and then ended.
Therefore, based on the above table 1, the process of verifying each authority verification link in the step S208 may be represented as an automation script execution flowchart shown in fig. 3, and the process of executing the automation script may include the following steps as shown in fig. 3:
firstly, inputting account information of a financial manager;
s1, whether the sales team role is possessed or not, if yes, executing S2, and if not, ending and generating prompt information to prompt the financial manager that no sales team authority exists.
In the embodiment of the present invention, the prompt information generally carries prompt codes, such as (100), (101) and the like recorded in the ending step in fig. 3, and these prompt codes can facilitate recording and outputting of the prompt information.
S2, whether financial manager information exists in a user information table or not, such as the existence of certificate numbers, the absence of job and the like, if so, executing S3, if not, ending, and prompting (101) that the client manager information is not queried, or (110) that the state of the client manager maintained in an insurance financial sales system is abnormal, or (102) that the identity information of the client manager is queried;
s3, if the organization codes of the organization level are normal, executing S4, if not, ending, prompting (105) that the maintenance of the financial sales system is not guaranteed to a specific branch network (including community branches), requesting to contact the maintenance of a product service expert of the branch, and enabling the operation to be effective successfully;
where the step generally includes verification of the organization level and verification of the organization code, for example, for the silver behavioral example, generally including headquarters, sections, branches, network points, etc., the financial manager may be a team manager, team leader, headquarter, etc., and further the organization code is generally used to characterize the unique identification of the organization. At the time of verification, verification is required for all the existing organization codes to determine whether they are normal.
S4, executing S5 according to whether the regional codes configured on the local surface of the bank can be acquired according to the codes of the banking institution, if so, ending, and prompting (103) that the regional codes of the client manager can not be acquired, that the website information is wrong and the like;
s5, whether the sales qualification of the financial manager can be obtained in the sales qualification table of the insurance financial sales system or not, if so, executing S6, if not, ending, and prompting (114) that the system detects that the insurance sales qualification is not available, and the insurance product can not be sold temporarily. If you pass the test, some sales insurance can be sold by the bank insurance carrier after the test passes the xx day, or (115) your insurance sales qualification is invalid, please reinstate the qualification test. After the test passes the XX day, some insurance can be sold by the bank insurer.
S6, whether the license registration number of the financial manager can be acquired in the license registration table or not, if yes, S7 is executed, if not, the process is ended, the fact that the corresponding license registration number cannot be acquired is prompted (206), and the process is continued after information is requested to be input.
S7, invoking whether the life insurance can inquire the information of the special manager (comprising the life insurance area code) according to the organization code, if yes, executing S8, if not, ending, prompting (207) that the organization code recorded in the practice registration form is inconsistent with the organization code maintained in the insurance financial sales system, and continuing the flow after requesting to correct the information.
In S7, when the query is performed, if the queried interface returns correct and unique data, S8 may be continuously performed, and if the interface reports an error, the returned data is abnormal or fails, etc., the ending step may be performed.
Further, in S7, the banking institution may further perform a spam query to the bank website lcs related information table (the table data is synchronous full life insurance data, and the job task continuously updates data), if the interface is abnormal, the current query is not processed, and the current query is a mail monitoring manner, and for the data returned by the interface, whether the data can be queried in the locally synchronous life insurance data may be further checked, if so, the task may also pass, and S8 is further executed.
S8, calling a life insurance issuing driver interface; if the interface is correct, executing S9, and if not, ending;
in this step, it can be confirmed whether the interface returns correct and unique data, if yes, S9 is executed, if no, the interface is reported to be wrong, the data is abnormal or the return is failed, and the method is also a mail monitoring method at present.
S9, calling a life insurance lcs query authority interface and acquiring information of special operators such as empNo, depNo, organization codes, area codes and the like; if the acquisition is normal, executing S10, if not, ending;
because S9 belongs to a system maintenance and verification link, at the moment, when the system maintenance and verification link is finished, the system can prompt (104) that your staff codes are not maintained in the life insurance system, and ask to contact a product manager/FPM manager of a branch private financial department responsible for silver insurance business to maintain your information in the life insurance system, or (807) that your organization codes are inconsistent, and ask to verify. The life insurance organization codes ask to contact the life insurance silver insurance personnel, and the life insurance system can be updated in real time. Or (111) you have incorrect organization information maintained by the warranty sales system, and the system cannot acquire your organization ID; or (112) your staff code is not maintained in the life insurance system, please contact the product manager/FPM manager responsible for the banking and insurance business in the branch private financial department to maintain your information in the life insurance system; or (113) you good, your UM is not maintained in the life insurance system, please contact the product manager/FPM manager responsible for the banking and insurance business of the branch private financial department to maintain your information in the life insurance system.
S10, saving account information of a financial manager, ending the whole flow, and outputting check data to a MySQL database.
Further, the automation scripts S1 to S10 described in the above table 1 are generally stored in the FTP server, and the data record generated by the test platform when executing the automation script is stored in the MySQL database, so as to facilitate understanding, as shown in the authority verification flowchart shown in fig. 4, that is, the verification flowchart of sales authority of the financial manager in the embodiment of the present invention, where the FTP server and the MySQL database are used as data storage parts, the test platform may provide interface operations to execute the authority verification process of the embodiment of the present invention, the basic data refers to the account information process of the financial manager, and the script execution process refers to the process of calling the automation script from the FPT server.
Further, the main functions of the test platform in fig. 4 include:
1. accessing a test platform; 2. executing a permission checking function; 3. reading a verification result; 4. and (5) displaying a verification result.
Further, the script execution function of the automation script in fig. 4 includes:
1. receiving an execution instruction issued by the test platform; 2. executing an automation script on the FTP server; 3. the execution data of the automation script is stored in a MySQL database.
Specifically, as shown in fig. 4, the method comprises the following steps:
s401, a user inputs account information of a financial manager in a test platform and executes a permission verification function;
s402, after receiving the execution instruction, the test platform invokes the automation script from the FTP server, and issues an automation script running instruction after the completion of the invocation;
s403, step data records of the automatic script operation are stored in a MySQL database;
s404, the test platform reads the automatic script execution step data from the MySQL database in real time and displays the step data on an interface.
In summary, according to the authority verification method provided by the embodiment of the invention, when the sales authority of the financial manager is verified, the test platform can simply, intuitively and accurately display the result, and can display the specific step of problem on the page, so that the problem root is prevented from being positioned by inputting manpower to test the server for taking out the log, the user does not need to have too much IT basic knowledge and complex business logic knowledge, no technical step exists, and the authority verification is automatically realized by inputting an account through an interface.
Further, after the rights verification method provided by the embodiment of the invention is applied to the project, the following actual benefits are obtained:
(1) Saving time and labor input cost
The original manpower is used for positioning whether the sales rights of the financial manager are normal or not, firstly, a relevant bank client needs to be logged in to apply a policy, and the rights verification function of the financial manager is triggered in the process. If the authority is normal, at least 3 minutes are required from logging in the client to triggering the authority verification; if the authority is abnormal, the labor and time cost for locating the problem are increased on the basis, and the operation of the skilled person needs to take at least 10 minutes. And the positioning skill level of the user varies.
Overall, 1 person force takes at least 10 minutes to complete. The permission verification method executed by the test platform of the embodiment of the invention can be completed in 1 minute.
(2) Greatly reducing error rate
Originally, people go to a server to scoop up the log, and the probability of troubleshooting errors due to various reasons can appear, so that the root cause cannot be accurately positioned. And the error rate is avoided by using the test platform function.
Therefore, the authority verification method provided by the embodiment of the invention can simply, intuitively and accurately retrieve and display the verification result from the database, can display the step problem of each authority verification link, greatly avoids the problem source of locating the problem by taking logs into a test server by inputting manpower, effectively avoids a great deal of manpower and time spent in the process of locating the problem, further reduces the cost of authority verification, and simultaneously can automatically realize the process of authority verification through an automatic script, and greatly improves the efficiency of authority verification.
Further, on the basis of the foregoing embodiment, the embodiment of the present invention further provides a rights verification apparatus, which is applied to a test platform, and is shown in fig. 5, where the rights verification apparatus includes:
the extracting module 50 is used for responding to the permission verification operation aiming at the target user and extracting the account information of the target user which is input in advance in the test platform;
the execution module 52 is configured to respond to an execution instruction and invoke a preconfigured automation script, where the automation script records a plurality of rights verification links matched with the target user, and the rights verification links are used for verifying rights of a target financial product managed by the target user;
the operation module 54 is configured to operate the automated script to verify account information of the target user, and generate a verification result;
and the storage module 56 is used for storing the verification result into a database which is preset.
The permission verification device provided by the embodiment of the invention has the same technical characteristics as the permission verification method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Further, the embodiment of the invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the method when executing the computer program.
Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above method.
Further, an embodiment of the present invention provides a schematic structural diagram of an electronic device, as shown in fig. 6, where the electronic device includes a processor 61 and a memory 60, where the memory 60 stores computer executable instructions that can be executed by the processor 61, and the processor 61 executes the computer executable instructions to implement the above method.
In the embodiment shown in fig. 6, the electronic device further comprises a bus 62 and a communication interface 63, wherein the processor 61, the communication interface 63 and the memory 60 are connected by means of the bus 62.
The memory 60 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is achieved via at least one communication interface 63 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 62 may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The bus 62 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one bi-directional arrow is shown in FIG. 6, but not only one bus or type of bus.
The processor 61 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 61 or by instructions in the form of software. The processor 61 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory and the processor 61 reads the information in the memory and in combination with its hardware performs the steps of the method described above.
The method, the device and the computer program product of the electronic device for checking the authority provided by the embodiment of the invention comprise a computer readable storage medium storing program codes, and the instructions included in the program codes can be used for executing the method described in the method embodiment, and specific implementation can be referred to the method embodiment and will not be repeated here.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. A rights verification method, characterized by being applied to a test platform, the method comprising:
responding to permission verification operation aiming at a target user, and extracting account information of the target user, which is input in advance in the test platform;
responding to an execution instruction, and calling a preconfigured automation script, wherein the automation script records a plurality of permission verification links matched with the target user, and the permission verification links are used for verifying the permission of a target financial product managed by the target user;
operating the automatic script to check account information of the target user and generating a check result;
and storing the verification result into a database which is preset.
2. The method of claim 1, wherein the test platform is configured with an FTP server for storing the automation script;
the step of retrieving a preconfigured automation script includes:
and calling the automation script from the FTP server.
3. The method of claim 2, wherein a plurality of said rights verification links of said automation script record are arranged in a pre-set priority order;
and according to the priority order, the plurality of rights verification links at least comprise:
character identity verification link, organization verification link, qualification verification link, data verification link and system maintenance verification link.
4. A method according to claim 3, wherein the step of running the automated script to verify account information of the target user and generating a verification result comprises:
according to the preset priority order, sequentially acquiring an automation script of each authority verification link;
and acquiring corresponding verification content from the FTP server based on the permission verification links so as to verify each permission verification link and generate a verification result corresponding to each permission verification link.
5. The method of claim 4, wherein the step of verifying each of the rights verification links and generating a verification result corresponding to each of the rights verification links comprises:
if the acquired right verification links are successfully verified, continuing to acquire the right verification links of the next stage according to the priority order until all the right verification links are traversed, and generating a verification result of successful verification;
if the obtained authority verification link is unsuccessful in verification, ending the verification process and generating ending prompt information to prompt that the verification in the authority verification link is unsuccessful.
6. The method according to claim 4, wherein the method further comprises:
responding to check result query operation, and calling a check record from the database;
and selecting the latest data of the verification result to display based on the verification record.
7. The method according to claim 2, wherein the method further comprises:
acquiring pre-recorded account information;
generating the permission verification link according to the permission of the user corresponding to the account information, and an automatic script of the permission verification link;
and storing the account information, the permission verification link and an automatic script of the permission verification link to the FTP server.
8. A rights verification apparatus for use with a test platform, the apparatus comprising:
the extraction module is used for responding to the permission verification operation aiming at the target user and extracting account information of the target user, which is input in advance in the test platform;
the execution module is used for responding to the execution instruction and retrieving a preconfigured automation script, wherein the automation script records a plurality of permission verification links matched with the target user, and the permission verification links are used for verifying the permission of the target financial product managed by the target user;
the operation module is used for operating the automatic script to check the account information of the target user and generating a check result;
and the storage module is used for storing the verification result into a database which is preset.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of the preceding claims 1-7 when the computer program is executed by the processor.
10. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of the preceding claims 1-7.
CN202310961645.0A 2023-07-31 2023-07-31 Authority verification method and device and electronic equipment Pending CN116992414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310961645.0A CN116992414A (en) 2023-07-31 2023-07-31 Authority verification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310961645.0A CN116992414A (en) 2023-07-31 2023-07-31 Authority verification method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116992414A true CN116992414A (en) 2023-11-03

Family

ID=88520964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310961645.0A Pending CN116992414A (en) 2023-07-31 2023-07-31 Authority verification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116992414A (en)

Similar Documents

Publication Publication Date Title
CN106844217B (en) Method and device for embedding point of applied control and readable storage medium
CN110764942B (en) Multi-kind data verification method, device, computer system and readable storage medium
US10560484B2 (en) Managing access in one or more computing systems
CN109741022B (en) Method, device, storage medium and equipment for sharing electronic government front-end information
CN112183782B (en) Fault work order processing method and equipment
US11533387B2 (en) Interface engine architecture
US9639515B2 (en) Transfer of data between applications using intermediate user interface
US20150302089A1 (en) Recovery of Information from Commercial Web Portals
CN111143434A (en) Intelligent data checking method, device, equipment and storage medium
CN108650123B (en) Fault information recording method, device, equipment and storage medium
CN114218110A (en) Account checking test method and device for financial data, computer equipment and storage medium
CN111858605B (en) Database automation auditing method, system, equipment and storage medium
CN107169767B (en) Transaction processing method and system
US20130179331A1 (en) Method and system for internal analysis of loan instruments
CN116992414A (en) Authority verification method and device and electronic equipment
CN111680974B (en) Method and device for positioning problems of electronic underwriting process
CN113468058B (en) Regression testing method and device for software as service platform and electronic equipment
CN114490415A (en) Service testing method, computer device, storage medium, and computer program product
US20220019566A1 (en) System and method for integrating systems to implement data quality processing
CN114511314A (en) Payment account management method and device, computer equipment and storage medium
CN115048311A (en) Test environment monitoring method and device, electronic equipment and readable storage medium
CN110221952B (en) Service data processing method and device and service data processing system
US10102512B1 (en) Systems and methods for financial data transfer
CN112819554B (en) Service processing method and device based on page operation and computer equipment
CN110728584B (en) Information processing method and device, readable storage medium and electronic equipment

Legal Events

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