China Mobile Chain resource management introduction

China Mobile Chain is based on the underlying framework of EOS, and is a China Mobile blockchain service platform built on the premise of meeting the needs of my country's information supervision and compliance and controllability. The China Mobile Chain mainly includes three resources: CPU, RAM and NET. CPU resources are the computing power used to execute smart contracts, RAM resources are used to store smart contracts and other data, and NET resources are used to process network communications. China Mobile Chain accounts hold these resources to be able to conduct transactions on the blockchain and execute smart contracts.

01

Resource Management Transformation Analysis

In order to achieve more effective resource allocation and fair resource use, the EOS public chain adopts a resource allocation mechanism based on market supply and demand, which increases the difficulty for users to use resources. Based on domestic supervision and open alliance chain requirements, China Mobile Chain has transformed the underlying resource logic, introduced the concept of resource administrators, canceled the model based on market supply and demand, unified resource prices, and creatively added validity periods to resources. Form a resource-consuming economic model. This improvement can make the relationship between China Mobile Chain and the open consortium chain more fair and transparent, and developers can better understand resource pricing rules, so as to better plan and manage resource usage and expenses.

1. Join the resource manager

China Mobile Chain firstly improves the recovery time of resources. The resources on the chain are managed by the administrator designated by the system in a unified manner. The account can only purchase resources through the administrator, which improves the effectiveness and security of resource management.

(1) After the transformation, the economic model of China Mobile Chain has changed from a market supply and demand model to a resource consumption model. This model can reduce the complexity of transactions between accounts and memory usage. Accounts can only be purchased through administrators Resources, even after the resources are released, the pass will be returned to the administrator account, forming a closed loop of resources on the chain.

(2) At the same time, the addition of resource administrators can also restrict the use of some system contracts, such as system contracts such as account creation and elections (for specific implementation, please refer to the article: Introduction to China Mobile Chain Contract Management and Control Functions, see References). Sensitive contracts only allow the corresponding administrators in the permission table to operate to ensure the security and stability of data on the chain and system contracts.

The following figure shows the China Mobile Chain resource allocation interface under the BSN open alliance chain:

2. Add resource validity period restrictions

When users purchase resources, they need to choose the resource validity period. After the validity period expires, the resources will be released to reduce the possibility of resource abuse, thereby solving the problem of long-term occupation of network resources and improving the availability and fairness of resource use. After the resource time limit is added, users can choose the resource use time limit according to their own usage scenarios, providing more flexible choices for users and developers of the open alliance chain.

02

Summarize

In this transformation of China Mobile Chain's resource management, resource managers and resource timeliness are introduced, the economic model is changed from a market supply and demand relationship model to a resource consumption model, and the resource recovery mechanism is changed to real-time account transfer to improve network efficiency. Fairness and stability while reducing usage costs. For the open consortium chain, due to its characteristics for enterprise applications, it often requires a high-performance and high-stability network. Therefore, these improvements can help the open consortium chain better meet user needs and provide users with more stable and reliable blockchain services.

References

[1] BSN open alliance chain:

https://opb.bsnbase.com/main/index

[2] Official EOSIO core concept:

https://developers.eos.io/welcome/latest/introduction-to-eosio/core_concepts

[3] Introduction to contract management and control functions of the China Mobile Chain system:

https://mp.weixin.qq.com/s/pPfxH7NYxJlQWSiW8RDJBQ

Computer access to DDC web portal

ddc.bsnbase.com

-END-

Guess you like

Origin blog.csdn.net/BSN_yanxishe/article/details/131007058