A Method and System for Managing Cloud Transaction Data of a Distributed Ledger

By dividing transaction bill information into important and basic parts in a distributed ledger system and mask marking storage in a cloud database, the security and efficiency of cloud databases are solved, and efficient transaction data management and privacy protection are achieved.

CN120030599BActive Publication Date: 2025-07-29BEIJING UNIV OF POSTS & TELECOMM +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510480228.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-07-29
Estimated Expiration
2045-04-17

AI Technical Summary

Technical Problem

When the existing distributed ledger system stores transaction bill information in a cloud database, it has problems such as large information throughput and low security, which are prone to being attacked by malicious programs, resulting in leakage or loss of important information.

Method used

Transaction bill information is divided into important information parts and basic information parts. Important information is stored in the local storage module, and identification data is generated and combined with basic information to form transaction bill data and send to the cloud database. The node address information is masked through the data processing unit of the cloud database, and the storage location is allocated in the cloud database according to the mask mark.

Benefits of technology

It improves the security and processing convenience of transaction data storage of cloud databases, avoids the leakage and loss of important information, optimizes data processing efficiency, and enhances the security and privacy protection of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030599B_ABST
    Figure CN120030599B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for managing transaction data of a distributed ledger in the cloud, which relates to the technical field of distributed ledgers. The management method includes: obtaining transaction bill information of a transaction node, and dividing the transaction bill information into an important information part and a basic information part; storing the important information part in a local storage module, and generating identification data according to the important information part; combining the identification data with the basic information part to form transaction bill data and sending it to a cloud database; extracting node address information of the transaction bill data, and performing mask marking on the node address information; allocating a storage location in the cloud database according to the mask marking of the transaction bill data. Storing the important information part of the transaction bill information in a local database can avoid the situation that the important information part is lost or leaked in the cloud database. Classifying and managing based on masks improves the convenience of data processing in the cloud database, thereby improving the security of cloud data storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of distributed ledger, and specifically relates to a method and system for managing cloud transaction data of a distributed ledger. Background Art

[0002] A distributed ledger enables each transaction node in the system to perform ledger registration, replication, and synchronization operations through decentralized data management, which can improve the accuracy of ledger management within the system. When the existing distributed ledger manages ledger data through a cloud database, it stores transaction bill information in the cloud. Since the transaction bill data of each transaction node in the distributed ledger system involves important information content of multiple transaction accounts (including receiving accounts and paying accounts), and the information throughput of the cloud database is large, the processing efficiency of the cloud database for transaction bill information decreases, and it is prone to malicious program attacks, resulting in the loss or leakage of important information of transaction accounts within the system. Therefore, there is an urgent need for a cloud data management and control method that can improve the security of using the cloud database in a distributed ledger system. Summary of the Invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art. The present invention provides a method and system for managing cloud transaction data of a distributed ledger. The important information part is split in the transaction bill information, replaced with identification data, and combined with the basic information part to be stored as transaction bill data in the cloud data, avoiding the leakage of the important information part of the transaction bill by the cloud database. Classification management is carried out based on masks to improve the convenience of data processing in the cloud database, thereby improving the storage security of transaction data in the cloud database.

[0004] The present invention provides a method for managing cloud transaction data of a distributed ledger, and the management method includes:

[0005] Generating transaction bill information based on the transaction operations of transaction nodes, and dividing the transaction bill information into an important information part and a basic information part;

[0006] Storing the important information part in the local storage module of the transaction node, and generating identification data according to the important information part;

[0007] Combining the identification data with the basic information part to form transaction bill data, and sending the transaction bill data to the cloud database;

[0008] Extracting the node address information of the transaction bill data through the data processing unit of the cloud database, and performing mask marking on the node address information;

[0009] Allocating a storage location in the cloud database according to the mask marking of the transaction bill data.

[0010] Further, generating transaction bill information based on the transaction operations of the transaction node and dividing the transaction bill information into an important information part and a basic information part includes:

[0011] Obtaining the receiving account, paying account, financial institution, transaction amount, and transaction time of the transaction operation according to the transaction application proposed by the transaction node, and generating transaction bill information;

[0012] Extracting the receiving account and the paying account in the transaction bill information as the important information part, and dividing the financial institution, transaction amount, and transaction time into the basic information part.

[0013] Further, storing the important information part in the local storage module of the transaction node and generating identification data based on the important information part includes:

[0014] Copying the transaction time information in the basic information part, and organizing the transaction time information and the important information part into a data packet and sending it to the local storage module of the transaction node;

[0015] Identifying the important information part based on the marking module of the transaction node to obtain identification data.

[0016] Further, identifying the important information part based on the marking module of the transaction node to obtain identification data includes:

[0017] Extracting the first character and the last character in the important information part;

[0018] Outputting a marking number segment through the Segment instruction, and inserting the marking number segment between the first character and the last character to output identification data.

[0019] Further, combining the identification data with the basic information part to form transaction bill data and sending the transaction bill data to the cloud database includes:

[0020] Creating a new data storage format, and sequentially filling the basic information part and the identification data part in the data storage format to form transaction bill data.

[0021] Further, extracting the node address information of the transaction bill data by the data processing unit of the cloud database and performing mask marking on the node address information includes:

[0022] Detecting the transaction bill data based on the data processing unit of the cloud database to obtain the sending address of the transaction bill data, and marking it as node address information;

[0023] Query the mask table of the cloud database according to the node address information, obtain the mask identification symbol corresponding to the node address information, and set the mask identification symbol at the head of the transaction bill data.

[0024] Further, the querying the mask table of the cloud database according to the node address information to obtain the mask identification symbol corresponding to the node address information includes:

[0025] Set a mask table in the cloud database corresponding to the address information of each transaction node in the distributed ledger system;

[0026] Based on the processing unit of the cloud database, extract the sending address of the transaction bill data, extract the transaction node address information, and query the mask identification symbol of the corresponding address in the mask table according to the transaction node address information.

[0027] Further, the setting a mask table in the cloud database corresponding to the address information of each transaction node in the distributed ledger system includes:

[0028] According to the number of transaction nodes in the distributed ledger system, sequentially encode the address information of each transaction node, and set the mask value of each transaction node;

[0029] Set a time interval threshold, and dynamically adjust the mask value according to the time interval threshold in combination with the encoding order of each transaction node.

[0030] Further, the allocating a storage location in the cloud database according to the mask mark of the transaction bill data includes:

[0031] Divide several storage units in the storage space of the cloud database according to the mask number of the mask table of the cloud data;

[0032] Query the mask mark of the transaction bill data, query the storage unit corresponding to the mask number according to the mask mark, and save the transaction bill data in the storage unit.

[0033] The present invention also provides a cloud transaction data management system for a distributed ledger. The management system is used to execute the management method, and the management system includes:

[0034] Monitoring component: used to obtain the transaction application of the transaction node, and extract the receiving account, paying account, financial institution, transaction amount and transaction time involved in the transaction operation according to the transaction application of the transaction node, and organize them into transaction bill information;

[0035] Data processing component: used to split the transaction bill information into an important information part and a basic information part;

[0036] Data Encryption Component: Used to encrypt the important information part of the transaction bill information, generate identification data, and construct transaction bill data based on the identification data and the basic information part;

[0037] Local Storage Component: Used to store the important information part of the transaction bill information in the local storage database of the transaction node;

[0038] Masking Component: Used to perform masking marks on the transaction bill data entering the cloud database;

[0039] Cloud Storage Component: Used to store the masked transaction bill data in the cloud.

[0040] The present invention provides a method and system for managing cloud transaction data of a distributed ledger. By splitting the transaction bill information into an important information part and a basic information part, and storing the important information part in the local database, reconstructing the transaction bill data by combining the identification data and the basic information part and then storing it in the cloud database, the situation of losing or leaking important information in the cloud database is avoided; through the method of setting masks for the storage management of cloud transaction bill data, the operation of the cloud database on the transaction bill data is simplified, the convenience of the cloud database for storing and managing the transaction bill data is improved, and thus the working security of the cloud database is improved. Description of the Drawings

[0041] Figure 1 is the flowchart of the method for managing cloud transaction data of a distributed ledger in an embodiment of the present invention;

[0042] Figure 2 is the structural schematic diagram of the system for managing cloud transaction data of a distributed ledger in an embodiment of the present invention. Detailed Embodiments

[0043] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0044] Embodiment 1:

[0045] Figure 1 shows the flowchart of the method for managing cloud transaction data of a distributed ledger in an embodiment of the present invention, and the management method includes:

[0046] S11: Generate transaction bill information based on the transaction operations of the transaction node, and divide the transaction bill information into an important information part and a basic information part.

[0047] Within the distributed ledger system, complete transaction bill information is generated based on the transaction operations of transaction nodes, including key information such as the receiving account, paying account, financial institution, transaction amount, and transaction time. Then, the two most sensitive pieces of information, namely the receiving account and the paying account, are extracted as the important information part, while the financial institution, transaction amount, and transaction time are taken as the basic information part. This division method enables subsequent adoption of different storage and protection strategies for information of different importance levels, ensuring both the security of key information and the improvement of overall data processing efficiency.

[0048] Obtain the receiving account, paying account, financial institution, transaction amount, and transaction time of the transaction operation according to the transaction application proposed by the transaction node, and generate transaction bill information;

[0049] Extract the receiving account and the paying account in the transaction bill information as the important information part, and classify the financial institution, transaction amount, and transaction time as the basic information part. By dividing the transaction bill information, it is ensured that the account information is protected at the highest level, while other information, although also important, can adopt relatively lower-level security measures. This not only improves the security of the system but also optimizes the efficiency of data processing.

[0050] Compared with the prior art, the technical solution of this application has obvious advantages. Traditional distributed ledger systems usually process all transaction information as a whole, which leads to two main problems: one is the increased security risk because all information is protected at the same level instead of being differentially processed according to sensitivity; the other is the reduced system efficiency because adopting high-level security measures for all information will increase the processing burden.

[0051] In contrast, the solution of this application realizes more refined information management by intelligently dividing information. This method not only improves the security of the system but also optimizes the performance. For example, during data query, the system can access and process the basic information part faster and only decrypt and access the important information part when necessary, thus significantly improving the overall efficiency.

[0052] In addition, this division method also provides greater flexibility for subsequent data analysis and privacy protection. For example, during big data analysis, only the basic information part can be used without touching sensitive account information, thus protecting privacy without affecting the quality of analysis.

[0053] S12: Store the important information part in the local storage module of the transaction node and generate identification data according to the important information part.

[0054] Copy the transaction time information in the basic information section, organize the transaction time information and the important information section into a data packet, and send it to the local storage module of the transaction node. By setting the transaction time information and packing and storing the important information section, and using the transaction time information as verification, when tracing information later, it is possible to check whether the important information section of the transaction bill data in the cloud database matches the transaction bill information in the local database.

[0055] Based on the marking module of the transaction node, identify the important information section to obtain identification data, specifically including:

[0056] Extract the first character and the last character from the important information section;

[0057] Output a marking number segment through the Segment instruction, and insert the marking number segment between the first character and the last character to output the identification data.

[0058] First, perform an identification process on the important information section through the marking module of the transaction node. Among them, the marking module can be a software or hardware component dedicated to information identification in the transaction node. Secondly, extract the first character and the last character from the important information section as the basis for identification. Here, the first character and the last character can be a single character or a string composed of multiple characters, depending on the actual application requirements and security requirements. Thirdly, use the Segment instruction to generate a marking number segment. The Segment instruction is a functional instruction that generates random characters based on self-incrementing values. Insert the generated characters as the marking number segment between the extracted characters to form complete identification data.

[0059] There is a close association and interaction among these features. First, extracting the first and last characters retains some features of the original information, which provides a basis for subsequent identification and tracking. Then, using the Segment instruction to generate a marking number segment increases the randomness and security of the identification. This step, combined with the previous step, not only retains the features of the original information but also adds unpredictable elements. Finally, inserting the marking number segment between the extracted characters forms identification data that contains both the features of the original information and uniqueness. This combination method makes the generated identification data not only reflect the original information but also have sufficient complexity and uniqueness, thus effectively solving the problems of information identification and security.

[0060] In practical applications, there can be various specific implementation methods for the technical solution of this application. For example, for the extraction of the first and last characters, one or more characters can be selected according to different security level requirements. The implementation of the Segment instruction can adopt different random number generation methods to meet different randomness and performance requirements. The length of the marked segment can also be adjusted according to actual needs to achieve a balance between security and efficiency.

[0061] Specifically, when identifying the important part of the information, some features of the original information are retained by extracting the first and last characters. This step ensures a traceable connection between the generated identification data and the original information. Then, the Segment instruction is used to generate the marked segment, which increases the randomness and security of the identification. Finally, the marked segment is inserted between the extracted characters to form identification data that contains both the features of the original information and uniqueness. This combination method enables the generated identification data to reflect the original information while having sufficient complexity and uniqueness.

[0062] Through this method, this application realizes the effective identification of important information while protecting the security of the original information. Compared with directly using the original information or simple encryption methods, the technical solution of this application provides higher security and traceability. It can not only protect sensitive information from being directly exposed but also trace back to the original information through the identification data when needed, thus achieving a good balance between information security and usability.

[0063] S13: Combine the identification data with the basic information part to form transaction bill data, and send the transaction bill data to the cloud database.

[0064] Specifically, a new data storage format is created, and the basic information part and the identification data part are filled in the data storage format in sequence to form transaction bill data. Filling in the basic information part and the identification data part in sequence can ensure that the basic information part and the identification data part are integrated in a set data format, avoiding the situation of format chaos in the transaction bill data. By combining the transaction bill data through a structured and standardized method, compared with the traditional method of simply splicing the basic information and the identification data together, which lacks a clear structure and organization. In the embodiment of the present invention, by creating a dedicated data storage format and filling in the data according to a predefined structure, the readability, processability, and consistency of the data are greatly improved.

[0065] S14: Extract the node address information of the transaction bill data through the data processing unit of the cloud database, and perform mask marking on the node address information.

[0066] Specifically, the data processing unit based on the cloud database detects the transaction bill data, obtains the sending address of the transaction bill data, and marks it as node address information;

[0067] Query the mask table of the cloud database according to the node address information, obtain the mask identification symbol corresponding to the node address information, and set the mask identification symbol at the head of the transaction bill data.

[0068] The query operation of the mask table converts the original node address information into a secure mask identification symbol. Finally, setting the mask identification symbol at the head of the transaction bill data completes the entire security processing process.

[0069] In this way, the original node address information is securely hidden, greatly reducing the risk of data leakage. At the same time, due to the correspondence between the mask identification symbol and the original node address information, the original information can still be obtained through reverse query when necessary, ensuring the availability of the data.

[0070] Specifically, the querying the mask table of the cloud database according to the node address information to obtain the mask identification symbol corresponding to the node address information includes:

[0071] Set a mask table in the cloud database corresponding to the address information of each transaction node in the distributed ledger system;

[0072] The processing unit based on the cloud database extracts the sending address of the transaction bill data, extracts the transaction node address information, and queries the mask identification symbol of the corresponding address in the mask table according to the transaction node address information.

[0073] The setting of the mask table is closely related to the processing of the transaction bill data. When the processing unit of the cloud database extracts the sending address of the transaction bill data, it can directly use the mask table for quick query. This relevance makes the whole process more efficient and avoids repeated data processing steps.

[0074] Furthermore, the mask table can be designed with a dynamically updated structure, enabling the cloud database to dynamically update the mask marking of the transaction bill data and improving the storage security of the cloud database for the transaction bill data.

[0075] Specifically, the setting of the mask table in the cloud database corresponding to the address information of each transaction node in the distributed ledger system includes:

[0076] According to the number of transaction nodes in the distributed ledger system, sequentially encode the address information of each transaction node, set the mask value of each transaction node, and correspond the mask value of the mask table to the number of transaction nodes, which can improve the convenience of setting and adjusting the mask table.

[0077] Set a time interval threshold, and dynamically adjust the mask value according to the time interval threshold in combination with the coding order of each transaction node. The time interval threshold can be set according to actual usage requirements. In the embodiment of the present invention, the time interval threshold is set to 6h, that is, the mask value of the mask table is updated every 6 hours.

[0078] Furthermore, the mask value of the mask table can be in the form of a whole right shift of the mask value, and several mask values are set in a circular arrangement with the first bits connected. After the time interval threshold, each mask value is shifted one bit to the right to realize the update of the mask value of the mask table.

[0079] S15: Allocate a storage location in the cloud database according to the mask mark of the transaction bill data.

[0080] Specifically, several storage units are divided in the storage space of the cloud database according to the mask number of the mask table of the cloud data. Several storage units of the same size are divided in the storage space of the cloud database according to the preset storage space size, and the number of the several storage units is equal to the number of several transaction nodes of the distributed ledger.

[0081] Query the mask mark of the transaction bill data, query the storage unit corresponding to the mask number according to the mask mark, and save the transaction bill data in the storage unit.

[0082] Specifically, the working principle of the cloud transaction data management method of the distributed ledger involved in the embodiment of the present invention is as follows:

[0083] First, generate transaction bill information based on the transaction operations of the transaction nodes. This step is completed by the monitoring component. By obtaining the transaction applications of the transaction nodes, information such as the receiving account, paying account, financial institution, transaction amount, and transaction time involved in the transaction operation is extracted and sorted into transaction bill information.

[0084] Next, divide the transaction bill information into an important information part and a basic information part. This step is completed by the data processing component. Through the preset division rule, sensitive information (such as the receiving account and the paying account) is divided into the important information part, and the remaining information (such as the financial institution, transaction amount, transaction time) is divided into the basic information part.

[0085] Then, store the important information part in the local storage module of the transaction node. This step is completed by the local storage component. The important information part is securely stored in the local database of the transaction node to avoid direct exposure of sensitive information in the cloud.

[0086] Meanwhile, identification data is generated based on the important information part. This step is completed by the data encryption component, which processes the important information part through an encryption algorithm to generate a unique identification data for subsequent secure reference.

[0087] Next, the transaction bill data is formed by combining the identification data with the basic information part. The data encryption component combines the generated identification data with the basic information part to form the complete transaction bill data.

[0088] Subsequently, the transaction bill data is sent to the cloud database. This step is completed through network transmission, and the combined transaction bill data is securely transmitted to the cloud database.

[0089] In the cloud database, the data processing unit extracts the node address information of the transaction bill data and performs mask marking on the node address information. This step is completed by the mask component, which processes the node address information through a preset mask algorithm to further enhance data privacy protection.

[0090] Finally, the storage location is allocated in the cloud database according to the mask marking of the transaction bill data. This step is completed by the cloud storage component, which selects a suitable storage location in the cloud database according to the characteristics of the mask marking to optimize data storage and retrieval efficiency.

[0091] As a preferred implementation, in this embodiment, it can be implemented in a distributed ledger system of a large financial institution. This system needs to process millions of transactions every day, and the specific implementation steps are as follows:

[0092] First, when a new transaction occurs, the monitoring component immediately captures this transaction request. For example, user A transfers 1000 yuan to user B. The monitoring component extracts the receiving account (user B's account number), the paying account (user A's account number), the transaction amount (1000 yuan), the transaction time (2023-06-15 14:30:00), and the relevant financial institution information.

[0093] Next, the data processing component divides this information into an important information part (the account numbers of user A and user B) and a basic information part (amount, time, financial institution information). The important information part is securely stored in the local database of the node where the transaction is initiated through the local storage component.

[0094] Then, the data encryption component uses a high-strength encryption algorithm (such as AES-256) to encrypt the important information part and generates a unique identification data. For example, the generated identification data may be an encrypted string "7f8a9b0c1d2e3f4g".

[0095] After that, the data encryption component combines this identification data with the basic information part to form the final transaction bill data. For example: {Identification: "7f8a9b0c1d2e3f4g", Amount: 1000, Time: "2023-06-15 14:30:00", Financial Institution: "XX Bank"}.

[0096] This transaction bill data is sent to the cloud database. In the cloud, the data processing unit extracts the node address information of the node that sent this transaction.

[0097] The masking component then masks this address information. For example, it may be converted into a code name "Node_A".

[0098] Finally, the cloud storage component selects an optimized storage location, such as "Section_1", in the cloud database according to this masked label "Node_A", and stores the transaction bill data in this location.

[0099] In this way, sensitive account information is securely stored locally, while only the encrypted identification and non-sensitive information are stored in the cloud, greatly improving the efficiency and security of data processing. At the same time, through masking processing and optimized storage strategies, the privacy protection and management efficiency of data are further enhanced.

[0100] The embodiment of the present invention provides a method and system for managing cloud transaction data of a distributed ledger. By splitting the transaction bill information into an important information part and a basic information part, and storing the important information part in the local database, and reconstructing the transaction bill data by combining the identification data with the basic information part and storing it in the cloud database, it avoids the situation of losing or leaking important information in the cloud database; through the method of setting a mask for storing and managing cloud transaction bill data, it simplifies the operation of the cloud database for transaction bill data, improves the convenience of the cloud database for storing and managing transaction bill data, and thus improves the working security of the cloud database.

[0101] Embodiment Two:

[0102] Figure 2 The structure diagram of the cloud transaction data management system of the distributed ledger in the embodiment of the present invention is shown. The management system is used to execute the method for managing cloud transaction data of the distributed ledger. The management system includes:

[0103] Monitoring Component 10: It is used to obtain the transaction application of the transaction node, and extract the receiving account, paying account, financial institution, transaction amount, and transaction time involved in the transaction operation according to the transaction application of the transaction node, and organize them into transaction bill information.

[0104] Specifically, the monitoring component 10 is used to obtain transaction applications of transaction nodes, and extract the receiving account, paying account, financial institution, transaction amount, and transaction time involved in the transaction operation according to the transaction applications, and organize them into transaction bill information. This step can be achieved in various ways. For example, a transaction application interface can be set up to monitor the applications submitted by transaction nodes in real time; or the transaction records of transaction nodes can be scanned regularly to extract the required information.

[0105] Data processing component 20: used to split the transaction bill information into an important information part and a basic information part;

[0106] Furthermore, the data processing component 20 is responsible for splitting the transaction bill information into an important information part and a basic information part. This step can be flexibly set according to different security level requirements. For example, the receiving account and paying account information can be used as the important information part, while the financial institution, transaction amount, and transaction time can be used as the basic information part. This classification processing lays the foundation for subsequent differential storage and protection.

[0107] Data encryption component 30: used to encrypt the important information part of the transaction bill information, generate identification data, and construct transaction bill data according to the identification data and the basic information part;

[0108] Furthermore, the data encryption component 30 encrypts the important information part of the transaction bill information, generates identification data, extracts the leading character and trailing character of the important information part, and inserts a character segment generated based on the Segment instruction between the leading character and trailing character of the important information part to generate identification data.

[0109] Local storage component 40: used to store the important information part of the transaction bill information in the local storage database of the transaction node;

[0110] Specifically, the local storage component 40 stores the important information part of the transaction bill information in the local storage database of the transaction node. This step can be achieved by setting up a local encrypted database to ensure that even if the local data is illegally accessed, the important information cannot be directly read. At the same time, a regular backup and synchronization mechanism can be set up to prevent local data loss.

[0111] Masking component 50: used to perform masking marking on the transaction bill data entering the cloud database;

[0112] Specifically, the masking component 50 performs masking marking on the transaction bill data entering the cloud database. The masking marking can use a fixed masking rule to transform the data and cooperate with the method of dynamically adjusting the masking value to improve the security of data storage.

[0113] Cloud storage component 60: Used to store the transaction bill data after mask marking in the cloud.

[0114] Specifically, the cloud storage component 60 is responsible for storing the transaction bill data after mask marking in the cloud. During the storage process, distributed storage technology can be adopted to disperse the data and store it in multiple physical locations to improve the reliability and access efficiency of the data. At the same time, an access control mechanism can be set to only allow authorized users or systems to access the cloud data.

[0115] These components work together to jointly improve the security of using the cloud database in the distributed ledger system. By classifying the transaction bill information into important information and basic information, and using multiple means such as local storage, encryption, and mask marking to protect sensitive data, the risk of data leakage and being attacked is greatly reduced. At the same time, by identifying the generation of data, the integrity and traceability of the data are ensured.

[0116] Specifically, through the collaborative work of multiple components, the management system effectively improves the security of using the cloud database in the distributed ledger system. The monitoring component 10 obtains the transaction application and extracts relevant information to provide basic data for subsequent processing. The data processing component 20 splits the transaction bill information into important and basic parts to achieve information classification management. The data encryption component 30 encrypts the important information and generates identification data to improve data security. The local storage component 40 stores the important information locally to reduce the exposure of sensitive information in the cloud. The mask component 50 performs mask marking on the transaction bill data to add a data protection layer. The cloud storage component 60 stores the masked data in the cloud to achieve secure cloud management.

[0117] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and this program can be stored in a computer-readable storage medium. The storage medium can include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.

[0118] In addition, the above embodiments of the present invention have been introduced in detail. Specific examples have been used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for managing cloud transaction data of a distributed ledger, characterized in that, The management method includes: Generating transaction bill information based on the transaction operations of the transaction nodes, and dividing the transaction bill information into an important information part and a basic information part; Storing the important information part in the local storage module of the transaction node, and generating identification data according to the important information part; Combining the identification data with the basic information part to form transaction bill data, and sending the transaction bill data to the cloud database; Extracting the node address information of the transaction bill data through the data processing unit of the cloud database, and masking the node address information; Allocating a storage location in the cloud database according to the mask mark of the transaction bill data; The extracting the node address information of the transaction bill data through the data processing unit of the cloud database, and masking the node address information includes: Detecting the transaction bill data by the data processing unit of the cloud database, obtaining the sending address of the transaction bill data, and marking it as the node address information; Querying the mask table of the cloud database according to the node address information, obtaining the mask identification symbol corresponding to the node address information, and setting the mask identification symbol at the head of the transaction bill data; The querying the mask table of the cloud database according to the node address information, obtaining the mask identification symbol corresponding to the node address information includes: Setting a mask table in the cloud database corresponding to the address information of each transaction node in the distributed ledger system, sequentially encoding the address information of each transaction node according to the number of transaction nodes in the distributed ledger system, and setting the mask value of each transaction node; Setting a time interval threshold, and dynamically adjusting the mask value according to the time interval threshold in combination with the encoding order of each transaction node; Extracting the sending address of the transaction bill data by the processing unit of the cloud database, extracting the node address information, and querying the mask identification symbol corresponding to the address in the mask table according to the node address information.

2. The distributed ledger cloud transaction data management method according to claim 1, characterized in that: The generating transaction bill information based on the transaction operations of the transaction nodes, and dividing the transaction bill information into an important information part and a basic information part includes: Obtaining the receiving account, paying account, financial institution, transaction amount and transaction time of the transaction operation according to the transaction application proposed by the transaction node, and generating transaction bill information; Extracting the receiving account and the paying account in the transaction bill information as the important information part, and dividing the financial institution, transaction amount and transaction time into the basic information part.

3. The method for managing cloud transaction data of a distributed ledger according to claim 1, wherein The storing the important information part in the local storage module of the transaction node, and generating identification data according to the important information part includes: Copying the transaction time information in the basic information part, and organizing the transaction time information and the important information part into a data packet and sending it to the local storage module of the transaction node; Identifying the important information part based on the marking module of the transaction node to obtain identification data.

4. The method for managing cloud transaction data of a distributed ledger according to claim 3, wherein The identifying the important information part based on the marking module of the transaction node to obtain identification data includes: Extracting the first character and the last character in the important information part; Output a tag number segment through the Segment instruction, insert the tag number segment between the first character and the last character, and output the identification data.

5. The method for managing cloud transaction data of a distributed ledger according to claim 1, characterized in that, Combining the identification data with the basic information part to form transaction bill data, and sending the transaction bill data to the cloud database includes: Create a new data storage format, and sequentially fill in the basic information part and the identification data part in the data storage format to form transaction bill data.

6. The method for managing cloud transaction data of a distributed ledger according to claim 1, wherein Allocating a storage location in the cloud database according to the mask tag of the transaction bill data includes: Divide several storage units in the storage space of the cloud database according to the mask number of the mask table of the cloud data; Query the mask tag of the transaction bill data, query the storage unit corresponding to the mask number according to the mask tag, and save the transaction bill data in the storage unit.

7. A cloud transaction data management system for a distributed ledger, characterized in that, The management system is used to execute the management method according to any one of claims 1 to 6, and the management system includes: Monitoring component: used to obtain the transaction application of the transaction node, and extract the receiving account, payment account, financial institution, transaction amount and transaction time involved in the transaction operation according to the transaction application of the transaction node, and organize it into transaction bill information; Data processing component: used to split the transaction bill information into an important information part and a basic information part; Data encryption component: used to encrypt the important information part of the transaction bill information, generate identification data, and construct transaction bill data according to the identification data and the basic information part; Local storage component: used to store the important information part of the transaction bill information in the local storage database of the transaction node; Mask component: used to perform mask marking on the transaction bill data entering the cloud database; Cloud storage component: used to perform cloud storage on the transaction bill data after mask marking.

Citation Information

Patent Citations

  • Historical data storage method and device based on cloud computing

    CN118244994A

  • Project completion data storage method and system

    CN119760782A