WO2021218345A1 - Blockchain-based data processing method and apparatus, and terminal and storage medium - Google Patents

Blockchain-based data processing method and apparatus, and terminal and storage medium Download PDF

Info

Publication number
WO2021218345A1
WO2021218345A1 PCT/CN2021/078230 CN2021078230W WO2021218345A1 WO 2021218345 A1 WO2021218345 A1 WO 2021218345A1 CN 2021078230 W CN2021078230 W CN 2021078230W WO 2021218345 A1 WO2021218345 A1 WO 2021218345A1
Authority
WO
WIPO (PCT)
Prior art keywords
data isolation
enterprise
blockchain
node
enterprise node
Prior art date
Application number
PCT/CN2021/078230
Other languages
French (fr)
Chinese (zh)
Inventor
张宝
谢丹力
王梦寒
朱斌
贾牧
褚镇飞
刘恩科
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021218345A1 publication Critical patent/WO2021218345A1/en

Links

Images

Classifications

    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication
    • 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/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • 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/02Banking, e.g. interest calculation or account maintenance
    • 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

Definitions

  • This application relates to the field of blockchain technology, and in particular to a data processing method, device, terminal, and storage medium based on blockchain.
  • trade financing refers to the use of structured short-term financing tools by banks in the process of commodity transactions, based on assets such as inventory, prepayments, and accounts receivable in commodity transactions (such as crude oil, metals, grains, etc.)
  • assets such as inventory, prepayments, and accounts receivable in commodity transactions (such as crude oil, metals, grains, etc.)
  • trade financing it can solve the problem of shortage of funds of enterprises, maintain the normal operation of the capital chain, and build an industrial ecology of mutually beneficial coexistence and sustainable development between banks and enterprises.
  • Blockchain networks have been increasingly used in trade finance and other financial fields due to their advantages such as distributed decentralization, no trust system, and non-tamperability.
  • the traditional blockchain-based trade finance system needs to synchronize the transaction asset data to each node of the blockchain network in order to achieve the consistency of the stored data of each node.
  • this method will vary with each other.
  • a large amount of storage space is occupied, which leads to a long time-consuming data synchronization of each node, thereby reducing the data processing efficiency of the blockchain and increasing the maintenance cost of the blockchain.
  • the first aspect of the embodiments of the present application provides a blockchain-based data processing method, and the blockchain-based data processing method includes:
  • the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
  • the second aspect of the embodiments of the present application also provides a blockchain-based data processing device, which is applied to a trade financing processing system, and the blockchain-based data processing device includes:
  • a block chain creation module is used to create an initial trade financing block chain between each enterprise and each bank, wherein the initial trade financing block chain includes enterprise nodes and bank nodes;
  • Request receiving module used to receive data isolation request
  • the data isolation module is used to call the corresponding data isolation rule according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade finance blockchain, wherein the data isolation rule includes a chain data isolation rule and a password Learn data isolation rules;
  • the store creation module is used to create an application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
  • the target asset screening module is used to call the risk control model on the bank node to screen the preset asset information in the application store to obtain target asset information;
  • the target asset sending module is used to send the target asset information to the bank node.
  • the third aspect of the embodiments of the present application further provides a terminal, the terminal includes a processor, and the processor is configured to execute computer-readable instructions stored in a memory to implement the following steps:
  • the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
  • the fourth aspect of the embodiments of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium includes a storage data area and a storage program area.
  • the storage data area stores data created according to the use of blockchain nodes, and stores
  • the program area stores computer-readable instructions, where the computer-readable instructions implement the following steps when executed by a processor:
  • the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
  • the embodiment of the application provides a blockchain-based data processing method, device, terminal, and storage medium.
  • the transaction asset data is synchronized to the relevant enterprise nodes in the blockchain
  • the method can reduce the data storage space of the initial trade finance blockchain network, improve the efficiency of data synchronization and data query of each node, and thereby improve the data processing efficiency of the blockchain; and this application passes the target trade finance blockchain
  • the newly-built unified application store in China provides trade financing between enterprises and banks, avoiding the situation that bank nodes need to access asset information of each enterprise node for trade financing, and can improve the efficiency of blockchain-based trade financing processing.
  • Fig. 1 is a flowchart of a blockchain-based data processing method provided by the first embodiment of the present application.
  • Fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • Fig. 3 is an exemplary functional block diagram of the terminal shown in Fig. 2.
  • Fig. 1 is a flowchart of a blockchain-based data processing method provided by the first embodiment of the present application.
  • the block chain-based data processing method is applied to a trade financing processing system, and the trade financing processing system is a consortium chain including enterprises and banks.
  • the blockchain-based data processing method includes the following steps:
  • the number of said enterprises and banks may be one or multiple.
  • each enterprise and each bank are deployed as a blockchain node, which are called enterprise nodes and bank nodes, respectively, and cross-platform data sharing is realized between the enterprise nodes and bank nodes.
  • Each enterprise or bank connects its own system to the interface of the blockchain platform through access and transformation, and realizes the online trade financing process.
  • the step of creating an initial trade financing blockchain between each enterprise and each bank includes: deploying each enterprise and each bank as a blockchain node, and forming the blockchain nodes into an initial trade financing blockchain; Based on the identity verification of the company and the bank, the access interface of the initial trade financing blockchain is allocated to the company and the bank, so that the company and the bank perform data access based on the access interface.
  • the consistency of the stored data of each node can be realized, and the stored data can be synchronized to each node of the blockchain network.
  • the transaction assets of the enterprise are stored in the initial trade financing blockchain, and the transaction assets of the enterprise include information such as the amount of the transaction asset, the balance of the transaction asset, and the direction of the transaction.
  • the method further includes: encrypting and storing the transaction assets; when receiving a data query request from other participants in the blockchain, acquiring the participation in the data query request Party account information; obtain the preset authority corresponding to the data query request based on the participant account information, and transmit the corresponding plaintext transaction asset to the participant based on the preset authority.
  • the preset authority is preset, and is used to query the authority of plaintext transaction assets.
  • a data isolation request is received.
  • the data isolation request refers to a request for data isolation of a designated enterprise in the initial trade finance blockchain, and the data isolation request carries a designated The information and data isolation rules of the enterprise, wherein the data isolation rules include split-chain data isolation rules and cryptographic data isolation rules.
  • the number of data isolation requests received at one time may be multiple, that is, the number of corresponding designated enterprises that need to perform data isolation is multiple.
  • a method for data isolation of the initial trade finance blockchain to obtain a target trade finance blockchain includes a number of sub-chains and preset public sub-chains.
  • the same sub-chain contains business-related enterprise nodes, and transaction assets are only synchronized to each enterprise node on the sub-chain.
  • the preset public branch chain includes a number of enterprise nodes that are isolated using cryptographic data isolation rules, and transaction assets are only synchronized to each enterprise node on the preset public branch chain.
  • the data isolation rules include split-chain data isolation rules and cryptographic data isolation rules.
  • the split-chain data isolation rule is used to achieve physical isolation between different enterprises
  • the cryptographic data isolation rule is used to achieve cryptographic isolation of data between different enterprises.
  • the step of invoking a corresponding data isolation rule according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade finance blockchain includes: when the data isolation rule When it is the data isolation rule for the chain, the data isolation request is parsed to obtain the first designated enterprise; the transaction relationship between the first designated enterprise is obtained; the branch chain is created based on the transaction relationship; The enterprise node corresponding to the first designated enterprise of the association relationship is on the same sub-chain.
  • the transaction association relationship can be determined according to the application scenario of the enterprise, and the enterprises with the same application scenario are marked as having the transaction association relationship. Illustratively, if there is an asset transaction between enterprise A and enterprise B, it is determined that enterprise A and enterprise B have a transactional relationship.
  • the data isolation rule when the data isolation rule is a split-chain data isolation rule, data isolation may be performed on the enterprise specified by the data isolation request based on a visual configuration tool.
  • the visual configuration tool is used to support the visualization and guided creation of branch chains, and the visual management and maintenance of branch chains.
  • the visual configuration tool includes a request parsing unit, a chain creation unit, and a chain result display unit.
  • the request parsing unit is used to analyze the data isolation request to obtain a first designated enterprise, and to obtain the transaction association relationship between the first designated enterprise;
  • the branch chain creation unit is used to analyze the request according to the request The transaction association relationship obtained by the unit analysis creates a branch chain, and the enterprise node corresponding to the first designated enterprise with the transaction association relationship is added to the same branch chain;
  • the branch chain result display unit is used to display the branch chain result.
  • the method further includes: receiving a transaction confirmation instruction; and according to the transaction confirmation instruction Retrieve the target enterprise node; obtain the current transaction assets of the target enterprise node and the target branch chain; transmit the current transaction assets to each enterprise node on the target branch chain.
  • the transaction confirmation instruction is output based on the verification result of the transaction relationship.
  • the trade financing processing system provided by this application supports two related transactions, hereinafter referred to as X transaction and Y transaction.
  • X transaction the status of this transaction can be set as "to be confirmed”; only after the execution of transaction Y of the related transaction of X transaction is completed, the status of X transaction will be updated to the "confirmed” status.
  • the transaction confirmation instruction is output through the enterprise node.
  • the step of invoking corresponding data isolation rules according to the data isolation request to perform data isolation on the enterprise node to obtain the target trade finance blockchain further includes: when the data isolation When the rule is a cryptographic data isolation rule, the data isolation request is parsed to obtain a second designated enterprise; a preset public branch is created; and the enterprise node corresponding to the second designated enterprise is added to the preset public branch.
  • the preset public chain refers to a public chain of enterprise nodes used to store data isolation rules as cryptographic data isolation rules. The number of the preset public branch chain may be one or multiple.
  • the number of enterprise nodes in the target trade finance blockchain may increase.
  • the number of new The enterprise node of the enterprise node executes the data isolation operation in time, and can update the target trade financing blockchain in time.
  • the method further includes: detecting whether there is a new enterprise node in the target trade financing blockchain; when the detection result is that there is a new enterprise node in the target trade financing blockchain, determining the new enterprise node The relationship between the node and the existing enterprise node on the target trade finance blockchain; determine whether the data isolation rule corresponding to the newly added enterprise node is a branch data isolation rule; when the result of the determination is the data corresponding to the newly added enterprise node
  • the isolation rule is a split-chain data isolation rule
  • the newly-added enterprise node is added to the corresponding split-chain according to the association relationship; when the result of the determination is that the data isolation rule corresponding to the newly-added enterprise node is a cryptographic data isolation rule, The newly added enterprise node is added to the preset public branch chain.
  • the step of detecting whether there are new enterprise nodes in the target trade financing blockchain includes: obtaining the number of enterprise nodes in the original target trade financing blockchain; detecting whether the number of enterprise nodes has increased; when the detection result is When the number of enterprise nodes increases, obtain the corresponding newly added enterprise nodes.
  • the step of determining the association relationship between the newly added enterprise node and the existing enterprise node on the target trade financing blockchain includes: obtaining the application scenario corresponding to the newly added enterprise node; in the target trade financing chain Obtaining the branch chain information corresponding to the application scenario; determine the enterprise node on the branch chain according to the branch chain information, and determine the association relationship between the newly added enterprise node and the enterprise node on the branch chain.
  • the new enterprise node is D
  • the data isolation rule corresponding to the newly added enterprise node is the data isolation rule for the chain
  • the chain is created separately for D-A and D-B.
  • the data isolation rule corresponding to the newly added enterprise node is a cryptographic data isolation rule
  • the newly added enterprise node D is added to the preset public branch chain.
  • a new application store is created, and the application store is a trading place on the target trade finance blockchain, and the enterprise pushes preset asset information Go to the application store to seek more financing from the bank, and the bank can obtain asset information of each enterprise through the application store.
  • the number of the application store can be one, or the corresponding number can be set according to the number of nodes in the blockchain.
  • the step of establishing a new application store and receiving preset asset information pushed by the enterprise node through the application store includes: constructing a common module based on each enterprise node of the target trade financing blockchain; In the public module, the preset asset information pushed by each enterprise node is received.
  • the risk control model on the bank node is called to screen the preset asset information in the application store to obtain target asset information.
  • the asset variables that the risk control model needs to consider include: total asset amount, asset maturity, estimated annual cash flow, financing interest rate, non-performing rate and other information.
  • Different bank nodes correspond to different risk control models, and different bank nodes store their own preset risk control models on the blockchain node.
  • the risk control model on the bank node can be called in real time or regularly
  • the risk control model is screened to obtain target asset information; it is also possible to use a pre-trained neural network model to input the preset asset information in the application store into the neural network model to obtain target asset information, which is not limited here.
  • the target asset information is sent to the bank node, and the bank node completes trade financing with the enterprise according to the target asset information.
  • the block chain-based data processing method provided by the embodiments of the present application can also be applied in the field of smart government affairs, thereby promoting the construction of smart cities.
  • This application creates an initial trade financing block chain between each enterprise and each bank, where the initial trade financing block chain includes enterprise nodes and bank nodes; receives a data isolation request; and calls the corresponding data isolation request according to the data isolation request.
  • the data isolation rule performs data isolation on the enterprise node to obtain a target trade finance block chain, wherein the data isolation rule includes a chain data isolation rule and a cryptographic data isolation rule; in the target trade finance block chain , Create a new application store, and receive the preset asset information pushed by the enterprise node through the application store; call the risk control model on the bank node to filter the preset asset information in the application store to obtain the target asset Information; sending the target asset information to the bank node, the economic indicators involved in this application are important indicators for macroeconomic analysis, and the analysis results provide an important reference/basis for macroeconomic research.
  • the data storage space of the initial trade financing blockchain network can be reduced, and each node can be improved Perform data synchronization and data query efficiency, thereby improving the data processing efficiency of the blockchain; adopt the method of combining data isolation and cryptographic data isolation, and for nodes that do not need to perform data isolation, use cryptographic methods
  • Data isolation can reduce the number of sub-chains in the blockchain and reduce the maintenance cost of the blockchain; by creating a unified application store in the target trade financing blockchain for trade financing between enterprises and banks, avoid Bank nodes need to access the asset information of each enterprise node for trade financing, which can improve the efficiency of blockchain-based trade financing processing.
  • FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • the terminal 1 includes a memory 10 in which the blockchain-based data processing device 100 is stored.
  • the terminal 1 may be an electronic device with functions of data processing, analysis, program execution, and display, such as a computer, a tablet computer, or a personal digital assistant.
  • the block chain-based data processing device 100 can create an initial trade financing block chain between each enterprise and each bank, where the initial trade financing block chain includes enterprise nodes and bank nodes; receiving data isolation requests; According to the data isolation request, the corresponding data isolation rule is invoked to isolate the data of the enterprise node to obtain the target trade finance blockchain, wherein the data isolation rule includes the data isolation rule of the chain and the cryptographic data isolation rule;
  • the target trade financing blockchain a new application store is created, and the preset asset information pushed by the enterprise node is received through the application store; Suppose asset information is screened to obtain target asset information; and the target asset information is sent to the bank node.
  • the data storage space of the initial trade financing blockchain network can be reduced, and each node can be improved Perform data synchronization and data query efficiency, thereby improving the data processing efficiency of the blockchain; adopt the method of combining data isolation and cryptographic data isolation, and for nodes that do not need to perform data isolation, use cryptographic methods
  • Data isolation can reduce the number of sub-chains in the blockchain and reduce the maintenance cost of the blockchain; by creating a unified application store in the target trade financing blockchain for trade financing between enterprises and banks, avoid Bank nodes need to access the asset information of each enterprise node for trade financing, which can improve the efficiency of blockchain-based trade financing processing.
  • the terminal 1 may further include a display screen 20 and a processor 30.
  • the memory 10 and the display screen 20 may be electrically connected to the processor 30 respectively.
  • the memory 10 may be different types of storage devices for storing various types of data.
  • it can be the memory or internal memory of the terminal 1, or a memory card that can be externally connected to the terminal 1, such as flash memory, SM card (Smart Media Card), SD card (Secure Digital Card, secure digital card) Wait.
  • the memory 10 may include non-volatile and volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card ( Flash Card), at least one magnetic disk storage device, flash memory device, or other storage device.
  • the memory 10 is used to store various types of data, for example, various types of applications (Applications) installed in the terminal 1, and data set and obtained by applying the above-mentioned blockchain-based data processing method.
  • the display screen 20 is installed in the terminal 1 for displaying information.
  • the processor 30 is configured to execute the blockchain-based data processing method and various software installed in the terminal 1, such as an operating system and application display software.
  • the processor 30 includes, but is not limited to, a processor (Central Processing Unit, CPU), a Micro Controller Unit (Micro Controller Unit, MCU) and other devices for interpreting computer instructions and processing data in computer software.
  • a processor Central Processing Unit, CPU
  • MCU Micro Controller Unit
  • the block chain-based data processing device 100 may include one or more modules, and the one or more modules are stored in the memory 10 of the terminal 1 and configured to be composed of one or more processors (this The implementation manner is executed by a processor 30) to complete the embodiment of the present application.
  • the blockchain-based data processing device 100 may include a blockchain creation module 101, a request receiving module 102, a data isolation module 103, a store creation module 104, a target asset screening module 105, and a target asset sending module.
  • Module 106 The modules referred to in the embodiments of the present application may be computer-readable instruction segments that complete specific functions, and are more suitable for describing the execution process of software in the processor 30 than a program.
  • the blockchain-based data processing device 100 may include some or all of the functional modules shown in FIG. The functions will be described in detail below. It should be noted that the same nouns, related nouns, and specific explanations in the above implementations of the blockchain-based data processing method can also be applied to the following introduction to the functions of each module. To save space and avoid repetition, I won’t repeat them here.
  • the block chain creation module 101 can be used to create an initial trade financing block chain between each enterprise and each bank, where the initial trade financing block chain includes enterprise nodes and bank nodes.
  • the request receiving module 102 may be used to receive a data isolation request.
  • the data isolation module 103 may be configured to call the corresponding data isolation rule to isolate the enterprise node data according to the data isolation request to obtain the target trade finance blockchain, where the data isolation rule includes the chain data isolation rule and Cryptographic data isolation rules.
  • the store creation module 104 may be used to create an application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store.
  • the target asset screening module 105 may be used to call the risk control model on the bank node to filter preset asset information in the application store to obtain target asset information.
  • the target asset sending module 106 may be used to send the target asset information to the bank node.
  • the embodiments of the present application also provide a computer-readable storage medium on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor 30, the blockchain-based data processing in any of the above embodiments is implemented. Method steps.
  • the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store Data created by the use of nodes, etc.
  • the block chain-based data processing device 100/terminal1/terminal integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium .
  • this application implements all or part of the processes in the above-mentioned implementation methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor 30, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) ), random access memory, etc.
  • the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 10 and executed by the processor 30 to complete the present invention.
  • the one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal 1.
  • the computer program can be divided into a blockchain creation module 101, a request receiving module 102, a data isolation module 103, a store creation module 104, a target asset screening module 105, and a target asset sending module 106.
  • the so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
  • the processor 30 is the control center of the blockchain-based data processing device 100/terminal 1, using various interfaces Connect the entire block chain-based data processing device 100/each part of the terminal 1 with the line.
  • the memory 10 is used to store the computer program and/or module, and the processor 30 runs or executes the computer program and/or module stored in the memory 10 and calls the data stored in the memory 10,
  • the various functions of the blockchain-based data processing device 100/terminal 1 are realized.
  • the memory 10 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data and the like created in accordance with the use of the terminal 1 are stored.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Technology Law (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Provided are a blockchain-based data processing method and apparatus, and a terminal and a storage medium. The processing method comprises: creating an initial trade financing blockchain between an enterprise and a bank (S11); receiving a data isolation request (S12); calling a corresponding data isolation rule according to the data isolation request, and performing data isolation on an enterprise node so as to obtain a target trade financing blockchain (S13); newly creating an application store in the target trade financing blockchain, and receiving, by means of the application store, preset asset information pushed by the enterprise node (S14); calling a risk management model on a bank node to screen the preset asset information in the application store so as to obtain target asset information (S15); and sending the target asset information to the bank node (S16). By means of the present application, the data processing efficiency of a blockchain can be improved.

Description

基于区块链的数据处理方法、装置、终端及存储介质Block chain-based data processing method, device, terminal and storage medium
本申请要求于2020年04月29日提交中国专利局,申请号为202010354819.3发明名称为“基于区块链的数据处理方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on April 29, 2020. The application number is 202010354819.3. The title of the invention is "Blockchain-based data processing methods, devices, terminals, and storage media." Incorporated in this application by reference.
技术领域Technical field
本申请涉及区块链技术领域,尤其涉及一种基于区块链的数据处理方法、装置、终端及存储介质。This application relates to the field of blockchain technology, and in particular to a data processing method, device, terminal, and storage medium based on blockchain.
背景技术Background technique
在全球金融交易市场中贸易融资处理是指在商品交易过程中,银行运用结构性短期融资工具,基于商品交易(如原油、金属、谷物等)中的存货、预付款、应收账款等资产的融资,通过贸易融资能够解决企业的资金短缺问题,维持资金链的正常运转,构建银行和企业的互利共存、持续发展的产业生态。而区块链网络因具有分布式去中心化、无需信任系统和不可篡改等优点,已越来越多地应用在贸易融资等金融领域。In the global financial transaction market, trade financing refers to the use of structured short-term financing tools by banks in the process of commodity transactions, based on assets such as inventory, prepayments, and accounts receivable in commodity transactions (such as crude oil, metals, grains, etc.) Through trade financing, it can solve the problem of shortage of funds of enterprises, maintain the normal operation of the capital chain, and build an industrial ecology of mutually beneficial coexistence and sustainable development between banks and enterprises. Blockchain networks have been increasingly used in trade finance and other financial fields due to their advantages such as distributed decentralization, no trust system, and non-tamperability.
目前,传统的基于区块链的贸易融资系统为了实现各节点存储数据的一致性,需要将交易的资产数据同步到区块链网络的各个节点中,然而,发明人意识到这种方法会随着区块链应用的不断扩展而占用大量的存储空间,导致各节点数据同步耗时较长,从而降低了区块链的数据处理效率,同时增大了区块链的维护成本。At present, the traditional blockchain-based trade finance system needs to synchronize the transaction asset data to each node of the blockchain network in order to achieve the consistency of the stored data of each node. However, the inventor realizes that this method will vary with each other. With the continuous expansion of blockchain applications, a large amount of storage space is occupied, which leads to a long time-consuming data synchronization of each node, thereby reducing the data processing efficiency of the blockchain and increasing the maintenance cost of the blockchain.
因而,有必要提出一种基于区块链的数据处理方法,能够提高数据处理效率,降低区块链的维护成本。Therefore, it is necessary to propose a data processing method based on the blockchain, which can improve the efficiency of data processing and reduce the maintenance cost of the blockchain.
发明内容Summary of the invention
鉴于以上内容,有必要提出一种基于区块链的数据处理方法、基于区块链的数据处理装置、终端以及计算机可读存储介质,能够避免将交易的资产数据同步到区块链上所有节点而造成的数据存储空间占用过多的问题。In view of the above, it is necessary to propose a blockchain-based data processing method, a blockchain-based data processing device, a terminal, and a computer-readable storage medium, which can avoid synchronizing transaction asset data to all nodes on the blockchain This causes the problem of excessive data storage space usage.
本申请实施例第一方面提供一种基于区块链的数据处理方法,所述基于区块链的数据处理方法包括:The first aspect of the embodiments of the present application provides a blockchain-based data processing method, and the blockchain-based data processing method includes:
创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes;
接收数据隔离请求;Receive data isolation request;
根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;According to the data isolation request, the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;Call the risk control model on the bank node to filter the preset asset information in the application store to obtain target asset information;
发送所述目标资产信息至所述银行节点。Send the target asset information to the bank node.
本申请实施例第二方面还提供一种基于区块链的数据处理装置,应用于贸易融资处理系统中,所述基于区块链的数据处理装置包括:The second aspect of the embodiments of the present application also provides a blockchain-based data processing device, which is applied to a trade financing processing system, and the blockchain-based data processing device includes:
区块链创建模块,用于创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;A block chain creation module is used to create an initial trade financing block chain between each enterprise and each bank, wherein the initial trade financing block chain includes enterprise nodes and bank nodes;
请求接收模块,用于接收数据隔离请求;Request receiving module, used to receive data isolation request;
数据隔离模块,用于根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;The data isolation module is used to call the corresponding data isolation rule according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade finance blockchain, wherein the data isolation rule includes a chain data isolation rule and a password Learn data isolation rules;
商店新建模块,用于在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;The store creation module is used to create an application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
目标资产筛选模块,用于调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;The target asset screening module is used to call the risk control model on the bank node to screen the preset asset information in the application store to obtain target asset information;
目标资产发送模块,用于发送所述目标资产信息至所述银行节点。The target asset sending module is used to send the target asset information to the bank node.
本申请实施例第三方面还提供一种终端,所述终端包括处理器,所述处理器用于执行存储器中存储的计算机可读指令以实现以下步骤:The third aspect of the embodiments of the present application further provides a terminal, the terminal includes a processor, and the processor is configured to execute computer-readable instructions stored in a memory to implement the following steps:
创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes;
接收数据隔离请求;Receive data isolation request;
根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;According to the data isolation request, the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;Call the risk control model on the bank node to filter the preset asset information in the application store to obtain target asset information;
发送所述目标资产信息至所述银行节点。Send the target asset information to the bank node.
本申请实施例第四方面还提供一种计算机可读存储介质,所述计算机可读存储介质包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机可读指令,其中,所述计算机可读指令被处理器执行时实现以下步骤:The fourth aspect of the embodiments of the present application also provides a computer-readable storage medium. The computer-readable storage medium includes a storage data area and a storage program area. The storage data area stores data created according to the use of blockchain nodes, and stores The program area stores computer-readable instructions, where the computer-readable instructions implement the following steps when executed by a processor:
创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes;
接收数据隔离请求;Receive data isolation request;
根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;According to the data isolation request, the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;Call the risk control model on the bank node to filter the preset asset information in the application store to obtain target asset information;
发送所述目标资产信息至所述银行节点。Send the target asset information to the bank node.
本申请实施例提供的一种基于区块链的数据处理方法、装置、终端及存储介质,通过对区块链中的节点进行数据隔离,将交易的资产数据同步到区块链中相关企业节点的方式,能够降低初始贸易融资区块链网络的数据存储空间,提高各节点进行数据同步以及数据查询的效率,进而提高区块链的数据处理效率;且本申请通过在目标贸易融资区块链中新建统一的应用商店供企业与银行之间进行贸易融资,避免银行节点需要访问各个企业节点的资产信息进行贸易融资的情况,能够提高基于区块链的贸易融资处理效率。The embodiment of the application provides a blockchain-based data processing method, device, terminal, and storage medium. By isolating the nodes in the blockchain, the transaction asset data is synchronized to the relevant enterprise nodes in the blockchain The method can reduce the data storage space of the initial trade finance blockchain network, improve the efficiency of data synchronization and data query of each node, and thereby improve the data processing efficiency of the blockchain; and this application passes the target trade finance blockchain The newly-built unified application store in China provides trade financing between enterprises and banks, avoiding the situation that bank nodes need to access asset information of each enterprise node for trade financing, and can improve the efficiency of blockchain-based trade financing processing.
附图说明Description of the drawings
图1是本申请第一实施方式提供的基于区块链的数据处理方法的流程图。Fig. 1 is a flowchart of a blockchain-based data processing method provided by the first embodiment of the present application.
图2是本申请一实施方式的终端的结构示意图。Fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application.
图3是图2所示的终端的示例性的功能模块图。Fig. 3 is an exemplary functional block diagram of the terminal shown in Fig. 2.
如下具体实施方式将结合上述附图进一步说明本申请。The following specific embodiments will further illustrate this application in conjunction with the above-mentioned drawings.
具体实施方式Detailed ways
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to be able to understand the above objectives, features and advantages of the application more clearly, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the application and the features in the embodiments can be combined with each other if there is no conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本申请,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following description, many specific details are set forth in order to fully understand the present application, and the described embodiments are a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terms used in the specification of the application herein are only for the purpose of describing specific embodiments, and are not intended to limit the application.
图1是本申请第一实施方式提供的基于区块链的数据处理方法的流程图。所述基于区块链的数据处理方法应用于贸易融资处理系统中,所述贸易融资处理系统为包含了企业和银行的联盟链。如图1所示,所述基于区块链的数据处理方法包括如下步骤:Fig. 1 is a flowchart of a blockchain-based data processing method provided by the first embodiment of the present application. The block chain-based data processing method is applied to a trade financing processing system, and the trade financing processing system is a consortium chain including enterprises and banks. As shown in Figure 1, the blockchain-based data processing method includes the following steps:
S11、创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点。S11. Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes.
在本申请的至少一实施例中,所述企业与银行的个数可以为1个,也可以为多个。其中,将各个企业与各个银行均部署为一个区块链节点,分别称为企业节点与银行节点,所述企业节点与银行节点之间实现跨平台的数据共享。各个企业或银行通过接入改造将自身系统对接区块链平台的接口,实现贸易融资全流程线上化。In at least one embodiment of the present application, the number of said enterprises and banks may be one or multiple. Among them, each enterprise and each bank are deployed as a blockchain node, which are called enterprise nodes and bank nodes, respectively, and cross-platform data sharing is realized between the enterprise nodes and bank nodes. Each enterprise or bank connects its own system to the interface of the blockchain platform through access and transformation, and realizes the online trade financing process.
所述创建各个企业与各个银行之间的初始贸易融资区块链的步骤包括:将各个企业与各个银行部署为区块链节点,并将所述区块链节点组成初始贸易融资区块链;基于对企业与银行的身份验证,为所述企业和银行分配所述初始贸易融资区块链的访问接口,使得所述企业和银行基于所述访问接口进行数据访问。其中,所述初始贸易融资区块链中能够实现各节点存储数据的一致性,将保存的数据同步到区块链网络的各节点中。所述初始贸易融资区块链中存储有企业的交易资产,所述企业交易资产包括交易资产金额、交易资产余额以及交易方向等信息。The step of creating an initial trade financing blockchain between each enterprise and each bank includes: deploying each enterprise and each bank as a blockchain node, and forming the blockchain nodes into an initial trade financing blockchain; Based on the identity verification of the company and the bank, the access interface of the initial trade financing blockchain is allocated to the company and the bank, so that the company and the bank perform data access based on the access interface. Wherein, in the initial trade financing blockchain, the consistency of the stored data of each node can be realized, and the stored data can be synchronized to each node of the blockchain network. The transaction assets of the enterprise are stored in the initial trade financing blockchain, and the transaction assets of the enterprise include information such as the amount of the transaction asset, the balance of the transaction asset, and the direction of the transaction.
在本申请的一实施例中,所述方法还包括:对所述交易资产进行加密存储;当接收到区块链中其他参与方的数据查询请求时,获取所述数据查询请求中携带的参与方账户信息;基于所述参与方账户信息获取所述数据查询请求对应的预设权限,并基于所述预设权限将对应的明文交易资产传输给该参与方。其中,所述预设权限为预先设置的,用于查询明文交易资产的权限。与传统的区块链设计相比,本申请增加了交易私密性及数据隐私性。In an embodiment of the present application, the method further includes: encrypting and storing the transaction assets; when receiving a data query request from other participants in the blockchain, acquiring the participation in the data query request Party account information; obtain the preset authority corresponding to the data query request based on the participant account information, and transmit the corresponding plaintext transaction asset to the participant based on the preset authority. Wherein, the preset authority is preset, and is used to query the authority of plaintext transaction assets. Compared with the traditional blockchain design, this application increases transaction privacy and data privacy.
S12、接收数据隔离请求。S12. Receive a data isolation request.
在本申请的至少一实施例中,接收数据隔离请求,所述数据隔离请求是指用于对初始贸易融资区块链中的指定企业进行数据隔离的请求,所述数据隔离请求 中携带有指定企业的信息与数据隔离规则,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则。优选地,一次接收所述数据隔离请求的数量可以为多个,即对应的需要进行数据隔离的指定企业的数量为多个。In at least one embodiment of the present application, a data isolation request is received. The data isolation request refers to a request for data isolation of a designated enterprise in the initial trade finance blockchain, and the data isolation request carries a designated The information and data isolation rules of the enterprise, wherein the data isolation rules include split-chain data isolation rules and cryptographic data isolation rules. Preferably, the number of data isolation requests received at one time may be multiple, that is, the number of corresponding designated enterprises that need to perform data isolation is multiple.
S13、根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则。S13. Invoke the corresponding data isolation rule according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a chain data isolation rule and a cryptographic data isolation rule .
在本申请的至少一实施例中,随着所述初始贸易融资区块链应用的不断扩展(例如,引入更多参与方加入区块链,包括政府机构、物流平台、监管部门等),若将交易资产同步到区块链上的各个节点中,其势必造成区块链网络中保存的数据急剧上升,进而占用更多的存储空间,导致各节点数据同步耗时较长,降低了区块链的数据处理效率。In at least one embodiment of this application, as the initial trade finance blockchain application continues to expand (for example, more participants are introduced to join the blockchain, including government agencies, logistics platforms, regulatory agencies, etc.), if Synchronizing transaction assets to each node on the blockchain will inevitably cause the data stored in the blockchain network to rise sharply, which in turn will occupy more storage space, leading to longer data synchronization time for each node and reducing the block size. Data processing efficiency of the chain.
因而,在本申请的至少一实施例中,提供一种对所述初始贸易融资区块链进行数据隔离,得到目标贸易融资区块链的方法。所述目标贸易融资区块链上包含若干分链与预设公共分链。在若干分链中,同一个分链上包含存在业务关联的企业节点,将交易资产仅同步到该分链上的各个企业节点中。所述预设公共分链上包含若干采用密码学数据隔离规则进行隔离的企业节点,将交易资产仅同步到所述预设公共分链上的各个企业节点中。通过将交易资产同步到区块链中相关企业节点的方式,能够降低初始贸易融资区块链网络的数据存储空间,提高各节点进行数据同步以及数据查询的效率,进而提高区块链的数据处理效率。Therefore, in at least one embodiment of the present application, a method for data isolation of the initial trade finance blockchain to obtain a target trade finance blockchain is provided. The target trade financing blockchain includes a number of sub-chains and preset public sub-chains. In several sub-chains, the same sub-chain contains business-related enterprise nodes, and transaction assets are only synchronized to each enterprise node on the sub-chain. The preset public branch chain includes a number of enterprise nodes that are isolated using cryptographic data isolation rules, and transaction assets are only synchronized to each enterprise node on the preset public branch chain. By synchronizing transaction assets to related enterprise nodes in the blockchain, the data storage space of the initial trade financing blockchain network can be reduced, and the efficiency of data synchronization and data query by each node can be improved, thereby improving the data processing of the blockchain efficient.
具体地,在所述初始贸易融资区块链中,不同企业(或银行)对应不同的数据隔离规则,调用对应的数据隔离规则对企业(或银行)进行数据隔离。所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则。其中,所述分链数据隔离规则用以实现不同企业之间的物理隔离,所述密码学数据隔离规则用以实现不同企业之间数据的密码隔离。可以理解的是,当区块链中节点的数量较多时,若节点均采用分链数据隔离规则,则区块链中会产生较多的分链,极大地增加了区块链的维护成本。因而,本申请采用分链数据隔离规则与密码学数据隔离规则相结合的方式,对于不需要进行分链数据隔离的节点,通过密码学的方式进行数据隔离,能够减少区块链中分链的数量,降低区块链的维护成本。Specifically, in the initial trade financing blockchain, different companies (or banks) correspond to different data isolation rules, and the corresponding data isolation rules are invoked to isolate the companies (or banks). The data isolation rules include split-chain data isolation rules and cryptographic data isolation rules. Wherein, the split-chain data isolation rule is used to achieve physical isolation between different enterprises, and the cryptographic data isolation rule is used to achieve cryptographic isolation of data between different enterprises. It is understandable that when the number of nodes in the blockchain is large, if the nodes all adopt the data isolation rules of the chain, then more chains will be generated in the blockchain, which greatly increases the maintenance cost of the blockchain. Therefore, this application adopts the method of combining the split-chain data isolation rules with the cryptographic data isolation rules. For nodes that do not need to be split-chain data isolation, data isolation is performed by cryptographic methods, which can reduce the number of split-chains in the blockchain. Quantity, reduce the maintenance cost of the blockchain.
在本申请的至少一实施例中,所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链的步骤包括:当所述数据隔离规则为分链数据隔离规则时,解析所述数据隔离请求,得到第一指定企业;获取所述第一指定企业之间的交易关联关系;基于所述交易关联关系创建分链;添加具有所述交易关联关系的第一指定企业对应的企业节点至同一分链上。其中,可以根据企业的应用场景确定交易关联关系,将具有相同应用场景的 企业标记为具有交易关联关系。示例性地,企业A与企业B之间存在资产的交易,则确定企业A与企业B存在交易关联关系。In at least one embodiment of the present application, the step of invoking a corresponding data isolation rule according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade finance blockchain includes: when the data isolation rule When it is the data isolation rule for the chain, the data isolation request is parsed to obtain the first designated enterprise; the transaction relationship between the first designated enterprise is obtained; the branch chain is created based on the transaction relationship; The enterprise node corresponding to the first designated enterprise of the association relationship is on the same sub-chain. Among them, the transaction association relationship can be determined according to the application scenario of the enterprise, and the enterprises with the same application scenario are marked as having the transaction association relationship. Illustratively, if there is an asset transaction between enterprise A and enterprise B, it is determined that enterprise A and enterprise B have a transactional relationship.
具体地,当所述数据隔离规则为分链数据隔离规则时,可以基于可视化配置工具对所述数据隔离请求指定的企业进行数据隔离。其中,所述可视化配置工具用以支持分链的可视化、引导式创建,以及分链的可视化管理和维护。具体地,所述可视化配置工具包括请求解析单元、分链创建单元以及分链结果显示单元。其中,所述请求解析单元用于解析所述数据隔离请求,得到第一指定企业,并获取所述第一指定企业之间的交易关联关系;所述分链创建单元用于根据所述请求解析单元解析得到的交易关联关系创建分链,并添加具有所述交易关联关系的第一指定企业对应的企业节点至同一分链上;所述分链结果显示单元用于显示分链结果。Specifically, when the data isolation rule is a split-chain data isolation rule, data isolation may be performed on the enterprise specified by the data isolation request based on a visual configuration tool. Wherein, the visual configuration tool is used to support the visualization and guided creation of branch chains, and the visual management and maintenance of branch chains. Specifically, the visual configuration tool includes a request parsing unit, a chain creation unit, and a chain result display unit. Wherein, the request parsing unit is used to analyze the data isolation request to obtain a first designated enterprise, and to obtain the transaction association relationship between the first designated enterprise; the branch chain creation unit is used to analyze the request according to the request The transaction association relationship obtained by the unit analysis creates a branch chain, and the enterprise node corresponding to the first designated enterprise with the transaction association relationship is added to the same branch chain; the branch chain result display unit is used to display the branch chain result.
在本申请的至少一实施例中,对于同一分链上具有所述交易关联关系的第一指定企业对应的企业节点来说,所述方法还包括:接收交易确认指令;根据所述交易确认指令调取目标企业节点;获取所述目标企业节点的当前交易资产与目标分链;将所述当前交易资产传输至所述目标分链上各个企业节点。In at least one embodiment of the present application, for the enterprise node corresponding to the first designated enterprise having the transaction association relationship on the same branch chain, the method further includes: receiving a transaction confirmation instruction; and according to the transaction confirmation instruction Retrieve the target enterprise node; obtain the current transaction assets of the target enterprise node and the target branch chain; transmit the current transaction assets to each enterprise node on the target branch chain.
其中,所述交易确认指令是基于交易关系验证结果输出的。本申请提供的贸易融资处理系统支持具有关联关系的两笔交易,以下简称为X交易、Y交易。当X交易发生时,可以设定此交易状态为“待确认”状态;只有当X交易的关联交易Y交易执行完成后,X交易的状态才更新为“已确认”状态。在X交易的状态才更新为“已确认”状态后,通过所述企业节点输出交易确认指令。Wherein, the transaction confirmation instruction is output based on the verification result of the transaction relationship. The trade financing processing system provided by this application supports two related transactions, hereinafter referred to as X transaction and Y transaction. When transaction X occurs, the status of this transaction can be set as "to be confirmed"; only after the execution of transaction Y of the related transaction of X transaction is completed, the status of X transaction will be updated to the "confirmed" status. After the status of the X transaction is updated to the "confirmed" status, the transaction confirmation instruction is output through the enterprise node.
在本申请的至少一实施例中,所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链的步骤还包括:当所述数据隔离规则为密码学数据隔离规则时,解析所述数据隔离请求,得到第二指定企业;新建预设公共分链;添加所述第二指定企业对应的企业节点至所述预设公共分链中。其中,所述预设公共分链是指用于存储数据隔离规则为密码学数据隔离规则的企业节点的公共分链。所述预设公共分链的数量可以为一个,也可以为多个。In at least one embodiment of the present application, the step of invoking corresponding data isolation rules according to the data isolation request to perform data isolation on the enterprise node to obtain the target trade finance blockchain further includes: when the data isolation When the rule is a cryptographic data isolation rule, the data isolation request is parsed to obtain a second designated enterprise; a preset public branch is created; and the enterprise node corresponding to the second designated enterprise is added to the preset public branch. Wherein, the preset public chain refers to a public chain of enterprise nodes used to store data isolation rules as cryptographic data isolation rules. The number of the preset public branch chain may be one or multiple.
在本申请的至少一实施例中,所述目标贸易融资区块链中企业节点的数量可能会增加,通过对所述目标贸易融资区块链中的企业节点数量进行定期检测,并对新增的企业节点及时执行数据隔离操作,能够及时更新所述目标贸易融资区块链。In at least one embodiment of the present application, the number of enterprise nodes in the target trade finance blockchain may increase. By regularly testing the number of enterprise nodes in the target trade finance blockchain, the number of new The enterprise node of the enterprise node executes the data isolation operation in time, and can update the target trade financing blockchain in time.
具体地,所述方法还包括:检测所述目标贸易融资区块链中是否存在新增企业节点;当检测结果为所述目标贸易融资区块链中存在新增企业节点时,确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系;确定 新增企业节点对应的数据隔离规则是否为分链数据隔离规则;当确定结果为新增企业节点对应的数据隔离规则为分链数据隔离规则时,根据所述关联关系将所述新增企业节点添加至对应分链中;当确定结果为新增企业节点对应的数据隔离规则为密码学数据隔离规则时,将所述新增企业节点添加至预设公共分链中。Specifically, the method further includes: detecting whether there is a new enterprise node in the target trade financing blockchain; when the detection result is that there is a new enterprise node in the target trade financing blockchain, determining the new enterprise node The relationship between the node and the existing enterprise node on the target trade finance blockchain; determine whether the data isolation rule corresponding to the newly added enterprise node is a branch data isolation rule; when the result of the determination is the data corresponding to the newly added enterprise node When the isolation rule is a split-chain data isolation rule, the newly-added enterprise node is added to the corresponding split-chain according to the association relationship; when the result of the determination is that the data isolation rule corresponding to the newly-added enterprise node is a cryptographic data isolation rule, The newly added enterprise node is added to the preset public branch chain.
其中,所述检测所述目标贸易融资区块链中是否存在新增企业节点的步骤包括:获取原有目标贸易融资区块链中的企业节点数量;检测企业节点数量是否增加;当检测结果为企业节点数量增加时,获取对应新增的企业节点。Wherein, the step of detecting whether there are new enterprise nodes in the target trade financing blockchain includes: obtaining the number of enterprise nodes in the original target trade financing blockchain; detecting whether the number of enterprise nodes has increased; when the detection result is When the number of enterprise nodes increases, obtain the corresponding newly added enterprise nodes.
所述确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系的步骤包括:获取所述新增企业节点对应的应用场景;在所述目标贸易融资链中获取与所述应用场景对应的分链信息;根据所述分链信息确定分链上的企业节点,并确定所述新增企业节点与分链上企业节点之间的关联关系。The step of determining the association relationship between the newly added enterprise node and the existing enterprise node on the target trade financing blockchain includes: obtaining the application scenario corresponding to the newly added enterprise node; in the target trade financing chain Obtaining the branch chain information corresponding to the application scenario; determine the enterprise node on the branch chain according to the branch chain information, and determine the association relationship between the newly added enterprise node and the enterprise node on the branch chain.
示例性地,假设目标贸易融资区块链上包含A、B及C三个企业节点,新增企业节点为D,且确定新增企业节点D与企业节点A、B之间存在关联关系,与企业节点C之间不存在关联关系。当确定结果为所述新增企业节点对应的数据隔离规则为分链数据隔离规则时,针对D-A、D-B分别创建分链。当确定结果为新增企业节点对应的数据隔离规则为密码学数据隔离规则时,将新增企业节点D添加至预设公共分链中。Illustratively, suppose that the target trade finance blockchain contains three enterprise nodes A, B and C, the new enterprise node is D, and it is determined that there is an association relationship between the new enterprise node D and enterprise nodes A and B, and There is no association relationship between enterprise nodes C. When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is the data isolation rule for the chain, the chain is created separately for D-A and D-B. When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is a cryptographic data isolation rule, the newly added enterprise node D is added to the preset public branch chain.
S14、在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息。S14. Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store.
在本申请的至少一实施例中,在所述目标贸易融资区块链中,新建应用商店,所述应用商店为所述目标贸易融资区块链上的交易场所,企业将预设资产信息推送至所述应用商店以寻求更多银行的融资,银行能够通过所述应用商店获取各个企业的资产信息。所述应用商店的数量可以为1个,也可以根据区块链中的节点数量设置对应数量。In at least one embodiment of the application, in the target trade finance blockchain, a new application store is created, and the application store is a trading place on the target trade finance blockchain, and the enterprise pushes preset asset information Go to the application store to seek more financing from the bank, and the bank can obtain asset information of each enterprise through the application store. The number of the application store can be one, or the corresponding number can be set according to the number of nodes in the blockchain.
具体地,所述新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息的步骤包括:基于所述目标贸易融资区块链的各个企业节点构建公共模块;在所述公共模块中,接收各个企业节点推送的预设资产信息。Specifically, the step of establishing a new application store and receiving preset asset information pushed by the enterprise node through the application store includes: constructing a common module based on each enterprise node of the target trade financing blockchain; In the public module, the preset asset information pushed by each enterprise node is received.
可以理解的是,企业将需要寻求更多银行融资的资产存储至应用商店中,银行通过查看应用商店中的资产确定融资对象。通过在所述目标贸易融资区块链中新建统一的应用商店供企业与银行之间进行贸易融资,避免银行节点需要访问各个企业节点的资产信息进行贸易融资的情况,能够提高基于区块链的贸易融资处理效率。It is understandable that companies store assets that need to seek more bank financing in the app store, and the bank determines the financing target by looking at the assets in the app store. By creating a unified application store in the target trade financing blockchain for trade financing between enterprises and banks, it avoids the situation that bank nodes need to access asset information of each enterprise node for trade financing, and can improve blockchain-based The efficiency of trade finance processing.
S15、调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息。S15. Invoke the risk control model on the bank node to screen the preset asset information in the application store to obtain target asset information.
在本申请的至少一实施例中,调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息。其中,所述风控模型需要考虑的资产变量包括:资产总金额、资产期限、预计每年现金流、融资利率以及不良率等信息。不同银行节点对应的风控模型不同,不同银行节点将各自预先设置的风控模型存储至区块链节点上。In at least one embodiment of the present application, the risk control model on the bank node is called to screen the preset asset information in the application store to obtain target asset information. Among them, the asset variables that the risk control model needs to consider include: total asset amount, asset maturity, estimated annual cash flow, financing interest rate, non-performing rate and other information. Different bank nodes correspond to different risk control models, and different bank nodes store their own preset risk control models on the blockchain node.
具体地,调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选的方式有很多,例如,可以使实时或定时对所述应用商店中的预设资产信息按照风控模型进行筛选,得到目标资产信息;还可以是采用预先训练好的神经网络模型,将所述应用商店中预设资产信息输入至神经网络模型中,得到目标资产信息,在此不作限制。Specifically, there are many ways to call the risk control model on the bank node to filter the preset asset information in the application store. For example, the preset asset information in the application store can be checked in real time or regularly The risk control model is screened to obtain target asset information; it is also possible to use a pre-trained neural network model to input the preset asset information in the application store into the neural network model to obtain target asset information, which is not limited here.
S16、发送所述目标资产信息至所述银行节点。S16. Send the target asset information to the bank node.
在本申请的至少一实施例中,发送所述目标资产信息至所述银行节点,由所述银行节点根据所述目标资产信息完成与企业之间的贸易融资。In at least one embodiment of the present application, the target asset information is sent to the bank node, and the bank node completes trade financing with the enterprise according to the target asset information.
本申请实施例提供的一种基于区块链的数据处理方法,还可应用于智慧政务领域中,从而推动智慧城市的建设。本申请通过创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;接收数据隔离请求;根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;发送所述目标资产信息至所述银行节点,本申请涉及的经济指标是宏观经济分析的重要指标,其分析结果为宏观经济的研究提供了重要参考/依据。The block chain-based data processing method provided by the embodiments of the present application can also be applied in the field of smart government affairs, thereby promoting the construction of smart cities. This application creates an initial trade financing block chain between each enterprise and each bank, where the initial trade financing block chain includes enterprise nodes and bank nodes; receives a data isolation request; and calls the corresponding data isolation request according to the data isolation request. The data isolation rule performs data isolation on the enterprise node to obtain a target trade finance block chain, wherein the data isolation rule includes a chain data isolation rule and a cryptographic data isolation rule; in the target trade finance block chain , Create a new application store, and receive the preset asset information pushed by the enterprise node through the application store; call the risk control model on the bank node to filter the preset asset information in the application store to obtain the target asset Information; sending the target asset information to the bank node, the economic indicators involved in this application are important indicators for macroeconomic analysis, and the analysis results provide an important reference/basis for macroeconomic research.
利用本申请,通过对区块链中的节点进行数据隔离,将交易的资产数据同步到区块链中相关企业节点的方式,能够降低初始贸易融资区块链网络的数据存储空间,提高各节点进行数据同步以及数据查询的效率,进而提高区块链的数据处理效率;采用分链数据隔离与密码学数据隔离相结合的方式,对于不需要进行分链数据隔离的节点,通过密码学的方式进行数据隔离,能够减少区块链中分链的数量,降低区块链的维护成本;通过在所述目标贸易融资区块链中新建统一的应用商店供企业与银行之间进行贸易融资,避免银行节点需要访问各个企业节点的资产信息进行贸易融资的情况,能够提高基于区块链的贸易融资处理效率。Using this application, by isolating the nodes in the blockchain and synchronizing the transaction asset data to the relevant enterprise nodes in the blockchain, the data storage space of the initial trade financing blockchain network can be reduced, and each node can be improved Perform data synchronization and data query efficiency, thereby improving the data processing efficiency of the blockchain; adopt the method of combining data isolation and cryptographic data isolation, and for nodes that do not need to perform data isolation, use cryptographic methods Data isolation can reduce the number of sub-chains in the blockchain and reduce the maintenance cost of the blockchain; by creating a unified application store in the target trade financing blockchain for trade financing between enterprises and banks, avoid Bank nodes need to access the asset information of each enterprise node for trade financing, which can improve the efficiency of blockchain-based trade financing processing.
以上是对本申请实施例所提供的方法进行的详细描述。根据不同的需求,所示流程图中方块的执行顺序可以改变,某些方块可以省略。下面对本申请实施例所提供的终端1进行描述。The above is a detailed description of the method provided by the embodiment of the present application. According to different requirements, the execution order of the blocks in the flowchart shown can be changed, and some blocks can be omitted. The terminal 1 provided in the embodiment of the present application will be described below.
图2是本申请一实施方式的终端的结构示意图,如图2所示,终端1包括存储器10,存储器10中存储有所述基于区块链的数据处理装置100。所述终端1可以是计算机、平板电脑、个人数字助理等具有数据处理、分析、程序执行及显示等功能的电子设备。所述基于区块链的数据处理装置100可以创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;接收数据隔离请求;根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;发送所述目标资产信息至所述银行节点。利用本申请,通过对区块链中的节点进行数据隔离,将交易的资产数据同步到区块链中相关企业节点的方式,能够降低初始贸易融资区块链网络的数据存储空间,提高各节点进行数据同步以及数据查询的效率,进而提高区块链的数据处理效率;采用分链数据隔离与密码学数据隔离相结合的方式,对于不需要进行分链数据隔离的节点,通过密码学的方式进行数据隔离,能够减少区块链中分链的数量,降低区块链的维护成本;通过在所述目标贸易融资区块链中新建统一的应用商店供企业与银行之间进行贸易融资,避免银行节点需要访问各个企业节点的资产信息进行贸易融资的情况,能够提高基于区块链的贸易融资处理效率。FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in FIG. 2, the terminal 1 includes a memory 10 in which the blockchain-based data processing device 100 is stored. The terminal 1 may be an electronic device with functions of data processing, analysis, program execution, and display, such as a computer, a tablet computer, or a personal digital assistant. The block chain-based data processing device 100 can create an initial trade financing block chain between each enterprise and each bank, where the initial trade financing block chain includes enterprise nodes and bank nodes; receiving data isolation requests; According to the data isolation request, the corresponding data isolation rule is invoked to isolate the data of the enterprise node to obtain the target trade finance blockchain, wherein the data isolation rule includes the data isolation rule of the chain and the cryptographic data isolation rule; In the target trade financing blockchain, a new application store is created, and the preset asset information pushed by the enterprise node is received through the application store; Suppose asset information is screened to obtain target asset information; and the target asset information is sent to the bank node. Using this application, by isolating the nodes in the blockchain and synchronizing the transaction asset data to the relevant enterprise nodes in the blockchain, the data storage space of the initial trade financing blockchain network can be reduced, and each node can be improved Perform data synchronization and data query efficiency, thereby improving the data processing efficiency of the blockchain; adopt the method of combining data isolation and cryptographic data isolation, and for nodes that do not need to perform data isolation, use cryptographic methods Data isolation can reduce the number of sub-chains in the blockchain and reduce the maintenance cost of the blockchain; by creating a unified application store in the target trade financing blockchain for trade financing between enterprises and banks, avoid Bank nodes need to access the asset information of each enterprise node for trade financing, which can improve the efficiency of blockchain-based trade financing processing.
本实施方式中,终端1还可以包括显示屏20及处理器30。存储器10、显示屏20可以分别与处理器30电连接。In this embodiment, the terminal 1 may further include a display screen 20 and a processor 30. The memory 10 and the display screen 20 may be electrically connected to the processor 30 respectively.
所述的存储器10可以是不同类型存储设备,用于存储各类数据。例如,可以是终端1的存储器、内存,还可以是可外接于该终端1的存储卡,如闪存、SM卡(Smart Media Card,智能媒体卡)、SD卡(Secure Digital Card,安全数字卡)等。此外,存储器10可以包括非易失性和易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他存储器件。存储器10用于存储各类数据,例如,所述终端1中安装的各类应用程序(Applications)、应用上述基于区块链的数据处理方法而设置、获取的数据等信息。The memory 10 may be different types of storage devices for storing various types of data. For example, it can be the memory or internal memory of the terminal 1, or a memory card that can be externally connected to the terminal 1, such as flash memory, SM card (Smart Media Card), SD card (Secure Digital Card, secure digital card) Wait. In addition, the memory 10 may include non-volatile and volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card ( Flash Card), at least one magnetic disk storage device, flash memory device, or other storage device. The memory 10 is used to store various types of data, for example, various types of applications (Applications) installed in the terminal 1, and data set and obtained by applying the above-mentioned blockchain-based data processing method.
显示屏20安装于终端1,用于显示信息。The display screen 20 is installed in the terminal 1 for displaying information.
处理器30用于执行所述基于区块链的数据处理方法以及所述终端1内安装的各类软件,例如操作系统及应用显示软件等。处理器30包含但不限于处理器(Central Processing Unit,CPU)、微控制单元(Micro Controller Unit,MCU) 等用于解释计算机指令以及处理计算机软件中的数据的装置。The processor 30 is configured to execute the blockchain-based data processing method and various software installed in the terminal 1, such as an operating system and application display software. The processor 30 includes, but is not limited to, a processor (Central Processing Unit, CPU), a Micro Controller Unit (Micro Controller Unit, MCU) and other devices for interpreting computer instructions and processing data in computer software.
所述的基于区块链的数据处理装置100可以包括一个或多个的模块,所述一个或多个模块被存储在终端1的存储器10中并被配置成由一个或多个处理器(本实施方式为一个处理器30)执行,以完成本申请实施例。参阅图3所示,所述基于区块链的数据处理装置100可以包括区块链创建模块101、请求接收模块102、数据隔离模块103、商店新建模块104、目标资产筛选模块105以及目标资产发送模块106。本申请实施例所称的模块可以是完成特定功能的计算机可读指令段,比程序更适合于描述软件在处理器30中的执行过程。The block chain-based data processing device 100 may include one or more modules, and the one or more modules are stored in the memory 10 of the terminal 1 and configured to be composed of one or more processors (this The implementation manner is executed by a processor 30) to complete the embodiment of the present application. 3, the blockchain-based data processing device 100 may include a blockchain creation module 101, a request receiving module 102, a data isolation module 103, a store creation module 104, a target asset screening module 105, and a target asset sending module. Module 106. The modules referred to in the embodiments of the present application may be computer-readable instruction segments that complete specific functions, and are more suitable for describing the execution process of software in the processor 30 than a program.
可以理解的是,对应上述基于区块链的数据处理方法中的各实施方式,基于区块链的数据处理装置100可以包括图3中所示的各功能模块中的一部分或全部,各模块的功能将在以下具体介绍。需要说明的是,以上基于区块链的数据处理方法的各实施方式中相同的名词、相关名词及其具体的解释说明也可以适用于以下对各模块的功能介绍。为节省篇幅及避免重复起见,在此就不再赘述。It is understandable that, corresponding to the various implementations in the above-mentioned blockchain-based data processing method, the blockchain-based data processing device 100 may include some or all of the functional modules shown in FIG. The functions will be described in detail below. It should be noted that the same nouns, related nouns, and specific explanations in the above implementations of the blockchain-based data processing method can also be applied to the following introduction to the functions of each module. To save space and avoid repetition, I won’t repeat them here.
区块链创建模块101可以用于创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点。The block chain creation module 101 can be used to create an initial trade financing block chain between each enterprise and each bank, where the initial trade financing block chain includes enterprise nodes and bank nodes.
请求接收模块102可以用于接收数据隔离请求。The request receiving module 102 may be used to receive a data isolation request.
数据隔离模块103可以用于根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则。The data isolation module 103 may be configured to call the corresponding data isolation rule to isolate the enterprise node data according to the data isolation request to obtain the target trade finance blockchain, where the data isolation rule includes the chain data isolation rule and Cryptographic data isolation rules.
商店新建模块104可以用于在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息。The store creation module 104 may be used to create an application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store.
目标资产筛选模块105可以用于调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息。The target asset screening module 105 may be used to call the risk control model on the bank node to filter preset asset information in the application store to obtain target asset information.
目标资产发送模块106可以用于发送所述目标资产信息至所述银行节点。The target asset sending module 106 may be used to send the target asset information to the bank node.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被处理器30执行时实现上述任一实施方式中的基于区块链的数据处理方法的步骤。The embodiments of the present application also provide a computer-readable storage medium on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor 30, the blockchain-based data processing in any of the above embodiments is implemented. Method steps.
进一步地,所述计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program required by at least one function, etc.; the storage data area may store Data created by the use of nodes, etc.
所述基于区块链的数据处理装置100/终端1/终端集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施方式方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程 序可存储于一计算机可读存储介质中,该计算机程序在被处理器30执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器等。If the block chain-based data processing device 100/terminal1/terminal integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium . Based on this understanding, this application implements all or part of the processes in the above-mentioned implementation methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor 30, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) ), random access memory, etc.
示例性的,所述计算机程序可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器10中,并由所述处理器30执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机程序在所述终端1中的执行过程。例如,所述计算机程序可以被分割成区块链创建模块101、请求接收模块102、数据隔离模块103、商店新建模块104、目标资产筛选模块105以及目标资产发送模块106。Exemplarily, the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 10 and executed by the processor 30 to complete the present invention. Application. The one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal 1. For example, the computer program can be divided into a blockchain creation module 101, a request receiving module 102, a data isolation module 103, a store creation module 104, a target asset screening module 105, and a target asset sending module 106.
所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器30是所述基于区块链的数据处理装置100/终端1的控制中心,利用各种接口和线路连接整个基于区块链的数据处理装置100/终端1的各个部分。The so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor 30 is the control center of the blockchain-based data processing device 100/terminal 1, using various interfaces Connect the entire block chain-based data processing device 100/each part of the terminal 1 with the line.
所述存储器10用于存储所述计算机程序和/或模块,所述处理器30通过运行或执行存储在所述存储器10内的计算机程序和/或模块,以及调用存储在存储器10内的数据,实现所述基于区块链的数据处理装置100/终端1的各种功能。所述存储器10可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端1的使用所创建的数据等。The memory 10 is used to store the computer program and/or module, and the processor 30 runs or executes the computer program and/or module stored in the memory 10 and calls the data stored in the memory 10, The various functions of the blockchain-based data processing device 100/terminal 1 are realized. The memory 10 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may Data and the like created in accordance with the use of the terminal 1 are stored.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
在本申请所提供的几个具体实施方式中,应该理解到,所揭露的终端和方法,可以通过其它的方式实现。例如,以上所描述的系统实施方式仅仅是示意性的, 例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several specific implementation manners provided in this application, it should be understood that the disclosed terminal and method may be implemented in other ways. For example, the system implementation described above is only illustrative. For example, the division of the modules is only a logical function division, and there may be other division modes in actual implementation.
对于本领域技术人员而言,显然本申请实施例不限于上述示范性实施例的细节,而且在不背离本申请实施例的精神或基本特征的情况下,能够以其他的具体形式实现本申请实施例。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请实施例的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请实施例内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。本申请中陈述的多个单元、模块或装置也可以由同一个单元、模块或装置通过软件或者硬件来实现。For those skilled in the art, it is obvious that the embodiments of the present application are not limited to the details of the above exemplary embodiments, and can be implemented in other specific forms without departing from the spirit or basic characteristics of the embodiments of the present application. example. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the embodiments of the present application is defined by the appended claims rather than the above description, and therefore it is intended to fall on All changes within the meaning and scope of equivalent elements of the claims are included in the embodiments of the present application. Any reference signs in the claims should not be regarded as limiting the claims involved. Multiple units, modules or devices stated in this application may also be implemented by the same unit, module or device through software or hardware.
以上实施方式仅用以说明本申请实施例的技术方案而非限制,尽管参照以上较佳实施方式对本申请实施例进行了详细说明,本领域的普通技术人员应当理解,可以对本申请实施例的技术方案进行修改或等同替换都不应脱离本申请实施例的技术方案的精神和范围。The above implementation manners are only used to illustrate the technical solutions of the embodiments of the present application and not to limit them. Although the embodiments of the present application are described in detail with reference to the above preferred implementation manners, those of ordinary skill in the art should understand that the technical solutions of the embodiments of the present application can be compared. Modifications or equivalent replacements of the solutions should not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种基于区块链的数据处理方法,应用于贸易融资处理系统中,其中,所述基于区块链的数据处理方法包括:A block chain-based data processing method is applied to a trade financing processing system, wherein the block chain-based data processing method includes:
    创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes;
    接收数据隔离请求;Receive data isolation request;
    根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;According to the data isolation request, the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
    在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
    调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;Call the risk control model on the bank node to filter the preset asset information in the application store to obtain target asset information;
    发送所述目标资产信息至所述银行节点。Send the target asset information to the bank node.
  2. 根据权利要求1所述的基于区块链的数据处理方法,其中,所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链的步骤包括:The block chain-based data processing method according to claim 1, wherein the step of invoking corresponding data isolation rules according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade financing block chain include:
    当所述数据隔离规则为分链数据隔离规则时,解析所述数据隔离请求,得到第一指定企业;When the data isolation rule is a split-chain data isolation rule, parse the data isolation request to obtain the first designated enterprise;
    获取所述第一指定企业之间的交易关联关系;Acquiring the transaction association relationship between the first designated enterprise;
    基于所述交易关联关系创建分链;Create a branch chain based on the transaction association relationship;
    添加具有所述交易关联关系的第一指定企业对应的企业节点至同一分链上。Add the enterprise node corresponding to the first designated enterprise with the transaction association relationship to the same branch chain.
  3. 根据权利要求2所述的基于区块链的数据处理方法,其中,所述方法还包括:The blockchain-based data processing method according to claim 2, wherein the method further comprises:
    接收交易确认指令;Receive transaction confirmation instructions;
    根据所述交易确认指令调取目标企业节点;Call the target enterprise node according to the transaction confirmation instruction;
    获取所述目标企业节点的当前交易资产与目标分链;Acquiring the current transaction assets and target chain of the target enterprise node;
    将所述当前交易资产传输至所述目标分链上各个企业节点。The current transaction assets are transmitted to each enterprise node on the target branch chain.
  4. 根据权利要求1所述的基于区块链的数据处理方法,其中,所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链的步骤还包括:The block chain-based data processing method according to claim 1, wherein the step of invoking corresponding data isolation rules according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade financing block chain Also includes:
    当所述数据隔离规则为密码学数据隔离规则时,解析所述数据隔离请求,得到第二指定企业;When the data isolation rule is a cryptographic data isolation rule, parse the data isolation request to obtain a second designated enterprise;
    新建预设公共分链;Create a new default public branch chain;
    添加所述第二指定企业对应的企业节点至所述预设公共分链中。Add the enterprise node corresponding to the second designated enterprise to the preset public branch chain.
  5. 根据权利要求1所述的基于区块链的数据处理方法,其中,所述方法还包括:The blockchain-based data processing method according to claim 1, wherein the method further comprises:
    检测所述目标贸易融资区块链中是否存在新增企业节点;Detecting whether there is a new enterprise node in the target trade financing blockchain;
    当检测结果为所述目标贸易融资区块链中存在新增企业节点时,确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系;When the detection result is that there is a new enterprise node in the target trade finance blockchain, determine the association relationship between the new enterprise node and the existing enterprise node on the target trade finance blockchain;
    确定新增企业节点对应的数据隔离规则是否为分链数据隔离规则;Determine whether the data isolation rule corresponding to the new enterprise node is the data isolation rule of the branch chain;
    当确定结果为新增企业节点对应的数据隔离规则为分链数据隔离规则时,根据所述关联关系将所述新增企业节点添加至对应分链中;When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is the data isolation rule of the branch chain, the newly added enterprise node is added to the corresponding branch chain according to the association relationship;
    当确定结果为新增企业节点对应的数据隔离规则为密码学数据隔离规则时,将所述新增企业节点添加至预设公共分链中。When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is a cryptographic data isolation rule, the newly added enterprise node is added to the preset public branch chain.
  6. 根据权利要求5所述的基于区块链的数据处理方法,其中,所述确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系的步骤包括:The block chain-based data processing method according to claim 5, wherein the step of determining the association relationship between the newly added enterprise node and the existing enterprise node on the target trade financing blockchain comprises:
    获取所述新增企业节点对应的应用场景;Acquiring the application scenario corresponding to the newly added enterprise node;
    在所述目标贸易融资链中获取与所述应用场景对应的分链信息;Obtaining chain-link information corresponding to the application scenario in the target trade financing chain;
    根据所述分链信息确定分链上的企业节点,并确定所述新增企业节点与分链上企业节点之间的关联关系。Determine the enterprise node on the branch chain according to the branch chain information, and determine the association relationship between the newly added enterprise node and the enterprise node on the branch chain.
  7. 根据权利要求1所述的基于区块链的数据处理方法,其中,所述新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息的步骤包括:The block chain-based data processing method according to claim 1, wherein the step of establishing a new application store and receiving preset asset information pushed by the enterprise node through the application store comprises:
    基于所述目标贸易融资区块链的各个企业节点构建公共模块;Construct a public module based on each enterprise node of the target trade finance blockchain;
    在所述公共模块中,接收各个企业节点推送的预设资产信息。In the public module, preset asset information pushed by each enterprise node is received.
  8. 一种基于区块链的数据处理装置,应用于贸易融资处理系统中,其中,所述基于区块链的数据处理装置包括:A block chain-based data processing device is applied to a trade financing processing system, wherein the block chain-based data processing device includes:
    区块链创建模块,用于创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;A block chain creation module is used to create an initial trade financing block chain between each enterprise and each bank, wherein the initial trade financing block chain includes enterprise nodes and bank nodes;
    请求接收模块,用于接收数据隔离请求;Request receiving module, used to receive data isolation request;
    数据隔离模块,用于根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;The data isolation module is used to call the corresponding data isolation rule according to the data isolation request to perform data isolation on the enterprise node to obtain a target trade finance blockchain, wherein the data isolation rule includes a chain data isolation rule and a password Learn data isolation rules;
    商店新建模块,用于在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;The store creation module is used to create an application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
    目标资产筛选模块,用于调用所述银行节点上的风控模型对所述应用商店中 的预设资产信息进行筛选,得到目标资产信息;The target asset screening module is used to call the risk control model on the bank node to screen the preset asset information in the application store to obtain target asset information;
    目标资产发送模块,用于发送所述目标资产信息至所述银行节点。The target asset sending module is used to send the target asset information to the bank node.
  9. 一种终端,其中,所述终端包括处理器,所述处理器用于执行存储器中存储的计算机可读指令以实现以下步骤:A terminal, wherein the terminal includes a processor configured to execute computer-readable instructions stored in a memory to implement the following steps:
    创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes;
    接收数据隔离请求;Receive data isolation request;
    根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;According to the data isolation request, the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
    在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
    调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;Call the risk control model on the bank node to filter the preset asset information in the application store to obtain target asset information;
    发送所述目标资产信息至所述银行节点。Send the target asset information to the bank node.
  10. 根据权利要求9所述的终端,其中,所述处理器执行所述计算机可读指令以实现所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链时,包括:The terminal according to claim 9, wherein the processor executes the computer-readable instructions to implement the data isolation of the enterprise node by invoking the corresponding data isolation rule according to the data isolation request to obtain the target trade When financing the blockchain, include:
    当所述数据隔离规则为分链数据隔离规则时,解析所述数据隔离请求,得到第一指定企业;When the data isolation rule is a split-chain data isolation rule, parse the data isolation request to obtain the first designated enterprise;
    获取所述第一指定企业之间的交易关联关系;Acquiring the transaction association relationship between the first designated enterprise;
    基于所述交易关联关系创建分链;Create a branch chain based on the transaction association relationship;
    添加具有所述交易关联关系的第一指定企业对应的企业节点至同一分链上。Add the enterprise node corresponding to the first designated enterprise with the transaction association relationship to the same branch chain.
  11. 根据权利要求10所述的终端,其中,所述处理器执行所述计算机可读指令还用以实现以下步骤:The terminal according to claim 10, wherein the execution of the computer-readable instructions by the processor is further used to implement the following steps:
    接收交易确认指令;Receive transaction confirmation instructions;
    根据所述交易确认指令调取目标企业节点;Call the target enterprise node according to the transaction confirmation instruction;
    获取所述目标企业节点的当前交易资产与目标分链;Acquiring the current transaction assets and target chain of the target enterprise node;
    将所述当前交易资产传输至所述目标分链上各个企业节点。The current transaction assets are transmitted to each enterprise node on the target branch chain.
  12. 根据权利要求9所述的终端,其中,所述处理器执行所述计算机可读指令以实现所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链时,包括:The terminal according to claim 9, wherein the processor executes the computer-readable instructions to implement the data isolation of the enterprise node by invoking the corresponding data isolation rule according to the data isolation request to obtain the target trade When financing the blockchain, include:
    当所述数据隔离规则为密码学数据隔离规则时,解析所述数据隔离请求,得到第二指定企业;When the data isolation rule is a cryptographic data isolation rule, parse the data isolation request to obtain a second designated enterprise;
    新建预设公共分链;Create a new default public branch chain;
    添加所述第二指定企业对应的企业节点至所述预设公共分链中。Add the enterprise node corresponding to the second designated enterprise to the preset public branch chain.
  13. 根据权利要求9所述的终端,其中,所述处理器执行所述计算机可读指令还用以实现以下步骤:The terminal according to claim 9, wherein the execution of the computer-readable instructions by the processor is further used to implement the following steps:
    检测所述目标贸易融资区块链中是否存在新增企业节点;Detecting whether there is a new enterprise node in the target trade financing blockchain;
    当检测结果为所述目标贸易融资区块链中存在新增企业节点时,确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系;When the detection result is that there is a new enterprise node in the target trade finance blockchain, determine the association relationship between the new enterprise node and the existing enterprise node on the target trade finance blockchain;
    确定新增企业节点对应的数据隔离规则是否为分链数据隔离规则;Determine whether the data isolation rule corresponding to the new enterprise node is the data isolation rule of the branch chain;
    当确定结果为新增企业节点对应的数据隔离规则为分链数据隔离规则时,根据所述关联关系将所述新增企业节点添加至对应分链中;When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is the data isolation rule of the branch chain, the newly added enterprise node is added to the corresponding branch chain according to the association relationship;
    当确定结果为新增企业节点对应的数据隔离规则为密码学数据隔离规则时,将所述新增企业节点添加至预设公共分链中。When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is a cryptographic data isolation rule, the newly added enterprise node is added to the preset public branch chain.
  14. 根据权利要求13所述的终端,其中,所述处理器执行所述计算机可读指令以实现所述确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系时,包括:The terminal according to claim 13, wherein the processor executes the computer-readable instructions to implement the determination of the association relationship between the newly added enterprise node and the existing enterprise node on the target trade financing blockchain When, including:
    获取所述新增企业节点对应的应用场景;Acquiring the application scenario corresponding to the newly added enterprise node;
    在所述目标贸易融资链中获取与所述应用场景对应的分链信息;Obtaining chain-link information corresponding to the application scenario in the target trade financing chain;
    根据所述分链信息确定分链上的企业节点,并确定所述新增企业节点与分链上企业节点之间的关联关系。Determine the enterprise node on the branch chain according to the branch chain information, and determine the association relationship between the newly added enterprise node and the enterprise node on the branch chain.
  15. 根据权利要求9所述的终端,其中,所述处理器执行所述计算机可读指令以实现所述新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息时,包括:The terminal according to claim 9, wherein, when the processor executes the computer-readable instructions to implement the new application store, and receives preset asset information pushed by the enterprise node through the application store, it includes :
    基于所述目标贸易融资区块链的各个企业节点构建公共模块;Construct a public module based on each enterprise node of the target trade finance blockchain;
    在所述公共模块中,接收各个企业节点推送的预设资产信息。In the public module, preset asset information pushed by each enterprise node is received.
  16. 一种计算机可读存储介质,所述计算机可读存储介质包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机可读指令,其中,所述计算机可读指令被处理器执行时实现以下步骤:A computer-readable storage medium, the computer-readable storage medium includes a storage data area and a storage program area, the storage data area stores data created according to the use of a blockchain node, and the storage program area stores computer readable instructions, Wherein, when the computer-readable instruction is executed by the processor, the following steps are implemented:
    创建各个企业与各个银行之间的初始贸易融资区块链,其中,所述初始贸易融资区块链包含企业节点与银行节点;Create an initial trade financing blockchain between each enterprise and each bank, where the initial trade financing blockchain includes enterprise nodes and bank nodes;
    接收数据隔离请求;Receive data isolation request;
    根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链,其中,所述数据隔离规则包括分链数据隔离规则与密码学数据隔离规则;According to the data isolation request, the corresponding data isolation rule is invoked to perform data isolation on the enterprise node to obtain a target trade finance blockchain, where the data isolation rule includes a split-chain data isolation rule and a cryptographic data isolation rule;
    在所述目标贸易融资区块链中,新建应用商店,并通过所述应用商店接收所述企业节点推送的预设资产信息;Create a new application store in the target trade financing blockchain, and receive preset asset information pushed by the enterprise node through the application store;
    调用所述银行节点上的风控模型对所述应用商店中的预设资产信息进行筛选,得到目标资产信息;Call the risk control model on the bank node to filter the preset asset information in the application store to obtain target asset information;
    发送所述目标资产信息至所述银行节点。Send the target asset information to the bank node.
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述计算机可读指令被处理器执行以实现所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链时,包括:The computer-readable storage medium according to claim 16, wherein the computer-readable instructions are executed by a processor to implement the data isolation of the enterprise node by invoking a corresponding data isolation rule according to the data isolation request, When getting the target trade finance blockchain, include:
    当所述数据隔离规则为分链数据隔离规则时,解析所述数据隔离请求,得到第一指定企业;When the data isolation rule is a split-chain data isolation rule, parse the data isolation request to obtain the first designated enterprise;
    获取所述第一指定企业之间的交易关联关系;Acquiring the transaction association relationship between the first designated enterprise;
    基于所述交易关联关系创建分链;Create a branch chain based on the transaction association relationship;
    添加具有所述交易关联关系的第一指定企业对应的企业节点至同一分链上。Add the enterprise node corresponding to the first designated enterprise with the transaction association relationship to the same branch chain.
  18. 根据权利要求17所述的计算机可读存储介质,其中,所述计算机可读指令被处理器执行时还用以实现以下步骤:The computer-readable storage medium according to claim 17, wherein the computer-readable instructions are further used to implement the following steps when executed by the processor:
    接收交易确认指令;Receive transaction confirmation instructions;
    根据所述交易确认指令调取目标企业节点;Call the target enterprise node according to the transaction confirmation instruction;
    获取所述目标企业节点的当前交易资产与目标分链;Acquiring the current transaction assets and target chain of the target enterprise node;
    将所述当前交易资产传输至所述目标分链上各个企业节点。The current transaction assets are transmitted to each enterprise node on the target branch chain.
  19. 根据权利要求16所述的计算机可读存储介质,其中,所述计算机可读指令被处理器执行以实现所述根据所述数据隔离请求调用对应的数据隔离规则对所述企业节点进行数据隔离,得到目标贸易融资区块链时,包括:The computer-readable storage medium according to claim 16, wherein the computer-readable instructions are executed by a processor to implement the data isolation of the enterprise node by invoking a corresponding data isolation rule according to the data isolation request, When getting the target trade finance blockchain, include:
    当所述数据隔离规则为密码学数据隔离规则时,解析所述数据隔离请求,得到第二指定企业;When the data isolation rule is a cryptographic data isolation rule, parse the data isolation request to obtain a second designated enterprise;
    新建预设公共分链;Create a new default public branch chain;
    添加所述第二指定企业对应的企业节点至所述预设公共分链中。Add the enterprise node corresponding to the second designated enterprise to the preset public branch chain.
  20. 根据权利要求16所述的计算机可读存储介质,其中,所述计算机可读指令被处理器执行时还用以实现以下步骤:The computer-readable storage medium according to claim 16, wherein the computer-readable instructions are further used to implement the following steps when executed by the processor:
    检测所述目标贸易融资区块链中是否存在新增企业节点;Detecting whether there is a new enterprise node in the target trade financing blockchain;
    当检测结果为所述目标贸易融资区块链中存在新增企业节点时,确定新增企业节点与所述目标贸易融资区块链上已存在企业节点之间的关联关系;When the detection result is that there is a new enterprise node in the target trade finance blockchain, determine the association relationship between the new enterprise node and the existing enterprise node on the target trade finance blockchain;
    确定新增企业节点对应的数据隔离规则是否为分链数据隔离规则;Determine whether the data isolation rule corresponding to the new enterprise node is the data isolation rule of the branch chain;
    当确定结果为新增企业节点对应的数据隔离规则为分链数据隔离规则时,根据所述关联关系将所述新增企业节点添加至对应分链中;When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is the data isolation rule of the branch chain, the newly added enterprise node is added to the corresponding branch chain according to the association relationship;
    当确定结果为新增企业节点对应的数据隔离规则为密码学数据隔离规则时,将所述新增企业节点添加至预设公共分链中。When the result of the determination is that the data isolation rule corresponding to the newly added enterprise node is a cryptographic data isolation rule, the newly added enterprise node is added to the preset public branch chain.
PCT/CN2021/078230 2020-04-29 2021-02-26 Blockchain-based data processing method and apparatus, and terminal and storage medium WO2021218345A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010354819.3A CN111639123A (en) 2020-04-29 2020-04-29 Data processing method and device based on block chain, terminal and storage medium
CN202010354819.3 2020-04-29

Publications (1)

Publication Number Publication Date
WO2021218345A1 true WO2021218345A1 (en) 2021-11-04

Family

ID=72331006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078230 WO2021218345A1 (en) 2020-04-29 2021-02-26 Blockchain-based data processing method and apparatus, and terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111639123A (en)
WO (1) WO2021218345A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114493866A (en) * 2022-01-08 2022-05-13 北京北控在线科技股份公司 Block chain based digital asset registration, authorization and transaction management method and system
CN116361860A (en) * 2022-12-27 2023-06-30 深圳市网新新思软件有限公司 Information storage and verification method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639123A (en) * 2020-04-29 2020-09-08 深圳壹账通智能科技有限公司 Data processing method and device based on block chain, terminal and storage medium
CN112330318A (en) * 2020-11-12 2021-02-05 深圳市爱云信息科技有限公司 Digital traceable intelligent supply chain financial platform of block chain BaaS supply chain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045518A (en) * 2016-10-18 2017-08-15 北京天德科技有限公司 A kind of extension design method of block chain
CN107147735A (en) * 2017-05-12 2017-09-08 北京博晨技术有限公司 A kind of distributed account book system based on hierarchy
CN107220896A (en) * 2017-04-23 2017-09-29 杭州复杂美科技有限公司 A kind of financing by accounts receivable based on block chain technology
CN108280646A (en) * 2018-01-19 2018-07-13 中国科学院软件研究所 Block chain group chain method based on alliance's chain and block catenary system
CN108446969A (en) * 2018-03-29 2018-08-24 张文昌 A kind of unified public transport book keeping operation and transaction system based on block chain
CN108600262A (en) * 2018-05-09 2018-09-28 合肥达朴汇联科技有限公司 A kind of includes the device of the block chain node as recipient
CN109087190A (en) * 2018-06-08 2018-12-25 阿里巴巴集团控股有限公司 A kind of financing loan method and apparatus
CN111639123A (en) * 2020-04-29 2020-09-08 深圳壹账通智能科技有限公司 Data processing method and device based on block chain, terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107045518A (en) * 2016-10-18 2017-08-15 北京天德科技有限公司 A kind of extension design method of block chain
CN107220896A (en) * 2017-04-23 2017-09-29 杭州复杂美科技有限公司 A kind of financing by accounts receivable based on block chain technology
CN107147735A (en) * 2017-05-12 2017-09-08 北京博晨技术有限公司 A kind of distributed account book system based on hierarchy
CN108280646A (en) * 2018-01-19 2018-07-13 中国科学院软件研究所 Block chain group chain method based on alliance's chain and block catenary system
CN108446969A (en) * 2018-03-29 2018-08-24 张文昌 A kind of unified public transport book keeping operation and transaction system based on block chain
CN108600262A (en) * 2018-05-09 2018-09-28 合肥达朴汇联科技有限公司 A kind of includes the device of the block chain node as recipient
CN109087190A (en) * 2018-06-08 2018-12-25 阿里巴巴集团控股有限公司 A kind of financing loan method and apparatus
CN111639123A (en) * 2020-04-29 2020-09-08 深圳壹账通智能科技有限公司 Data processing method and device based on block chain, terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114493866A (en) * 2022-01-08 2022-05-13 北京北控在线科技股份公司 Block chain based digital asset registration, authorization and transaction management method and system
CN116361860A (en) * 2022-12-27 2023-06-30 深圳市网新新思软件有限公司 Information storage and verification method, device, equipment and storage medium
CN116361860B (en) * 2022-12-27 2024-02-09 深圳市网新新思软件有限公司 Information storage and verification method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111639123A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
WO2021218345A1 (en) Blockchain-based data processing method and apparatus, and terminal and storage medium
US11182851B2 (en) Inter-ledger messaging in a blockchain
CN109791591B (en) Method and system for identity and credential protection and verification via blockchain
US11003646B2 (en) Data isolation in a blockchain network
CN109325854B (en) Block chain network, deployment method and storage medium
KR102121159B1 (en) Event-driven blockchain workflow processing
US20180183600A1 (en) Method and system for providing validated, auditable, and immutable inputs to a smart contract
US20200327545A1 (en) Performing parallel execution of transactions in a distributed ledger system
US20200328898A1 (en) Performing parallel execution of transactions in a distributed ledger system
CN111431903B (en) Cross-link relay method, device and computer readable storage medium
CN112765268B (en) Data privacy protection method, device and equipment based on block chain
US20200167770A1 (en) Blockchain implementation across multiple organizations
WO2020248883A1 (en) Debt collection method, system and apparatus
US10713677B2 (en) Method and system for social savings platform via blockchain
US11410162B2 (en) Anonymous distributed consensus regarding the verification of protocols
Garcia Bringas et al. BlockChain platforms in financial services: current perspective
CN111598693B (en) Block chain-based account management method, system and device
CN113010443A (en) Database test data generation method and device based on financial core transaction scene
JP2023103346A (en) Method and system for distribution of consistent ledger across multiple blockchains
WO2023045532A1 (en) Blockchain-based transaction processing
CN107277108B (en) Method, device and system for processing messages at nodes of block chain
Creer et al. Proving Ethereum for the clearing use case
CN109697596A (en) A kind of method and device constructing E-Government
US10771242B2 (en) Blockchain-based data processing
Liu FSM Modeling of Off-Blockchain Computation

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: 21796260

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21796260

Country of ref document: EP

Kind code of ref document: A1