Data financing tamper-proofing method and device based on weak right confirmation scene, and medium

By verifying the integrity and authenticity of the original financing data, deduplicating it, and digitally signing it before storing it on the blockchain, the problem of low accuracy in the data financing process is solved, and the security and reliability of the data are achieved.

CN119293866APending Publication Date: 2025-01-10招商局智融供应链服务有限公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411355422.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

Existing data tamper-proof technologies have low accuracy in the data financing process and fail to effectively guarantee the integrity and authenticity of the data.

Method used

By verifying the integrity and authenticity of the original financing data, deduplicating it, digitally signing it, and storing the signed data on the blockchain, the immutability of the blockchain is used to ensure the security and reliability of the data.

Benefits of technology

It improves the accuracy of the data financing process, ensures the integrity and uniqueness of data during transmission and storage, reduces the risk of data tampering, and provides a high degree of security and traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119293866A_ABST
    Figure CN119293866A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data tampering prevention, and discloses a data financing tampering prevention method and device based on a weak right confirmation scene and a medium, and the method comprises the steps: carrying out the integrity verification and authenticity verification of original financing data of a transaction sender; performing data deduplication processing and digital signature on the original financing data; storing the original financing data after digital signature processing into a block chain, and when a data transmission request of a transaction receiver is received, extracting the original financing data after digital signature processing stored in the block chain and an electronic signature corresponding to the original financing data; verifying the identity of the transaction sender according to the electronic signature, and when the identity verification of the transaction sender is passed, performing signature verification on the original financing data; and comparing the verified original financing data with pre-acquired original financing data, and determining a tamper-proof result of the original financing data according to the financing difference data. According to the invention, the tamper-proof accuracy of data financing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an anti-tampering method, device and medium for data financing based on a weak title confirmation scenario. Background Art

[0002] With the development of information technology, especially the rapid popularization and application of technologies such as cloud computing, the Internet of Things, and big data, the security and integrity of data source channels have become very important. In order to ensure security during data collection, transmission, and storage, and to prevent data tampering or leakage, effective management and protection of the security and integrity of data source channels has become an indispensable and important link.

[0003] Existing data tamper-proofing technology converts data into ciphertext so that unauthorized users cannot understand the data content and ensure that the data is not tampered with during transmission and storage. In practical applications, simply converting data into ciphertext without considering the integrity and authenticity of the data may result in unreliable data in the initial stage, resulting in low accuracy in data tamper-proofing. Summary of the invention

[0004] The present invention provides a tamper-proof method, device and medium for data financing based on a weak property rights confirmation scenario, the main purpose of which is to solve the problem of low accuracy in tamper-proofing of data financing.

[0005] To achieve the above purpose, the present invention provides a tamper-proof method for data financing based on a weak confirmation scenario, comprising:

[0006] Conduct integrity verification on the original financing data of the transaction sender obtained in advance, and conduct authenticity verification on the original financing data that has been integrity verified;

[0007] Perform data deduplication processing on the original financing data whose authenticity has been verified, and digitally sign the original financing data after deduplication processing;

[0008] The original financing data processed with the digital signature is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data processed with the digital signature stored in the blockchain is extracted, and the electronic signature corresponding to the original financing data stored in the blockchain is extracted;

[0009] The identity of the transaction sender is verified according to the electronic signature. When the identity verification of the transaction sender is passed, the original financing data processed by the digital signature in the blockchain is signed and verified;

[0010] The verified original financing data is compared with the original financing data acquired in advance to obtain financing difference data, and the anti-tampering result of the original financing data is determined based on the financing difference data.

[0011] Optionally, the integrity verification of the original financing data of the transaction sender obtained in advance includes:

[0012] Classify the financing categories of the original financing data obtained in advance;

[0013] Backing up the financing data corresponding to the different financing categories after classification to obtain financing backup data;

[0014] Calculate the hash values ​​of the financing data corresponding to different financing categories after division;

[0015] Determine summary information of the financing data corresponding to different financing categories after division according to the hash value;

[0016] Compare the summary information with the summary information of the financing backup data to obtain comparison results corresponding to different financing categories after classification;

[0017] All comparison results are collected as integrity comparison results of the original financing data, and the integrity of the original financing data is verified based on the integrity comparison results.

[0018] Optionally, the authenticity verification of the integrity-verified original financing data includes:

[0019] Divide the original financing data that has been verified for integrity into financing data corresponding to different financing categories;

[0020] Compare the information consistency of the financing data corresponding to different financing categories to obtain the comparison results;

[0021] Verify the signing attributes of the financing data corresponding to different financing categories to obtain verification results;

[0022] Analyze the financial indicators of financing data corresponding to different financing categories to obtain analysis results;

[0023] All of the comparison results, the verification results and the analysis results are collected as authenticity comparison results of the original financing data, and the authenticity of the original financing data is verified based on the authenticity comparison results.

[0024] Optionally, the digital signing of the original financing data after deduplication processing includes:

[0025] Generate a key pair of deduplicated original financing data using a preset digital signature algorithm;

[0026] Using the private key in the key pair to sign the original financing data after deduplication processing, to obtain a digital signature corresponding to the original financing data after deduplication processing;

[0027] Perform hash calculation on the original financing data after deduplication to obtain a hash value;

[0028] The digital signature and the hash value are added to the original financing data after deduplication processing to obtain a digital signature data set.

[0029] Optionally, before extracting the electronic signature corresponding to the original financing data stored in the blockchain, the method further includes:

[0030] Obtain the digital signature data set corresponding to the original financing data after digital signature processing stored in the blockchain, and extract the digital signature and hash value in the digital signature data set;

[0031] Extract the encrypted identity information of the transaction sender and the data storage timestamp corresponding to the original financing data processed with the digital signature;

[0032] The encrypted identity information, the data storage timestamp, the hash value and the digital signature are combined into an electronic signature.

[0033] Optionally, the signature verification of the original financing data after digital signature processing in the blockchain includes:

[0034] Obtain the private key in the key pair of the original financing data corresponding to the transaction sender;

[0035] Decrypting the original financing data after digital signature processing in the blockchain using the private key;

[0036] Performing a hash operation on the original financing data to obtain financing summary information;

[0037] The decrypted original financing data and the financing summary information are signed and verified.

[0038] Optionally, the comparing the verified original financing data with the pre-acquired original financing data to obtain financing difference data includes:

[0039] Extracting a first data field of verified original financing data according to different financing categories, and extracting a second data field of pre-acquired original financing data;

[0040] When the first data field is consistent with the second data field, converting the financing data corresponding to the first data field into a first character, and converting the financing data corresponding to the second data field into a second character;

[0041] The difference characters between the first character and the second character are marked one by one, and the financing data corresponding to the difference characters are used to determine the financing difference data.

[0042] Optionally, determining the anti-tampering result of the original financing data according to the financing difference data includes:

[0043] When the amount of the financing difference data is zero, the anti-tampering result of the original financing data is determined as a data non-tampering result;

[0044] When the amount of the financing difference data is greater than zero, determining the financing category according to the financing difference data, and determining the tampering level of the original financing data according to the amount of the financing difference data;

[0045] Determining the tampering risk level of the original financing data according to the financing category and the tampering level;

[0046] The anti-tampering result of the original financing data is determined as the tampering score corresponding to the tampering risk level.

[0047] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0048] at least one processor; and,

[0049] a memory communicatively connected to the at least one processor; wherein,

[0050] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned tamper-proof method for data financing based on weak property rights confirmation scenarios.

[0051] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is executed by a processor in an electronic device to implement the above-mentioned tamper-proof method for data financing based on weak property rights confirmation scenarios.

[0052] The embodiments of the present invention ensure the security and integrity of data from data source channels, verify, authenticate and deduplicate data through technical means, improve data storage and transmission efficiency, ensure data consistency and uniqueness; encrypt data during data transmission, provide digital signatures for original financing data, ensure data immutability and identity authentication, ensure data security and reliability, and then ensure data authenticity and non-tampering through blockchain electronic signatures and other means, and utilize the immutability and distributed characteristics of blockchain to safely store original financing data and digital signatures, providing high security and traceability. Therefore, the anti-tampering method, device and medium for data financing based on weak title confirmation scenarios proposed in the present invention can solve the problem of low accuracy in anti-tampering of data financing. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A flowchart of a tamper-proof method for data financing based on a weak title confirmation scenario provided by an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of the process of digitally signing original financing data provided by an embodiment of the present invention;

[0055] Figure 3 A schematic diagram of a process for generating an electronic signature according to an embodiment of the present invention;

[0056] Figure 4 A schematic diagram of the structure of an electronic device for implementing the tamper-proof method for data financing based on a weak title confirmation scenario provided in one embodiment of the present invention.

[0057] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0058] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0059] The embodiment of the present application provides an anti-tampering method for data financing based on a weak title confirmation scenario. The execution subject of the anti-tampering method for data financing based on a weak title confirmation scenario includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the anti-tampering method for data financing based on a weak title confirmation scenario can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.

[0060] Reference Figure 1 FIG. 1 is a flow chart of a tamper-proof method for data financing based on a weak title confirmation scenario provided by an embodiment of the present invention. In this embodiment, the tamper-proof method for data financing based on a weak title confirmation scenario includes:

[0061] S1. Verify the integrity of the original financing data of the transaction sender obtained in advance, and verify the authenticity of the original financing data that has been verified for integrity.

[0062] In an embodiment of the present invention, the original financing data refers to various data related to supply chain financing transactions, including information such as borrowing, lending, investment, financing costs, repayment plans, etc., and the financing data can come from different sources, including but not limited to banks, financial institutions, investors, and financial statements. The original financing data of the transaction sender can be obtained from a pre-stored storage area through a computer statement with a data capture function (such as a Java statement, a Python statement, etc.), and the storage area includes but is not limited to a database and a blockchain.

[0063] Furthermore, ensuring the security and integrity of data at the data source channel can establish trust and reliability in the data, and a secure and complete data source can effectively prevent the data from being tampered with, modified or forged, which is conducive to protecting the authenticity and confidentiality of the data.

[0064] In the embodiment of the present invention, integrity verification can ensure that the original financing data provided by the transaction sender is complete and accurate, which is conducive to avoiding information distortion caused by missing or incorrect data, establishing trust in the source of data, and enhancing the cooperative relationship with the transaction sender.

[0065] In the embodiment of the present invention, the integrity verification of the original financing data of the transaction sender obtained in advance includes:

[0066] Classify the financing categories of the original financing data obtained in advance;

[0067] Backing up the financing data corresponding to the different financing categories after classification to obtain financing backup data;

[0068] Calculate the hash values ​​of the financing data corresponding to different financing categories after division;

[0069] Determine summary information of the financing data corresponding to different financing categories after division according to the hash value;

[0070] Compare the summary information with the summary information of the financing backup data to obtain comparison results corresponding to different financing categories after classification;

[0071] All comparison results are collected as integrity comparison results of the original financing data, and the integrity of the original financing data is verified based on the integrity comparison results.

[0072] In detail, the financing categories include borrowing information, investment information, financing costs, repayment plans, financial statements, and contract documents, among which borrowing information includes the borrower's basic information, loan amount, loan term, interest rate, and repayment method; investment information includes the investor's basic information, investment amount, investment term, and investment return; financing costs include interest, handling fees, and collateral; repayment plans include repayment amount, repayment term, and repayment method; financial statements include balance sheets, income statements, and cash flow statements; contract documents include borrowing contracts, investment agreements, and guarantee agreements. The original financing data is divided according to the data fields corresponding to the original financing data acquired in advance, and then the financing data corresponding to different financing categories are processed and verified separately, such as dividing the original financing data into basic information, investment information, and financing cost data, and then backing up the data corresponding to the different financing categories after the division to ensure that the original backup data can be used for verification in the subsequent comparison process.

[0073] Specifically, the financing data corresponding to each financing category is hashed by a hash function to convert the data into a hash value of fixed length, wherein the hash function includes but is not limited to SHA-1 and SHA-256. For example, for each data block, a 256-bit hash value is calculated using the SHA-256 algorithm, and then summary information is generated according to the hash value, that is, the hash value is hashed again or the summary information is generated using an encryption algorithm, and the summary information of the financing data corresponding to the different financing categories after the division is compared with the summary information of the backup data to determine whether the data is complete, and the comparison results corresponding to all different financing categories are summarized to obtain The integrity comparison result of the original financing data, that is, the comparison result includes the consistency result or inconsistency result of the summary information and the summary information of the financing backup data, and all the comparison results are collected to provide an integrity assessment for each category, and finally the integrity of the original financing data is verified according to the integrity comparison result. If all the comparison results in the integrity comparison result are consistent results, the original financing data is complete; if any of the comparison results in the integrity comparison result is an inconsistent result, the original financing data is incomplete, thereby ensuring the integrity and security of the data during transmission and processing.

[0074] Furthermore, it is necessary to verify not only the integrity of the data but also the authenticity of the data to ensure that the data comes from a reliable source and to ensure the security and reliability of the data during transmission and processing.

[0075] In the embodiment of the present invention, integrity verification ensures that the data is not tampered with or damaged during the transmission and storage process, while authenticity verification ensures that the source of the data is credible, thereby improving the overall credibility of the data. Even if the integrity of the data is guaranteed, if the data source is not credible, the data may still be threatened by tampering, so the authenticity of the original financing data needs to be verified.

[0076] In the embodiment of the present invention, the authenticity verification of the original financing data after integrity verification includes:

[0077] Divide the original financing data that has been verified for integrity into financing data corresponding to different financing categories;

[0078] Compare the information consistency of the financing data corresponding to different financing categories to obtain the comparison results;

[0079] Verify the signing attributes of the financing data corresponding to different financing categories to obtain verification results;

[0080] Analyze the financial indicators of financing data corresponding to different financing categories to obtain analysis results;

[0081] All of the comparison results, the verification results and the analysis results are collected as authenticity comparison results of the original financing data, and the authenticity of the original financing data is verified based on the authenticity comparison results.

[0082] In detail, according to the financing data corresponding to different categories, such as the financing data corresponding to the borrower's basic information, loan amount, loan term, interest rate, and repayment method in the loan information category, the data of each financing category is compared for information consistency to ensure the consistency between the data obtained from different data sources or at different time points. For example, the data is compared with financial statements, contract documents, audit reports, etc. to ensure that there are no contradictions or inconsistencies between the data, so as to obtain a comparison result, and the comparison result includes information comparison consistency or information comparison inconsistency; and the signature attributes corresponding to each financing category are verified. The signature attributes include the identity information of the signatory, the signing date, and the signing content. The validity of the signature and the authenticity of the signatory's identity are verified to obtain a verification result, and the verification result includes verification passed or verification failed. In-depth analysis is performed on the financial indicators of the data corresponding to different financing categories, such as profit margin, debt ratio, balance sheet, etc., to understand the financial status and risk level of the financing project, analyze financial indicators, financial ratios, etc., and compare with industry standards or data in the same industry to ensure the authenticity and credibility of the data, so as to obtain an analysis result, and the analysis result includes analysis correct or analysis incorrect.

[0083] Specifically, all comparison results, verification results and analysis results corresponding to different financing categories are aggregated into the authenticity comparison result of the original financing data. For example, the comparison result corresponding to the loan information category is that the information comparison is consistent, the verification result is that the verification is passed, and the analysis result is that the analysis is correct; the comparison result corresponding to the investment information category is that the information comparison is consistent, the verification result is that the verification is passed, and the analysis result is that the analysis is correct. Then, the results corresponding to all financing categories are aggregated. If the comparison results in the authenticity comparison results are all that the information comparison is consistent, the verification results are all that the verification is passed, and the analysis results are all that the analysis is correct, then the original financing data is authentic. As long as there is any result in the authenticity comparison result that is not that the comparison results are all that the information comparison is consistent, the verification results are all that the verification is passed, and the analysis results are all that the analysis is correct, then the original financing data is unauthentic.

[0084] Furthermore, after verifying the integrity and authenticity of the original financing data, it is also necessary to analyze the large number of duplicate records in the original financing data. It is necessary to remove the duplicate data to ensure that the data set does not contain duplicate information, thereby improving the accuracy of data analysis.

[0085] S2. Perform data deduplication processing on the original financing data whose authenticity has been verified, and digitally sign the original financing data after deduplication processing.

[0086] In an embodiment of the present invention, the original financing data is deduplicated, that is, the duplicate data in the original financing data is deleted, and only one financing data is retained, then the field or attribute for data deduplication is determined, that is, a unique identifier or key attribute is used as a deduplication field, such as a transaction ID, a customer ID, a contract number, etc., the data is sorted according to the deduplication field, and it is ensured that the same data records are in adjacent positions to facilitate identification and processing, the sorted data is traversed, duplicate data records are identified, the deduplication fields of adjacent data records are compared, and it is determined whether there is duplication, and which data records are duplicates. The judgment can be made based on the value of the deduplication field. If the deduplication field values ​​of two data are exactly the same, they are considered to be duplicate data, and the duplicate data are processed, and one of them is retained as the only data record or the first data record is selected to be retained, and the data set is updated to remove or mark the duplicate data, retain the unique data record, and ensure that the data set no longer contains duplicate data.

[0087] Furthermore, in order to ensure that the data is not tampered with or damaged during transmission and storage, the deduplicated data is digitally signed to ensure the integrity of the data, and any tampering with the data will be detected immediately.

[0088] In the embodiment of the present invention, the digital signature can verify whether the source of the data is credible. After the original financing data is deduplicated, the digital signature can determine whether the source of the data is legal and credible, thereby preventing the data from being illegally tampered with or forged. Any party involved in data processing and transmission cannot deny or negate its operation on the data because the digital signature provides irrefutable evidence.

[0089] In the embodiment of the present invention, refer to Figure 2 As shown, the digital signature of the original financing data after deduplication processing includes:

[0090] S21. Generate a key pair of the original financing data after deduplication processing using a preset digital signature algorithm;

[0091] S22, using the private key in the key pair to sign the original financing data after deduplication processing, to obtain a digital signature corresponding to the original financing data after deduplication processing;

[0092] S23, performing hash calculation on the original financing data after deduplication processing to obtain a hash value;

[0093] S24. Add the digital signature and the hash value to the original financing data after deduplication processing to obtain a digital signature data set.

[0094] In detail, a pair of keys is generated using a preset digital signature algorithm (such as RSA, DSA, etc.), including a private key and a public key. The private key is used for signing, and the public key is used to verify the validity of the signature. The generated private key is used to sign the original financing data after deduplication processing. The signature algorithm will encrypt the data and generate a unique digital signature. This signature is generated based on the original financing data and the private key, and is used to verify the integrity and authenticity of the data. The original financing data after deduplication processing is hashed to obtain the hash value of the original financing data. The hash value is a fixed-length string calculated by a specific algorithm (such as SHA-256) and can uniquely represent the original data. The generated digital signature and the calculated hash value are then stored together with the original financing data after deduplication processing to form a digital signature data set, that is, the generated digital signature is attached to the original financing data to form a digital signature data set, ensuring that the signature is bound to the data and is not easily tampered with. The signature data set contains the digital signature, hash value and original financing data, which can be used to verify the data.

[0095] Furthermore, in order to ensure that the original financing data is not tampered with, the original financing data after digital signature processing is stored on the blockchain. Once stored on the blockchain, it has the characteristic of being tamper-proof, ensuring the integrity and credibility of the data.

[0096] S3. The original financing data processed with the digital signature is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data processed with the digital signature stored in the blockchain is extracted, and the electronic signature corresponding to the original financing data stored in the blockchain is extracted.

[0097] In an embodiment of the present invention, a blockchain is a distributed database, and each block contains a hash value of the previous block. Therefore, once the data of any block is recorded, it cannot be tampered with. Once the data processed by the digital signature is stored on the blockchain, it has the characteristic of being tamper-proof, ensuring the integrity and credibility of the data. The original financing data processed by the digital signature is stored based on a pre-generated smart contract, accepting the hash value of the data and the corresponding signature as parameters, and storing the data in the blockchain address mapping, thereby storing the original financing data processed by the digital signature together with the corresponding signature on the blockchain.

[0098] In detail, when the transaction recipient needs to receive the original financing data, it will send a data transmission request. Based on the data transmission request, the original financing data processed with the digital signature and the electronic signature corresponding to the original financing data stored in the blockchain are extracted, wherein the smart contract address and ABI (contract interface) storing the original financing data are obtained in order to interact with the contract. After receiving the data transmission request, the data hash is extracted from the data transmission request. The data hash is a unique identifier used to find the stored data on the blockchain. The method in the smart contract is used to query the original financing data processed with the digital signature stored in the blockchain through the data hash. Once the stored original financing data is obtained, the digital signature can be extracted from it. The digital signature is usually stored in the contract as part of the data structure, and the signature field can be extracted from the query result.

[0099] Furthermore, after obtaining the stored original financing data, the digital signature and hash value can be extracted from the digital signature data set corresponding to the stored original financing data. Therefore, when extracting the electronic signature corresponding to the original financing data, it is necessary to generate the electronic signature of the transaction sender for the original financing data.

[0100] In an embodiment of the present invention, the electronic signature refers to a signature created, verified and applied using digital technology, which is used to confirm the authenticity and integrity of the electronic document and the identity of the signatory. The electronic signature includes a digital signature, sender information, a timestamp, and a document summary.

[0101] In the embodiment of the present invention, refer to Figure 3 As shown, before extracting the electronic signature corresponding to the original financing data stored in the blockchain, the method also includes:

[0102] S31. Obtain a digital signature data set corresponding to the original financing data after digital signature processing and stored in the blockchain, and extract the digital signature and hash value in the digital signature data set;

[0103] S32, extracting the encrypted identity information of the transaction sender and the data storage timestamp corresponding to the original financing data processed with the digital signature;

[0104] S33: Combine the encrypted identity information, the data storage timestamp, the hash value and the digital signature into an electronic signature.

[0105] In detail, a digital signature data set corresponding to the original financing data processed with a digital signature stored in the blockchain is obtained, and the digital signature data set includes a digital signature and a corresponding hash value, wherein the digital signature and hash value in the digital signature data set can be extracted through a computer statement with a data crawling function, and the transaction information corresponding to the original financing data processed with the digital signature is extracted from the blockchain, including the encrypted identity information of the transaction sender (such as a public key or address) and the timestamp of the data storage, and the extracted encrypted identity information, data storage timestamp, hash value and digital signature are combined into an electronic signature, and the information is combined in a certain format and signed to ensure the integrity and security of the electronic signature.

[0106] Specifically, based on the generated electronic signature, the electronic signature corresponding to the original financing data stored in the blockchain is extracted, that is, the hash value corresponding to the original financing data stored in the blockchain is extracted according to the financing transaction identifier in the original financing data; the hash value is compared with the hash value corresponding to the original financing data obtained in advance; when the hash values ​​are consistent, the digital signature data set corresponding to the original financing data stored in the blockchain is divided to obtain the original financing data and the electronic signature, and the hash value of the original financing data stored on the blockchain is obtained to ensure that the hash value of the data obtained from the blockchain is consistent with the hash value obtained by the hash operation of the original financing data, thereby verifying whether the data stored on the blockchain is correct. Once the hash value of the data is confirmed, the digital signature information needs to be obtained next, and the digital signature information can be obtained by querying the relevant transactions or smart contracts stored on the blockchain.

[0107] Furthermore, electronic signatures are usually associated with specific digital identity information, such as public keys or encrypted identity information. By verifying the electronic signature, it is possible to ensure that the identity of the sender of the transaction is legal and credible, and to ensure the integrity of the transaction data, that is, the data has not been tampered with during transmission.

[0108] S4. The identity of the transaction sender is verified according to the electronic signature. When the identity authentication of the transaction sender is passed, the original financing data processed by the digital signature in the blockchain is signature verified.

[0109] In an embodiment of the present invention, by verifying the identity of the transaction sender, the risk of fraud and false transactions can be reduced. Only the transaction sender who has been authenticated can conduct transactions, thereby reducing unauthorized transactions and fraud. The identity of the transaction sender is verified based on the electronic signature, including: extracting the encrypted identity information and key pair of the transaction sender in the electronic signature; using the private key in the key pair to decrypt the encrypted identity information; comparing the decrypted identity information with the original identity information of the transaction sender; and verifying the identity of the transaction sender based on the identity information comparison result.

[0110] Furthermore, the identity of the transaction sender is verified based on the electronic signature. Only when the transaction recipient passes the identity authentication of the transaction sender, the original financing data stored in the blockchain after digital signature processing will be verified to ensure that the original financing data has not been tampered with.

[0111] In the embodiment of the present invention, passing the identity authentication means that the identity of the transaction sender is legal and credible. When the verification is passed, in order to ensure that the original data has not been tampered with during the transmission process, the hash value of the original data can be compared by verifying the digital signature to ensure the integrity of the data and prevent any unauthorized modification or tampering.

[0112] In the embodiment of the present invention, the signature verification of the original financing data after the digital signature processing in the blockchain includes:

[0113] Obtain the private key in the key pair of the original financing data corresponding to the transaction sender;

[0114] Decrypting the original financing data after digital signature processing in the blockchain using the private key;

[0115] Performing a hash operation on the original financing data to obtain financing summary information;

[0116] The decrypted original financing data and the financing summary information are signed and verified.

[0117] In detail, before performing signature verification, obtain the private key corresponding to the transaction sender, that is, when conducting a transaction, the transaction sender uses its private key to generate a private key in the process of digitally signing the original financing data. Use the obtained private key to decrypt the original financing data after digital signature processing in the blockchain to obtain the hash value of the original financing data. Perform a hash operation on the decrypted original financing data to obtain financing summary information (i.e., hash value). Compare the hash value of the decrypted original financing data with the calculated hash value of the financing summary information to see if they are consistent. When the information is consistent, it indicates that the signature authentication is successful; when the information is inconsistent, it indicates that the signature authentication has failed.

[0118] Furthermore, in order to ensure the consistency of the data, the verified original financing data can be compared with the pre-acquired original financing data. If the two are exactly the same, it can be determined that the data has not been tampered with or modified during the transmission process; if the two are inconsistent, it may mean that an error occurred during the data transmission process, or there is a problem with the data itself.

[0119] S5. Compare the verified original financing data with the original financing data obtained in advance to obtain financing difference data, and determine the anti-tampering result of the original financing data according to the financing difference data.

[0120] In the embodiment of the present invention, the financing difference data refers to data in which there is a difference between the verified original financing data and the pre-acquired original financing data, and the difference may be a change in field value, a newly added or deleted field, etc.

[0121] In the embodiment of the present invention, the comparing the verified original financing data with the pre-acquired original financing data to obtain the financing difference data includes:

[0122] Extracting a first data field of verified original financing data according to different financing categories, and extracting a second data field of pre-acquired original financing data;

[0123] When the first data field is consistent with the second data field, converting the financing data corresponding to the first data field into a first character, and converting the financing data corresponding to the second data field into a second character;

[0124] The difference characters between the first character and the second character are marked one by one, and the financing data corresponding to the difference characters are used to determine the financing difference data.

[0125] Specifically, according to different financing categories, the first data field of the verified original financing data and the second data field of the pre-acquired original financing data are extracted, such as the data field including the borrower's basic information in the loan information: name, ID number SID, contact information Tel, address Add, loan amount loan_amount, loan term loan_term, interest rate interest_rate, repayment method repayment_method, investment amount investment_amount, investment term investment_term, investment return investment_return, and then for each financing category Differentiate, compare the corresponding values ​​of the first data field and the second data field. If the first data field is consistent with the second data field, that is, the first data field is the name and the second data field is also the name; the first data field is the ID number and the second data field is also the ID number, then when the first data field is consistent with the second data field, convert the data corresponding to the first data field and the second data field into character form, then compare the character difference between the first character and the second character, mark the difference character, and add the financing data corresponding to the difference character to the financing difference data. For each financing category, mark the difference character until the data of all financing categories are compared, thereby determining the financing difference data corresponding to each financing category.

[0126] Furthermore, by comparing financing difference data, it is possible to ensure that the original financing data has not been tampered with during transmission or storage, thereby reducing the risks in financial transactions and business operations, and taking timely measures to deal with data tampering issues, which is conducive to avoiding potential losses and risks.

[0127] In an embodiment of the present invention, the anti-tampering result refers to the conclusion drawn after verifying or checking the data, which is used to determine whether the data has been tampered with or manipulated, expressed as whether the data has been tampered with, the degree of tampering and the risk level. The purpose of the anti-tampering result is to protect the integrity, accuracy and credibility of the data to ensure the reliability and compliance of the data.

[0128] In the embodiment of the present invention, the step of determining the anti-tampering result of the original financing data according to the financing difference data includes:

[0129] When the amount of the financing difference data is zero, the anti-tampering result of the original financing data is determined as a data non-tampering result;

[0130] When the amount of the financing difference data is greater than zero, determining the financing category according to the financing difference data, and determining the tampering level of the original financing data according to the amount of the financing difference data;

[0131] Determining the tampering risk level of the original financing data according to the financing category and the tampering level;

[0132] The anti-tampering result of the original financing data is determined as the tampering score corresponding to the tampering risk level.

[0133] In detail, if the amount of financing difference data is zero, the anti-tampering result of the original financing data is determined as a result of no data tampering; if the amount of financing difference data is greater than zero, the type of financing is determined according to the content and characteristics of the financing difference data, such as borrowing, investment, etc., and the tampering level is determined according to the amount of financing difference data. The amount can be divided into several levels, such as minor, medium, severe, etc., and the tampering risk level of the original financing data is determined according to the financing category and the tampering level. Different risk levels can be set, such as low risk, medium risk, high risk, etc., to reflect the severity of the tampering and the impact on the business. The tampering risk level can be mapped to the corresponding tampering score. A score range can be assigned to each risk level, such as a high risk score range of 1-30 points, a medium risk score range of 31-60 points, and a high risk score range of 60-100 points, so as to better assess the impact of tampering. The anti-tampering result of the original financing data, as well as the corresponding tampering risk level and score can be determined according to the number of financing difference data, financing category and tampering level, which is conducive to timely identification and response to possible data tampering problems and ensure the integrity and reliability of the data.

[0134] The embodiments of the present invention ensure the security and integrity of data from data source channels, verify, authenticate and deduplicate data through technical means, improve data storage and transmission efficiency, ensure data consistency and uniqueness; encrypt data during data transmission, provide digital signatures for original financing data, ensure data immutability and identity authentication, ensure data security and reliability, and then ensure data authenticity and non-tampering through blockchain electronic signatures and other means, and utilize the immutability and distributed characteristics of blockchain to safely store original financing data and digital signatures, providing high security and traceability. Therefore, the anti-tampering method, device and medium for data financing based on weak title confirmation scenarios proposed in the present invention can solve the problem of low accuracy in anti-tampering of data financing.

[0135] like Figure 4 , is a schematic diagram of the structure of an electronic device for implementing an anti-tampering method for data financing based on a weak title confirmation scenario provided by an embodiment of the present invention.

[0136] The electronic device may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as an anti-tampering program for data financing based on a weak title confirmation scenario.

[0137] Among them, the processor 10 can be composed of an integrated circuit in some embodiments, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits with the same function or different functions, including one or more central processing units (CPU), microprocessors, digital processing chips, graphics processors and various control chips. The processor 10 is the control core (ControlUnit) of the electronic device, which uses various interfaces and lines to connect the various components of the entire electronic device, and executes or executes the programs or modules stored in the memory 11 (for example, executing the anti-tampering program of data financing based on weak title confirmation scenarios, etc.), and calls the data stored in the memory 11 to execute various functions of the electronic device and process data.

[0138] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of an electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory 11 may also be an external storage device of an electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 11 may also include both an internal storage unit of the electronic device and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device, such as the code of the tamper-proof program for data financing based on weak title confirmation scenarios, but also can be used to temporarily store data that has been output or is to be output.

[0139] The communication bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0140] The communication interface 13 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.

[0141] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0142] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0143] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0144] The anti-tampering program for data financing based on weak title confirmation scenarios stored in the memory 11 of the electronic device is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0145] Conduct integrity verification on the original financing data of the transaction sender obtained in advance, and conduct authenticity verification on the original financing data that has been integrity verified;

[0146] Perform data deduplication processing on the original financing data whose authenticity has been verified, and digitally sign the original financing data after deduplication processing;

[0147] The original financing data processed with the digital signature is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data processed with the digital signature stored in the blockchain is extracted, and the electronic signature corresponding to the original financing data stored in the blockchain is extracted;

[0148] The identity of the transaction sender is verified according to the electronic signature. When the identity verification of the transaction sender is passed, the original financing data processed by the digital signature in the blockchain is signed and verified;

[0149] The verified original financing data is compared with the original financing data acquired in advance to obtain financing difference data, and the anti-tampering result of the original financing data is determined based on the financing difference data.

[0150] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.

[0151] Furthermore, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0152] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0153] Conduct integrity verification on the original financing data of the transaction sender obtained in advance, and conduct authenticity verification on the original financing data that has been integrity verified;

[0154] Perform data deduplication processing on the original financing data whose authenticity has been verified, and digitally sign the original financing data after deduplication processing;

[0155] The original financing data processed with the digital signature is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data processed with the digital signature stored in the blockchain is extracted, and the electronic signature corresponding to the original financing data stored in the blockchain is extracted;

[0156] The identity of the transaction sender is verified according to the electronic signature. When the identity verification of the transaction sender is passed, the original financing data processed by the digital signature in the blockchain is signed and verified;

[0157] The verified original financing data is compared with the original financing data acquired in advance to obtain financing difference data, and the anti-tampering result of the original financing data is determined based on the financing difference data.

[0158] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, media and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0159] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0161] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0162] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is not limited only according to the above description, and it is intended that all changes within the meaning and scope of equivalent elements within the scope of protection are included in the present invention.

[0163] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0164] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A tamper-proof method for data financing based on weak property rights confirmation scenarios, characterized in that: The method comprises: Conduct integrity verification on the original financing data of the transaction sender obtained in advance, and conduct authenticity verification on the original financing data that has been integrity verified; Perform data deduplication processing on the original financing data whose authenticity has been verified, and digitally sign the original financing data after deduplication processing; The original financing data processed with the digital signature is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data processed with the digital signature stored in the blockchain is extracted, and the electronic signature corresponding to the original financing data stored in the blockchain is extracted; The identity of the transaction sender is verified according to the electronic signature. When the identity verification of the transaction sender is passed, the original financing data processed by the digital signature in the blockchain is signed and verified; The verified original financing data is compared with the original financing data acquired in advance to obtain financing difference data, and the anti-tampering result of the original financing data is determined based on the financing difference data.

2. The anti-tampering method for data financing based on weak title confirmation scenario as claimed in claim 1, characterized in that: The integrity verification of the original financing data of the transaction sender obtained in advance includes: Classify the financing categories of the original financing data obtained in advance; Backing up the financing data corresponding to the different financing categories after classification to obtain financing backup data; Calculate the hash values ​​of the financing data corresponding to different financing categories after classification; Determine summary information of the financing data corresponding to different financing categories after division according to the hash value; Compare the summary information with the summary information of the financing backup data to obtain comparison results corresponding to different financing categories after classification; All comparison results are collected as the integrity comparison result of the original financing data, and the integrity of the original financing data is verified based on the integrity comparison result.

3. The anti-tampering method for data financing based on weak title confirmation scenario as claimed in claim 1 is characterized in that: The authenticity verification of the original financing data that has been verified for integrity includes: Divide the original financing data that has been verified for integrity into financing data corresponding to different financing categories; Compare the information consistency of the financing data corresponding to different financing categories to obtain the comparison results; Verify the signing attributes of the financing data corresponding to different financing categories to obtain verification results; Analyze the financial indicators of financing data corresponding to different financing categories to obtain analysis results; All of the comparison results, the verification results and the analysis results are collected as authenticity comparison results of the original financing data, and the authenticity of the original financing data is verified based on the authenticity comparison results.

4. The anti-tampering method for data financing based on weak title confirmation scenario as claimed in claim 1, characterized in that: The digital signing of the original financing data after deduplication processing includes: Generate a key pair of deduplicated original financing data using a preset digital signature algorithm; Using the private key in the key pair to sign the original financing data after deduplication processing, to obtain a digital signature corresponding to the original financing data after deduplication processing; Perform hash calculation on the original financing data after deduplication to obtain a hash value; The digital signature and the hash value are added to the original financing data after deduplication processing to obtain a digital signature data set.

5. The anti-tampering method for data financing based on weak title confirmation scenario as claimed in claim 4 is characterized in that: Before extracting the electronic signature corresponding to the original financing data stored in the blockchain, the method further includes: Obtain the digital signature data set corresponding to the original financing data after digital signature processing stored in the blockchain, and extract the digital signature and hash value in the digital signature data set; Extract the encrypted identity information of the transaction sender and the data storage timestamp corresponding to the original financing data processed with the digital signature; The encrypted identity information, the data storage timestamp, the hash value and the digital signature are combined into an electronic signature.

6. The anti-tampering method for data financing based on weak title confirmation scenario as claimed in claim 4, characterized in that: The signature verification of the original financing data after digital signature processing in the blockchain includes: Obtain the private key in the key pair of the original financing data corresponding to the transaction sender; Decrypting the original financing data after digital signature processing in the blockchain using the private key; Performing a hash operation on the original financing data to obtain financing summary information; The decrypted original financing data and the financing summary information are signed and verified.

7. The anti-tampering method for data financing based on weak ownership confirmation scenario as claimed in claim 1 is characterized in that: The verified original financing data is compared with the pre-acquired original financing data to obtain financing difference data, including: Extracting a first data field of verified original financing data according to different financing categories, and extracting a second data field of pre-acquired original financing data; When the first data field is consistent with the second data field, converting the financing data corresponding to the first data field into a first character, and converting the financing data corresponding to the second data field into a second character; The difference characters between the first character and the second character are marked one by one, and the financing data corresponding to the difference characters are used to determine the financing difference data.

8. The anti-tampering method for data financing based on weak ownership confirmation scenario as claimed in claim 1, characterized in that: The step of determining the anti-tampering result of the original financing data according to the financing difference data includes: When the amount of the financing difference data is zero, the anti-tampering result of the original financing data is determined as a data non-tampering result; When the amount of the financing difference data is greater than zero, determining the financing category according to the financing difference data, and determining the tampering level of the original financing data according to the amount of the financing difference data; Determining the tampering risk level of the original financing data according to the financing category and the tampering level; The anti-tampering result of the original financing data is determined as the tampering score corresponding to the tampering risk level.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the tamper-proof method for data financing based on a weak property rights scenario as described in any one of claims 1 to 8.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the anti-tampering method for data financing based on a weak property rights confirmation scenario as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Data trust method and device, electronic equipment and storage medium

    CN113610526A

  • Log tamper-proofing method and system and storage medium

    CN114462998A

  • Electronic document signing and checking method and system for preventing tampering based on block chain

    CN115396117A

  • Goods right ownership evidence storage method and system

    CN116777340A

  • Electronic archive data security system and method

    CN117556442A