Cross-border guarantee data processing method and device
Using blockchain technology to build a consortium chain in cross-border guarantee data processing, using binary tree modeling and encryption and decryption methods, it solves the security and privacy protection issues of cross-border guarantee file data transmission and verification, and achieves fast, safe and Transparent data transfer improves data processing efficiency and reliability.
Patent Information
- Application Number
- CN202410883166.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-03
AI Technical Summary
The existing cross-border guarantee document data transmission method has poor security, long and unreliable verification process, traditional electronic system data is easily tampered with and cannot be traced, and data privacy protection is insufficient, resulting in a decrease in the credibility of the guarantee document.
Blockchain technology is used to build a consortium chain, and cross-border guarantee data is stored on the chain through binary tree modeling and encryption and decryption technologies to achieve safe sharing and privacy protection of data and ensure the authenticity and non-tamperability of data.
It realizes the fast, safe and transparent transmission of cross-border guarantee data, reduces time and cost, improves data processing efficiency, enhances the credibility and privacy protection of data, and avoids the risk of data being enumerated and reversed.
Smart Images

Figure CN118734335A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology and can be applied to the financial field and other fields, especially to a method and device for processing cross-border guarantee data. Background Art
[0002] In recent years, with the further expansion of foreign engineering contracting, international trade, and overseas investment, international guarantee business has developed rapidly, and the demand for cross-border guarantee business has been increasing. In the traditional bank guarantee business processing process, after the bank issues the guarantee certificate document according to the applicant's request, there are two main ways to deliver the guarantee certificate document to the beneficiary. One is to directly hand over the paper document to the applicant and give it to the beneficiary. The other is to transmit it to the local bank where the beneficiary is located through the SWIFT message system. The local bank prints it and gives it to the local beneficiary or the applicant's local agent. For the letter-opened guarantee document that needs to be verified, the beneficiary will hand over the original guarantee document to the local bank, and the local bank will send a verification message to the bank that issued the guarantee document to confirm the authenticity of the guarantee document.
[0003] There are three main problems with the current process: First, the existing data information transmission method of guarantee documents, whether it is letters or SWIFT messages, when the guarantee document text finally reaches the beneficiary customer, it is presented in the form of letters. Paper media are easily damaged, and there is a high risk of information leakage and tampering, and the security is poor; second, the existing guarantee document authenticity verification process is very long, and it takes more than 20 days from the issuance of the guarantee document to the completion of the verification; third, the SWIFT network can only be used by SWIFT member institutions, and it is easy to be sanctioned and unable to use it.
[0004] In addition, although the industry has digitized these guarantee documents to form online systems, the data in these systems are easily changed and modified by humans, easy to forge, and cannot be traced, resulting in a decrease in the credibility of guarantee documents, especially cross-border and cross-institutional guarantee documents. Since they have to be transmitted through Internet channels, electronic certification documents are easily modified by criminals in the middle. In the cross-institutional data sharing process, because it is necessary to ensure that the data ultimately obtained by the data demander institution is consistent with the data originally provided by the data provider institution, the circulation parties will form a blockchain alliance chain network. The data provider institution will upload the data to be shared through hash calculation of data fingerprints. After the user provides the data to the data demander institution in a portable form, the data demander institution will first verify the consistency of the data by hash calculation of the data fingerprint and the fingerprint on the chain. In the cross-institutional data sharing process, the privacy protection needs of data must also be taken into account. At present, there are two security issues in the technology of putting data fingerprints on the chain: first, because specific data items have fixed rules, the data hash is publicly disclosed on the chain, which may lead to the risk of enumeration and deduction of the original data; second, because the data is carried in a user-portable form for verification, the privacy protection needs of business handling need to verify the authority of the verifier to view the data fingerprint on the chain, but do not want to disclose the needs of the verifier publicly. Summary of the invention
[0005] The purpose of this application is to provide a cross-border guarantee data processing method and device, use blockchain technology to build an alliance chain and store cross-border guarantee data certificates on the chain, realize information sharing, speed up information circulation, and connect the processes of cross-border guarantee business stakeholders, improve the work efficiency of all parties, reduce costs such as fees and time, and ensure that the guarantee document data information is safe, transparent, and cannot be tampered with. According to the business scenario, the corresponding shared data field set can be extracted for binary tree modeling, and the calculation path for specific field verification can be agreed upon. All participants generate public and private key pairs that can represent their institutional identities, and the private key is kept by themselves as their own identity proof. The public key is publicly disclosed to the members on the chain as a key support for data authentication request signature and verification, which effectively solves the hidden danger of enumeration and deduction of the original data due to public disclosure of data on the chain, and ensures the privacy and security of data on the chain.
[0006] To achieve the above-mentioned purpose, the cross-border guarantee data processing method provided by the present application specifically includes: according to the guarantee transaction data provided by the user on the first bank application server, the corresponding shared parameter information is configured by the blockchain node server associated with the first bank application server through binary tree shared path modeling; the corresponding binary tree shared path and shared guarantee data are calculated according to the shared parameter information, and the binary tree shared path, the shared guarantee data and the corresponding calculated binary tree data root hash are synchronized to the blockchain network constructed by multiple banks through the corresponding blockchain node servers; the shared guarantee data is obtained in the blockchain network through the blockchain node server associated with the second bank application server, and the guarantee data is provided to the second bank application server for guarantee credit processing.
[0007] In the above-mentioned cross-border guarantee data processing method, optionally, based on the guarantee transaction data provided by the user on the first bank application server, the shared parameter information corresponding to the binary tree shared path modeling configuration is performed through the blockchain node server associated with the first bank application server, including: obtaining the guarantee transaction data provided by the user through the first bank application server, and storing the transaction elements of the guarantee transaction data in the first bank application server; and performing the shared parameter information corresponding to the binary tree shared path modeling configuration of the transaction elements through the blockchain node server associated with the first bank application server.
[0008] In the above-mentioned cross-border guarantee data processing method, optionally, storing the transaction elements of the guarantee transaction data in the first bank application server includes: identifying the guarantee transaction data through image recognition technology to obtain the transaction elements of the guarantee transaction data; retrieving the element information stored in a preset database according to the user information in the guarantee transaction data, and verifying the element information with the transaction elements to obtain a verification result; and storing the transaction elements in the first bank application server according to the verification result.
[0009] In the above-mentioned cross-border guarantee data processing method, optionally, obtaining shared guarantee data in the blockchain network through the blockchain node server associated with the second bank application server includes: obtaining a guarantee query request provided by the user through the second bank application server; performing privacy encryption processing on the guarantee query request using a preset interference model through the blockchain node server associated with the second bank application server to generate a transaction query request; and retrieving corresponding shared guarantee data in the blockchain network according to the transaction query request.
[0010] In the above-mentioned cross-border guarantee data processing method, optionally, retrieving the corresponding shared guarantee data from the blockchain network according to the transaction query request includes: retrieving the corresponding binary tree shared path, the shared guarantee data and the binary tree data root hash from the blockchain network according to the transaction query request; performing a consistency check on the binary tree data root hash based on the shared guarantee data and the binary tree shared path, and decrypting the shared guarantee data based on the check result to obtain the shared guarantee data.
[0011] In the above-mentioned cross-border guarantee data processing method, optionally, the blockchain node server associated with the second bank application server uses a preset interference model to perform privacy encryption processing on the guarantee query request to generate a transaction query request, which also includes: generating an interference data set by adding Gaussian noise to the guarantee query request and the data demander address corresponding to the guarantee query request; constructing a matrix decomposition model through a multi-party secure computing method based on the interference data set, and obtaining the interference model through the matrix decomposition model.
[0012] In the above-mentioned cross-border guarantee data processing method, optionally, the blockchain node server associated with the second bank application server uses a preset interference model to perform privacy encryption processing on the guarantee query request to generate a transaction query request, which also includes: obtaining node information of the blockchain node server associated with the first bank application server based on the guarantee data; authenticating the node information through the blockchain node server associated with the second bank application server to obtain a verification result; and performing privacy encryption processing on the guarantee query request using a preset interference model based on the verification result to generate a transaction query request.
[0013] The present application also provides a cross-border guarantee data processing device, which includes: an input module, a binary tree generation module and a sharing module; the input module is used to configure the corresponding shared parameter information through a blockchain node server associated with the first bank application server based on the guarantee transaction data provided by the user on the first bank application server; the binary tree generation module is used to calculate the corresponding binary tree shared path and shared guarantee data according to the shared parameter information, and synchronize the binary tree shared path, the shared guarantee data and the corresponding calculated binary tree data root hash storage to a preset blockchain network; the sharing module is used to obtain the shared guarantee data on the blockchain network through the blockchain node server associated with the second bank application server, and provide the guarantee data to the second bank application server for guarantee credit processing.
[0014] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0015] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.
[0016] The present application also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above method when executed by a processor.
[0017] The beneficial technical effects of this application are: 1. The guarantee information will be directly transmitted from the guarantee bank to the credit bank, and the information transmission is real, effective and fast, which effectively reduces the time and cost of guarantee opening. For the guarantee demander, there is no need to transfer paper guarantee certificates back and forth between the guarantee issuer and the guarantee certificate user, eliminating the physical location (cross-border) restrictions on the opening and use of certificates. 2. Encryption, signature, binary tree modeling, blockchain and other technologies are used to improve the existing cross-border guarantee data certificate opening and use process, transform the current offline process into a full online process, improve the processing efficiency of all parties, and reduce the risk of guarantee data being forged. 3. According to the business scenario, the corresponding shared data field set is extracted for binary tree modeling, and the calculation path for specific field verification is agreed. All participants generate a public and private key pair that can represent their institutional identity. The private key is kept by themselves as their own identity proof. The public key is publicly disclosed to the members on the chain as a key support for the signature and verification of data authentication requests, effectively solving the hidden danger of enumeration and deduction of the original data due to the public disclosure of data on the chain, and ensuring the security of data on the chain. 4. The identity anonymity device adopts a new information protection method. By protecting the physical address of the data demander, Gaussian noise is added to the data packets such as the object address and request data of the demander to generate an interference data set. At the same time, a training model is established, and continuous training and transformation are carried out to prevent attackers from analyzing multiple transaction information of a virtual identity by analyzing transaction graphs and other means. According to the relationship between transactions, the real identity of this virtual identity in reality is inferred, so as to prove that their authority is within the alliance of the blockchain, and at the same time, they do not disclose which institution they are on the chain, so as to protect the privacy information of the demanding client. At the same time, it avoids the need to limit the signature length in traditional privacy protection methods, thereby limiting the number of ring members, resulting in the inability to achieve a high degree of anonymity. Attackers can analyze multiple transaction information of a virtual identity by analyzing transaction graphs and other means, and infer the real identity of this virtual identity in reality according to the relationship between transactions. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application, constitute a part of the present application, and do not constitute a limitation of the present application. In the drawings:
[0019] Figure 1 A flowchart of a cross-border guarantee data processing method provided in one embodiment of the present application;
[0020] Figure 2 A schematic diagram of a process for obtaining shared parameter information provided in an embodiment of the present application;
[0021] Figure 3A A schematic diagram of a field decomposition process provided in an embodiment of the present application;
[0022] Figure 3B A schematic diagram of a binary tree calculation path provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of a transaction element storage process provided by an embodiment of the present application;
[0024] Figure 5 A schematic diagram of a guarantee data acquisition process provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of a flow chart for obtaining an interference model provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of a guarantee data verification process provided by an embodiment of the present application;
[0027] Figure 8 A schematic diagram of the structure of a cross-border guarantee data processing device provided in one embodiment of the present application;
[0028] Fig. 9 A schematic diagram of the structure of a guarantee certificate data terminal provided in one embodiment of the present application;
[0029] Fig.10 A schematic diagram of the structure of a bank application server provided in an embodiment of the present application;
[0030] Fig.11 A schematic diagram of the structure of a bank blockchain node server provided in one embodiment of the present application;
[0031] Fig.12 A schematic diagram of a cross-border guarantee data processing method provided in one embodiment of the present application;
[0032] Fig.13 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will describe the implementation methods of the present application in detail in conjunction with the accompanying drawings and embodiments, so that the implementation process of how the present application applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly. It should be noted that as long as there is no conflict, the various embodiments in the present application and the various features in the embodiments can be combined with each other, and the technical solutions formed are all within the protection scope of the present application.
[0034] In addition, the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be performed in an order different from that shown here.
[0035] Please refer to Figure 1 As shown, the cross-border guarantee data processing method provided in this application specifically includes:
[0036] S101 performs binary tree shared path modeling and configuration of corresponding shared parameter information through a blockchain node server associated with the first bank application server according to the secured transaction data provided by the user on the first bank application server;
[0037] S102 calculates and obtains the corresponding binary tree sharing path and shared guarantee data according to the shared parameter information, and synchronizes the binary tree sharing path, the shared guarantee data and the corresponding calculated binary tree data root hash storage to the blockchain network constructed by multiple banks through corresponding blockchain node servers;
[0038] S103 obtains shared guarantee data in the blockchain network through the blockchain node server associated with the second bank application server, and provides the guarantee data to the second bank application server for guarantee credit processing.
[0039] Through the above embodiments, the cross-border guarantee data processing method provided by this application can use decryption, signature, binary tree modeling, blockchain and other technologies to improve the existing cross-border guarantee data certificate opening and use process, transform the current offline process into a fully online process, improve the processing efficiency of all parties, and reduce the risk of guarantee data being forged. According to the business scenario, the corresponding shared data field set is extracted for binary tree modeling, and the calculation path for specific field verification is agreed upon. All participants generate a public and private key pair that can represent their institutional identity. The private key is kept by themselves as their own identity proof. The public key is publicly disclosed to the members on the chain as a key support for data authentication request signature and verification, which effectively solves the hidden dangers of enumeration and inference of the original data due to the public disclosure of data on the chain, and ensures the privacy and security of data on the chain. The specific implementation process of each step will be explained one by one in the subsequent embodiments, and will not be described in detail here.
[0040] Please refer to Figure 2 As shown, in one embodiment of the present application, according to the secured transaction data provided by the user on the first bank application server, the shared parameter information corresponding to the binary tree shared path modeling configuration configured by the blockchain node server associated with the first bank application server includes:
[0041] S201 obtains the guarantee transaction data provided by the user through the first bank application server, and stores the transaction elements of the guarantee transaction data in the first bank application server;
[0042] S202 configures the corresponding shared parameter information of the binary tree shared path modeling of the transaction elements through the blockchain node server associated with the first bank application server.
[0043] In actual work, the binary tree shared path modeling configuration of the transaction elements mainly involves generating and uploading the binary tree path of the scene data that needs to be shared, generating and uploading the binary tree root hash of the shared data, and generating shared data information that can be verified by the binary tree for users who apply for data sharing. The processing of shared data on the chain by this module can effectively solve the hidden danger of enumeration and inference of the original data due to public disclosure of data on the chain, and ensure the privacy and security of data on the chain. The specific steps are as follows:
[0044] The newly added data sharing business scenario type and the alliance organizations on business chain 1 agree on the data format and generate a binary tree calculation path and store it on the chain. For example, the fields shared in scenario 1 are split into Data1, Data2, Data3, and Data4, and the data is used as the leaf, and the calculation is performed layer by layer until HashRoot. The information stored on the chain includes the scenario ID and the scenario binary tree calculation path information. For details, please refer to Figure 3A As shown, for the data sharing scenario with a designed binary tree calculation path, the data provider on business chain 1 can directly store the HashRoot of the shared data on the chain, that is, first obtain the scenario binary tree calculation path information from the chain according to the scenario ID, and replace the specific field information of the leaf node with the specific shared data value, calculate the HashRoot, and store the HashRoot and the signature information of the HashRoot using the private key information of the data provider's own identity and the transaction information of the data on the chain.
[0045] When a user needs to apply for data from a data provider in the form of data they carry, the binary tree calculation path information for carrying data and data verification is generated for the user based on the fields the user applies for. If the information the user applies to share is Data1, the corresponding calculation path is Data1, Hash2, Hash34, that is, the shared information provided to the user includes the scene ID, scene data serial number, data information (Data1 and Hash2, Hash34, such as Figure 3B As shown) as well as the provider's identity ID and the provider's signature information for the entire data packet using the private key information of its own identity.
[0046] Please refer to Figure 4 As shown, in one embodiment of the present application, storing the transaction elements of the secured transaction data to the first bank application server includes:
[0047] S401 identifies the secured transaction data by image recognition technology to obtain transaction elements of the secured transaction data;
[0048] S402 retrieves element information stored in a preset database according to the user information in the secured transaction data, and verifies the element information with the transaction element to obtain a verification result;
[0049] S403 stores the transaction elements in the first bank application server according to the verification result.
[0050] In actual work, this embodiment mainly uses image recognition technology, namely OCR technology, to convert the guarantee element information on the electronic file of the guarantee certificate into a character string and save it in the guarantee database, and compares the uploaded guarantee data with the guarantee data in the bank application server database to verify the authenticity, thereby preventing the situation where wrong guarantee elements are submitted intentionally or unintentionally.
[0051] Please refer to Figure 5 As shown, in one embodiment of the present application, the shared guarantee data obtained in the blockchain network through the blockchain node server associated with the second bank application server includes:
[0052] S501 obtains a guarantee query request provided by the user through the second bank application server;
[0053] S502: using a preset interference model to perform privacy encryption processing on the guarantee query request through the blockchain node server associated with the second bank application server to generate a transaction query request;
[0054] S503 retrieves the corresponding shared guarantee data from the blockchain network according to the transaction query request.
[0055] Specifically, in actual work, this embodiment mainly protects the physical address of the data demander, adds Gaussian noise to the data packets such as the demander's object address and request data, generates an interference data set, and establishes a training model. It continuously trains and transforms to prevent attackers from analyzing multiple transaction information of a virtual identity through means such as analyzing transaction graphs, and infers the real identity of this virtual identity in reality based on the relationship between transactions, thereby proving that one's authority is within the alliance scope of the blockchain, while not disclosing which institution on the chain it is.
[0056] In one embodiment of the present application, the blockchain node server associated with the second bank application server performs privacy encryption processing on the guarantee query request using a preset interference model to generate a transaction query request, which also includes: obtaining node information of the blockchain node server associated with the first bank application server according to the guarantee data; performing identity authentication on the node information through the blockchain node server associated with the second bank application server to obtain a verification result; and performing privacy encryption processing on the guarantee query request using a preset interference model according to the verification result to generate a transaction query request. In this embodiment, the reliability of the information source is mainly verified by the information preset by the node or the public and private keys and signature information. Relevant technicians in this field can choose a suitable verification method according to actual needs, and this application does not make further limitations here.
[0057] For details, please refer to Figure 6 As shown, in one embodiment of the present application, the blockchain node server associated with the second bank application server uses a preset interference model to perform privacy encryption processing on the guarantee query request to generate a transaction query request, which also includes:
[0058] S601 generates an interference data set by adding Gaussian noise to the guarantee query request and the data demander address corresponding to the guarantee query request;
[0059] S602 constructs a matrix decomposition model according to the interference data set by a multi-party secure computing method, and obtains an interference model through the matrix decomposition model.
[0060] In actual work, the principles of this information protection method and interference model are as follows:
[0061] 1. The demand-side organization synchronizes the public key information corresponding to the identity ID of all participants on the current blockchain from the chain according to the push notification updated by the participants on the chain;
[0062] 2. When the demander invokes the on-chain interactive device to obtain on-chain evidence information, he / she shall sign using the private key corresponding to his / her own identity ID and the public key corresponding to the identity ID of other participants on the blockchain.
[0063] 3. Initialize the signed message data. In order to protect user privacy, the data owner will not reveal his or her identity information to other client nodes. Therefore, if the same user appears at different physical addresses, the system considers them to be different users. Assume that physical addresses site1 and site2 store their own user data sets M respectively. (1) and M (2) , the user set of site1 is U (1) , the interest set is V (1) , the user set of site2 is U (2) , the interest set is V (2) , then the user data set satisfies the following coupling formula:
[0064] M (1) ≈U (1) V (1) ;
[0065] M (2) ≈U (2) V (2) ;
[0066] Let V be the full set of interests, satisfying:
[0067]
[0068] If the interest sets of site1 and site2 are uniformly set to V, the collaborative coupling is achieved as follows:
[0069] M( 1) ≈U( 1 )V;
[0070] M( 2) ≈U(2)V;
[0071] V is a public parameter and is shared across the entire network through the blockchain consensus mechanism.
[0072] 4. Generate a probability model and specify is the observation data set of conditional distribution, in and V∈R D×J Construct a priori probability distribution model above:
[0073]
[0074] Where ρo represents the Poisson distribution function, represents the gamma distribution function, α and β represent the shape parameter and scale parameter respectively; θ v =(α v ,β v ) represents the training constant.
[0075] By analogy, we can define is the observation data set of conditional distribution, in and V∈R D×J The prior probability distribution model is constructed based on it.
[0076] Finally, the posterior distribution p is defined based on the site1 and site2 datasets. (1) and p (2) It is proportional to the prior distribution, as follows:
[0077]
[0078]
[0079] in,
[0080] 5. Perform differential privacy calculation. For any two data sets M and Z, their similarity can be calculated by Hamming distance. Given a random algorithm A, the differential privacy formula (∈, δ)-DP satisfies:
[0081] P(A(M)∈S)≤e ∈ P(A(Z)∈S)+δ (6)
[0082] Where S represents the range of the random algorithm A. δ is selected from the binomial distribution function N(0, 2k t ), k t is the test step length.
[0083] Select a sample dataset B from M (n,t) , with a length of B, add Gaussian noise to generate an interference data set Z (n,t) ,Right now:
[0084] Z (n,t) ≈U (n,t) V+δ (t) (7)
[0085] 6. Update the user data set, physical address n, and the user data set with iteration number t is U (n,t) , and its update rule is:
[0086]
[0087] in,
[0088]
[0089] Please refer to Figure 7 As shown, in one embodiment of the present application, retrieving the corresponding shared guarantee data from the blockchain network according to the transaction query request includes:
[0090] S701 retrieves the corresponding binary tree shared path, the shared guarantee data and the binary tree data root hash from the blockchain network according to the transaction query request;
[0091] S702 performs consistency check on the root hash of the binary tree data according to the shared guarantee data and the binary tree shared path, and decrypts the shared guarantee data according to the check result to obtain the shared guarantee data.
[0092] The main purpose of the above embodiment is to verify the integrity of the data and whether it has been tampered with. The specific implementation of the verification logic will be described in detail in subsequent embodiments and will not be described in detail here.
[0093] The present application also provides a cross-border guarantee data processing device, which includes: an input module, a binary tree generation module and a sharing module; the input module is used to configure the corresponding shared parameter information through a blockchain node server associated with the first bank application server based on the guarantee transaction data provided by the user on the first bank application server; the binary tree generation module is used to calculate the corresponding binary tree shared path and shared guarantee data according to the shared parameter information, and synchronize the binary tree shared path, the shared guarantee data and the corresponding calculated binary tree data root hash storage to a preset blockchain network; the sharing module is used to obtain the shared guarantee data on the blockchain network through the blockchain node server associated with the second bank application server, and provide the guarantee data to the second bank application server for guarantee credit processing.
[0094] Please refer to Figure 8 As shown, in actual work, the cross-border guarantee data processing device may include a guarantee certificate data terminal 1, a bank application server 2, a blockchain network 3, a bank blockchain node server 4, and a wireless / wired network 5. The guarantee certificate data terminal is connected to the bank application server through a wireless / wired network; the bank application server is connected to the bank blockchain node server through a wireless / wired network; and the bank blockchain node server is connected to the bank blockchain node server through a wireless / wired network to form a blockchain network.
[0095] The security certificate data terminal is responsible for providing a user interaction interface for bank tellers, receiving teller user input, querying security certificate data instructions, and receiving user instructions to transmit to the bank application server, see Figure 2 .
[0096] The bank application server is responsible for processing the user instructions sent by the guarantee certificate data terminal, recording and querying transaction details and account database tables based on the guarantee business data stored in the application server, and comparing the guarantee certificate data sent by the guarantee certificate data terminal with the guarantee database data on the application server, as shown in Figure 3 for details.
[0097] The bank blockchain node server is a blockchain node server deployed on the blockchain network, which can process transaction requests related to data flow, including the identity and public key information of the data provider and data demander, as well as the binary tree root hash storage and evidence collection capabilities of the guarantee business scenario process data. It can be deployed in each participating bank institution in the alliance, or it can be centrally managed and operated. The transaction request is initiated by the bank application server. Update transactions are consensus transactions that need to be reached through consensus by each consensus node on the blockchain. During the consensus process, each blockchain node must receive consistent confirmation messages from 2f+1 other blockchain nodes before consensus can be completed. The data processed according to the logic in the contract generates new block data and triggers the relevant guarantee business process after the contract is executed. Query transactions directly obtain the corresponding world state data from the corresponding blockchain node without consensus. See for details. Figure 4 .
[0098] The blockchain network is composed of several bank blockchain node servers. The chain includes multiple blockchain nodes, all of which are member nodes of the business chain. The member nodes are deployed with evidence storage smart contracts for endorsing data security authentication information. The total number of blockchain nodes in the business chain is 3f+1, where f represents the number of fault-tolerant nodes that can be supported, and the minimum value is 1. Both requests and business requests use the pbft Byzantine fault-tolerant algorithm for consensus. A consensus request must be completed after each verification node in the business chain receives at least 2f+1 consistent confirmation messages from other verification nodes before the transaction can complete the consensus of the current stage. The consensus of the three stages of the Byzantine fault-tolerant algorithm is completed before the consensus is successful, the system restart operation request and the business request are executed, and the execution result can be used as legal data to generate a new block and persist.
[0099] The wireless / wired network is a wireless communication network or an INTERNET communication network provided by an operator.
[0100] Please refer to Fig. 9 As shown, the guarantee certificate data terminal includes: a guarantee information input module 11, a guarantee information query module 12, and a guarantee certificate scanning module 13.
[0101] The guarantee information entry module is used by the bank teller to enter the guarantee transaction related information into the system through the entry interface provided by the module. The guarantee information query module is used by the bank teller to submit the query instruction to the bank server according to the transaction element information through the query interface provided by the module, and display the query result returned by the bank application server. The guarantee certificate scanning module is used by the bank teller to scan the paper guarantee certificate into an electronic file through the scanning interface provided by the module, and send the electronic file to the bank application server.
[0102] like Fig.10 As shown, the bank application server includes: a guarantee information registration module 21, a guarantee document processing module 22, and a guarantee data verification module 23.
[0103] The guarantee information registration module is responsible for recording the guarantee transaction data sent by each guarantee certificate data terminal. If it is a query transaction, the guarantee information database is queried based on the sent guarantee elements. If it is a new guarantee data transaction, the guarantee element data (such as: opening date, beneficiary name, beneficiary address, guarantee text information, etc.) is registered in the database of the bank application server, and a data synchronization application is issued to the bank blockchain node server, and data synchronization is performed with other bank blockchain node servers. The guarantee document processing module is responsible for converting the guarantee element information on the electronic file of the guarantee certificate into a string through OCR technology and saving it in the guarantee database, and the electronic file of the guarantee certificate is processed on the chain. The guarantee data verification module is responsible for processing the guarantee data verification transaction application sent by the terminal, and comparing the sent guarantee data with the guarantee data in the bank application server database to verify the authenticity.
[0104] like Fig.11 As shown, the bank blockchain node server includes: a transaction consensus module 41, a transaction execution module 42, a binary tree data generation module 43, a data authentication module 44, an on-chain interaction device 45, and an identity anonymity device 46.
[0105] The transaction consensus module 41 is responsible for point-to-point consensus information interaction with all blockchain node servers in the blockchain, and completes the core module of the transaction consensus, and reaches a consensus on the transaction results, specifically a three-stage consensus process of the Byzantine consensus algorithm. The first stage is the pre-prepare consensus, the second stage is the prepare consensus, and the third stage is the commit consensus. The three stages are executed sequentially. After the current stage has received consistent confirmation messages from at least 2f+1 other transaction consensus nodes, the consensus of the current stage is completed and enters the next stage. After the consensus of the three stages is completed, it means that the requested transaction is legal and can enter the transaction execution module for processing.
[0106] The transaction execution module 42 is responsible for completing the execution of smart contract requests and the persistence of the account book, saving the successful transaction information, transaction result information, and SeqNo of the block consensus completed by the transaction consensus module 121 into the block, recording the transaction log and sending the block execution success event, performing a strong consistency check of the blockchain node 2 (block height, predecessor, current Hash), and finally updating the world state information.
[0107] The binary tree data generation module 43 is responsible for processing the shared data between the data providers and demand-side organizations participating in the alliance, including generating verifiable shared data as a data provider.
[0108] The data authentication module 44 is used by the data demander to obtain the binary tree path and the shared data binary tree root HashRoot from the chain to verify the authenticity of the data when the data demander obtains the shared data provided by the user. When the user provides the shared data to the data demander, the demander performs data verification according to the following steps:
[0109] First, obtain the shared information provided by the user: scene ID, scene data serial number, data information (Data1 and Hash2, Hash34), provider organization identification ID, provider signature information, then obtain the data binary tree calculation path corresponding to the scene according to the scene ID, obtain the corresponding data binary tree root HashRoot according to the scene data serial number, and obtain the identity public key information of the provider organization on the chain according to the provider organization identification ID. Secondly, use the public key information of the provider organization to verify the signature information of the provider in the datagram. If the verification is successful, it means that the data source is authentic. Finally, use the scene corresponding binary tree calculation path and data information to calculate HashRoot = Hash (Hash (Hash (Data1) , Hash2), Hash34) = Hash (Hash (Hash1, Hash2), Hash34) = Hash (Hash12, Hash34), and check it with the data binary tree root HashRoot value obtained on the chain. If the verification is consistent, it means that the data information is consistent with the source provided data and is authentic.
[0110] The on-chain interaction device 45 is responsible for completing the on-chain interaction. As a data provider, the scene ID and binary tree calculation path corresponding to the data scene are stored on the chain, and the scene data flow ID and data binary tree root Hash of the shared data are stored on the chain. As a data demander, the information required for data authentication is obtained from the chain. Among them, the storage requires the identity signature information of the organization to be synchronized on the chain, and the collection requires the use of privacy protection technology to perform on-chain identity authority verification under the premise of protecting the real identity.
[0111] The identity anonymity device 46 is responsible for verifying the information stored on the blockchain by the data provider through the on-chain interactive device when the data demander institution authenticates the on-chain guarantee data. The chain needs to verify the alliance identity of the data demander, but the data demander does not want to expose its own identity information to the data provider, which may cause the risk of loss of customer business operations. The industry often uses common privacy protection technologies such as ring signatures, but ring signature technology has some defects: for example, existing ring signature schemes usually require that the signature length is positively correlated with the number of ring members. In order to control transaction costs, these schemes often need to limit the signature length, thereby limiting the number of ring members, which may lead to the inability to achieve high anonymity. Attackers can analyze multiple transaction information of a virtual identity by analyzing transaction graphs and other means, and infer the real identity of this virtual identity in reality based on the relationship between transactions. There is also a problem of verifiability. In some practical applications, the verifier needs to confirm the identity of the real signer, and the existing ring signature scheme may be difficult to meet this requirement. For example, certificateless verifiable ring signature schemes and verifiable proxy ring signature schemes may have security issues, such as any member in the ring can forge other members to generate ring signatures, while the real identity authentication algorithm points the real identity of the signer to the latter. Scalability issues, existing ring signature schemes may have limitations in scalability, such as difficulty in adapting to large-scale blockchain networks.
[0112] In order to facilitate a clearer understanding of the processing flow of the cross-border guarantee data processing device provided by this application, the above-mentioned embodiment will be described in detail below by taking the processing of business in actual work as an example. Relevant technical personnel in this field should know that this example does not limit the present application in any way.
[0113] Please refer to Fig.12 As shown, the processing flow of the cross-border guarantee data processing device is as follows:
[0114] S1201: The teller of Bank A enters the relevant information of the guarantee transaction submitted by Company A through the input interface provided by the guarantee information entry module on the guarantee certificate data terminal of Bank A, scans the paper guarantee certificate into an electronic file through the scanning interface provided by the guarantee certificate scanning module, and sends the guarantee transaction related data to the application server of Bank A.
[0115] S1202: The guarantee information registration module of the application server of Bank A records the guarantee transaction data sent by each guarantee certificate data terminal. The guarantee document processing module uses OCR technology to convert the guarantee element information on the electronic document of the guarantee certificate into a character string and saves it in the guarantee database. The guarantee data verification module compares the sent guarantee data with the guarantee data in the bank's application server database to verify the authenticity.
[0116] S1203: The guarantee information registration module registers the guarantee element data of the newly added guarantee data transaction (such as: opening date, beneficiary name, beneficiary address, guarantee text information, etc.) in the database of the bank application server, and synchronizes the data with the blockchain node server of Bank A.
[0117] S1204: Bank A's blockchain node server is initialized, including initializing the master private key and generating the public and private key pair representing the current institution based on the master private key. The master private key and the identity private key are stored by the Bank A node server itself, and the identity public key is synchronized to all bank node servers on the blockchain network. The transaction execution module on the Bank A blockchain node server completes the execution of smart contract requests and the persistence of the account book, saves the successful transaction information, transaction result information, and SeqNo of the block consensus completed by the transaction consensus module into the block, records the transaction log and sends the block execution success event, performs a strong consistency check of the blockchain node (block height, predecessor, current Hash), and finally updates the world state information.
[0118] S1205: The binary tree data generation module models the shared guarantee data with a binary tree shared path, and fills the data that can be shared with peer banks with specific data values according to the on-chain scenario ID and binary tree number path information, and stores the calculated binary tree data root hash, the data serial number ID, the provider institution identity ID, and the signature information of the provider institution identity ID on the chain. The blockchain node server of Bank A synchronizes data with the blockchain node servers of other banks (including Banks B, C, and D).
[0119] S1206: Based on Company A's application, the teller of Bank D queries Company A's guarantee data through the guarantee information query module on Bank D's guarantee certificate data terminal, and submits the query transaction request to Bank D's application server. Bank D's application server sends the guarantee data query transaction request including the guarantee number to Bank D's blockchain node server.
[0120] S1207: The identity anonymity device of the blockchain node server of Bank D performs privacy protection on the query transaction request by protecting the physical address of the data demander, adding Gaussian noise to the data packets such as the object address and request data of the demander, generating an interference data set, and establishing a training model at the same time, continuously training and transforming the interference data set to prevent attackers from analyzing multiple transaction information of a virtual identity by analyzing transaction graphs and other means, and inferring the real identity of the virtual identity in reality based on the relationship between transactions, thereby proving that their authority is within the alliance scope of the blockchain, while not disclosing which institution they are on the chain.
[0121] S1208: The D bank blockchain node server performs identity verification on the query transaction request data, that is, uses the public key information of the bank institution stored on the blockchain to verify the signature information. If the verification passes, it means that the transaction initiator is one of the legal participating institutions and has the authority to obtain evidence on the chain. It returns the corresponding binary tree path, the provider institution identity public key, and the binary tree root hash information to the D bank application server.
[0122] S1209: D Bank's application server uses the identity private key to verify the provider's signature information, verify the source of the shared data, calculate the binary tree root hash of the shared information based on the binary tree calculation path and data sharing package obtained on the chain, and check the consistency with the binary tree root hash information obtained on the chain. If the above information is verified, it proves that the authenticity of the shared information carried by the user can be guaranteed, and the guarantee data is decrypted and restored. The restored guarantee data is saved on the application server, and the guarantee is displayed on the guarantee certificate data terminal of D Bank to provide users with subsequent guarantee business services.
[0123] The beneficial technical effects of this application are: 1. The guarantee information will be directly transmitted from the guarantee bank to the credit bank, and the information transmission is real, effective and fast, which effectively reduces the time and cost of guarantee opening. For the guarantee demander, there is no need to transfer paper guarantee certificates back and forth between the guarantee issuer and the guarantee certificate user, eliminating the physical location (cross-border) restrictions on the opening and use of certificates. 2. Encryption, signature, binary tree modeling, blockchain and other technologies are used to improve the existing cross-border guarantee data certificate opening and use process, transform the current offline process into a full online process, improve the processing efficiency of all parties, and reduce the risk of guarantee data being forged. 3. According to the business scenario, the corresponding shared data field set is extracted for binary tree modeling, and the calculation path for specific field verification is agreed. All participants generate a public and private key pair that can represent their institutional identity. The private key is kept by themselves as their own identity proof. The public key is publicly disclosed to the members on the chain as a key support for the signature and verification of data authentication requests, effectively solving the hidden danger of enumeration and deduction of the original data due to the public disclosure of data on the chain, and ensuring the security of data on the chain. 4. The identity anonymity device adopts a new information protection method. By protecting the physical address of the data demander, Gaussian noise is added to the data packets such as the object address and request data of the demander to generate an interference data set. At the same time, a training model is established, and continuous training and transformation are carried out to prevent attackers from analyzing multiple transaction information of a virtual identity by analyzing transaction graphs and other means. According to the relationship between transactions, the real identity of this virtual identity in reality is inferred, so as to prove that their authority is within the alliance of the blockchain, and at the same time, they do not disclose which institution they are on the chain, so as to protect the privacy information of the demanding client. At the same time, it avoids the need to limit the signature length in traditional privacy protection methods, thereby limiting the number of ring members, resulting in the inability to achieve a high degree of anonymity. Attackers can analyze multiple transaction information of a virtual identity by analyzing transaction graphs and other means, and infer the real identity of this virtual identity in reality according to the relationship between transactions.
[0124] The present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0125] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the above method.
[0126] The present application also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above method when executed by a processor.
[0127] like Fig.13As shown, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processor 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily have to include Fig.13 In addition, the electronic device 600 may also include Fig.13 For components not shown, reference may be made to the prior art.
[0128] like Fig.13 As shown, the central processor 100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor devices and / or logic devices. The central processor 100 receives inputs and controls the operations of various components of the electronic device 600.
[0129] The memory 140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 100 may execute the program stored in the memory 140 to implement information storage or processing.
[0130] The input unit 120 provides input to the CPU 100. The input unit 120 is, for example, a key or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used to display display objects such as images and text. The display may be, for example, an LCD display, but is not limited thereto.
[0131] The memory 140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 140 may also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application / function storage unit 142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 600 through the central processor 100.
[0132] The memory 140 may also include a data storage unit (data 143) for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit (driver 144) of the memory 140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0133] The communication module 110 is a transmitter / receiver 110 that transmits and receives signals via an antenna 111. The communication module (transmitter / receiver) 110 is coupled to the central processor 100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.
[0134] Based on different communication technologies, multiple communication modules 110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide an audio output via the speaker 131 and receive an audio input from the microphone 132, thereby realizing a common telecommunication function. The audio processor 130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 130 is also coupled to the central processor 100, so that the sound can be recorded on the local machine through the microphone 132, and the sound stored on the local machine can be played through the speaker 131.
[0135] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0136] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0139] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A cross-border guarantee data processing method, characterized in that: The method comprises: According to the secured transaction data provided by the user on the first bank application server, the corresponding shared parameter information is configured by performing binary tree shared path modeling through the blockchain node server associated with the first bank application server; The corresponding binary tree sharing path and shared guarantee data are calculated according to the shared parameter information, and the binary tree sharing path, the shared guarantee data and the corresponding calculated binary tree data root hash are stored and synchronized to the blockchain network constructed by multiple banks through the corresponding blockchain node servers; The shared guarantee data is obtained in the blockchain network through the blockchain node server associated with the second bank application server, and the guarantee data is provided to the second bank application server for guarantee credit processing.
2. The cross-border guarantee data processing method according to claim 1 is characterized in that: According to the secured transaction data provided by the user on the first bank application server, the shared parameter information corresponding to the binary tree shared path modeling configuration configured by the blockchain node server associated with the first bank application server includes: Obtaining secured transaction data provided by the user through the first bank application server, and storing transaction elements of the secured transaction data in the first bank application server; The blockchain node server associated with the first bank application server performs binary tree shared path modeling on the transaction elements and configures the corresponding shared parameter information.
3. The cross-border guarantee data processing method according to claim 2 is characterized in that: Storing the transaction elements of the secured transaction data to the first bank application server includes: Identify the secured transaction data by image recognition technology to obtain transaction elements of the secured transaction data; Retrieving element information stored in a preset database according to the user information in the secured transaction data, and verifying the element information with the transaction element to obtain a verification result; The transaction elements are stored in the first bank application server according to the verification result.
4. The cross-border guarantee data processing method according to claim 1 is characterized in that: The shared guarantee data obtained through the blockchain node server associated with the second bank application server in the blockchain network includes: Obtaining a guarantee inquiry request provided by the user through the second bank application server; The blockchain node server associated with the second bank application server uses a preset interference model to perform privacy encryption processing on the guarantee query request to generate a transaction query request; The corresponding shared guarantee data is retrieved from the blockchain network according to the transaction query request.
5. The cross-border guarantee data processing method according to claim 4 is characterized in that: Retrieving the corresponding shared guarantee data from the blockchain network according to the transaction query request includes: Retrieving the corresponding binary tree shared path, the shared guarantee data and the binary tree data root hash from the blockchain network according to the transaction query request; A consistency check is performed on the root hash of the binary tree data according to the shared guarantee data and the binary tree shared path, and the shared guarantee data is decrypted according to the check result to obtain the shared guarantee data.
6. The cross-border guarantee data processing method according to claim 4 is characterized in that: The blockchain node server associated with the second bank application server performs privacy encryption processing on the guarantee query request using a preset interference model to generate a transaction query request further includes: Generate an interference data set by adding Gaussian noise to the guarantee query request and the data demander address corresponding to the guarantee query request; A matrix decomposition model is constructed according to the interference data set through a multi-party secure computing method, and an interference model is obtained through the matrix decomposition model.
7. The cross-border guarantee data processing method according to claim 4 is characterized in that: The blockchain node server associated with the second bank application server performs privacy encryption processing on the guarantee query request using a preset interference model to generate a transaction query request further includes: Obtain node information of a blockchain node server associated with the first bank application server according to the guarantee data; Authenticating the node information through the blockchain node server associated with the second bank application server to obtain a verification result; The guarantee query request is privacy encrypted using a preset interference model according to the verification result to generate a transaction query request.
8. A cross-border guarantee data processing device, characterized in that: The device comprises: an input module, a binary tree generation module and a sharing module; The input module is used to configure the corresponding shared parameter information of the binary tree shared path modeling through the blockchain node server associated with the first bank application server according to the secured transaction data provided by the user on the first bank application server; The binary tree generation module is used to calculate and obtain the corresponding binary tree sharing path and sharing guarantee data according to the sharing parameter information, and synchronize the binary tree sharing path, the sharing guarantee data and the corresponding calculated binary tree data root hash storage to a preset blockchain network; The sharing module is used to obtain shared guarantee data in the blockchain network through the blockchain node server associated with the second bank application server, and provide the guarantee data to the second bank application server for guarantee credit processing.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Credit investigation data sharing and trading system
CN106780007A
Business processing method and device based on block chain smart contract, equipment and medium
CN113269639A
Block chain data processing method and device, computer equipment and storage medium
CN116700628A
Enterprise credit data analysis method and device based on block chain
CN117592923A
Collateral Management With Blockchain and Smart Contracts Apparatuses, Methods and Systems
US20190005469A1
Cited By
Transaction data management method based on block chain and electronic equipment
CN119831590A
