Method and device for generating index model
By splitting and converting business data, establishing an indicator model and publishing it to the blockchain platform, it solves the problems of missing indicator latitude information and complex business logic modifications in the existing technology, achieves efficient indicator management and development processes, and improves user experience. experience and development efficiency.
Patent Information
- Application Number
- CN202010911228.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-02
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-09-02
AI Technical Summary
The existing data analysis dashboard lacks a unified indicator model and management platform, resulting in missing indicator latitude information, difficulty in maintenance and expansion, poor user experience, long business logic modification cycle, and complex development.
By obtaining business data splitting requests, splitting and converting them into basic indicators, performing latitude stripping and factor splitting, establishing an indicator model, and publishing it to the blockchain platform, we can quickly respond to business data needs and reduce the development and modification cycle and Difficulty.
It improves the applicability, scalability and traceability of indicators, simplifies front-end development, shortens the development and delivery cycle, improves user experience and development management efficiency, and avoids data redundancy.
Smart Images

Figure CN112053058B_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of base frame operation and maintenance, and in particular to a method and device for generating an indicator model. [Background technology]
[0002] Existing data analysis dashboards are often personalized developments based on business needs. The underlying data indicators are organized according to business needs. There is no complete, comprehensive, and detailed indicator model and a unified indicator management platform. As a result, the same indicator has multiple calibers, multiple names, and multiple statements, and the indicator dimension information is seriously missing, making the existing business indicator dimension model difficult to maintain and expand, unable to form a unified standard, and unable to maintain a sustainable update state. This situation has caused great trouble to both front-end developers and business users of indicators, and has caused users to have a poor user experience. Secondly, the existing data development dashboard implements business logic and dimension information in the front-end page development, and the front-end development performs statistical analysis and summary based on the business logic, resulting in high development complexity, long business logic modification cycle, and difficulty in locating development problems. [Summary of the invention]
[0003] In view of this, an embodiment of the present invention provides a method and device for generating an indicator model, which can use the constructed indicator model to quickly respond to business data, reduce the model development and modification cycle and difficulty, and improve user experience.
[0004] In order to achieve the above objectives, in a first aspect, an embodiment of the present invention provides a method for generating an indicator model, the method comprising:
[0005] Obtaining a data splitting request uploaded by the demander, wherein the data splitting request carries business data and data type;
[0006] In response to the data splitting request, splitting and converting the business data according to the data type to obtain basic indicators;
[0007] The basic indicators are split into quantifiable basic data indicators through latitude stripping and factor splitting, and the basic data indicators are associated with preset latitude information;
[0008] According to the association between the basic data indicators and the latitude information, different latitude information is mapped to different basic indicators;
[0009] An indicator model is established according to the corresponding relationship between the different basic indicators and the latitude information.
[0010] In combination with the first aspect, in a feasible implementation manner, in response to the data splitting request, splitting and converting the business data according to the data type to obtain the basic indicator includes:
[0011] Splitting the business data according to the data type, extracting concept indicators of the business data, wherein the concept indicators include latitude information;
[0012] The conceptual index is converted into a basic index, wherein the basic index includes latitude information and calculation logic.
[0013] In combination with the first aspect, in a feasible implementation manner, after the basic indicators are split into quantifiable basic data indicators through latitude stripping and factor splitting, and the basic data indicators are associated with preset latitude information, the method further includes:
[0014] A derived data indicator is generated according to the basic data indicator and a preset calculation logic, and the derived data indicator is associated with the preset latitude information.
[0015] In combination with the first aspect, in a feasible implementation manner, establishing an indicator model according to the correspondence between the different basic indicators and the latitude information includes:
[0016] Establishing an indicator analysis matrix based on the correlation between the basic data indicators and the latitude information, and determining and improving the correlation latitude of the basic indicators based on the basic data indicators;
[0017] Acquire multiple business data samples, and test the indicator model through the business data samples;
[0018] Verifying the accuracy of the indicator model based on the data output by the indicator model;
[0019] When the accuracy of the indicator model is greater than or equal to a preset value, it is determined that the establishment of the indicator model is completed.
[0020] In combination with the first aspect, in a feasible implementation manner, after verifying the accuracy of the indicator model according to the basic indicator output by the indicator model, the method further includes:
[0021] When the accuracy of the indicator model is less than the preset value, the indicator model is corrected.
[0022] In combination with the first aspect, in a feasible implementation manner, after establishing the indicator model according to the correspondence between the different basic indicators and the latitude information, the method further includes:
[0023] The configuration file of the indicator model is encrypted, and the encrypted configuration file and the indicator model are published to the blockchain platform for storage.
[0024] In combination with the first aspect, in a feasible implementation manner, after encrypting the configuration file of the indicator model and publishing the encrypted configuration file and the indicator model to the blockchain platform for storage, the method further includes:
[0025] Obtaining a configuration file modification request of the indicator model uploaded by the requester, wherein the modification request carries the second key of the requester;
[0026] Reading a second key in the modification request, and matching the second key with a first key of the configuration file;
[0027] When the match is successful, the requesting party is authorized to modify the configuration file of the indicator model.
[0028] In order to achieve the above-mentioned purpose, in a second aspect, an embodiment of the present invention provides a device for generating an indicator model, the device comprising:
[0029] A first acquisition unit is used to acquire a data splitting request uploaded by a demander, wherein the data splitting request carries business data and data type;
[0030] A processing unit, configured to respond to the data splitting request, split and convert the business data according to the data type, and obtain basic indicators;
[0031] A splitting unit, used to split the basic indicators into quantifiable basic data indicators through latitude stripping and factor splitting, and associate the basic data indicators with preset latitude information;
[0032] A mapping unit, used for mapping different latitude information to different basic indicators according to the association relationship between the basic data indicators and the latitude information;
[0033] An establishing unit is used to establish an indicator model according to the corresponding relationship between the different basic indicators and the latitude information.
[0034] In order to achieve the above-mentioned purpose, in a third aspect, the present invention also provides a computer non-volatile storage medium, which includes a stored program, and when the program is running, controls the device where the storage medium is located to execute the above-mentioned method for generating the indicator model.
[0035] In order to achieve the above-mentioned purpose, in a fourth aspect, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for generating the indicator model when executing the computer program.
[0036] In this solution, by splitting the business data and comprehensively extracting basic indicators, the applicability, scalability and traceability of the indicators are improved, the front-end development efficiency is improved, and a better user experience is provided. Secondly, the required business logic is implemented in the indicator model, and the indicator model is published to the blockchain so that all business developers can use the indicator model, which is conducive to the configuration development of other developers' front-end pages according to the indicator model without considering various complex statistical dimensions, facilitating the modification of business logic, effectively shortening the development and delivery cycle, and improving user satisfaction. Finally, the data results output by the indicator platform model can effectively avoid the problem of data redundancy. The model only outputs the data required for front-end development, which is conducive to speeding up the loading speed of the front-end interface and improving the user experience. In summary, the indicator model can effectively manage the basic indicator information at the enterprise level, establish unified specifications, effectively improve the development management efficiency, and improve the user experience.
Brief Description of the Drawings
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. 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.
[0038] Figure 1 is a flow chart of a method for generating an indicator model provided by an embodiment of the present invention;
[0039] Figure 2 It is a functional block diagram of a device for generating an indicator model provided by an embodiment of the present invention;
[0040] Figure 3 It is a schematic diagram of an optional computer device provided by an embodiment of the present invention. [Specific implementation method]
[0041] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0042] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0044] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0045] It should be understood that, although the terms first, second, third, etc. may be used to describe the terminal in the embodiments of the present invention, these terminals should not be limited to these terms. These terms are only used to distinguish the terminals from each other. For example, without departing from the scope of the embodiments of the present invention, the first terminal may also be referred to as the second terminal, and similarly, the second terminal may also be referred to as the first terminal.
[0046] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0047] Figure 1 is a flow chart of generating an indicator model according to an embodiment of the present invention, such as Figure 1 As shown, the method includes:
[0048] Step S01, obtaining a data splitting request uploaded by a demander, wherein the data splitting request carries business data and data type;
[0049] Step S02, in response to the data splitting request, splitting and converting the business data according to the data type to obtain basic indicators;
[0050] Step S03, splitting the basic indicators into quantifiable basic data indicators through latitude stripping and factor splitting, and associating the basic data indicators with preset latitude information;
[0051] Step S04, mapping different latitude information to different basic indicators according to the association relationship between the basic data indicators and the latitude information;
[0052] Step S05: establishing an indicator model according to the corresponding relationship between different basic indicators and latitude information.
[0053] In this solution, by splitting the business data and comprehensively extracting basic indicators, the applicability, scalability and traceability of the indicators are improved, the front-end development efficiency is improved, and a better user experience is provided. Secondly, the required business logic is implemented in the indicator model, and the indicator model is published to the blockchain so that all business developers can use the indicator model, which is conducive to the configuration development of other developers' front-end pages according to the indicator model without considering various complex statistical dimensions, facilitating the modification of business logic, effectively shortening the development and delivery cycle, and improving user satisfaction. Finally, the data results output by the indicator platform model can effectively avoid the problem of data redundancy. The model only outputs the data required for front-end development, which is conducive to speeding up the loading speed of the front-end interface and improving the user experience. In summary, the indicator model can effectively manage the basic indicator information at the enterprise level, establish unified specifications, effectively improve the development management efficiency, and improve the user experience.
[0054] The following is a detailed introduction to the generation method of the indicator model provided by this solution.
[0055] Step S01, obtaining a data splitting request uploaded by a demander, wherein the data splitting request carries business data and data type.
[0056] Specifically, business data can come from different business scenarios, such as personal business, corporate business, investment business, custody business, credit card business, etc., which are not limited here. In the process of business data decomposition, the name of the indicator can be clarified based on the needs of relevant business personnel, and the concept indicator can be initially formed. The basic latitude information and boundaries of the concept indicator can be confirmed, and the business needs can be accurately and comprehensively grasped, and the model can be established close to the actual business to help business development.
[0057] It should be noted that conceptual indicators are only a preliminary extraction of business data. These conceptual indicators are often not the most basic indicators. Therefore, it is necessary to refine the conceptual indicators and convert them into basic indicators, clarify the definition and caliber of the basic indicators, strip off the dimensional information of the basic indicators, and factorize the basic indicators to form indivisible basic data indicators (i.e. atomic-level indicators) and related dimensional information labels. Only such basic data indicators are indicators that can be used to build models.
[0058] For example, data types can be used to classify and sort business data according to business lines such as retail, corporate, small business, special management, and peers. The data types are mutually exclusive, and different analysis topics are formed based on business data, thereby gradually accumulating data covering all business data ranges to form a complete indicator system.
[0059] Step S02, in response to the data splitting request, split and convert the business data according to the data type to obtain basic indicators.
[0060] Specifically, step S02 includes:
[0061] Split the business data according to the data type, and extract the conceptual indicators of the business data, which include latitude information;
[0062] Convert conceptual indicators into basic indicators, which include latitude information and calculation logic.
[0063] For example, the conceptual indicator: the proportion of corporate RMB demand deposits is used as an example to illustrate.
[0064] First, the concept indicator needs to be stripped of its dimensions. The concept indicator needs to be stripped of its line dimensions and currency dimensions. In addition, the concept indicator also needs to be stripped of its deposit structure dimensions, which are usually divided into demand deposits, time deposits, and wealth management deposits. Therefore, the dimensions of this concept indicator can be stripped into: deposit proportion (basic indicator) + line dimensions + currency dimensions + active theorem dimensions.
[0065] Understandably, after the conceptual indicators are converted into feasible basic indicators, the latitudes involved in the basic indicators are mined, standardized, and uniformly sorted. Among them, the latitude information is global and unique. After obtaining comprehensive latitude information, the latitude information is combined to restore the business data and check whether the restored business data meets the actual business needs. It ensures that the analysis of latitude stripping is comprehensive while avoiding unnecessary latitude stripping.
[0066] For example: In addition to the dimensions of line, currency, and active theorem, deposit indicators usually also include analysis dimensions such as machine, product, and channel. Therefore, only by completing these dimensions can the completeness of the basic deposit indicator dimensions be guaranteed to meet business analysis needs.
[0067] Step S03, splitting the basic indicators into quantifiable basic data indicators through latitude stripping and factor splitting, and associating the basic data indicators with preset latitude information.
[0068] This is explained using the above conceptual indicator: the proportion of the company's RMB demand deposits as an example.
[0069] We factor-splitting the basic indicator "deposit ratio". The deposit ratio is a ratio calculated by basic data indicators, not a basic data indicator. Therefore, the basic data indicator "deposit" can be split out.
[0070] After splitting, it is converted into: deposits (basic data indicator) + line dimension + currency dimension + active theorem dimension. The calculation logic is: the proportion of company's RMB demand deposits = deposits & (line = 'company') & company deposit currency = 'RMB') & (company deposit classification = 'demand') / deposits & (line = 'company'). Based on such splitting results, an indicator model including the proportion of RMB demand deposits can be established.
[0071] Optionally, after the basic indicators are split into quantifiable basic data indicators by latitude stripping and factor splitting, and the basic data indicators are associated with preset latitude information, the method further includes:
[0072] Generate derived data indicators based on basic data indicators and preset calculation logic, and associate the derived data indicators with preset latitude information.
[0073] It can be understood that a derived data indicator is a data indicator obtained by calculating two or more basic data indicators through a certain business calculation logic. For example, for the conceptual indicator of small business overdue rate, we first perform dimension stripping on the indicator to get the line dimension + overdue rate;
[0074] Overdue rate = basic data indicator (overdue amount) / basic data indicator (loan balance). It can be seen that the overdue rate is calculated by dividing the overdue amount of the basic data indicator by the loan balance. After analysis, the overdue rate of small enterprises is converted into: overdue amount (basic data indicator) / loan balance (basic data indicator) + line latitude. The overdue rate of small enterprises = overdue amount & (line = 'small enterprise') / loan balance & (line = 'small enterprise'). At this point, the indicator splitting that can be implemented is obtained.
[0075] Step S04, mapping different latitude information to different basic indicators according to the association relationship between the basic data indicators and the latitude information.
[0076] Specifically, for example, a mapping relationship table is established between the basic data indicator "deposit" + line dimension + currency dimension + active theorem dimension and the basic indicator "deposit ratio", so that in the later use process, the basic indicator of deposit ratio and its associated basic data indicators and dimension information can be directly read from the mapping relationship table.
[0077] It can be understood that by comprehensively splitting the basic indicators and dimensional information and managing them in a unified manner, the scope and name of the basic data indicators can be guaranteed, the confusion of basic data indicators can be avoided, the applicability, scalability and traceability of the basic data indicators can be improved, and a comprehensive and detailed indicator system can be gradually established, which will improve the front-end development efficiency and provide a better user experience.
[0078] Step S05, establishing an indicator model according to the corresponding relationship between different basic indicators and latitude information, including:
[0079] Establish an indicator analysis matrix based on the correlation between basic data indicators and latitude information, and determine and improve the correlation latitude of basic indicators based on basic data indicators;
[0080] Obtain multiple business data samples and test the indicator model through the business data samples;
[0081] Verify the accuracy of the indicator model based on the data output by the indicator model;
[0082] When the accuracy of the indicator model is greater than or equal to a preset value, it is determined that the establishment of the indicator model is completed.
[0083] In the above solution, the business logic of business data is implemented in the indicator model, which is conducive to the configuration development of the front-end page according to the indicator model without considering various complex statistical dimensions, facilitating the modification of business logic, effectively shortening the development and delivery cycle, and improving user satisfaction. In addition, the data output based on the indicator model can effectively avoid the problem of data redundancy. The model only outputs the data required for front-end development, which is conducive to speeding up the loading speed of the front-end interface and improving the user experience. In summary, the indicator model can effectively manage enterprise-level indicator information, establish unified specifications, effectively improve development management efficiency, and improve user experience.
[0084] Optionally, after verifying the accuracy of the indicator model according to the data output by the indicator model, the method further includes:
[0085] When the accuracy of the indicator model is less than a preset value, the indicator model is corrected.
[0086] It is understandable that when the data output by the indicator model is not accurate enough and it is confirmed that the indicator model cannot meet the existing business data needs, it is necessary to refine and update the dimensional information, basic indicator data, derived indicator data, etc. in the indicator model in order to correct the indicator model.
[0087] Optionally, in step S05, after establishing an indicator model according to the correspondence between different basic indicators and latitude information, the method further includes:
[0088] The configuration file of the indicator model is encrypted, and the encrypted configuration file and indicator model are published to the blockchain platform for storage.
[0089] It should be noted that the encryption method can be asymmetric encryption or symmetric encryption. In one embodiment, the encryption method is symmetric encryption. For example, the configuration file data is symmetricly encrypted using an AES (Advanced Encryption Standard) key to obtain encrypted information.
[0090] Specifically, the AES symmetric encryption algorithm first obtains multiple 4×4 byte matrices after matrix operation on the configuration file data information, and replaces the bytes contained in each byte matrix with the corresponding table bytes by using a nonlinear replacement function using a lookup table. Then, the multiple byte matrices containing the table bytes are repeatedly subjected to row shift, column confusion, and round key operations nine times (each byte in the matrix is XORed with the round key), and finally the obtained byte matrix is subjected to row shift and round key operations to finally obtain the encrypted information. The encrypted information obtained can be decrypted using the key to obtain the unencrypted original data information.
[0091] Furthermore, after encrypting the configuration file of the indicator model and publishing the encrypted configuration file and the indicator model to the blockchain platform for storage, the method further includes:
[0092] Obtain a configuration file modification request of the indicator model uploaded by the requester, where the modification request carries the second key of the requester;
[0093] Reading a second key in the modification request, and matching the second key with a first key in the configuration file;
[0094] When the match succeeds, the requester is authorized to modify the configuration file of the indicator model.
[0095] It can be understood that the key carried by the requester can decrypt the encrypted data of the configuration file, that is, the requester has the modification authority.
[0096] In this solution, authorized business developers can use the indicator model, which helps business developers to develop front-end pages in a configurable manner according to the indicator model without considering various complex statistical dimensions, facilitates the modification of business logic, effectively shortens the development and delivery cycle, and improves user satisfaction.
[0097] Figure 2 is a schematic diagram of a device for generating an indicator model according to an embodiment of the present invention, such as Figure 2 As shown, the device includes a first acquiring unit 10 , a processing unit 20 , a splitting unit 30 , a mapping unit 40 and a establishing unit 50 .
[0098] A first acquisition unit 10 is used to acquire a data splitting request uploaded by a demander, wherein the data splitting request carries business data and data type;
[0099] The processing unit 20 is used to respond to the data splitting request, split and convert the business data according to the data type, and obtain the basic index;
[0100] The splitting unit 30 is used to split the basic indicators into quantifiable basic data indicators through latitude stripping and factor splitting, and associate the basic data indicators with preset latitude information;
[0101] A mapping unit 40, configured to map different latitude information to different basic indicators according to the association between the basic data indicators and the latitude information;
[0102] The establishing unit 50 is used to establish an indicator model according to the corresponding relationship between different basic indicators and latitude information.
[0103] In this solution, by splitting the business data and comprehensively extracting basic indicators, the applicability, scalability and traceability of the indicators are improved, the front-end development efficiency is improved, and a better user experience is provided. Secondly, the required business logic is implemented in the indicator model, and the indicator model is published to the blockchain so that all business developers can use the indicator model, which is conducive to the configuration development of other developers' front-end pages according to the indicator model without considering various complex statistical dimensions, facilitating the modification of business logic, effectively shortening the development and delivery cycle, and improving user satisfaction. Finally, the data results output by the indicator platform model can effectively avoid the problem of data redundancy. The model only outputs the data required for front-end development, which is conducive to speeding up the loading speed of the front-end interface and improving the user experience. In summary, the indicator model can effectively manage the basic indicator information at the enterprise level, establish unified specifications, effectively improve the development management efficiency, and improve the user experience.
[0104] Specifically, business data can come from different business scenarios, such as personal business, corporate business, investment business, custody business, credit card business, etc., which are not limited here. In the process of business data decomposition, the name of the indicator can be clarified based on the needs of relevant business personnel, and the concept indicator can be initially formed. The basic latitude information and boundaries of the concept indicator can be confirmed, and the business needs can be accurately and comprehensively grasped, and the model can be established close to the actual business to help business development.
[0105] It should be noted that conceptual indicators are only a preliminary extraction of business data. These conceptual indicators are often not the most basic indicators. Therefore, it is necessary to refine the conceptual indicators and convert them into basic indicators, clarify the definition and caliber of the basic indicators, strip off the dimensional information of the basic indicators, and factorize the basic indicators to form indivisible basic data indicators (i.e. atomic-level indicators) and related dimensional information labels. Only such basic data indicators are indicators that can be used to build models.
[0106] For example, data types can be used to classify and sort business data according to business lines such as retail, corporate, small business, special management, and peers. The data types are mutually exclusive, and different analysis topics are formed based on business data, thereby gradually accumulating data covering all business data ranges to form a complete indicator system.
[0107] The processing unit 20 includes an extraction subunit and a conversion subunit.
[0108] The extraction subunit is used to split the business data according to the data type and extract the concept indicators of the business data, which include latitude information;
[0109] The conversion subunit is used to convert conceptual indicators into basic indicators, which include dimension information and calculation logic.
[0110] For example, the conceptual indicator: the proportion of corporate RMB demand deposits is used as an example to illustrate.
[0111] First, the concept indicator needs to be stripped of its dimensions. The concept indicator needs to be stripped of its line dimensions and currency dimensions. In addition, the concept indicator also needs to be stripped of its deposit structure dimensions, which are usually divided into demand deposits, time deposits, and wealth management deposits. Therefore, the dimensions of this concept indicator can be stripped into: deposit proportion (basic indicator) + line dimensions + currency dimensions + active theorem dimensions.
[0112] Understandably, after the conceptual indicators are converted into feasible basic indicators, the latitudes involved in the basic indicators are mined, standardized, and uniformly sorted. Among them, the latitude information is global and unique. After obtaining comprehensive latitude information, the latitude information is combined to restore the business data and check whether the restored business data meets the actual business needs. It ensures that the analysis of latitude stripping is comprehensive while avoiding unnecessary latitude stripping.
[0113] For example: In addition to the dimensions of line, currency, and active theorem, deposit indicators usually also include analysis dimensions such as machine, product, and channel. Therefore, only by completing these dimensions can the completeness of the basic deposit indicator dimensions be guaranteed to meet business analysis needs.
[0114] The splitting unit 30 is used to split the basic indicators into quantifiable basic data indicators through latitude stripping and factor splitting, and associate the basic data indicators with preset latitude information.
[0115] This is explained using the above conceptual indicator: the proportion of the company's RMB demand deposits as an example.
[0116] We factor-splitting the basic indicator "deposit ratio". The deposit ratio is a ratio calculated by basic data indicators, not a basic data indicator. Therefore, the basic data indicator "deposit" can be split out.
[0117] After splitting, it is converted into: deposits (basic data indicator) + line dimension + currency dimension + active theorem dimension. The calculation logic is: the proportion of company's RMB demand deposits = deposits & (line = 'company') & company deposit currency = 'RMB') & (company deposit classification = 'demand') / deposits & (line = 'company'). Based on such splitting results, an indicator model including the proportion of RMB demand deposits can be established.
[0118] Optionally, the device further comprises a production unit,
[0119] The generation unit is used to generate derived data indicators based on basic data indicators and preset calculation logic, and associate the derived data indicators with preset latitude information.
[0120] It can be understood that a derived data indicator is a data indicator obtained by calculating two or more basic data indicators through a certain business calculation logic. For example, for the conceptual indicator of small business overdue rate, we first perform dimension stripping on the indicator to get the line dimension + overdue rate;
[0121] Overdue rate = basic data indicator (overdue amount) / basic data indicator (loan balance). It can be seen that the overdue rate is calculated by dividing the overdue amount of the basic data indicator by the loan balance. After analysis, the overdue rate of small enterprises is converted into: overdue amount (basic data indicator) / loan balance (basic data indicator) + line latitude. The overdue rate of small enterprises = overdue amount & (line = 'small enterprise') / loan balance & (line = 'small enterprise'). At this point, the indicator splitting that can be implemented is obtained.
[0122] The mapping unit 40 is used to map different latitude information to different basic indicators according to the association relationship between the basic data indicators and the latitude information.
[0123] Specifically, for example, a mapping relationship table is established between the basic data indicator "deposit" + line dimension + currency dimension + active theorem dimension and the basic indicator "deposit ratio", so that in the later use process, the basic indicator of deposit ratio and its associated basic data indicators and dimension information can be directly read from the mapping relationship table.
[0124] It can be understood that by comprehensively splitting the basic indicators and dimensional information and managing them in a unified manner, the scope and name of the basic data indicators can be guaranteed, the confusion of basic data indicators can be avoided, the applicability, scalability and traceability of the basic data indicators can be improved, and a comprehensive and detailed indicator system can be gradually established, which will improve the front-end development efficiency and provide a better user experience.
[0125] The establishing unit 50 includes an establishing subunit, an acquiring subunit, a verifying subunit and a determining subunit.
[0126] Establish sub-units to establish indicator analysis matrix based on the correlation between basic data indicators and latitude information, and determine and improve the correlation latitude of basic indicators based on basic data indicators;
[0127] An acquisition subunit is used to acquire multiple business data samples and test the indicator model through the business data samples;
[0128] A verification subunit is used to verify the accuracy of the indicator model based on the data output by the indicator model;
[0129] The determination subunit is used to determine that the establishment of the indicator model is completed when the accuracy of the indicator model is greater than or equal to a preset value.
[0130] In the above solution, the business logic of business data is implemented in the indicator model, which is conducive to the configuration development of the front-end page according to the indicator model without considering various complex statistical dimensions, facilitating the modification of business logic, effectively shortening the development and delivery cycle, and improving user satisfaction. In addition, the data output based on the indicator model can effectively avoid the problem of data redundancy. The model only outputs the data required for front-end development, which is conducive to speeding up the loading speed of the front-end interface and improving the user experience. In summary, the indicator model can effectively manage enterprise-level indicator information, establish unified specifications, effectively improve development management efficiency, and improve user experience.
[0131] Optionally, the device also includes a correction subunit.
[0132] The correction subunit is used to correct the indicator model when the accuracy of the indicator model is less than a preset value.
[0133] It is understandable that when the data output by the indicator model is not accurate enough and it is confirmed that the indicator model cannot meet the existing business data needs, it is necessary to refine and update the dimensional information, basic indicator data, derived indicator data, etc. in the indicator model in order to correct the indicator model.
[0134] Optionally, the device further comprises an encryption unit,
[0135] The encryption unit is used to encrypt the configuration file of the indicator model and publish the encrypted configuration file and the indicator model to the blockchain platform for storage.
[0136] It should be noted that the encryption method can be asymmetric encryption or symmetric encryption. In one embodiment, the encryption method is symmetric encryption. For example, the configuration file data is symmetricly encrypted using an AES (Advanced Encryption Standard) key to obtain encrypted information.
[0137] Specifically, the AES symmetric encryption algorithm first obtains multiple 4×4 byte matrices after matrix operation on the configuration file data information, and replaces the bytes contained in each byte matrix with the corresponding table bytes by using a nonlinear replacement function using a lookup table. Then, the multiple byte matrices containing the table bytes are repeatedly subjected to row shift, column confusion, and round key operations nine times (each byte in the matrix is XORed with the round key), and finally the obtained byte matrix is subjected to row shift and round key operations to finally obtain the encrypted information. The encrypted information obtained can be decrypted using the key to obtain the unencrypted original data information.
[0138] Furthermore, the device also includes a second acquisition unit, a reading unit, and an authorization unit.
[0139] A second obtaining unit is used to obtain a configuration file modification request of the indicator model uploaded by the requester, where the modification request carries a second key of the requester;
[0140] a reading unit, configured to read the second key in the modification request and match the second key with the first key of the configuration file;
[0141] The authorization unit is used to authorize the requester to modify the configuration file of the indicator model when the match is successful.
[0142] It can be understood that the key carried by the requester can decrypt the encrypted data of the configuration file, that is, the requester has the modification authority.
[0143] In this solution, authorized business developers can use the indicator model, which helps business developers to develop front-end pages in a configurable manner according to the indicator model without considering various complex statistical dimensions, facilitates the modification of business logic, effectively shortens the development and delivery cycle, and improves user satisfaction.
[0144] An embodiment of the present invention provides a computer non-volatile storage medium, the storage medium includes a stored program, wherein when the program is running, a device where the storage medium is located is controlled to perform the following steps:
[0145] Obtain the data splitting request uploaded by the demander, where the data splitting request carries business data and data type;
[0146] In response to the data splitting request, the business data is split and converted according to the data type to obtain basic indicators;
[0147] By stripping dimensions and splitting factors, the basic indicators are split into quantifiable basic data indicators, and the basic data indicators are associated with the preset dimension information;
[0148] According to the correlation between basic data indicators and latitude information, different latitude information is mapped to different basic indicators;
[0149] An indicator model is established based on the correspondence between different basic indicators and latitude information.
[0150] Optionally, when the program is running, the device where the storage medium is located is controlled to execute a response to the data splitting request, split and convert the business data according to the data type, and obtain basic indicators, including:
[0151] Split the business data according to the data type, and extract the conceptual indicators of the business data, which include latitude information;
[0152] Convert conceptual indicators into basic indicators, which include latitude information and calculation logic.
[0153] Optionally, when the program is running, the device where the storage medium is located is controlled to perform the following operations: splitting the basic indicators into quantifiable basic data indicators through latitude stripping and factor splitting, and associating the basic data indicators with preset latitude information, and then further performing the following operations:
[0154] Generate derived data indicators based on basic data indicators and preset calculation logic, and associate the derived data indicators with preset latitude information.
[0155] Optionally, when the program is running, the device where the storage medium is located is controlled to execute the corresponding relationship between different basic indicators and latitude information to establish an indicator model, including:
[0156] Establish an indicator analysis matrix based on the correlation between basic data indicators and latitude information, and determine and improve the correlation latitude of basic indicators based on basic data indicators;
[0157] Obtain multiple business data samples and test the indicator model through the business data samples;
[0158] Verify the accuracy of the indicator model based on the basic indicators output by the indicator model;
[0159] When the accuracy of the indicator model is greater than or equal to a preset value, it is determined that the establishment of the indicator model is completed.
[0160] Optionally, when the program is running, after controlling the device where the storage medium is located to verify the accuracy of the indicator model according to the basic indicators output by the indicator model, further execute:
[0161] When the accuracy of the indicator model is less than a preset value, the indicator model is corrected.
[0162] Optionally, when the program is running, the device where the storage medium is located is controlled to execute, after establishing the indicator model according to the correspondence between different basic indicators and latitude information, the following is further executed:
[0163] The configuration file of the indicator model is encrypted, and the encrypted configuration file and indicator model are published to the blockchain platform for storage.
[0164] Optionally, when the program is running, the device where the storage medium is located is controlled to encrypt the configuration file of the indicator model, and publish the encrypted configuration file and the indicator model to the blockchain platform for storage, and then further execute:
[0165] Obtain a configuration file modification request of the indicator model uploaded by the requester, where the modification request carries the second key of the requester;
[0166] Reading a second key in the modification request, and matching the second key with a first key in the configuration file;
[0167] When the match succeeds, the requester is authorized to modify the configuration file of the indicator model.
[0168] Figure 3 Schematic diagram of a computer device provided by an embodiment of the present invention. Figure 3 As shown, the computer device 100 of this embodiment includes: a processor 101, a memory 102, and a computer program 103 stored in the memory 102 and executable on the processor 101. When the processor 101 executes the computer program 103, the method for generating the indicator model in the embodiment is implemented. To avoid repetition, it is not described one by one here. Alternatively, when the computer program is executed by the processor 101, the functions of each model / unit in the device for generating the indicator model in the embodiment are implemented. To avoid repetition, it is not described one by one here.
[0169] The computer device 100 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device may include, but is not limited to, a processor 101 and a memory 102. Those skilled in the art will appreciate that Figure 3 This is only an example of the computer device 100 and does not constitute a limitation of the computer device 100. The computer device 100 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0170] The processor 101 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0171] The memory 102 may be an internal storage unit of the computer device 100, such as a hard disk or memory of the computer device 100. The memory 102 may also be an external storage device of the computer device 100, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 100. Further, the memory 102 may also include both an internal storage unit of the computer device 100 and an external storage device. The memory 102 is used to store computer programs and other programs and data required by the computer device. The memory 102 may also be used to temporarily store data that has been output or is to be output.
[0172] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0173] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0174] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0175] In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, or various units may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0176] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0177] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0178] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for generating an indicator model, It is characterized in that The method comprises: Obtaining a data splitting request uploaded by the demander, wherein the data splitting request carries business data and data type; In response to the data splitting request, splitting and converting the business data according to the data type to obtain basic indicators; By means of dimension stripping and factor splitting, the basic indicators are split into quantifiable basic data indicators, and the basic data indicators are associated with preset dimension information, wherein the dimension information includes the line, currency, active theorem dimension of deposit indicators, and organic, product, and channel analysis dimensions; According to the association between the basic data indicators and the latitude information, different latitude information is mapped to different basic indicators; Establishing an indicator model according to the corresponding relationship between the different basic indicators and the latitude information; Wherein, in response to the data splitting request, the business data is split and converted according to the data type to obtain basic indicators, including: Splitting the business data according to the data type, extracting concept indicators of the business data, wherein the concept indicators include latitude information; Convert the conceptual index into a basic index, wherein the basic index includes latitude information and calculation logic; The establishing of an indicator model according to the correspondence between the different basic indicators and the latitude information includes: Establishing an indicator analysis matrix based on the correlation between the basic data indicators and the latitude information, and determining and improving the correlation latitude of the basic indicators based on the basic data indicators; Acquire multiple business data samples, and test the indicator model through the business data samples; Verifying the accuracy of the indicator model based on data output by the indicator model; When the accuracy of the indicator model is greater than or equal to a preset value, it is determined that the establishment of the indicator model is completed.
2. The method according to claim 1, It is characterized in that After the basic indicators are split into quantifiable basic data indicators through latitude stripping and factor splitting, and the basic data indicators are associated with preset latitude information, the method further includes: A derived data indicator is generated according to the basic data indicator and a preset calculation logic, and the derived data indicator is associated with the preset latitude information.
3. The method according to claim 1, It is characterized in that After verifying the accuracy of the indicator model according to the data output by the indicator model, the method further includes: When the accuracy of the indicator model is less than the preset value, the indicator model is corrected.
4. The method according to any one of claims 1 to 3, It is characterized in that After establishing the indicator model according to the correspondence between the different basic indicators and the latitude information, the method further includes: The configuration file of the indicator model is encrypted, and the encrypted configuration file and the indicator model are published to the blockchain platform for storage.
5. The method according to claim 4, It is characterized in that After encrypting the configuration file of the indicator model and publishing the encrypted configuration file and the indicator model to the blockchain platform for storage, the method further includes: Obtaining a configuration file modification request of the indicator model uploaded by the requester, wherein the modification request carries the second key of the requester; Reading a second key in the modification request, and matching the second key with a first key of the configuration file; When the match is successful, the requesting party is authorized to modify the configuration file of the indicator model.
6. A device for generating an indicator model, It is characterized in that The device comprises: A first acquisition unit is used to acquire a data splitting request uploaded by a demander, wherein the data splitting request carries business data and data type; A processing unit, configured to respond to the data splitting request, split and convert the business data according to the data type, and obtain basic indicators; A splitting unit, used to split the basic indicators into quantifiable basic data indicators through dimension stripping and factor splitting, and associate the basic data indicators with preset dimension information, wherein the dimension information includes the line, currency, and active theorem dimensions of deposit indicators, as well as organic, product, and channel analysis dimensions; A mapping unit, used for mapping different latitude information to different basic indicators according to the association relationship between the basic data indicators and the latitude information; An establishing unit, used for establishing an indicator model according to the corresponding relationship between the different basic indicators and the latitude information; Wherein, in response to the data splitting request, the business data is split and converted according to the data type to obtain basic indicators, including: Splitting the business data according to the data type, extracting concept indicators of the business data, wherein the concept indicators include latitude information; Convert the conceptual index into a basic index, wherein the basic index includes latitude information and calculation logic; The establishing of an indicator model according to the correspondence between the different basic indicators and the latitude information includes: Establishing an indicator analysis matrix based on the correlation between the basic data indicators and the latitude information, and determining and improving the correlation latitude of the basic indicators based on the basic data indicators; Acquire multiple business data samples, and test the indicator model through the business data samples; Verifying the accuracy of the indicator model based on data output by the indicator model; When the accuracy of the indicator model is greater than or equal to a preset value, it is determined that the establishment of the indicator model is completed.
7. A computer non-volatile storage medium, It is characterized in that The storage medium includes a stored program, and when the program is executed, the device where the storage medium is located is controlled to execute the method for generating an indicator model according to any one of claims 1 to 5.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method for generating the indicator model described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Report generation method and device
CN109740134A
Method and system capable of supporting multi-service to execute report function
CN110633267A
Data security authorization access method, device and equipment and storage medium
CN110768790A
Service processing method and device, electronic equipment and storage medium
CN111047321A
Interactive financial quantitative index acquisition method, device and system
CN111461895A
