Application program review scheme generation method and device, equipment, medium and product
By evaluating the code change, impact range value and importance of financial applications, calculating the cost-effectiveness of reviews, determining the review priority, and generating an review plan, the problem of inaccurate formulation of financial applications code review plans in the existing technology is solved, and an efficient and accurate review process is achieved.
Patent Information
- Application Number
- CN202411887855.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-15
AI Technical Summary
It is difficult for the existing technology to quickly and accurately formulate code review plans for financial applications, resulting in inaccurate review results, wasted human resources or excessive review time.
By obtaining the financial applications to be launched, determining the corresponding review items, and evaluating the code changes, impact range values and importance of each review item, calculating the cost-effectiveness of the review, determining the review priority, and then generating an review plan.
It realizes the rapid and accurate formulation of code review plans for financial applications, improves review efficiency, and ensures the accuracy of review results.
Smart Images

Figure CN119831416A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial technology, and in particular to a method, device, equipment, medium and product for generating an application review scheme. Background Art
[0002] Code review is an important practice in the application development process, which aims to improve code quality, discover potential defects, and ensure that the code meets the project's technical standards and best practices through reviewers' inspections. Financial applications refer to software developed specifically for financial services and products, designed to help individuals, businesses, and financial institutions with financial management, investment transactions, payment processing, etc. Before financial applications go online, it is crucial to conduct effective code reviews.
[0003] At present, the code of financial applications to be launched is mainly reviewed by randomly determining multiple reviewers. This method makes it difficult to associate reviewers with the financial applications to be reviewed. Reviewers often do not match the technical fields of the applications to be reviewed, resulting in inaccurate review results. Too many reviewers waste human resources, or too few reviewers cause the review work to take a lot of time.
[0004] How to quickly and accurately formulate code review plans for online financial applications and provide assistance for code review work for financial applications is a key research issue in the industry. Summary of the invention
[0005] The present invention provides a method, device, equipment, medium and product for generating an application review plan, so as to quickly and accurately formulate a code review plan for a financial application to be launched, thereby providing assistance for the code review work of the financial application.
[0006] According to one aspect of the present invention, a method for generating an application review scheme is provided, the method comprising:
[0007] Acquire a target financial application to be launched, and determine each review item corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application;
[0008] Determine the code change amount, impact range value and importance of each review item;
[0009] Determine the review cost performance of the target review item based on the code change amount, the impact range value and the importance;
[0010] The review priority of each review item is determined according to the review cost-effectiveness of each review item, and the review plan of the target financial application is determined based on each review priority.
[0011] According to another aspect of the present invention, there is provided a device for generating an application review scheme, the device comprising:
[0012] A first determination module is used to obtain a target financial application to be launched, and determine each review item corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application;
[0013] The second determination module is used to determine the code change amount, impact range value and importance of each review item respectively;
[0014] A third determination module is used to determine the review cost performance of the target review item based on the code change amount, the impact range value and the importance;
[0015] The review scheme generating module is used to determine the review priority of each review item according to the review cost performance of each review item, and determine the review scheme of the target financial application based on each review priority.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating an application review solution described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating an application review solution described in any embodiment of the present invention when executed.
[0021] According to another aspect of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method for generating an application review solution according to any embodiment of the present invention is implemented.
[0022] The technical solution of the embodiment of the present invention obtains the target financial application to be launched, and determines each review item corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application; the code change amount, impact range value and importance of each review item are determined respectively; the review cost performance of the target review item is determined based on the code change amount, the impact range value and the importance; the review priority of each review item is determined according to the review cost performance of each review item, and the review plan of the target financial application is determined based on each review priority, so that the code review plan for the financial application to be launched can be quickly and accurately formulated, and help is provided for the code review work of the financial application.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 is a flow chart of a method for generating an application review scheme according to Embodiment 1 of the present invention;
[0026] Figure 2 is a flow chart of a method for generating an application review scheme according to Embodiment 2 of the present invention;
[0027] Figure 3 is a schematic diagram of the structure of a device for generating an application review solution according to Embodiment 3 of the present invention;
[0028] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing the method for generating an application review scheme according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1 This is a flowchart of a method for generating an application review plan according to the first embodiment of the present invention. This embodiment can be applied to the case of determining the code review plan of a target financial application to be launched. The method can be executed by a device for generating an application review plan. The device for generating the application review plan can be implemented in the form of hardware and / or software. The device for generating the application review plan can be configured in an electronic device such as a computer, a server or a tablet computer. Figure 1 As shown, the method includes:
[0033] Step 110: Obtain a target financial application to be launched, and determine various review items corresponding to the target financial application.
[0034] The target financial application to be launched can be a financial management application, an insurance application, or an investment application, etc., which is not limited in this embodiment. In this embodiment, the target financial application to be launched can be a newly developed application or an application that updates an already launched application, which is not limited in this embodiment.
[0035] Among them, each review item is matched one by one with each code block of the target financial application, that is, one review item corresponds to a part of the code of the target financial application, and this part of the code can realize a certain function, or can realize a part of a certain function, which is not limited in this embodiment.
[0036] Optionally, in this embodiment, after the developer has completed the development of the code for the target financial application, the developer can upload the developed code, that is, the code needs to be reviewed later; when uploading the code, the developer can divide the code into different code blocks (also referred to as requirement items) based on the functionality and non-functionality of the code; further, a code block can be determined as a review item; in this embodiment, different review items can be set with different numbers or names to facilitate the subsequent distinction between the review items.
[0037] In another optional implementation of this embodiment, after obtaining the code of the target financial application uploaded by the R&D personnel, the code of the target financial application can be further parsed by a code parsing tool so as to divide it into different code blocks; further, a code block can be determined as a review item.
[0038] Step 120: Determine the code change amount, impact range value and importance of each review item.
[0039] Among them, the code change amount of the review item refers to the degree of change of the code between the review item and the review item of its previous version (for example, the application to be updated by the target financial application); it can be understood that if the target financial application is a newly developed application, then there is no review item of the previous version that matches the review item, and the review item of the previous version that matches it is 0.
[0040] In this embodiment, the impact range value of the review item refers to the impact of the review item on the entire target financial application, for example, the number of times the target function in the review item is called, or the number of callers that call the target function.
[0041] In this embodiment, the importance of the review item can be determined by the party that issues the review item function. For example, the higher the level of the party that issues the task, the more important the review item is, that is, the greater its importance is.
[0042] Optionally, in this embodiment, the code change amount of each review item can be determined based on the code content of each review item; the impact range value of each review item can be determined based on the calling relationship of each review item in the target financial application; the importance of each review item can be determined based on the relevant information of the issuer of the functions and performance requirements of the target financial application.
[0043] It can be understood that in this embodiment, the code change amount, impact range value and importance of each review item can be quantified according to different information, and the final code change amount, impact range value and importance can be expressed by different numerical values; the specific numerical values are not limited in this embodiment.
[0044] Step 130: Determine the review cost-effectiveness of the target review item based on the code change amount, the impact range value, and the importance.
[0045] Optionally, in this embodiment, after determining the code change amount, impact range value and importance of each code item, the review cost-effectiveness of each review item can be further determined based on the determined code change amount, impact range value and importance of each review item.
[0046] Optionally, determining the review cost-effectiveness of the target review item based on the code change amount, the impact range value and the importance level may include: respectively determining a first weight corresponding to the impact range value and a second weight corresponding to the importance level; determining the review cost-effectiveness of the target review item based on the code change amount, the impact range value and the product of the first weight, and the product of the importance level and the second weight.
[0047] In an optional implementation of this embodiment, data of code review work of multiple historical financial applications can be obtained, and a first weight corresponding to the impact range value and a second weight corresponding to the importance degree can be obtained based on the analysis of these historical data; further, the review cost performance of the target review item can be determined based on the code change amount of the target review item, the product of the impact range value and the first weight, and the product of the importance degree and the second weight;
[0048] The target review item may be any review item in the target financial application to be launched, and is not limited in this embodiment.
[0049] Optionally, in an example of this embodiment, the review cost performance of the target review item may be determined based on the following formula:
[0050]
[0051] Among them, b is the review cost-effectiveness, c is the code change amount, d is the first weight, x is the impact range value, e is the second weight, and y is the importance.
[0052] The advantage of this setting is that the cost-effectiveness of each review item can be determined quickly and comprehensively, providing a basis for the subsequent generation of a review plan for the target financial application.
[0053] Step 140: Determine the review priority of each review item according to the review cost performance of each review item, and determine the review plan of the target financial application based on each review priority.
[0054] Among them, the review plan for the target financial application may include the number of reviewers corresponding to each review item, or the technical field of each reviewer, etc.; for example, if the target financial application contains three review items, then the corresponding review plan can be: the first review item requires three reviewers; the second review item requires one reviewer; the third review item requires two reviewers, and the reviewers are technical personnel in the field of financial technology technology.
[0055] Optionally, in this embodiment, after determining the review cost-effectiveness of each review item, the review priority of each review item can be further determined based on the review cost-effectiveness of each review item. Furthermore, the review plan for target amount application programs can be determined based on the review priority of each review item.
[0056] In an optional implementation of this embodiment, after the review cost-effectiveness of each review item is determined, each review cost-effectiveness can be sorted, for example, the review items can be sorted in order of review cost-effectiveness from small to large or from large to small, so as to obtain the review priority of each review item.
[0057] The technical solution of this embodiment is to obtain the target financial application to be launched, and determine the review items corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application; respectively determine the code change amount, impact range value and importance of each review item; determine the review cost performance of the target review item based on the code change amount, the impact range value and the importance; determine the review priority of each review item according to the review cost performance of each review item, and determine the review plan of the target financial application based on each review priority, so as to quickly and accurately formulate a code review plan for the financial application to be launched, and provide assistance for the code review work of the financial application.
[0058] Embodiment 2
[0059] Figure 21 is a flow chart of a method for generating an application review scheme according to Embodiment 2 of the present invention. This embodiment is a further refinement of the above technical scheme. The technical scheme in this embodiment can be combined with various optional schemes in one or more of the above embodiments. Figure 2 As shown, the method includes:
[0060] Step 210: Obtain the target financial application to be launched.
[0061] Step 220: parse the program code of the target financial application to determine the functional code blocks and non-functional code blocks that match the program code; split the functional code blocks and non-functional code blocks to obtain target code blocks; and determine a target code block as a review item.
[0062] Optionally, in this embodiment, after obtaining the target financial application to be launched, that is, after obtaining the code of the target financial application, the obtained program code can be parsed to decompose the program code into functional code blocks and non-functional code blocks; wherein, the functional code block is a code block that implements a certain function, such as a calculation function or a recommendation function, etc.; the non-functional code block can be a code block that improves the operating efficiency of the application, or a code block that causes the application to crash, etc., which is not limited in this embodiment.
[0063] Furthermore, the functional code blocks and non-functional code blocks can be split. For example, the functional code blocks can be split into small code blocks, and one code block can correspond to a function of the application, and finally multiple target code blocks are obtained; in this embodiment, one target code block corresponds to one review item.
[0064] The solution of this embodiment divides the program code of the target financial application into different review items, which can facilitate the subsequent determination of the priority of each review item and provide a basis for producing a review plan for the target financial application.
[0065] Step 230: Determine the code change amount, impact range value and importance of each review item.
[0066] Optionally, in this embodiment, after the target financial application is acquired and each review item of the target financial application is determined, the code change amount, impact range value and importance of each review item can be further determined.
[0067] Optionally, in this embodiment, determining the code change amount, impact range value and importance of each review item may include: determining whether the target financial application is an update program; in the case where it is determined that the target financial application is an update program, determining a reference financial application associated with the target financial application; determining a second review item in the reference financial application that matches the first review item in the target financial application; comparing the first review item and the second review item to determine the code change amount in the first review item; determining target log data generated by the reference financial application within a target time period, and determining the number of times the first review item is called and the number of callers that call the first review item based on the target log data; determining the impact range value of the first review item based on the number of times it is called and the number of callers; and determining the importance of the first review item based on the attribute information of the business department that deploys the first review item.
[0068] It can be understood that if the target financial application is an update program, then the target financial application is an update program of the financial application that was launched earlier, for example, fixing problems in the financial application that has been launched, or adding new features, etc.; if the target financial application is not an update program, then the target financial application is a brand new application, which can be an application designed based on the user's new needs.
[0069] In an optional implementation of this embodiment, when it is determined that the target financial application is an update program, a reference financial application associated with the target financial application can be further determined; wherein the reference financial application and the application that was previously launched, the target financial application is an application that adds new functions or fixes corresponding problems.
[0070] Furthermore, a second review item that matches the first review item in the target financial application can be determined in the reference financial application; wherein the first review item can be any review item in the target financial application, and the second review item is a review item associated with the first review item in the reference financial application. Exemplarily, the first review item can be an improvement on the second review item.
[0071] Furthermore, the codes in the first review item and the second review item can be compared to determine the code change of the first review item; for example, if the first review item has the following code compared to the second review item: "int i=1; i=countX(i+1);", in which a total of 3 new calculators (2 =, 1 +), 1 type declaration (int), 3 variables (3 i), 2 constants (2 1s), and 1 method name (countX) are added, then the code change c of the first review item is equal to 10.
[0072] Furthermore, the log data generated by the reference financial application within the target time period (for example, the past week, month or quarter, etc.) can be determined, which is referred to as the target log data in this embodiment. Furthermore, each target log data can be analyzed to determine the number of times the first review item is called within the target time period, and the number of callers that call the first review item; further, the impact range value of the first review item can be determined based on the number of times the first review item is called within the target time period, and the number of callers that call the first review item.
[0073] Exemplarily, the impact range value of the first review item may be determined based on the following formula:
[0074]
[0075] Among them, x is the impact range value, C d is the number of callers, C t The number of times it was called.
[0076] In this embodiment, the importance of the first review item can be determined based on the attribute information of the business department that deploys the first review item; wherein the attribute information of the business department may include the level of the business department (for example, the level of the head office is the highest at 10, the level of the branch is the second highest at 9, and the level of each department is the lowest at 5), nature or authority, etc., which are not limited in this embodiment.
[0077] Exemplarily, the importance of the first review item may be determined based on the following formula:
[0078]
[0079] Among them, y is the importance, Z r is the level of the business department, a is the modified weight value, which can be 0.1 or 0.2, etc., which is not limited in this embodiment, Z p is the business frequency, which can be determined by the business department, Z sIt is also a correction value, which can be any value greater than or equal to 0. Its specific value is determined by the category of users served by the target financial application after it goes online.
[0080] The advantage of this setting is that it can quickly determine the code change, impact range and importance of each review item of the target financial application, providing a basis for subsequently determining the review cost-effectiveness of each review item.
[0081] Optionally, in this embodiment, after determining whether the target financial application is an update program, it may also include: in the case where it is determined that the target financial application is not an update program, determining all code contents of the first review item in the target financial application as the code change amount in the first review item; determining a target number of times that the target code in the first review item is called in the entire code of the target financial application, and determining the target number as the impact range value of the first review item.
[0082] In another optional implementation of this embodiment, if the target financial application is determined to be a non-update program, then all the code content in the first review item can be determined as the code change of the first review item; illustratively, if the first review item contains the code "int i=1; i=countX(i+1);", then the code change c of the first review item is equal to 10.
[0083] Furthermore, the number of times the target code in the first review item (for example, the code corresponding to any function) is called in the program can be determined, which is called the target number in this embodiment and is determined as the impact range value of the first review item.
[0084] According to the solution of this embodiment, when it is determined that the target financial application is a non-updated program, all the code contents in the review item can be determined as the code change amount of the review item, and the number of times the target code is called in the program can be determined as the impact range value, so that the code change amount and the impact range value of the review item can be quickly determined.
[0085] Step 240: Determine the review cost-effectiveness of the target review item based on the code change amount, the impact range value, and the importance.
[0086] Step 250: determine the time limit value of each review item according to the code change amount of each review item; determine the ranking value of the target review item according to the review cost-effectiveness and time limit value of the target review item; sort each of the ranking values according to the set order, and determine the review priority of each of the review items according to the sorting result; determine the number of reviewers corresponding to the target review item and / or the technical field to which the reviewers belong according to the review priority of the target review item.
[0087] Optionally, in this embodiment, after determining the review cost performance of each review item based on the code change amount, impact range value and importance of each review item, the time limit value of each review item can also be determined based on the code change amount of each review item; illustratively, the time limit value of each review item can be determined based on the following formula:
[0088] s=d e -d c c;
[0089] Among them, s is the time limit value, d e is the number of days remaining from the current time until the delivery is on schedule, d c It is the sum of the time (in days) required to modify the code of the application after passing the review and the code changes of the review items that need to be modified, calculated based on historical data; c is the code change.
[0090] Furthermore, the ranking value of each review item can be determined according to the review cost performance and time limit value of each review item; illustratively, in this embodiment, the ranking value of each review item can be determined according to the following formula:
[0091] if s>=0, f=2b-s; if s<0, f=2b-2s;
[0092] Among them, f is the ranking value, b is the evaluation cost performance, and s is the time limit value.
[0093] Furthermore, the ranking values of each review item can be sorted according to a set order (for example, from small to large, or from large to small, which is not limited in the present embodiment); and then the review priority of each review item is determined according to the sorting result; illustratively, if the review items are sorted in order from small to large, then the review item at the front of the sequence has the highest review priority.
[0094] Furthermore, the number of reviewers corresponding to each review item and the technical field to which each reviewer belongs can be determined according to the review priority of each review item; for example, if the review priority of the target review item is the highest, then all reviewers who meet the field of the review item can be arranged to review the review item; if the review priority of the target review item is the lowest, then one reviewer can be arranged to review the review item.
[0095] The scheme of this embodiment, after determining the review cost-effectiveness of each review item based on the code change amount, impact range value and importance of each review item, can also determine the time limit value of each review item based on the code change amount of each review item; sort the sorting values according to the set order, and determine the review priority of each review item according to the sorting result; determine the number of reviewers corresponding to the target review item and the technical field to which the reviewers belong according to the review priority of the target review item, and different numbers and reviewers from different fields can be assigned to different review items, thereby obtaining a review plan for the application, which provides assistance for the subsequent completion of the review work of the target financial application.
[0096] Embodiment 3
[0097] Figure 3 FIG. 1 is a schematic diagram of a structure of a device for generating an application review solution according to Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a first determination module 310 , a second determination module 320 , a third determination module 330 and an evaluation scheme generation module 340 .
[0098] The first determination module 310 is used to obtain the target financial application to be launched, and determine the review items corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application;
[0099] The second determination module 320 is used to determine the code change amount, impact range value and importance of each review item respectively;
[0100] A third determination module 330 is used to determine the review cost performance of the target review item based on the code change amount, the impact range value and the importance;
[0101] The review scheme generating module 340 is used to determine the review priority of each review item according to the review cost performance of each review item, and determine the review scheme of the target financial application based on each review priority.
[0102] The solution of this embodiment is to obtain the target financial application to be launched through the first determination module, and determine the review items corresponding to the target financial application; wherein each of the review items is matched one by one with each code block of the target financial application; the code change amount, impact range value and importance of each review item are determined respectively through the second determination module; the review cost performance of the target review item is determined based on the code change amount, the impact range value and the importance through the third determination module; the review priority of each review item is determined according to the review cost performance of each review item through the review scheme generation module, and the review scheme of the target financial application is determined based on each review priority, so that the code review scheme of the financial application to be launched can be quickly and accurately formulated, and help is provided for the code review work of the financial application.
[0103] In an optional implementation of this embodiment, the first determination module 310 is specifically configured to parse the program code of the target financial application program and determine each functional code block and non-functional code block matching the program code;
[0104] Separately split each of the functional code blocks and each of the non-functional code blocks to obtain target code blocks;
[0105] Identify a target code block as a review item.
[0106] In an optional implementation of this embodiment, the second determination module 320 is specifically used to determine whether the target financial application is an update program;
[0107] In the case where it is determined that the target financial application is an update program, determining a reference financial application associated with the target financial application;
[0108] Determine a second review item in the reference financial application that matches the first review item in the target financial application;
[0109] Comparing the first review item with the second review item to determine a code change amount in the first review item;
[0110] Determine target log data generated by the reference financial application within a target time period, and determine the number of times the first review item is called and the number of callers that call the first review item according to the target log data;
[0111] Determine the impact range value of the first review item according to the number of times the item is called and the number of callers;
[0112] The importance of the first review item is determined based on attribute information of a business department that deploys the first review item.
[0113] In an optional implementation of this embodiment, the second determination module 320 is further specifically configured to determine, when determining that the target financial application is a non-updated program, all code contents of the first review item in the target financial application as the code variation in the first review item;
[0114] Determine a target number of times that the target code in the first review item is called in all codes of the target financial application program, and determine the target number of times as the impact range value of the first review item.
[0115] In an optional implementation of this embodiment, the third determination module 330 is further specifically configured to respectively determine a first weight corresponding to the impact range value and a second weight corresponding to the importance level;
[0116] The review cost-effectiveness of the target review item is determined based on the product of the code change amount, the impact range value and the first weight, and the product of the importance and the second weight.
[0117] In an optional implementation of this embodiment, the review scheme generating module 340 is specifically used to determine the time limit value of each review item according to the code change amount of each review item;
[0118] Determine the ranking value of the target review item according to the review cost performance and time limit value of the target review item;
[0119] Sorting the ranking values according to a set order, and determining the review priority of each review item according to the sorting result;
[0120] The number of reviewers corresponding to the target review item and / or the technical field to which the reviewers belong are determined according to the review priority of the target review item.
[0121] The device for generating an application review scheme provided in the embodiment of the present invention can execute the method for generating an application review scheme provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0122] Embodiment 4
[0123] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0124] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0125] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0126] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for generating an application review scheme, the method comprising: obtaining a target financial application to be launched, and determining each review item corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application; determining the code change amount, impact range value and importance of each review item; determining the review cost performance of the target review item based on the code change amount, the impact range value and the importance; determining the review priority of each review item according to the review cost performance of each review item, and determining the review scheme of the target financial application based on each review priority.
[0127] In some embodiments, the method for generating an application review scheme may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for generating an application review scheme described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for generating an application review scheme in any other appropriate manner (e.g., by means of firmware).
[0128] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0129] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0130] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0131] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0132] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0133] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0134] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0135] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0136] Embodiment 5
[0137] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the database detection method provided in any embodiment of the present application.
[0138] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0139] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0140] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for generating an application review scheme, characterized in that: include: Acquire a target financial application to be launched, and determine each review item corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application; Determine the code change amount, impact range value and importance of each review item; Determine the review cost performance of the target review item based on the code change amount, the impact range value and the importance; The review priority of each review item is determined according to the review cost-effectiveness of each review item, and the review plan of the target financial application is determined based on each review priority.
2. The method for generating an application review scheme according to claim 1, characterized in that: The determining of the review items corresponding to the target financial application program includes: Parsing the program code of the target financial application program to determine functional code blocks and non-functional code blocks matching the program code; Separately split each of the functional code blocks and each of the non-functional code blocks to obtain target code blocks; Identify a target code block as a review item.
3. The method for generating an application review scheme according to claim 1, characterized in that: Determining the code change amount, impact range value and importance of each review item includes: Determining whether the target financial application is an update program; In the case where it is determined that the target financial application is an update program, determining a reference financial application associated with the target financial application; Determine a second review item in the reference financial application that matches the first review item in the target financial application; Comparing the first review item with the second review item to determine a code change amount in the first review item; Determine target log data generated by the reference financial application within a target time period, and determine the number of times the first review item is called and the number of callers that call the first review item according to the target log data; Determine the impact range value of the first review item according to the number of times the item is called and the number of callers; The importance of the first review item is determined based on attribute information of a business department that deploys the first review item.
4. The method for generating an application review scheme according to claim 3, characterized in that: After determining whether the target financial application is an update program, the method further includes: In the case where the target financial application is determined to be a non-updated program, all code contents of the first review item in the target financial application are determined as the code change amount in the first review item; Determine a target number of times that the target code in the first review item is called in all codes of the target financial application program, and determine the target number of times as the impact range value of the first review item.
5. The method for generating an application review scheme according to claim 1, characterized in that: The determining the review cost performance of the target review item based on the code change amount, the impact range value, and the importance level includes: respectively determining a first weight corresponding to the impact range value and a second weight corresponding to the importance degree; The review cost-effectiveness of the target review item is determined based on the product of the code change amount, the impact range value and the first weight, and the product of the importance and the second weight.
6. The method for generating an application review scheme according to claim 1, characterized in that: Determining the review priority of each review item according to the review cost performance of each review item, and determining the review scheme of the target financial application based on each review priority, includes: Determine the time limit value of each review item according to the code change amount of each review item; Determine the ranking value of the target review item according to the review cost performance and time limit value of the target review item; Sorting the ranking values according to a set order, and determining the review priority of each review item according to the sorting result; The number of reviewers corresponding to the target review item and / or the technical field to which the reviewers belong are determined according to the review priority of the target review item.
7. A device for generating an application review scheme, characterized in that: include: A first determination module is used to obtain a target financial application to be launched, and determine each review item corresponding to the target financial application; wherein each review item is matched one by one with each code block of the target financial application; The second determination module is used to determine the code change amount, impact range value and importance of each review item respectively; A third determination module is used to determine the review cost performance of the target review item based on the code change amount, the impact range value and the importance; The review scheme generating module is used to determine the review priority of each review item according to the review cost performance of each review item, and determine the review scheme of the target financial application based on each review priority.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating an application review solution according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating an application review solution according to any one of claims 1 to 6 when executed.
10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the method for generating an application review scheme according to any one of claims 1 to 6.