Tamper-proofing method, device and medium for data financing based on weakly authorized scenario

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

CN119293866BActive Publication Date: 2026-11-24招商局智融供应链服务有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411355422.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2026-11-24
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

Existing data tamper-proofing technologies have low accuracy in preventing data tampering in scenarios with weak ownership confirmation, failing 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 signature data in the blockchain, the immutability of the blockchain is used for identity verification and signature verification, ensuring the security and reliability of the data.

Benefits of technology

It improves the accuracy of anti-tampering in the data financing process, ensures the integrity and uniqueness of data, provides a high degree of security and traceability, and reduces the risk of data tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119293866B_ABST
    Figure CN119293866B_ABST
Patent Text Reader

Abstract

This invention relates to the field of data anti-tampering technology, and discloses a method, device, and medium for preventing data tampering in a weak ownership scenario of data financing. The method includes: verifying the integrity and authenticity of the original financing data of the transaction sender; performing data deduplication and digital signature processing on the original financing data; storing the digitally signed original financing data in a blockchain; when receiving a data transmission request from the transaction receiver, retrieving the digitally signed original financing data and the corresponding electronic signature stored in the blockchain; verifying the identity of the transaction sender based on the electronic signature; when the identity verification of the transaction sender is successful, verifying the signature on the original financing data; comparing the verified original financing data with pre-acquired original financing data, and determining the anti-tampering result of the original financing data based on the financing difference data. This invention can improve the accuracy of data financing anti-tampering.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, device and medium for preventing tampering in data financing based on weak ownership scenarios. Background Technology

[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 sources have become extremely important. In order to ensure the security of data collection, transmission, and storage and to prevent data from being tampered with or leaked, effective management and protection of the security and integrity of data sources has become an indispensable and important link.

[0003] Existing data tamper-proofing technologies convert data into ciphertext, making its content incomprehensible to unauthorized users and ensuring its integrity during transmission and storage. However, in practical applications, simply converting data into ciphertext without considering its integrity and authenticity may result in untrustworthy data from the outset, leading to lower accuracy in tamper-proofing for data financing. Summary of the Invention

[0004] This invention provides a method, device, and medium for preventing tampering in data financing based on weak ownership scenarios. Its main purpose is to solve the problem of low accuracy in preventing tampering during data financing.

[0005] To achieve the above objectives, this invention provides a tamper-proof method for data financing in weak ownership scenarios, comprising:

[0006] The integrity of the original financing data of the transaction sender obtained in advance is verified, and the authenticity of the original financing data that has been verified for integrity is verified.

[0007] The original financing data that has been verified for authenticity is deduplicated, and the deduplicated original financing data is digitally signed.

[0008] The original financing data after digital signature processing is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data after digital signature processing stored in the blockchain is retrieved, and the electronic signature corresponding to the original financing data stored in the blockchain is also retrieved.

[0009] The identity of the transaction sender is verified based on the electronic signature. When the identity verification of the transaction sender is passed, the original financing data after digital signature processing in the blockchain is verified by signature.

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

[0011] Optionally, the integrity verification of the pre-acquired original financing data of the transaction sender includes:

[0012] The pre-acquired raw financing data is categorized into financing types;

[0013] Back up the financing data corresponding to the different financing categories after the division to obtain financing backup data;

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

[0015] Based on the hash value, determine the summary information of the financing data corresponding to different financing categories after the division;

[0016] The summary information is compared with the summary information of the financing backup data to obtain the comparison results corresponding to different financing categories after division;

[0017] All comparison results are collected as the 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 verification of the authenticity of the original financing data that has been verified for completeness includes:

[0019] The original financing data that has been verified for completeness is divided into financing data corresponding to different financing categories;

[0020] The consistency of information in financing data corresponding to different financing categories is compared to obtain the comparison results.

[0021] The signing attributes of financing data corresponding to different financing categories were verified, and the verification results were obtained.

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

[0023] All the comparison results, verification results, and analysis results are collected as the 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 step of digitally signing the deduplicated original financing data includes:

[0025] A key pair for the original financing data after deduplication is generated using a preset digital signature algorithm;

[0026] The original financing data after deduplication is signed using the private key in the key pair to obtain the digital signature corresponding to the original financing data after deduplication.

[0027] The original financing data after deduplication is hashed to obtain the hash value;

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

[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 dataset corresponding to the original financing data after digital signature processing stored in the blockchain, and extract the digital signature and hash value from the digital signature dataset;

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

[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 from the key pair of the original financing data corresponding to the transaction sender;

[0035] The private key is used to decrypt the original financing data after digital signature processing in the blockchain;

[0036] The original financing data is hashed to obtain financing summary information;

[0037] The decrypted original financing data is then verified by signing it against the financing summary information.

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

[0039] Extract the first data field of the verified original financing data according to different financing categories, and extract the second data field of the pre-acquired original financing data;

[0040] When the first data field and the second data field are identical, the financing data corresponding to the first data field is converted into the first character, and the financing data corresponding to the second data field is converted into the second character;

[0041] The differences between the first character and the second character are marked one by one, and the financing data corresponding to the differences are determined as the financing difference data.

[0042] Optionally, determining the tamper-proof result of the original financing data based on the financing difference data includes:

[0043] When the number of financing difference data is zero, the anti-tampering result of the original financing data is determined as the data has not been tampered with;

[0044] When the number of financing discrepancy data is greater than zero, the financing category is determined based on the financing discrepancy data, and the level of tampering of the original financing data is determined based on the number of financing discrepancy data.

[0045] The tampering risk level of the original financing data is determined based on 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] To address the above problems, the present invention also 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, which enables the at least one processor to perform the aforementioned anti-tampering method for data financing based on weak ownership scenarios.

[0051] To address the aforementioned issues, the present invention also provides a computer-readable storage medium storing at least one computer program, which is executed by a processor in an electronic device to implement the aforementioned anti-tampering method for data financing based on weak ownership scenarios.

[0052] This invention ensures the security and integrity of data sources by employing technical means to verify, authenticate, and deduplicate data, thereby improving data storage and transmission efficiency and ensuring data consistency and uniqueness. Encryption is applied during data transmission, and digital signatures are provided for the original financing data to ensure immutability and identity verification, guaranteeing data security and reliability. Furthermore, blockchain electronic signatures and other methods ensure data authenticity and immutability. Leveraging the immutability and distributed nature of blockchain, original financing data and digital signatures are securely stored, providing high security and traceability. Therefore, the anti-tampering method, device, and medium for data financing in weak ownership scenarios proposed in this invention can solve the problem of low accuracy in anti-tampering during data financing. Attached Figure Description

[0053] Figure 1 A flowchart illustrating an embodiment of the present invention for an anti-tampering method of data financing in a weak ownership scenario;

[0054] Figure 2 A schematic diagram illustrating the process of digital signature of original financing data provided in an embodiment of the present invention;

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

[0056] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the anti-tampering method for data financing based on weak ownership scenarios, according to an embodiment of the present invention.

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

[0058] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0059] This application provides a method for preventing tampering in data financing based on weak ownership scenarios. The executing entity of this method includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the method for preventing tampering in data financing based on weak ownership scenarios 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 cluster of cloud servers. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0060] Reference Figure 1 The diagram shown is a flowchart illustrating an anti-tampering method for data financing in a weak ownership scenario according to an embodiment of the present invention. In this embodiment, the anti-tampering method for data financing in a weak ownership scenario includes:

[0061] S1. Verify the completeness 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 completeness.

[0062] In this embodiment of the invention, the original financing data refers to various data related to supply chain financing transactions, including information such as borrowing, lending, investment, financing costs, and repayment plans. 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 using computer statements with data capture capabilities (such as Java statements, Python statements, etc.). The storage area includes but is not limited to databases and blockchains.

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

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

[0065] In this embodiment of the invention, the integrity verification of the pre-acquired original financing data of the transaction sender includes:

[0066] The pre-acquired raw financing data is categorized into financing types;

[0067] Back up the financing data corresponding to the different financing categories after the division to obtain financing backup data;

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

[0069] Based on the hash value, determine the summary information of the financing data corresponding to different financing categories after the division;

[0070] The summary information is compared with the summary information of the financing backup data to obtain the comparison results corresponding to different financing categories after division;

[0071] All comparison results are collected as the 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 loan information, investment information, financing costs, repayment plans, financial statements, and contract documents. Loan 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, profit and loss statements, and cash flow statements; and contract documents include loan agreements, investment agreements, and guarantee agreements. The original financing data is then divided according to the data fields corresponding to the pre-acquired original financing data. Furthermore, the financing data corresponding to different financing categories is processed and verified separately. For example, the original financing data is divided into data in basic information, investment information, and financing costs. The data corresponding to different financing categories is then backed up to ensure that the original backup data can be used for verification during subsequent comparisons.

[0073] Specifically, a hash function is used to perform hash calculations on the financing data corresponding to each financing category, converting the data into a fixed-length hash value. The hash function includes, but is not limited to, SHA-1 and SHA-256. For example, for each data block, the SHA-256 algorithm is used to calculate a 256-bit hash value. Then, a digest is generated based on the hash value, either by performing another hash calculation on the hash value or by using an encryption algorithm to generate the digest. The digest information of the financing data corresponding to different financing categories after partitioning is compared with the digest information of the backup data to determine data integrity. The comparison results for all different financing categories are then summarized to obtain... The integrity comparison results of the original financing data include whether the summary information matches or does not match the summary information of the financing backup data. All comparison results are collected to provide an integrity assessment for each category. Finally, the integrity of the original financing data is verified based on the integrity comparison results. If all comparison results in the integrity comparison results are consistent, the original financing data is complete. If any comparison result in the integrity comparison results is inconsistent, the original financing data is incomplete. This ensures the integrity and security of the data during transmission and processing.

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

[0075] In this embodiment of the invention, integrity verification ensures that each piece of data is not tampered with or damaged during transmission and storage, while authenticity verification ensures that the source of the data is trustworthy, thereby improving the overall credibility of the data. Even if the integrity of the data is guaranteed, if the data source is untrustworthy, the data may still be threatened by tampering, thus requiring authenticity verification of the original financing data.

[0076] In this embodiment of the invention, the verification of the authenticity of the original financing data that has been verified for completeness includes:

[0077] The original financing data that has been verified for completeness is divided into financing data corresponding to different financing categories;

[0078] The consistency of information in financing data corresponding to different financing categories is compared to obtain the comparison results.

[0079] The signing attributes of financing data corresponding to different financing categories were verified, and the verification results were obtained.

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

[0081] All the comparison results, verification results, and analysis results are collected as the 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, the financing data is categorized according to different data types. For example, the loan information category includes data on the borrower's basic information, loan amount, loan term, interest rate, and repayment method. The data for each financing category is then compared for consistency, ensuring consistency between data obtained from different data sources or at different points in time. This includes comparison with financial statements, contracts, and audit reports to ensure there are no contradictions or inconsistencies. The comparison results are categorized as either consistent or inconsistent. Furthermore, the signature attributes for each financing category are verified, including the signatory's identity information, signing date, and signed content. This verifies the validity of the signature and the authenticity of the signatory's identity, resulting in a verification result, either successful or unsuccessful. Finally, the financial indicators for different financing categories are analyzed in depth, such as profit margin, debt ratio, and balance sheet, to understand the financial status and risk level of the financing project. Financial indicators and ratios are analyzed and compared with industry standards or data from the same industry to ensure the authenticity and credibility of the data, resulting in an analysis result, either correct or incorrect.

[0083] Specifically, all comparison results, verification results, and analysis results corresponding to different financing categories are aggregated into the authenticity comparison results of the original financing data. For example, if the comparison result for the loan information category is "information matching," the verification result is "verification passed," and the analysis result is "analysis error-free," and the comparison result for the investment information category is "information matching," the verification result is "verification passed," and the analysis result is "analysis error-free," then the results corresponding to all financing categories are aggregated. If all comparison results in the authenticity comparison results are "information matching," "verification passed," and "analysis error-free," then the original financing data is authentic. If any result in the authenticity comparison results is not "information matching," "verification passed," and "analysis error-free," then the original financing data is not authentic.

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

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

[0086] In this embodiment of the invention, the original financing data is deduplicated, that is, duplicate data in the original financing data is deleted, and only one financing data is retained. The field or attribute for data deduplication is determined, that is, a unique identifier or key attribute is used as the deduplication field, such as transaction ID, customer ID, contract number, etc. The data is sorted according to the deduplication field to ensure that the same data records are in adjacent positions for easy identification and processing. The sorted data is traversed to identify duplicate data records. The deduplication field of adjacent data records is compared to determine whether there is a duplicate. The determination of which data records are duplicates 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 duplicate data. The duplicate data is processed, and one of them is retained as a unique data record or the first occurrence of the data record is selected to be retained. The dataset is updated, and the duplicate data is removed or marked, and the unique data record is retained to ensure that the dataset no longer contains duplicate data.

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

[0088] In this embodiment of the invention, digital signatures can verify whether the source of data is trustworthy. After the original financing data is deduplicated, the source of the data can be determined by digital signatures to be legal and trustworthy, thereby preventing the data from being illegally tampered with or forged. No party involved in data processing and transmission can deny or negate its operation on the data, because digital signatures provide irrefutable evidence.

[0089] In this embodiment of the invention, reference is made to Figure 2 As shown, the step of digitally signing the deduplicated original financing data includes:

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

[0091] S22. Use the private key in the key pair to sign the original financing data after deduplication, and obtain the digital signature corresponding to the original financing data after deduplication.

[0092] S23. Perform hash calculation on the original financing data after deduplication to obtain the hash value;

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

[0094] In detail, a key pair 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. The signature algorithm encrypts the data to 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 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. Then, the generated digital signature and the calculated hash value are stored together with the original financing data after deduplication to form a digital signature dataset. That is, the generated digital signature is attached to the original financing data to form a digital signature dataset, ensuring that the signature and data are bound together and are not easily tampered with. The signature dataset contains the digital signature, hash value and original financing data, which can be used when verifying data.

[0095] Furthermore, 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 immutable, ensuring the integrity and credibility of the data.

[0096] S3. Store the original financing data after digital signature processing in the blockchain. When a data transmission request is received from the transaction recipient, retrieve the original financing data after digital signature processing stored in the blockchain, and retrieve the electronic signature corresponding to the original financing data stored in the blockchain.

[0097] In this embodiment of the invention, blockchain is a distributed database. Each block contains the hash value of the previous block. Therefore, once the data in any block is recorded, it cannot be tampered with. Once the data after digital signature processing is stored on the blockchain, it has the characteristic of being immutable, ensuring the integrity and credibility of the data. Based on the pre-generated smart contract, the original financing data after digital signature processing is stored. The hash value and the corresponding signature of the data are accepted as parameters, and the data is stored in the blockchain address mapping, thereby storing the original financing data after digital signature processing and the corresponding signature together on the blockchain.

[0098] In detail, when the transaction recipient needs to receive the original financing data, it sends a data transmission request. Based on the data transmission request, the original financing data, after digital signature processing, and the corresponding electronic signature are extracted from the blockchain. This involves obtaining the smart contract address and ABI (Contract Interface) of the stored original financing data for interaction with the contract. Upon receiving the data transmission request, the data hash is extracted from it. The data hash is a unique identifier used to find stored data on the blockchain. Using methods in the smart contract, the original financing data after digital signature processing is queried from 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 results.

[0099] Furthermore, after obtaining the stored original financing data, the digital signature and hash value can be extracted from the digital signature dataset 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 this embodiment of the invention, the electronic signature refers to a signature created, verified, and applied using digital technology to confirm the authenticity and integrity of electronic documents, as well as the identity of the signatory. The electronic signature includes a digital signature, sender information, timestamp, and document digest.

[0101] In this embodiment of the invention, reference is made to Figure 3 As shown, before extracting the electronic signature corresponding to the original financing data stored in the blockchain, the method further includes:

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

[0103] S32. Extract the encrypted identity information of the transaction sender and the data storage timestamp corresponding to the original financing data after digital signature processing;

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

[0105] In detail, the process involves obtaining the digital signature dataset corresponding to the original financing data after digital signature processing stored in the blockchain. The digital signature dataset contains digital signatures and corresponding hash values. The digital signatures and hash values ​​in the digital signature dataset can be extracted using computer statements with data scraping capabilities. Transaction information corresponding to the original financing data after digital signature processing is then extracted from the blockchain. This includes the encrypted identity information of the transaction sender (such as a public key or address) and the data storage timestamp. The extracted encrypted identity information, data storage timestamp, hash value, and digital signature are combined into an electronic signature. The information is then combined according to 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 pre-acquired original financing data. When the hash values ​​match, the digital signature dataset corresponding to the original financing data stored in the blockchain is divided to obtain the original financing data and electronic signature. The hash value of the original financing data stored in 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 hashing the original financing data, thereby verifying whether the data stored in the blockchain is correct. Once the hash value of the data is confirmed, the next step is to obtain the digital signature information, which can be obtained by querying the relevant transactions or smart contracts stored in the blockchain.

[0107] Furthermore, electronic signatures are usually associated with specific digital identity information, such as public keys or encrypted identity information. By verifying electronic signatures, it can be ensured that the identity of the transaction sender is legitimate and trustworthy, and that the integrity of the transaction data is ensured, that is, the data has not been tampered with during transmission.

[0108] S4. Verify the identity of the transaction sender based on the electronic signature. When the identity verification of the transaction sender is successful, verify the signature of the original financing data after digital signature processing in the blockchain.

[0109] In this embodiment of the invention, verifying the identity of the transaction sender can reduce the risk of fraud and fake transactions. Only transaction senders whose identities have been verified can conduct transactions, thereby reducing unauthorized transactions and fraudulent activities. The verification of the transaction sender's identity based on the electronic signature includes: extracting the encrypted identity information and key pair of the transaction sender from the electronic signature; decrypting the encrypted identity information using the private key in the key pair; 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, by verifying the identity of the transaction sender based on electronic signatures, the original financing data stored in the blockchain after digital signature processing will only be verified when the transaction recipient's identity verification of the transaction sender is successful, ensuring that the original financing data has not been tampered with.

[0111] In this embodiment of the invention, successful identity verification means that the identity of the transaction sender is legitimate and trustworthy. When the verification is successful, in order to ensure that the original data has not been tampered with during transmission, the hash value of the original data can be compared by verifying the digital signature, thus ensuring the integrity of the data and preventing any unauthorized modification or tampering.

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

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

[0114] The private key is used to decrypt the original financing data after digital signature processing in the blockchain;

[0115] The original financing data is hashed to obtain financing summary information;

[0116] The decrypted original financing data is then verified by signing it against the financing summary information.

[0117] In detail, before signature verification, the private key corresponding to the transaction sender is obtained. This private key is generated during the process of digitally signing the original financing data using the private key of the transaction sender. Using the obtained private key, the original financing data after digital signature processing in the blockchain is decrypted to obtain the hash value of the original financing data. The decrypted original financing data is then hashed to obtain financing digest information (i.e., hash value). The hash value of the decrypted original financing data is compared with the hash value of the calculated financing digest information. If the information matches, the signature authentication is successful; if the information does not match, the signature authentication fails.

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

[0119] S5. Compare the verified original financing data with the pre-acquired original financing data to obtain financing difference data, and determine the anti-tampering result of the original financing data based on the financing difference data.

[0120] In this embodiment of the invention, the financing difference data refers to the data that differs between the verified original financing data and the pre-acquired original financing data. The difference may be a change in field value, the addition or deletion of fields, etc.

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

[0122] Extract the first data field of the verified original financing data according to different financing categories, and extract the second data field of the pre-acquired original financing data;

[0123] When the first data field and the second data field are identical, the financing data corresponding to the first data field is converted into the first character, and the financing data corresponding to the second data field is converted into the second character;

[0124] The differences between the first character and the second character are marked one by one, and the financing data corresponding to the differences are determined as the financing difference data.

[0125] In detail, based on 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. These data fields include borrower basic information from 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), and investment return (investment_return). Furthermore, for each financing category... First, compare the corresponding values ​​of the first and second data fields. If the first and second data fields are the same (i.e., both fields contain the name, ID number, etc.), then convert the corresponding data of the first and second data fields into character form. Then, compare the character differences between the first and second characters, mark the differences, and add the financing data corresponding to the differences to the financing difference data. Mark the differences for each financing category until all financing categories have been compared, thus determining the financing difference data for each financing category.

[0126] Furthermore, by comparing financing discrepancies, it can be ensured that the original financing data has not been tampered with during transmission or storage, thereby reducing risks in financial transactions and business operations, and taking timely measures to address data tampering issues, which helps avoid potential losses and risks.

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

[0128] In this embodiment of the invention, determining the tamper-proof result of the original financing data based on the financing difference data includes:

[0129] When the number of financing difference data is zero, the anti-tampering result of the original financing data is determined as the data has not been tampered with;

[0130] When the number of financing discrepancy data is greater than zero, the financing category is determined based on the financing discrepancy data, and the level of tampering of the original financing data is determined based on the number of financing discrepancy data.

[0131] The tampering risk level of the original financing data is determined based on 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] Specifically, if the number of financing discrepancy data points is zero, the tamper-proof result of the original financing data is determined as no data tampering. If the number of financing discrepancy data points is greater than zero, the financing category (e.g., loan, investment) is determined based on the content and characteristics of the financing discrepancy data. The tampering level is then determined based on the number of financing discrepancy data points, which can be divided into several levels, such as minor, moderate, and severe. Based on the financing category and tampering level, the tampering risk level of the original financing data is determined. Different risk levels, such as low risk, medium risk, and high risk, can be set to reflect the severity of the tampering and its impact on business. The system maps the risk level of tampering to a corresponding tampering score, assigning a score range to each risk level. For example, high risk corresponds to a score range of 1-30 points, medium risk to 31-60 points, and high risk to 60-100 points. This allows for a better assessment of the impact of tampering. Furthermore, the system can determine the tamper-proof results of the original financing data, as well as the corresponding tampering risk level and score, based on the quantity, type, and level of tampering in the financing difference data. This facilitates timely identification and response to potential data tampering issues, ensuring the integrity and reliability of the data.

[0134] This invention ensures the security and integrity of data sources by employing technical means to verify, authenticate, and deduplicate data, thereby improving data storage and transmission efficiency and ensuring data consistency and uniqueness. Encryption is applied during data transmission, and digital signatures are provided for the original financing data to ensure immutability and identity verification, guaranteeing data security and reliability. Furthermore, blockchain electronic signatures and other methods ensure data authenticity and immutability. Leveraging the immutability and distributed nature of blockchain, original financing data and digital signatures are securely stored, providing high security and traceability. Therefore, the anti-tampering method, device, and medium for data financing in weak ownership scenarios proposed in this invention can solve the problem of low accuracy in anti-tampering during data financing.

[0135] like Figure 4 The diagram shown is a structural schematic of an electronic device that implements an anti-tampering method for data financing based on weak ownership scenarios, according to 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. It may also include a computer program stored in the memory 11 and capable of running on the processor 10, such as an anti-tampering program for data financing based on weak rights confirmation scenarios.

[0137] In some embodiments, the processor 10 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 10 is the control unit of the electronic device, connecting various components of the entire electronic device through various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing anti-tampering programs for data financing based on weak rights confirmation scenarios) and calls data stored in the memory 11 to perform various functions of the electronic device and process data.

[0138] The memory 11 includes at least one type of readable storage medium, including flash memory, portable hard drive, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of an electronic device, such as a portable hard drive. In other embodiments, the memory 11 can be an external storage device of the electronic device, such as a plug-in portable hard drive, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. Furthermore, the memory 11 can include both internal and external storage units of the electronic device. The memory 11 can be used not only to store application software and various types of data installed on the electronic device, such as the code of an anti-tampering program for data financing based on weak rights confirmation scenarios, but also to temporarily store data that has been output or will be output.

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

[0140] The communication interface 13 is used for communication between the aforementioned 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, Bluetooth interface, etc.), typically used to establish communication connections between the electronic device and other electronic devices. The user interface may be a display, an input unit (such as a keyboard), or, optionally, a standard wired or wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, 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, or combine certain components, or have different component arrangements.

[0142] For example, although not shown, the electronic device may also include a power supply (such as a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 10 through a power management device, thereby enabling functions such as charging management, discharging management, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0143] It should be understood that the embodiments described are for illustrative purposes only and are not limited to this structure in the scope of the patent application.

[0144] The tamper-proof program for data financing based on weak ownership scenarios, stored in the memory 11 of the electronic device, is a combination of multiple instructions. When run in the processor 10, it can achieve the following:

[0145] The integrity of the original financing data of the transaction sender obtained in advance is verified, and the authenticity of the original financing data that has been verified for integrity is verified.

[0146] The original financing data that has been verified for authenticity is deduplicated, and the deduplicated original financing data is digitally signed.

[0147] The original financing data after digital signature processing is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data after digital signature processing stored in the blockchain is retrieved, and the electronic signature corresponding to the original financing data stored in the blockchain is also retrieved.

[0148] The identity of the transaction sender is verified based on the electronic signature. When the identity verification of the transaction sender is passed, the original financing data after digital signature processing in the blockchain is verified by signature.

[0149] The verified original financing data is compared with the pre-acquired original financing data to obtain financing difference data. 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 be referred to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, and will not be repeated here.

[0151] Furthermore, if the modules / units integrated into the electronic device are implemented as software functional units and sold or used as independent products, they 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 portable hard drive, a magnetic disk, an optical disk, a computer memory, or a read-only memory (ROM).

[0152] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor of an electronic device, can perform the following:

[0153] The integrity of the original financing data of the transaction sender obtained in advance is verified, and the authenticity of the original financing data that has been verified for integrity is verified.

[0154] The original financing data that has been verified for authenticity is deduplicated, and the deduplicated original financing data is digitally signed.

[0155] The original financing data after digital signature processing is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data after digital signature processing stored in the blockchain is retrieved, and the electronic signature corresponding to the original financing data stored in the blockchain is also retrieved.

[0156] The identity of the transaction sender is verified based on the electronic signature. When the identity verification of the transaction sender is passed, the original financing data after digital signature processing in the blockchain is verified by signature.

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

[0158] In the several embodiments provided by this 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 merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

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

[0160] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.

[0161] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, 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, the embodiments should be regarded as exemplary and non-limiting in all respects. The scope of the invention is not limited to the foregoing description, and all variations within the meaning and scope of equivalents falling within the protection scope are intended to be included in the invention.

[0163] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0164] Furthermore, it is clear that the word "including" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the system can also be implemented by a single unit or device through software or hardware. Terms such as "first," "second," etc., are used to indicate names and do not indicate any specific order.

[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A tamper-proof method for data financing in weak ownership scenarios, characterized in that, The method includes: The original financing data of the transaction sender obtained in advance is divided into financing categories. The financing backup data corresponding to different financing categories is obtained, as well as the summary information corresponding to different financing categories. The summary information is compared with the summary information of the financing backup data to obtain the comparison results corresponding to different financing categories. All comparison results are collected as the integrity comparison results of the original financing data. The integrity of the original financing data is verified according to the integrity comparison results to obtain the integrity-verified original financing data. The original financing data that has been verified for completeness is divided into financing data corresponding to different financing categories. The information consistency of the financing data corresponding to different financing categories is compared to obtain comparison results. The signing attributes of the financing data corresponding to different financing categories are verified to obtain verification results. The financial indicators of the financing data corresponding to different financing categories are analyzed to obtain analysis results. All the comparison results, verification results and analysis results are collected to form the authenticity comparison results of the original financing data. The authenticity of the original financing data is verified based on the authenticity comparison results. The original financing data that has been verified for authenticity is deduplicated. A key pair of the deduplicated original financing data is generated using a preset digital signature algorithm. The deduplicated original financing data is signed using the private key in the key pair to obtain a digital signature corresponding to the deduplicated original financing data. A hash value is obtained by hashing the deduplicated original financing data. The digital signature and the hash value are added to the deduplicated original financing data to obtain a digital signature dataset. The original financing data after digital signature processing is stored in the blockchain. When a data transmission request is received from the transaction recipient, the original financing data after digital signature processing stored in the blockchain is retrieved, and the electronic signature corresponding to the original financing data stored in the blockchain is also retrieved. The identity of the transaction sender is verified based on the electronic signature. When the identity verification of the transaction sender is successful, the private key in the key pair of the original financing data corresponding to the transaction sender is obtained. The private key is used to decrypt the original financing data after digital signature processing in the blockchain. The original financing data is hashed to obtain financing digest information. The decrypted original financing data and the financing digest information are then signed and verified. The verified original financing data is compared with the pre-acquired original financing data to obtain financing difference data. 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 ownership scenarios as described in claim 1, characterized in that, The acquisition of backup financing data corresponding to different financing categories after segmentation, and the acquisition of summary information corresponding to different financing categories after segmentation, include: Back up the financing data corresponding to the different financing categories after the division to obtain financing backup data; Calculate the hash value of the financing data corresponding to different financing categories after the division; The hash value is used to determine the summary information of the financing data corresponding to different financing categories after the division.

3. The anti-tampering method for data financing based on weak ownership scenarios as described in claim 1, 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 dataset corresponding to the original financing data after digital signature processing stored in the blockchain, and extract the digital signature and hash value from the digital signature dataset; Extract the encrypted identity information of the transaction sender and the data storage timestamp corresponding to the original financing data after digital signature processing; The encrypted identity information, the data storage timestamp, the hash value, and the digital signature are combined into an electronic signature.

4. The anti-tampering method for data financing based on weak ownership scenarios as described in claim 1, characterized in that, The step of comparing the verified original financing data with the pre-acquired original financing data to obtain financing difference data includes: Extract the first data field of the verified original financing data according to different financing categories, and extract the second data field of the pre-acquired original financing data; When the first data field and the second data field are identical, the financing data corresponding to the first data field is converted into the first character, and the financing data corresponding to the second data field is converted into the second character; The differences between the first character and the second character are marked one by one, and the financing data corresponding to the differences are determined as the financing difference data.

5. The tamper-proof method for data financing based on weak ownership scenarios as described in claim 1, characterized in that, The step of determining the tamper-proof result of the original financing data based on the financing difference data includes: When the number of financing difference data is zero, the anti-tampering result of the original financing data is determined as the data has not been tampered with; When the number of financing discrepancy data is greater than zero, the financing category is determined based on the financing discrepancy data, and the level of tampering of the original financing data is determined based on the number of financing discrepancy data. The tampering risk level of the original financing data is determined based on 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.

6. An electronic device, characterized in that, The electronic device includes: 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, the computer program being executed by the at least one processor to enable the at least one processor to perform the data financing anti-tampering method based on weak ownership scenarios as described in any one of claims 1 to 5.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the data financing anti-tampering method based on weak ownership scenarios as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Electronic archive data security system and method

    CN117556442A