In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how CRMD_CUMULAT_H of worldstate and SAP CRM in Hyperledger is. The introduction in this article is very detailed and has certain reference value. Interested friends must read it!
Hyperledger fabric is an open source project based on blockchain technology, launched by the Linux Foundation in 2015, with the aim of advancing the development and implementation of blockchain digital technology and transaction verification.
Hyperledger consists of an ordered list of blocks, each block containing multiple transactions (tx). Jerry discovered an interesting phenomenon while learning the data structure of the ledger: WorldState in the image above was designed to improve performance. For example, if there are 1,000 transactions in a channel, in order to obtain the current state value of the channel, you need to execute these 1,000 transactions along the first block of the blockchain, a bit like SAP HANA in-memory database real-time calculation.
Hyperledger Fabric chose to update a database called levelDB synchronously after each new transaction was processed. In this way, each time the current state is queried, there is no need to traverse each block of the blockchain to repeatedly execute transactions, only the levelDB database needs to be queried.
The concept of this levelDB is the same as many fields of the order header in CRM, such as total price, gross weight, etc.
For example, if I maintain 1 ST with unit weight of 50KG in the product master data with ID IMU, then the order below contains two line items, a total of 8 ST, gross weight of 50 × 8 = 400KG.
This 400KG is stored in the GROSS_WEIGHT field of table CRMD_CUMULAT_H.
As the name implies, the value of this field is accumulated from GROSS_WEIGHT in another table CRMD_PRODUCT_I that stores release item details, which is also the origin of the partial name CUMULAT of this table: (cumulate accumulation)
Each time the number of products in the line item changes, the callback function of the one order framework is triggered, updating GROSS_WEIGHT of CRMD_CUMULAT_H.
The last data update is written back to CRMD_CUMULAT_H via CRM_CUMULAT_H_UPDATE_DU. CRMD_CUMULAT_H plays the same role as levelDB in Hyperledger Fabric.
The above is "How is CRMD_CUMULAT_H in Hyperledger worldstate and SAP CRM?" All the contents of this article, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.