A financing risk detection method and apparatus
By storing corporate credit data on the blockchain and using risk assessment algorithms to detect financing risks, the problem of opaque financing information for SMEs is solved, achieving transparency and risk control in the financing process and reducing economic losses for financial institutions.
Patent Information
- Application Number
- CN202210974964.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-08-15
AI Technical Summary
The lack of transparency in the financing process for small and medium-sized enterprises (SMEs) exposes financial institutions to the risk of economic losses, and existing technologies are unable to effectively detect and control financing risks.
By using blockchain technology to store historical credit data of enterprises, and by using risk assessment algorithms to detect financing risks, a transparent financing process and risk management can be provided.
It improves the reliability and authenticity of corporate information, enhances the transparency of the financing process, and reduces the risk of economic loss for funders.
Smart Images

Figure CN115239484B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain technology, particularly to the field of artificial intelligence technology, and especially to a method and apparatus for detecting financing risks. Background Technology
[0002] Currently, with the rapid development of the economy and society, the number of small and medium-sized enterprises (SMEs) is also constantly increasing. SMEs often face insufficient working capital and need to apply for financing. Enterprises in the supply chain are highly dependent on financing. However, during the financing application process with financial institutions, the information provided by these enterprises is unreliable to some extent, and the financing process is not transparent, which poses a risk of economic losses to financial institutions. Summary of the Invention
[0003] One object of this invention is to provide a financing risk detection method that can improve the reliability of enterprises, ensure the authenticity and richness of enterprise information, increase the transparency of the financing process, and reduce the risk of economic loss for funders. Another object of this invention is to provide a financing risk detection device. A further object of this invention is to provide a computer-readable medium. A still other object of this invention is to provide a computer device.
[0004] To achieve the above objectives, this invention discloses a financing risk detection method, comprising:
[0005] Credit data can be obtained by querying the blockchain based on the financing institution's code;
[0006] By using risk assessment algorithms to examine credit data, financing risk detection results are obtained, which can then be used by the financing party to manage risks.
[0007] Preferably, before querying the blockchain based on the financing party's institution code to obtain credit data, the following steps are also included:
[0008] Receive credit inquiry requests from funding parties, which include the funding party's institution code;
[0009] The authentication of the funding party is performed based on the funding party's institution code;
[0010] If the authentication of the funding party is successful, it is determined that the funding party has the right to query, and the process continues to execute the step of querying the blockchain based on the received financing party institution code to obtain the credit data.
[0011] Preferably, credit data is obtained by querying the blockchain based on the financing party's institution code, including:
[0012] Using the financing institution's code as an index, each block on the blockchain is traversed to match the credit data corresponding to the financing institution's code.
[0013] Preferably, the credit data includes historical financing application numbers and corresponding historical credit data;
[0014] After using the financing institution code as an index to traverse each block on the blockchain and match the credit data corresponding to the financing institution code, the process also includes:
[0015] Obtain the designated financing application number;
[0016] Match the specified financing application number with historical financing application numbers and retrieve the corresponding historical credit data from the credit data.
[0017] Preferably, the method further includes:
[0018] Store the financing party's institution code, credit data, and the block number of the node where the credit data is located in the designated external database;
[0019] Perform a hash calculation on the credit data to obtain the first hash value;
[0020] The first hash value and the corresponding block number are stored as a key-value pair in the blockchain;
[0021] Based on the external database, the credit data is tampered with on the blockchain, and the tampering detection results are obtained.
[0022] Preferably, based on an external database, tamper detection is performed on the credit data on the blockchain to obtain tamper detection results, including:
[0023] The credit data to be tested obtained from the external database is hashed to generate a second hash value;
[0024] Match the block number of the node containing the credit data to be detected with the block number on the blockchain to retrieve the corresponding first hash value;
[0025] If the first hash value and the second hash value are different, the first hash value on the blockchain is tampered with using the Byzantine Generals Algorithm to obtain the tampering detection result.
[0026] This invention also discloses a financing risk detection device, comprising:
[0027] The traceability unit is used to query the blockchain based on the financing party's institutional code to obtain credit data;
[0028] The detection unit is used to detect credit data through risk assessment algorithms to obtain financing risk detection results, which can be used by the financing party to manage risks.
[0029] The present invention also discloses a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.
[0030] The present invention also discloses a computer device, including a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, wherein the processor executes the program to implement the method described above.
[0031] The present invention also discloses a computer program product, including a computer program / instructions, which, when executed by a processor, implement the method described above.
[0032] This invention retrieves credit data by querying the blockchain based on the financing party's institutional code; it then uses a risk assessment algorithm to detect the credit data and obtain financing risk detection results. These results allow the financing party to manage risk, thereby improving the reliability of the enterprise, ensuring the authenticity and richness of enterprise information, increasing the transparency of the financing process, and reducing the risk of economic loss for the funding party. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 A flowchart of a financing risk detection method provided in an embodiment of the present invention;
[0035] Figure 2 A flowchart illustrating another financing risk detection method provided in this embodiment of the invention;
[0036] Figure 3 A schematic diagram of a financing risk detection method provided in an embodiment of the present invention;
[0037] Figure 4 This is a schematic diagram of a financing risk detection device provided in an embodiment of the present invention;
[0038] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation
[0039] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0040] It should be noted that the financing risk detection method and device disclosed in this application can be used in the field of artificial intelligence technology, or in any field other than artificial intelligence technology. The application field of the financing risk detection method and device disclosed in this application is not limited.
[0041] To facilitate understanding of the technical solution provided in this application, the relevant content of the technical solution is explained below. Digital credit credential services include: issuance, circulation, financing, payment, and refusal of payment. Issuance involves the issuer submitting an issuance application in the system, which is then automatically reviewed and issued by the system, creating a deliverable credit limit. After issuance, the issuer transfers the digital credit credential to the seller, indicating that both the seller and the holder of the digital credit credential have the right to demand payment from the issuer upon maturity. Circulation involves the holder of the digital credit credential transferring all or part of the credit limit to the seller in the transaction scenario as needed, sending the transfer information to the transferee, and the transferee signing online. Financing involves the holder of the digital credit credential submitting necessary trade background information, the amount and period of the financing application to the funding party connected to the system, and signing the relevant financing agreement online. After review, the funding party disburses the funds to the receiving account designated by the credit credential holder. The digital credit credential corresponding to this financing application is then marked, transferred, or frozen. Payment acceptance occurs on the expiry date of the digital credit credential. Based on the payment confirmation and transaction records from the time of issuance, the bank generates a payment notice to remind and urge the issuer to make timely payment. The issuer then makes payment to the holder of the digital credit credential. Payment refusal occurs on the expiry date of the digital credit credential when the issuer refuses to pay upon the payment notice.
[0042] In essence, blockchain is a shared database. The data or information stored within it is characterized by decentralization, openness, independence, security, anonymity, and traceability. It lays a foundation of trust for data interaction across various industries, creates a reliable cooperation mechanism, and has broad application prospects. The decentralized characteristic is manifested in the fact that blockchain technology does not rely on additional third-party management institutions or hardware facilities, and there is no central control. Besides the self-contained blockchain itself, through distributed computing and storage, each node achieves self-verification, transmission, and management of information. Decentralization is the most prominent and essential characteristic of blockchain. Its openness is manifested in the fact that blockchain technology is open-source; aside from the encryption of private information of the transacting parties, blockchain data is open to everyone. Anyone can query blockchain data and develop related applications by calling public interfaces, thus ensuring high transparency throughout the system. Its independence is manifested in its consensus-based norms and protocols; the entire blockchain system does not rely on any third party, and all nodes can automatically and securely verify and exchange data within the system without any human intervention. Its security is manifested in the fact that unless someone controls 51% of all data nodes, they cannot arbitrarily manipulate or modify network data, making the blockchain itself relatively secure and preventing subjective human data alteration. Its anonymity is manifested in the fact that, unless required by law, the identity information of each block node does not need to be disclosed or verified, and information transmission can be anonymous. Traceability refers to the fact that, in supply chain financing scenarios, the historical credit data of companies that obtain loans through financing platforms can be retrieved through the information stored in the blockchain.
[0043] Currently, the lack of transparency in financing information poses a significant risk of economic loss for funders. To address this technical issue, this application leverages the multi-node, tamper-proof, and public ledger characteristics of blockchain to store historical credit data of enterprises on the blockchain and provide an interface for funders to query it. This reduces the risk control costs for funders regarding financing applicants. By using blockchain technology to conduct risk control based on historical credit data, the application provides funders with the test results, enabling them to manage economic risks.
[0044] The following uses a financing risk detection device as an example to illustrate the implementation process of the financing risk detection method provided in this embodiment of the invention. It is understood that the implementing entity of the financing risk detection method provided in this embodiment of the invention includes, but is not limited to, a financing risk detection device.
[0045] Figure 1 A flowchart of a financing risk detection method provided in an embodiment of the present invention is shown below. Figure 1 As shown, the method includes:
[0046] Step 101: Based on the received financing institution code, query the blockchain to obtain credit data.
[0047] Step 102: Use a risk assessment algorithm to detect credit data and obtain financing risk detection results, so that the financing party can manage risks based on the financing risk detection results.
[0048] In the technical solution provided by this invention, credit data is obtained by querying the blockchain based on the financing party's institutional code; the credit data is then tested using a risk assessment algorithm to obtain financing risk detection results, which are then used by the financing party to manage risks. This improves the reliability of enterprises, ensures the authenticity and richness of enterprise information, enhances the transparency of the financing process, and reduces the risk of economic losses for the funding party.
[0049] Figure 2 A flowchart of another financing risk detection method provided in this embodiment of the invention is shown below. Figure 2 As shown, the method includes:
[0050] Step 201: Receive a credit inquiry request sent by the funding party. The credit inquiry request includes the financing party's institution code and the funding party's code.
[0051] In this embodiment of the invention, each step is performed by a financing risk detection device.
[0052] In this embodiment of the invention, the funding party includes, but is not limited to, banks, factoring financial institutions, other institutions / companies, newly joined banks, a group finance company, and other newly joined institutions / companies. As an optional solution, the funding party can be a supply chain finance alliance formed by multiple institutions. The members of the supply chain finance alliance can be set according to actual circumstances, and this embodiment of the invention does not limit this. Members of the supply chain finance alliance are both providers and beneficiaries of supply chain finance data.
[0053] In this embodiment of the invention, the financing party's institution code can be a social credit code or an organization code, and one financing party's institution code can uniquely identify a financing party. The financing party sends a financing request to the funding party, and the financing request includes, but is not limited to, the financing party's institution code; the funding party queries credit data based on the financing party's institution code. The funding party's code can uniquely identify a funding party for subsequent authentication and determination of the funding party.
[0054] Step 202: Authenticate the funder based on the funder code. If successful, proceed to step 203; otherwise, the process ends.
[0055] In this embodiment of the invention, the specific method of authentication can be set according to the actual situation. As an optional solution, members of the supply chain finance alliance are set to have traceability query permissions. Specifically, the funder's code is used to determine whether the funder is a member of the supply chain finance alliance. If so, it indicates that the funder has query permissions, and the authentication of the funder is successful; proceed to step 203; if not, it indicates that the funder does not have query permissions, the authentication of the funder fails, and the process ends.
[0056] Step 203: Based on the financing institution code, perform a traceability query on the blockchain to obtain credit data.
[0057] In this embodiment of the invention, the blockchain provides a standardized business interface to synchronize the historical credit data of various financing parties to the blockchain. Specifically, the credit data is encapsulated into a database through a standard data interface and then encrypted before being uploaded to the blockchain. This data is then synchronized to all blockchain nodes. All funding parties connected to the blockchain can use the standardized business interface to query the historical credit data of the financing party based on its institutional code. This allows for subsequent risk assessment of the financing party based on historical credit data, providing a risk basis for the funding party's lending decisions.
[0058] Specifically, the financing party's institutional code is used as the key value, and the corresponding credit data is used as the value value, forming a key-value pair in the blockchain. During a query, the financing party's institutional code is used as an index to traverse each block on the blockchain and match the credit data corresponding to that code. As one approach, based on the financing party's institutional code, the blockchain is traversed sequentially from the latest block to the previous block to obtain all the financing party's credit data.
[0059] It is worth noting that, in conjunction with supply chain financing, each financing institution has multiple credit data records. Typically, the latest N credit data records are retrieved during the query. N can be determined based on the actual situation, and this embodiment of the invention does not limit this.
[0060] In this embodiment of the invention, the credit data includes historical financing application numbers and corresponding historical credit data. The historical credit data includes, but is not limited to, basic enterprise information, enterprise sales performance data, financing and trade background data, and repayment data.
[0061] Further, the process involves obtaining a designated financing application number; matching this number with historical financing application numbers to retrieve the corresponding historical credit data from the credit data. The designated financing application number is carried in the credit query request, provided by the financing party to the funding party. The historical credit data corresponding to this designated financing application number is historical data provided by the financing party to the funding party for reference, allowing the funding party to retrieve the corresponding historical credit data based on the designated financing application number and conduct further verification. Specifically, the query is performed using rich queries in the database system (CouchDB), traversing the blockchain from the latest block to the previous block based on the designated financing application number to retrieve the historical credit data corresponding to the historical financing application numbers that match the designated financing application number.
[0062] Step 204: Use a risk assessment algorithm to detect credit data and obtain financing risk detection results, so that the financing party can manage risks based on the financing risk detection results.
[0063] The initial value of the following calculation coefficients is 1. The input parameters of the risk assessment algorithm include a first credit parameter x and a second credit parameter y. The first credit parameter x and the second credit parameter y are calculated based on credit data obtained from historical credit data on the blockchain. The specific calculation process is as follows:
[0064] The calculation rules for the first credit parameter x are as follows:
[0065] Obtain the company's debt-to-equity ratio. If the debt-to-equity ratio is greater than or equal to 100%, the first credit parameter x is set to 0; if the debt-to-equity ratio is greater than or equal to 90% and less than 100% (i.e., [90%, 100%)), the first credit parameter x is set to 0.05; if the debt-to-equity ratio is greater than or equal to 80% and less than 90% (i.e., [80%, 90%)), the first credit parameter x is set to 0.07; if the debt-to-equity ratio is greater than or equal to 70% and less than 80% (i.e., [70%, 80%)), the first credit parameter x is set to 0.1; if the debt-to-equity ratio is greater than or equal to 60% and less than 70% (i.e., [60%, 70%)), the first credit parameter x is set to 0.18; if the debt-to-equity ratio is greater than or equal to 50% and less than 60% (i.e., [...]), the first credit parameter x is set to 0.05; if the debt-to-equity ratio is greater than or equal to 50% and less than 60% (i.e., [...]), the first credit parameter x is set to 0.07; if the debt-to-equity ratio is greater than or equal to 70% and less than 80% (i.e., [...]), the first credit parameter x is set to 0.18; if the debt-to-equity ratio is greater than or equal to 50% and less than 60% (i.e., [...]), the first credit parameter x is set to 0.05; if the debt-to-equity ratio is greater than or equal to 50% and less than 60% (i.e., [...]), the first credit parameter x is set to If the debt-to-equity ratio is greater than or equal to 40% and less than 50%, i.e., [40%, 50%), then the first credit parameter x is set to 0.55; if the debt-to-equity ratio is greater than or equal to 30% and less than 40%, i.e., [30%, 40%), then the first credit parameter x is set to 0.71; if the debt-to-equity ratio is greater than or equal to 20% and less than 30%, i.e., [20%, 30%), then the first credit parameter x is set to 0.89; if the debt-to-equity ratio is greater than or equal to 10% and less than 20%, i.e., [10%, 20%), then the first credit parameter x is set to 0.96; if the debt-to-equity ratio is greater than or equal to 0% and less than 10%, i.e., [0%, 10%), then the first credit parameter x is set to 1.
[0066] The calculation rules for the second credit parameter y are as follows:
[0067] If the company has no overdue payment history, the second credit parameter y is set to 1; if there is an overdue payment, 0.23 is deducted from the second credit parameter y for each extension; if there is one or more overdue payments, the second credit parameter y is set to 0; if the current period is before the final / stage repayment date of a debt or loan, the last repayment record is discarded as the second credit parameter y.
[0068] Specifically, the financing risk detection result is obtained by calculating the first credit parameter x and the second credit parameter y using R = (1-xy)100%. Here, R represents the financing risk detection result, x represents the first credit parameter, and y represents the second credit parameter.
[0069] Step 205: Store the financing party's institution code, credit data, and the block number of the node where the credit data is located in the set external database.
[0070] In this embodiment of the invention, an external database index query is designed to store the financing party's institution code, credit data, and the block number of the node where the credit data is located in the set external database, so that members of the supply chain finance alliance can query the credit data from the external database as funding parties.
[0071] In this embodiment of the invention, the specific type of external database is not limited; the external database can be any type of formatted, unformatted, or distributed database.
[0072] Step 206: Perform a hash calculation on the credit data to obtain the first hash value.
[0073] As an alternative, the credit data is hashed using the MD5 algorithm to generate a first hash value, and the credit data, the first hash value, and the block number are in a one-to-one correspondence.
[0074] Step 207: Store the first hash value and the corresponding block number as a key-value pair in the blockchain.
[0075] In this embodiment of the invention, the block number is used as the key value and the first hash value is used as the value value to form a key-value pair stored in the blockchain.
[0076] Step 208: Based on the external database, perform tamper detection on the credit data on the blockchain to obtain the tamper detection results.
[0077] In this embodiment of the invention, step 208 specifically includes:
[0078] Step 2081: Perform hash calculation on the credit data to be tested obtained from the external database to generate a second hash value.
[0079] In this embodiment of the invention, credit data to be detected is obtained from an external database using the financing party's institutional code; and a second hash value is obtained by performing hash calculation on each piece of credit data using the MD5 algorithm.
[0080] Step 2082: Match the block number of the node containing the credit data to be detected with the block number on the blockchain to find the corresponding first hash value; if the first hash value and the second hash value are different, proceed to step 2083; if the first hash value and the second hash value are the same, continue to proceed to step 2081.
[0081] In this embodiment of the invention, if the first hash value is different from the second hash value, it indicates that the credit data has been tampered with, and step 2083 is executed; if the first hash value is the same as the second hash value, it indicates that the credit data has not been tampered with, and step 2081 is executed to continue querying whether the credit data of other nodes has been tampered with.
[0082] Step 2083: Use the Byzantine Generals Algorithm to detect tampering of the first hash value on the blockchain and obtain the detection result.
[0083] In this embodiment of the invention, the Byzantine Generals algorithm is used to obtain a first hash value where the percentage of nodes with the same first hash value across all blocks on the blockchain is greater than or equal to a preset percentage threshold. It is then determined whether the first hash value is the same as a second hash value. If so, it indicates that the credit data corresponding to the second hash value is tamper-proof, and a detection result is generated indicating that the credit data corresponding to the second hash value is genuine. If not, it indicates that the credit data has been tampered with, and a detection result is generated indicating that the credit data corresponding to the second hash value is not genuine.
[0084] It is worth noting that the percentage threshold can be set according to actual conditions, and this embodiment of the invention does not limit it. As an optional solution, the percentage threshold is 66.7%.
[0085] Furthermore, once supply chain financing is completed, the reviewers verify the credit data. After verification, the credit data is manually entered into the local database of each node in the blockchain. The credit data is then hashed using the MD5 algorithm, the resulting hash value is stored in the blockchain, and the block number it belongs to is returned.
[0086] Figure 3 This is a logical schematic diagram of a financing risk detection method provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the supply chain finance alliance encapsulates the credit data of the financing parties and stores it in an external database; it performs hash calculation on the credit data using the MD5 algorithm to obtain the first hash value, which is then stored in the blockchain; the blockchain provides standardized business interfaces for the supply chain finance alliance to send credit query requests, allowing them to query credit data by calling these standardized business interfaces; and it uses a risk assessment algorithm to detect the credit data and obtain financing risk detection results, which the financing parties can then use to manage risks.
[0087] In this embodiment of the invention, financing risk detection is achieved based on blockchain technology, which is suitable for the needs of funders for the accuracy and confidentiality of financial information, thereby reducing financing risks.
[0088] In the technical solution of the financing risk detection method provided in this embodiment of the invention, credit data is obtained by querying the blockchain based on the financing party's institutional code; the credit data is then detected through a risk assessment algorithm to obtain financing risk detection results, which are then used by the financing party to manage risks. This improves the reliability of enterprises, ensures the authenticity and richness of enterprise information, enhances the transparency of the financing process, and reduces the risk of economic losses for the funding party.
[0089] Figure 4 This is a schematic diagram of a financing risk detection device provided in an embodiment of the present invention. This device is used to perform the aforementioned financing risk detection method, such as... Figure 4 As shown, the device includes a traceability unit 11 and a detection unit 12.
[0090] The traceability unit 11 is used to query the blockchain based on the financing party's institutional code to obtain credit data.
[0091] The detection unit 12 is used to detect credit data through a risk assessment algorithm to obtain financing risk detection results, which can be used by the financing party to manage risks based on the financing risk detection results.
[0092] In this embodiment of the invention, the device further includes a receiving unit 13, an authentication unit 14, and a determining unit 15.
[0093] The receiving unit 13 is used to receive credit inquiry requests sent by the funding party, which include the funding party's institution code.
[0094] The authentication unit 14 is used to authenticate and determine the funding party based on the funding party's institution code.
[0095] The determination unit 15 is used to determine that the funding party has query authority if the authentication of the funding party is successful, and to trigger the traceability unit 11 to continue to execute the step of querying the blockchain based on the received financing party institution code to obtain credit data.
[0096] In this embodiment of the invention, the tracing unit 11 is specifically used to use the financing institution code as an index to traverse each block on the blockchain and match the credit data corresponding to the financing institution code.
[0097] In this embodiment of the invention, the device further includes an acquisition unit 16 and a query unit 17.
[0098] The acquisition unit 16 is used to acquire the specified financing application number.
[0099] The query unit 17 is used to match the specified financing application number with the historical financing application number and retrieve the corresponding historical credit data from the credit data.
[0100] In this embodiment of the invention, the device further includes: a first storage unit 18, a computing unit 19, a second storage unit 20, and a detection unit 21.
[0101] The first storage unit 18 is used to store the financing party's institution code, credit data, and the block number of the node where the credit data is located in the set external database.
[0102] The calculation unit 19 is used to perform hash calculation on the credit data to obtain the first hash value.
[0103] The second storage unit 20 is used to store the first hash value and the corresponding block number as a key-value pair in the blockchain.
[0104] The detection unit 21 is used to perform tamper detection on credit data on the blockchain based on the external database, and obtain the tamper detection result.
[0105] In this embodiment of the invention, the detection unit 21 is specifically used to perform hash calculation on the credit data to be detected obtained from the external database to generate a second hash value; match the block number of the node where the credit data to be detected is located with the block number on the blockchain to query the corresponding first hash value; if the first hash value and the second hash value are different, perform tamper detection on the first hash value on the blockchain using the Byzantine Generals algorithm to obtain the tamper detection result.
[0106] In the solution of this invention embodiment, credit data is obtained by querying the blockchain based on the financing party's institutional code; the credit data is then tested using a risk assessment algorithm to obtain financing risk detection results, which are then used by the financing party to manage risks. This improves the reliability of enterprises, ensures the authenticity and richness of enterprise information, increases the transparency of the financing process, and reduces the risk of economic losses for the funding party.
[0107] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, specifically, a computer device can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.
[0108] This invention provides a computer device including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the above-described financing risk detection method. For a detailed description, please refer to the above-described financing risk detection method.
[0109] The following is for reference. Figure 5 It shows a schematic diagram of the structure of a computer device 600 suitable for implementing the embodiments of this application.
[0110] like Figure 5As shown, the computer device 600 includes a central processing unit (CPU) 601, which can perform various appropriate tasks and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage section 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the computer device 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0111] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal feedback (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed in storage section 608 as needed.
[0112] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program including program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611.
[0113] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0114] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0115] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0116] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0117] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0118] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0119] The acquisition, storage, use, and processing of data in this application all comply with the relevant provisions of national laws and regulations.
[0120] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0121] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0122] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0123] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for detecting financing risk, characterized in that, The method includes: Based on the received financing institution code, a query is performed on the blockchain to obtain credit data; The credit data is analyzed using a risk assessment algorithm to obtain financing risk detection results, which are then used by the financing party to manage risks. The financing institution code, the credit data, and the block number of the node where the credit data is located are stored in the set external database; the credit data is hashed to obtain a first hash value; the first hash value and the corresponding block number are stored as a key-value pair in the blockchain; based on the external database, the credit data is tampered with on the blockchain to obtain the tampering detection result; Before querying the blockchain based on the received financing institution code to obtain credit data, the process also includes: Receive a credit inquiry request sent by a funding party, the credit inquiry request including the funding party code; Based on the funding party code, the funding party is authenticated. The authentication process includes: determining whether the funding party is a member of the supply chain finance alliance based on the funding party code. If so, the authentication is successful; otherwise, the authentication fails. If the authentication of the funding party is successful, it is determined that the funding party has query authority, and the step of querying the blockchain based on the received financing party institution code to obtain credit data continues; The step of performing tamper detection on the credit data on the blockchain based on the external database, and obtaining the tamper detection result, includes: The credit data to be tested obtained from the external database is hashed to generate a second hash value; The block number of the node containing the credit data to be detected is matched with the block number on the blockchain to retrieve the corresponding first hash value. If the first hash value and the second hash value are different, the first hash value on the blockchain is tampered with using the Byzantine Generals Algorithm to obtain the tampering detection result.
2. The financing risk detection method according to claim 1, characterized in that, The step of querying the blockchain based on the received financing institution code to obtain credit data includes: Using the financing institution code as an index, each block on the blockchain is traversed to match the credit data corresponding to the financing institution code.
3. The financing risk detection method according to claim 2, characterized in that, The credit data includes historical financing application numbers and corresponding historical credit data; After using the financing institution code as an index to traverse each block on the blockchain and match the credit data corresponding to the financing institution code, the method further includes: Obtain the designated financing application number; The designated financing application number is matched with the historical financing application number, and the corresponding historical credit data is retrieved from the credit data.
4. A financing risk detection device, characterized in that, The device includes: The traceability unit is used to query the blockchain based on the financing party's institutional code to obtain credit data; The detection unit is used to detect the credit data using a risk assessment algorithm to obtain a financing risk detection result, which is then used by the financing party to manage risk. It is also used to perform hash calculations on the credit data to be detected obtained from an external database to generate a second hash value; match the block number of the node containing the credit data to be detected with the block number on the blockchain to retrieve the corresponding first hash value; if the first hash value and the second hash value are different, the Byzantine Generals algorithm is used to detect tampering in the first hash value on the blockchain to obtain a tampering detection result. The first storage unit is used to store the financing institution code, the credit data, and the block number of the node where the credit data is located in the set external database; the calculation unit is used to perform hash calculation on the credit data to obtain a first hash value; the second storage unit is used to store the first hash value and the corresponding block number as a key-value pair in the blockchain; the detection unit is used to perform tamper detection on the credit data on the blockchain according to the external database to obtain the tamper detection result; The receiving unit is used to receive credit inquiry requests sent by the funding party, which include the funding party's institution code. The authentication unit is used to authenticate the funder based on the funder's institution code. The authentication process includes: determining whether the funder is a member of the supply chain finance alliance based on the funder's code. If so, the authentication is successful; otherwise, the authentication fails. The determination unit is used to determine that the funding party has query authority if the authentication of the funding party is successful, and to trigger the tracing unit to continue to execute the step of querying the blockchain based on the received financing party institution code to obtain credit data.
5. A computer-readable medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the financing risk detection method as described in any one of claims 1 to 3.
6. A computer device comprising a memory and a processor, the memory for storing information including program instructions, and the processor for controlling the execution of the program instructions, characterized in that, When the program instructions are loaded and executed by the processor, they implement the financing risk detection method according to any one of claims 1 to 3.
7. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the financing risk detection method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Supply chain business data control system based on block chain
CN110298623A
Loan method and device for small and micro enterprises
CN113706300A
