Financial transaction data intelligent protection method and system based on block chain

Through dynamic encryption of smart contracts and zero-knowledge proof authentication, combined with distributed blockchain and multi-blockchain interaction, artificial intelligence monitoring and early warning are used to solve the problems of insufficient flexibility of encryption strategy, insufficient privacy of identity verification and risk of blockchain data tampering in the existing intelligent protection methods of financial transaction data, and achieve efficient, secure and collaborative financial transaction data protection.

CN119599679APending Publication Date: 2025-03-11ORDOS CITY DAGUANJIA FINANCE & TAXATION SERVICE CO LTD

Patent Information

Application Number
CN202411804571.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The existing intelligent protection methods for financial transaction data cannot flexibly adjust encryption strategies based on the sensitivity and uses of different transactions, there is risk of waste of computing resources or security, the identity verification mechanism has the risk of privacy leakage, and the blockchain system has the risk of data tampering in a centralized or semi-centralized environment, making it difficult to achieve seamless data sharing and business collaboration.

Method used

Financial transaction data is automatically encrypted through smart contracts, and the encryption strength is dynamically adjusted according to the sensitivity and purpose of the transaction data. Identity verification is used to be authenticated by using the zero-knowledge proof mechanism to build a distributed blockchain network to record the encrypted data, and interaction is realized through the multi-blockchain network security interaction protocol layer. The artificial intelligence model is used to monitor transaction behavior in real time and warning, and recover lost or damaged data in a timely manner.

Benefits of technology

It realizes dynamic adjustment of encryption strength based on transaction sensitivity and purpose, improves data privacy and security, ensures data immutability and integrity, enhances data credibility and synergy, and reduces the waste of computing resources and false positive rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599679A_ABST
    Figure CN119599679A_ABST
Patent Text Reader

Abstract

The invention discloses a financial transaction data intelligent protection method and system based on a block chain, and belongs to the technical field of block chains, and the method comprises the steps: collecting financial transaction data from a data source of a financial transaction system, and carrying out the cleaning, format unification and abnormal value detection processing; dynamic encryption strength adjustment is carried out through the smart contract according to the sensitivity and the purpose of the transaction data, compared with a traditional fixed encryption mode, data can be protected more accurately, identity authentication is carried out in combination with a zero-knowledge proof mechanism, specific identity information does not need to be exposed in the identity authentication process, identity information leakage is effectively prevented, and user experience is improved. Encrypted financial transaction data are recorded in a block chain, it is ensured that the data are not maliciously tampered in the storage and transmission process through the non-tampering characteristic of the block chain, each transaction generates a unique hash value as an identity identifier, and decentralized propagation and consensus verification are performed in a block chain network, so that the security of the transaction is improved. And the integrity and credibility of the data are further enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of blockchain technology, and specifically refers to a blockchain-based financial transaction data intelligent protection method and system. Background Art

[0002] With the development of financial technology, the security and privacy of financial transaction data have become particularly important. Traditional financial data protection methods mainly rely on centralized servers and encryption algorithms, but these methods have risks such as single point failure and information leakage.

[0003] However, the existing intelligent protection methods for financial transaction data still have certain defects. The existing intelligent protection methods for financial transaction data cannot flexibly adjust the encryption strategy according to the sensitivity and purpose of different transactions, resulting in unnecessary waste of computing resources or security risks. The identity authentication mechanism often requires users to submit specific identity information. This information is at risk of being stolen or abused during transmission and storage, increasing the possibility of privacy leakage. Although some existing systems use blockchain technology to record transaction data, in some cases, there may still be a risk of data tampering, especially in centralized or semi-centralized environments. The lack of a unified identity identifier and a decentralized dissemination and consensus verification mechanism affects the integrity and credibility of the data. Existing blockchain systems usually operate in isolation. When different financial institutions or business systems are based on different blockchain platforms, it is difficult to achieve seamless data sharing and business collaboration. To this end, a method and system for intelligent protection of financial transaction data based on blockchain are proposed. Summary of the invention

[0004] The purpose of the present invention is to provide a blockchain-based financial transaction data intelligent protection method and system to solve the problems raised in the above background technology.

[0005] To achieve the above purpose, the present invention provides the following technical solution: a blockchain-based financial transaction data intelligent protection method, comprising the following steps:

[0006] S1. Collect financial transaction data from the data source of the financial transaction system, and perform cleaning, format unification and outlier detection processing;

[0007] S2. When financial transaction data occurs, the transaction data is automatically encrypted through smart contracts, and the encryption strength is adjusted according to the encryption type;

[0008] S3, identity verification is performed through a zero-knowledge proof mechanism during the identity verification process;

[0009] S4. Build a distributed blockchain network and record encrypted financial transaction data into the blockchain;

[0010] S5. Build a multi-blockchain network security interaction protocol layer for interaction;

[0011] S6. Use artificial intelligence models to monitor transaction behaviors in real time, identify risks of abnormal transaction behaviors, and issue early warnings in a timely manner;

[0012] S7. When data is lost or damaged, data shards are obtained from multiple nodes and reorganized and restored based on the index information stored in the data shards and the data hash value on the blockchain.

[0013] Wherein, the S1 collects financial transaction data from the data source of the financial transaction system, and performs cleaning, format unification and outlier detection processing; establishes a connection through the database and transaction interface data source of the financial transaction system, and obtains the financial transaction data in real time through a specific data collection protocol;

[0014] Perform duplicate checking based on the acquired data, identify and delete completely duplicate transaction records by comparing key transaction data fields, check the integrity and rationality of the data, identify missing key information in the data, and required information of the transaction parties. For missing data, fill in the strategy based on business logic, convert data from different sources into a unified data model, and timestamp all transactions based on the same time zone or UTC standard to eliminate time deviations caused by regional differences. For text data, unify the character encoding format, and for numerical data, specify the number of digits retained after the decimal point. Anomaly detection is used to identify data points that deviate from the normal distribution.

[0015] Wherein, said S2, when financial transaction data occurs, the transaction data is automatically encrypted through the smart contract, and the encryption strength is adjusted according to the encryption type;

[0016] According to the sensitivity and purpose of transaction data, it is divided into different security levels, and corresponding encryption rules are set for each type of transaction data. Suppose the transaction amount is A, the user credit level is C, and the transaction time is t. Each parameter is weighted and the implementation formula is:

[0017] S(T)=w1·A+w2·C+w1·g(t);

[0018] In the formula, g(t) represents the time-dependent function, the encryption strength is calculated for the result, and the encryption strength is calculated for the formula. The implementation formula is:

[0019] S(T)=f(A,C,t).

[0020] Among them, S2, by adding encryption logic to the smart contract, automatically triggers encryption during transactions, and the smart contract automatically adjusts the encryption strength according to the transaction characteristics. Assuming that the transaction data to be encrypted is T, the encryption key is K, the dynamic encryption strength adjustment implementation formula is:

[0021] E(T,K)=g(S(T),A),

[0022] In the formula, E represents the encrypted data, T represents the transaction data to be encrypted, K represents the encryption key, S(T) represents the encryption strength, A represents the encryption algorithm, and g represents the encryption operation function. The data is encrypted according to the encryption strength and algorithm.

[0023] Whenever a new transaction is generated, the system first captures the transaction information and prepares the data to be encrypted, and sends the prepared transaction data to the smart contract, triggering its internal encryption processing logic. The smart contract selects the appropriate encryption algorithm and strength to encrypt the transaction data based on the preset encryption rules and the specific circumstances of the current transaction.

[0024] Wherein, the S3 performs identity verification through a zero-knowledge proof mechanism during the identity verification process; through a zero-knowledge proof scheme of elliptic curve cryptography, and configured according to the security requirements and performance requirements of the financial transaction system, the basic mathematical structure and parameters involved in the zero-knowledge proof are determined, the public parameters and key pairs of the system are generated, public parameters are generated for the verifiers in the financial transaction system, and a key pair is generated for each user participating in the identity verification, including a private key and a corresponding public key. The private key is kept secretly by the user and is used to generate the zero-knowledge proof, and the public key is used by the verifier to verify the proof;

[0025] When a user initiates a financial transaction identity authentication request, he first obtains the identity-related information that needs to be proved and uses this information as the information to be proved. The user uses the private key and the zero-knowledge proof algorithm to generate a zero-knowledge proof according to the rules of the selected zero-knowledge proof scheme. The verifier receives the zero-knowledge proof and the user's public key sent by the user. The verifier checks the validity and legality of the public key. The verifier uses the system's public parameters, the user's public key and the received zero-knowledge proof to perform verification calculations based on the verification logic of the zero-knowledge proof algorithm. If the verification is successful, it means that the user has passed the identity authentication and the financial transaction can continue. If the verification fails, the user's transaction request is rejected and the corresponding security warning mechanism is triggered.

[0026] Among them, S4 builds a distributed blockchain network and records the encrypted financial transaction data in the blockchain; creates an initial block, which contains the basic rules and configuration information when the network is started, sets various parameters required for network operation, including block size, generation time interval, and reward mechanism, sets the role of each node in the network, and allocates corresponding resources and permissions according to the role, installs blockchain client software on the servers of each participant, and performs necessary configuration. Newly added nodes need to synchronize the latest blockchain status from existing nodes.

[0027] Among them, S4, in the zero-knowledge proof identity authentication process, audits and records the key steps and information, encrypts the recorded data using a pre-defined encryption algorithm, and the encryption process should adjust the encryption strength according to the data sensitivity and purpose. A unique hash value is generated for each transaction as the transaction identity identifier, and the encrypted transaction data is submitted to the blockchain network through the network interface. Each transaction should contain necessary metadata. Once a new transaction request is received, the nodes in the network will propagate it to other nodes to form a decentralized propagation process. According to the selected consensus mechanism, each node jointly decides whether to accept the transaction. When a batch of transactions are verified, the node responsible for packaging will combine them into a new block, attach it to the end of the existing blockchain and add a timestamp.

[0028] Among them, the S5 builds a multi-blockchain network security interaction protocol layer for interaction; interacts between multiple chains through a cross-chain technology framework, deploys a group of nodes for each blockchain participating in the interaction, and the nodes communicate with nodes on other chains and perform necessary verification and processing tasks, create a unified message format, specify the message header, payload part and signature field elements, design a standardized API interface for each chain, and interact with each chain in a consistent manner.

[0029] Among them, the S6 monitors transaction behaviors in real time through artificial intelligence models, identifies risks of abnormal transaction behaviors, and issues timely warnings; collects multi-dimensional transaction data from blockchain networks and related financial transaction systems as input features of artificial intelligence models, and captures its sequence characteristics through recurrent neural networks according to the characteristics of transaction data and monitoring needs, and marks and classifies historical transaction data as normal transactions and abnormal transactions. The selected artificial intelligence model is trained with the marked training data, and the loss function of the model is minimized by adjusting the parameters of the model. The trained artificial intelligence model is deployed in the financial transaction monitoring system, which can receive newly generated transaction data in real time and trigger the warning mechanism according to the set warning rules. The warning information may include detailed information of the transaction, the type of abnormality, and an assessment of the degree of abnormality, and the warning information will be sent to relevant financial regulators in a timely manner.

[0030] Among them, a blockchain-based financial transaction data intelligent protection system includes:

[0031] Data collection and preprocessing module: Establish connections based on the database of the financial transaction system and the transaction interface data source, obtain financial transaction data in real time, and perform cleaning, format unification, and outlier detection;

[0032] Encryption processing module: When a transaction occurs, the transaction data is automatically encrypted through the smart contract, and the encryption strength is dynamically adjusted according to the encryption type;

[0033] Authentication module: Authentication is performed through a zero-knowledge proof mechanism;

[0034] Distributed blockchain network building module: By building a distributed blockchain network, the encrypted financial transaction data is recorded in the blockchain;

[0035] Secure interaction protocol module: By designing a cross-chain technology framework, secure interaction between multiple blockchains is achieved;

[0036] Real-time monitoring and early warning module: Use artificial intelligence models to monitor transaction behaviors in real time, identify abnormal behavior risks, and issue early warnings in a timely manner;

[0037] Data recovery module: When data is lost or damaged, data sharding and reorganization are performed based on the index information and data hash value on the blockchain.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] 1. The present invention uses smart contracts to dynamically adjust the encryption strength according to the sensitivity and purpose of transaction data. Compared with traditional fixed encryption methods, it can protect data more accurately. It combines zero-knowledge proof mechanism for identity authentication. There is no need to expose specific identity information during the identity authentication process, which effectively prevents identity information leakage and greatly improves data privacy and security.

[0040] 2. The present invention records encrypted financial transaction data into the blockchain, and with the help of the tamper-proof characteristics of the blockchain, ensures that the data is not maliciously tampered with during storage and transmission. Each transaction generates a unique hash value as an identity identifier, and decentralized dissemination and consensus verification are carried out in the blockchain network, further enhancing the integrity and credibility of the data;

[0041] 3. The present invention uses artificial intelligence models to conduct real-time monitoring based on multi-dimensional transaction data, and can deeply analyze transaction behavior patterns. Models such as recurrent neural networks can capture the sequence characteristics of transaction data. Compared with traditional monitoring methods based on rules or simple statistical analysis, it can more accurately identify complex abnormal transaction behavior risks, effectively reduce false alarm rates, and improve the accuracy and timeliness of risk prevention and control;

[0042] 4. The present invention achieves secure and efficient interaction between multiple blockchain networks by constructing a multi-blockchain network security interaction protocol layer through a cross-chain technology framework, a unified message format and a standardized API interface, so that different financial institutions or business systems can still carry out seamless data sharing and business collaboration based on different blockchain platforms, overcoming the limitations of traditional single-chain systems in data silos and business expansion, and improving the synergy and flexibility of the entire financial ecosystem. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 The operating process of the blockchain-based financial transaction data intelligent protection method of the present invention is as follows: Figure 1 ;

[0044] Figure 2 The operating process of the blockchain-based financial transaction data intelligent protection method of the present invention is as follows: Figure 2 ;

[0045] Figure 3 The operating process of the blockchain-based financial transaction data intelligent protection method of the present invention is as follows: Figure 3 ;

[0046] Figure 4 This is a structural schematic diagram of a blockchain-based financial transaction data intelligent protection system of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Example

[0049] See also Figure 1-Figure 4 As shown, the present invention provides a technical solution: comprising the following steps:

[0050] S1. Collect financial transaction data from the data source of the financial transaction system, and perform cleaning, format unification and outlier detection processing;

[0051] S2. When financial transaction data occurs, the transaction data is automatically encrypted through smart contracts, and the encryption strength is adjusted according to the encryption type;

[0052] S3, identity verification is performed through a zero-knowledge proof mechanism during the identity verification process;

[0053] S4. Build a distributed blockchain network and record encrypted financial transaction data into the blockchain;

[0054] S5. Build a multi-blockchain network security interaction protocol layer for interaction;

[0055] S6. Use artificial intelligence models to monitor transaction behaviors in real time, identify risks of abnormal transaction behaviors, and issue early warnings in a timely manner;

[0056] S7. When data is lost or damaged, data shards are obtained from multiple nodes and reorganized and restored based on the index information stored in the data shards and the data hash value on the blockchain.

[0057] Wherein, the S1 collects financial transaction data from the data source of the financial transaction system, and performs cleaning, format unification and outlier detection processing; establishes a connection through the database and transaction interface data source of the financial transaction system, and obtains the financial transaction data in real time through a specific data collection protocol;

[0058] Perform duplicate checking based on the acquired data, identify and delete completely duplicate transaction records by comparing key transaction data fields, check the integrity and rationality of the data, identify missing key information in the data, and required information of the transaction parties. For missing data, fill in the strategy based on business logic, convert data from different sources into a unified data model, and timestamp all transactions based on the same time zone or UTC standard to eliminate time deviations caused by regional differences. For text data, unify the character encoding format, and for numerical data, specify the number of digits retained after the decimal point. Anomaly detection is used to identify data points that deviate from the normal distribution.

[0059] Wherein, said S2, when financial transaction data occurs, the transaction data is automatically encrypted through the smart contract, and the encryption strength is adjusted according to the encryption type;

[0060] According to the sensitivity and purpose of transaction data, it is divided into different security levels, and corresponding encryption rules are set for each type of transaction data. Suppose the transaction amount is A, the user credit level is C, and the transaction time is t. Each parameter is weighted and the implementation formula is:

[0061] S(T)=w1·A+w2·C+w1·g(t);

[0062] In the formula, g(t) represents the time-dependent function, the encryption strength is calculated for the result, and the encryption strength is calculated for the formula. The implementation formula is:

[0063] S(T)=f(A,C,t).

[0064] Among them, S2, by adding encryption logic to the smart contract, automatically triggers encryption during transactions, and the smart contract automatically adjusts the encryption strength according to the transaction characteristics. Assuming that the transaction data to be encrypted is T, the encryption key is K, the dynamic encryption strength adjustment implementation formula is:

[0065] E(T,K)=g(S(T),A),

[0066] In the formula, E represents the encrypted data, T represents the transaction data to be encrypted, K represents the encryption key, S(T) represents the encryption strength, A represents the encryption algorithm, and g represents the encryption operation function. The data is encrypted according to the encryption strength and algorithm.

[0067] Whenever a new transaction is generated, the system first captures the transaction information and prepares the data to be encrypted, and sends the prepared transaction data to the smart contract, triggering its internal encryption processing logic. The smart contract selects the appropriate encryption algorithm and strength to encrypt the transaction data based on the preset encryption rules and the specific circumstances of the current transaction.

[0068] Wherein, the S3 performs identity verification through a zero-knowledge proof mechanism during the identity verification process; through a zero-knowledge proof scheme of elliptic curve cryptography, and configured according to the security requirements and performance requirements of the financial transaction system, the basic mathematical structure and parameters involved in the zero-knowledge proof are determined, the public parameters and key pairs of the system are generated, public parameters are generated for the verifiers in the financial transaction system, and a key pair is generated for each user participating in the identity verification, including a private key and a corresponding public key. The private key is kept secretly by the user and is used to generate the zero-knowledge proof, and the public key is used by the verifier to verify the proof;

[0069] When a user initiates a financial transaction identity authentication request, he first obtains the identity-related information that needs to be proved and uses this information as the information to be proved. The user uses the private key and the zero-knowledge proof algorithm to generate a zero-knowledge proof according to the rules of the selected zero-knowledge proof scheme. The verifier receives the zero-knowledge proof and the user's public key sent by the user. The verifier checks the validity and legality of the public key. The verifier uses the system's public parameters, the user's public key and the received zero-knowledge proof to perform verification calculations based on the verification logic of the zero-knowledge proof algorithm. If the verification is successful, it means that the user has passed the identity authentication and the financial transaction can continue. If the verification fails, the user's transaction request is rejected and the corresponding security warning mechanism is triggered.

[0070] Among them, S4 builds a distributed blockchain network and records the encrypted financial transaction data in the blockchain; creates an initial block, which contains the basic rules and configuration information when the network is started, sets various parameters required for network operation, including block size, generation time interval, and reward mechanism, sets the role of each node in the network, and allocates corresponding resources and permissions according to the role, installs blockchain client software on the servers of each participant, and performs necessary configuration. Newly added nodes need to synchronize the latest blockchain status from existing nodes.

[0071] Among them, S4, in the zero-knowledge proof identity authentication process, audits and records the key steps and information, encrypts the recorded data using a pre-defined encryption algorithm, and the encryption process should adjust the encryption strength according to the data sensitivity and purpose. A unique hash value is generated for each transaction as the transaction identity identifier, and the encrypted transaction data is submitted to the blockchain network through the network interface. Each transaction should contain necessary metadata. Once a new transaction request is received, the nodes in the network will propagate it to other nodes to form a decentralized propagation process. According to the selected consensus mechanism, each node jointly decides whether to accept the transaction. When a batch of transactions are verified, the node responsible for packaging will combine them into a new block, attach it to the end of the existing blockchain and add a timestamp.

[0072] Among them, the S5 builds a multi-blockchain network security interaction protocol layer for interaction; interacts between multiple chains through a cross-chain technology framework, deploys a group of nodes for each blockchain participating in the interaction, and the nodes communicate with nodes on other chains and perform necessary verification and processing tasks, create a unified message format, specify the message header, payload part and signature field elements, design a standardized API interface for each chain, and interact with each chain in a consistent manner.

[0073] Among them, the S6 monitors transaction behaviors in real time through artificial intelligence models, identifies risks of abnormal transaction behaviors, and issues timely warnings; collects multi-dimensional transaction data from blockchain networks and related financial transaction systems as input features of artificial intelligence models, and captures its sequence characteristics through recurrent neural networks according to the characteristics of transaction data and monitoring needs, and marks and classifies historical transaction data as normal transactions and abnormal transactions. The selected artificial intelligence model is trained with the marked training data, and the loss function of the model is minimized by adjusting the parameters of the model. The trained artificial intelligence model is deployed in the financial transaction monitoring system, which can receive newly generated transaction data in real time and trigger the warning mechanism according to the set warning rules. The warning information may include detailed information of the transaction, the type of abnormality, and an assessment of the degree of abnormality, and the warning information will be sent to relevant financial regulators in a timely manner.

[0074] Among them, a blockchain-based financial transaction data intelligent protection system includes:

[0075] Data collection and preprocessing module: Establish connections based on the database of the financial transaction system and the transaction interface data source, obtain financial transaction data in real time, and perform cleaning, format unification, and outlier detection;

[0076] Encryption processing module: When a transaction occurs, the transaction data is automatically encrypted through the smart contract, and the encryption strength is dynamically adjusted according to the encryption type;

[0077] Authentication module: Authentication is performed through a zero-knowledge proof mechanism;

[0078] Distributed blockchain network building module: By building a distributed blockchain network, the encrypted financial transaction data is recorded in the blockchain;

[0079] Secure interaction protocol module: By designing a cross-chain technology framework, secure interaction between multiple blockchains is achieved;

[0080] Real-time monitoring and early warning module: Use artificial intelligence models to monitor transaction behaviors in real time, identify abnormal behavior risks, and issue early warnings in a timely manner;

[0081] Data recovery module: When data is lost or damaged, data sharding and reorganization are performed based on the index information and data hash value on the blockchain.

[0082] Working principle: By acquiring transaction data in real time from the database and transaction interface of the financial transaction system, data from different sources are converted into a unified data model through duplication checking, integrity checking, rationality verification and missing data filling, including the unification of timestamps and formatting of text and numerical data, and identifying and processing data points that deviate from normal distribution;

[0083] When a transaction occurs, the smart contract automatically triggers the encryption process, dynamically adjusts the encryption strength according to factors such as the sensitivity of the transaction data, the transaction amount, the user's credit rating and the transaction time, and encrypts the data according to the encryption strength through the selected encryption algorithm and key. The user generates a zero-knowledge proof through the private key, and the verifier uses the public key and public parameters to verify the validity of the proof. The verifier checks the validity of the public key and uses the zero-knowledge proof algorithm to perform verification calculations to determine the authenticity of the user's identity, create the initial block, set network parameters and node roles, submit the encrypted transaction data to the blockchain network, and generate a unique hash value as the transaction identifier. The nodes in the network verify the validity of the transaction through a consensus mechanism and It is added to the blockchain, and realizes the interaction between multiple chains through the cross-chain technology framework, creates a unified message format and standardized API interface, conducts communication and data processing between chains, and trains artificial intelligence models through historical transaction data to identify the characteristics of normal and abnormal transactions. After the model is deployed, it receives new transaction data in real time and triggers the early warning mechanism according to the set early warning rules. The early warning information is sent to financial regulators in a timely manner, including detailed information of the transaction, assessment of the type of anomaly and the degree of anomaly. The data is stored in multiple nodes in a dispersed manner, and index information of data shards is established. When data is lost or damaged, the data shards are obtained from multiple nodes and reorganized and restored according to the index information and the data hash value on the blockchain.

[0084] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

[0085] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. A blockchain-based intelligent protection method for financial transaction data, characterized in that: The following steps are involved: S1. Collect financial transaction data from the data source of the financial transaction system, and perform cleaning, format unification and outlier detection processing; S2. When financial transaction data occurs, the transaction data is automatically encrypted through smart contracts, and the encryption strength is adjusted according to the encryption type; S3, identity verification is performed through a zero-knowledge proof mechanism during the identity verification process; S4. Build a distributed blockchain network and record encrypted financial transaction data into the blockchain; S5. Build a multi-blockchain network security interaction protocol layer for interaction; S6. Use artificial intelligence models to monitor transaction behaviors in real time, identify risks of abnormal transaction behaviors, and issue early warnings in a timely manner; S7. When data is lost or damaged, data shards are obtained from multiple nodes and reorganized and restored based on the index information stored in the data shards and the data hash value on the blockchain.

2. According to claim 1, a blockchain-based financial transaction data intelligent protection method is characterized by: S1, collects financial transaction data from the data source of the financial transaction system, and performs cleaning, format unification and outlier detection processing; establishes a connection through the database and transaction interface data source of the financial transaction system, and obtains the financial transaction data in real time through a specific data collection protocol; Perform duplicate checking based on the acquired data, identify and delete completely duplicate transaction records by comparing key transaction data fields, check the integrity and rationality of the data, identify missing key information in the data, and required information of the transaction parties. For missing data, fill in the strategy based on business logic, convert data from different sources into a unified data model, and timestamp all transactions based on the same time zone or UTC standard to eliminate time deviations caused by regional differences. For text data, unify the character encoding format, and for numerical data, specify the number of digits retained after the decimal point. Anomaly detection is used to identify data points that deviate from the normal distribution.

3. According to claim 1, a blockchain-based financial transaction data intelligent protection method is characterized by: S2, when financial transaction data occurs, the transaction data is automatically encrypted through the smart contract, and the encryption strength is adjusted according to the encryption type; According to the sensitivity and purpose of transaction data, it is divided into different security levels, and corresponding encryption rules are set for each type of transaction data. Suppose the transaction amount is A, the user credit level is C, and the transaction time is t. Each parameter is weighted and the implementation formula is: S(T)=w1·A+w2·C+w1·g(t); In the formula, g(t) represents the time-dependent function, the encryption strength is calculated for the result, and the encryption strength is calculated for the formula. The implementation formula is: S(T)=f(A,C,t).

4. According to claim 3, a blockchain-based financial transaction data intelligent protection method is characterized by: S2, by adding encryption logic to the smart contract, automatically triggers encryption during transactions. The smart contract automatically adjusts the encryption strength according to the transaction characteristics. Assuming that the transaction data to be encrypted is T and the encryption key is K, the dynamic encryption strength adjustment implementation formula is: E(T,K)=g(S(T),A), In the formula, E represents the encrypted data, T represents the transaction data to be encrypted, K represents the encryption key, S(T) represents the encryption strength, A represents the encryption algorithm, and g represents the encryption operation function. The data is encrypted according to the encryption strength and algorithm. Whenever a new transaction is generated, the system first captures the transaction information and prepares the data to be encrypted, and sends the prepared transaction data to the smart contract, triggering its internal encryption processing logic. The smart contract selects the appropriate encryption algorithm and strength to encrypt the transaction data based on the preset encryption rules and the specific circumstances of the current transaction.

5. According to claim 1, a blockchain-based financial transaction data intelligent protection method is characterized by: S3, during the identity authentication process, performs identity authentication through a zero-knowledge proof mechanism; through a zero-knowledge proof scheme of elliptic curve cryptography, and configured according to the security requirements and performance requirements of the financial transaction system, determines the basic mathematical structure and parameters involved in the zero-knowledge proof, generates the public parameters and key pairs of the system, generates public parameters for the verifier in the financial transaction system, and generates a key pair for each user participating in the identity authentication, including a private key and a corresponding public key. The private key is kept secretly by the user and is used to generate the zero-knowledge proof, and the public key is used by the verifier to verify the proof; When a user initiates a financial transaction identity authentication request, he first obtains the identity-related information that needs to be proved and uses this information as the information to be proved. The user uses the private key and the zero-knowledge proof algorithm to generate a zero-knowledge proof according to the rules of the selected zero-knowledge proof scheme. The verifier receives the zero-knowledge proof and the user's public key sent by the user. The verifier checks the validity and legality of the public key. The verifier uses the system's public parameters, the user's public key and the received zero-knowledge proof to perform verification calculations based on the verification logic of the zero-knowledge proof algorithm. If the verification is successful, it means that the user has passed the identity authentication and the financial transaction can continue. If the verification fails, the user's transaction request is rejected and the corresponding security warning mechanism is triggered.

6. The method for intelligently protecting financial transaction data based on blockchain according to claim 1, characterized in that: S4, building a distributed blockchain network, and recording the encrypted financial transaction data into the blockchain; Create the initial block, which contains the basic rules and configuration information when the network starts, set the various parameters required for network operation, including block size, generation time interval, and reward mechanism, set the role of each node in the network, and allocate corresponding resources and permissions according to the role, install the blockchain client software on the server of each participant, and perform necessary configuration. Newly added nodes need to synchronize the latest blockchain status from existing nodes.

7. The method for intelligently protecting financial transaction data based on blockchain according to claim 6 is characterized in that: Said S4, in the zero-knowledge proof identity authentication process, audit records are kept for key steps and information, and the recorded data is encrypted using a predefined encryption algorithm. The encryption process should adjust the encryption strength according to the sensitivity and purpose of the data, and generate a unique hash value for each transaction as the transaction identifier. The encrypted transaction data is submitted to the blockchain network through the network interface. Each transaction should contain necessary metadata. Once a new transaction request is received, the nodes in the network will propagate it to other nodes to form a decentralized propagation process. According to the selected consensus mechanism, each node jointly decides whether to accept the transaction. When a batch of transactions are verified, the node responsible for packaging will combine them into a new block, attach it to the end of the existing blockchain and add a timestamp.

8. The method for intelligently protecting financial transaction data based on blockchain according to claim 1, characterized in that: The S5 constructs a multi-blockchain network security interaction protocol layer for interaction; interacts between multiple chains through a cross-chain technology framework, deploys a group of nodes for each blockchain participating in the interaction, and the nodes communicate with nodes on other chains and perform necessary verification and processing tasks, creates a unified message format, specifies the message header, payload, and signature field elements, designs a standardized API interface for each chain, and interacts with each chain in a consistent manner.

9. The method for intelligently protecting financial transaction data based on blockchain according to claim 1, characterized in that: The S6 uses an artificial intelligence model to monitor transaction behaviors in real time, identify risks of abnormal transaction behaviors, and issue timely warnings; collects multi-dimensional transaction data from blockchain networks and related financial transaction systems as input features of the artificial intelligence model, captures its sequence features through a recurrent neural network based on the characteristics of the transaction data and monitoring requirements, labels and classifies historical transaction data as normal transactions and abnormal transactions, trains the selected artificial intelligence model with the labeled training data, minimizes the model's loss function by adjusting the model's parameters, and deploys the trained artificial intelligence model to the financial transaction monitoring system, which can receive newly generated transaction data in real time and trigger the warning mechanism according to the set warning rules. The warning information may include detailed information of the transaction, the type of abnormality, and an assessment of the degree of abnormality, and the warning information will be sent to relevant financial regulators in a timely manner.

10. A blockchain-based financial transaction data intelligent protection system, comprising: Data collection and preprocessing module: Establish connections based on the database of the financial transaction system and the transaction interface data source, obtain financial transaction data in real time, and perform cleaning, format unification, and outlier detection; Encryption processing module: When a transaction occurs, the transaction data is automatically encrypted through the smart contract, and the encryption strength is dynamically adjusted according to the encryption type; Authentication module: Authentication is performed through a zero-knowledge proof mechanism; Distributed blockchain network building module: By building a distributed blockchain network, the encrypted financial transaction data is recorded in the blockchain; Secure interaction protocol module: By designing a cross-chain technology framework, secure interaction between multiple blockchains is achieved; Real-time monitoring and early warning module: Use artificial intelligence models to monitor transaction behaviors in real time, identify abnormal behavior risks, and issue early warnings in a timely manner; Data recovery module: When data is lost or damaged, data sharding and reorganization are performed based on the index information and data hash value on the blockchain.

Citation Information

Patent Citations

  • Block chain-based trusted data safe storage method, retrieval method and equipment

    CN113742764A

  • Data security transmission method and system based on block chain

    CN115883679A

  • Data processing method and related equipment

    CN117376364A

  • Financial data storage system based on block chain network

    CN118093715A

  • Producing device of boron nitride NANO tube

    KR102143989B1

Cited By

  • Data transaction method based on block chain

    CN120090886A

  • One-item-one-code marketing fund safety management method

    CN120525533A

  • Closed-loop management method and system for data element and block chain fusion

    CN120689054A