CN114723567B - Financial data information distributed transaction system based on block chain technology - Google Patents

Financial data information distributed transaction system based on block chain technology Download PDF

Info

Publication number
CN114723567B
CN114723567B CN202210653426.1A CN202210653426A CN114723567B CN 114723567 B CN114723567 B CN 114723567B CN 202210653426 A CN202210653426 A CN 202210653426A CN 114723567 B CN114723567 B CN 114723567B
Authority
CN
China
Prior art keywords
blockchain
data
data information
financial
information
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.)
Active
Application number
CN202210653426.1A
Other languages
Chinese (zh)
Other versions
CN114723567A (en
Inventor
徐进丁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing June Spring Information Technology Co.,Ltd.
Original Assignee
Shenzhen Runjingyuan Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Runjingyuan Information Technology Co ltd filed Critical Shenzhen Runjingyuan Information Technology Co ltd
Priority to CN202210653426.1A priority Critical patent/CN114723567B/en
Publication of CN114723567A publication Critical patent/CN114723567A/en
Application granted granted Critical
Publication of CN114723567B publication Critical patent/CN114723567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Technology Law (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a financial data information distributed transaction system based on a block chain technology, which relates to a financial data interaction safety technology and solves the technical problems of low safety performance, interaction lag and the like of fused data information transaction in the prior art; the encryption module can realize data decryption of data information encrypted and received during data transmission of the financial data terminal, and when data is in danger in the transmission process, the data terminal can automatically give an early warning and clear the data information in the transmission process; the safety capability in the financial data information transaction process is greatly improved.

Description

一种基于区块链技术的金融数据化信息分布式交易系统A distributed transaction system for financial data-based information based on blockchain technology

技术领域technical field

本发明涉及金融数据交互安全技术领域,具体涉及一种基于区块链技术的金融数据化信息分布式交易系统。The invention relates to the technical field of financial data interaction security, in particular to a distributed transaction system for financial data-based information based on blockchain technology.

背景技术Background technique

数据库作为企业核心应用系统的重要组成部分,从其出现伊始就逐渐占据可观地位,目前几乎所有的关键应用都无法离开数据库系统提供的底层支撑,金融行业尤其如此。最近几年,随着越来越多金融企业的数据规模不断增加、数据使用复杂度也在提高,对底层数据库的能力要求也“水涨船高”,传统集中式数据库已不能满足需要,因此具备高性能、可扩展、高可用和高容错特性的分布式数据库,就成为了目前金融行业数字化转型中的首要选择,可以说金融行业走向分布式数据库已是大势所趋。As an important part of the core application system of an enterprise, the database has gradually occupied a considerable position since its appearance. At present, almost all key applications cannot leave the underlying support provided by the database system, especially in the financial industry. In recent years, as more and more financial enterprises continue to increase the scale of data and the complexity of data usage, the capability requirements for the underlying database are also "rising". The traditional centralized database can no longer meet the needs, so it has high performance , scalable, highly available and highly fault-tolerant distributed databases have become the first choice in the digital transformation of the financial industry. It can be said that the financial industry is moving towards distributed databases.

在金融数据信息的交易终端中,金融终端呈分布式分布趋势严重,在不同时空和区域的交易范围内,如何实现分布式交易,仍旧存在一些技术风险,比如数据交易过程中漏洞较大,数据传输过程不安全,容易被篡改,数据交互不便利等诸多问题。In the trading terminal of financial data information, the financial terminal has a serious distributed distribution trend. In the trading range of different time, space and regions, there are still some technical risks in how to realize distributed trading. The transmission process is insecure, easy to be tampered with, and data interaction is inconvenient.

发明内容SUMMARY OF THE INVENTION

针对上述技术的不足,本发明公开一种基于区块链技术的金融数据化信息分布式交易系统,旨在解决分布式交易问题,通过区块链技术提高了数据交易过程中的安全能力。In view of the deficiencies of the above technologies, the present invention discloses a distributed transaction system of financial data information based on blockchain technology, aiming at solving the problem of distributed transactions, and improving the security capability in the process of data transaction through blockchain technology.

为了实现上述技术效果,本发明采用以下技术方案:In order to realize above-mentioned technical effect, the present invention adopts following technical scheme:

一种基于区块链技术的金融数据化信息分布式交易系统,其中包括:A distributed transaction system for financial data-based information based on blockchain technology, including:

金融数据终端,在不同的区域或者位置产生各种金融交易数据信息,所述金融数据终端设置有区块链节点,通过区块链节点能够实现不同数据信息的交互和应用;The financial data terminal generates various financial transaction data information in different areas or locations, and the financial data terminal is provided with a blockchain node, and the interaction and application of different data information can be realized through the blockchain node;

数据存储模块;用于实现不同金融交易数据信息的存储,所述数据存储模块包括HBASE+HIVE+SPARK存储模块、云端数据库、区块链接口、区块链节点、分布式数据存储区块和搜索引擎,其中所述HBASE+HIVE+SPARK存储模块包含HBASE数据库、HIVE数据库和SPARK数据库,所述HBASE数据库、云端数据库、HIVE数据库和SPARK数据库的输出端通过区块链接口与区块链节点连接,所述区块链节点与分布式数据存储区块连接,所述分布式数据存储区块内设置有搜索引擎;Data storage module; used to realize the storage of different financial transaction data information, the data storage module includes HBASE+HIVE+SPARK storage module, cloud database, blockchain interface, blockchain node, distributed data storage block and search engine, wherein the HBASE+HIVE+SPARK storage module includes the HBASE database, the HIVE database and the SPARK database, and the outputs of the HBASE database, the cloud database, the HIVE database and the SPARK database are connected to the blockchain nodes through the blockchain interface, The blockchain node is connected to a distributed data storage block, and a search engine is provided in the distributed data storage block;

分布式数据融合模块;用于实现不同金融数据终端数据信息的融合,将不同金融交易数据类型数据进行汇总和计算,所述分布式数据融合模块设置有区块链数据节点;Distributed data fusion module; used to realize the fusion of data information of different financial data terminals, and to aggregate and calculate data of different financial transaction data types, the distributed data fusion module is provided with blockchain data nodes;

区块链网络;作为多个区块构成的数据区块链条,在区块中保存金融数据信息,按照各自产生的金融数据信息时间顺序连接成链条,将这些链条存储在区块链服务器中,为整个区块链系统提供存储空间和算力支持;Blockchain network; as a data blockchain chain composed of multiple blocks, financial data information is stored in the blocks, and the financial data information generated by each is connected to form a chain in time sequence, and these chains are stored in the blockchain server, Provide storage space and computing power support for the entire blockchain system;

区块链节点;作为区域的服务器,设置有共识机制,能够实现不同金融数据终端的数据连接;Blockchain node; as a regional server, there is a consensus mechanism, which can realize data connection between different financial data terminals;

加密模块;能够实现金融数据终端数据发送时加密和接收数据信息的数据解密,当数据在传输过程中遇到危险时,能够自动预警并将发送过程中的数据信息清零;Encryption module; it can realize the encryption of financial data terminal data when it is sent and the data decryption of received data information. When the data encounters danger during the transmission process, it can automatically warn and clear the data information in the sending process;

其中金融数据终端、数据存储模块、分布式数据融合模块和加密模块设置在区块链网络中,所述金融数据终端的输出端与数据存储模块的输入端连接,所述数据存储模块的输出端与分布式数据融合模块的输入端连接,所述分布式数据融合模块的输出端与加密模块的输入端连接。The financial data terminal, data storage module, distributed data fusion module and encryption module are set in the blockchain network, the output end of the financial data terminal is connected with the input end of the data storage module, and the output end of the data storage module It is connected with the input end of the distributed data fusion module, and the output end of the distributed data fusion module is connected with the input end of the encryption module.

作为本发明进一步的技术方案,所述数据存储模块实现存储的方法为:As a further technical solution of the present invention, the method for realizing storage by the data storage module is:

(1)接收金融数据终端发送的数据信息,并将接收到的数据信息写入,调用函数实现不同数据库信息之间的信息交互;(1) Receive the data information sent by the financial data terminal, write the received data information, and call the function to realize the information interaction between different database information;

(2)读取金融数据信息,在分布式金融数据终端,通过调用open函数,向区块链节点的数据信息发送调用函数,通过各个数据库内设置的区块链节点,获取各个分布式金融数据终端数据块信息;(2) Reading financial data information, in the distributed financial data terminal, by calling the open function, the calling function is sent to the data information of the blockchain node, and each distributed financial data is obtained through the blockchain nodes set in each database. terminal data block information;

(3)金融数据信息存储,调取区块链存储的数据程序。(3) Financial data information storage, calling the data program stored in the blockchain.

作为本发明进一步的技术方案,所述搜索引擎为贝叶斯算法搜索引擎或者K-means算法搜索引擎或者贝叶斯算法搜索引擎和K-means算法搜索引擎的结合,其中贝叶斯算法搜索引擎或者K-means算法搜索引擎均设置有区块链接口。As a further technical solution of the present invention, the search engine is a Bayesian algorithm search engine or a K-means algorithm search engine or a combination of a Bayesian algorithm search engine and a K-means algorithm search engine, wherein the Bayesian algorithm search engine Or the K-means algorithm search engine is equipped with a blockchain interface.

作为本发明进一步的技术方案,分布式数据融合模块包括区块链融合接口、融合模块和Nash均衡算法模块,其中所述区块链融合接口用于通过区块链网络接收分布式数据信息,融合模块用于融合不同类型的金融数据信息,Nash均衡算法模块用于调节不同存储模块,实现区块链不同数据信息的调度。As a further technical solution of the present invention, the distributed data fusion module includes a blockchain fusion interface, a fusion module and a Nash equalization algorithm module, wherein the blockchain fusion interface is used to receive distributed data information through a blockchain network, and the fusion The module is used to integrate different types of financial data information, and the Nash equalization algorithm module is used to adjust different storage modules to realize the scheduling of different data information in the blockchain.

作为本发明进一步的技术方案,所述Nash均衡算法模块通过以下方法实现不同区块链节点金融数据信息的平衡和调节:As a further technical solution of the present invention, the Nash balance algorithm module realizes the balance and adjustment of financial data information of different blockchain nodes by the following methods:

步骤一、设置数据存储模块的存储函数,表示式为:Step 1. Set the storage function of the data storage module, the expression is:

Figure 414827DEST_PATH_IMAGE001
(1)
Figure 414827DEST_PATH_IMAGE001
(1)

式(1)中,

Figure 639397DEST_PATH_IMAGE002
表示数据存储模块存储的区块链金融数据类型函数,
Figure 47244DEST_PATH_IMAGE003
表示第
Figure 72969DEST_PATH_IMAGE004
个区 块链存储节点数据信息分析速率,
Figure 199057DEST_PATH_IMAGE005
表示不同类型的区块链节点兼容交易数据信息存储 参数,
Figure 601220DEST_PATH_IMAGE006
表示HBASE数据库数据存储,
Figure 863574DEST_PATH_IMAGE007
表示HIVE数据库数据存储,
Figure 325779DEST_PATH_IMAGE008
表示SPARK数据库 数据存储,
Figure 172119DEST_PATH_IMAGE009
Figure 502606DEST_PATH_IMAGE010
Figure 494833DEST_PATH_IMAGE011
表示HBASE数据库、HIVE数据库和SPARK数据库区块链存储信息函 数式,
Figure 986994DEST_PATH_IMAGE012
表示数据库,
Figure 697461DEST_PATH_IMAGE013
表示数据库下标标识,
Figure 831639DEST_PATH_IMAGE014
表示HBASE数据库的数据类型,
Figure 38892DEST_PATH_IMAGE015
表示 HIVE数据库的数据类型,
Figure 108479DEST_PATH_IMAGE016
表示SPARK数据库的数据类型; In formula (1),
Figure 639397DEST_PATH_IMAGE002
Represents the blockchain financial data type function stored by the data storage module,
Figure 47244DEST_PATH_IMAGE003
means the first
Figure 72969DEST_PATH_IMAGE004
The data information analysis rate of each blockchain storage node,
Figure 199057DEST_PATH_IMAGE005
Indicates that different types of blockchain nodes are compatible with transaction data information storage parameters,
Figure 601220DEST_PATH_IMAGE006
Represents the HBASE database data store,
Figure 863574DEST_PATH_IMAGE007
Represents HIVE database data storage,
Figure 325779DEST_PATH_IMAGE008
represents the SPARK database data store,
Figure 172119DEST_PATH_IMAGE009
,
Figure 502606DEST_PATH_IMAGE010
,
Figure 494833DEST_PATH_IMAGE011
Represents HBASE database, HIVE database and SPARK database blockchain storage information function,
Figure 986994DEST_PATH_IMAGE012
represents the database,
Figure 697461DEST_PATH_IMAGE013
Represents the database subscript identifier,
Figure 831639DEST_PATH_IMAGE014
Represents the data type of the HBASE database,
Figure 38892DEST_PATH_IMAGE015
Represents the data type of the HIVE database,
Figure 108479DEST_PATH_IMAGE016
Represents the data type of the SPARK database;

步骤二、调节数据存储模块的存储金融数据信息;Step 2, adjusting the stored financial data information of the data storage module;

根据数据存储模块中存储金融数据信息区块链的参数进行Nash均衡调节,调节函数表示为:According to the parameters of the blockchain that stores financial data information in the data storage module, Nash balance adjustment is performed, and the adjustment function is expressed as:

Figure 899718DEST_PATH_IMAGE017
(2)
Figure 899718DEST_PATH_IMAGE017
(2)

式(2)中,

Figure 712953DEST_PATH_IMAGE018
表示存储金融数据信息区块内区块链数据的均衡值,
Figure 538826DEST_PATH_IMAGE019
表示存储 金融数据信息区块中区块链金融数据信息状态,
Figure 638369DEST_PATH_IMAGE020
表示区块链金融数据信息调度的均衡速 度,
Figure 57849DEST_PATH_IMAGE021
表示不同类型的区块链存储参数,n区块链存储参数的个数,i表示区块链区块数;
Figure 766786DEST_PATH_IMAGE022
表示区块链数据均衡值参数; In formula (2),
Figure 712953DEST_PATH_IMAGE018
Represents the equilibrium value of the blockchain data in the storage financial data information block,
Figure 538826DEST_PATH_IMAGE019
Indicates the state of blockchain financial data information in the storage financial data information block,
Figure 638369DEST_PATH_IMAGE020
Represents the equilibrium speed of blockchain financial data information scheduling,
Figure 57849DEST_PATH_IMAGE021
Represents different types of blockchain storage parameters, n is the number of blockchain storage parameters, and i represents the number of blockchain blocks;
Figure 766786DEST_PATH_IMAGE022
Represents the blockchain data balance value parameter;

步骤三、调节区块链储存指标,标准化处理;Step 3. Adjust the storage indicators of the blockchain and standardize the processing;

经过Nash均衡之后,数据存储模块中的区块链金融数据信息储存指标标准化处理为:After Nash balancing, the standardized processing of blockchain financial data information storage indicators in the data storage module is as follows:

Figure 853691DEST_PATH_IMAGE023
(3)
Figure 853691DEST_PATH_IMAGE023
(3)

式(3),

Figure 592977DEST_PATH_IMAGE024
表示标准化处理后的区块链储存指标,
Figure 624387DEST_PATH_IMAGE025
中的
Figure 779424DEST_PATH_IMAGE026
表示为区块链储 存指标的种类,
Figure 314311DEST_PATH_IMAGE027
中的
Figure 522701DEST_PATH_IMAGE028
表示为区块链储存指标的长度;
Figure 916773DEST_PATH_IMAGE029
表示数据存储模块中具 有区块链输入表示的数值,其中
Figure 734556DEST_PATH_IMAGE030
中的
Figure 530474DEST_PATH_IMAGE031
表示区块链数据符号,
Figure 877142DEST_PATH_IMAGE032
中的
Figure 758510DEST_PATH_IMAGE033
表示区块 链金融数据信息调度的均衡速度,
Figure 379984DEST_PATH_IMAGE034
中的
Figure 30408DEST_PATH_IMAGE035
表示区块链金融数据信息调度后的数据标 识,
Figure 312092DEST_PATH_IMAGE036
中的
Figure 539811DEST_PATH_IMAGE037
表示区块链存储节点,
Figure 574763DEST_PATH_IMAGE038
表示区块链金融数据信息存储后的数据指标,
Figure 469907DEST_PATH_IMAGE039
表示金融交易数据信息在区块链网络中实现调度的时间差; Formula (3),
Figure 592977DEST_PATH_IMAGE024
Represents the standardized blockchain storage index,
Figure 624387DEST_PATH_IMAGE025
middle
Figure 779424DEST_PATH_IMAGE026
Represented as the type of blockchain storage indicator,
Figure 314311DEST_PATH_IMAGE027
middle
Figure 522701DEST_PATH_IMAGE028
Expressed as the length of the blockchain storage indicator;
Figure 916773DEST_PATH_IMAGE029
Represents a numeric value in a data storage module with a blockchain input representation, where
Figure 734556DEST_PATH_IMAGE030
middle
Figure 530474DEST_PATH_IMAGE031
Represents the blockchain data symbol,
Figure 877142DEST_PATH_IMAGE032
middle
Figure 758510DEST_PATH_IMAGE033
Represents the equilibrium speed of blockchain financial data information scheduling,
Figure 379984DEST_PATH_IMAGE034
middle
Figure 30408DEST_PATH_IMAGE035
Represents the data identifier after the scheduling of blockchain financial data information,
Figure 312092DEST_PATH_IMAGE036
middle
Figure 539811DEST_PATH_IMAGE037
Represents a blockchain storage node,
Figure 574763DEST_PATH_IMAGE038
Represents the data indicators after the blockchain financial data information is stored,
Figure 469907DEST_PATH_IMAGE039
Represents the time difference between financial transaction data information scheduling in the blockchain network;

步骤四、通过更新最优化算法实现区块链金融数据信息输入更新;Step 4. Realize the input and update of blockchain financial data information by updating the optimization algorithm;

对于均衡后的区块链数据存储模块,若进行区块链金融数据信息交互,需保证区 块链金融数据信息输入更新最优化,通过

Figure 299322DEST_PATH_IMAGE040
函数评估: For the balanced blockchain data storage module, if the blockchain financial data information is exchanged, it is necessary to ensure that the input and update of the blockchain financial data information is optimized.
Figure 299322DEST_PATH_IMAGE040
Function evaluation:

Figure 14337DEST_PATH_IMAGE041
(4)
Figure 14337DEST_PATH_IMAGE041
(4)

式(4)中,

Figure 852980DEST_PATH_IMAGE042
表示最优区块链金融数据信息交互方法函数,
Figure 104095DEST_PATH_IMAGE043
中的
Figure 229046DEST_PATH_IMAGE044
表示均 衡状态下的区块链金融数据信息交互变化,
Figure 306724DEST_PATH_IMAGE045
中的
Figure 808112DEST_PATH_IMAGE046
表示不同区块链节点数据信息的 交互次数,
Figure 287635DEST_PATH_IMAGE047
表示区块链金融数据信息交互过程有效率,
Figure 849066DEST_PATH_IMAGE048
表示初始区块链金融数据 信息输出量,
Figure 414040DEST_PATH_IMAGE049
表示区块链数据信息更新最优化算法过程指标系数,
Figure 975513DEST_PATH_IMAGE050
表示存储金融数 据信息区块随时间的变化状态,
Figure 309542DEST_PATH_IMAGE051
表示非均衡状态下的区块链金融数据信息交互函 数。 In formula (4),
Figure 852980DEST_PATH_IMAGE042
Represents the optimal blockchain financial data information interaction method function,
Figure 104095DEST_PATH_IMAGE043
middle
Figure 229046DEST_PATH_IMAGE044
Represents the interactive changes of blockchain financial data and information in an equilibrium state,
Figure 306724DEST_PATH_IMAGE045
middle
Figure 808112DEST_PATH_IMAGE046
Represents the number of interactions between data information of different blockchain nodes,
Figure 287635DEST_PATH_IMAGE047
Indicates that the blockchain financial data information exchange process is efficient,
Figure 849066DEST_PATH_IMAGE048
Indicates the output amount of initial blockchain financial data information,
Figure 414040DEST_PATH_IMAGE049
Represents the index coefficient of the process of updating the optimization algorithm of the blockchain data information,
Figure 975513DEST_PATH_IMAGE050
Represents the changing state of the block storing financial data information over time,
Figure 309542DEST_PATH_IMAGE051
Represents the information interaction function of blockchain financial data in a non-equilibrium state.

有效率差函数为:The effective rate difference function is:

Figure 41875DEST_PATH_IMAGE052
(5)
Figure 41875DEST_PATH_IMAGE052
(5)

式(5)中,

Figure 953199DEST_PATH_IMAGE053
表示区块链金融交易有效数据更新差值,
Figure 937335DEST_PATH_IMAGE054
表示均衡状态下的区 块链金融数据信息交互有效率,
Figure 250505DEST_PATH_IMAGE055
表示未达均衡状态的区块链金融数据信息交互有效 率,
Figure 29105DEST_PATH_IMAGE056
表示区块链网络中整个区块允许的最大数据更新量。 In formula (5),
Figure 953199DEST_PATH_IMAGE053
Represents the difference between valid data updates of blockchain financial transactions,
Figure 937335DEST_PATH_IMAGE054
Indicates that the blockchain financial data information exchange efficiency in a balanced state,
Figure 250505DEST_PATH_IMAGE055
Indicates that the exchange of financial data and information on the blockchain that has not reached an equilibrium state is efficient,
Figure 29105DEST_PATH_IMAGE056
Represents the maximum amount of data updates allowed for the entire block in the blockchain network.

作为本发明进一步的技术方案,所述加密模块为改进型Blowfish加密算法模块,所述改进型Blowfish加密算法模块包含加密单元、区块链节点和解密单元,其中所述加密单元的输出端与区块链节点的输入端连接,所述区块链节点的输出端和解密单元的输入端连接。As a further technical solution of the present invention, the encryption module is an improved Blowfish encryption algorithm module, and the improved Blowfish encryption algorithm module includes an encryption unit, a blockchain node and a decryption unit, wherein the output end of the encryption unit is the same as the region The input end of the block chain node is connected, and the output end of the block chain node is connected with the input end of the decryption unit.

作为本发明进一步的技术方案,所述加密单元中设置有预警函数和清零函数,加密单元在加密过程中通过Blowfish加密算法对传递过程中的数据信息进行加密,加密后的数据信息遇到风险数据信息时,自动启动预警函数,提示传输过程中有风险出现,当预警级别达到设置的最高级时,自动启动清零函数,将传递过程中的高风险金融数据信息清零,并将清零前的金融数据信息原路返回。As a further technical solution of the present invention, an early warning function and a zero-clearing function are set in the encryption unit, and the encryption unit encrypts the data information in the transmission process through the Blowfish encryption algorithm during the encryption process, and the encrypted data information encounters risks. When the data information is sent, the warning function is automatically started to indicate that there is a risk in the transmission process. When the warning level reaches the highest level set, the clearing function is automatically started to clear the high-risk financial data information in the transmission process, and it will be cleared to zero. The previous financial data information returns the same way.

作为本发明进一步的技术方案,解密单元工作方法为:As a further technical scheme of the present invention, the working method of the decryption unit is:

使用MD5算法公钥对签名块进行解密,通过哈希函数摘要实现公文密文进行比较,如果来源相同,并且未发现漏洞,则视为文件完整,不需要重新发送,如果MD5算法公钥无法实现数据解密,再启动RSA解密密算法对文件数据信息进行解密,然后输出Blowfish加密算法的密钥;最后再通过Blowfish加密算法的密钥对公文密文进行解密,则输出解密后的电子文件M。Use the MD5 algorithm public key to decrypt the signature block, and compare the official document ciphertext through the hash function digest. If the source is the same and no loopholes are found, the file is considered complete and does not need to be resent. If the MD5 algorithm public key cannot be implemented Data decryption, then start the RSA decryption encryption algorithm to decrypt the file data information, and then output the key of the Blowfish encryption algorithm; finally, decrypt the ciphertext of the official document through the key of the Blowfish encryption algorithm, and output the decrypted electronic file M.

本发明有益的积极效果在于:The beneficial positive effects of the present invention are:

区别于常规技术,本发明通过数据存储模块能够实现不同金融交易数据信息的存储,采用的数据存储模块为HBASE+HIVE+SPARK存储模块、云端数据库,通过在这些存储模块中设置区块链接口、区块链节点、分布式数据存储区块和搜索引擎,提高了数据存储能力和数据搜索能力。通过设置分布式数据融合模块能够实现不同金融数据终端数据信息的融合,通过区块链网络能够保存金融数据信息,通过设置区块链节点能够实现不同金融数据终端的数据连接;通过加密模块能够实现金融数据终端数据发送时加密和接收数据信息的数据解密,当数据在传输过程中遇到危险时,能够自动预警并将发送过程中的数据信息清零;Different from the conventional technology, the present invention can realize the storage of different financial transaction data information through the data storage module. The adopted data storage module is the HBASE+HIVE+SPARK storage module and the cloud database. Blockchain nodes, distributed data storage blocks and search engines improve data storage capabilities and data search capabilities. By setting the distributed data fusion module, the fusion of data information of different financial data terminals can be realized, the financial data information can be saved through the blockchain network, and the data connection of different financial data terminals can be realized by setting the blockchain nodes; the encryption module can realize When the data of the financial data terminal is sent, it encrypts and decrypts the data of the received data information. When the data encounters danger during the transmission process, it can automatically warn and clear the data information during the sending process;

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图,其中:In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor, wherein:

图1为本发明整体结构示意图;Fig. 1 is the overall structure schematic diagram of the present invention;

图2为本发明中数据存储模块原理结构示意图;Fig. 2 is a schematic diagram of the principle structure of a data storage module in the present invention;

图3为本发明中加密方法一种实施例示意图;3 is a schematic diagram of an embodiment of an encryption method in the present invention;

图4为本发明中加密方法一种实施例示意图;4 is a schematic diagram of an embodiment of an encryption method in the present invention;

图5为本发明中解密方法一种实施例示意图。FIG. 5 is a schematic diagram of an embodiment of a decryption method in the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all 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.

如图1和图2所示,一种基于区块链技术的金融数据化信息分布式交易系统,包括:As shown in Figure 1 and Figure 2, a distributed transaction system for financial data-based information based on blockchain technology includes:

金融数据终端,在不同的区域或者位置产生各种金融交易数据信息,所述金融数据终端设置有区块链节点,通过区块链节点能够实现不同数据信息的交互和应用;The financial data terminal generates various financial transaction data information in different areas or locations, and the financial data terminal is provided with a blockchain node, and the interaction and application of different data information can be realized through the blockchain node;

数据存储模块;用于实现不同金融交易数据信息的存储,所述数据存储模块包括HBASE+HIVE+SPARK存储模块、云端数据库、区块链接口、区块链节点、分布式数据存储区块和搜索引擎,其中所述HBASE+HIVE+SPARK存储模块包含HBASE数据库、HIVE数据库和SPARK数据库,所述HBASE数据库、云端数据库、HIVE数据库和SPARK数据库的输出端通过区块链接口与区块链节点连接,所述区块链节点与分布式数据存储区块连接,所述分布式数据存储区块内设置有搜索引擎;Data storage module; used to realize the storage of different financial transaction data information, the data storage module includes HBASE+HIVE+SPARK storage module, cloud database, blockchain interface, blockchain node, distributed data storage block and search engine, wherein the HBASE+HIVE+SPARK storage module includes the HBASE database, the HIVE database and the SPARK database, and the outputs of the HBASE database, the cloud database, the HIVE database and the SPARK database are connected to the blockchain nodes through the blockchain interface, The blockchain node is connected to a distributed data storage block, and a search engine is provided in the distributed data storage block;

分布式数据融合模块;用于实现不同金融数据终端数据信息的融合,将不同金融交易数据类型数据进行汇总和计算,所述分布式数据融合模块设置有区块链数据节点;Distributed data fusion module; used to realize the fusion of data information of different financial data terminals, and to aggregate and calculate data of different financial transaction data types, the distributed data fusion module is provided with blockchain data nodes;

区块链网络;作为多个区块构成的数据区块链条,在区块中保存金融数据信息,按照各自产生的金融数据信息时间顺序连接成链条,将这些链条存储在区块链服务器中,为整个区块链系统提供存储空间和算力支持;Blockchain network; as a data blockchain chain composed of multiple blocks, financial data information is stored in the blocks, and the financial data information generated by each is connected to form a chain in time sequence, and these chains are stored in the blockchain server, Provide storage space and computing power support for the entire blockchain system;

区块链节点;作为区域的服务器,设置有共识机制,能够实现不同金融数据终端的数据连接;Blockchain node; as a regional server, there is a consensus mechanism, which can realize data connection between different financial data terminals;

加密模块;能够实现金融数据终端数据发送时加密和接收数据信息的数据解密,当数据在传输过程中遇到危险时,能够自动预警并将发送过程中的数据信息清零;Encryption module; it can realize the encryption of financial data terminal data when it is sent and the data decryption of received data information. When the data encounters danger during the transmission process, it can automatically warn and clear the data information in the sending process;

其中金融数据终端、数据存储模块、分布式数据融合模块和加密模块设置在区块链网络中,所述金融数据终端的输出端与数据存储模块的输入端连接,所述数据存储模块的输出端与分布式数据融合模块的输入端连接,所述分布式数据融合模块的输出端与加密模块的输入端连接。The financial data terminal, data storage module, distributed data fusion module and encryption module are set in the blockchain network, the output end of the financial data terminal is connected with the input end of the data storage module, and the output end of the data storage module It is connected with the input end of the distributed data fusion module, and the output end of the distributed data fusion module is connected with the input end of the encryption module.

在上述实施例中,所述数据存储模块实现存储的方法为:In the above-mentioned embodiment, the method for realizing storage by the data storage module is:

(1)接收金融数据终端发送的数据信息,并将接收到的数据信息写入,调用函数实现不同数据库信息之间的信息交互;(1) Receive the data information sent by the financial data terminal, write the received data information, and call the function to realize the information interaction between different database information;

在具体实施例中,比如调用 Distributed File System函数中的create()程序,在经过初始化之后,将接收到的中压设备不同文件信息输出到HBASE、HIVE或者SPARK数据库中,此时的区块链网络架构节点会接收上述数据信息并根据数据内容通过搜索引擎查询数据信息,当数据接口接收数据信息时,根据接收数据之前用户设置的创建文件的权限,输出数据接收情况,当数据接收后, FSData Output Stream 能够将接收到的文件信息分成若干个小包,在不同数据库的数据节点之间实现数据信息的交互,借助于 write packet方案将接收到的数据信息写到数据节点中。数据写入成功后,则表示数据局库信息能够接收该数据信息,通过调用 ack packet 程序员给客户端,人工操作指令,实现数据信息的关闭,然后可以将数据完成的信息返回给不同的区块链架构节点。In a specific embodiment, for example, the create() program in the Distributed File System function is called, and after initialization, the received information on different files of the medium voltage device is output to the HBASE, HIVE or SPARK database. At this time, the blockchain The network architecture node will receive the above data information and query the data information through the search engine according to the data content. When the data interface receives the data information, it will output the data reception status according to the permission set by the user to create a file before receiving the data. After the data is received, FSData Output Stream can divide the received file information into several small packets, realize the interaction of data information between data nodes of different databases, and write the received data information to the data nodes with the help of the write packet scheme. After the data is written successfully, it means that the data bureau information can receive the data information. By calling the ack packet programmer to the client and manually operating the instruction, the data information can be closed, and then the data completed information can be returned to different areas. Blockchain architecture node.

(2)读取金融数据信息,在分布式金融数据终端,通过调用open函数,向区块链节点的数据信息发送调用函数,通过各个数据库内设置的区块链节点,获取各个分布式金融数据终端数据块信息。(2) Reading financial data information, in the distributed financial data terminal, by calling the open function, the calling function is sent to the data information of the blockchain node, and each distributed financial data is obtained through the blockchain nodes set in each database. Terminal block information.

在用户客户端处,通过调用read()函数,实现数据信息的获取,最终在DFSInputStream识别获取的数据信息。At the user client, the data information is obtained by calling the read() function, and the obtained data information is finally identified in the DFSInputStream.

最后的数据信息返回到用户客户端(3)金融数据信息存储,调取区块链存储的数据程序。The final data information is returned to the user client (3) Financial data information storage, and the data program stored in the blockchain is called.

在具体实施例中,一旦当前的区块链数据流断开后,通过选择区块链数据节点获取数据块。然后调取close函数阻断当前的数据流。其中一种形式的通过上述方式完成数据存储。本研究中,为了提高数据存储的功能,采用了云存储技术,在云平台中融合了数据安全管理、云数据监控以及区块链调度、云数据共享与交互、资源调度等多方面服务。In a specific embodiment, once the current blockchain data stream is disconnected, the data block is obtained by selecting a blockchain data node. Then call the close function to block the current data flow. One of the forms of data storage is accomplished in the manner described above. In this research, in order to improve the function of data storage, cloud storage technology is adopted, which integrates data security management, cloud data monitoring, blockchain scheduling, cloud data sharing and interaction, resource scheduling and other services in the cloud platform.

在具体实施例中,通过该存储模块能够实现多种数据信息的存储,本发明兼容HBASE+HIVE+SPARK的数据接口,提高了多种数据的存存储力,使得不同数据库下的金融数据能够实现互通。在具体实施例中,还引入云存储技术方法,使得不同位置或者环境下的金融数据能够自动化实现存储、计算与传递,提高了数据共享能力和存存储力。In a specific embodiment, the storage module can realize the storage of various data information, the present invention is compatible with the data interface of HBASE+HIVE+SPARK, improves the storage and storage capacity of various data, and enables financial data under different databases to be realized. Intercommunication. In a specific embodiment, a cloud storage technology method is also introduced, so that financial data in different locations or environments can be automatically stored, calculated and transmitted, and the data sharing capability and storage and storage capability are improved.

在具体实施例中,上述方法还能够实现数据加密和解密的功能。In a specific embodiment, the above method can also implement the functions of data encryption and decryption.

在上述实施例中,所述搜索引擎为贝叶斯算法搜索引擎或者K-means算法搜索引擎或者贝叶斯算法搜索引擎和K-means算法搜索引擎的结合,其中贝叶斯算法搜索引擎或者K-means算法搜索引擎均设置有区块链接口。In the above embodiment, the search engine is a Bayesian algorithm search engine or a K-means algorithm search engine or a combination of a Bayesian algorithm search engine and a K-means algorithm search engine, wherein the Bayesian algorithm search engine or K-means algorithm search engine -means algorithm search engines are equipped with blockchain interfaces.

在具体实施例中,实现分布式存储的方法还可以采用数据查询引擎技术,该技术能够在不同的数据库之间或者数据节点进行特定属性的数据查询和检索。在索引数据信息时,充分考虑了元数据标准,该标准根据元数据数据存储模块和与该数据数据存储模块相关技术的研究进行的定义。在组织架构中,将搜索引擎划分为区块链网络爬虫Crawler、索引器、检索器以及用户接口,通过这些部件实现数据的搜索。在进行数据检索时,区块链网络爬虫Crawler通过Web区块链网络实现数据检索。索引器的主要作用是通过下载的内容实现数据分析,在分析数据时,根据数据存储方法、检索词语、目标函数分类、文档匹配等情况进行。分析后的结果通过用户接口与用户进行数据交互。In a specific embodiment, the method for realizing distributed storage may also adopt a data query engine technology, which can perform data query and retrieval of specific attributes between different databases or data nodes. When indexing data information, full consideration is given to the metadata standard, which is defined according to the research on the metadata data storage module and related technologies of the data data storage module. In the organizational structure, the search engine is divided into block chain web crawler Crawler, indexer, retriever and user interface, and data search is realized through these components. During data retrieval, the blockchain web crawler Crawler realizes data retrieval through the web blockchain network. The main function of the indexer is to realize data analysis through the downloaded content. When analyzing the data, it is carried out according to the data storage method, search terms, objective function classification, document matching and so on. The analyzed results interact with the user through the user interface.

在具体实施例中,贝叶斯分类算法是统计学的一种分类方法,它是一类利用概率统计知识进行分类的算法。在许多场合,朴素贝叶斯(Naïve Bayes,NB)分类算法可以与决策树和神经网络分类算法相媲美,该算法能运用到大型数据库中,而且方法简单、分类准确率高、速度快。k均值聚类算法(k-means clustering algorithm)是一种迭代求解的聚类分析算法,其步骤是,预将数据分为K组,则随机选取K个对象作为初始的聚类中心,然后计算每个对象与各个种子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心。聚类中心以及分配给它们的对象就代表一个聚类。每分配一个样本,聚类的聚类中心会根据聚类中现有的对象被重新计算。这个过程将不断重复直到满足某个终止条件。终止条件可以是没有(或最小数目)对象被重新分配给不同的聚类,没有(或最小数目)聚类中心再发生变化,误差平方和局部最小。In a specific embodiment, the Bayesian classification algorithm is a classification method of statistics, which is a class of algorithms for classification using knowledge of probability and statistics. In many cases, the Naïve Bayes (NB) classification algorithm can be compared with the decision tree and neural network classification algorithm. This algorithm can be applied to large databases, and the method is simple, high classification accuracy and fast. The k-means clustering algorithm is an iterative clustering analysis algorithm. The steps are: pre-divide the data into K groups, randomly select K objects as the initial clustering centers, and then calculate The distance between each object and each seed cluster center, assigning each object to the cluster center closest to it. Cluster centers and the objects assigned to them represent a cluster. Each time a sample is assigned, the cluster center of the cluster is recalculated based on the existing objects in the cluster. This process will repeat until a certain termination condition is met. Termination conditions can be that no (or a minimum number) of objects are reassigned to different clusters, no (or a minimum number) of cluster centers change again, and the sum of squared errors is locally minimized.

在上述实施例中,分布式数据融合模块包括区块链融合接口、融合模块和Nash均衡算法模块,其中所述区块链融合接口用于通过区块链网络接收分布式数据信息,融合模块用于融合不同类型的金融数据信息,Nash均衡算法模块用于调节不同存储模块,实现区块链不同数据信息的调度。In the above embodiment, the distributed data fusion module includes a blockchain fusion interface, a fusion module and a Nash equalization algorithm module, wherein the blockchain fusion interface is used to receive distributed data information through the blockchain network, and the fusion module uses In order to integrate different types of financial data information, the Nash equalization algorithm module is used to adjust different storage modules to realize the scheduling of different data information in the blockchain.

在上述实施例中,Nash均衡算法模块通过以下方法实现不同区块链节点金融数据信息的平衡和调节In the above embodiment, the Nash balance algorithm module realizes the balance and adjustment of financial data information of different blockchain nodes through the following methods

纳什均衡(Nash equilibrium)主要对存在关联的金融交易数据信息形成博弈局面,在博弈过程中金融交易数据信息间的变化会导致整体金融交易数据的变动,而若个体金融交易数据信息改变状态,则博弈中的其它金融交易数据信息个体均不会发生改变,即在金融交易数据群体性管理中必存在Nash平衡。Nash equilibrium mainly forms a game situation for related financial transaction data information. During the game, changes in financial transaction data information will lead to changes in the overall financial transaction data. If the individual financial transaction data information changes state, then Other financial transaction data information individuals in the game will not change, that is, there must be Nash balance in the group management of financial transaction data.

在区块链数据存储模块中,在存储时间内,金融交易数据信息能够根据区块链类型进行自适应调节,使数据存储模块能够根据需求制定出相应的存储过程。In the blockchain data storage module, within the storage time, financial transaction data information can be adaptively adjusted according to the type of blockchain, so that the data storage module can formulate a corresponding storage process according to requirements.

步骤一、设置数据存储模块的存储函数,表示式为:Step 1. Set the storage function of the data storage module, the expression is:

Figure 929190DEST_PATH_IMAGE057
(1)
Figure 929190DEST_PATH_IMAGE057
(1)

式(1)中,

Figure 451439DEST_PATH_IMAGE058
表示数据存储模块存储的区块链金融数据类型函数,
Figure 884694DEST_PATH_IMAGE059
表示第
Figure 834195DEST_PATH_IMAGE060
个区 块链存储节点数据信息分析速率,
Figure 720112DEST_PATH_IMAGE061
表示不同类型的区块链节点兼容交易数据信息存储 参数,
Figure 905106DEST_PATH_IMAGE062
表示HBASE数据库数据存储,
Figure 68234DEST_PATH_IMAGE063
表示HIVE数据库数据存储,
Figure 77385DEST_PATH_IMAGE064
表示SPARK数据 库数据存储,
Figure 325963DEST_PATH_IMAGE065
Figure 49069DEST_PATH_IMAGE066
Figure 332282DEST_PATH_IMAGE067
表示HBASE数据库、HIVE数据库和SPARK数据库区块链存储信息 函数式,
Figure 748220DEST_PATH_IMAGE068
表示数据库,
Figure 484095DEST_PATH_IMAGE069
表示数据库下标标识,
Figure 10891DEST_PATH_IMAGE070
表示HBASE数据库的数据类型,
Figure 774710DEST_PATH_IMAGE071
表 示HIVE数据库的数据类型,
Figure 236916DEST_PATH_IMAGE072
表示SPARK数据库的数据类型; In formula (1),
Figure 451439DEST_PATH_IMAGE058
Represents the blockchain financial data type function stored by the data storage module,
Figure 884694DEST_PATH_IMAGE059
means the first
Figure 834195DEST_PATH_IMAGE060
The data information analysis rate of each blockchain storage node,
Figure 720112DEST_PATH_IMAGE061
Indicates that different types of blockchain nodes are compatible with transaction data information storage parameters,
Figure 905106DEST_PATH_IMAGE062
Represents the HBASE database data store,
Figure 68234DEST_PATH_IMAGE063
Represents HIVE database data storage,
Figure 77385DEST_PATH_IMAGE064
represents the SPARK database data store,
Figure 325963DEST_PATH_IMAGE065
,
Figure 49069DEST_PATH_IMAGE066
,
Figure 332282DEST_PATH_IMAGE067
Represents HBASE database, HIVE database and SPARK database blockchain storage information function,
Figure 748220DEST_PATH_IMAGE068
represents the database,
Figure 484095DEST_PATH_IMAGE069
Represents the database subscript identifier,
Figure 10891DEST_PATH_IMAGE070
Represents the data type of the HBASE database,
Figure 774710DEST_PATH_IMAGE071
Represents the data type of the HIVE database,
Figure 236916DEST_PATH_IMAGE072
Represents the data type of the SPARK database;

步骤二、调节数据存储模块的存储金融数据信息;Step 2, adjusting the stored financial data information of the data storage module;

根据数据存储模块中存储金融数据信息区块链的参数进行Nash均衡调节,调节函数表示为:According to the parameters of the blockchain that stores financial data information in the data storage module, Nash balance adjustment is performed, and the adjustment function is expressed as:

Figure 584720DEST_PATH_IMAGE073
(2)
Figure 584720DEST_PATH_IMAGE073
(2)

式(2)中,

Figure 790574DEST_PATH_IMAGE074
表示存储金融数据信息区块内区块链数据的均衡值,
Figure 907434DEST_PATH_IMAGE075
表示存 储金融数据信息区块中区块链金融数据信息状态,
Figure 806120DEST_PATH_IMAGE076
表示区块链金融数据信息调度的均 衡速度,
Figure 375642DEST_PATH_IMAGE077
表示不同类型的区块链存储参数,n区块链存储参数的个数,i表示区块链区块 数;
Figure 119607DEST_PATH_IMAGE078
表示区块链数据均衡值参数; In formula (2),
Figure 790574DEST_PATH_IMAGE074
Represents the equilibrium value of the blockchain data in the storage financial data information block,
Figure 907434DEST_PATH_IMAGE075
Indicates the state of blockchain financial data information in the storage financial data information block,
Figure 806120DEST_PATH_IMAGE076
Represents the equilibrium speed of blockchain financial data information scheduling,
Figure 375642DEST_PATH_IMAGE077
Represents different types of blockchain storage parameters, n is the number of blockchain storage parameters, and i represents the number of blockchain blocks;
Figure 119607DEST_PATH_IMAGE078
Represents the blockchain data balance value parameter;

步骤三、调节区块链储存指标,标准化处理;Step 3. Adjust the storage indicators of the blockchain and standardize the processing;

经过Nash均衡之后,数据存储模块中的区块链金融数据信息储存指标标准化处理为:After Nash balancing, the standardized processing of blockchain financial data information storage indicators in the data storage module is as follows:

Figure 855088DEST_PATH_IMAGE079
(3)
Figure 855088DEST_PATH_IMAGE079
(3)

式(3),

Figure 659096DEST_PATH_IMAGE080
表示标准化处理后的区块链储存指标,
Figure 981493DEST_PATH_IMAGE081
中的
Figure 388204DEST_PATH_IMAGE082
表示为区块链储 存指标的种类,
Figure 355023DEST_PATH_IMAGE083
中的
Figure 720145DEST_PATH_IMAGE084
表示为区块链储存指标的长度;
Figure 874046DEST_PATH_IMAGE085
表示数据存储模块中具 有区块链输入表示的数值,其中
Figure 851491DEST_PATH_IMAGE086
中的
Figure 672817DEST_PATH_IMAGE087
表示区块链数据符号,
Figure 943261DEST_PATH_IMAGE088
中的
Figure 974671DEST_PATH_IMAGE089
表示区块 链金融数据信息调度的均衡速度,
Figure 864130DEST_PATH_IMAGE090
中的
Figure 664596DEST_PATH_IMAGE091
表示区块链金融数据信息调度后的数据标 识,
Figure 246887DEST_PATH_IMAGE092
中的
Figure 998549DEST_PATH_IMAGE093
表示区块链存储节点,
Figure 816332DEST_PATH_IMAGE094
表示区块链金融数据信息存储后的数据指标,
Figure 346670DEST_PATH_IMAGE095
表示金融交易数据信息在区块链网络中实现调度的时间差; Formula (3),
Figure 659096DEST_PATH_IMAGE080
Represents the standardized blockchain storage index,
Figure 981493DEST_PATH_IMAGE081
middle
Figure 388204DEST_PATH_IMAGE082
Represented as the type of blockchain storage indicator,
Figure 355023DEST_PATH_IMAGE083
middle
Figure 720145DEST_PATH_IMAGE084
Expressed as the length of the blockchain storage indicator;
Figure 874046DEST_PATH_IMAGE085
Represents a numeric value in a data storage module with a blockchain input representation, where
Figure 851491DEST_PATH_IMAGE086
middle
Figure 672817DEST_PATH_IMAGE087
Represents the blockchain data symbol,
Figure 943261DEST_PATH_IMAGE088
middle
Figure 974671DEST_PATH_IMAGE089
Represents the equilibrium speed of blockchain financial data information scheduling,
Figure 864130DEST_PATH_IMAGE090
middle
Figure 664596DEST_PATH_IMAGE091
Represents the data identifier after the scheduling of blockchain financial data information,
Figure 246887DEST_PATH_IMAGE092
middle
Figure 998549DEST_PATH_IMAGE093
Represents a blockchain storage node,
Figure 816332DEST_PATH_IMAGE094
Represents the data indicators after the blockchain financial data information is stored,
Figure 346670DEST_PATH_IMAGE095
Represents the time difference between financial transaction data information scheduling in the blockchain network;

步骤四、通过更新最优化算法实现区块链金融数据信息输入更新;Step 4. Realize the input and update of blockchain financial data information by updating the optimization algorithm;

对于均衡后的区块链数据存储模块,若进行区块链金融数据信息交互,需保证区 块链金融数据信息输入更新最优化,通过

Figure 224496DEST_PATH_IMAGE096
函数评估: For the balanced blockchain data storage module, if the blockchain financial data information is exchanged, it is necessary to ensure that the input and update of the blockchain financial data information is optimized.
Figure 224496DEST_PATH_IMAGE096
Function evaluation:

Figure 105865DEST_PATH_IMAGE097
(4)
Figure 105865DEST_PATH_IMAGE097
(4)

式(4)中,

Figure 461760DEST_PATH_IMAGE098
表示最优区块链金融数据信息交互方法函数,
Figure 377763DEST_PATH_IMAGE099
中的
Figure 396797DEST_PATH_IMAGE100
表示均 衡状态下的区块链金融数据信息交互变化,
Figure 624516DEST_PATH_IMAGE101
中的
Figure 659468DEST_PATH_IMAGE102
表示不同区块链节点数据信息 的交互次数,
Figure 554612DEST_PATH_IMAGE103
表示区块链金融数据信息交互过程有效率,
Figure 384028DEST_PATH_IMAGE104
表示初始区块链金融数 据信息输出量,
Figure 364622DEST_PATH_IMAGE105
表示区块链数据信息更新最优化算法过程指标系数,
Figure 203265DEST_PATH_IMAGE106
表示存储金融 数据信息区块随时间的变化状态,
Figure 185871DEST_PATH_IMAGE107
表示非均衡状态下的区块链金融数据信息交互函 数。 In formula (4),
Figure 461760DEST_PATH_IMAGE098
Represents the optimal blockchain financial data information interaction method function,
Figure 377763DEST_PATH_IMAGE099
middle
Figure 396797DEST_PATH_IMAGE100
Represents the interactive changes of blockchain financial data and information in an equilibrium state,
Figure 624516DEST_PATH_IMAGE101
middle
Figure 659468DEST_PATH_IMAGE102
Represents the number of interactions between data information of different blockchain nodes,
Figure 554612DEST_PATH_IMAGE103
Indicates that the blockchain financial data information exchange process is efficient,
Figure 384028DEST_PATH_IMAGE104
Indicates the output amount of initial blockchain financial data information,
Figure 364622DEST_PATH_IMAGE105
Represents the index coefficient of the process of updating the optimization algorithm of the blockchain data information,
Figure 203265DEST_PATH_IMAGE106
Represents the changing state of the block storing financial data information over time,
Figure 185871DEST_PATH_IMAGE107
Represents the information interaction function of blockchain financial data in a non-equilibrium state.

对于上述数据函数,相同字母不再做重复说明。For the above data functions, the same letters will not be repeated.

最优区块链金融数据信息交互过程进行分析,通过对比不同状态下有效率差确定制定过程函数的优越性,有效率差函数为:The optimal blockchain financial data information interaction process is analyzed, and the superiority of the formulating process function is determined by comparing the effective rate difference under different states. The effective rate difference function is:

Figure 186188DEST_PATH_IMAGE108
(5)
Figure 186188DEST_PATH_IMAGE108
(5)

式(5)中,

Figure 388499DEST_PATH_IMAGE109
表示区块链金融交易有效数据更新差值,
Figure 30833DEST_PATH_IMAGE110
表示均衡状态下的区 块链金融数据信息交互有效率,
Figure 634990DEST_PATH_IMAGE111
表示未达均衡状态的区块链金融数据信息交互有效 率,
Figure 71787DEST_PATH_IMAGE112
表示区块链网络中整个区块允许的最大数据更新量。 In formula (5),
Figure 388499DEST_PATH_IMAGE109
Represents the difference between valid data updates of blockchain financial transactions,
Figure 30833DEST_PATH_IMAGE110
Indicates that the blockchain financial data information exchange efficiency in a balanced state,
Figure 634990DEST_PATH_IMAGE111
Indicates that the exchange of financial data and information on the blockchain that has not reached an equilibrium state is efficient,
Figure 71787DEST_PATH_IMAGE112
Represents the maximum amount of data updates allowed for the entire block in the blockchain network.

Nash均衡算法能够保证数据存储模块中区块链数据不停地发生更新,这意味着不 同节点的金融区块链数据信息可以即时发生数据交互和数据更新,体现了不同区块链数据 信息共享的数据信息特性,使得分布式金融终端能够通过区块链网络实现交互,并使区块 链金融数据信息交互效率最大化。在算法中利用

Figure 495816DEST_PATH_IMAGE113
公式确定区块链金融数据信息 交互的有效性,从而确保区块链数据存储模块运行的可靠性。大大提高了金融数据信息交 互能力。 The Nash balancing algorithm can ensure that the blockchain data in the data storage module is continuously updated, which means that the financial blockchain data information of different nodes can exchange data and update data in real time, which reflects the sharing of data and information between different blockchains. The characteristics of data information enable distributed financial terminals to interact through the blockchain network, and maximize the efficiency of blockchain financial data information interaction. use in the algorithm
Figure 495816DEST_PATH_IMAGE113
The formula determines the effectiveness of the blockchain financial data information interaction, thereby ensuring the reliability of the blockchain data storage module operation. It greatly improves the ability of financial data and information interaction.

在上述实施例中,所述加密模块为改进型Blowfish加密算法模块,所述改进型Blowfish加密算法模块包含加密单元、区块链节点和解密单元,其中所述加密单元的输出端与区块链节点的输入端连接,所述区块链节点的输出端和解密单元的输入端连接。In the above embodiment, the encryption module is an improved Blowfish encryption algorithm module, and the improved Blowfish encryption algorithm module includes an encryption unit, a blockchain node and a decryption unit, wherein the output end of the encryption unit is connected to the blockchain The input end of the node is connected, and the output end of the blockchain node is connected with the input end of the decryption unit.

在上述实施例中,所述加密单元中设置有预警函数和清零函数,加密单元在加密过程中通过Blowfish加密算法对传递过程中的数据信息进行加密,加密后的数据信息遇到风险数据信息时,自动启动预警函数,提示传输过程中有风险出现,当预警级别达到设置的最高级时,自动启动清零函数,将传递过程中的高风险金融数据信息清零,并将清零前的金融数据信息原路返回。In the above embodiment, the encryption unit is provided with an early warning function and a zero-clearing function, and the encryption unit encrypts the data information in the transmission process through the Blowfish encryption algorithm during the encryption process, and the encrypted data information encounters risk data information. When the pre-warning function is activated, the warning function will be automatically activated to indicate that there is a risk in the transmission process. When the pre-warning level reaches the highest level set, the clearing function will be activated automatically to clear the high-risk financial data information in the transmission process, and the data before the clearing will be cleared. Financial data information returns the same way.

在具体实施例中,Blowfish算法是通过进行64位分组的一种算法,该种加密算法的密钥能够改变其的长度,并且这是一种对称加密的算法,该种算法能够迅速的对64比特长度的字符串进行加密。Blowfish加密算法能够快速的进行加解密,并且密钥长度可变,正是因为这些特点而被人们熟知。运用Blowfish加密算法对数据进行加解密需要把整个操作过程分成两步来进行:操作进行的第一步是需要对加密算法的密钥进行预先处理,在Blowfish加密算法的设计中,它会提供Blowfish算法的源密钥-pbox和sbox,它所提供的源密钥-pbox和sbox是固定的,每个用户使用时通采用同一套的源密钥-pbox和sbox。In a specific embodiment, the Blowfish algorithm is an algorithm that performs 64-bit grouping, and the key of this encryption algorithm can change its length, and this is a symmetric encryption algorithm, which can quickly Bit-length string to encrypt. The Blowfish encryption algorithm can perform fast encryption and decryption, and the key length is variable, which is well known because of these characteristics. Using the Blowfish encryption algorithm to encrypt and decrypt data needs to divide the entire operation process into two steps: the first step of the operation is to pre-process the key of the encryption algorithm. In the design of the Blowfish encryption algorithm, it will provide Blowfish The source keys of the algorithm - pbox and sbox, the source keys - pbox and sbox provided by it are fixed, and each user uses the same set of source keys - pbox and sbox.

因此如果希望对数据进行加密,如图3所示,需要准备一个进行加密的密钥,使用这个密钥与源密钥-pbox和sbox进行相互组合,生成子密钥key_pbox和key_sbox。第二步就是通过key_pbox和key_sbox对数据进行加密。Blowfish加密算法的加密流程如图3所示。由于Blowfish是对称性加密算法,所以在解密是同样需要通过密钥预处理生成子密钥key_pbox和key_sbox,只不过利用子密钥进行加密和解密的顺序是相反的。在Blowfish加密算法中,由于其的加密密钥长度是不确定的,可以变化其的长短,虽然这给用户设计密钥时带来很大的便利,但是同时也对数据的安全性带来很大隐患。由于Blowfish加密算法在加密和解密的核心在于密钥的选择和保密上,所以需要在Blowfish加密算法密钥的选择和保密上进行改进。Therefore, if you want to encrypt the data, as shown in Figure 3, you need to prepare an encryption key, and use this key to combine with the source key-pbox and sbox to generate sub-keys key_pbox and key_sbox. The second step is to encrypt the data through key_pbox and key_sbox. The encryption process of the Blowfish encryption algorithm is shown in Figure 3. Since Blowfish is a symmetric encryption algorithm, it is also necessary to generate subkeys key_pbox and key_sbox through key preprocessing during decryption, but the order of encryption and decryption using subkeys is reversed. In the Blowfish encryption algorithm, since the length of the encryption key is uncertain, its length can be changed. Although this brings great convenience to the user when designing the key, it also brings great harm to the security of the data. big hazard. Since the core of encryption and decryption of Blowfish encryption algorithm lies in the selection and secrecy of the key, it is necessary to improve the selection and secrecy of the key of the Blowfish encryption algorithm.

如图4所示,用户A向用户B发送数据信息M需要准备Blowfish加密算法、MD5算法和用户B的RSA加密算法的公钥,准备好三种工具才能完成接下来的工作。用户A发送端需要先通过使用Blowfish加密算法对电子文件进行加密,得到公文密文;再把Blowfish加密算法的密钥通过公网接收到的RSA加密算法公钥进行加密,就会得到Blowfish密钥密文;最后通过MD5算法对公文密文进行数字签名,可以验证数据传输是否完整,由于加密的是公文密文,既是用暴力破解MD5算法,依然只能得到公文密文,依然需要在进行破解,有很大安全性。As shown in Figure 4, when user A sends data information M to user B, he needs to prepare the public key of Blowfish encryption algorithm, MD5 algorithm and user B's RSA encryption algorithm, and prepare three tools to complete the next work. The sender of user A needs to encrypt the electronic file by using the Blowfish encryption algorithm to obtain the ciphertext of the official document; then encrypt the key of the Blowfish encryption algorithm with the public key of the RSA encryption algorithm received from the public network, and then the Blowfish key will be obtained. Ciphertext; Finally, digitally sign the ciphertext of the official document through the MD5 algorithm, which can verify the integrity of the data transmission. Since the encryption is the ciphertext of the official document, even if the MD5 algorithm is brute-forced, only the ciphertext of the official document can still be obtained, and it still needs to be cracked. , with great security.

在上述实施例中,如图5所示,在上述解密单元工作方法为:In the above-mentioned embodiment, as shown in FIG. 5, the working method of the above-mentioned decryption unit is:

使用MD5算法公钥对签名块进行解密,通过哈希函数摘要实现公文密文进行比较,如果来源相同,并且未发现漏洞,则视为文件完整,不需要重新发送,如果MD5算法公钥无法实现数据解密,再启动RSA解密密算法对文件数据信息进行解密,然后输出Blowfish加密算法的密钥;最后再通过Blowfish加密算法的密钥对公文密文进行解密,则输出解密后的电子文件M。Use the MD5 algorithm public key to decrypt the signature block, and compare the official document ciphertext through the hash function digest. If the source is the same and no loopholes are found, the file is considered complete and does not need to be resent. If the MD5 algorithm public key cannot be implemented Data decryption, then start the RSA decryption encryption algorithm to decrypt the file data information, and then output the key of the Blowfish encryption algorithm; finally, decrypt the ciphertext of the official document through the key of the Blowfish encryption algorithm, and output the decrypted electronic file M.

虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这些具体实施方式仅是举例说明,本领域的技术人员在不脱离本发明的原理和实质的情况下,可以对上述方法和系统的细节进行各种省略、替换和改变。例如,合并上述方法步骤,从而按照实质相同的方法执行实质相同的功能以实现实质相同的结果则属于本发明的范围。因此,本发明的范围仅由所附权利要求书限定。Although the specific embodiments of the present invention are described above, those skilled in the art should understand that these specific embodiments are only examples, and those skilled in the art can Various omissions, substitutions and changes have been made to the details of the method and system. For example, it is within the scope of the present invention to combine the above-described method steps to perform substantially the same functions in substantially the same way to achieve substantially the same results. Accordingly, the scope of the present invention is to be limited only by the appended claims.

Claims (4)

1.一种基于区块链技术的金融数据化信息分布式交易系统,其特征在于:包括:1. A financial data-based information distributed transaction system based on blockchain technology, characterized in that: comprising: 金融数据终端,在不同的区域或者位置产生各种金融交易数据信息,所述金融数据终端设置有区块链节点,通过区块链节点能够实现不同数据信息的交互和应用;The financial data terminal generates various financial transaction data information in different areas or locations, and the financial data terminal is provided with a blockchain node, and the interaction and application of different data information can be realized through the blockchain node; 数据存储模块;用于实现不同金融交易数据信息的存储,所述数据存储模块包括HBASE+HIVE+SPARK存储模块、云端数据库、区块链接口、区块链节点、分布式数据存储区块和搜索引擎,其中所述HBASE+HIVE+SPARK存储模块包含HBASE数据库、HIVE数据库和SPARK数据库,所述HBASE数据库、云端数据库、HIVE数据库和SPARK数据库的输出端通过区块链接口与区块链节点连接,所述区块链节点与分布式数据存储区块连接,所述分布式数据存储区块内设置有搜索引擎;Data storage module; used to realize the storage of different financial transaction data information, the data storage module includes HBASE+HIVE+SPARK storage module, cloud database, blockchain interface, blockchain node, distributed data storage block and search engine, wherein the HBASE+HIVE+SPARK storage module includes the HBASE database, the HIVE database and the SPARK database, and the outputs of the HBASE database, the cloud database, the HIVE database and the SPARK database are connected to the blockchain nodes through the blockchain interface, The blockchain node is connected to a distributed data storage block, and a search engine is provided in the distributed data storage block; 分布式数据融合模块;用于实现不同金融数据终端数据信息的融合,将不同金融交易数据类型数据进行汇总和计算,所述分布式数据融合模块设置有区块链节点;Distributed data fusion module; used to realize the fusion of data information of different financial data terminals, summarize and calculate the data of different financial transaction data types, and the distributed data fusion module is provided with blockchain nodes; 区块链网络;作为多个区块构成的数据区块链条,在区块中保存金融数据信息,按照各自产生的金融数据信息时间顺序连接成链条,将这些链条存储在区块链服务器中,为整个区块链系统提供存储空间和算力支持;Blockchain network; as a data blockchain chain composed of multiple blocks, financial data information is stored in the blocks, and the financial data information generated by each is connected to form a chain in time sequence, and these chains are stored in the blockchain server, Provide storage space and computing power support for the entire blockchain system; 区块链节点;作为区域的服务器,设置有共识机制,能够实现不同金融数据终端的数据连接;Blockchain node; as a regional server, there is a consensus mechanism, which can realize data connection between different financial data terminals; 加密模块;能够实现金融数据终端数据发送时加密和接收数据信息的数据解密,当数据在传输过程中遇到危险时,能够自动预警并将发送过程中的数据信息清零;Encryption module; it can realize the encryption of financial data terminal data when it is sent and the data decryption of received data information. When the data encounters danger during the transmission process, it can automatically warn and clear the data information in the sending process; 其中金融数据终端、数据存储模块、分布式数据融合模块和加密模块设置在区块链网络中,所述金融数据终端的输出端与数据存储模块的输入端连接,所述数据存储模块的输出端与分布式数据融合模块的输入端连接,所述分布式数据融合模块的输出端与加密模块的输入端连接;The financial data terminal, data storage module, distributed data fusion module and encryption module are set in the blockchain network, the output end of the financial data terminal is connected with the input end of the data storage module, and the output end of the data storage module connected with the input end of the distributed data fusion module, and the output end of the distributed data fusion module is connected with the input end of the encryption module; 所述数据存储模块实现存储的方法为:The method that the data storage module realizes storage is: (1)接收金融数据终端发送的数据信息,并将接收到的数据信息写入,调用函数实现不同数据库信息之间的信息交互;(1) Receive the data information sent by the financial data terminal, write the received data information, and call the function to realize the information interaction between different database information; (2)读取金融数据信息,在分布式金融数据终端,通过调用open函数,向区块链节点的数据信息发送调用函数,通过各个数据库内设置的区块链节点,获取各个分布式金融数据终端数据块信息;(2) Reading financial data information, in the distributed financial data terminal, by calling the open function, the calling function is sent to the data information of the blockchain node, and each distributed financial data is obtained through the blockchain nodes set in each database. terminal data block information; (3)金融数据信息存储,调取区块链存储的数据程序;(3) Financial data information storage, calling the data program stored in the blockchain; 所述搜索引擎为贝叶斯算法搜索引擎或者K-means算法搜索引擎或者贝叶斯算法搜索引擎和K-means算法搜索引擎的结合,其中贝叶斯算法搜索引擎或者K-means算法搜索引擎均设置有区块链接口;The search engine is a Bayesian algorithm search engine or a K-means algorithm search engine or a combination of a Bayesian algorithm search engine and a K-means algorithm search engine, wherein the Bayesian algorithm search engine or the K-means algorithm search engine are both. Set up a blockchain interface; 分布式数据融合模块包括区块链融合接口、融合模块和Nash均衡算法模块,其中所述区块链融合接口用于通过区块链网络接收分布式数据信息,融合模块用于融合不同类型的金融数据信息,Nash均衡算法模块用于调节不同存储模块,实现区块链不同数据信息的调度;The distributed data fusion module includes a blockchain fusion interface, a fusion module and a Nash equalization algorithm module, wherein the blockchain fusion interface is used to receive distributed data information through the blockchain network, and the fusion module is used to integrate different types of financial For data information, the Nash equalization algorithm module is used to adjust different storage modules to realize the scheduling of different data information in the blockchain; 所述Nash均衡算法模块通过以下方法实现不同区块链节点金融数据信息的平衡和调节:The Nash balance algorithm module realizes the balance and adjustment of financial data information of different blockchain nodes through the following methods: 步骤一、设置数据存储模块的存储函数,表示式为:Step 1. Set the storage function of the data storage module, the expression is:
Figure DEST_PATH_IMAGE002A
(1)
Figure DEST_PATH_IMAGE002A
(1)
式(1)中,
Figure DEST_PATH_IMAGE004A
表示数据存储模块存储的区块链金融数据类型函数,
Figure DEST_PATH_IMAGE006A
表示第
Figure DEST_PATH_IMAGE008AA
个区块链存储节点数据信息分析速率,
Figure DEST_PATH_IMAGE010A
表示不同类型的区块链节点兼容交易数据信息存储参数,
Figure DEST_PATH_IMAGE012A
表示HBASE数据库数据存储,
Figure DEST_PATH_IMAGE014A
表示HIVE数据库数据存储,
Figure DEST_PATH_IMAGE016A
表示SPARK数据库数据存储,
Figure DEST_PATH_IMAGE018A
Figure DEST_PATH_IMAGE020A
Figure DEST_PATH_IMAGE022A
表示HBASE数据库、HIVE数据库和SPARK数据库区块链存储信息函数式,
Figure DEST_PATH_IMAGE024A
表示数据库,
Figure DEST_PATH_IMAGE026A
表示数据库下标标识,
Figure DEST_PATH_IMAGE028A
表示HBASE数据库的数据类型,
Figure DEST_PATH_IMAGE030A
表示HIVE数据库的数据类型,
Figure DEST_PATH_IMAGE032AA
表示SPARK数据库的数据类型;
In formula (1),
Figure DEST_PATH_IMAGE004A
Represents the blockchain financial data type function stored by the data storage module,
Figure DEST_PATH_IMAGE006A
means the first
Figure DEST_PATH_IMAGE008AA
The data information analysis rate of each blockchain storage node,
Figure DEST_PATH_IMAGE010A
Indicates that different types of blockchain nodes are compatible with transaction data information storage parameters,
Figure DEST_PATH_IMAGE012A
Represents the HBASE database data store,
Figure DEST_PATH_IMAGE014A
Represents HIVE database data storage,
Figure DEST_PATH_IMAGE016A
represents the SPARK database data store,
Figure DEST_PATH_IMAGE018A
,
Figure DEST_PATH_IMAGE020A
,
Figure DEST_PATH_IMAGE022A
Represents HBASE database, HIVE database and SPARK database blockchain storage information function,
Figure DEST_PATH_IMAGE024A
represents the database,
Figure DEST_PATH_IMAGE026A
Represents the database subscript identifier,
Figure DEST_PATH_IMAGE028A
Represents the data type of the HBASE database,
Figure DEST_PATH_IMAGE030A
Represents the data type of the HIVE database,
Figure DEST_PATH_IMAGE032AA
Represents the data type of the SPARK database;
步骤二、调节数据存储模块的存储金融数据信息;Step 2, adjusting the stored financial data information of the data storage module; 根据数据存储模块中存储金融数据信息区块链的参数进行Nash均衡调节,调节函数表示为:According to the parameters of the blockchain that stores financial data information in the data storage module, Nash balance adjustment is performed, and the adjustment function is expressed as:
Figure DEST_PATH_IMAGE034A
(2)
Figure DEST_PATH_IMAGE034A
(2)
式(2)中,
Figure DEST_PATH_IMAGE036A
表示存储金融数据信息区块内区块链数据的均衡值,
Figure DEST_PATH_IMAGE038A
表示存储金融数据信息区块中区块链金融数据信息状态,
Figure DEST_PATH_IMAGE040A
表示区块链金融数据信息调度的均衡速度,
Figure DEST_PATH_IMAGE042A
表示不同类型的区块链存储参数,n表示区块链存储参数的个数,
Figure DEST_PATH_IMAGE044A
表示区块链区块数;
Figure DEST_PATH_IMAGE046A
表示区块链数据均衡值参数;
In formula (2),
Figure DEST_PATH_IMAGE036A
Represents the equilibrium value of the blockchain data in the storage financial data information block,
Figure DEST_PATH_IMAGE038A
Indicates the state of blockchain financial data information in the storage financial data information block,
Figure DEST_PATH_IMAGE040A
Represents the equilibrium speed of blockchain financial data information scheduling,
Figure DEST_PATH_IMAGE042A
Represents different types of blockchain storage parameters, n represents the number of blockchain storage parameters,
Figure DEST_PATH_IMAGE044A
Indicates the number of blockchain blocks;
Figure DEST_PATH_IMAGE046A
Represents the blockchain data balance value parameter;
步骤三、调节区块链储存指标,标准化处理;Step 3. Adjust the storage indicators of the blockchain and standardize the processing; 经过Nash均衡之后,数据存储模块中的区块链金融数据信息储存指标标准化处理为:After Nash balancing, the standardized processing of blockchain financial data information storage indicators in the data storage module is as follows:
Figure DEST_PATH_IMAGE048AAA
(3)
Figure DEST_PATH_IMAGE048AAA
(3)
式(3),
Figure DEST_PATH_IMAGE050
表示标准化处理后的区块链储存指标,
Figure DEST_PATH_IMAGE050A
中的
Figure DEST_PATH_IMAGE052
表示为区块链储存指标的种类,
Figure DEST_PATH_IMAGE050AA
中的
Figure DEST_PATH_IMAGE054A
表示为区块链储存指标的长度;
Figure DEST_PATH_IMAGE056_5A
表示数据存储模块中具有区块链输入表示的数值,其中
Figure DEST_PATH_IMAGE056_6A
中的
Figure DEST_PATH_IMAGE058
表示区块链数据符号,
Figure DEST_PATH_IMAGE056_7A
中的
Figure DEST_PATH_IMAGE060
表示区块链金融数据信息调度的均衡速度,
Figure DEST_PATH_IMAGE056_8A
中的
Figure DEST_PATH_IMAGE062
表示区块链金融数据信息调度后的数据标识,
Figure DEST_PATH_IMAGE056_9A
中的
Figure DEST_PATH_IMAGE008AAA
表示区块链存储节点,
Figure DEST_PATH_IMAGE064A
表示区块链金融数据信息存储后的数据指标,
Figure DEST_PATH_IMAGE066
表示金融交易数据信息在区块链网络中实现调度的时间差;
Formula (3),
Figure DEST_PATH_IMAGE050
Represents the standardized blockchain storage index,
Figure DEST_PATH_IMAGE050A
middle
Figure DEST_PATH_IMAGE052
Represented as the type of blockchain storage indicator,
Figure DEST_PATH_IMAGE050AA
middle
Figure DEST_PATH_IMAGE054A
Expressed as the length of the blockchain storage indicator;
Figure DEST_PATH_IMAGE056_5A
Represents a numeric value in a data storage module with a blockchain input representation, where
Figure DEST_PATH_IMAGE056_6A
middle
Figure DEST_PATH_IMAGE058
Represents the blockchain data symbol,
Figure DEST_PATH_IMAGE056_7A
middle
Figure DEST_PATH_IMAGE060
Represents the equilibrium speed of blockchain financial data information scheduling,
Figure DEST_PATH_IMAGE056_8A
middle
Figure DEST_PATH_IMAGE062
Represents the data identifier after the scheduling of blockchain financial data information,
Figure DEST_PATH_IMAGE056_9A
middle
Figure DEST_PATH_IMAGE008AAA
Represents a blockchain storage node,
Figure DEST_PATH_IMAGE064A
Represents the data indicators after the blockchain financial data information is stored,
Figure DEST_PATH_IMAGE066
Represents the time difference between financial transaction data information scheduling in the blockchain network;
步骤四、通过更新最优化算法实现区块链金融数据信息输入更新;Step 4. Realize the input and update of blockchain financial data information by updating the optimization algorithm; 对于均衡后的区块链数据存储模块,若进行区块链金融数据信息交互,需保证区块链金融数据信息输入更新最优化,通过
Figure DEST_PATH_IMAGE068A
函数评估:
For the balanced blockchain data storage module, if the blockchain financial data information is exchanged, it is necessary to ensure that the input and update of the blockchain financial data information is optimized.
Figure DEST_PATH_IMAGE068A
Function evaluation:
Figure DEST_PATH_IMAGE070A
(4)
Figure DEST_PATH_IMAGE070A
(4)
式(4)中,
Figure DEST_PATH_IMAGE072A
表示最优区块链金融数据信息交互方法函数,
Figure DEST_PATH_IMAGE072AA
中的
Figure DEST_PATH_IMAGE074A
表示均衡状态下的区块链金融数据信息交互变化,
Figure DEST_PATH_IMAGE072AAA
中的
Figure DEST_PATH_IMAGE076AAA
表示不同区块链节点数据信息的交互次数,
Figure DEST_PATH_IMAGE078
表示区块链金融数据信息交互过程有效率,
Figure DEST_PATH_IMAGE080
表示初始区块链金融数据信息输出量,
Figure DEST_PATH_IMAGE082A
表示区块链数据信息更新最优化算法过程指标系数,
Figure DEST_PATH_IMAGE084AA
表示存储金融数据信息区块随时间的变化状态,
Figure DEST_PATH_IMAGE086A
表示非均衡状态下的区块链金融数据信息交互函数;
In formula (4),
Figure DEST_PATH_IMAGE072A
Represents the optimal blockchain financial data information interaction method function,
Figure DEST_PATH_IMAGE072AA
middle
Figure DEST_PATH_IMAGE074A
Represents the interactive changes of blockchain financial data and information in an equilibrium state,
Figure DEST_PATH_IMAGE072AAA
middle
Figure DEST_PATH_IMAGE076AAA
Represents the number of interactions between data information of different blockchain nodes,
Figure DEST_PATH_IMAGE078
Indicates that the blockchain financial data information exchange process is efficient,
Figure DEST_PATH_IMAGE080
Indicates the output amount of initial blockchain financial data information,
Figure DEST_PATH_IMAGE082A
Represents the index coefficient of the process of updating the optimization algorithm of the blockchain data information,
Figure DEST_PATH_IMAGE084AA
Represents the changing state of the block storing financial data information over time,
Figure DEST_PATH_IMAGE086A
Represents the blockchain financial data information interaction function in a non-equilibrium state;
有效率差函数为:The effective rate difference function is:
Figure DEST_PATH_IMAGE088A
(5)
Figure DEST_PATH_IMAGE088A
(5)
式(5)中,
Figure DEST_PATH_IMAGE090A
表示区块链金融交易有效数据更新差值,
Figure DEST_PATH_IMAGE092A
表示均衡状态下的区块链金融数据信息交互有效率,
Figure DEST_PATH_IMAGE094A
表示未达均衡状态的区块链金融数据信息交互有效率,
Figure DEST_PATH_IMAGE096A
表示区块链网络中整个区块允许的最大数据更新量。
In formula (5),
Figure DEST_PATH_IMAGE090A
Represents the difference between valid data updates of blockchain financial transactions,
Figure DEST_PATH_IMAGE092A
Indicates that the blockchain financial data information exchange efficiency in a balanced state,
Figure DEST_PATH_IMAGE094A
Indicates that the exchange of financial data and information on the blockchain that has not reached an equilibrium state is efficient,
Figure DEST_PATH_IMAGE096A
Represents the maximum amount of data updates allowed for the entire block in the blockchain network.
2.根据权利要求1所述的一种基于区块链技术的金融数据化信息分布式交易系统,其特征在于:所述加密模块为改进型Blowfish加密算法模块,所述改进型Blowfish加密算法模块包含加密单元、区块链节点和解密单元,其中所述加密单元的输出端与区块链节点的输入端连接,所述区块链节点的输出端和解密单元的输入端连接。2. a kind of financial data-based information distributed transaction system based on blockchain technology according to claim 1, is characterized in that: described encryption module is improved Blowfish encryption algorithm module, described improved Blowfish encryption algorithm module It includes an encryption unit, a blockchain node and a decryption unit, wherein the output end of the encryption unit is connected to the input end of the blockchain node, and the output end of the blockchain node is connected to the input end of the decryption unit. 3.根据权利要求2所述的一种基于区块链技术的金融数据化信息分布式交易系统,其特征在于:所述加密单元中设置有预警函数和清零函数,加密单元在加密过程中通过Blowfish加密算法对传递过程中的数据信息进行加密,加密后的数据信息遇到风险数据信息时,自动启动预警函数,提示传输过程中有风险出现,当预警级别达到设置的最高级时,自动启动清零函数,将传递过程中的高风险金融数据信息清零,并将清零前的金融数据信息原路返回。3. A financial data-based information distributed transaction system based on blockchain technology according to claim 2, wherein: the encryption unit is provided with an early warning function and a zero-clearing function, and the encryption unit is in the encryption process. The data information in the transmission process is encrypted by the Blowfish encryption algorithm. When the encrypted data information encounters the risk data information, the warning function is automatically activated, indicating that there is a risk in the transmission process. When the warning level reaches the highest level set, it will automatically Start the clearing function to clear the high-risk financial data information during the transmission process, and return the financial data information before the clearing. 4.根据权利要求2所述的一种基于区块链技术的金融数据化信息分布式交易系统,其特征在于:解密单元工作方法为:4. a kind of financial data-based information distributed transaction system based on blockchain technology according to claim 2, is characterized in that: decryption unit working method is: 使用MD5算法公钥对签名块进行解密,通过哈希函数摘要实现公文密文进行比较,如果来源相同,并且未发现漏洞,则视为文件完整,不需要重新发送,如果MD5算法公钥无法实现数据解密,再启动RSA解密算法对文件数据信息进行解密,然后输出Blowfish加密算法的密钥;最后再通过Blowfish加密算法的密钥对公文密文进行解密,则输出解密后的电子文件M。Use the MD5 algorithm public key to decrypt the signature block, and compare the official document ciphertext through the hash function digest. If the source is the same and no loopholes are found, the file is considered complete and does not need to be re-sent. If the MD5 algorithm public key cannot be implemented Data decryption, then start the RSA decryption algorithm to decrypt the file data information, and then output the key of the Blowfish encryption algorithm; finally, decrypt the ciphertext of the official document through the key of the Blowfish encryption algorithm, and output the decrypted electronic file M.
CN202210653426.1A 2022-06-10 2022-06-10 Financial data information distributed transaction system based on block chain technology Active CN114723567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210653426.1A CN114723567B (en) 2022-06-10 2022-06-10 Financial data information distributed transaction system based on block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210653426.1A CN114723567B (en) 2022-06-10 2022-06-10 Financial data information distributed transaction system based on block chain technology

Publications (2)

Publication Number Publication Date
CN114723567A CN114723567A (en) 2022-07-08
CN114723567B true CN114723567B (en) 2022-09-20

Family

ID=82232977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210653426.1A Active CN114723567B (en) 2022-06-10 2022-06-10 Financial data information distributed transaction system based on block chain technology

Country Status (1)

Country Link
CN (1) CN114723567B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996362B (en) * 2022-08-04 2023-03-21 河南云帆电子科技有限公司 Data processing and storing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459461A (en) * 2020-04-24 2020-07-28 上海积成能源科技有限公司 Energy use right verification and transaction system and method based on Internet of things and block chain technology
CN111654364A (en) * 2020-07-06 2020-09-11 重庆知翔科技有限公司 Method for realizing data safety communication by using block chain encryption technology
CN111770190A (en) * 2020-07-06 2020-10-13 夏正键 Block chain distributed real-time fire fighting monitoring alarm system based on 5G and Internet of things mode
CN112905965A (en) * 2021-02-01 2021-06-04 胡文旭 Financial big data processing system based on block chain
CN113672992A (en) * 2021-08-16 2021-11-19 成都民航空管科技发展有限公司 Multi-source heterogeneous data safety protection and fusion method and system for global air traffic control operation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991164A (en) * 2017-03-31 2017-07-28 北京京东金融科技控股有限公司 Method, device and electronic equipment that finance data is handled are used for based on block chain
CA3088610A1 (en) * 2018-01-17 2019-07-25 Geeq Corporation Blockchain methods, nodes, systems and products
SG11202107662TA (en) * 2019-01-18 2021-08-30 Uppsala Pte Ltd Apparatus and method for cybersecurity
US11880349B2 (en) * 2019-04-30 2024-01-23 Salesforce, Inc. System or method to query or search a metadata driven distributed ledger or blockchain
CN111163178B (en) * 2020-01-10 2021-03-30 中国地质大学(武汉) Game theory-based service deployment and task unloading method in edge computing
CN113987543A (en) * 2021-11-02 2022-01-28 北京中海闻达信息技术有限公司 An online data monitoring method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459461A (en) * 2020-04-24 2020-07-28 上海积成能源科技有限公司 Energy use right verification and transaction system and method based on Internet of things and block chain technology
CN111654364A (en) * 2020-07-06 2020-09-11 重庆知翔科技有限公司 Method for realizing data safety communication by using block chain encryption technology
CN111770190A (en) * 2020-07-06 2020-10-13 夏正键 Block chain distributed real-time fire fighting monitoring alarm system based on 5G and Internet of things mode
CN112905965A (en) * 2021-02-01 2021-06-04 胡文旭 Financial big data processing system based on block chain
CN113672992A (en) * 2021-08-16 2021-11-19 成都民航空管科技发展有限公司 Multi-source heterogeneous data safety protection and fusion method and system for global air traffic control operation

Also Published As

Publication number Publication date
CN114723567A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
JP7499852B2 (en) Random Node Selection for Permissioned Blockchains
CN111026788B (en) A multi-keyword ciphertext sorting and retrieval method based on homomorphic encryption in hybrid cloud
Daniel et al. LDAP: a lightweight deduplication and auditing protocol for secure data storage in cloud environment
US20210234683A1 (en) Performing map iterations in a blockchain-based system
US10609010B2 (en) System, methods and software application for sending secured messages on decentralized networks
US8769302B2 (en) Encrypting data and characterization data that describes valid contents of a column
CN118764496B (en) Terminal interactive data storage security management method and system for instant messaging
CN113157778B (en) Proxiable query method, system, device and medium for distributed data warehouse
WO2016168027A1 (en) Customized trusted computer for secure data processing and storage
CN115134087B (en) A client-side secure data deduplication method for decentralized cloud storage
CN115062323A (en) Multi-center federal learning method for enhancing privacy protection and computer equipment
CA3098649A1 (en) Performing map iterations in a blockchain-based system
US20240113729A1 (en) System and method for data compression with homomorphic encryption
CN114723567B (en) Financial data information distributed transaction system based on block chain technology
Kabir et al. A dynamic searchable encryption scheme for secure cloud server operation reserving multi-keyword ranked search
CN116933299A (en) Tax electric data safety fusion method, tax electric node, equipment and medium
US11494351B2 (en) Deduplication of encrypted data
Baligodugula et al. A comparative study of secure and efficient data duplication mechanisms for cloud-based iot applications
Swami et al. A new secure data retrieval system based on ECDH and hierarchical clustering with Pearson correlation
Xiong et al. Searchable Encryption Scheme for Large Data Sets in Cloud Storage Environment.
CN109412754B (en) Data storage, distribution and access method of coding cloud
Zhang et al. Multi-level caching and data verification based on ethereum blockchain
CN107329911B (en) Cache replacement method based on CP-ABE attribute access mechanism
Liu et al. HASG: Security and efficient frame for accessing cloud storage
CN112507357B (en) Multi-stage interface design method based on key generator

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20241219

Address after: Room 5014, 2nd Floor, Building 3, No.9 Derun South Road, Fangshan District, Beijing 102400

Patentee after: Beijing June Spring Information Technology Co.,Ltd.

Country or region after: China

Address before: 518102 U6, Junxiang U8 Intelligent Manufacturing Industrial Park, guxing community, Xixiang street, Bao'an District, Shenzhen, Guangdong Province Building 7 239

Patentee before: Shenzhen runjingyuan Information Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right