Financial loan credit evaluation system and method based on block chain

By combining multi-scale wavelet feature extraction and multi-level hashing algorithms, external variables are combined to calculate credit scores, and smart contracts are used to dynamically adjust loan interest rates and quotas, solving the dependence and inconsistency of credit evaluation data credibility in financial lending credit evaluation systems. issues, enabling more accurate and secure credit assessment and loan processing.

CN118691402APending Publication Date: 2024-09-24山东衡昊信息技术有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410917272.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing financial lending credit evaluation system based on blockchain has the problem of dependence on the credibility of credit evaluation data, which is easily affected by misleading or operational errors, leading to inaccurate evaluations; the selection and setting standards of preset credit values ​​are not specific, which may This leads to inconsistency in credibility assessment; credit assessment standards and processes lack dynamic adjustment.

Method used

Multi-scale wavelet feature enhancement transformation is used to extract financial data features, combined with external variables to calculate the credit score, and a multi-level hash algorithm is used to ensure the integrity and security of the credit score; smart contracts are used to dynamically adjust according to the borrower's credit score and economic environment Loan interest rate and amount.

Benefits of technology

It improves the accuracy and sensitivity of credit assessment, enhances the reliability and security of credit scores, ensures the efficiency and adaptability of loan processing, reduces manual operating errors, and provides fair and transparent loan conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691402A
    Figure CN118691402A
Patent Text Reader

Abstract

The invention discloses a financial loan credit evaluation system based on a block chain. The system comprises a financial data acquisition and preprocessing module, a feature extraction module, a credit score calculation module, a hash algorithm module, a block chain module and a user interaction module. The invention also discloses a financial loan credit evaluation method based on the block chain, and the method comprises the steps: obtaining financial data, carrying out the preprocessing of the financial data, and carrying out the feature extraction of the preprocessed financial data, and obtaining a financial data feature vector; converting the financial data feature vector into a single value, calculating a credit score in combination with an external variable, and applying a multi-level hash algorithm to the credit score to obtain an initial hash value; the credit score and the initial hash value are uploaded to the block chain, and the credit score is compared with the initial hash value by applying the multi-level hash algorithm again to perform consistency verification; and automatically adjusting the loan interest rate and limit according to the credit score of the borrower and the current economic environment. According to the scheme, the safety, the reliability and the consistency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a financial lending credit evaluation system and method based on blockchain. Background Art

[0002] In the traditional financial system, credit assessment has always been one of the most important links in financial lending. However, traditional credit assessment methods have many problems, such as information asymmetry and low data credibility. With the rapid development of blockchain technology, the financial lending credit assessment system and method based on blockchain have demonstrated unique technical advantages. By storing credit data on the blockchain, all transaction records are publicly saved and can be viewed and verified by any participant, thus achieving transparency and traceability of the transaction process. In addition, the data on the blockchain cannot be tampered with, ensuring the security and credibility of the data and effectively preventing the possibility of data being tampered with or manipulated. Blockchain technology is an Internet-based technology that can realize cross-border financial transactions and cooperation, which means that the financial lending credit assessment system based on blockchain is not restricted by geographical location and can provide broad space and possibilities for the development and integration of the global financial market.

[0003] A Chinese patent with application number CN202110849410.3 and publication date of October 15, 2021, discloses a blockchain-based credit assessment method and system, which determines the current credit value change corresponding to the target object based on the credit evaluation data corresponding to the target object received and stored in advance; writes the current credit value change corresponding to the target object into a new block of the credit evaluation blockchain to prevent the current credit value change from being tampered with; determines the current credit value corresponding to the target object based on the initial credit value of the target object stored in the genesis block of the credit evaluation blockchain, the current credit value change stored in the new block, and the historical credit value change of the target object stored in other blocks, which can effectively ensure the authenticity and accuracy of the current credit value corresponding to the target object.

[0004] However, the above technology has at least the following technical problems: processing credit evaluation by determining the credibility of each credit evaluation data leads to a dependency problem. When the credibility is misled or the operation is wrong, it will lead to inaccurate evaluation of the target object, thus affecting the authenticity of the overall evaluation; the selection and setting standards of the preset credit value are not specified, which may lead to inconsistency in credibility assessment; the standards and processes of credit evaluation lack dynamic adjustment according to the external environment. Summary of the invention

[0005] The present invention provides a financial lending credit evaluation system and method based on blockchain to solve the problem that the existing technology processes credit evaluation by determining the credibility of each credit evaluation data, which has a dependency problem. When the credibility is misled or the operation is wrong, it will lead to inaccurate evaluation of the target object, thereby affecting the authenticity of the overall evaluation; the selection and setting standards of the preset credit value are not specifically explained, which may lead to inconsistency in credibility evaluation; the standards and processes of credit evaluation lack dynamic adjustment according to the external environment.

[0006] A financial lending credit evaluation system based on blockchain of the present invention comprises:

[0007] The financial data acquisition and preprocessing module is used to acquire financial data from the data source, preprocess the acquired financial data, obtain the preprocessed financial data and output it;

[0008] A feature extraction module receives the preprocessed financial data and uses a multi-scale wavelet feature enhancement transform to extract features from the preprocessed financial data to obtain a feature vector of the financial data;

[0009] The credit score calculation module receives the financial data feature vector, uses the Euclidean norm to convert the financial data feature vector into a single value, and calculates the credit score in combination with external variables;

[0010] A hash algorithm module receives the credit score and applies a multi-level hash algorithm to the credit score to obtain an initial hash value;

[0011] The blockchain module receives the credit score from the credit score calculation module and the initial hash value from the hash algorithm module, applies the multi-level hash algorithm to the credit score again, obtains the hash value uploaded to the blockchain, and verifies the consistency with the initial hash value. After the verification is passed, the smart contract is used to automatically adjust the loan interest rate and amount according to the borrower's credit score and the current economic environment;

[0012] The user interaction module is used to provide an intuitive user interface function to display the borrower's loan information.

[0013] A blockchain-based financial lending credit assessment method comprises the following steps:

[0014] S1: Obtain financial data from a data source, preprocess the obtained financial data to obtain preprocessed financial data, use multi-scale wavelet feature enhancement transform to extract features from the preprocessed financial data, and obtain a financial data feature vector.

[0015] S2: Use the Euclidean norm to convert the financial data feature vector into a single value, combine it with external variables to calculate the credit score, and apply a multi-level hash algorithm to the credit score to obtain the initial hash value.

[0016] S3: Upload the credit score and the initial hash value to the blockchain, apply the multi-level hash algorithm to the credit score uploaded to the blockchain again, and compare it with the initial hash value for consistency verification.

[0017] S4: Use smart contracts to automatically obtain the borrower's credit score from the blockchain, and automatically adjust the loan interest rate and amount based on the borrower's credit score and the current economic environment.

[0018] As a specific implementation, in step S1, "using multi-scale wavelet feature enhancement transform to extract features from pre-processed financial data to obtain a financial data feature vector" specifically includes:

[0019] First, wavelet transform is performed. Using the mother wavelet, the coefficients of the transform are calculated according to different scales and translation parameters, capturing the local variation characteristics of financial data at different scales.

[0020] Then calculate the sum of squares of wavelet coefficients under all scales and translations;

[0021] Finally, a composite nonlinear function is applied to the aggregated results to adjust and enhance the dynamic range and expressiveness of the financial data feature vectors.

[0022] As a specific implementation, in step S1, the specific formula of the financial data feature vector is:

[0023]

[0024] Where F(t) represents the financial data feature vector; Represents financial data that changes over time; represents the mother wavelet function; represents the integral expression of continuous wavelet transform; |u| represents the absolute value of the scale parameter; Indicates the average of the results of all scales u and translations v; exp indicates the exponential function; log indicates the logarithmic function; sinh -1 Represents the inverse hyperbolic sine function.

[0025] As a specific implementation, the specific formula for obtaining the credit score in step S2 is:

[0026]

[0027] Among them, S t Represents the credit score, ranging from [0, 100], where 100 represents a constant factor; x t Represents a single value obtained by converting the financial data feature vector; tanh is the hyperbolic tangent function, and the output range is [-1, 1]; is the scaling factor; p and q are the coefficients of the linear part, p is x t The weight of , q is a bias term; represents the cumulative sum of the impacts of R external variables; γr represents the coefficient of the external variable; E r , t represents the value of the rth external variable at time t; is the external variable E r Normalization processing.

[0028] As a specific implementation, step S2 specifically further includes:

[0029] A multi-level hash algorithm is applied to the credit score to ensure that the credit score is consistent before and after being uploaded to the blockchain. The credit score is hashed for the first time using the SHA-256 hash function, and then the first XOR operation is performed with the first salt value. The second hash operation is performed using the hash function MD5, and then a nonlinear transformation is performed using the sine function. The second XOR operation is performed with the second random salt value, and finally the initial hash value is obtained using the SHA-512 hash function.

[0030] As a specific implementation, in step S2, the specific formula for applying the multi-level hash algorithm to the credit score to obtain the initial hash value is:

[0031]

[0032] Among them, h(S t ) represents the initial hash value; S t represents the credit score; α1 represents the first random salt value, and α2 represents the second random salt value; is the exclusive-OR operator; sin is a nonlinear transformation function; SHA-256, MD5, and SHA-512 represent hash functions.

[0033] As a specific implementation, step S3 specifically includes:

[0034] The credit score and initial hash value are uploaded to the blockchain, and the multi-level hash algorithm is applied again to the credit score uploaded to the blockchain to obtain the hash value after uploading to the blockchain, which is compared with the initial hash value stored in the blockchain for consistency verification.

[0035] As a specific implementation, in step S4, the formula for dynamically adjusting the loan interest rate is:

[0036] L t =L0+(L0×β1×exp(-β2×(S t -S0)))+(L0×β3×M t )

[0037] Among them, L trepresents the loan interest rate at time t; L0 represents the base interest rate; β1 adjusts the impact of credit score on interest rate; β2 determines the sensitivity of credit score change to interest rate; β3 adjusts the impact of market index on interest rate; exp is a natural exponential function; S t represents the credit score; S0 represents the credit score baseline; M t Represents the market volatility index.

[0038] As a specific implementation, in step S4, the formula for dynamic adjustment of loan amount is:

[0039] C t =C0×(1+δ×tanh(∈×(S t -S0)))

[0040] Among them, C t Indicates the adjusted loan amount; C0 indicates the maximum loan amount initially set; 6 adjusts the intensity of the impact of credit score changes on the loan amount; ∈ Determines the sensitivity of credit score changes to loan amounts; tanh is the hyperbolic tangent function; S t represents the credit score; S0 represents the credit score baseline.

[0041] The technical solution of the present invention has at least the following beneficial effects:

[0042] 1. Use multi-scale wavelet feature enhancement transform to extract features from pre-processed financial data, which can capture the local change characteristics of financial data at different scales, and further enhance the features by calculating the sum of squares of wavelet coefficients and applying composite nonlinear functions, thereby improving the dynamic range and expressiveness of financial data features, making credit assessment more accurate and sensitive.

[0043] 2. The introduction of coefficients and normalization processing of external variables improves the comprehensiveness and accuracy of credit scores, comprehensively considers economic and market factors, and improves the reliability of credit scores.

[0044] 3. Combining SHA-256, MD5 and SHA-512 hash functions, and introducing salt values ​​and nonlinear transformation functions, multi-level hash processing is performed on the credit score, which increases the difficulty and complexity of credit score integrity verification, effectively resists rainbow table attacks, and ensures the security and consistency of credit scores during transmission on the blockchain.

[0045] 4. The decentralized and tamper-proof characteristics provided by blockchain enhance the trust and security of financial data and are suitable for financial scenarios that require a high degree of trust and security.

[0046] 5. Smart contracts can dynamically adjust loan interest rates and amounts based on market conditions and personal credit status, improving the efficiency and adaptability of loan processing, reducing errors and biases in manual operations, and providing fair and transparent loan conditions for borrowers and lenders. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 This is a structural diagram of a financial lending credit evaluation system based on blockchain according to an embodiment of the present invention;

[0048] Figure 2 This is a flowchart of a blockchain-based financial lending credit assessment method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the 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.

[0050] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0051] The specific scheme of the financial lending credit assessment system and method based on blockchain provided by the present invention is described in detail below with reference to the accompanying drawings.

[0052] The present application embodiment provides a financial lending credit evaluation system based on blockchain, referring to Figure 1 ,The system includes a financial data acquisition and preprocessing module, a feature extraction module, a credit score ,calculation module, a hash algorithm module, a blockchain module, and a user ,interaction module.

[0053] The financial data acquisition and preprocessing module is used to acquire financial data from a data source using an application programming interface (API), preprocess the acquired financial data to obtain preprocessed financial data, and output the preprocessed financial data to a feature extraction module.

[0054] The feature extraction module is used to receive the preprocessed financial data from the financial data acquisition and preprocessing module, use the multi-scale wavelet feature enhancement transform to extract features from the preprocessed financial data, obtain the financial data feature vector, and output the financial data feature vector to the credit score calculation module.

[0055] The credit score calculation module is used to receive the financial data feature vector from the feature extraction module, use the Euclidean norm to convert the financial data feature vector into a single value, calculate the credit score in combination with external variables, and output the credit score to the hash algorithm module and the blockchain module.

[0056] The hash algorithm module is used to receive the credit score from the credit score calculation module, apply the multi-level hash algorithm to the credit score, obtain the initial hash value, and output the initial hash value to the blockchain module.

[0057] The blockchain module is used to receive the credit score from the credit score calculation module and the initial hash value from the hash algorithm module, apply the multi-level hash algorithm to the credit score again, obtain the hash value after uploading to the blockchain, and verify the consistency with the initial hash value. After the verification is passed, the smart contract is used to automatically adjust the loan interest rate and amount according to the borrower's credit score and the current economic environment.

[0058] The user interaction module is used to provide an intuitive user interface function to display the borrower's loan information. For example, the loan information includes credit score, loan interest rate, loan amount, and loan contract terms.

[0059] Another embodiment of the present invention provides a financial lending credit assessment method based on blockchain, referring to the attached Figure 2 , including the following steps:

[0060] S1: Obtain financial data from a data source, preprocess the obtained financial data to obtain preprocessed financial data, use multi-scale wavelet feature enhancement transform to extract features from the preprocessed financial data, and obtain a financial data feature vector.

[0061] The financial data is obtained from the data source through the application programming interface API, and the obtained financial data is preprocessed to obtain the preprocessed financial data set D = {d1, d2, ...d n}, n represents the number of preprocessed financial data, d i represents the i-th preprocessed financial data, such as transaction data, loan data, i∈[1,n]; illustratively, the data source includes a financial institution database and an online trading platform; the specific application programming interface API and preprocessing method are technical means well known to those skilled in the art and will not be elaborated here.

[0062] In the embodiment of the present invention, the pre-processed financial data set D = {d1, d2, ...d n} to perform feature extraction on financial data.

[0063] First, wavelet transform is performed, using the mother wavelet ψ, and the transformation coefficients are calculated according to different scale u and translation v parameters, capturing the local variation characteristics of financial data at different scales. Then, the sum of squares of wavelet coefficients under all scales and translations is calculated, and finally a composite nonlinear function is applied to the aggregated results, aiming to further adjust and enhance the dynamic range and expressiveness of the financial data feature vector. The specific formula is:

[0064]

[0065] Where F(t) represents the financial data feature vector; Represents financial data that changes over time; represents the mother wavelet function, which is a localized waveform function with a mean value of zero, transformed by scale u and translation v parameters, and is used to extract features from financial data; represents the integral expression of continuous wavelet transform, which is used to extract the scale and position characteristics of financial data; |u| represents the absolute value of the scale parameter, which is used for normalization of wavelet transform; It represents the average of the results of all scales u and translations v, which is used to integrate the wavelet transform results obtained at different scales and translations; exp represents the exponential function, which is used for weighting and feature enhancement to amplify the important information in the features; log represents the logarithmic function, which is used for the scale and distribution transformation of structured financial data; sinh -1 Represents the inverse hyperbolic sine function, which is used for nonlinear transformations and can help adjust the distribution of eigenvalues.

[0066] S2: Use the Euclidean norm to convert the financial data feature vector into a single value, combine it with external variables to calculate the credit score, and apply a multi-level hash algorithm to the credit score to obtain the initial hash value.

[0067] Use the Euclidean norm to convert the financial data feature vector F(t) into a single value x t , the specific formula is:

[0068] x t =||F(t)||2

[0069] Among them, x t represents a single numerical value obtained by converting the financial data feature vector F(t); ||F(t)||2 represents the Euclidean norm of F(t).

[0070] The credit score is calculated by combining the single numerical value obtained by converting the characteristic vector of financial data with external variables, taking into account economic and market factors, thereby improving the reliability of the credit score.

[0071] The specific formula for credit score is:

[0072]

[0073] Among them, S t Represents the credit score, which is a value between 0 and 100, representing the credit level of the borrower; 100 represents a constant factor to ensure that the output range is [0, 100]; x t Represents a single value obtained by converting the eigenvector of financial data; tanh is a nonlinear function with an output range of [-1, 1], which helps to handle extreme values ​​and make the changes in credit scores smoother; is the scaling factor, which is used to adjust the sensitivity of the hyperbolic tangent function. By adjusting the value of α, the sensitivity of the input x is controlled. t The response speed and amplitude; p and q are the coefficients of the linear part, p is x t The weight of , and q is a bias term, both of which together determine the shape and position of the rational function; represents the cumulative sum of the impact of R external variables; Yr represents the coefficient of the external variable, which is used to adjust the impact of the external variable on the credit score; E r,t represents the value of the rth external variable at time t, such as economic indicators, industry risks, and policy environment; is the external variable E r The normalization process is used to limit the impact of external variables to the range of 0 to 1 to avoid excessive influence of a single variable on the overall score.

[0074] In order to ensure the credit score S uploaded to the blockchain t The credit score S is not tampered with during the upload process and before being uploaded to the blockchain. t The multi-level hash algorithm is applied. The multi-level hash algorithm enhances the security of the credit score by combining three hash functions, SHA-256, MD5 and SHA-512, and introducing two salt values ​​α1 and α2 and nonlinear transformation functions, such as sin, for the credit score S t Consistency verification before and after uploading to the blockchain.

[0075] The above two salt values ​​are random binary strings of fixed length, which are used to increase the security of the multi-level hash algorithm in order to prevent rainbow table attacks on the hash function.

[0076] Credit score S t Use SHA-256 for the first hash operation, then combine with the salt value α1 for the first XOR operation, use the hash function MD5 for the second hash operation, then apply a nonlinear transformation function, such as a sine function, and combine with the salt value α2 for the second XOR operation, and use SHA-512 for the final hash operation to obtain the initial hash value h(S t ).

[0077] Credit score S t The specific formula for applying the multi-level hash algorithm is:

[0078]

[0079] Among them, h(S t ) represents the initial hash value, used for the credit score S t Integrity verification before and after uploading to the blockchain; S t Represents the credit score; α1 and α2 represent salt values, which are random binary strings of fixed length; is the XOR operator, which means bitwise XOR operation, and is used to combine the hash value and the salt value to increase the difficulty of cracking; sin is a nonlinear transformation function, which is used to increase the complexity and nonlinear characteristics of the multi-level hash algorithm; SHA-256, MD5 and SHA-512 represent hash functions, which are used to perform hash operations on credit scores and provide security protection;

[0080] Credit score S t Apply the multi-level hash algorithm to obtain the initial hash value h(St).

[0081] S3: Upload the credit score and the initial hash value to the blockchain, apply the multi-level hash algorithm to the credit score uploaded to the blockchain again, and compare it with the initial hash value for consistency verification.

[0082] The credit score and the initial hash value h(S t ) is uploaded to the blockchain. In order to ensure that the credit score has not been tampered with during the process of uploading to the blockchain, the multi-level hash algorithm is applied again to the credit score after uploading to the blockchain to obtain the hash value after uploading to the blockchain, which is compared with the initial hash value stored in the blockchain to obtain the verification result.

[0083] Consistency verification formula:

[0084]

[0085] Where V is the verification variable, and the result is a Boolean value (true or false); if...then true else false is a conditional expression used to determine whether the two hash values ​​are equal. If they are equal, true is returned, indicating that the verification is successful and the credit score has not been tampered with; if they are not equal, false is returned, indicating that the verification failed and the credit score may have been tampered with; S′ t It indicates the credit score after uploading to the blockchain; α1 and α2 indicate the salt value, which is consistent with the salt value of the multi-level hash algorithm before uploading to the blockchain; It is the XOR operator, which means bitwise XOR operation, and is used to combine the hash value and the salt value to increase the difficulty of cracking; sin is a nonlinear transformation function, which is used to increase the complexity and nonlinear characteristics of the multi-level hash algorithm; SHA-256, MD5 and SHA-512 represent hash functions, which are used to perform hash operations on credit scores and provide security protection.

[0086] If the consistency verification is passed, the credit score S′ after uploading to the blockchain t That is the credit score S t , the credit score will be stored on the blockchain. If the consistency verification fails, the multi-level hash algorithm will be re-applied to the credit score. After the credit score is re-uploaded, the multi-level hash algorithm will be applied again for consistency verification until the consistency verification passes.

[0087] S4: Use smart contracts to automatically obtain the borrower's credit score from the blockchain, and automatically adjust the loan interest rate and amount based on the borrower's credit score and the current economic environment.

[0088] The credit score of the borrower is automatically obtained from the blockchain through smart contracts, and the loan interest rate and amount are dynamically adjusted according to the borrower's credit score and the current economic environment. Smart contracts are a technical means well known to those skilled in the art and will not be elaborated here.

[0089] Dynamic adjustment formula for loan interest rate:

[0090] L t =L0+(L0×β1×exp(-β2×(S t -S0)))+(L0×β3×M t )

[0091] Among them, L t represents the loan interest rate at time t; L0 represents the base interest rate, which is the starting interest rate of the loan and is set based on the standard interest rate of the financial institution; β1 adjusts the impact of the credit score on the interest rate; β2 determines the sensitivity of the credit score change to the interest rate; β3 adjusts the impact of the market index on the interest rate; exp is a natural exponential function, which is used to strengthen the nonlinear impact of the credit score change on the interest rate; S t Represents the credit score, which affects the loan interest rate; S0 represents the credit score baseline, which is used to compare and calculate the credit score change; M t It represents the market volatility index, an indicator of the current market economic conditions, such as stock market performance and macroeconomic data.

[0092] Dynamic adjustment formula for loan amount:

[0093] C t =C0×(1+6×tanh(∈×(S t -S0)))

[0094] Among them, C t represents the adjusted loan amount, which is dynamically adjusted according to the borrower's credit score changes; C0 represents the initial maximum loan amount, which is set based on the financial institution's loan policy and the borrower's basic qualifications; 6 adjusts the intensity of the impact of credit score changes on the loan amount; ∈ Determines the sensitivity of the impact of credit score changes on loan amounts; tanh is a hyperbolic tangent function, which is used to smooth the impact of credit score changes on loan amounts, ensuring that loan amount adjustments are within a reasonable range and avoiding extreme changes; S t It represents the credit score, which affects the loan amount; S0 represents the credit score baseline, which is used to compare and calculate the credit score changes.

[0095] The smart contract automatically updates the terms of the loan contract based on the dynamically adjusted loan interest rate and loan amount. The specific terms of the loan contract can be set according to the specific implementation scenario and are not limited here.

[0096] The order of the embodiments of the invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0097] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0098] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. A financial lending credit assessment system based on blockchain, characterized in that: include: The financial data acquisition and preprocessing module is used to acquire financial data from the data source, and preprocess the acquired financial data to obtain and output the preprocessed financial data; A feature extraction module receives the preprocessed financial data and uses a multi-scale wavelet feature enhancement transform to extract features from the preprocessed financial data to obtain a feature vector of the financial data; A credit score calculation module receives the financial data feature vector, converts the financial data feature vector into a single value using a Euclidean norm, and calculates a credit score in combination with external variables; A hash algorithm module receives the credit score and applies a multi-level hash algorithm to the credit score to obtain an initial hash value; The blockchain module receives the credit score from the credit score calculation module and the initial hash value of the hash algorithm module, applies the multi-level hash algorithm to the credit score again, obtains the hash value uploaded to the blockchain, performs consistency verification with the initial hash value, and after the verification is passed, automatically adjusts the loan interest rate and amount according to the borrower's credit score and the current economic environment using a smart contract; The user interaction module is used to provide an intuitive user interface function to display the borrower's loan information.

2. A financial lending credit assessment method based on blockchain, characterized in that: The following steps are involved: S1: Obtain financial data from a data source, preprocess the obtained financial data to obtain preprocessed financial data, and use multi-scale wavelet feature enhancement transform to extract features from the preprocessed financial data to obtain a financial data feature vector; S2: Use the Euclidean norm to convert the financial data feature vector into a single value, combine it with external variables to calculate the credit score, and apply a multi-level hash algorithm to the credit score to obtain the initial hash value; S3: Upload the credit score and the initial hash value to the blockchain, apply the multi-level hash algorithm to the credit score uploaded to the blockchain again, and compare it with the initial hash value for consistency verification; S4: Use smart contracts to automatically obtain the borrower's credit score from the blockchain, and automatically adjust the loan interest rate and amount based on the borrower's credit score and the current economic environment.

3. The blockchain-based financial lending credit assessment method according to claim 2, characterized in that: In step S1, "using multi-scale wavelet feature enhancement transform to extract features from the pre-processed financial data to obtain a financial data feature vector" specifically includes: First, wavelet transform is performed. Using the mother wavelet, the coefficients of the transform are calculated according to different scales and translation parameters, capturing the local variation characteristics of financial data at different scales. Then calculate the sum of squares of wavelet coefficients under all scales and translations; Finally, a composite nonlinear function is applied to the aggregated results to adjust and enhance the dynamic range and expressiveness of the financial data feature vectors.

4. The blockchain-based financial lending credit assessment method according to claim 3, characterized in that: In step S1, the specific formula of the financial data feature vector is: Where F(t) represents the financial data feature vector; Represents financial data that changes over time; represents the mother wavelet function; represents the integral expression of continuous wavelet transform; |u| represents the absolute value of the scale parameter; Indicates the average of the results of all scales u and translations v; exp indicates the exponential function; log indicates the logarithmic function; sinh -1 Represents the inverse hyperbolic sine function.

5. The blockchain-based financial lending credit assessment method according to claim 2, characterized in that: The specific formula for the credit score in step S2 is: Among them, S t Represents the credit score, ranging from [0,100], where 100 represents a constant factor; x t Represents a single value obtained by converting the financial data feature vector; tanh is the hyperbolic tangent function, and the output range is [-1, 1]; is the scaling factor; p and q are the coefficients of the linear part, p is x t The weight of , q is a bias term; represents the cumulative sum of the impact of R external variables; Yr represents the coefficient of the external variable; E r ,t represents the value of the rth external variable at time t; is the external variable E r Normalization processing.

6. The blockchain-based financial lending credit assessment method according to claim 5, characterized in that: Step S2 specifically also includes: A multi-level hash algorithm is applied to the credit score to ensure that the credit score is consistent before and after being uploaded to the blockchain. The credit score is hashed for the first time using the SHA-256 hash function, and then the first XOR operation is performed with the first salt value. The second hash operation is performed using the hash function MD5, and then a nonlinear transformation is performed using the sine function. The second XOR operation is performed with the second random salt value, and finally the initial hash value is obtained using the SHA-512 hash function.

7. The blockchain-based financial lending credit assessment method according to claim 6, characterized in that: In step S2, the specific formula for applying the multi-level hash algorithm to the credit score to obtain the initial hash value is: Among them, h(S t ) represents the initial hash value; S t represents the credit score; α1 represents the first random salt value, and α2 represents the second random salt value; is the exclusive-OR operator; sin is a nonlinear transformation function; SHA-256, MD5, and SHA-512 represent hash functions.

8. The blockchain-based financial lending credit assessment method according to claim 2, characterized in that: Step S3 specifically includes: The credit score and initial hash value are uploaded to the blockchain, and the multi-level hash algorithm is applied again to the credit score uploaded to the blockchain to obtain the hash value after uploading to the blockchain, which is compared with the initial hash value stored in the blockchain for consistency verification.

9. The blockchain-based financial lending credit assessment method according to claim 2, characterized in that: In step S4, the formula for dynamic adjustment of loan interest rate is: L t =L0+(L0×β1×exp(-β2×(S t -S0)))+(L0×β3×M t ) Among them, L t represents the loan interest rate at time t; L0 represents the base interest rate; β1 adjusts the impact of credit score on interest rate; β2 determines the sensitivity of credit score change to interest rate; β3 adjusts the impact of market index on interest rate; exp is a natural exponential function; S t represents the credit score; S0 represents the credit score baseline; M t Represents the market volatility index.

10. The blockchain-based financial lending credit assessment method according to claim 2, characterized in that: In step S4, the formula for dynamic adjustment of loan amount is: C t =C0×(1+δ×tanh(∈×(S t -S0))) Among them, C t represents the adjusted loan amount; C0 represents the maximum loan amount initially set; δ adjusts the intensity of the impact of credit score changes on the loan amount; ∈ determines the sensitivity of the impact of credit score changes on the loan amount; tanh is the hyperbolic tangent function; S t represents the credit score; S0 represents the credit score baseline.

Citation Information

Patent Citations

  • Inspection method and inspection subsystem and data storage signature link system applying same

    CN107273514A

  • Verification method of contract data and its network and electronic equipment

    CN109472164A

  • Time series data feature extraction method and device, equipment and storage medium

    CN112163558A

  • Financial risk assessment method and system, computer and readable storage medium

    CN115759750A

  • Data integrity verification method and system based on block chain

    CN116069856A