Business data processing method, related system and node based on blockchain

By receiving and processing metadata requests from business nodes on the blockchain, using smart contracts to realize data standardization and metadata management, the security and efficiency of business data management in the existing technology are solved, and the security of data governance is improved. and reliability.

CN113034281BActive Publication Date: 2024-12-27INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110279278.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-16
Publication Date
2024-12-27
Estimated Expiration
2041-03-16

AI Technical Summary

Technical Problem

The existing technology has problems such as poor security in business data management, difficulty in building unified data standards and inefficient metadata management, especially in complex scenarios across systems, cross-applications, and cross-platforms, which lead to challenges in data governance.

Method used

Using a blockchain-based business data processing method, the validity of the metadata is determined by receiving the metadata processing requests of the target business nodes, based on preset identification setting rules, and triggering smart contracts to carry out chain operations to realize data standardization and metadata. Collaborative governance of data management.

Benefits of technology

It improves the security of business data processing, the reliability and efficiency of data standardization and metadata management, saves manpower and time costs, improves the operation reliability and stability of the total business system, and improves the user experience of data governance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113034281B_ABST
    Figure CN113034281B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a business data processing method based on blockchain, a related system and a node, which can be used in the field of blockchain technology. The method includes: receiving a metadata processing request sent by a target business node in the same blockchain as itself; determining whether the metadata identification is valid based on a preset identification setting rule, and if so, triggering a preset smart contract and sending the metadata identification and the execution instruction corresponding to the operation type to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the metadata, and the smart contract is generated in advance based on the preset business data standard. The present application can effectively improve the security of business data processing, data processing standardization and the reliability, efficiency and effectiveness of business metadata management, and thus can achieve collaborative governance of data security, data standardization and metadata management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, in particular to the field of blockchain technology, and specifically to a business data processing method, related systems and nodes based on blockchain. Background Art

[0002] The large capacity, fast processing and diversity of big data in the business data processing of enterprises have brought challenges to enterprises in data standard construction, information sharing, data synchronization and other aspects, and they are paying more and more attention to data management and system construction. In the process of business data processing, metadata management, data standards and data security have always been difficult problems in business data governance.

[0003] The current business data processing process usually uses a centralized approach to achieve its development, approval, rejection, archiving and storage. Due to the decentralization and manual nature of the existing metadata management process, the process of recommending the same data standard for metadata processing becomes complicated and time-consuming. In other words, due to the limitations of complex scenarios such as cross-system, cross-application, and cross-platform, the use of a centralized approach to business data management has problems such as poor security, difficulty in building a unified data standard, and inefficient metadata management. Summary of the invention

[0004] In response to the problems in the prior art, the present application provides a blockchain-based business data processing method, related systems and nodes, which can effectively improve the security of business data processing, data processing standardization and the reliability, efficiency and effectiveness of business metadata management, thereby realizing collaborative governance of data security, data standardization and metadata management.

[0005] In order to solve the above technical problems, this application provides the following technical solutions:

[0006] In a first aspect, the present application provides a business data processing method based on blockchain, comprising:

[0007] Receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type;

[0008] Based on the preset identification setting rules, it is determined whether the identification of the metadata is valid. If so, the preset smart contract is triggered and the execution instruction corresponding to the identification of the metadata and the operation type is sent to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the metadata, wherein the smart contract is pre-generated based on the preset business data standard, and the target business node and other business nodes belong to the same overall business system.

[0009] Furthermore, before receiving the metadata processing request sent by the target service node in the same blockchain as the service node itself, it also includes:

[0010] Receive the latest version of the business data standard file of the business system;

[0011] Create a smart contract according to the business data standard corresponding to the business data standard file;

[0012] The smart contract is stored in the blockchain.

[0013] Furthermore, it also includes:

[0014] Receive an external data access request sent by a target business node in the same blockchain as the target business node, wherein the external data processing request includes: a keyword of the external data of the target business node;

[0015] If the keyword of the external data meets the preset data security requirement rule, creating an identifier of the external data based on the identifier setting rule;

[0016] The smart contract is triggered and the execution instruction corresponding to the identifier of the external data and the access operation is sent to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the external data.

[0017] Furthermore, it also includes:

[0018] Receive a permission application request from a business node to which target private data belongs, wherein the permission application request includes an identifier of a target business node requesting access to the target private data;

[0019] The target business node is verified for identity according to the identifier of the target business node. If the target business node passes the identity verification, the smart contract is triggered to open access rights to the target private data to the target business node, and the corresponding permission opening data is sent to the target business node and other business nodes in the blockchain for recording respectively.

[0020] Furthermore, the operation types include adding operation, modifying operation and deleting operation.

[0021] In a second aspect, the present application provides a metadata management system, comprising:

[0022] A request receiving module, used to receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type;

[0023] The data processing module is used to determine whether the metadata identifier is valid based on a preset identifier setting rule. If so, a preset smart contract is triggered and the execution instruction corresponding to the metadata identifier and the operation type is sent to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system.

[0024] In a third aspect, the present application provides a service node, including:

[0025] A request sending module, used to send a metadata processing request to a metadata management system in the same blockchain as itself, wherein the metadata processing request includes: a local metadata identifier and an operation type; so that the metadata management system determines whether the metadata identifier is valid based on a preset identifier setting rule, and if so, triggers a preset smart contract and sends an execution instruction corresponding to the metadata identifier and the operation type to each business node in the blockchain, wherein the smart contract is generated in advance based on a preset business data standard, and each of the business nodes belongs to the same business system;

[0026] The uplink module is used to perform an uplink operation on the metadata according to the metadata identifier and the execution instruction corresponding to the operation type sent by the metadata management system.

[0027] In a fourth aspect, the present application provides a blockchain system, comprising: a metadata management system, and a plurality of business nodes;

[0028] Each of the business nodes and the metadata management system belongs to the same blockchain;

[0029] The metadata management system is used to implement the blockchain-based business data processing method.

[0030] In a fifth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the blockchain-based business data processing method when executing the program.

[0031] In a sixth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the blockchain-based business data processing method.

[0032] It can be seen from the above technical solution that the present application provides a blockchain-based business data processing method, related system and node, the method comprising: receiving a metadata processing request sent by a target business node in the same blockchain as itself, wherein the metadata processing request includes: an identifier and an operation type of the metadata local to the target business node; determining whether the identifier of the metadata is valid based on a preset identifier setting rule, and if so, triggering a preset smart contract and sending execution instructions corresponding to the identifier and operation type of the metadata to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform on-chain operations for the metadata, wherein the smart contract is generated in advance based on a preset business data standard, and the The target business nodes and other business nodes belong to the same business system. By processing business data in the blockchain, the security of business data processing can be effectively improved. By implementing the creation of smart contracts in the blockchain through business standards, the data standardization of business data processing can be effectively improved. By executing various operation requests of metadata of business nodes through blockchain, the reliability and effectiveness of business metadata management can be effectively improved, thereby realizing the coordinated governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the business system, saving manpower and time costs, and improving the operational reliability and stability of the business system, and effectively improving the user experience of technical personnel who perform data governance for the business system. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0034] Figure 1 This is a first flow chart of a blockchain-based business data processing method in an embodiment of the present application.

[0035] Figure 2 This is a second flow chart of the blockchain-based business data processing method in an embodiment of the present application.

[0036] Figure 3 This is a third flow chart of the blockchain-based business data processing method in the embodiment of the present application.

[0037] Figure 4 This is a fourth flow chart of the blockchain-based business data processing method in an embodiment of the present application.

[0038] Figure 5 It is a structural diagram of the metadata management system in an embodiment of the present application.

[0039] Figure 6 It is a schematic diagram of the structure of the service node in the embodiment of the present application.

[0040] Figure 7 It is a structural diagram of the blockchain system in an embodiment of the present application.

[0041] Figure 8 It is a logical diagram of the interaction between the metadata management system and the system party in the application example of this application.

[0042] Fig. 9 It is a structural diagram of the metadata management system in the application example of this application.

[0043] Fig.10 It is a structural diagram of the metadata management smart contract module in the application example of this application.

[0044] Fig.11 This is a schematic diagram of the execution flow of adding, modifying, and deleting metadata in the application example of this application.

[0045] Fig.12 It is a schematic diagram of the execution flow of external data access in the application example of this application.

[0046] Fig.13 It is a schematic diagram of the execution flow of the private data access application in the application example of this application.

[0047] Fig.14 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0049] It should be noted that the blockchain-based business data processing method, related systems and nodes disclosed in this application can be used in the field of blockchain technology, and can also be used in any field outside the field of blockchain technology. The application field of the blockchain-based business data processing method, related systems and nodes disclosed in this application is not limited.

[0050] In view of the problems of poor security, difficulty in building unified data standards and inefficient metadata management in the existing business data management methods, taking commercial banks and other financial institutions as an example, with the development of bank informatization, commercial banks and other financial institutions have formed a variety of business and management systems including core systems, data warehouses, risk management, customer relationship management, etc. In recent years, the emergence of data service concepts has gradually spawned core data systems such as data lakes and data middle platforms. The large capacity, fast processing and diversity brought by big data to bank data processing have made banks face challenges in data standard construction, information sharing, data synchronization, etc., and they are also paying more and more attention to data management and system construction.

[0051] The data governance of commercial banks involves metadata management, data standards, data models, data storage, data exchange, data lifecycle management, data quality and data security. Among them, metadata management, data standards and data security have always been difficult problems for banks to carry out data governance. At the same time, metadata management, data standards and other fields are organically combined. Through the governance of data standards, the legality and compliance of data can be improved, the data quality can be further improved, and data production problems can be reduced. On the basis of metadata management, data lifecycle management can be further carried out to effectively control the scale of online data, improve the efficiency of production data access and reduce system resource waste.

[0052] Currently, in the process of data governance, the formulation of data standards is mostly based on metadata management, and centralized methods are used to implement its development, approval, rejection, archiving and storage. The process of formulating data standards is relatively closed and monopolized, the maintenance workload is huge, and the construction cycle is long, lacking an effective multi-party participation mechanism. In commercial banks, traditional data governance is generally managed in a centralized manner due to the limitations of complex scenarios such as cross-system, cross-application, and cross-platform. For example, the Industrial and Commercial Bank of China manages data resources, software assets, and relationships through centralized management, and uses versions as the main line to modify the metadata and interfaces of various systems and applications. This centralized metadata and data quality management has the following problems:

[0053] 1) Data lifecycle management is difficult. Since bank data is generated quickly, a large number of data updates will lead to the rapid generation of outdated data and more likely to generate inconsistent data. The use of a centralized management strategy cannot guarantee the effective lifecycle management of all data.

[0054] 2) Data definition consistency is difficult to ensure. Because the overall business system of commercial banks is complex, any modification of the data structure requires the corresponding modification of the associated application system. In this process, due to the failure of the main modifier to register metadata in time or the failure of the cooperating modifier to modify in time, business activities are often interrupted due to inconsistent data structures, causing losses to the bank.

[0055] 3) It is difficult to ensure the timeliness of data updates. At present, the iteration of business scenario development is accelerating. In order to keep up with the continuous changes in business scenarios, commercial banks' application systems are mainly upgraded through periodic versions. The existing program detection methods and manual participation often lead to untimely updates, which not only poses a safety hazard to production operations, but also causes unnecessary waste of manpower and time costs.

[0056] 4) Data error detection is difficult. Due to the huge size of data, once the data is ambiguous, more errors may occur in the process of big data acquisition, storage, transmission and calculation. The use of traditional data manual error detection or simple program repair cannot handle data error problems in the big data environment.

[0057] 5) Data security risks exist. Currently, there is no strict isolation mechanism for data management between application systems of commercial banks. If the data is improperly managed or modified maliciously, the metadata records of various systems may be disordered, and once an error occurs, it is difficult to trace it.

[0058] 6) The uniqueness of commercial bank data. Compared with other industries, commercial banks have more business types, larger business volumes, and involve a wider range of industries, which in turn brings greater difficulties to data governance.

[0059] Based on this, the present application provides a business data processing method based on blockchain, by receiving a metadata processing request sent by a target business node in the same blockchain as itself, wherein the metadata processing request includes: an identifier and an operation type of the metadata local to the target business node; determining whether the identifier of the metadata is valid based on a preset identifier setting rule, and if so, triggering a preset smart contract and sending execution instructions corresponding to the identifier and operation type of the metadata to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform on-chain operations for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and Other business nodes all belong to the same business system. Processing business data in the blockchain can effectively improve the security of business data processing; realizing the creation of smart contracts in the blockchain through business standards can effectively improve the data standardization of business data processing; executing various operation requests of the metadata of business nodes through the blockchain can effectively improve the reliability and effectiveness of business metadata management, and thus realize the coordinated governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the business system, saving manpower and time costs, and improving the operational reliability and stability of the business system, and effectively improving the user experience of technical personnel who perform data governance for the business system.

[0060] Based on the above content, the present application also provides a metadata management system for implementing the blockchain-based business data processing method provided in one or more embodiments of the present application. The metadata management system can be communicated with the client devices corresponding to each business node to receive various types of operation requests for the blockchain, such as various blockchain-based business data processing requests sent by each client device, and receive metadata processing requests sent by a target business node in the same blockchain as itself, wherein the metadata processing request includes: an identifier and an operation type of the metadata local to the target business node; determining whether the identifier of the metadata is valid based on a preset identifier setting rule, and if so, triggering a preset smart contract and sending an execution instruction corresponding to the identifier and operation type of the metadata to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform on-chain operations for the metadata, wherein the smart contract is generated in advance based on a preset business data standard, and the target business node and other business nodes belong to the same business system.

[0061] It is understandable that the client device may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.

[0062] In another practical application scenario, the part of the aforementioned metadata management system that performs blockchain-based business data processing can be executed in a server such as the above content, or all operations can be completed in the client device. The specific selection can be based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor for specific processing of blockchain-based business data processing.

[0063] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.

[0064] The server and the client device may communicate with each other using any suitable network protocol, including network protocols that have not yet been developed on the date of filing this application. The network protocols may include, for example, TCP / IP, UDP / IP, HTTP, HTTPS, etc. Of course, the network protocols may also include, for example, RPC (Remote Procedure Call Protocol) and REST (Representational State Transfer) protocols used on top of the above protocols.

[0065] The details are described in detail through the following embodiments and application examples.

[0066] In order to achieve security, standardization and metadata management in business data processing, this application provides an embodiment of a business data processing method based on blockchain, see Figure 1 The business data processing method based on blockchain and executed based on the metadata management system specifically includes the following contents:

[0067] Step 100: Receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type.

[0068] In step 100, the operation types include adding operations, modifying operations, and deleting operations. This can effectively improve the comprehensiveness of metadata processing based on blockchain, and can effectively improve the comprehensiveness and effectiveness of metadata management.

[0069] In an example of a new operation, the target business node creates new data locally according to business needs; selects local database data and processes it according to metadata management requirements, including creating a corresponding identifier for the data, and sends the processed metadata information to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it stores the newly added data identifier and performs chain operations.

[0070] In an example of a modification operation, when the target business node modifies the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs chain operations.

[0071] In an example of a deletion operation, when the target business node deletes the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for deletion operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs a cancellation operation.

[0072] Step 200: Determine whether the metadata identifier is valid based on a preset identifier setting rule. If so, trigger a preset smart contract and send the metadata identifier and execution instructions corresponding to the operation type to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform on-chain operations for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system.

[0073] It can be understood that the identification setting rules are set in advance according to actual application requirements. Each business node in the blockchain and the metadata management system used to execute the blockchain-based business data processing method have the identification setting rules. The target business node sets the metadata corresponding to the metadata processing request according to the identification setting rules stored in itself. Then, after obtaining the identification of the metadata, the metadata management system determines whether the identification of the metadata matches the business node according to the identification setting rules.

[0074] In an example, the identification setting rule is used to store the unique correspondence between the service name and the identification code of each service node.

[0075] From the above description, it can be seen that the blockchain-based business data processing method provided in the embodiment of the present application can effectively improve the security of business data processing by processing business data in the blockchain; realize the creation of smart contracts in the blockchain through business standards, and effectively improve the data standardization of business data processing; execute various operation requests of the metadata of the business node through the blockchain, and effectively improve the reliability and effectiveness of business metadata management, thereby realizing the collaborative governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the overall business system, saving manpower and time costs, and improving the operational reliability and stability of the overall business system, and effectively improving the user experience of technical personnel who perform data governance for the overall business system.

[0076] In order to improve the reliability and effectiveness of blockchain-based business data processing, an embodiment of a blockchain-based business data processing method provided in this application is provided. Figure 2 , the block chain-based business data processing method further specifically includes the following contents before step 100:

[0077] Step 010: Receive the latest version of the business data standard file of the business system;

[0078] Step 020: Create a smart contract according to the business data standard corresponding to the business data standard file;

[0079] Step 030: Storing the smart contract in the blockchain.

[0080] Specifically, the metadata management system stores data standards and creates smart contracts based on the data standards. The smart contracts are used to judge the metadata of each node. The metadata management system sets an identifier for the existing node data based on the business name, and the identifier is used for data matching.

[0081] From the above description, it can be seen that the blockchain-based business data processing method provided in the embodiment of the present application creates a corresponding smart contract by obtaining the current latest version of the business data standard file of the business system, so that the smart contract generated according to the unified and latest data standard can manage the metadata in the blockchain, thereby effectively improving the reliability and effectiveness of blockchain-based business data processing.

[0082] In order to further improve the applicability and comprehensiveness of the overall business system, an embodiment of the business data processing method based on blockchain provided in this application is provided. Figure 3 The business data processing method based on blockchain also specifically includes the following contents:

[0083] Step 300: Receive an external data access request sent by a target business node in the same blockchain as the target business node, wherein the external data processing request includes: a keyword of the external data of the target business node.

[0084] Step 400: If the keyword of the external data meets the preset data security requirement rule, then create an identifier of the external data based on the identifier setting rule.

[0085] Step 500: trigger the smart contract and send the identifier of the external data and the execution instruction corresponding to the access operation to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the external data.

[0086] Specifically, the business node sends a request to add external data to the metadata management system, and the metadata management system determines whether to add it; after agreeing to add external data, a smart contract is generated, and each business system is synchronized according to the addition, deletion, and modification of external data. Among them, each business node corresponds to a business system, and each business system belongs to the same business system. For example, the commercial bank data processing system, which is the business system, contains multiple business systems.

[0087] From the above description, it can be seen that the blockchain-based business data processing method provided in the embodiment of the present application connects data outside the business node to the blockchain through a smart contract, which can further improve the security, effectiveness and reliability of external data processing on the basis of achieving collaborative governance of data security, data standardization and metadata management, thereby further improving the applicability and comprehensiveness of the overall business system.

[0088] In order to further improve the operational reliability and pertinence of the overall business system, an embodiment of the business data processing method based on blockchain provided in this application is provided. Figure 4 The business data processing method based on blockchain also specifically includes the following contents:

[0089] Step 600: Receive a permission application request from a business node to which target private data belongs, wherein the permission application request includes an identifier of a target business node requesting access to the target private data.

[0090] Step 700: Perform identity verification on the target business node according to the identifier of the target business node. If the target business node passes the identity verification, the smart contract is triggered to open access rights to the target private data to the target business node, and the corresponding permission opening data is sent to the target business node and other business nodes in the blockchain for recording respectively.

[0091] Specifically, a business node stores a portion of the target private data on the blockchain and sets access rights; another business node (i.e., the target business node) applies to access the private data of the business node to which the target private data belongs in the blockchain. The target business node sends the permission application to the metadata management system, and the metadata management system verifies the identity of the target business node; if the access rights set by the business node to which the target private data belongs are met, the smart contract is triggered to open data access rights to the target business node. The metadata management system sends the access rights to each node, and each node records the permission opening and records each access record of the target business node.

[0092] From the above description, it can be seen that the blockchain-based business data processing method provided in the embodiment of the present application, by performing identity verification on the target business node according to the identifier of the target business node, if the target business node passes the identity verification, the smart contract is triggered, which can further improve the pertinence, security and reliability of external data processing on the basis of achieving collaborative governance of data security, data standardization and metadata management, and thus can further improve the operational reliability and pertinence of the overall business system.

[0093] From the software level, in order to achieve security, standardization and metadata management in business data processing, this application provides an embodiment of a metadata management system for executing all or part of the content of the blockchain-based business data processing method, see Figure 5 The metadata management system specifically includes the following contents:

[0094] The request receiving module 11 is used to receive a metadata processing request sent by a target business node in the same blockchain as itself, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type.

[0095] In the request receiving module 11, the operation types include adding operations, modifying operations and deleting operations. This can effectively improve the comprehensiveness of metadata processing based on blockchain, and can effectively improve the comprehensiveness and effectiveness of metadata management.

[0096] In an example of a new operation, the target business node creates new data locally according to business needs; selects local database data and processes it according to metadata management requirements, including creating a corresponding identifier for the data, and sends the processed metadata information to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it stores the newly added data identifier and performs chain operations.

[0097] In an example of a modification operation, when the target business node modifies the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs chain operations.

[0098] In an example of a deletion operation, when the target business node deletes the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for deletion operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs a cancellation operation.

[0099] The data processing module 12 is used to determine whether the metadata identifier is valid based on a preset identifier setting rule. If so, a preset smart contract is triggered and the execution instruction corresponding to the metadata identifier and the operation type is sent to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system.

[0100] It can be understood that the identification setting rules are set in advance according to actual application requirements. Each business node in the blockchain and the metadata management system used to execute the blockchain-based business data processing method have the identification setting rules. The target business node sets the metadata corresponding to the metadata processing request according to the identification setting rules stored in itself. Then, after obtaining the identification of the metadata, the metadata management system determines whether the identification of the metadata matches the business node according to the identification setting rules.

[0101] In an example, the identification setting rule is used to store the unique correspondence between the service name and the identification code of each service node.

[0102] The metadata management system embodiment provided in this application can be specifically used to execute the processing flow of the embodiment of the blockchain-based business data processing method in the above embodiment. Its functions will not be repeated here, and reference can be made to the detailed description of the above method embodiment.

[0103] From the above description, it can be seen that the metadata management system provided in the embodiment of the present application can effectively improve the security of business data processing by processing business data in the blockchain; it can effectively improve the data standardization of business data processing by realizing the creation of smart contracts in the blockchain through business standards; it can effectively improve the reliability and effectiveness of business metadata management by executing various operation requests of metadata of business nodes through blockchain, and thus can realize the collaborative governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the overall business system, saving manpower and time costs, and improving the operational reliability and stability of the overall business system, and effectively improving the user experience of technical personnel who perform data governance for the overall business system.

[0104] In order to improve the reliability and effectiveness of blockchain-based business data processing, in one embodiment of the metadata management system provided in this application, the metadata management system is also specifically used to perform the following contents:

[0105] Step 010: Receive the latest version of the business data standard file of the business system;

[0106] Step 020: Create a smart contract according to the business data standard corresponding to the business data standard file;

[0107] Step 030: Storing the smart contract in the blockchain.

[0108] Specifically, the metadata management system stores data standards and creates smart contracts based on the data standards. The smart contracts are used to judge the metadata of each node. The metadata management system sets an identifier for the existing node data based on the business name, and the identifier is used for data matching.

[0109] From the above description, it can be seen that the metadata management system provided in the embodiment of the present application creates a corresponding smart contract by obtaining the latest version of the business data standard file of the business system, so that the metadata can be managed in the blockchain according to the smart contract generated according to the unified and latest data standards, thereby effectively improving the reliability and effectiveness of blockchain-based business data processing.

[0110] In order to further improve the applicability and comprehensiveness of the overall business system, in one embodiment of the metadata management system provided in the present application, the metadata management system is also specifically used to perform the following contents:

[0111] Step 300: Receive an external data access request sent by a target business node in the same blockchain as the target business node, wherein the external data processing request includes: a keyword of the external data of the target business node.

[0112] Step 400: If the keyword of the external data meets the preset data security requirement rule, then create an identifier of the external data based on the identifier setting rule.

[0113] Step 500: trigger the smart contract and send the identifier of the external data and the execution instruction corresponding to the access operation to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the external data.

[0114] Specifically, the business node sends a request to add external data to the metadata management system, and the metadata management system determines whether to add it; after agreeing to add external data, a smart contract is generated, and each business system is synchronized according to the addition, deletion, and modification of external data. Among them, each business node corresponds to a business system, and each business system belongs to the same business system. For example, the commercial bank data processing system, which is the business system, contains multiple business systems.

[0115] From the above description, it can be seen that the metadata management system provided in the embodiment of the present application connects data outside the business node to the blockchain through a smart contract, which can further improve the security, effectiveness and reliability of external data processing on the basis of achieving collaborative governance of data security, data standardization and metadata management, thereby further improving the applicability and comprehensiveness of the overall business system.

[0116] In order to further improve the operational reliability and pertinence of the overall business system, in one embodiment of the metadata management system provided in the present application, the metadata management system is further specifically used to perform the following contents:

[0117] Step 600: Receive a permission application request from a business node to which target private data belongs, wherein the permission application request includes an identifier of a target business node requesting access to the target private data.

[0118] Step 700: Perform identity verification on the target business node according to the identifier of the target business node. If the target business node passes the identity verification, the smart contract is triggered to open access rights to the target private data to the target business node, and the corresponding permission opening data is sent to the target business node and other business nodes in the blockchain for recording respectively.

[0119] Specifically, a business node stores a portion of the target private data on the blockchain and sets access rights; another business node (i.e., the target business node) applies to access the private data of the business node to which the target private data belongs in the blockchain. The target business node sends the permission application to the metadata management system, and the metadata management system verifies the identity of the target business node; if the access rights set by the business node to which the target private data belongs are met, the smart contract is triggered to open data access rights to the target business node. The metadata management system sends the access rights to each node, and each node records the permission opening and records each access record of the target business node.

[0120] From the above description, it can be seen that the metadata management system provided in the embodiment of the present application performs identity verification on the target business node according to the identifier of the target business node. If the target business node passes the identity verification, the smart contract is triggered. On the basis of achieving collaborative governance of data security, data standardization and metadata management, the pertinence, security and reliability of external data processing can be further improved, thereby further improving the operational reliability and pertinence of the overall business system.

[0121] Based on the above metadata management system, the present application also provides an embodiment of a service node that is communicatively connected to the metadata management system, see Figure 6 The service node is specifically used to execute the following contents:

[0122] The request sending module 21 is used to send a metadata processing request to the metadata management system in the same blockchain as itself, wherein the metadata processing request includes: the local metadata identifier and the operation type; so that the metadata management system determines whether the metadata identifier is valid based on a preset identifier setting rule, and if so, triggers a preset smart contract and sends the execution instruction corresponding to the metadata identifier and the operation type to each business node in the blockchain, wherein the smart contract is pre-generated based on a preset business data standard, and each of the business nodes belongs to the same overall business system.

[0123] The uplink module 22 is used to perform an uplink operation on the metadata according to the metadata identifier and the execution instruction corresponding to the operation type sent by the metadata management system.

[0124] From the above description, it can be seen that the business node provided in the embodiment of the present application can effectively improve the security of business data processing by processing business data in the blockchain; it can effectively improve the data standardization of business data processing by realizing the creation of smart contracts in the blockchain through business standards; it can effectively improve the reliability and effectiveness of business metadata management by executing various operation requests of the metadata of the business node through the blockchain, thereby realizing the collaborative governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the overall business system, saving manpower and time costs, and improving the operational reliability and stability of the overall business system, and effectively improving the user experience of technical personnel who perform data governance for the overall business system.

[0125] Based on the above metadata management system and business node embodiments, the present application provides an embodiment of a blockchain system, see Figure 7 , the blockchain system specifically includes the following contents:

[0126] A metadata management system 1 and multiple business nodes 2; each of the business nodes 2 and the metadata management system 1 belongs to the same blockchain; the metadata management system 1 is used to implement the aforementioned blockchain-based business data processing method.

[0127] From the above description, it can be seen that the blockchain system provided by the embodiment of the present application can effectively improve the security of business data processing by processing business data in the blockchain; realize the creation of smart contracts in the blockchain through business standards, and effectively improve the data standardization of business data processing; execute various operation requests of the metadata of the business node through the blockchain, and effectively improve the reliability and effectiveness of business metadata management, thereby realizing the collaborative governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the overall business system, saving manpower and time costs, and improving the operational reliability and stability of the overall business system, and effectively improving the user experience of technical personnel who perform data governance for the overall business system.

[0128] In order to further illustrate this solution, this application also provides a specific application example of a metadata management system to implement a blockchain-based business data processing method, which can solve the problems of inconsistent data standards, uneven data quality, and prominent data security and privacy in commercial bank data governance, and provide a decentralized data governance model. In this application example, each business node corresponds to a business system, referred to as the system party. The interaction logic between the metadata management system and the system party is as follows: Figure 8 shown.

[0129] See also Fig. 9The metadata management system includes: a metadata management smart contract module and a smart contract management module, wherein, see Fig.10 The metadata management smart contract module specifically includes a data standard smart contract and a data authority smart contract.

[0130] 1. Overall view

[0131] The goal of data governance can be ultimately achieved through the collaborative governance of data standardization, metadata management, and data security.

[0132] 2. Scenario Examples

[0133] Assume that there are four nodes (business systems) B, C, D, and E on the chain. A is the new system party. Each system party independently stores data standards, full metadata, and data interface information.

[0134] 2.1. Metadata management system initialization

[0135] 1) The metadata management system stores data standards and creates smart contracts based on the data standards. Smart contracts are used to judge the metadata of each node;

[0136] 2) The metadata management system sets an identifier for each existing node data according to the business name, and the identifier is used for data matching.

[0137] 2.2. Add, modify, and delete metadata, see Fig.11 , the specific instructions are as follows:

[0138] First, add metadata:

[0139] 1) Node B creates new data locally according to business needs;

[0140] 2) Select local database data and process it according to metadata management requirements, including creating data corresponding identifiers and sending the processed metadata information to the metadata management system;

[0141] 3) The metadata management system receives the metadata of node B, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to node B.

[0142] 4) After the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to nodes B, C, D, and E for on-chain operations;

[0143] 5) After receiving the instructions, data identifiers, and metadata, each node stores the newly added data identifiers and performs chain operations.

[0144] Second, modify the metadata:

[0145] 1) When node B modifies the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements and sends the processed information and data corresponding identifiers to the metadata management system;

[0146] 2) The metadata management system receives the metadata of node B, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to node B.

[0147] 3) After the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to nodes B, C, D, and E for on-chain operations;

[0148] 4) After receiving the instruction, data identifier and metadata, each node judges the data identifier and performs the chain operation.

[0149] Third, delete metadata:

[0150] 1) When node B deletes metadata of the system according to business needs, it processes the metadata according to metadata management requirements and sends the processed information and data corresponding identifiers to the metadata management system;

[0151] 2) The metadata management system receives the metadata of node B, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to node B.

[0152] 3) After the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to nodes B, C, D, and E for deletion operations;

[0153] 4) After receiving the instruction, data identifier and metadata, each node judges the data identifier and performs a cancellation operation.

[0154] 2.3. External data access, see Fig.12 , the specific instructions are as follows:

[0155] 1) Node B sends a request to join external data to the metadata management system, and the metadata management system determines whether to join;

[0156] 2) Generate smart contracts after agreeing to the addition of external data, and synchronize various business systems based on the addition, deletion, and modification of external data.

[0157] 2.4. Private data access application, see Fig.13 , the specific instructions are as follows:

[0158] 1) Node C stores some private data on the chain and sets access permissions;

[0159] 2) Node B applies to access the private data on Node C's chain. Node B sends the permission application to the metadata management system, and the metadata management system verifies the identity of Node B;

[0160] 3) If the access rights set by node C are met, the smart contract is triggered to open data access rights to node B.

[0161] 4) The metadata management system sends access rights to each node, and each node records the access rights and each access record of node B.

[0162] 2.5.On-chain operation

[0163] 1) The metadata management system receives the modified metadata information sent by node B, classifies the metadata information according to the data standard, and generates a corresponding identification number F1;

[0164] 2) The identification number F1 is transmitted to node C, and node C searches for the corresponding block C01 according to the identification number F1;

[0165] 3) Query the information of block C01, obtain the memory information of C01, match the corresponding blockchain storage location, and generate the query chain number.

[0166] In summary, the application example of this application provides a business data processing method based on blockchain, which has the following advantages:

[0167] 1) Consistency guarantee. The data storage in the blockchain is based on P2P technology. This decentralized technology overturns the long process of data change, which is "modifier modification - modifier registration - metadata management center node confirmation and storage - cooperate with the modifier query - cooperate with the modifier modification". The introduction of P2P technology enables the modification, confirmation, and storage of metadata to be completed by all application systems, that is, "modifier modification - cooperater confirmation - cooperater modification". Through the introduction of consensus algorithms, the strong consistency of metadata storage between various system applications is guaranteed.

[0168] 2) Timeliness guarantee. The smart contract in blockchain technology contains a complete transaction processing mechanism and data storage mechanism. After each application system is on the chain, it only needs to pay attention to the reasons that cause the metadata changes of the application itself, and set such reasons as the triggering conditions of the smart contract (which can be divided into coordinated modification confirmation and coordinated modification implementation). Once there is a corresponding metadata modification, the smart contract will be immediately triggered to perform corresponding coordinated confirmation and modification. Compared with the large number of metadata modification operations in the existing version cycle, the introduction of smart contracts has greatly improved timeliness, avoided errors caused by human modification, and reduced manpower and time costs.

[0169] 3) Security assurance. Users in the blockchain system usually use the private key in the public and private keys as their unique identity. In data governance, asymmetric encryption technology can be introduced to ensure the uniqueness of each system application.

[0170] 4) History is traceable. Due to the tamper-proof and traceable characteristics of blockchain, all editing processes in the metadata modification and data standard modification process are completely stored in each block in a form similar to a "log", which ensures the tamper-proof nature of metadata storage. At the same time, each modification is traceable in the blockchain, which provides convenient query of metadata modification history for various system applications.

[0171] From the hardware level, in order to achieve security, standardization and metadata management in business data processing, the present application provides an embodiment of an electronic device for implementing all or part of the content of the blockchain-based business data processing method, and the electronic device specifically includes the following content:

[0172] Fig.14 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig.14 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig.14 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0173] In one embodiment, the blockchain-based business data processing function can be integrated into the central processing unit. The central processing unit can be configured to perform the following control:

[0174] Step 100: Receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type.

[0175] In step 100, the operation types include adding operations, modifying operations, and deleting operations. This can effectively improve the comprehensiveness of metadata processing based on blockchain, and can effectively improve the comprehensiveness and effectiveness of metadata management.

[0176] In an example of a new operation, the target business node creates new data locally according to business needs; selects local database data and processes it according to metadata management requirements, including creating a corresponding identifier for the data, and sends the processed metadata information to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it stores the newly added data identifier and performs chain operations.

[0177] In an example of a modification operation, when the target business node modifies the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs chain operations.

[0178] In an example of a deletion operation, when the target business node deletes the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for deletion operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs a cancellation operation.

[0179] Step 200: Determine whether the metadata identifier is valid based on a preset identifier setting rule. If so, trigger a preset smart contract and send the metadata identifier and execution instructions corresponding to the operation type to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform on-chain operations for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system.

[0180] It can be understood that the identification setting rules are set in advance according to actual application requirements. Each business node in the blockchain and the metadata management system used to execute the blockchain-based business data processing method have the identification setting rules. The target business node sets the metadata corresponding to the metadata processing request according to the identification setting rules stored in itself. Then, after obtaining the identification of the metadata, the metadata management system determines whether the identification of the metadata matches the business node according to the identification setting rules.

[0181] In an example, the identification setting rule is used to store the unique correspondence between the service name and the identification code of each service node.

[0182] From the above description, it can be seen that the electronic device provided in the embodiment of the present application can effectively improve the security of business data processing by processing business data in the blockchain; realize the creation of smart contracts in the blockchain through business standards, and effectively improve the data standardization of business data processing; execute various operation requests of metadata of business nodes through blockchain, and effectively improve the reliability and effectiveness of business metadata management, thereby realizing the coordinated governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the overall business system, saving manpower and time costs, and improving the operational reliability and stability of the overall business system, and effectively improving the user experience of technicians who perform data governance for the overall business system.

[0183] In another embodiment, the metadata management system can be configured separately from the central processor 9100. For example, the metadata management system can be configured as a chip connected to the central processor 9100, and the blockchain-based business data processing function can be implemented through the control of the central processor.

[0184] like Fig.14 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig.14 In addition, the electronic device 9600 may also include Fig.14 For components not shown, reference may be made to the prior art.

[0185] like Fig.14 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.

[0186] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.

[0187] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.

[0188] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.

[0189] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0190] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0191] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.

[0192] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the blockchain-based business data processing method in the above embodiments. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, all the steps of the blockchain-based business data processing method in the above embodiments are implemented by the execution subject being a server or a client. For example, when the processor executes the computer program, the following steps are implemented:

[0193] Step 100: Receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type.

[0194] In step 100, the operation types include adding operations, modifying operations, and deleting operations. This can effectively improve the comprehensiveness of metadata processing based on blockchain, and can effectively improve the comprehensiveness and effectiveness of metadata management.

[0195] In an example of a new operation, the target business node creates new data locally according to business needs; selects local database data and processes it according to metadata management requirements, including creating a corresponding identifier for the data, and sends the processed metadata information to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If not, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it stores the newly added data identifier and performs chain operations.

[0196] In an example of a modification operation, when the target business node modifies the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for chain operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs chain operations.

[0197] In an example of a deletion operation, when the target business node deletes the metadata of the system according to business needs, it processes the metadata according to the metadata management requirements, and sends the processed information and data corresponding identifiers to the metadata management system; the metadata management system receives the metadata of the target business node, determines the validity of the identifier and whether to trigger the smart contract. If the identifier is valid and meets the requirements of the smart contract, the smart contract is triggered. If it does not meet the requirements, an error report instruction is sent back to the target business node; after the smart contract is triggered, the smart contract module sends instructions, data identifiers, and metadata to each business node for deletion operations; after each node receives the instructions, data identifiers, and metadata, it determines the data identifier and performs a cancellation operation.

[0198] Step 200: Determine whether the metadata identifier is valid based on a preset identifier setting rule. If so, trigger a preset smart contract and send the metadata identifier and execution instructions corresponding to the operation type to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform on-chain operations for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system.

[0199] It can be understood that the identification setting rules are set in advance according to actual application requirements. Each business node in the blockchain and the metadata management system used to execute the blockchain-based business data processing method have the identification setting rules. The target business node sets the metadata corresponding to the metadata processing request according to the identification setting rules stored in itself. Then, after obtaining the identification of the metadata, the metadata management system determines whether the identification of the metadata matches the business node according to the identification setting rules.

[0200] In an example, the identification setting rule is used to store the unique correspondence between the service name and the identification code of each service node.

[0201] From the above description, it can be seen that the computer-readable storage medium provided in the embodiment of the present application can effectively improve the security of business data processing by processing business data in the blockchain; can effectively improve the data standardization of business data processing by realizing the creation of smart contracts in the blockchain through business standards; can effectively improve the reliability and effectiveness of business metadata management by executing various operation requests of metadata of business nodes through blockchain, thereby realizing the collaborative governance of data security, data standardization and metadata management, thereby effectively improving the security, efficiency, effectiveness and reliability of business data governance in the overall business system, saving manpower and time costs, and improving the operational reliability and stability of the overall business system, and effectively improving the user experience of technical personnel who perform data governance for the overall business system.

[0202] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (devices), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0203] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0204] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A business data processing method based on blockchain, characterized in that: The method is performed by a metadata management system and includes: Receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type; Determine whether the metadata identifier is valid based on a preset identifier setting rule. If so, trigger a preset smart contract and send the metadata identifier and an execution instruction corresponding to the operation type to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the metadata, wherein the smart contract is generated in advance based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system; Receive an external data access request sent by a target business node in the same blockchain as the target business node, wherein the external data processing request includes: a keyword of the external data of the target business node; If the keyword of the external data meets the preset data security requirement rule, creating an identifier of the external data based on the identifier setting rule; The smart contract is triggered and the execution instruction corresponding to the identifier of the external data and the access operation is sent to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the external data.

2. The business data processing method based on blockchain according to claim 1 is characterized in that: Before receiving the metadata processing request sent by the target service node in the same blockchain as the service node itself, the method further includes: Receive the latest version of the business data standard file of the business system; Create a smart contract according to the business data standard corresponding to the business data standard file; The smart contract is stored in the blockchain.

3. The business data processing method based on blockchain according to claim 1 is characterized in that: Also includes: Receive a permission application request from a business node to which target private data belongs, wherein the permission application request includes an identifier of a target business node requesting access to the target private data; The target business node is verified for identity according to the identifier of the target business node. If the target business node passes the identity verification, the smart contract is triggered to open access rights to the target private data to the target business node, and the corresponding permission opening data is sent to the target business node and other business nodes in the blockchain for recording respectively.

4. The blockchain-based business data processing method according to any one of claims 1 to 3, characterized in that: The operation types include adding operation, modifying operation and deleting operation.

5. A metadata management system, characterized in that: include: A request receiving module, used to receive a metadata processing request sent by a target business node in the same blockchain as the target business node, wherein the metadata processing request includes: an identifier of the metadata local to the target business node and an operation type; A data processing module, used to determine whether the metadata identifier is valid based on a preset identifier setting rule, and if so, trigger a preset smart contract and send the metadata identifier and an execution instruction corresponding to the operation type to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the metadata, wherein the smart contract is pre-generated based on a preset business data standard, and the target business node and other business nodes belong to the same overall business system; It is also used to receive an external data access request sent by a target business node in the same blockchain as itself, wherein the external data processing request includes: a keyword of the external data of the target business node; if the keyword of the external data meets the preset data security requirement rules, an identifier of the external data is created based on the identifier setting rule; triggering the smart contract and sending the identifier of the external data and the execution instruction corresponding to the access operation to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the external data.

6. A service node, characterized in that: include: A request sending module, used to send a metadata processing request to a metadata management system in the same blockchain as itself, wherein the metadata processing request includes: a local metadata identifier and an operation type; so that the metadata management system determines whether the metadata identifier is valid based on a preset identifier setting rule, and if so, triggers a preset smart contract and sends an execution instruction corresponding to the metadata identifier and the operation type to each business node in the blockchain, wherein the smart contract is generated in advance based on a preset business data standard, and each of the business nodes belongs to the same business system; It is also used to send an external data access request to the metadata management system in the same blockchain as itself, wherein the external data processing request contains: the keyword of the external data of the target business node; so that the metadata management system determines whether the keyword of the external data meets the preset data security requirement rules based on the external data processing request, and if the keyword of the external data meets the preset data security requirement rules, creates an identifier of the external data based on the identifier setting rule, triggers the smart contract, and sends the identifier of the external data and the execution instruction corresponding to the access operation to the target business node and other business nodes in the blockchain, so that the target business node and other business nodes respectively perform the on-chain operation for the external data; The uplink module is used to perform an uplink operation on the metadata according to the metadata identifier and the execution instruction corresponding to the operation type sent by the metadata management system.

7. A blockchain system, characterized in that: include: A metadata management system, and a plurality of service nodes as claimed in claim 6; Each of the business nodes and the metadata management system belongs to the same blockchain; The metadata management system is used to implement the blockchain-based business data processing method described in any one of claims 1 to 4.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the blockchain-based business data processing method described in any one of claims 1 to 4 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the blockchain-based business data processing method described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Service data processing method, device, system and storage equipment based on block chain

    CN107451275A

  • Information synchronization system and information synchronization method

    CN110381116A

  • Block chain-based metadata management method and system, and computer storage medium

    CN110765205A

  • Method and device for obtaining external data from external data source in alliance block chain

    CN111163093A

  • Data processing method and device based on block chain and computer equipment

    CN111625593A