WO2020224489A1 - 基于区块链的银行数据共享方法及相关设备 - Google Patents
基于区块链的银行数据共享方法及相关设备 Download PDFInfo
- Publication number
- WO2020224489A1 WO2020224489A1 PCT/CN2020/087558 CN2020087558W WO2020224489A1 WO 2020224489 A1 WO2020224489 A1 WO 2020224489A1 CN 2020087558 W CN2020087558 W CN 2020087558W WO 2020224489 A1 WO2020224489 A1 WO 2020224489A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- key
- transaction data
- transaction
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0435—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0823—Network architectures or network communication protocols for network security for authentication of entities using certificates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/008—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving homomorphic encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
Definitions
- This application relates to the field of blockchain technology, and in particular to a bank data sharing method and related equipment based on blockchain.
- Small and medium commercial banks refer to national commercial banks, regional joint-stock commercial banks and city commercial banks other than the five major commercial banks of Industry, Agriculture, China, Construction, and Bank of Communications. These small and medium-sized banks have flexible market sensitivity and high financial service efficiency, support the development of a large number of small and medium-sized enterprises and the private economy, and promote economic growth. The second is to promote the marketization of my country's financial industry through the reform and innovation of the financial system. .
- a blockchain-based bank data sharing method and related equipment are provided.
- a method for sharing bank data based on blockchain includes the following steps:
- Receive a data sharing request sent by any bank terminal on the blockchain send the data sharing request to each of the blocks, receive the ciphertext transaction data generated by each of the blocks, and transfer all The ciphertext transaction data is decrypted and sent to the bank terminal that issued the data sharing request;
- obtaining the block key of any block on the blockchain, and encrypting the transaction data generated in the block according to the block key to obtain the ciphertext transaction data specifically includes:
- An exclusive OR operation is performed on the hash result and the symmetric encryption result to obtain a final key, and the transaction data in the block is encrypted using the final key to obtain the ciphertext transaction data.
- a bank data sharing device based on blockchain includes the following modules:
- the block establishment module is configured to establish a consensus node between multiple bank terminals, establish several blocks according to the transaction results of the consensus node, and connect the several blocks to form a blockchain;
- the data encryption module is configured to obtain a block key of any block on the blockchain, and encrypt transaction data generated in the block according to the block key to obtain ciphertext transaction data;
- the data sharing module is configured to receive a data sharing request sent by any bank terminal on the blockchain, send the data sharing request to each block, and receive the secret generated by each block Text transaction data, decrypt the ciphertext transaction data and send it to the bank terminal that issued the data sharing request;
- the transaction package generation module includes the following modules:
- the original key module is configured to obtain the digital certificate included in the transaction data of any block on the blockchain, and arrange the characters in the digital certificate in reverse order to generate the original key of the block;
- the homomorphic encryption module is configured to obtain the original key vector of the original key, and apply a homomorphic encryption algorithm to encrypt the original key vector to obtain a homomorphic encryption vector;
- the symmetric encryption module is configured to apply a hash key algorithm to encrypt the random numbers in the homomorphic key vector to obtain a hash result, and apply the symmetric encryption algorithm to encrypt the ciphertext data in the homomorphic encryption vector Then get the symmetric encryption result;
- the ciphertext obtaining module is configured to perform an exclusive OR operation on the hash result and the symmetric encryption result to obtain a final key, and apply the final key to encrypt the transaction data in the block to obtain the Encrypted transaction data.
- a computer device includes a memory and a processor.
- the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the following method:
- Receive a data sharing request sent by any bank terminal on the blockchain send the data sharing request to each of the blocks, receive the ciphertext transaction data generated by each of the blocks, and transfer all The ciphertext transaction data is decrypted and sent to the bank terminal that issued the data sharing request;
- obtaining the block key of any block on the blockchain, and encrypting the transaction data generated in the block according to the block key to obtain the ciphertext transaction data specifically includes:
- An exclusive OR operation is performed on the hash result and the symmetric encryption result to obtain a final key, and the transaction data in the block is encrypted using the final key to obtain the ciphertext transaction data.
- a storage medium storing computer-readable instructions.
- the one or more processors execute the steps of the following method:
- Receive a data sharing request sent by any bank terminal on the blockchain send the data sharing request to each of the blocks, receive the ciphertext transaction data generated by each of the blocks, and transfer all The ciphertext transaction data is decrypted and sent to the bank terminal that issued the data sharing request;
- obtaining the block key of any block on the blockchain, and encrypting the transaction data generated in the block according to the block key to obtain the ciphertext transaction data specifically includes:
- An exclusive OR operation is performed on the hash result and the symmetric encryption result to obtain a final key, and the transaction data in the block is encrypted using the final key to obtain the ciphertext transaction data.
- Figure 1 is an overall flow chart of a method for sharing bank data based on blockchain in one or more embodiments of the application;
- FIG. 2 is a schematic diagram of a block establishment process in a bank data sharing method based on blockchain in one or more embodiments of the present application;
- FIG. 3 is a schematic diagram of a data encryption process in a bank data sharing method based on blockchain in one or more embodiments of the present application;
- FIG. 4 is a schematic diagram of a data sharing process in a bank data sharing method based on blockchain in one or more embodiments of the present application;
- Fig. 5 is a structural diagram of a bank data sharing device based on blockchain in one or more embodiments of the application.
- FIG. 1 is an overall flowchart of a method for sharing bank data based on blockchain according to an embodiment of the application. As shown in Figure 1, a method for sharing bank data based on blockchain includes the following steps:
- the identity of the bank terminal needs to be verified, that is, establishing a consensus node between any two bank terminals in advance requires whether the bank transaction data is relevant, For example, a transaction is carried out between bank A terminal and bank B terminal, then a consensus node will be established between bank A terminal and bank B terminal.
- S2 Obtain a block key of any block on the blockchain, and encrypt transaction data generated in the block according to the block key to obtain ciphertext transaction data;
- the block key is assigned when the block is created, and its assignment rule can be based on the time when the block is generated, that is, the time is entered as an independent variable into the random function to obtain a number, and then according to this
- the serial number extracts the key corresponding to the serial number from the database.
- the bank terminal after receiving the data sharing request sent by the bank terminal, it is necessary to judge whether the transaction data corresponding to the data sharing request can be shared according to the smart contract, and then send the data sharing request to each Block. If the ciphertext transaction data generated in each block is not decrypted successfully, it is necessary to send an instruction to resend the data sharing request to the bank terminal that issued the data sharing request.
- the S2 obtains the block key of any block on the blockchain, and encrypts the transaction data generated in the block according to the block key to obtain the ciphertext Transaction data, as shown in Figure 3, can be implemented as follows:
- S201 Obtain a digital certificate included in the transaction data of any block on the blockchain, and arrange the characters in the digital certificate in reverse order to generate the original key of the block;
- the transaction time and transaction type of the transaction data in the block are obtained, and the smart contract list corresponding to the transaction time and the transaction type is extracted after querying the smart contract list, and the smart contract list is stored in the server; Wherein, an index row is set in the smart contract list.
- the structured query language SQL can be used to traverse the index row, extract the smart contract corresponding to the transaction time from the index row, and then according to the transaction Type
- the selected smart contracts are screened to obtain the smart contract corresponding to the transaction data; the type of transaction mainly refers to payment in batches, one-time payment, etc.
- Send a digital certificate acquisition request to the smart contract developer receive feedback information from the smart contract developer, extract the digital certificate contained in the feedback information, and arrange the characters in the digital certificate in reverse order to generate the The original key of the block.
- the feedback information is segmented first, that is, the characteristic characters in the feedback information are obtained, which are generally ":", """, etc., Then, the feedback information is divided into a main part and an accessory part according to the characteristic characters, and the main part is the digital certificate.
- S202 Obtain an original key vector of the original key, and apply a homomorphic encryption algorithm to encrypt the original key vector to obtain a homomorphic encryption vector;
- the homomorphic encryption algorithm used may be an additive homomorphic encryption algorithm or a multiplicative homomorphic algorithm.
- symmetric key encryption is also called private key encryption or shared key encryption, that is, both parties sending and receiving data must use the same key to encrypt and decrypt the plaintext.
- Symmetric key encryption algorithms mainly include: DES, 3DES, IDEA, FEAL, BLOWFISH, etc.
- the hash key is calculated by using a hash function, and it has the following characteristics: the original password is calculated by the hash function to obtain a hash value; changing the original password, the hash value calculated by the hash function will also correspond Change; the same password has the same hash value; the hash function is one-way and irreversible.
- the SMS4 encryption algorithm when encrypting the random number, can also be used for encryption.
- the plaintext to be encrypted and the key in the round key sequence are sequentially calculated by round function iteration, as follows :
- the plaintext input is (X 0 , X 1 , X 2 , X 3 ) ⁇ (Z 2 32 ) 4
- the ciphertext output is (Y 0 , Y 1 , Y 2 , Y 3 ) ⁇ (Z 2 32 ) 4
- S204 Perform an exclusive OR operation on the hash result and the symmetric encryption result to obtain a final key, and use the final key to encrypt transaction data in the block to obtain the ciphertext transaction data.
- FIG. 2 is a schematic diagram of the block establishment process in a method for sharing bank data based on blockchain in one of the embodiments of the application.
- the S1 establishes a consensus node between multiple bank terminals.
- a number of blocks are established according to the transaction results of the consensus node, and a block chain is formed after connecting the several blocks, including:
- any bank terminal when any bank terminal generates transaction data, information such as the name or feature code of the bank terminal will be written in the transaction data to facilitate data search when the transaction data is counted in the future.
- the same feature code can be used in different bank terminals according to a prior agreement. For example, Bank A and Bank B pre-share data, then Bank A and Bank B use the same feature code. Searching whether different bank terminals have the same feature code can determine which bank terminals to establish consensus nodes.
- transaction data when multiple transaction data are packaged, they can be packaged according to the time when the transaction data is generated, that is, transaction data generated within a certain period of time is packaged into a transaction package.
- a multi-threaded manner can be used to process a large number of transaction data at the same time, which can effectively reduce the inability to generate real-time transaction results caused by high concurrency.
- blocks can be established in time, which facilitates instant data sharing between banks.
- FIG. 4 is a schematic diagram of the data sharing process in a blockchain-based bank data sharing method in one of the embodiments of the application.
- the S3 receives any one of the data on the blockchain A data sharing request issued by a bank terminal, sending the data sharing request to each of the blocks, receiving the ciphertext transaction data generated by each of the blocks, decrypting the ciphertext transaction data and sending it to the Bank terminals for data sharing requests, including:
- S301 Receive a data sharing request sent by any of the bank terminals, obtain the IP address of the bank terminal according to the data sharing request, and determine the block to be shared where the bank terminal is located according to the IP address;
- historical data of the frequency of transaction data generation in the block is acquired, and the time node for collecting transaction data in the block is set according to the historical data; when historical data is collected, each bank in the block The terminal performs number marking, and records the historical data generated by each bank terminal through the tracking mark.
- the time node When the time node arrives, collect real-time transaction data generated by each bank terminal in the block, and extract data sharing request information from the real-time transaction data. Wherein, the historical data of the normal transaction data length is obtained, and a normal transaction data threshold is set according to the historical data. If the length of transaction data sent by any bank terminal is found to be greater than the normal transaction data threshold, then Perform keyword query, where the keyword can be "share", if the transaction data sent by the bank terminal contains the keyword, then extract the data sharing request information, if there is no such keyword, send a data exception Information to the consensus node.
- S302 Obtain a block key to be shared of the block to be shared, and generate a decrypted message after decrypting the block key to be shared;
- the block key obtaining instruction when obtaining the block key to be shared of the block to be shared, may be sent to the block to be shared first, and then the feedback of the block to be shared is received Information, if there is the block key to be shared in the feedback information, use it for decryption, if there is no block key to be shared, you need to resend the key acquisition instruction or verify the key Whether the fetch instruction is correct.
- the same key can be used to encrypt the transaction data to be shared during encryption, so that one key can be used to decrypt data in different blocks during decryption. Therefore, for blocks that do not include the block key to be shared in the feedback information, the information reflected is that these blocks do not agree to data sharing.
- the S101 obtains a plurality of existing transaction data generated by the bank terminal, extracts the characteristic identifier of each bank terminal from the existing transaction data, and displays the characteristic identifier of each bank terminal according to the characteristic identifier.
- the establishment of several consensus nodes between the bank terminals includes:
- the IP address of the bank terminal is obtained
- the DNS resolution code is obtained after DNS resolution of the IP address
- the physical location of the bank terminal is determined according to the last three digits in the DNS resolution code , Number the bank terminal according to the physical location, and mark the feedback information with the number.
- the DNS resolution is to correspond the IP address and the DNS resolution code list, and query the DNS resolution code corresponding to the IP address from the DNS resolution code category.
- characteristic characters mainly refer to judgmental words such as "agree” and "negative".
- Extract the characteristic identifier sent by the bank terminal and establish a consensus node between bank terminals with the same characteristic identifier.
- the transaction data can be divided into several sub-blocks, and the separator is a punctuation mark, such as ",”, ",", “:”, etc., and then the query is
- the text information in each sub-block is packaged into a text group, and the text similarity algorithm is applied to obtain the core words in the text group, and a consensus node is established between the banks corresponding to transaction data with the same core words.
- the consensus is The content is the core word.
- the step S102 obtaining multiple transaction data from any of the consensus nodes, and packaging the multiple transaction data to generate a transaction package, includes:
- transaction complexity refers to the number of terminals involved in the transaction, the number of steps involved, and the amount of transaction data.
- Transaction complexity can be divided into multiple levels according to the transaction data volume. For example, the data volume of simple transactions is less than 100, the data volume of general transactions is 101-1000, the data volume of more complex transactions is 1001-5000, and the data volume of complex transactions is less than 100. The amount of data is greater than 5000 and so on.
- the performance index of the server in this embodiment mainly refers to the data processing capacity of the server, that is, the upper limit of processing data in a unit time. Different transactions correspond to different servers, so that each server can fully function. .
- the multiple transaction data are packaged into the transaction package according to the correspondence between the transaction complexity and the performance index.
- the performance index includes m threads, and m is a positive integer
- the step S302 obtaining the block key to be shared of the block to be shared, and decrypting the block key to be shared to generate a decrypted message, includes:
- a hash key there are two commonly used encryption methods, a hash key and a symmetric key.
- the original password is calculated by a hash function to obtain a hash value. Changing the original password will also change the hash value, so it is often used
- the hash value is used as a method of data encryption.
- the exclusive OR operation is also called a half-add operation, and its algorithm is equivalent to binary addition without carry: In binary, 1 represents true and 0 represents false, then the exclusive OR algorithm is: (The same is 0, but the difference is 1). These rules are the same as addition, except that there is no carry, so XOR is often regarded as non-carry addition.
- the encrypted data is effectively decrypted through the hash encryption algorithm and the symmetric encryption algorithm, thereby ensuring the accuracy of the decrypted message.
- a bank data sharing device based on blockchain is proposed, as shown in Figure 5, including the following modules:
- the block establishment module 51 is configured to establish a consensus node between multiple bank terminals, establish a number of blocks according to the transaction results of the consensus node, and connect the blocks to form a blockchain;
- the data encryption module 52 is configured to obtain a block key of any block on the blockchain, and encrypt transaction data generated in the block according to the block key to obtain ciphertext transaction data ;
- the data sharing module 53 is configured to receive a data sharing request sent by any bank terminal on the blockchain, send the data sharing request to each of the blocks, and receive the data generated by each of the blocks. Ciphertext transaction data, decrypting the ciphertext transaction data and sending it to the bank terminal that issued the data sharing request;
- the transaction package generation module includes the following modules:
- the original key module is configured to obtain the digital certificate included in the transaction data of any block on the blockchain, and arrange the characters in the digital certificate in reverse order to generate the original key of the block;
- the homomorphic encryption module is configured to obtain the original key vector of the original key, and apply a homomorphic encryption algorithm to encrypt the original key vector to obtain a homomorphic encryption vector;
- the symmetric encryption module is configured to apply a hash key algorithm to encrypt the random numbers in the homomorphic key vector to obtain a hash result, and apply the symmetric encryption algorithm to encrypt the ciphertext data in the homomorphic encryption vector Then get the symmetric encryption result;
- the ciphertext obtaining module is configured to perform an exclusive OR operation on the hash result and the symmetric encryption result to obtain a final key, and apply the final key to encrypt the transaction data in the block to obtain the Encrypted transaction data.
- the block establishment module includes:
- the establishment of a consensus node module is configured to obtain existing transaction data generated by multiple bank terminals, extract the characteristic identifier of each bank terminal from the existing transaction data, and select the characteristic identifier in each bank according to the characteristic identifier. Establishing a number of said consensus nodes between terminals;
- the transaction package generation module is configured to obtain multiple transaction data from any of the consensus nodes, and generate a transaction package after packaging the multiple transaction data;
- the block chain generation module is set to start multi-threading to perform parallel processing on the transaction data in several said transaction packages to obtain several transaction results. After aggregating consensus nodes with the same transaction results, a block is generated to connect several exchanges. After the block, the block chain is formed.
- a computer device in one of the embodiments, includes a memory and a processor.
- the memory stores computer readable instructions.
- the processor executes the foregoing implementations. The steps of the blockchain-based bank data sharing method in the example.
- a storage medium storing computer-readable instructions.
- the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps in the above embodiments.
- the storage medium may be a non-volatile storage medium.
- the program can be stored in a computer-readable storage medium, and the storage medium can include: Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Accounting & Taxation (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本申请涉及区块链技术领域,尤其涉及一种基于区块链的银行数据共享方法及相关设备,包括:建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端。本申请有效实现不同银行终端之间的数据共享,从而提升了中小银行在金融活动中的竞争力。
Description
本申请要求于2019年5月7日提交中国专利局,申请号为201910375075.0、发明名称为“基于区块链的银行数据共享方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及区块链技术领域,尤其涉及一种基于区块链的银行数据共享方法及相关设备。
中小商业银行是指工、农、中、建,交行五大商业银行以外的全国性商业银行、区域性股份制商业银行与城市商业银行。这些中小银行是灵活的市场灵敏度和较高的金融服务效率,支持大量中小企业和民营经济的发展,促进了经济增长,二是通过金融制度的变革与创新,推进了我国金融业的市场化进程。
目前,中小银行在发展过程中存在着各个中小银行的数据不能有效互惠,造成中小银行的业务受到限制。同时,发明人意识到,中小银行由于自身实力有限,造成信息安全防护水平较低,易造成信息泄露,从而导致用户不愿意选择中小银行作为金融活动的选择。
发明内容
根据本申请公开的各种实施例,提供一种基于区块链的银行数据共享方法及相关设备。
一种基于区块链的银行数据共享方法,包括如下步骤:
建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;
获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;
接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;
其中,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,具体包括:
获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;
获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;
应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;
对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
一种基于区块链的银行数据共享装置,包括如下模块:
区块建立模块,设置为建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;
数据加密模块,设置为获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;
数据共享模块,设置为接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;
其中,所述交易包生成模块,包括如下模块:
原始密钥模块,设置为获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;
同态加密模块,设置为获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;
对称加密模块,设置为应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;
密文获得模块,设置为对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如下方法的步骤:
建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;
获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;
接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;
其中,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,具体包括:
获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;
获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;
应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;
对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下方法的步骤:
建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;
获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;
接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;
其中,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,具体包括:
获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;
获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;
应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;
对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本申请在一个或多个实施例中的一种基于区块链的银行数据共享方法的整体流程图;
图2为本申请在一个或多个实施例中的一种基于区块链的银行数据共享方法中的区块建立过程示意图;
图3为本申请在一个或多个实施例中的一种基于区块链的银行数据共享方法中的数据加密过程示意图;
图4为本申请在一个或多个实施例中的一种基于区块链的银行数据共享方法中的数据共享过程示意图;
图5为本申请在一个或多个实施例中的一种基于区块链的银行数据共享装置的结构图。
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。
图1为本申请一个实施例的一种基于区块链的银行数据共享方法的整体流程图,如图1所示,一种基于区块链的银行数据共享方法,包括以下步骤:
S1,建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;
在其中一个实施例,在建立银行终端之间的共识节点时,需要对银行终端的身份进行核验,即预先在任意两个银行终端之间建立共识节点需要对银行交易数据是否就有关联性,比如一笔交易是在A银行终端和B银行终端之间进行的,那么就会在A银行终端和B银行终端之间建立共识节点。
S2,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;
在其中一个实施例,区块密钥是在区块建立时被赋予的,其赋予规则可以是根据区块产生的时间,即将时间作为自变量入参到随机函数后得到一个编号,然后根据这个编号从数据库中抽取出所述编号对应的密钥。
S3,接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端。
在其中一个实施例,在接收到银行终端发出的数据共享请求后,要根据智能合约对数据共享请求对应的交易数据能否共享进行判断,在确定可以共享后再将数据共享请求至各所述区块。若对各区块产生的密文交易数据进行解密时, 没有解密成功,则需要向发出数据共享请求的银行终端发送重新发送数据共享请求的指令。
本实施例,通过在不同银行终端之间建立区块链,利用加密技术和共识机制,从而及时有效的在不同银行之间进行数据共享,从而有效提升了各银行进行金融活动的竞争力。
上述实施例中,所述S2,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,如参照图3所示,可按如下步骤实施:
S201、获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;
在其中一个实施例,获取区块中交易数据的交易时间和交易类型,查询智能合约列表后抽取出所述交易时间和所述交易类型对应的智能合约,所述智能合约列表存储在服务器中;其中,在智能合约列表中设置有一索引行,在进行查询时可以应用结构化查询语言SQL遍历所述索引行,从所述索引行中抽取出所述交易时间对应的智能合约,然后再根据交易类型对抽取出的数个智能合约进行筛选后得到所述交易数据对应的智能合约;交易的类型主要是指分批付款、一次付款等。
向所述智能合约制定方发出数字证书获取请求,接收所述智能合约制定方的反馈信息,抽取出所述反馈信息中所包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥。其中,在抽取所述反馈信息中所包含的数字证书时,先对所述反馈信息进行分段分割,即获取所述反馈信息中的特征字符,一般为“:”、“《》”等,然后根据所述特征字符将所述反馈信息分为主要部分和附件部分,主要部分即为数字证书。
S202、获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;
在其中一个实施例,所使用的同态加密算法可以是加法同态加密算法或者是乘法同态算法。
S203、应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;
其中,对称密钥加密又叫专用密钥加密或共享密钥加密,即发送和接收数据的双方必使用相同的密钥对明文进行加密和解密运算。对称密钥加密算法主要包括:DES、3DES、IDEA、FEAL、BLOWFISH等。哈希密钥是采用哈希函数计算后得到的,其具有的特性如下:原始密码经哈希函数计算后得到一个哈希值;改变原始密码,哈希函数计算出的哈希值也会相应改变;同样的密码,哈希值也是相同的;哈希函数是单向、不可逆的特性。
在其中一个实施例,在对所述随机数进行加密时,还可以采用的SMS4加密算法进行加密,如将待加密的明文与轮密钥序列中的密钥依次进行轮函数迭代计算,具体如下:
设明文输入为(X
0,X
1,X
2,X
3)∈(Z
2
32)
4,密文输出为(Y
0,Y
1,Y
2,Y
3)∈(Z
2
32)
4,轮密钥为rk
i∈Z
2
32,i=0,1,2,…,31;则SMS4加密算法算法的加密变换为,
X
i+4=F(X
i,X
i+1,X
i+1,X
i+2,rk
i)=X
i T(X
i+1X
i+2X
i+3rk
i),i=0,1,...,31;
(Y
0,Y
1,Y
2,Y
3)=R(X
32,X
33,X
34,X
35)=(X
35,X
34,X
33,X
32)。
S204、对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
图2为本申请在其中一个实施例的一种基于区块链的银行数据共享方法中的区块建立过程示意图,如图所示,所述S1,建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链,包括:
S101、获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点;
在其中一个实施例,在任意一个银行终端产生交易数据时,均会在交易数据中写上银行终端的名称或者特征代号等信息,以便于在日后对交易数据进行统计时进行数据查找,在本实施例中可以根据事先的约定在不同的银行终端使用相同的特征代号,比如,A银行和B银行预进行数据共享,那么A银行和B银行就使用相同的特征代号。搜索不同银行终端是否具有相同的特征代号就可以确定在哪些银行终端之间建立共识节点。
S102、从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包;
在其中一个实施例,在将多个交易数据进行打包时,可以根据交易数据产生的时间进行打包,即在某一时间段内产生的交易数据打包成一个交易包。
S103、启动多线程对数个所述交易包中的交易数据进行并行处理后得到数个交易结果,汇总具有相同交易结果的共识节点后生成一区块,连接数个所述区块后形成所述区块链。
本步骤,采用多线程的方式可以同时进行众多交易数据的处理,能够有效降低高并发情况下造成的交易结果无法实时生成。
本实施例,通过对银行终端产生的交易数据进行有效处理,从而能够及时建立区块,便于银行之间进行即时的数据共享。
图4为本申请在其中一个实施例的一种基于区块链的银行数据共享方法中的数据共享过程示意图,如图所示,所述S3,接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端,包括:
S301、接收任一所述银行终端发出的数据共享请求,根据所述数据共享请求得到所述银行终端的IP地址,根据所述IP地址确定所述银行终端所在的待共享区块;
在其中一个实施例,获取所述区块中交易数据产生频率的历史数据,根据所述历史数据设置采集所述区块中交易数据的时间节点;在收集历史数据时,区块中每一个银行终端进行编号标记,通过追踪标记进而记录每一个银行终端产生的历史数据。
当所述时间节点到来时,采集所述区块中各个银行终端产生的实时交易数据,从所述实时交易数据中抽取出数据共享请求信息。其中,获取正常所述交易数据长度的历史数据,根据所述历史数据设置一正常交易数据阈值,若发现任一所述银行终端发出的交易数据的长度大于所述正常交易数据阈值,则对其进行关键词查询,其中,关键词可以是“共享”,若所述银行终端发出的交易数据中含有所述关键词,则提取所述数据共享请求信息,若没有此关键词,则发出数据异常信息至共识节点。
S302、获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文;
在其中一个实施例,在获取所述待共享区块的待共享区块密钥时,可以先向所述待共享区块发送区块密钥获取指令,然后接收所述待共享区块的反馈信息,若所述反馈信息中有所述待共享区块密钥,则应用其进行解密,若没有所述待共享区块密钥,则需要重新发送密钥获取指令,或者核验所述密钥获取指令是否正确。
S303、发送所述解密报文于各个区块,接收各个区块对所述解密报文的反馈信息,若所述反馈信息中包含有所述待共享区块密钥,则应用所述待共享区块密钥解密所述反馈信息发出区块的加密交易数据后得到明文交易数据,发送所述明文交易数据至所述待共享区块,否则不发送。
在其中一个实施例,在加密时对于要进行共享的交易数据可以采用相同的密钥进行加密,这样在解密时可以利用一个密钥就可以将不同区块的数据进行解密。因此,对于在反馈信息中没有包含所述待共享区块密钥的区块,反映出的信息是这些区块不同意进行数据共享。
本实施例,通过对数据共享过程进行合理判断,从而快速的在不同区块之间形成数据共享机制,便于不同区块之间进行交易数据即时共享。
在其中一个实施例,所述S101、获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点,包括:
发送采集所述已有交易数据的指令至各个所述银行终端,接收各个所述银行终端的反馈信息;
在其中一个实施例,获取所述银行终端的IP地址,对所述IP地址进行DNS解析后得到DNS解析代码,根据所述DNS解析代码中的最后三位数字确定向所述银行终端的物理位置,根据所述物理位置对所述银行终端进行编号,以所述编号对反馈信息进行标记。所述DNS解析就是将IP地址和DNS解析代码列表进行对应,从DNS解析代码类别中查询到所述IP地址对应的DNS解析代码。
获取所述反馈信息中的特征字符,根据所述特征字符确定是否接收所述银行终端发送的交易数据;
其中,特征字符主要是指“同意”和“否定”等具有判断性的词语。
抽取所述银行终端发送的特征标识,在具有同一所述特征标识的银行终端之间建立共识节点。其中,在查询所述交易数据的特征标识时,可以对将所述交易数据进行分割成数个子块,分隔符为标点符号,如“,”、“、”、“:”等,然后查询出每一个子块中的文字信息,将所述文字信息打包成一文字组,应用文本相似算法得到所述文字组中的核心词语,将核心词语一致的交易数据对应的银行间建立共识节点,其中共识的内容是所述核心词语。
本实施例,通过对共识节点建立过程进行有效限定,从而增强了各个银行终端之间交易数据共享的安全性。
在其中一个实施例中,所述S102、从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包,包括:
获取所述多个交易数据的交易复杂度;
其中,交易复杂度是指交易中所涉及的终端数量,所涉及的步骤数量以及交易数据量等。交易复杂度可以根据交易数据量进行划分成多个等级,比如,简单交易的数据量为小于100,一般交易的数据量为101~1000,较复杂交易的数据量为1001~5000,复杂交易的数据量为大于5000等。
获取所述共识节点所在服务器的性能指标;
在其中一个实施例,本实施例中的服务器的性能指标主要是指服务器的处理数据能力,即在单位时间内处理数据的上限,不同的交易对应着不同的服务器,以便于各个服务器充分发挥作用。
根据所述交易复杂度与所述性能指标的对应关系将所述多个交易数据打包成一所述交易包。
在其中一个实施例,可以设性能指标包括m个线程,m为正整数,则可将多个交易信息打包为m个,每个线程根据交易复杂度分配一定数量的交易。例 如,m=5,n=500,且500个交易信息中复杂度较高的交易有100个,其余400个交易的复杂度类似,则可将500个交易信息打包为5个线程,每个线程包括80个复杂度较低的交易信息以及20个复杂度较高的交易信息。
本实施例,将不同交易进行打包从而提升了交易数据处理的效率。
在其中一个实施例,所述S302、获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文,包括:
获取所述待共享区块密钥生成时对应的密钥向量,所述密钥向量包括对称密钥和哈希密钥;
在其中一个实施例,哈希密钥和对称密钥两种常用的加密方法,其中,原始密码经哈希函数计算后得到一个哈希值,改变原始密码也会改变哈希值,因此常使用哈希值作为数据加密的方式。
应用预设的对称加密算法和所述对称密钥对应的明文数据进行解密得到初始解密结果;
应用预设的带密钥哈希算法和所述哈希密钥对所述待共享区块密钥中的随机数进行解密得到哈希结果;
对所述初始解密数据和所述哈希结果进行异或运算获得所述解密报文。
在其中一个实施例,异或运算也叫半加运算,其运算法则相当于不带进位的二进制加法:二进制下用1表示真,0表示假,则异或的运算法则为:
(同为0,异为1),这些法则与加法是相同的,只是不带进位,所以异或常被认作不进位加法。
本实施例,通过哈希加密算法和对称加密算法对加密数据进行有效解密,从而保证了解密报文的准确性。
在其中一个实施例中,提出了一种基于区块链的银行数据共享装置,如图5所示,包括如下模块:
区块建立模块51,设置为建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;
数据加密模块52,设置为获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;
数据共享模块53,设置为接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;
其中,所述交易包生成模块,包括如下模块:
原始密钥模块,设置为获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;
同态加密模块,设置为获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;
对称加密模块,设置为应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;
密文获得模块,设置为对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
在其中一个实施例中,所述区块建立模块,包括:
建立共识节点模块,设置为获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点;
交易包生成模块,设置为从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包;
区块链生成模块,设置为启动多线程对数个所述交易包中的交易数据进行并行处理后得到数个交易结果,汇总具有相同交易结果的共识节点后生成一区块,连接数个所述区块后形成所述区块链。
在其中一个实施例中,提出了一种计算机设备,所述计算机设备包括存储器和处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行上述各实施例中的所述基于区块链的银行数据共享方法的步骤。
在其中一个实施例中,提出了一种存储有计算机可读指令的存储介质,该计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述各实施例中的所述基于区块链的银行数据共享方法的步骤。其中,所述存储介质可以为非易失性存储介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请一些示例性实施例,其中描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应 以所附权利要求为准。
Claims (20)
- 一种基于区块链的银行数据共享方法,包括:建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;其中,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,具体包括:获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
- 根据权利要求1所述的基于区块链的银行数据共享方法,其中,所述建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链,包括:获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点;从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包;启动多线程对数个所述交易包中的交易数据进行并行处理后得到数个交易结果,汇总具有相同交易结果的共识节点后生成一区块,连接数个所述区块后形成所述区块链。
- 根据权利要求1所述的基于区块链的银行数据共享方法,其中,所述接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端,包括:接收任一所述银行终端发出的数据共享请求,根据所述数据共享请求得到所述银行终端的IP地址,根据所述IP地址确定所述银行终端所在的待共享区块;获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文;发送所述解密报文于各个区块,接收各个区块对所述解密报文的反馈信息,若所述反馈信息中包含有所述待共享区块密钥,则应用所述待共享区块密钥解密所述反馈信息发出区块的加密交易数据后得到明文交易数据,发送所述明文交易数据至所述待共享区块,否则不发送。
- 根据权利要求2所述的基于区块链的银行数据共享方法,其中,所述获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点,包括:发送采集所述已有交易数据的指令至各个所述银行终端,接收各个所述银行终端的反馈信息;获取所述反馈信息中的特征字符,根据所述特征字符确定是否接收所述银行终端发送的交易数据;抽取所述银行终端发送的特征标识,在具有同一所述特征标识的银行终端之间建立共识节点。
- 根据权利要求2所述的基于区块链的银行数据共享方法,其中,所述从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包,包括:获取所述多个交易数据的交易复杂度;获取所述共识节点所在服务器的性能指标;根据所述交易复杂度与所述性能指标的对应关系将所述多个交易数据打包成一所述交易包。
- 根据权利要求3所述的基于区块链的银行数据共享方法,其中,所述获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文,包括:获取所述待共享区块密钥生成时对应的密钥向量,所述密钥向量包括对称密钥和哈希密钥;应用预设的对称加密算法和所述对称密钥对应的明文数据进行解密得到初始解密结果;应用预设的带密钥哈希算法和所述哈希密钥对所述待共享区块密钥中的随机数进行解密得到哈希结果;对所述初始解密数据和所述哈希结果进行异或运算获得所述解密报文。
- 一种基于区块链的银行数据共享装置,包括:区块建立模块,设置为建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;数据加密模块,设置为获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;数据共享模块,设置为接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;其中,所述交易包生成模块,包括如下模块:原始密钥模块,设置为获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;同态加密模块,设置为获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;对称加密模块,设置为应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;密文获得模块,设置为对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
- 根据权利要求7所述的基于区块链的银行数据共享装置,其中,所述区块建立模块,包括:建立共识节点模块,设置为获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点;交易包生成模块,设置为从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包;区块链生成模块,设置为启动多线程对数个所述交易包中的交易数据进行并行处理后得到数个交易结果,汇总具有相同交易结果的共识节点后生成一区块,连接数个所述区块后形成所述区块链;
- 一种计算机设备,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;其中,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,具体包括:获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
- 根据权利要求9所述计算机设备,其中,所述建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链,包括:获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点;从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包;启动多线程对数个所述交易包中的交易数据进行并行处理后得到数个交易结果,汇总具有相同交易结果的共识节点后生成一区块,连接数个所述区块后形成所述区块链。
- 根据权利要求9所述计算机设备,其中,所述接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端,包括:接收任一所述银行终端发出的数据共享请求,根据所述数据共享请求得到所述银行终端的IP地址,根据所述IP地址确定所述银行终端所在的待共享区块;获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文;发送所述解密报文于各个区块,接收各个区块对所述解密报文的反馈信息,若所述反馈信息中包含有所述待共享区块密钥,则应用所述待共享区块密钥解密所述反馈信息发出区块的加密交易数据后得到明文交易数据,发送所述明文交易数据至所述待共享区块,否则不发送。
- 根据权利要求10所述计算机设备,其中,所述获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点,包括:发送采集所述已有交易数据的指令至各个所述银行终端,接收各个所述银行终端的反馈信息;获取所述反馈信息中的特征字符,根据所述特征字符确定是否接收所述银行终端发送的交易数据;抽取所述银行终端发送的特征标识,在具有同一所述特征标识的银行终端之间建立共识节点。
- 根据权利要求10所述计算机设备,其中,所述从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包,包括:获取所述多个交易数据的交易复杂度;获取所述共识节点所在服务器的性能指标;根据所述交易复杂度与所述性能指标的对应关系将所述多个交易数据打包成一所述交易包。
- 根据权利要求11所述计算机设备,其中,所述获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文,包括:获取所述待共享区块密钥生成时对应的密钥向量,所述密钥向量包括对称密钥和哈希密钥;应用预设的对称加密算法和所述对称密钥对应的明文数据进行解密得到初始解密结果;应用预设的带密钥哈希算法和所述哈希密钥对所述待共享区块密钥中的随机数进行解密得到哈希结果;对所述初始解密数据和所述哈希结果进行异或运算获得所述解密报文。
- 一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链;获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据;接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端;其中,获取所述区块链上的任一区块的区块密钥,根据所述区块密钥对所述区块中产生的交易数据进行加密后得到密文交易数据,具体包括:获取所述区块链上的任一区块的交易数据包含的数字证书,将所述数字证书中的字符倒序排列后生成所述区块的原始密钥;获取所述原始密钥的原始密钥向量,应用同态加密算法对所述原始密钥向量进行加密后得到同态加密向量;应用哈希密钥算法对所述同态密钥向量中的随机数进行加密后得到哈希结果,应用对称加密算法对所述同态加密向量中的密文数据进行加密后得到对称加密结果;对所述哈希结果和所述对称加密结果进行异或运算后得到最终密钥,应用所述最终密钥对所述区块中的交易数据进行加密后得到所述密文交易数据。
- 根据权利要求15所述存储介质,其中,所述建立多个银行终端之间的共识节点,根据所述共识节点的交易结果建立数个区块,连接数个所述区块后形成一区块链,包括:获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点;从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包;启动多线程对数个所述交易包中的交易数据进行并行处理后得到数个交易结果,汇总具有相同交易结果的共识节点后生成一区块,连接数个所述区块后形成所述区块链。
- 根据权利要求15所述存储介质,其中,所述接收所述区块链上的任一所述银行终端发出的数据共享请求,发送所述数据共享请求至各所述区块,接收各所述区块产生的所述密文交易数据,将所述密文交易数据解密后发送至发出所述数据共享请求的银行终端,包括:接收任一所述银行终端发出的数据共享请求,根据所述数据共享请求得到所述银行终端的IP地址,根据所述IP地址确定所述银行终端所在的待共享区块;获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文;发送所述解密报文于各个区块,接收各个区块对所述解密报文的反馈信息,若所述反馈信息中包含有所述待共享区块密钥,则应用所述待共享区块密钥解 密所述反馈信息发出区块的加密交易数据后得到明文交易数据,发送所述明文交易数据至所述待共享区块,否则不发送。
- 根据权利要求16所述存储介质,其中,所述获取多个所述银行终端产生的已有交易数据,从所述已有交易数据中抽取出各个所述银行终端的特征标识,根据所述特征标识在各个所述银行终端之间建立数个所述共识节点,包括:发送采集所述已有交易数据的指令至各个所述银行终端,接收各个所述银行终端的反馈信息;获取所述反馈信息中的特征字符,根据所述特征字符确定是否接收所述银行终端发送的交易数据;抽取所述银行终端发送的特征标识,在具有同一所述特征标识的银行终端之间建立共识节点。
- 根据权利要求16所述存储介质,其中,所述从任一所述共识节点处获取多个交易数据,将所述多个交易数据进行打包后生成一交易包,包括:获取所述多个交易数据的交易复杂度;获取所述共识节点所在服务器的性能指标;根据所述交易复杂度与所述性能指标的对应关系将所述多个交易数据打包成一所述交易包。
- 根据权利要求17所述存储介质,其中,所述获取所述待共享区块的待共享区块密钥,对所述待共享区块密钥进行解密后生成解密报文,包括:获取所述待共享区块密钥生成时对应的密钥向量,所述密钥向量包括对称密钥和哈希密钥;应用预设的对称加密算法和所述对称密钥对应的明文数据进行解密得到初始解密结果;应用预设的带密钥哈希算法和所述哈希密钥对所述待共享区块密钥中的随机数进行解密得到哈希结果;对所述初始解密数据和所述哈希结果进行异或运算获得所述解密报文。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910375075.0A CN110224808B (zh) | 2019-05-07 | 2019-05-07 | 基于区块链的银行数据共享方法、装置、计算机设备和存储介质 |
| CN201910375075.0 | 2019-05-07 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020224489A1 true WO2020224489A1 (zh) | 2020-11-12 |
Family
ID=67820557
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/087558 Ceased WO2020224489A1 (zh) | 2019-05-07 | 2020-04-28 | 基于区块链的银行数据共享方法及相关设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110224808B (zh) |
| WO (1) | WO2020224489A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114549204A (zh) * | 2022-02-23 | 2022-05-27 | 蚂蚁区块链科技(上海)有限公司 | 用于从区块链拉取交易数据的方法及相关设备 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110224808B (zh) * | 2019-05-07 | 2022-10-04 | 深圳壹账通智能科技有限公司 | 基于区块链的银行数据共享方法、装置、计算机设备和存储介质 |
| CN113497818A (zh) * | 2020-04-01 | 2021-10-12 | 深圳Tcl数字技术有限公司 | 一种数据共享方法以及共享系统 |
| CN111862486A (zh) * | 2020-07-22 | 2020-10-30 | 中国工商银行股份有限公司 | 基于联盟链的制卡方法、装置及系统 |
| WO2022027175A1 (en) | 2020-08-03 | 2022-02-10 | Alipay (Hangzhou) Information Technology Co., Ltd. | Blockchain transaction processing systems and methods |
| CN112261082B (zh) * | 2020-09-21 | 2021-11-19 | 中国科学院计算技术研究所 | 基于区块链和安全多方计算的被动dns数据共享方法及系统 |
| CN114422230B (zh) * | 2022-01-17 | 2023-04-07 | 上海数喆数据科技有限公司 | 一种基于数据加密的信息传输系统 |
| CN114900348B (zh) * | 2022-04-28 | 2024-01-30 | 福建福链科技有限公司 | 一种区块链传感器数据验证的方法及终端 |
| CN115242837B (zh) * | 2022-07-13 | 2024-11-01 | 中国联合重型燃气轮机技术有限公司 | 燃气轮机的信息共享方法及装置 |
| CN116055157A (zh) * | 2023-01-07 | 2023-05-02 | 湖南工商大学 | 一种基于区块链的环境监测数据共享方法及系统 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150379510A1 (en) * | 2012-07-10 | 2015-12-31 | Stanley Benjamin Smith | Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain. |
| CN107332658A (zh) * | 2017-08-11 | 2017-11-07 | 浙江赛佳控股有限公司 | 基于链式区块链技术的接口实现方法及装置 |
| CN109462472A (zh) * | 2017-09-06 | 2019-03-12 | 阿里巴巴集团控股有限公司 | 数据加密和解密的方法、装置和系统 |
| CN109639753A (zh) * | 2018-10-26 | 2019-04-16 | 众安信息技术服务有限公司 | 一种基于区块链的数据共享方法及系统 |
| CN110224808A (zh) * | 2019-05-07 | 2019-09-10 | 深圳壹账通智能科技有限公司 | 基于区块链的银行数据共享方法及相关设备 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU2017100426A4 (en) * | 2017-04-18 | 2017-06-15 | McAlister, Gary MR | New Islamic Banking Sharia Compliant Blockchain Innovation Patent that has no riba, usury or interest component for but not limited to savings, deposit, ethical loans, finance, stock share bond, Private Placement Programs, Digitally discover new mine deposits to franchise & new monetary system using blockchains POS proof of stake/secondary mining mine discovery process of assets and commodities for entities such as but not limited to Governments, treasuries, central banks, banks, financial institutions, monetary funds, judicial entities, profit-sharing blockchain franchise investments PSBFI's. |
| CN108898475B (zh) * | 2018-05-08 | 2021-04-06 | 众安信息技术服务有限公司 | 基于属性加密的联盟区块链实现信贷方法及系统 |
| CN108876591A (zh) * | 2018-05-28 | 2018-11-23 | 江苏荣泽信息科技股份有限公司 | 基于区块链的银行间同业现金流通管理系统 |
| CN109242476A (zh) * | 2018-09-14 | 2019-01-18 | 比比物流有限公司 | 虚拟银行卡区块链系统及其银行节点、网络支付方法 |
-
2019
- 2019-05-07 CN CN201910375075.0A patent/CN110224808B/zh not_active Expired - Fee Related
-
2020
- 2020-04-28 WO PCT/CN2020/087558 patent/WO2020224489A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150379510A1 (en) * | 2012-07-10 | 2015-12-31 | Stanley Benjamin Smith | Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain. |
| CN107332658A (zh) * | 2017-08-11 | 2017-11-07 | 浙江赛佳控股有限公司 | 基于链式区块链技术的接口实现方法及装置 |
| CN109462472A (zh) * | 2017-09-06 | 2019-03-12 | 阿里巴巴集团控股有限公司 | 数据加密和解密的方法、装置和系统 |
| CN109639753A (zh) * | 2018-10-26 | 2019-04-16 | 众安信息技术服务有限公司 | 一种基于区块链的数据共享方法及系统 |
| CN110224808A (zh) * | 2019-05-07 | 2019-09-10 | 深圳壹账通智能科技有限公司 | 基于区块链的银行数据共享方法及相关设备 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114549204A (zh) * | 2022-02-23 | 2022-05-27 | 蚂蚁区块链科技(上海)有限公司 | 用于从区块链拉取交易数据的方法及相关设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110224808B (zh) | 2022-10-04 |
| CN110224808A (zh) | 2019-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020224489A1 (zh) | 基于区块链的银行数据共享方法及相关设备 | |
| CN110689349B (zh) | 一种区块链中的交易哈希值存储和搜索方法及装置 | |
| US12309127B2 (en) | End-to-end secure operations using a query vector | |
| CN107622096B (zh) | 基于区块链系统的异步多方数据交互方法和存储介质 | |
| US10903976B2 (en) | End-to-end secure operations using a query matrix | |
| CN112131227B (zh) | 一种基于联盟链的数据查询方法及装置 | |
| US9852306B2 (en) | Conjunctive search in encrypted data | |
| CN116049626A (zh) | 一种数据统计方法、装置、设备以及存储介质 | |
| US20200007320A1 (en) | Key Encryption Methods, Apparatuses, and Systems | |
| CN108596627B (zh) | 一种基于区块链和雾计算的大数据计算方法及系统 | |
| CN108737374A (zh) | 一种区块链中数据存储的隐私保护方法 | |
| WO2022068356A1 (zh) | 基于区块链的信息加密方法、装置、设备及介质 | |
| CN109936620B (zh) | 基于区块链的存储方法及装置、系统与存储介质 | |
| CN108768994A (zh) | 数据匹配方法、装置及计算机可读存储介质 | |
| WO2023087760A1 (zh) | 一种数据共享方法、装置、设备及存储介质 | |
| CN116975125A (zh) | 数据统计方法、装置、系统、存储介质和程序产品 | |
| WO2022068234A1 (zh) | 基于共享根密钥的加密方法、装置、设备及介质 | |
| CN116595562B (zh) | 数据处理方法和电子设备 | |
| Yuan | Fair data transactions across private databases | |
| CN111861485A (zh) | 一种基于区块链的数字货币管控方法及设备 | |
| Mlgheit et al. | Security Model for Preserving Privacy over Encrypted Cloud Computing | |
| WO2022244129A1 (ja) | 管理装置、金融機関端末、及び管理方法 | |
| CN111682934A (zh) | 一种综合能源计量数据的存储、访问、共享方法及系统 | |
| CN115277206B (zh) | 数据处理方法和服务器 | |
| CHENU et al. | Perceptual Hashing on Images Encrypted with a Homomorphic Scheme |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20802370 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20802370 Country of ref document: EP Kind code of ref document: A1 |