A loan credit system based on multi-source data fusion
By designing a multi-source data fusion system in credit institutions and using data registration, storage and retention nodes for decentralized data storage and secure multi-party calculations, the problem of difficult data fusion in credit review is solved and more accurate credit review and data security are achieved. sex.
Patent Information
- Application Number
- CN202110997257.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-08-27
AI Technical Summary
Credit institutions are unable to effectively integrate multi-source data in credit review, resulting in inaccurate credit review.
Design a loan credit system based on multi-source data fusion, through data registration nodes, data storage nodes, retention nodes and credit nodes, to achieve decentralized storage of data and secure multi-party calculations, ensuring data privacy and input and output of credit models at the same time .
It improves the accuracy of credit review and data security, enhances data privacy protection, and improves the execution efficiency of the credit model.
Smart Images

Figure CN113886867B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a loan credit system based on multi-source data fusion. Background Art
[0002] With the development of information technology, new technologies represented by intelligent manufacturing and machine learning are ushering in a new revolution. Machine learning is a multidisciplinary cross-disciplinary major that covers probability theory, statistics, approximate theory and complex algorithm knowledge. It uses computers as tools and is committed to simulating human learning methods in real time, and divides existing content into knowledge structures to effectively improve learning efficiency. At present, the data required for machine learning is scattered in different enterprise and department systems. Due to privacy protection needs, competitive relationships and other reasons, it is difficult to share and integrate current data, forming data islands. Among them, the financial industry is a key area for machine learning applications. For example, in financial business scenarios such as financial credit, credit consumption rating, and information verification, machine learning and related technologies have been fully utilized. When users apply for loan business, machine learning technology is used to grasp the user's asset-related data with higher authenticity, and then obtain credit assessment and default risk assessment, reduce financial risks, and enhance the liquidity of funds. However, the current application of big data in the financial field faces the problem of insufficient data. Therefore, it is necessary to develop a data fusion mechanism to achieve data sharing and circulation under the premise of ensuring data privacy.
[0003] For example, Chinese patent CN112613977A, published on April 6, 2021, is a method and system for personal credit loan access and credit granting based on government data. The method includes: based on government data, using the model's access strategy set and differentiation rules to screen customers and obtain access customers; based on government data, using machine learning set algorithms to train the relationship between government data and credit risk, and constructing an access model; using the access model to conduct credit risk assessment on access customers and obtain customer credit scores; using machine learning set algorithms to train the relationship between government data and credit limits, and constructing a credit model; using the credit model to calculate the customer's basic credit limit; adjusting risks based on customer credit scores and the number of customer co-debtors; using risk coefficients and basic credit limits to obtain the customer's final credit limit; its technical solution can reduce the pressure of access approval, make full use of the value of government data itself, and accurately control the risks of financial institutions themselves while expanding inclusive financial services. However, it is only applicable to data fusion within the same institution, not suitable for data fusion between different institutions, and cannot promote data flow fusion. Summary of the invention
[0004] The technical problem to be solved by the present invention is that currently credit institutions cannot integrate multi-source data to provide more accurate credit review during credit review. A loan credit system based on multi-source data fusion is proposed, which can integrate data from multiple data sources for credit review under the premise of protecting privacy.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a loan credit system based on multi-source data fusion, including a data registration node, a plurality of data storage nodes, a plurality of retention nodes and a credit node, the data registration node receives and discloses the data description text and external primary key field identification information submitted by the data source, and assigns row numbers to the data rows of the data source, the external primary key field is the identification information of the loan applicant, the retention node is set on the data source, the retention node synchronizes data with the data source system, the retention node makes a plurality of copies of the data row, the copies are associated with the row number, the retention node retains a copy as a reserved copy, the true value of the numeric field of the data row is split into a plurality of addends, the plurality of addends are respectively assigned to a plurality of copies, and the true value of the numeric field is stored by the reserved copy The remaining copies store obfuscated values. Several copies are respectively assigned to several data storage nodes for storage. When the real value of the data row changes, the reserved node superimposes the change on the reserved copy. The credit node receives the credit model provided by the lending institution. The input of the credit model is multiple data fields of multi-source data. The output of the credit model is the credit line. The credit node receives the external primary key field value submitted by the lending institution. The data registration node sends the row number of the data row matching the external primary key field value to the credit node. The credit node sends the row number to the data storage node and the reserved node. The data storage node and the reserved node send a copy to the credit node. After the credit node restores the data row, it substitutes the data row into the credit model to obtain the credit line, and feeds the credit line back to the lending institution.
[0006] Preferably, the data registration node agrees on a salt with the data source and the lending institution, and the retention node adds salt to the real value of the external primary key field of the data row and extracts a hash value, which is published as the external primary key field identifier.
[0007] Preferably, the data registration node establishes a salted hash value API, which receives numerical values submitted by the data source and the lending institution and returns a hash value extracted after salting the numerical value.
[0008] Preferably, the data source establishes a substitute number table, replaces the values of non-numeric fields with corresponding substitute numbers, the data registration node establishes several copies of the received data rows, the number of copies matches the number of data storage nodes, the substitute numbers of the non-numeric fields of the data rows are split into several addends, the numeric fields of the data rows are split into several addends, the addends are allocated to the copies for storage, one of the several copies is selected as the retained copy, the retained copy is stored in the retained node, and the remaining copies are allocated to several data storage nodes for storage.
[0009] Preferably, before the trusted node restores the data row, it performs the following steps on the trusted model: extract the weighted sum calculation formula in the trust model; the data storage node calls the corresponding copy, substitutes the addends stored in the copy into the weighted sum calculation formula, obtains the intermediate sum, and sends the intermediate sum to the trusted node; the trusted node adds all the intermediate sums, that is, obtains the real value and substitutes it into the result of the weighted sum calculation formula; the trusted node substitutes the result of the weighted sum calculation formula into the trust model, and for the non-weighted sum calculation formula, constructs a secure multi-party calculation and sends it to several data storage nodes for solution.
[0010] Preferably, the data storage node has opened up several storage areas, and the storage area includes several storage blocks. The space of the storage block matches the space required for the replica and the row number. The data storage node is provided with several exchange pairs for each storage area. The data storage node appends the latest received replica to the free storage block of the current storage area, checks whether there is a bit-aligned exchange pair between the replica and the previous replica, and if so, exchanges the storage position of the aligned exchange pair contents; if there is no free storage block in the storage area, stores the replica in the first storage block of the new storage area, and does not check the exchange pair; when retrieving the data row corresponding to the row number, the data storage node finds the storage block where the replica is stored according to the row number; first downward Check whether there is an aligned swap pair with the copy of the next storage block. If so, continue to check downward at the position of the checked swap pair to see if there is an aligned swap pair; if so, continue to check downward at the position of the most recently checked swap pair to see if there is an aligned swap pair, until no swap pair is found or the last storage block in the storage area is reached; make a copy of all the storage blocks that are found to have swap pairs, and start from the last storage block, swap the storage positions of the aligned swap pairs in sequence to restore the copies; after restoration, check whether there is an aligned swap pair with the copy of the previous storage block. If so, swap the storage positions of the aligned swap pairs; that is, restore the copy in the storage block corresponding to the row number.
[0011] Preferably, the reserved node calculates the true value of the field in the data row and the value of the square to the Nth power, and creates a new square to Nth power column for each numeric field in the copy; the 1st to Nth power value of the field true value is split into several addends, and respectively distributed to the reserved copy and the remaining copies for storage; before the trusted node constructs a secure multi-party computation, the following steps are performed on the trusted model: extract a unary calculation formula that can be Taylor expanded with the true value as input, expand the unary calculation formula into a Taylor expansion, and the Taylor expansion is a weighted sum calculation formula of the 1st to Nth power values of the true value; send the weighted sum calculation formula to several data storage nodes, the data storage nodes call the corresponding copies, substitute the 1st to Nth power addends stored in the copies into the weighted sum calculation formula, obtain the intermediate sum, and send the intermediate sum to the trusted node; the trusted node adds all the intermediate sums, that is, obtains the approximate result of substituting the true value into the unary calculation formula; substitute the approximate result of the unary calculation formula into the trusted model, and construct a secure multi-party computing solution for the non-weighted sum calculation formula.
[0012] Preferably, the trusted node judges the error of the approximate result obtained by calculating the unary calculation formula using Taylor expansion. If the error exceeds a preset percentage, the approximate result is discarded, and secure multi-party calculation is re-established to solve the unary calculation formula. If the error does not exceed the preset percentage, the approximate result is retained. The trusted node performs the following steps to judge the error: the trusted node reversely calculates the approximate true value based on the approximate result and the unary calculation formula; multiplies the approximate true value by a coefficient k, k=1+△, △ is a preset percentage, substitutes the approximate true value corrected by the coefficient k into the unary calculation formula to obtain a corrected approximate result; if the difference between the absolute value of the corrected approximate result and the approximate result exceeds a preset percentage, it is determined that the error exceeds the preset percentage.
[0013] Preferably, the trusted node runs a privacy and security check module, which lists the outputs of the trusted model and the input fields involved in each output. If the output involves only one input field, the privacy and security check fails and the trusted node rejects the trusted model.
[0014] The substantial effects of the present invention are: 1) by superimposing the data changes of the data source to the retained copy, the credit model can retrieve the latest data and obtain a more accurate credit limit; 2) by dispersing the data into multiple copies, the security and privacy of the data are further improved through secure multi-party computing; 3) the execution efficiency of the credit model is improved through improved secure multi-party computing. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a schematic diagram of the structure of the loan credit system in Example 1.
[0016] Figure 2 This is a schematic diagram of a credit model execution method according to Example 1.
[0017] Figure 3 This is a schematic diagram of the credit model execution method of Example 2.
[0018] Figure 4 Schematic diagram of the error analysis method of Example 2.
[0019] Figure 5 Schematic diagram of the error judgment method of embodiment 2.
[0020] Among them: 10, data source, 20, data registration node, 30, data storage node, 40, retention node, 50, credit node, 51, credit model, 60, lending institution. DETAILED DESCRIPTION
[0021] The specific implementation of the present invention will be further described below through specific examples in conjunction with the accompanying drawings.
[0022] Embodiment 1:
[0023] A loan credit system based on multi-source data fusion, please refer to the attached Figure 1, this embodiment includes a data registration node 20, a plurality of data storage nodes 30, a plurality of retention nodes 40 and a credit node 50. The data registration node 20 receives and publishes the data description text and external primary key field identification information submitted by the data source party 10, and assigns a row number to the data row of the data source party 10. The external primary key field is the identification information of the loan applicant. The retention node 40 is set at the data source party 10. The retention node 40 synchronizes data with the data source party 10 system. The retention node 40 makes a plurality of copies for the data row. The copies are associated with the row number. The retention node 40 retains a copy as a reserved copy. The true value of the numeric field of the data row is split into a plurality of addends. The plurality of addends are respectively assigned to the plurality of copies. The true value of the numeric field is stored by the reserved copy, and the remaining copies store the obfuscated value. The plurality of copies are respectively divided into It is allocated to several data storage nodes 30 for storage. When the real value of the data row changes, the retention node 40 adds the change to the retained copy. The credit node 50 receives the credit model 51 provided by the lending institution 60. The input of the credit model 51 is multiple data fields of multi-source data. The output of the credit model 51 is the credit limit. The credit node 50 receives the external primary key field value submitted by the lending institution 60. The data registration node 20 sends the row number of the data row matching the external primary key field value to the credit node 50. The credit node 50 sends the row number to the data storage node 30 and the retention node 40. The data storage node 30 and the retention node 40 send a copy to the credit node 50. After the credit node 50 restores the data row, it substitutes the data row into the credit model 51 to obtain the credit limit, and feeds the credit limit back to the lending institution 60.
[0024] The data registration node 20 agrees on a salt with the data source 10 and the lending institution 60. The retention node 40 adds salt to the real value of the external primary key field of the data row and extracts the hash value, which is made public as the external primary key field identifier. When used to disclose the value of the external primary key field, such as the external primary key field is the ID card number or mobile phone number, in order not to disclose the user's ID card number and mobile phone number directly on the model node, which leads to privacy issues. The model node instead discloses the hash value of the ID card number and mobile phone number. The use of hash values can also be used to find the intersection of data. For example, in the loan data disclosed by Bank A, the mobile phone number of the borrower is recorded, assuming it is 18*******22, and in the deposit statistics data disclosed by Bank B, the mobile phone number of the same resident is recorded as 18*******22. Then Bank A publishes SHA256 (18*******22) = 57A4AC1BBC03679EF2EEB5DA678095746FFC6A055DFB25C4538BCABEEC988E9F. Similarly, when Bank B publishes, it also calculates SHA256 for the mobile phone number 18*******22 and obtains the same result. By comparing the two, the two data rows can be associated. For example, when lending institution 60C grants credit to its users, it grants credit to the same resident, and the mobile phone number is also 18*******22. You can use the resident's ID card number to query the resident's business data in other banks, or you can use the mobile phone number to query. Lending institution 60C extracts the hash value of the mobile phone number 18*******22. From the mobile phone number hash value published by the model node, you can find two records with the same hash value, which are the loan data of Bank A and the deposit data of Bank B.
[0025] Although the hash value cannot be directly used to reverse calculate the original mobile phone number, there is still a risk. That is, there is a risk of obtaining the original ID card number or mobile phone number through a collision attack. That is, when the hash value of the mobile phone number is known, 57A4AC1BBC03679EF2EEB5DA678095746FFC6A055DFB25C4538BCABEEC988E9F, exhaustively search all the mobile phone numbers in the number segment sold by telecom operators, and use SHA256 to extract the hash value for comparison. Within a certain period of time, it is possible to exhaustively search for a mobile phone number whose hash value is exactly equal to 57A4AC1BBC03679EF2EEB5DA678095746FFC6A055DFB25C4538BCABEEC988E9F, and thus obtain the original mobile phone number. For the ID card number, the first 6 digits are the area code and the middle 8 digits are the date of birth, both of which have limited values, so the original ID card number plaintext can also be obtained through exhaustive means. To this end, it is necessary to use salting to further improve the security of the data. In cryptography, salting refers to inserting a specific string at any fixed position in the password so that the hashed result does not match the hashed result of the original password. This process is called "salting". For example, if the salt of the mobile phone number is to add the characters PHE at the beginning and HUD at the end, the mobile phone number 18*******22 will be: PHE18*******22HUD after salting, and the hash value of PHE18*******22HUD is: BDA2773420943B5589CC8C5A406E97A921D140753C431958C8D80B96E59506C1. Since the salt is random, its length and form are uncertain, and it is unacceptable to use exhaustive means. This effectively protects the privacy of the user's data. At the same time, the data source 10 can still easily solve the intersection of the data by using the same salt to extract the hash value.
[0026] To prevent the salt from being leaked, the data registration node 20 establishes a salted hash value API, which receives the values submitted by the data source party 10 and the lending institution 60, and returns the hash value extracted after adding salt to the value. That is, the mobile phone number 18*******22 is submitted to the API, and the returned salted hash value is: BDA2773420943B5589CC8C5A406E97A921D140753C431958C8D80B96E59506C1, and this hash value is used to find the intersection. The data source party 10 does not know the salt, and the salt will not be leaked.
[0027] The data source 10 establishes a substitute number table, replaces the value of the non-numeric field with the corresponding substitute number, and the data registration node 20 establishes several copies for the received data row, the number of copies matches the number of data storage nodes 30, splits the substitute number of the non-numeric field of the data row into several addends, splits the numeric field of the data row into several addends, and the addends are allocated to the copy storage, and one of the several copies is selected as the reserved copy, and the reserved copy is stored in the reserved node 40, and the remaining copies are allocated to several data storage nodes 30 for storage. As shown in Table 1, this is the substitute number table used in this embodiment. After replacing the label field such as academic qualifications with the substitute number, the non-numeric field can be processed using a calculation formula. For non-numeric fields such as remarks that do not have a clear value range, it is difficult to be recognized by machine learning, so this embodiment discards such fields and does not consider them.
[0028] Table 1 Alternative numbers used in this example
[0029]
[0030] For example, different treatments are performed for different educational backgrounds, such as undergraduate and above and junior college and below, so that it can be determined whether the replacement number is greater than 2. If it is greater than 2, the numerical calculation for undergraduate and above is performed. If it is not greater than 2, the numerical calculation for junior college and below is performed. When the machine learning model is a neural network model, it can be trained with a large amount of data to realize the function of the neural network model identifying educational background and performing corresponding calculations and outputs. Before calling the relevant data of the loan applicant into the credit model 51, the consent and authorization of the loan applicant must be obtained first.
[0031] The data storage node 30 is provided with a plurality of exchange pairs for each storage area. The data storage node 30 stores the latest received copy in the free storage block of the current storage area, checks whether there is an exchange pair aligned with the previous copy, and if so, exchanges the storage position of the aligned exchange pair content; if there is no free storage block in the storage area, stores the copy in the first storage block of the new storage area without checking the exchange pair; when retrieving the data row corresponding to the row number, the data storage node 30 finds the storage block where the copy is stored according to the row number; first checks downward whether there is an aligned exchange pair with the copy of the next storage block, and if so, continues Continue to check downwards at the position of the checked swap pair to see if there is an aligned swap pair; if there is, continue to check downwards at the position of the most recently checked swap pair to see if there is an aligned swap pair, until no swap pair is found or the last storage block in the storage area is reached; make a copy of all the storage blocks that have been checked downwards to see if there are swap pairs, and start from the last storage block, swap the storage positions of the aligned swap pairs in sequence to restore the copies; after restoration, check whether there is an aligned swap pair with the copy of the previous storage block, and if so, swap the storage positions of the aligned swap pairs; complete the restoration of the copy in the storage block corresponding to the row number.
[0032] Table 2 Exchange pair table
[0033]
[0034] The data storage node 30 establishes a swap pair table. The data storage node 30 associates several swap pairs for each storage area. The swap pair table records the storage area row number and the swap pair. If the storage area is associated with multiple swap pairs, multiple records are established in the swap pair table. As shown in Table 2, it is a swap pair table, which records the swap pairs used by the storage area corresponding to each number. Swap pair A and swap pair B constitute a pair of swap contents, and there is no swap order constraint between swap pair A and swap pair B. That is, if the previous copy contains swap pair A, and the bit value aligned by the next copy happens to be swap pair B, the two are swapped. If the previous copy contains swap pair B, and the bit value aligned by the next copy happens to be swap pair A, the two are also swapped. As shown in Table 2, it is a number of copies stored in the storage area 9AE. The storage area 9AE uses a total of two swap pairs, namely "101011"-"101110" and "000111"-"101010". As can be seen in Table 3, there are three aligned exchange pairs between the three copies whose row numbers are B36A55DE, B36A55DF and B36A55E0, which are shown by underline. The results after swapping the values of these three places are shown in Table 4. After the swap, the content of each copy will be destroyed, and the correct result cannot be decrypted even if the decryption key is obtained in time. This allows the real data to be hidden. The attacker needs to obtain the exchange pair table to restore the data. In this embodiment, the exchange pair table is encrypted and stored using the public key of the data storage node 30. When needed, it is decrypted by the private key and placed in the memory, and destroyed after use.
[0035] Table 3 Row numbers and copies stored in storage area 9AE
[0036]
[0037] Table 4 The results of swapping the storage area 9AE after swapping
[0038]
[0039] Please see attached Figure 2 Before the trusted node 50 restores the data row, the following steps are performed on the trusted model 51: Step A01) Extract the weighted sum calculation formula in the trusted model 51; Step A02) The data storage node 30 retrieves the corresponding copy, substitutes the addends saved in the copy into the weighted sum calculation formula, obtains the intermediate sum, and sends the intermediate sum to the trusted node 50; Step A03) The trusted node 50 adds all the intermediate sums, that is, obtains the result of substituting the real value into the weighted sum calculation formula; Step A04) The trusted node 50 substitutes the result of the weighted sum calculation formula into the trusted model 51; Step A05) For the non-weighted sum calculation formula, a secure multi-party calculation is constructed and sent to several data storage nodes 30 for solution.
[0040] For example, in a credit model 51, the input layer has three neurons, corresponding to the consumer age, average monthly consumption amount and average monthly income amount respectively. There are two neurons in the first layer, one of which is connected to the three neurons in the input layer. The excitation function is the sigmod function, the weight coefficients are represented by a11, a12 and a13, and the offset is represented by b1. Then its output is equal to sigmod(x). Among them, the first layer of neurons is fully connected, then x= a11*consumer age+ a12*average monthly consumption amount+ a13*average monthly income amount+b1, which is the weighted summation calculation formula that needs to be extracted in step B01).
[0041] The financial data generated by the financial institution are as follows: consumer age 33, average monthly consumption amount 10,000, and average monthly income amount 20,000.
[0042] In this embodiment, there are 3 data storage nodes 30, so 5 copies need to be generated. Among them, 5 addends are generated for the consumer's age: 33=-12+13+14+8+10-10, and the values assigned to the 5 copies are: -12, 13, 14, 8, 10 and -10. Five addends are generated for the average monthly consumption amount of 10,000, which are saved by 3 data storage nodes 30, retention nodes 40 and associated nodes respectively: 10,000.00=1,000.00+1,000.00+3,000.00+3,500.00+1,500.00-1,500.00, and the values assigned to the 5 copies are: 1,000.00, 1,000.00, 3,000.00, 3,500.00, 1,500.00 and -1,500.00. The addend generated for the average monthly income of 20,000 is: 20,000.00=3,000.00+4,000.00+6,000.00+7,000.00+3,000.00-3,000.00. The values assigned to the 5 copies are: 3,000.00, 4,000.00, 6,000.00, 7,000.00, 3,000.00 and -3,000.00 respectively.
[0043] After the data is randomly distributed to the three data storage nodes 30, the reserved node 40 and the associated nodes, assuming that the data stored in the first data storage node 30 is: -12, 1,000.00, 3,000.00, then the sum calculated by the first data storage node 30 is: a11*-12+ a12*1,000.00+ a13*3,000.00, and so on. The sum sent by all three data storage nodes 30 and the associated nodes is summed with the sum obtained by the reserved node 40, and the result is:
[0044] a11*(-12+13+14+8+10-10)+ a12*(1,000.00+1,000.00+3,000.00+3,500.00+1,500.00-1,500.00)+ a13*(3,000.00+4,000.00+6,000.00+7,000.00+3,000.00-3,000.00). That is: a11*33+a12*10,000.00+a13*20,000.00, which is exactly equal to the result of directly substituting the original true value into the weighted summation calculation formula. Add the offset value b1 to get the value of x, and substitute it into the sigmod(x) function to get the output of the neuron. During the calculation process, the original true value is mixed in multiple obfuscated values and addends, making it hidden and difficult to be accurately detected, thereby improving the privacy and security of the data.
[0045] When the data processing model calls the latest data row, the data row may be updated. For example, the average monthly consumption amount increases from 10,000 to 12,000. If it increases by 2,000, you only need to increase the corresponding average monthly consumption amount by 2,000 on the reserved copy. That is, the value of 3,500.00 saved in the reserved copy is changed to 5,500.00, and the final calculation result will be equal to the calculation result of the latest data. This allows hot data to be used for data sharing and fusion.
[0046] The trust node 50 runs a privacy security check module, which lists the output of the trust model 51 and the input fields involved in each output. If the output involves only one input field, the privacy security check fails and the trust node 50 rejects the trust model 51. Figure 3 , which is a sub-model used in this embodiment, its output is y1, and the input involved includes x1, x2 and x3, so the privacy security check passes.
[0047] This embodiment superimposes the data changes of the data source on the reserved copy, so that the credit model 51 can retrieve the latest data and obtain a more accurate credit limit. The data is dispersed into multiple copies, and the security and privacy of the data are further improved through secure multi-party computing. When the credit model 51 uses the data, the data privacy is kept from being leaked.
[0048] Embodiment 2:
[0049] A loan credit system based on multi-source data fusion. This embodiment proposes specific improvements to the execution of the credit model 51 based on the first embodiment. Figure 4 , this embodiment includes:
[0050] Step B01) The reserved node 40 calculates the real value and the value of the 2nd to Nth power of the data row field, and creates a new 2nd to Nth power column for each numeric field in the copy;
[0051] Step B02) Split the 1st to Nth power values of the field true value into several addends respectively, and allocate them to the reserved copy and the remaining copies for storage respectively; before the trusted node 50 constructs the secure multi-party computation, perform the following steps on the trusted model 51:
[0052] Step B03) extracting a unary calculation formula that can be Taylor expanded with the real value as input, expanding the unary calculation formula into a Taylor expansion, the Taylor expansion being a weighted sum calculation formula of the 1st to Nth power values of the real value;
[0053] Step B04) sending the weighted sum calculation formula to a number of data storage nodes 30, and the data storage nodes 30 retrieve corresponding copies;
[0054] Step B05) Substitute the 1st to Nth power addends stored in the copy into the weighted sum calculation formula to obtain an intermediate sum, and send the intermediate sum to the trusted node 50;
[0055] Step B06) The trusted node 50 adds all the intermediate sums, that is, obtains an approximate result by substituting the real value into the unary calculation formula;
[0056] Step B07) Substituting the approximate result of the unary calculation formula into the credit model 51;
[0057] Step B08) Construct a secure multi-party computing solution for the non-weighted sum calculation formula.
[0058] Taylor expansion is a series form that expands a function into the weighted sum of the independent variable from the 0th power to the Nth power. When N is large enough, the error between the result calculated using Taylor expansion and the true result will be small enough. For example, the Taylor expansion of the function exp(x) is the weighted sum of x from the 0th power to the Nth power. Among them, the coefficients of x from the 0th power to the Nth power in the Taylor expansion of the exp(x) function are: 1, 1, 1 / 2!, 1 / 3!, ..., 1 / N!. In the Taylor expansion, N is infinite. When a certain error is allowed, a larger N value can be used. Since the value of N is increased, the cost to be paid is the increase in storage space overhead. The calculation of data is mainly multiplication and addition, and the calculation complexity is linear complexity, which has little effect on calculation efficiency. Therefore, this solution can increase the accuracy of calculation at a very low cost. For example, if we increase the value of N from 10 to 20, we only increase the storage space by a small amount, and add 2*20 calculations, one for splitting the addends and one for calculating the weighted sum, which only increases the cost by less than one order of magnitude. The calculation accuracy is estimated by the last term, and the accuracy is improved by 20! divided by 10!, the result is: 6.7xe11. For the same independent variable, the accuracy of the approximate calculation using the Taylor expansion series is almost 12 orders of magnitude higher.
[0059] The trusted node 50 determines the error of the approximate result obtained by using Taylor expansion to calculate the unary calculation formula. If the error exceeds a preset percentage, the approximate result is discarded and a secure multi-party calculation is re-established to solve the unary calculation formula. If the error does not exceed a preset percentage, the approximate result is retained. Figure 5 , the credit node 50 performs the following steps to judge the error: Step C01) The credit node 50 reversely calculates the approximate true value based on the approximate result and the univariate calculation formula; Step C02) Multiply the approximate true value by the coefficient k, k=1+△, △ is a preset percentage; Step C03) Substitute the approximate true value corrected by the coefficient k into the univariate calculation formula to obtain a corrected approximate result; Step C04) If the difference between the absolute value of the corrected approximate result and the approximate result exceeds the preset percentage, it is determined that the error exceeds the preset percentage. The error of the approximate value calculated by Taylor expansion depends on the value of the independent variable itself. If the independent variable itself takes the value of 3, the calculation to the 10th item is: pow(3,10) / 10!=0.016, which only accounts for 0.19% compared with the sum of the first three items of 8.5, which is an acceptable accuracy. If the independent variable takes the value of 10, the value of the 10th item is 2755, which is significantly greater than the sum of the first three items. The larger the value of the independent variable, the worse the accuracy. Therefore, when determining the specific value of N, according to the upper limit value in the value range of the numeric field, the value of N that meets the accuracy requirement is formulated for the upper limit value, so as to ensure that the calculation accuracy meets the requirement. Compared with the first embodiment, this embodiment improves the execution efficiency of the trust model 51 through improved secure multi-party computing.
[0060] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.
Claims
1. A loan credit system based on multi-source data fusion, characterized in that: Including data registration nodes, several data storage nodes, several retention nodes and credit nodes, The data registration node receives and publishes the data description text and external primary key field identification information submitted by the data source, and assigns row numbers to the data rows of the data source. The external primary key field is the identification information of the loan applicant. The retention node is set at the data source. The retention node synchronizes data with the data source system. The retention node makes several copies of the data row. The copies are associated with row numbers. The retention node retains one copy as a reserved copy, splits the true value of the numeric field of the data row into several addends, and the several addends are respectively assigned to several copies. The true value of the numeric field is stored by the reserved copy, and the remaining copies store obfuscated values. The several copies are respectively assigned to several data storage nodes for storage. When the real value of changes, the retention node superimposes the change amount on the retention copy, the credit node receives the credit model provided by the lending institution, the input of the credit model is multiple data fields of multi-source data, the output of the credit model is the credit limit, the credit node receives the external primary key field value submitted by the lending institution, the data registration node sends the row number of the data row matching the external primary key field value to the credit node, the credit node sends the row number to the data storage node and the retention node, the data storage node and the retention node send the copy to the credit node, after the credit node restores the data row, it substitutes the data row into the credit model to obtain the credit limit, and feeds the credit limit back to the lending institution; The data source establishes a replacement number table, replaces the value of the non-numeric field with the corresponding replacement number, the data registration node establishes several copies for the received data row, the number of copies matches the number of data storage nodes, splits the replacement number of the non-numeric field of the data row into several addends, splits the numeric field of the data row into several addends, and allocates the addends to the copies for storage. One of the several copies is selected as the reserved copy, and the reserved copy is stored in the reserved node. The remaining copies are allocated to several data storage nodes for storage; Before the credit node restores the data row, the credit model performs the following steps: Extract the weighted sum calculation formula in the credit model; The data storage node retrieves the corresponding copy, substitutes the addends stored in the copy into the weighted sum calculation formula, obtains the intermediate sum, and sends the intermediate sum to the credit granting node; The credit granting node adds up all the intermediate sums, that is, obtains the real value and substitutes it into the weighted sum calculation formula; The trusted node substitutes the result of the weighted sum calculation formula into the trusted model, constructs a secure multi-party calculation for the non-weighted sum calculation formula, and sends it to several data storage nodes for solution; The reserved node calculates the real value of the data row field and the value of 2 to N, and creates a new column of 2 to N for each numeric field in the copy; Split the 1st to Nth power values of the field's true value into several addends, and allocate them to the reserved copy and the remaining copies for storage respectively; Before the trusted node builds secure multi-party computing, the trusted model performs the following steps: Extracting a unary calculation formula that can be Taylor expanded with a true value as input, and expanding the unary calculation formula into a Taylor expansion, wherein the Taylor expansion is a weighted sum calculation formula of values from the 1st to the Nth power of the true value; The weighted sum calculation formula is sent to several data storage nodes, and the data storage nodes retrieve corresponding copies, substitute the 1st to Nth power addends stored in the copies into the weighted sum calculation formula to obtain an intermediate sum, and send the intermediate sum to the credit granting node; The trusted node adds all the intermediate sums, that is, obtains an approximate result by substituting the real value into the unary calculation formula; Substitute the approximate result of the unary calculation formula into the credit model, and construct a secure multi-party calculation solution for the non-weighted sum calculation formula.
2. A loan credit system based on multi-source data fusion according to claim 1, characterized in that: The data registration node agrees on salt with the data source and the lending institution, and the retention node adds salt to the real value of the external primary key field of the data row and extracts the hash value, which is published as the external primary key field identifier.
3. A loan credit system based on multi-source data fusion according to claim 2, characterized in that: The data registration node establishes a salted hash value API, which receives the numerical values submitted by the data source and the lending institution, and returns the hash value extracted after adding salt to the numerical value.
4. The loan credit system based on multi-source data fusion according to claim 1 is characterized in that: The trusted node determines the error of the approximate result obtained by using Taylor expansion to calculate the unary calculation formula. If the error exceeds a preset percentage, the approximate result is discarded, and secure multi-party computing is re-established to solve the unary calculation formula. If the error does not exceed the preset percentage, the approximate result is retained. The credit granting node performs the following steps to determine the error: The credit granting node reversely calculates the approximate true value based on the approximate result and the unary calculation formula; Multiply the approximate true value by the coefficient k, k=1+△, △ is the preset percentage, substitute the approximate true value corrected by the coefficient k into the univariate calculation formula to obtain the corrected approximate result. If the difference between the absolute value of the corrected approximate result and the approximate result exceeds the preset percentage, it is judged that the error exceeds the preset percentage.
5. The loan credit system based on multi-source data fusion according to claim 1 is characterized in that: The trust node runs a privacy and security check module, which lists the outputs of the trust model and the input fields involved in each output. When the output only involves one input field, the privacy and security check fails and the trust node rejects the trust model.
