Method, device and equipment for generating score card, medium and program product
Through pre-built mapping relationships and recognition models, the scorecard is automatically configured, which solves the selection errors and inefficiency caused by manual configuration, and achieves efficient and accurate scorecard generation.
Patent Information
- Application Number
- CN202411149464.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-10
AI Technical Summary
When generating a score card, business personnel need to manually configure the scoring metrics and weights, resulting in inefficient selection errors and risk assessment.
Through the mapping relationship between the pre-constructed business type and the scoring card configuration information, the configuration information and content structure of the target business type are automatically determined, and the configuration information is analyzed using the identification model to generate a scoring card, including the calibration data table content to ensure accuracy.
The automatic configuration of the scorecard is realized, which reduces manual operations by business personnel, improves risk assessment efficiency, and ensures the accuracy of the scorecard and data reusability.
Smart Images

Figure CN119106963A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment, medium and program product for generating a score card. Background Art
[0002] When some institutions carry out asset-related business, risk control may be required in the early application, business processing, and subsequent management. When conducting risk control, scorecards are generally used for risk assessment. When using scorecards for risk assessment, you first need to generate a scorecard.
[0003] Currently, when generating a scorecard, business personnel need to manually configure the score indicators required for the scorecard corresponding to the current business on the business interface. For example, for a loan scenario, it is necessary to select the "asset" indicator from the drop-down menu of one of the score indicators. However, for some businesses, more score indicators may be required. Manual selection of score indicators is not only prone to errors, but also makes risk assessment less efficient. Summary of the invention
[0004] The embodiments of the present application provide a method, apparatus, device, medium and program product for generating a scorecard, which are used to solve the problem of low efficiency in risk assessment.
[0005] In a first aspect, an embodiment of the present application provides a method for generating a scorecard, the method comprising:
[0006] Respond to the scorecard generation instruction and determine the target business type of the business being executed;
[0007] Querying target configuration information corresponding to the target business type from the pre-built mapping relationship between the business type and the scorecard configuration information;
[0008] Parsing the queried target configuration information to obtain an information identifier of content information required to configure a scorecard corresponding to the target business type, and a content structure corresponding to the scorecard;
[0009] Target content information matching the information identifier is acquired from a database, and a scorecard corresponding to the target business type is generated according to the content structure using the target scorecard content information.
[0010] In the above embodiment, by pre-building a mapping relationship between business types and scorecard configuration information, after determining the target business type, the target configuration information of the required scorecard can be determined, and then the content information required to configure the scorecard and the content structure of the scorecard can be determined according to the target configuration information, thereby realizing automatic configuration of the scorecard without the need for business personnel to manually configure it on the display interface, saving time and effort.
[0011] In a possible embodiment, the parsing of the queried target configuration information to obtain an information identifier of content information required to configure a scorecard corresponding to the target business type includes:
[0012] Input the target configuration information into a first recognition model to obtain the positions of the name field, the indicator field, and the weight field in the target configuration information, wherein the first recognition model is trained based on the sample configuration information and the positions of the name field, the indicator field, and the weight field in the sample configuration information;
[0013] Determine a first information identifier of a scorecard name required for configuring the scorecard corresponding to the name field;
[0014] Determine a second information identifier of a scoring indicator required for configuring the scoring card corresponding to the indicator field;
[0015] Determine a third information identifier of the indicator weight required for configuring the scorecard corresponding to the weight field.
[0016] In the above embodiment, by parsing the target configuration information through the pre-trained first recognition model, accurate parsing results can be quickly obtained, and then the first information identifier of the target scoring card name, the second information identifier of the target scoring indicator and the third information identifier of the target indicator weight can be quickly obtained.
[0017] In a possible embodiment, the parsing of the queried target configuration information to obtain the content structure corresponding to the scorecard includes:
[0018] Inputting the target configuration information into a second recognition model to obtain a position of a structure field in the target configuration information, wherein the second recognition model is trained based on the sample configuration information and the position of the structure field in the sample configuration information;
[0019] The information corresponding to the structure field is determined to be the content structure of the scorecard.
[0020] In the above embodiment, by parsing the target configuration information through the pre-trained second recognition model, accurate parsing results can be quickly obtained, and then the content corresponding to the structure field can be quickly located.
[0021] In a possible embodiment, the target content information includes a target scoring card name, a target scoring index, and a target weight;
[0022] The target content information corresponding to the scorecard is constructed in the following manner:
[0023] Verifying the content of the received data table, wherein the data table is configured based on the target service type;
[0024] If the verification passes, a first data packet is constructed based on the table name of the data table, a second data packet is constructed based on at least one scoring indicator in the data table, and a third data packet is constructed based on the weight corresponding to each scoring indicator in the data table. The first data packet corresponds to the target scoring card name, the second data packet corresponds to the target indicator, and the third data packet corresponds to the target weight.
[0025] The contents of the received data table are verified to ensure the accuracy of the constructed target content information, thereby ensuring the accuracy of the subsequently generated scorecard and avoiding further modification by business personnel after the scorecard is generated; and the contents of the data table are split into three parts and packaged separately, so that the subsequent use of relational data structures to describe and store the content information corresponding to the scorecard is more reasonable, simple and practical, and can also improve the reusability of data.
[0026] In a possible embodiment, verifying the content in the received data table includes at least one of the following:
[0027] For any scoring indicator in the data table, determine whether the data type of the any scoring indicator meets the preset data type, and determine whether the text description of the any scoring indicator is correct;
[0028] For any weight in the data table, determine whether the value of any weight is less than a preset value;
[0029] Determine whether the corresponding relationship between the scoring index and the weight is correct.
[0030] In the above embodiment, the received data table is verified in multiple aspects, so that the verification is more comprehensive, so as to ensure the accuracy of the constructed target content information, and further ensure the accuracy of the subsequently generated scorecard.
[0031] In a possible embodiment, after querying the target configuration information corresponding to the target service type, the method further includes:
[0032] If it is determined that the target configuration information is not found, an alarm message is generated, and the alarm message is used to prompt the business personnel to supplement the target content information corresponding to the scorecard.
[0033] In the above embodiment, when the target configuration information is not found, an alarm message is generated to promptly inform the business personnel to perform corresponding processing.
[0034] In a second aspect, an embodiment of the present application provides a device for generating a score card, the device comprising:
[0035] A response module, used to respond to the scorecard generation instruction and determine the target business type of the business being executed;
[0036] A query module, used to query the target configuration information corresponding to the target business type from the mapping relationship between the pre-built business type and the scorecard configuration information;
[0037] A parsing module, used to parse the queried target configuration information, obtain the information identifier of the content information required to configure the scorecard corresponding to the target business type, and the content structure corresponding to the scorecard;
[0038] A generating module is used to obtain target content information matching the information identifier from a database, and generate a score card corresponding to the target business type according to the content structure using the target score card content information.
[0039] In a possible embodiment, the parsing module is used to:
[0040] Input the target configuration information into a first recognition model to obtain the positions of the name field, the indicator field, and the weight field in the target configuration information, wherein the first recognition model is trained based on the sample configuration information and the positions of the name field, the indicator field, and the weight field in the sample configuration information;
[0041] Determine a first information identifier of a scorecard name required for configuring the scorecard corresponding to the name field;
[0042] Determine a second information identifier of a scoring indicator required for configuring the scoring card corresponding to the indicator field;
[0043] Determine a third information identifier of the indicator weight required for configuring the scorecard corresponding to the weight field.
[0044] In a possible embodiment, the parsing module is used to:
[0045] Inputting the target configuration information into a second recognition model to obtain a position of a structure field in the target configuration information, wherein the second recognition model is trained based on the sample configuration information and the position of the structure field in the sample configuration information;
[0046] The information corresponding to the structure field is determined to be the content structure of the scorecard.
[0047] In a possible embodiment, the target content information includes a target scoring card name, a target scoring index, and a target weight;
[0048] The device also includes a verification module, which is used to construct the target content information corresponding to the score card in the following manner:
[0049] Verifying the content of the received data table, wherein the data table is configured based on the target service type;
[0050] If the verification passes, a first data packet is constructed based on the table name of the data table, a second data packet is constructed based on at least one scoring indicator in the data table, and a third data packet is constructed based on the weight corresponding to each scoring indicator in the data table. The first data packet corresponds to the target scoring card name, the second data packet corresponds to the target indicator, and the third data packet corresponds to the target weight.
[0051] In a possible embodiment, the verification module is further used for:
[0052] For any scoring indicator in the data table, determine whether the data type of the any scoring indicator meets the preset data type, and determine whether the text description of the any scoring indicator is correct;
[0053] For any weight in the data table, determine whether the value of any weight is less than a preset value;
[0054] Determine whether the corresponding relationship between the scoring index and the weight is correct.
[0055] In a possible embodiment, the device further includes an alarm module, which is used to:
[0056] When it is determined that the target configuration information is not found, an alarm message is generated, and the alarm message is used to prompt the business personnel to supplement the target content information corresponding to the scorecard.
[0057] In a third aspect, an embodiment of the present application provides an electronic device, and the present application provides an electronic device, including:
[0058] A memory for storing program instructions;
[0059] The processor is used to call the program instructions stored in the memory, and execute the steps included in any one of the methods in the first aspect according to the obtained program instructions.
[0060] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes any one of the methods described in the first aspect.
[0061] In a fifth aspect, the present application provides a computer program product, comprising: a computer program code, when the computer program code is run on a computer, the computer executes any one of the methods described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A schematic diagram of a scenario of a method for generating a scorecard provided in an embodiment of the present application;
[0063] Figure 2 A schematic diagram of an existing scorecard configuration interface provided in an embodiment of the present application;
[0064] Figure 3 A flowchart of a method for generating a scorecard provided in an embodiment of the present application;
[0065] Figure 4 A schematic diagram of a scoring card provided in an embodiment of the present application;
[0066] Figure 5 A schematic diagram of a device for generating a score card provided in an embodiment of the present application;
[0067] Figure 6 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0069] The terms "first" and "second" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in the present application can mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
[0070] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description. 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, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0071] In the technical solution of this application, the acquisition, transmission, storage, and use of data are in compliance with the requirements of relevant national laws and regulations.
[0072] First, some concepts involved in the embodiments of the present application are explained.
[0073] Scorecard: Used to evaluate business in certain business scenarios. For example, in asset risk management business, scorecards need to be used for risk assessment.
[0074] Business type: can also be called business scenario, such as asset risk management scenario.
[0075] Configuration information: corresponding to the scorecard and the business type, the configuration information includes the information identifier of the content information required to configure the scorecard, and the structure identifier of the content structure of the scorecard.
[0076] Scorecard name: may include part or all of the Chinese name, English name, and number, and is not specifically limited in the embodiments of the present application.
[0077] Scoring index: may include basic fields, segmented fields, and scores corresponding to the segmented fields. The embodiment of the present application does not specifically limit the type of scoring index. For example, in a business scenario, the basic field is the interest coverage ratio, and the segmented fields corresponding to the interest coverage ratio are [0,5), [5,10), [10,5), [15,20), [20,), where the score corresponding to [0,5) is 0 points, the score corresponding to [5,10) is 25 points, the score corresponding to [10,5) is 50 points, the score corresponding to [15,20) is 75 points, and the score corresponding to [20,) is 100 points.
[0078] Weight: Each scoring indicator corresponds to a weight, and the sum of the weights of all scoring indicators is 1.
[0079] Computing engine: In the embodiment of the present application, the computing engine is used to analyze the data table uploaded by the business personnel, and construct the content information (i.e., multiple data packets) corresponding to the scorecard based on the data table. The computing engine can be ilog or ADE. The embodiment of the present application does not specifically limit the type of computing engine.
[0080] Data table: manually configured by business personnel, the data table may contain the name of the scoring indicator (also called field name), such as enterprise scale. For some scoring indicators, segmentation is required, for example, the scoring indicator interest coverage ratio is segmented to obtain [0,5), [5,10), [10,5), [15,20), [20,); the data table may also contain the data type of the scoring indicator, such as the character type (varchar50); the data table may also contain the weight of the scoring indicator, such as the weight corresponding to the enterprise scale is 0.1. The embodiment of the present application does not specifically limit the content in the data table, and it can be specifically configured according to the business type. Business personnel can configure one data table for one business type, or configure multiple data tables for one business type.
[0081] Database: used to store content information (i.e., multiple data packets) required to configure the scorecard.
[0082] The method for generating a score card in an embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0083] like Figure 1 The figure shows an application scenario of a method for generating a scorecard provided in an embodiment of the present application, wherein the application scenario includes a business server 101, a computing engine 102 and a database 103.
[0084] Among them, the business server 101 and the computing engine 102 can be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The business server 101 is used to execute various types of business. When the business server needs to score during the execution of the business, it sends a request to generate a score card to the computing engine 102. The computing engine 102 responds to the score card generation instruction and generates the score card required by the business being executed. The database 103 stores the content information (i.e., data packets) required to generate the score card.
[0085] Before generating a scorecard, you first need to configure the scorecard, that is, you need to configure the scoring indicators required by the scorecard and the corresponding weights of the scoring indicators. The current scorecard configuration system requires business personnel to select scoring indicators and weights on the display interface. For example, only in Figure 2 Select the indicator named 2 on the interface shown, and the indicator named 2 will be displayed on the score card. However, when many scoring indicators are required, manual selection is not only prone to errors, but also makes the risk assessment less efficient.
[0086] In view of the above problems, the present application provides a method for generating a score card, such as Figure 3 As shown, the method includes:
[0087] S301: Responding to a scorecard generation instruction, determining a target business type of the business being executed.
[0088] When the business server 101 determines that scoring is required during the execution of a certain business, it sends a request to generate a score card to the computing engine 102. The request to generate the score card may carry the target business type of the business being executed. After the computing engine 102 receives the request to generate the score card (i.e., responds to the score card generation instruction), it can perform the subsequent steps of configuring the score card and generating the score card.
[0089] S302: Query target configuration information corresponding to the target business type from the pre-built mapping relationship between the business type and the scorecard configuration information.
[0090] Different from the manually configured solution in the existing solution, the embodiment of the present application provides a solution for automatically configuring the scorecard. Specifically, the target configuration information corresponding to the scorecard can be determined from the mapping relationship between the pre-built business type and the scorecard configuration information through the target business type, and then the scorecard is configured according to the target configuration information. The above mapping relationship can be shown in Table 1. The embodiment of the present application does not limit the specific form of the mapping relationship.
[0091] Table 1
[0092] Business Type Configuration Information Business 1 Information 1 Business 2 Information 2 Business 3 Information 3 ... ... Business Information
[0093] In the process of querying the target configuration information, it may happen that the target configuration information cannot be found, which indicates that the content information required by the scorecard may not be configured in the database. At this time, an alarm message is generated to prompt the business personnel to supplement the target configuration information in the mapping relationship such as Table 1 above, and to supplement the content information corresponding to the scorecard in the database.
[0094] S303: Parse the queried target configuration information to obtain an information identifier of content information required to configure a scorecard corresponding to the target business type, and a content structure corresponding to the scorecard.
[0095] The content of the target configuration information may be as shown in Table 2:
[0096] Table 2
[0097] Configuration information number XXX name Logo 1 index Logo 2 Weight Logo 3 structure Logo 4
[0098] In an embodiment of the present application, the configuration information may be structured information as shown in Table 2, or it may be unstructured information, such as text-type description information such as “the identifier corresponding to the scorecard name is: identifier 2”, which is not specifically limited in the embodiment of the present application.
[0099] In one possible implementation, parsing the target configuration information is to identify the name field, indicator field, weight field and structure field in the target configuration information, specifically: input the target configuration information into a first recognition model to obtain the position of the name field, indicator field and weight field in the target configuration information; input the target configuration information into a second recognition model to obtain the position of the structure field in the target configuration information. Among them, the first recognition model is trained based on the sample configuration information and the position of the name field, indicator field and weight field in the sample configuration information, and the second recognition model is trained based on the sample configuration information and the position of the structure field in the sample configuration information. The above-mentioned first recognition model and second recognition model may be the same or different, and the embodiments of the present application do not specifically limit them.
[0100] After identifying the name field, indicator field, weight field and structure field, the first information identifier of the scorecard name required to configure the scorecard corresponding to the name field, the second information identifier of the score indicator required to configure the scorecard corresponding to the indicator field, the third information identifier of the indicator weight required to configure the scorecard corresponding to the weight field and the content structure of the scorecard can be determined.
[0101] S304: Acquire target content information matching the information identifier from a database, and generate a scorecard corresponding to the target business type according to the content structure using the target scorecard content information.
[0102] In order to realize automatic configuration of the scorecard, the embodiment of the present application needs to pre-build the content information required for configuring the scorecard. The specific construction process is as follows:
[0103] First, verify the content in the received data table, where the data table is configured based on the target service type;
[0104] The above data table is configured by business personnel according to the business type. The data table contains the data required for configuring the scorecard filled in by business personnel based on experience. After receiving the data table, the data table needs to be verified first, including at least one of the following verification schemes.
[0105] (1) Determine whether the data type of the scoring indicator meets the preset data type.
[0106] For example, in the data table, the data type corresponding to a scoring indicator is varchar10, which means that the data type of the scoring indicator is a character type, and the maximum length of the string is 10. If the length of the scoring indicator is 11, it is determined that it does not meet the preset data type and the verification fails. At this time, an alarm message will be generated to remind the business personnel to modify the data table. In addition, in order to help business personnel quickly locate erroneous data, the alarm message can also include the location of the data that failed the verification in the data table, for example, the alarm message is "Incorrect data type on line 20".
[0107] (2) Determine whether the text description of the scoring indicator is correct.
[0108] For example, for the scoring indicator enterprise scale, the correct text description is "enterprise scale". If it is "enterprise model" in the data table, it is determined that the text description of the scoring indicator is incorrect, indicating that the verification fails. At this time, an alarm message will be generated to remind business personnel to modify the data table. In addition, in order to help business personnel quickly locate erroneous data, the alarm message can also include the location of the data that failed the verification in the data table. For example, the alarm message is "The description of the scoring indicator enterprise model in line 20 is incorrect."
[0109] (3) Determine whether the weight value is less than the preset value.
[0110] Under normal circumstances, the sum of the weights of all scoring indicators is 1 or 100%, that is, the value of each weight cannot exceed 1. If the weight in the data table is 25 (missing the percentage sign), it is determined that the weight exceeds the preset value, indicating that the verification fails. At this time, an alarm message will be generated to remind business personnel to modify the data table. In addition, in order to help business personnel quickly locate erroneous data, the alarm message can also include the location of the data that failed the verification in the data table. For example, the alarm message is "The weight value of row 20 exceeds the preset value."
[0111] Furthermore, it is also possible to determine whether the sum of all weights is 1. If not, it indicates that the verification fails, and an alarm message is generated to remind business personnel to check the weight data in the data table.
[0112] (4) Determine whether the corresponding relationship between the scoring indicators and the weights is correct.
[0113] Under normal circumstances, each indicator will correspond to a weight. If the indicator data in the data table is 1 to 50 rows, and the weight data is 2 to 50 rows, that is, the data is in the wrong row, then the scoring indicator and the weight are not in a one-to-one correspondence, indicating that the correspondence is wrong, and an alarm message is generated to remind business personnel to modify the data table. In addition, in order to help business personnel quickly locate erroneous data, the alarm message can also include the location of the data that failed the check in the data table. For example, the alarm message is "the scoring indicator in row 1 has no corresponding weight."
[0114] It should be noted that the above-mentioned verification process can be performed serially or simultaneously. When any of the above-mentioned four verification processes fails to pass the verification, an alarm message is generated. The alarm message may include the error type and the position of the error data in the data table. This embodiment of the present application does not make specific limitations on this.
[0115] Secondly, when the data type, text description, weight value and the correspondence between the scoring indicator and the weight of the scoring indicator are all verified, it indicates that the data table is verified. At this time, three data packets are generated based on the data table, specifically: a first data packet is constructed based on the table name of the data table, a second data packet is constructed based on at least one scoring indicator in the data table, and a third data packet is constructed based on the weight corresponding to each scoring indicator in the data table. The first data packet corresponds to the name of the target scoring card, the second data packet corresponds to the target indicator, and the third data packet corresponds to the target weight. Splitting the data table into multiple data packets for storage can also improve the reusability of the data. For example, if the indicator weights corresponding to scoring card 1 and scoring card 2 are the same, then the same weight data packet can be used, that is, there is no need to construct weight data packets for scoring card 1 and scoring card 2 respectively.
[0116] After the data packets are generated, the three data packets can be stored in the database through the pre-configured data interface for subsequent use. In order to facilitate the update and management of the data packets in the database, the three data packets can be stored in different databases, that is, the first data packet is stored in the name database, the second data packet is stored in the indicator database, and the third data packet is stored in the weight database, and each database corresponds to a data interface. Pre-building and storing the three data packets corresponding to the scorecard according to the data table can automatically obtain the data packets during the process of configuring the scorecard, and use the data packets to generate the scorecard, without the need for business personnel to configure the scorecard. Figure 2 You can make selections on the display interface to save time.
[0117] In an embodiment of the present application, the target content information includes a target scoring card name, a target scoring indicator and a target weight. Based on the above Table 2, the target content information matching the information identifier is obtained from the database, that is, a first data packet corresponding to identifier 1 is obtained from the first database by calling a first data interface, and the first data packet corresponds to the target scoring card name; a second data packet corresponding to identifier 2 is obtained from the second database by calling a second data interface, and the second data packet corresponds to the target scoring indicator; a third data packet corresponding to identifier 3 is obtained from the third database by calling a third data interface, and the third data packet corresponds to the target weight.
[0118] After obtaining the three data packets, a scorecard can be generated based on the content structure in the target configuration information, which can be specifically implemented as follows:
[0119] Based on the above Table 2, "ID 4" can represent the ID of the template corresponding to the score card. When generating the score card, fill in the data in the data packet to the corresponding position of the template corresponding to ID 4. For example, fill in the name of the score card (including Chinese name, English name and number) at the top of the template, and fill in the scoring indicators and the weights of the scoring indicators below the score card name. Since the types and quantities of scoring indicators corresponding to different templates are different, the size and layout of the corresponding templates may also be different. The score card generated by the embodiment of the present application is as follows: Figure 4 As shown, there is no need for business personnel to manually select scoring indicators, but they are automatically configured, saving time. Figure 4 After generating the scorecard, a "modify" function is further provided to enable business personnel to adjust the generated scorecard to obtain a more reasonable and accurate score.
[0120] The method for generating a scorecard provided in the embodiment of the present application can realize automatic configuration of the scorecard by pre-building configuration information and content information, without the need for business personnel to manually configure it on the operation interface, thus saving time and effort; the scorecard is split into three parts and stored separately, which facilitates data maintenance and updating.
[0121] Based on the same inventive concept, the present application embodiment provides a device for generating a score card, please refer to Figure 5 , the device comprises:
[0122] A response module 501 is used to respond to the scorecard generation instruction and determine the target business type of the business being executed;
[0123] A query module 502, configured to query target configuration information corresponding to the target business type from a pre-built mapping relationship between the business type and the scorecard configuration information;
[0124] The parsing module 503 is used to parse the queried target configuration information to obtain the information identifier of the content information required to configure the score card corresponding to the target business type, and the content structure corresponding to the score card;
[0125] The generating module 504 is used to obtain the target content information matching the information identifier from the database, and generate a score card corresponding to the target business type according to the content structure by using the target score card content information.
[0126] Based on the same inventive concept, the present application embodiment provides an electronic device, which can realize the function of generating a score card discussed above, please refer to Figure 6 , the device includes a processor 601 and a memory 602,
[0127] The processor 601 is used to read and execute instructions in the memory 602, so that the processor can execute a method for generating a score card provided in the above embodiment.
[0128] The processor 601 may be a central processing unit (CPU), a network processor (NP), a graphic processing unit (GPU), or any combination of CPU, NP, and GPU. It may also be a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The memory 602 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) and / or a cache memory, and may further include a read-only memory (ROM).
[0129] Memory 602 may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0130] Based on the same inventive concept, the embodiment of the present application provides a computer-readable storage medium, and the computer program product includes: computer program code, when the computer program code is executed on a computer, the computer executes any of the page switching methods discussed above. Since the principle of solving the problem by the above-mentioned computer-readable storage medium is similar to that of the page switching method, the implementation of the above-mentioned computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0131] Based on the same inventive concept, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any of the page switching methods discussed above. Since the principle of solving the problem by the above computer program product is similar to that of the page switching method, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0132] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0133] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0134] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of user-operated steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0136] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for generating a scorecard, characterized in that: The method comprises: Respond to the scorecard generation instruction and determine the target business type of the business being executed; Querying target configuration information corresponding to the target business type from the pre-built mapping relationship between the business type and the scorecard configuration information; Parsing the queried target configuration information to obtain an information identifier of content information required to configure a scorecard corresponding to the target business type, and a content structure corresponding to the scorecard; Target content information matching the information identifier is acquired from a database, and a scorecard corresponding to the target business type is generated according to the content structure using the target scorecard content information.
2. The method according to claim 1, characterized in that: The target configuration information obtained by parsing the query is used to obtain the information identifier of the content information required to configure the scorecard corresponding to the target business type, including: Input the target configuration information into a first recognition model to obtain the positions of the name field, the indicator field, and the weight field in the target configuration information, wherein the first recognition model is trained based on the sample configuration information and the positions of the name field, the indicator field, and the weight field in the sample configuration information; Determine a first information identifier of a scorecard name required to configure the scorecard corresponding to the name field; Determine a second information identifier of a scoring indicator required for configuring the scoring card corresponding to the indicator field; Determine a third information identifier of the indicator weight required for configuring the scorecard corresponding to the weight field.
3. The method according to claim 1, characterized in that The target configuration information obtained by parsing the query is used to obtain the content structure corresponding to the scorecard, including: Inputting the target configuration information into a second recognition model to obtain a position of a structure field in the target configuration information, wherein the second recognition model is trained based on the sample configuration information and the position of the structure field in the sample configuration information; The information corresponding to the structure field is determined to be the content structure of the scorecard.
4. The method according to claim 1, characterized in that: The target content information includes the target score card name, target scoring index and target weight; The target content information corresponding to the scorecard is constructed in the following manner: Verifying the content of the received data table, wherein the data table is configured based on the target service type; If the verification passes, a first data packet is constructed based on the table name of the data table, a second data packet is constructed based on at least one scoring indicator in the data table, and a third data packet is constructed based on the weight corresponding to each scoring indicator in the data table. The first data packet corresponds to the target scoring card name, the second data packet corresponds to the target indicator, and the third data packet corresponds to the target weight.
5. The method according to claim 4, characterized in that The checking of the content in the received data table includes at least one of the following: For any scoring indicator in the data table, determine whether the data type of the any scoring indicator meets the preset data type, and determine whether the text description of the any scoring indicator is correct; For any weight in the data table, determine whether the value of any weight is less than a preset value; Determine whether the corresponding relationship between the scoring indicator and the weight is correct.
6. The method according to any one of claims 1 to 5, characterized in that: After querying the target configuration information corresponding to the target service type, the method further includes: If it is determined that the target configuration information is not found, an alarm message is generated, and the alarm message is used to prompt the business personnel to supplement the target content information corresponding to the scorecard.
7. A device for generating a score card, characterized in that: The device comprises: A response module, used to respond to the scorecard generation instruction and determine the target business type of the business being executed; A query module, used to query the target configuration information corresponding to the target business type from the mapping relationship between the pre-built business type and the scorecard configuration information; A parsing module, used to parse the queried target configuration information, obtain the information identifier of the content information required to configure the scorecard corresponding to the target business type, and the content structure corresponding to the scorecard; A generating module is used to obtain target content information matching the information identifier from a database, and generate a score card corresponding to the target business type according to the content structure using the target score card content information.
8. An electronic device, characterized in that: include: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute the steps included in any one of claims 1-6 according to the obtained program instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is enabled to execute the method according to any one of claims 1 to 6.
