WO2019052234A1 - Automated test method for product algorithm, and application server - Google Patents

Automated test method for product algorithm, and application server Download PDF

Info

Publication number
WO2019052234A1
WO2019052234A1 PCT/CN2018/089889 CN2018089889W WO2019052234A1 WO 2019052234 A1 WO2019052234 A1 WO 2019052234A1 CN 2018089889 W CN2018089889 W CN 2018089889W WO 2019052234 A1 WO2019052234 A1 WO 2019052234A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
product algorithm
passed
simulation
business
Prior art date
Application number
PCT/CN2018/089889
Other languages
French (fr)
Chinese (zh)
Inventor
黄小珍
李琦
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019052234A1 publication Critical patent/WO2019052234A1/en

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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Definitions

  • the present application relates to the field of data testing technologies, and in particular, to a product algorithm automatic testing method and an application server.
  • New product algorithm testing has long been a serious bottleneck in the speed of new product launches for the following reasons: the execution of one case involves the operation of multiple business systems; the operation steps of one case are numerous; the execution of one case takes a long time; the operation of one step is incorrect. , you need to start from scratch; manual operation is easy to make mistakes and not found, which makes troubleshooting difficult; algorithm has many defects, repeated tests; algorithm defects, development troubleshooting, time-consuming; web page automation, involving multiple systems and public platforms The process is complex, difficult to stabilize, and difficult to maintain, so it cannot be automated through the web.
  • the present application proposes an automatic test method for product algorithms and an application server to solve the problem of how to quickly and easily perform new product algorithm testing and regression testing.
  • the present application provides an automatic test method for product algorithms, the method comprising the steps of:
  • the present application further provides an application server, including a memory, a processor, and a product algorithm automated test system stored on the memory and operable on the processor, the product algorithm automatic test
  • the system implements the following steps when executed by the processor:
  • the present application further provides a computer readable storage medium storing a product algorithm automated test system, the product algorithm automated test system being executable by at least one processor, The step of causing the at least one processor to perform an automated test method of the product algorithm as described above.
  • the product algorithm automatic testing method, the application server and the computer readable storage medium proposed by the present application can complete the automation of the product algorithm case test at the database layer without relying on the application layer, that is, by simulating each business system.
  • the data generated by the events such as insurance policy, billing, policy change, and claims processing are inserted into the business related table, and the simulated events that may occur in the entire life cycle of the policy in the next few decades are completed by calling the relevant interfaces of each business system.
  • Business processing which automates the testing of product algorithms and quickly obtains test results.
  • the tested product algorithm cases are accumulated and a regression set is established. Before each version is released, the product algorithm case of the regression set is re-verified by the automated program to more effectively ensure the quality of the version release.
  • FIG. 1 is a schematic diagram of an optional application environment of each embodiment of the present application.
  • FIG. 2 is a schematic diagram of an optional hardware architecture of the application server of FIG. 1;
  • FIG. 3 is a schematic diagram of a program module of a first embodiment of an algorithm automatic test system for a product of the present application
  • FIG. 4 is a schematic diagram of a program module of a second embodiment of an algorithm automatic test system of the product of the present application.
  • FIG. 5 is a schematic diagram of a program module of a third embodiment of an algorithm automatic test system of the product of the present application.
  • FIG. 6 is a schematic flow chart of a first embodiment of an automatic algorithm testing method for a product of the present application
  • FIG. 7 is a schematic flow chart of a second embodiment of an algorithm for automatically testing an algorithm of a product according to the present application.
  • FIG. 8 is a schematic flowchart diagram of a third embodiment of an automatic algorithm testing method for a product according to the present application.
  • Mobile terminal 1 application server 2 The internet 3 Memory 11 processor 12 Network Interface 13 Product Algorithm Automated Test System 200 Entry module 201
  • first, second and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. .
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
  • FIG. 1 it is a schematic diagram of an optional application environment of each embodiment of the present application.
  • the present application is applicable to an application environment including, but not limited to, a mobile terminal 1, an application server 2, and a network 3.
  • the mobile terminal 1 may be a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, an in-vehicle device, etc.
  • Mobile devices such as, and fixed terminals such as digital TVs, desktop computers, notebooks, servers, and the like.
  • the application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the application server 2 may be a stand-alone server or a server cluster composed of multiple servers.
  • the network 3 may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, Wireless or wired networks such as 5G networks, Bluetooth, Wi-Fi, and
  • the application server 2 is respectively connected to one or more of the mobile terminals 1 (only one shown in the figure) through the network 3, and each of the mobile terminals 1 is installed and operated.
  • the application client corresponding to the application server 2 (hereinafter referred to as "mobile terminal client").
  • the mobile terminal client is configured to create a long connection between the mobile terminal client and the application server 2 in response to an operation of the mobile terminal user, so that the mobile terminal client can pass the long connection and the The application server 2 performs data transmission and interaction.
  • FIG. 2 it is a schematic diagram of an optional hardware architecture of the application server 2 in FIG.
  • the application server 2 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus. It is pointed out that FIG. 2 only shows the mobile terminal 1 with the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2.
  • the memory 11 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc.
  • the memory 11 can also include both the internal storage unit of the application server 2 and its external storage device.
  • the memory 11 is generally used to store an operating system installed in the application server 2 and various types of application software, such as program code of the product algorithm automatic test system 200. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the application server 2, such as performing control and processing related to data interaction or communication with the mobile terminal 1.
  • the processor 12 is configured to run program code or process data stored in the memory 11, such as running the product algorithm automated test system 200 and the like.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 2 and other electronic devices.
  • the network interface 13 is mainly used to connect the application server 2 to one or more mobile terminals 1 through the network 3, and the application server 2 and the one or more mobiles. A data transmission channel and a communication connection are established between the terminals 1.
  • the present application proposes a product algorithm automated test system 200.
  • the product algorithm automated test system 200 may be divided into one or more modules, the one or more modules being stored in the memory 11 and being processed by one or more processors (this The embodiment is executed by the processor 12) to complete the application.
  • the product algorithm automated test system 200 can be divided into an entry module 201, a call module 202, and a decision module 203.
  • a program module as referred to in the present application refers to a series of computer program instruction segments capable of performing a specific function, which is more suitable than the program to describe the execution process of the product algorithm automated test system 200 in the application server 2. The function of each program module 201-203 will be described in detail below.
  • the entry module 201 is configured to input page information corresponding to the policy related to the test, and insert the information into the corresponding service table of the database layer.
  • the entry module 201 needs to input, according to the product algorithm case, page information related to the policy related to the automatic test of the product algorithm, such as policyholder information, insured information, insurance information, and the like. Then, the entry module 201 inserts the entered information into the related service table of the database layer, so as to obtain corresponding information during subsequent testing.
  • the calling module 202 is configured to invoke a database layer interface corresponding to each simulated event of the test to complete a service processing and a product algorithm calculation corresponding to each simulated event.
  • the simulation event that participates in the test may be selected in advance, and the calling module 202 invokes a database layer interface corresponding to the simulated event according to the selected simulated event, and acquires corresponding data, thereby performing corresponding to the simulated event.
  • Business processing and product algorithm calculations, and the calculation results are obtained.
  • the simulated events include: (1) insurance policy for insuring, the specific process includes insurance, underwriting, initial charge, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
  • the determining module 203 is configured to automatically check the correctness of each calculation result and determine whether the test passes.
  • the calculation result corresponding to the simulation event (1) includes policy information such as premium
  • the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc.
  • simulation event (3) The corresponding calculation results include renewal premiums, etc.
  • the calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc.
  • the calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes.
  • the product algorithm automated test system 200 includes a setting module 204 and a selection module 205 in addition to the entry module 201, the calling module 202, and the determination module 203 in the first embodiment.
  • the setting module 204 is configured to set various simulation events according to a product cycle.
  • the simulated event includes: (1) insuring a policy, and the specific process includes insuring, underwriting, initial charging, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
  • the selection module 205 is configured to select a simulation event that needs to participate in the test.
  • the above various simulation events include important business processing processes involved in the life insurance product algorithm testing process.
  • any combination of the above various simulation events may be selected as needed.
  • FIG. 5 it is a program module diagram of a third embodiment of the algorithm automatic test system 200 of the present application.
  • the product algorithm automated test system 200 further includes a regression module 206 based on the second embodiment.
  • the regression module 206 is configured to record the tested product algorithm case and generate a product algorithm regression test library.
  • the regression module 206 accumulates the product algorithm cases that have passed the automated test and establishes a regression case set, which is saved in the product algorithm regression test library. Re-testing and verifying the product algorithm cases in the product algorithm regression test library before each version release will more effectively ensure the quality of the version release.
  • the present application also proposes an automated test method for product algorithms.
  • FIG. 6 it is a schematic flowchart of a first embodiment of an algorithm automatic test method for a product of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 6 may be changed according to different requirements, and some steps may be omitted.
  • step S600 the page information corresponding to the policy related to the test is entered, and inserted into the corresponding service table of the database layer.
  • the page information related to the policy related to the automated test of the product algorithm such as the policyholder information, the insured information, the insurance information, and the like are entered. Then, the entered information is inserted into the related business table of the database layer, so that the corresponding information is obtained during subsequent testing.
  • Step S602 the database layer interface corresponding to each simulated event of the test is invoked to complete the service processing and product algorithm calculation corresponding to each simulation event.
  • the simulation event participating in the test may be selected in advance, and the database layer interface corresponding to the simulation event is invoked according to the selected simulation event, and corresponding data is acquired, thereby performing service processing and product algorithm corresponding to the simulation event. Calculate and get the calculation result.
  • the simulated events include: (1) insurance policy for insuring, the specific process includes insurance, underwriting, initial charge, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
  • step S604 the correctness of each calculation result is automatically checked, and it is judged whether the test passes.
  • the calculation result corresponding to the simulation event (1) includes policy information such as premium
  • the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc.
  • simulation event (3) The corresponding calculation results include renewal premiums, etc.
  • the calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc.
  • the calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes, otherwise the test fails.
  • the product algorithm automatic test method proposed in this embodiment can complete the automation of the product algorithm case test at the database layer without relying on the application layer, that is, insert the data generated by the simulation event into the service related table, and then call the relevant interfaces of each business system. Complete the business processing of simulation events that may occur at various stages of the lifecycle of the policy for the next few decades, thereby automating product algorithm testing and quickly obtaining test results.
  • FIG. 7 is a schematic flowchart diagram of a second embodiment of an algorithm automatic test method of the product of the present application.
  • the steps S704-S708 of the product algorithm automatic test method are similar to the steps S600-S604 of the first embodiment, except that the method further includes steps S700-S702.
  • the method includes the following steps:
  • step S700 various simulation events are set according to the product cycle.
  • the simulated event includes: (1) insuring a policy, and the specific process includes insuring, underwriting, initial charging, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
  • Step S702 selecting a simulation event that needs to participate in the test.
  • the above various simulation events include important business processing processes involved in the life insurance product algorithm testing process.
  • any combination of the above various simulation events may be selected as needed.
  • Step S704 the page information corresponding to the policy related to the test is entered, and inserted into a corresponding service table of the database layer.
  • the page information related to the policy related to the automated test of the product algorithm such as the policyholder information, the insured information, the insurance information, and the like are entered. Then, the entered information is inserted into the related business table of the database layer, so that the corresponding information is obtained during subsequent testing.
  • Step S706 invoking a database layer interface corresponding to each simulated event of the test, to complete business processing and product algorithm calculation corresponding to each simulation event.
  • the simulation event participating in the test may be selected in advance, and the database layer interface corresponding to the simulation event is invoked according to the selected simulation event, and corresponding data is acquired, thereby performing service processing and product algorithm corresponding to the simulation event. Calculate and get the calculation result.
  • step S708 the correctness of each calculation result is automatically checked, and it is judged whether the test passes.
  • the calculation result corresponding to the simulation event (1) includes policy information such as premium
  • the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc.
  • simulation event (3) The corresponding calculation results include renewal premiums, etc.
  • the calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc.
  • the calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes, otherwise the test fails.
  • the product algorithm automatic testing method proposed in this embodiment can complete the automation of the product algorithm case test at the database layer without relying on the application layer, that is, by simulating the insured billing, charging, policy change, and claims processing of each business system, Selecting the simulation events to be tested, inserting the data generated by the simulation events into the business related table, and then invoking the relevant interfaces of each business system to complete the business processing of the simulation events that may occur in the entire life cycle of the policy in the next few decades, thereby Automate product algorithm testing and get test results quickly.
  • FIG. 8 is a schematic flowchart diagram of a third embodiment of an algorithm automatic test method of the product of the present application.
  • the steps S800-S808 of the product algorithm automatic test method are similar to the steps S700-S708 of the second embodiment, except that the method further includes step S810.
  • the method includes the following steps:
  • step S800 various simulation events are set according to the product cycle.
  • the simulated event includes: (1) insuring a policy, and the specific process includes insuring, underwriting, initial charging, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
  • Step S802 selecting a simulation event that needs to participate in the test.
  • the above various simulation events include important business processing processes involved in the life insurance product algorithm testing process.
  • any combination of the above various simulation events may be selected as needed.
  • Step S804 the page information corresponding to the policy related to the test is entered, and inserted into a corresponding service table of the database layer.
  • the page information related to the policy related to the automated test of the product algorithm such as the policyholder information, the insured information, the insurance information, and the like are entered. Then, the entered information is inserted into the related business table of the database layer, so that the corresponding information is obtained during subsequent testing.
  • Step S806 the database layer interface corresponding to each simulated event of the test is invoked to complete the service processing and product algorithm calculation corresponding to each simulation event.
  • the simulation event participating in the test may be selected in advance, and the database layer interface corresponding to the simulation event is invoked according to the selected simulation event, and corresponding data is acquired, thereby performing service processing and product algorithm corresponding to the simulation event. Calculate and get the calculation result.
  • step S808 the correctness of each calculation result is automatically checked, and it is judged whether the test passes.
  • the calculation result corresponding to the simulation event (1) includes policy information such as premium
  • the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc.
  • simulation event (3) The corresponding calculation results include renewal premiums, etc.
  • the calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc.
  • the calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes, otherwise the test fails.
  • Step S810 recording the tested product algorithm case, and generating a product algorithm regression test library.
  • the product algorithm cases that have passed the automated test are accumulated and a regression case set is established and saved in the product algorithm regression test library. Before each version is released, the product algorithm case in the product algorithm regression test library can be re-tested and verified.
  • the product algorithm automatic test method proposed in this embodiment obtains the product algorithm regression test library by accumulation, and retests and verifies the product algorithm case in the product algorithm regression test library before each version is released, which will more effectively ensure The quality of the release.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed are an automated test method for a product algorithm. The method comprises: entering page information corresponding to an insurance policy relevant to the test, and inserting same into a corresponding service table of a database layer; invoking a database layer interface corresponding to each analog event of the test, so as to complete service processing and product algorithm calculation corresponding to each analog event; and automatically checking the correctness of each calculation result, and judging whether the test is passed. Also provided is an application server and a computer-readable storage medium. The automated test method for a product algorithm, the application server and the computer-readable storage medium provided in the present application can conveniently and rapidly perform a new product algorithm test and a regression test.

Description

产品算法自动化测试方法及应用服务器Product algorithm automated test method and application server
本申请要求于2017年9月13日提交中国专利局,申请号为201710819574.5、发明名称为“产品算法自动化测试方法及应用服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201710819574.5, entitled "Product Algorithm Automated Test Method and Application Server", filed on September 13, 2017, the entire contents of which is incorporated herein by reference. in.
技术领域Technical field
本申请涉及数据测试技术领域,尤其涉及一种产品算法自动化测试方法及应用服务器。The present application relates to the field of data testing technologies, and in particular, to a product algorithm automatic testing method and an application server.
背景技术Background technique
新产品算法测试长期以来一直是新产品上线速度的一个严重瓶颈,原因如下:一个案例的执行涉及多个业务系统的操作;一个案例的操作步骤多;一个案例执行耗时长;一个步骤操作不正确,则需要从头再来;手工操作容易出错而未被发现,导致排查问题困难;算法缺陷多,反复测试多;算法缺陷,开发排查问题困难,耗时长;web页面自动化,涉及多个系统及公共平台,流程复杂,难以稳定,亦难以维护,所以无法通过web自动化。New product algorithm testing has long been a serious bottleneck in the speed of new product launches for the following reasons: the execution of one case involves the operation of multiple business systems; the operation steps of one case are numerous; the execution of one case takes a long time; the operation of one step is incorrect. , you need to start from scratch; manual operation is easy to make mistakes and not found, which makes troubleshooting difficult; algorithm has many defects, repeated tests; algorithm defects, development troubleshooting, time-consuming; web page automation, involving multiple systems and public platforms The process is complex, difficult to stabilize, and difficult to maintain, so it cannot be automated through the web.
正因为以上原因,导致一组新产品的测试周期非常长,不能满足业务对新产品上线速度的要求,更因为案例执行耗时长,无法在回归阶段进行这个核心功能的回归测试。Because of the above reasons, the test cycle of a new set of products is very long, which can not meet the requirements of the business on the speed of new products, and because the case execution takes a long time, the regression test of this core function cannot be carried out in the regression phase.
发明内容Summary of the invention
有鉴于此,本申请提出一种产品算法自动化测试方法及应用服务器,以解决如何方便快速地进行新产品算法测试及回归测试的问题。In view of this, the present application proposes an automatic test method for product algorithms and an application server to solve the problem of how to quickly and easily perform new product algorithm testing and regression testing.
首先,为实现上述目的,本申请提出一种产品算法自动化测试方法,该方法包括步骤:First, in order to achieve the above object, the present application provides an automatic test method for product algorithms, the method comprising the steps of:
录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中;Entering page information corresponding to the policy related to the test, and inserting it into a corresponding business table of the database layer;
调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算;及Calling the database layer interface corresponding to each simulated event of the test to complete the business processing and product algorithm calculation corresponding to each simulation event;
自动核对各个计算结果的正确性,判断测试是否通过。Automatically check the correctness of each calculation result and judge whether the test passes.
此外,为实现上述目的,本申请还提供一种应用服务器,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的产品算法自动化测试系统,所述产品算法自动化测试系统被所述处理器执行时实现如下步骤:In addition, in order to achieve the above object, the present application further provides an application server, including a memory, a processor, and a product algorithm automated test system stored on the memory and operable on the processor, the product algorithm automatic test The system implements the following steps when executed by the processor:
录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中;Entering page information corresponding to the policy related to the test, and inserting it into a corresponding business table of the database layer;
调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算;及Calling the database layer interface corresponding to each simulated event of the test to complete the business processing and product algorithm calculation corresponding to each simulation event;
自动核对各个计算结果的正确性,判断测试是否通过。Automatically check the correctness of each calculation result and judge whether the test passes.
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有产品算法自动化测试系统,所述产品算法自动化测试系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述的产品算法自动化测试方法的步骤。Further, to achieve the above object, the present application further provides a computer readable storage medium storing a product algorithm automated test system, the product algorithm automated test system being executable by at least one processor, The step of causing the at least one processor to perform an automated test method of the product algorithm as described above.
相较于现有技术,本申请所提出的产品算法自动化测试方法、应用服务器及计算机可读存储介质,可以不依赖应用层而在数据库层完成产品算法案例测试的自动化,即通过模拟各业务系统的投保出单、收费、保单变更、理赔受理等事件所产生的数据插入到业务相关表,再通过调用各业务系统相关接口完成保单未来几十年的整个生命周期各阶段可能发生的模拟事件的业务处理,从而实现产品算法测试的自动化,快速得到测试结果。另外,将测试过的产品算法案例累积下来并建立回归集,在每个版本发布前对回归集的产品算法案例通过自动化程序重新验证,更有效地保证版本发布的质量。Compared with the prior art, the product algorithm automatic testing method, the application server and the computer readable storage medium proposed by the present application can complete the automation of the product algorithm case test at the database layer without relying on the application layer, that is, by simulating each business system. The data generated by the events such as insurance policy, billing, policy change, and claims processing are inserted into the business related table, and the simulated events that may occur in the entire life cycle of the policy in the next few decades are completed by calling the relevant interfaces of each business system. Business processing, which automates the testing of product algorithms and quickly obtains test results. In addition, the tested product algorithm cases are accumulated and a regression set is established. Before each version is released, the product algorithm case of the regression set is re-verified by the automated program to more effectively ensure the quality of the version release.
附图说明DRAWINGS
图1是本申请各个实施例一可选的应用环境示意图;1 is a schematic diagram of an optional application environment of each embodiment of the present application;
图2是图1中应用服务器一可选的硬件架构的示意图;2 is a schematic diagram of an optional hardware architecture of the application server of FIG. 1;
图3是本申请产品算法自动化测试系统第一实施例的程序模块示意图;3 is a schematic diagram of a program module of a first embodiment of an algorithm automatic test system for a product of the present application;
图4是本申请产品算法自动化测试系统第二实施例的程序模块示意图;4 is a schematic diagram of a program module of a second embodiment of an algorithm automatic test system of the product of the present application;
图5是本申请产品算法自动化测试系统第三实施例的程序模块示意图;5 is a schematic diagram of a program module of a third embodiment of an algorithm automatic test system of the product of the present application;
图6为本申请产品算法自动化测试方法第一实施例的流程示意图;6 is a schematic flow chart of a first embodiment of an automatic algorithm testing method for a product of the present application;
图7为本申请产品算法自动化测试方法第二实施例的流程示意图;7 is a schematic flow chart of a second embodiment of an algorithm for automatically testing an algorithm of a product according to the present application;
图8为本申请产品算法自动化测试方法第三实施例的流程示意图。FIG. 8 is a schematic flowchart diagram of a third embodiment of an automatic algorithm testing method for a product according to the present application.
附图标记:Reference mark:
移动终端 Mobile terminal 11
应用服务器 application server 22
网络The internet 33
存储器Memory 1111
处理器processor 1212
网络接口Network Interface 1313
产品算法自动化测试系统Product Algorithm Automated Test System 200200
录入模块 Entry module 201201
调用模块 Call module 202202
判断模块 Judgment module 203203
设置模块 Setting module 204204
选择模块 Selection module 205205
回归模块 Regression module 206206
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是本申请各个实施例一可选的应用环境示意图。Referring to FIG. 1 , it is a schematic diagram of an optional application environment of each embodiment of the present application.
在本实施例中,本申请可应用于包括,但不仅限于,移动终端1、应用服务器2、网络3的应用环境中。其中,所述移动终端1可以是移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载装置等等的可移动设备,以及诸如数字TV、台式计算机、笔记本、服务器等等的固定终端。所述应用服务器2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该应用服务器2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。所述网络3可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。In this embodiment, the present application is applicable to an application environment including, but not limited to, a mobile terminal 1, an application server 2, and a network 3. The mobile terminal 1 may be a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, an in-vehicle device, etc. Mobile devices such as, and fixed terminals such as digital TVs, desktop computers, notebooks, servers, and the like. The application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The application server 2 may be a stand-alone server or a server cluster composed of multiple servers. The network 3 may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, Wireless or wired networks such as 5G networks, Bluetooth, Wi-Fi, and call networks.
其中,所述应用服务器2中通过所述网络3分别与一个或多个所述移动终 端1(图中仅示出一个)通信连接,每一个所述移动终端1中均安装并运行有与所述应用服务器2对应的应用程序客户端(后文简称“移动终端客户端”)。所述移动终端客户端用于响应移动终端用户的操作,在所述移动终端客户端与所述应用服务器2之间创建长连接,以使所述移动终端客户端能够通过所述长连接与所述应用服务器2进行数据传输和交互。The application server 2 is respectively connected to one or more of the mobile terminals 1 (only one shown in the figure) through the network 3, and each of the mobile terminals 1 is installed and operated. The application client corresponding to the application server 2 (hereinafter referred to as "mobile terminal client"). The mobile terminal client is configured to create a long connection between the mobile terminal client and the application server 2 in response to an operation of the mobile terminal user, so that the mobile terminal client can pass the long connection and the The application server 2 performs data transmission and interaction.
参阅图2所示,是图1中应用服务器2一可选的硬件架构的示意图。本实施例中,所述应用服务器2可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。需要指出的是,图2仅示出了具有组件11-13的移动终端1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Referring to FIG. 2, it is a schematic diagram of an optional hardware architecture of the application server 2 in FIG. In this embodiment, the application server 2 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus. It is pointed out that FIG. 2 only shows the mobile terminal 1 with the components 11-13, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述应用服务器2的内部存储单元,例如该应用服务器2的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述应用服务器2的外部存储设备,例如该应用服务器2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述应用服务器2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器11通常用于存储安装于所述应用服务器2的操作系统和各类应用软件,例如所述产品算法自动化测试系统200的程序代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 11 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2. In other embodiments, the memory 11 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc. Of course, the memory 11 can also include both the internal storage unit of the application server 2 and its external storage device. In this embodiment, the memory 11 is generally used to store an operating system installed in the application server 2 and various types of application software, such as program code of the product algorithm automatic test system 200. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述应用服务器2的总体操作,例如执行与所述移动终端1进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行所述的产品算法自动化测试系统200等。The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the application server 2, such as performing control and processing related to data interaction or communication with the mobile terminal 1. In this embodiment, the processor 12 is configured to run program code or process data stored in the memory 11, such as running the product algorithm automated test system 200 and the like.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述应用服务器2与其他电子设备之间建立通信连接。本实施例中,所述网络接口13主要用于通过所述网络3将所述应用服务器2与一个或多个所述移动终端1相连,在所述应用服务器2与所述一个或多个移动终端1之间的建立数据传输通道和通信连接。The network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 2 and other electronic devices. In this embodiment, the network interface 13 is mainly used to connect the application server 2 to one or more mobile terminals 1 through the network 3, and the application server 2 and the one or more mobiles. A data transmission channel and a communication connection are established between the terminals 1.
至此,己经详细介绍了本申请各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。So far, the application environment of the various embodiments of the present application and the hardware structure and functions of related devices have been described in detail. Hereinafter, various embodiments of the present application will be proposed based on the above-described application environment and related devices.
首先,本申请提出一种产品算法自动化测试系统200。First, the present application proposes a product algorithm automated test system 200.
参阅图3所示,是本申请产品算法自动化测试系统200第一实施例的程序模块图。本实施例中,所述的产品算法自动化测试系统200可以被分割成一个或多个模块,所述一个或者多个模块被存储于所述存储器11中,并由一个或多个处理器(本实施例中为所述处理器12)所执行,以完成本申请。例如,在图3中,所述的产品算法自动化测试系统200可以被分割成录入模块201、调用模块202、判断模块203。本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述所述产品算法自动化测试系统200在所述应用服务器2中的执行过程。以下将就各程序模块201-203的功能进行详细描述。Referring to FIG. 3, it is a program module diagram of the first embodiment of the product automated test system 200 of the present application. In this embodiment, the product algorithm automated test system 200 may be divided into one or more modules, the one or more modules being stored in the memory 11 and being processed by one or more processors (this The embodiment is executed by the processor 12) to complete the application. For example, in FIG. 3, the product algorithm automated test system 200 can be divided into an entry module 201, a call module 202, and a decision module 203. A program module as referred to in the present application refers to a series of computer program instruction segments capable of performing a specific function, which is more suitable than the program to describe the execution process of the product algorithm automated test system 200 in the application server 2. The function of each program module 201-203 will be described in detail below.
所述录入模块201,用于录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中。The entry module 201 is configured to input page information corresponding to the policy related to the test, and insert the information into the corresponding service table of the database layer.
具体地,所述录入模块201需要根据所述产品算法案例,录入所述产品算法自动化测试相关的保单涉及的页面信息,例如投保人信息、被保险人信息、险种信息等。然后,所述录入模块201将录入的信息插入到数据库层的相关业务表中,以便后续测试时获取对应的信息。Specifically, the entry module 201 needs to input, according to the product algorithm case, page information related to the policy related to the automatic test of the product algorithm, such as policyholder information, insured information, insurance information, and the like. Then, the entry module 201 inserts the entered information into the related service table of the database layer, so as to obtain corresponding information during subsequent testing.
所述调用模块202,用于调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算。The calling module 202 is configured to invoke a database layer interface corresponding to each simulated event of the test to complete a service processing and a product algorithm calculation corresponding to each simulated event.
具体地,可以预先选择参与所述测试的模拟事件,所述调用模块202根据所选择的模拟事件,调用所述模拟事件对应的数据库层接口,获取相应的数据,从而进行所述模拟事件对应的业务处理和产品算法计算,得到计算结果。Specifically, the simulation event that participates in the test may be selected in advance, and the calling module 202 invokes a database layer interface corresponding to the simulated event according to the selected simulated event, and acquires corresponding data, thereby performing corresponding to the simulated event. Business processing and product algorithm calculations, and the calculation results are obtained.
所述模拟事件包括:(1)投保产生保单,具体过程包括投保、核保、首期收费、承保。(2)红利抽档及分配、生存金抽档、万能结算、投连结算等。(3)续期保费收费或欠费。(4)保全的各项目受理,例如:退保、减保、加保、新增附加险、红利领取、生存金领取、万能/投连部分领取、减额交清、交费方式变更、自垫选择权变更、红利选择权变更、复效等。(5)理赔处理。The simulated events include: (1) insurance policy for insuring, the specific process includes insurance, underwriting, initial charge, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
所述判断模块203,用于自动核对各个计算结果的正确性,判断测试是否通过。The determining module 203 is configured to automatically check the correctness of each calculation result and determine whether the test passes.
具体地,各个模拟事件的业务处理完后都会与预期结果进行对比,检查所述计算结果的正确性,并记录是否通过的标志。其中,所述模拟事件(1)对应的计算结果包括保费等保单信息,模拟事件(2)对应的计算结果包括红利信息、生存金信息、万能结算信息、投连结算信息等,模拟事件(3)对应的计算结果包括续期保费等,模拟事件(4)对应的计算结果包括退费、补费、保单新信息等,模拟事件(5)对应的计算结果包括理赔金、保单新信息等。若各个计算结果均正确,则测试通过。Specifically, after the business of each simulation event is processed, it compares with the expected result, checks the correctness of the calculation result, and records whether the flag is passed. The calculation result corresponding to the simulation event (1) includes policy information such as premium, and the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc., simulation event (3) The corresponding calculation results include renewal premiums, etc. The calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc. The calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes.
参阅图4所示,是本申请产品算法自动化测试系统200第二实施例的程序模块图。本实施例中,所述的产品算法自动化测试系统200除了包括第一实施例中的所述录入模块201、调用模块202、判断模块203之外,还包括设置模块 204和选择模块205。Referring to FIG. 4, it is a program module diagram of a second embodiment of the product automated test system 200 of the present application. In this embodiment, the product algorithm automated test system 200 includes a setting module 204 and a selection module 205 in addition to the entry module 201, the calling module 202, and the determination module 203 in the first embodiment.
所述设置模块204用于根据产品周期设置各种模拟事件。The setting module 204 is configured to set various simulation events according to a product cycle.
具体地,所述模拟事件包括:(1)投保产生保单,具体过程包括投保、核保、首期收费、承保。(2)红利抽档及分配、生存金抽档、万能结算、投连结算等。(3)续期保费收费或欠费。(4)保全的各项目受理,例如:退保、减保、加保、新增附加险、红利领取、生存金领取、万能/投连部分领取、减额交清、交费方式变更、自垫选择权变更、红利选择权变更、复效等。(5)理赔处理。Specifically, the simulated event includes: (1) insuring a policy, and the specific process includes insuring, underwriting, initial charging, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
所述选择模块205用于选择需要参与所述测试的模拟事件。The selection module 205 is configured to select a simulation event that needs to participate in the test.
具体地,上述各种模拟事件包含了寿险产品算法测试过程中涉及的重要业务处理过程,当进行产品算法案例的测试时,可以根据需要选择上述各种模拟事件的任意组合。Specifically, the above various simulation events include important business processing processes involved in the life insurance product algorithm testing process. When testing the product algorithm case, any combination of the above various simulation events may be selected as needed.
参阅图5所示,是本申请产品算法自动化测试系统200第三实施例的程序模块图。本实施例中,所述的产品算法自动化测试系统200在第二实施例的基础上,还包括回归模块206。Referring to FIG. 5, it is a program module diagram of a third embodiment of the algorithm automatic test system 200 of the present application. In this embodiment, the product algorithm automated test system 200 further includes a regression module 206 based on the second embodiment.
所述回归模块206用于记录测试过的产品算法案例,生成产品算法回归测试库。The regression module 206 is configured to record the tested product algorithm case and generate a product algorithm regression test library.
具体地,回归模块206将既往通过自动化测试的产品算法案例累积下来并建立回归案例集,保存在产品算法回归测试库中。在每个版本发布前对所述产品算法回归测试库中的产品算法案例进行重新测试验证,将更有效地保证版本发布的质量。Specifically, the regression module 206 accumulates the product algorithm cases that have passed the automated test and establishes a regression case set, which is saved in the product algorithm regression test library. Re-testing and verifying the product algorithm cases in the product algorithm regression test library before each version release will more effectively ensure the quality of the version release.
此外,本申请还提出一种产品算法自动化测试方法。In addition, the present application also proposes an automated test method for product algorithms.
参阅图6所示,是本申请产品算法自动化测试方法第一实施例的流程示意图。在本实施例中,根据不同的需求,图6所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Referring to FIG. 6, it is a schematic flowchart of a first embodiment of an algorithm automatic test method for a product of the present application. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 6 may be changed according to different requirements, and some steps may be omitted.
步骤S600,录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中。In step S600, the page information corresponding to the policy related to the test is entered, and inserted into the corresponding service table of the database layer.
具体地,根据所述产品算法案例,录入所述产品算法自动化测试相关的保单涉及的页面信息,例如投保人信息、被保险人信息、险种信息等。然后,将录入的信息插入到数据库层的相关业务表中,以便后续测试时获取对应的信息。Specifically, according to the product algorithm case, the page information related to the policy related to the automated test of the product algorithm, such as the policyholder information, the insured information, the insurance information, and the like are entered. Then, the entered information is inserted into the related business table of the database layer, so that the corresponding information is obtained during subsequent testing.
步骤S602,调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算。Step S602, the database layer interface corresponding to each simulated event of the test is invoked to complete the service processing and product algorithm calculation corresponding to each simulation event.
具体地,可以预先选择参与所述测试的模拟事件,根据所选择的模拟事件,调用所述模拟事件对应的数据库层接口,获取相应的数据,从而进行所述模拟事件对应的业务处理和产品算法计算,得到计算结果。Specifically, the simulation event participating in the test may be selected in advance, and the database layer interface corresponding to the simulation event is invoked according to the selected simulation event, and corresponding data is acquired, thereby performing service processing and product algorithm corresponding to the simulation event. Calculate and get the calculation result.
所述模拟事件包括:(1)投保产生保单,具体过程包括投保、核保、首期收费、承保。(2)红利抽档及分配、生存金抽档、万能结算、投连结算等。(3) 续期保费收费或欠费。(4)保全的各项目受理,例如:退保、减保、加保、新增附加险、红利领取、生存金领取、万能/投连部分领取、减额交清、交费方式变更、自垫选择权变更、红利选择权变更、复效等。(5)理赔处理。The simulated events include: (1) insurance policy for insuring, the specific process includes insurance, underwriting, initial charge, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
步骤S604,自动核对各个计算结果的正确性,判断测试是否通过。In step S604, the correctness of each calculation result is automatically checked, and it is judged whether the test passes.
具体地,各个模拟事件的业务处理完后都会与预期结果进行对比,检查所述计算结果的正确性,并记录是否通过的标志。其中,所述模拟事件(1)对应的计算结果包括保费等保单信息,模拟事件(2)对应的计算结果包括红利信息、生存金信息、万能结算信息、投连结算信息等,模拟事件(3)对应的计算结果包括续期保费等,模拟事件(4)对应的计算结果包括退费、补费、保单新信息等,模拟事件(5)对应的计算结果包括理赔金、保单新信息等。若各个计算结果均正确,则测试通过,否则判断测试失败。Specifically, after the business of each simulation event is processed, it compares with the expected result, checks the correctness of the calculation result, and records whether the flag is passed. The calculation result corresponding to the simulation event (1) includes policy information such as premium, and the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc., simulation event (3) The corresponding calculation results include renewal premiums, etc. The calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc. The calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes, otherwise the test fails.
本实施例所提出的产品算法自动化测试方法,可以不依赖应用层而在数据库层完成产品算法案例测试的自动化,即将模拟事件所产生的数据插入到业务相关表,再通过调用各业务系统相关接口完成保单未来几十年的整个生命周期各阶段可能发生的模拟事件的业务处理,从而实现产品算法测试的自动化,快速得到测试结果。The product algorithm automatic test method proposed in this embodiment can complete the automation of the product algorithm case test at the database layer without relying on the application layer, that is, insert the data generated by the simulation event into the service related table, and then call the relevant interfaces of each business system. Complete the business processing of simulation events that may occur at various stages of the lifecycle of the policy for the next few decades, thereby automating product algorithm testing and quickly obtaining test results.
如图7所示,是本申请产品算法自动化测试方法的第二实施例的流程示意图。本实施例中,所述产品算法自动化测试方法的步骤S704-S708与第一实施例的步骤S600-S604相类似,区别在于该方法还包括步骤S700-S702。FIG. 7 is a schematic flowchart diagram of a second embodiment of an algorithm automatic test method of the product of the present application. In this embodiment, the steps S704-S708 of the product algorithm automatic test method are similar to the steps S600-S604 of the first embodiment, except that the method further includes steps S700-S702.
该方法包括以下步骤:The method includes the following steps:
步骤S700,根据产品周期设置各种模拟事件。In step S700, various simulation events are set according to the product cycle.
具体地,所述模拟事件包括:(1)投保产生保单,具体过程包括投保、核保、首期收费、承保。(2)红利抽档及分配、生存金抽档、万能结算、投连结算等。(3)续期保费收费或欠费。(4)保全的各项目受理,例如:退保、减保、加保、新增附加险、红利领取、生存金领取、万能/投连部分领取、减额交清、交费方式变更、自垫选择权变更、红利选择权变更、复效等。(5)理赔处理。Specifically, the simulated event includes: (1) insuring a policy, and the specific process includes insuring, underwriting, initial charging, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
步骤S702,选择需要参与所述测试的模拟事件。Step S702, selecting a simulation event that needs to participate in the test.
具体地,上述各种模拟事件包含了寿险产品算法测试过程中涉及的重要业务处理过程,当进行产品算法案例的测试时,可以根据需要选择上述各种模拟事件的任意组合。Specifically, the above various simulation events include important business processing processes involved in the life insurance product algorithm testing process. When testing the product algorithm case, any combination of the above various simulation events may be selected as needed.
步骤S704,录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中。Step S704, the page information corresponding to the policy related to the test is entered, and inserted into a corresponding service table of the database layer.
具体地,根据所述产品算法案例,录入所述产品算法自动化测试相关的保单涉及的页面信息,例如投保人信息、被保险人信息、险种信息等。然后,将录入的信息插入到数据库层的相关业务表中,以便后续测试时获取对应的信息。Specifically, according to the product algorithm case, the page information related to the policy related to the automated test of the product algorithm, such as the policyholder information, the insured information, the insurance information, and the like are entered. Then, the entered information is inserted into the related business table of the database layer, so that the corresponding information is obtained during subsequent testing.
步骤S706,调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算。Step S706, invoking a database layer interface corresponding to each simulated event of the test, to complete business processing and product algorithm calculation corresponding to each simulation event.
具体地,可以预先选择参与所述测试的模拟事件,根据所选择的模拟事件,调用所述模拟事件对应的数据库层接口,获取相应的数据,从而进行所述模拟事件对应的业务处理和产品算法计算,得到计算结果。Specifically, the simulation event participating in the test may be selected in advance, and the database layer interface corresponding to the simulation event is invoked according to the selected simulation event, and corresponding data is acquired, thereby performing service processing and product algorithm corresponding to the simulation event. Calculate and get the calculation result.
步骤S708,自动核对各个计算结果的正确性,判断测试是否通过。In step S708, the correctness of each calculation result is automatically checked, and it is judged whether the test passes.
具体地,各个模拟事件的业务处理完后都会与预期结果进行对比,检查所述计算结果的正确性,并记录是否通过的标志。其中,所述模拟事件(1)对应的计算结果包括保费等保单信息,模拟事件(2)对应的计算结果包括红利信息、生存金信息、万能结算信息、投连结算信息等,模拟事件(3)对应的计算结果包括续期保费等,模拟事件(4)对应的计算结果包括退费、补费、保单新信息等,模拟事件(5)对应的计算结果包括理赔金、保单新信息等。若各个计算结果均正确,则测试通过,否则判断测试失败。Specifically, after the business of each simulation event is processed, it compares with the expected result, checks the correctness of the calculation result, and records whether the flag is passed. The calculation result corresponding to the simulation event (1) includes policy information such as premium, and the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc., simulation event (3) The corresponding calculation results include renewal premiums, etc. The calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc. The calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes, otherwise the test fails.
本实施例所提出的产品算法自动化测试方法,可以不依赖应用层而在数据库层完成产品算法案例测试的自动化,即通过模拟各业务系统的投保出单、收费、保单变更、理赔受理等事件,选择需要测试的模拟事件,将模拟事件所产生的数据插入到业务相关表,再通过调用各业务系统相关接口完成保单未来几十年的整个生命周期各阶段可能发生的模拟事件的业务处理,从而实现产品算法测试的自动化,快速得到测试结果。The product algorithm automatic testing method proposed in this embodiment can complete the automation of the product algorithm case test at the database layer without relying on the application layer, that is, by simulating the insured billing, charging, policy change, and claims processing of each business system, Selecting the simulation events to be tested, inserting the data generated by the simulation events into the business related table, and then invoking the relevant interfaces of each business system to complete the business processing of the simulation events that may occur in the entire life cycle of the policy in the next few decades, thereby Automate product algorithm testing and get test results quickly.
如图8所示,是本申请产品算法自动化测试方法的第三实施例的流程示意图。本实施例中,所述产品算法自动化测试方法的步骤S800-S808与第二实施例的步骤S700-S708相类似,区别在于该方法还包括步骤S810。FIG. 8 is a schematic flowchart diagram of a third embodiment of an algorithm automatic test method of the product of the present application. In this embodiment, the steps S800-S808 of the product algorithm automatic test method are similar to the steps S700-S708 of the second embodiment, except that the method further includes step S810.
该方法包括以下步骤:The method includes the following steps:
步骤S800,根据产品周期设置各种模拟事件。In step S800, various simulation events are set according to the product cycle.
具体地,所述模拟事件包括:(1)投保产生保单,具体过程包括投保、核保、首期收费、承保。(2)红利抽档及分配、生存金抽档、万能结算、投连结算等。(3)续期保费收费或欠费。(4)保全的各项目受理,例如:退保、减保、加保、新增附加险、红利领取、生存金领取、万能/投连部分领取、减额交清、交费方式变更、自垫选择权变更、红利选择权变更、复效等。(5)理赔处理。Specifically, the simulated event includes: (1) insuring a policy, and the specific process includes insuring, underwriting, initial charging, and underwriting. (2) Dividends and distribution, survival gold pumping, universal settlement, investment settlement and so on. (3) Renewal premiums or arrears. (4) Acceptance of various items of preservation, such as: surrender, reduced insurance, additional insurance, new additional insurance, bonus collection, survival gold collection, universal/investment part collection, deduction, payment method change, self Change of pad selection rights, change of bonus option, re-effect, etc. (5) Claim processing.
步骤S802,选择需要参与所述测试的模拟事件。Step S802, selecting a simulation event that needs to participate in the test.
具体地,上述各种模拟事件包含了寿险产品算法测试过程中涉及的重要业务处理过程,当进行产品算法案例的测试时,可以根据需要选择上述各种模拟事件的任意组合。Specifically, the above various simulation events include important business processing processes involved in the life insurance product algorithm testing process. When testing the product algorithm case, any combination of the above various simulation events may be selected as needed.
步骤S804,录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中。Step S804, the page information corresponding to the policy related to the test is entered, and inserted into a corresponding service table of the database layer.
具体地,根据所述产品算法案例,录入所述产品算法自动化测试相关的保单涉及的页面信息,例如投保人信息、被保险人信息、险种信息等。然后,将录入的信息插入到数据库层的相关业务表中,以便后续测试时获取对应的信息。Specifically, according to the product algorithm case, the page information related to the policy related to the automated test of the product algorithm, such as the policyholder information, the insured information, the insurance information, and the like are entered. Then, the entered information is inserted into the related business table of the database layer, so that the corresponding information is obtained during subsequent testing.
步骤S806,调用所述测试的各模拟事件对应的数据库层接口,以完成各 模拟事件对应的业务处理和产品算法计算。Step S806, the database layer interface corresponding to each simulated event of the test is invoked to complete the service processing and product algorithm calculation corresponding to each simulation event.
具体地,可以预先选择参与所述测试的模拟事件,根据所选择的模拟事件,调用所述模拟事件对应的数据库层接口,获取相应的数据,从而进行所述模拟事件对应的业务处理和产品算法计算,得到计算结果。Specifically, the simulation event participating in the test may be selected in advance, and the database layer interface corresponding to the simulation event is invoked according to the selected simulation event, and corresponding data is acquired, thereby performing service processing and product algorithm corresponding to the simulation event. Calculate and get the calculation result.
步骤S808,自动核对各个计算结果的正确性,判断测试是否通过。In step S808, the correctness of each calculation result is automatically checked, and it is judged whether the test passes.
具体地,各个模拟事件的业务处理完后都会与预期结果进行对比,检查所述计算结果的正确性,并记录是否通过的标志。其中,所述模拟事件(1)对应的计算结果包括保费等保单信息,模拟事件(2)对应的计算结果包括红利信息、生存金信息、万能结算信息、投连结算信息等,模拟事件(3)对应的计算结果包括续期保费等,模拟事件(4)对应的计算结果包括退费、补费、保单新信息等,模拟事件(5)对应的计算结果包括理赔金、保单新信息等。若各个计算结果均正确,则测试通过,否则判断测试失败。Specifically, after the business of each simulation event is processed, it compares with the expected result, checks the correctness of the calculation result, and records whether the flag is passed. The calculation result corresponding to the simulation event (1) includes policy information such as premium, and the calculation result corresponding to the simulation event (2) includes dividend information, survival gold information, universal settlement information, investment settlement information, etc., simulation event (3) The corresponding calculation results include renewal premiums, etc. The calculation results corresponding to the simulation events (4) include refunds, replenishment fees, new policy information, etc. The calculation results corresponding to the simulation events (5) include claims, new policy information, and the like. If the calculation results are correct, the test passes, otherwise the test fails.
步骤S810,记录测试过的产品算法案例,生成产品算法回归测试库。Step S810, recording the tested product algorithm case, and generating a product algorithm regression test library.
具体地,将既往通过自动化测试的产品算法案例累积下来并建立回归案例集,保存在产品算法回归测试库中。在每个版本发布前,可以对所述产品算法回归测试库中的产品算法案例进行重新测试验证。Specifically, the product algorithm cases that have passed the automated test are accumulated and a regression case set is established and saved in the product algorithm regression test library. Before each version is released, the product algorithm case in the product algorithm regression test library can be re-tested and verified.
本实施例所提出的产品算法自动化测试方法,通过累积得到产品算法回归测试库,在每个版本发布前对所述产品算法回归测试库中的产品算法案例进行重新测试验证,将更有效地保证版本发布的质量。The product algorithm automatic test method proposed in this embodiment obtains the product algorithm regression test library by accumulation, and retests and verifies the product algorithm case in the product algorithm regression test library before each version is released, which will more effectively ensure The quality of the release.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种产品算法自动化测试方法,应用于应用服务器,其特征在于,所述方法包括步骤:An automatic test method for product algorithms is applied to an application server, characterized in that the method comprises the steps of:
    录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中;Entering page information corresponding to the policy related to the test, and inserting it into a corresponding business table of the database layer;
    调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算;及Calling the database layer interface corresponding to each simulated event of the test to complete the business processing and product algorithm calculation corresponding to each simulation event;
    自动核对各个计算结果的正确性,判断测试是否通过。Automatically check the correctness of each calculation result and judge whether the test passes.
  2. 如权利要求1所述的产品算法自动化测试方法,其特征在于,该方法还包括步骤:The product algorithm automated test method according to claim 1, further comprising the steps of:
    根据产品周期设置各种模拟事件;Set various simulation events according to the product cycle;
    选择需要参与所述测试的模拟事件。Select the simulation events that need to participate in the test.
  3. 如权利要求2所述的产品算法自动化测试方法,其特征在于,该方法还包括步骤:The product algorithm automated testing method according to claim 2, further comprising the steps of:
    记录测试过的产品算法案例,生成产品算法回归测试库。Record the tested product algorithm case and generate a product algorithm regression test library.
  4. 如权利要求1所述的产品算法自动化测试方法,其特征在于,所述模拟事件包括:投保产生保单,红利抽档及分配、生存金抽档、万能结算、投连结算,续期保费收费或欠费,保全的各项目受理,理赔处理。The product algorithm automatic testing method according to claim 1, wherein the simulated event comprises: insuring a policy, a bonus pumping and distribution, a survival gold pumping, a universal settlement, a investment settlement, a renewal premium or Arrears, security items are accepted, and claims are processed.
  5. 如权利要求1所述的产品算法自动化测试方法,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The method for automatically testing a product algorithm according to claim 1, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  6. 如权利要求2所述的产品算法自动化测试方法,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The method for automatically testing a product algorithm according to claim 2, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  7. 如权利要求3或4所述的产品算法自动化测试方法,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The method for automatically testing a product algorithm according to claim 3 or 4, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  8. 一种应用服务器,其特征在于,所述应用服务器包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的产品算法自动化测试系统,所述产品算法自动化测试系统被所述处理器执行时实现如下步骤:An application server, comprising: a memory, a processor, and a product algorithm automated test system stored on the memory and operable on the processor, the product algorithm automated test system being The following steps are implemented when the processor is executed:
    录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中;Entering page information corresponding to the policy related to the test, and inserting it into a corresponding business table of the database layer;
    调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算;及Calling the database layer interface corresponding to each simulated event of the test to complete the business processing and product algorithm calculation corresponding to each simulation event;
    自动核对各个计算结果的正确性,判断测试是否通过。Automatically check the correctness of each calculation result and judge whether the test passes.
  9. 如权利要求8所述的应用服务器,其特征在于,所述产品算法自动化测试系统被所述处理器执行时还实现步骤:The application server of claim 8 wherein said product algorithm automated test system is further implemented when said processor is executed:
    根据产品周期设置各种模拟事件;Set various simulation events according to the product cycle;
    选择需要参与所述测试的模拟事件。Select the simulation events that need to participate in the test.
  10. 如权利要求9所述的应用服务器,其特征在于,所述产品算法自动化测试系统被所述处理器执行时还实现步骤:The application server of claim 9 wherein said product algorithm automated test system is further implemented when said processor is executed:
    记录测试过的产品算法案例,生成产品算法回归测试库。Record the tested product algorithm case and generate a product algorithm regression test library.
  11. 如权利要求8所述的应用服务器,其特征在于,所述模拟事件包括:投保产生保单,红利抽档及分配、生存金抽档、万能结算、投连结算,续期保费收费或欠费,保全的各项目受理,理赔处理。The application server according to claim 8, wherein the simulated event comprises: insured generation of a policy, bonus drawing and distribution, survival gold pumping, universal settlement, investment settlement, renewal premium charging or arrears, The various items of the security are accepted and the claims are processed.
  12. 如权利要求8所述的应用服务器,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The application server according to claim 8, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  13. 如权利要求9所述的应用服务器,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The application server according to claim 9, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  14. 如权利要求10或11所述的应用服务器,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The application server according to claim 10 or 11, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有产品算法自动化测试系统,所述企业推荐程序可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:A computer readable storage medium storing a product algorithm automated test system, the enterprise recommendation program being executable by at least one processor to cause the at least one processor to perform the following steps:
    录入所述测试相关的保单对应的页面信息,并插入到数据库层的对应业务表中;Entering page information corresponding to the policy related to the test, and inserting it into a corresponding business table of the database layer;
    调用所述测试的各模拟事件对应的数据库层接口,以完成各模拟事件对应的业务处理和产品算法计算;及Calling the database layer interface corresponding to each simulated event of the test to complete the business processing and product algorithm calculation corresponding to each simulation event;
    自动核对各个计算结果的正确性,判断测试是否通过。Automatically check the correctness of each calculation result and judge whether the test passes.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述产品算法自动化测试系统被所述处理器执行时还实现步骤:The computer readable storage medium of claim 15 wherein said product algorithm automated test system is further implemented when said processor is executed:
    根据产品周期设置各种模拟事件;Set various simulation events according to the product cycle;
    选择需要参与所述测试的模拟事件。Select the simulation events that need to participate in the test.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述产品算法自动化测试系统被所述处理器执行时还实现步骤:The computer readable storage medium of claim 16 wherein said product algorithm automated test system is further implemented when said processor is executed:
    记录测试过的产品算法案例,生成产品算法回归测试库。Record the tested product algorithm case and generate a product algorithm regression test library.
  18. 如权利要求15所述的计算机可读存储介质,其特征在于,所述模拟事件包括:投保产生保单,红利抽档及分配、生存金抽档、万能结算、投连结算,续期保费收费或欠费,保全的各项目受理,理赔处理。The computer readable storage medium according to claim 15, wherein the simulated event comprises: insured generation policy, bonus pumping and distribution, survival gold pumping, universal settlement, investment settlement, renewal premium charging or Arrears, security items are accepted, and claims are processed.
  19. 如权利要求15-17任一项所述的计算机可读存储介质,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The computer readable storage medium according to any one of claims 15-17, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
  20. 如权利要求18所述的计算机可读存储介质,其特征在于,所述自动核对各个计算结果的正确性,判断测试是否通过的步骤具体包括:The computer readable storage medium according to claim 18, wherein the step of automatically checking the correctness of each calculation result and determining whether the test passes is specifically:
    各个模拟事件的业务处理完后,将得到的计算结果与预期结果进行对比;After the business of each simulation event is processed, the calculated result is compared with the expected result;
    当各个计算结果均正确时,判断测试通过,否则判断测试失败;When the calculation results are correct, the test is passed, otherwise the test fails;
    记录测试是否通过的标志。A flag that records whether the test passed.
PCT/CN2018/089889 2017-09-13 2018-06-05 Automated test method for product algorithm, and application server WO2019052234A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710819574.5 2017-09-13
CN201710819574.5A CN107885656B (en) 2017-09-13 2017-09-13 Automatic product algorithm testing method and application server

Publications (1)

Publication Number Publication Date
WO2019052234A1 true WO2019052234A1 (en) 2019-03-21

Family

ID=61780626

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089889 WO2019052234A1 (en) 2017-09-13 2018-06-05 Automated test method for product algorithm, and application server

Country Status (2)

Country Link
CN (1) CN107885656B (en)
WO (1) WO2019052234A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021144656A1 (en) 2020-01-15 2021-07-22 Monday.Com Digital processing systems and methods for graphical dynamic table gauges in collaborative work systems
WO2021161104A1 (en) 2020-02-12 2021-08-19 Monday.Com Enhanced display features in collaborative network systems, methods, and devices
US11410129B2 (en) 2010-05-01 2022-08-09 Monday.com Ltd. Digital processing systems and methods for two-way syncing with third party applications in collaborative work systems
CN107885656B (en) * 2017-09-13 2021-02-09 平安科技(深圳)有限公司 Automatic product algorithm testing method and application server
US11436359B2 (en) 2018-07-04 2022-09-06 Monday.com Ltd. System and method for managing permissions of users for a single data type column-oriented data structure
US11698890B2 (en) 2018-07-04 2023-07-11 Monday.com Ltd. System and method for generating a column-oriented data structure repository for columns of single data types
CN110020958A (en) * 2019-02-11 2019-07-16 阿里巴巴集团控股有限公司 One kind is insured and insures link test method, device and equipment
CN116757856A (en) * 2019-04-04 2023-09-15 创新先进技术有限公司 Fee deduction processing method and device, electronic equipment and storage medium
US20210150481A1 (en) 2019-11-18 2021-05-20 Monday.Com Digital processing systems and methods for mechanisms for sharing responsibility in collaborative work systems
EP4062313A1 (en) 2019-11-18 2022-09-28 Monday.com Ltd. Collaborative networking systems, methods, and devices
US20240184989A1 (en) 2020-05-01 2024-06-06 Monday.com Ltd. Digital processing systems and methods for virtualfile-based electronic white board in collaborative work systems systems
EP4143732A1 (en) 2020-05-01 2023-03-08 Monday.com Ltd. Digital processing systems and methods for enhanced collaborative workflow and networking systems, methods, and devices
US11277361B2 (en) 2020-05-03 2022-03-15 Monday.com Ltd. Digital processing systems and methods for variable hang-time for social layer messages in collaborative work systems
CN112116439A (en) * 2020-08-10 2020-12-22 杭州优行科技有限公司 Clearing and settlement testing method, device, terminal and storage medium
US11397847B1 (en) 2021-01-14 2022-07-26 Monday.com Ltd. Digital processing systems and methods for display pane scroll locking during collaborative document editing in collaborative work systems
US12056664B2 (en) 2021-08-17 2024-08-06 Monday.com Ltd. Digital processing systems and methods for external events trigger automatic text-based document alterations in collaborative work systems
US11741071B1 (en) 2022-12-28 2023-08-29 Monday.com Ltd. Digital processing systems and methods for navigating and viewing displayed content
US11886683B1 (en) 2022-12-30 2024-01-30 Monday.com Ltd Digital processing systems and methods for presenting board graphics
US11893381B1 (en) 2023-02-21 2024-02-06 Monday.com Ltd Digital processing systems and methods for reducing file bundle sizes
US12056255B1 (en) 2023-11-28 2024-08-06 Monday.com Ltd. Digital processing systems and methods for facilitating the development and implementation of applications in conjunction with a serverless environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060010448A1 (en) * 2004-07-07 2006-01-12 Abhay Sathe Proactive systemic scheduler for resource limited test systems
CN103901307A (en) * 2014-04-22 2014-07-02 上海扬梓投资管理有限公司 Testing system and method applied to vehicle-mounted multimedia device
CN104899141A (en) * 2015-06-05 2015-09-09 北京航空航天大学 Test case selecting and expanding method facing network application system
CN107885656A (en) * 2017-09-13 2018-04-06 平安科技(深圳)有限公司 Product algorithm automated testing method and application server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100114604A1 (en) * 2008-10-31 2010-05-06 Joseph Bernstein Authorization Process for High Intensity Medical Interventions
CN101789002B (en) * 2010-01-22 2013-09-11 浪潮(北京)电子信息产业有限公司 Database compatibility test device and method for server
CN103810196B (en) * 2012-11-09 2017-09-22 阿里巴巴集团控股有限公司 The method that database performance measurement is carried out based on business model
CN106383812B (en) * 2016-08-30 2020-05-26 泰康保险集团股份有限公司 New contract policy testing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060010448A1 (en) * 2004-07-07 2006-01-12 Abhay Sathe Proactive systemic scheduler for resource limited test systems
CN103901307A (en) * 2014-04-22 2014-07-02 上海扬梓投资管理有限公司 Testing system and method applied to vehicle-mounted multimedia device
CN104899141A (en) * 2015-06-05 2015-09-09 北京航空航天大学 Test case selecting and expanding method facing network application system
CN107885656A (en) * 2017-09-13 2018-04-06 平安科技(深圳)有限公司 Product algorithm automated testing method and application server

Also Published As

Publication number Publication date
CN107885656B (en) 2021-02-09
CN107885656A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
WO2019052234A1 (en) Automated test method for product algorithm, and application server
WO2020057016A1 (en) Blockchain-based insurance claim settlement method, electronic apparatus and storage medium
WO2018000607A1 (en) Method and electronic apparatus for identifying test case failure causes
WO2020024419A1 (en) Testing method for service scenario, electronic device and readable storage medium
WO2019085466A1 (en) Association test method and system, application server, and computer readable storage medium
US11036491B1 (en) Identifying and resolving firmware component dependencies
Blokland et al. Testing cloud services: how to test SaaS, PaaS & IaaS
WO2019071891A1 (en) Code coverage analysis method and application server
CN101794359A (en) Methods and systems for enabling community-tested security features for legacy applications
WO2019148721A1 (en) Electronic device, risk early warning method for internet service system, and storage medium
WO2022120995A1 (en) Device computing power evaluation method and system based on pow consensus mechanism
WO2019095674A1 (en) Training hours computing method, application server and computer readable storage medium
CN113448862A (en) Software version testing method and device and computer equipment
CN112561690B (en) Method, system, equipment and storage medium for testing credit card staged service interface
CN111324537A (en) Test script-based test method and device and computer equipment
CN115130114A (en) Gateway safety starting method and device, electronic equipment and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN111597101B (en) SDK access state detection method, computer equipment and computer readable storage medium
CN110297625B (en) Application processing method and device
CN110928788B (en) Service verification method and device
CN109460651A (en) The login method and device of billing system
US9363276B2 (en) Method and system for testing and validation of cryptographic algorithms
US20240061862A1 (en) Replicating data across databases by utilizing validation functions for data completeness and sequencing
CN112650679B (en) Test verification method, device and computer system
TWI817128B (en) Enterprise resource planning device and smart debugging method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18857145

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18857145

Country of ref document: EP

Kind code of ref document: A1