Skip to content

CympleTech/data-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Protocol

Future-oriented infrastructure - Data Protocol.

What is data

There are two types of data, one is normalized data and the other is structured data.

Normalized data is scattered, disorderly, and without a fixed format. This data cannot be directly used for external interactions and transactions. This data has only two attributes, one is the content and the other is the generation time. Our daily chat records, visit history, shopping lists, article blogs and others belong to this kind of data. The data has the characteristics of intuitive visibility, free reproducibility, forgeability, and non-traceability.

Structured data has a strict representation. Can be used for external interaction and transactions. This data type has the five attributes. The rest of this article discusses structured data.

Attribute

  • Owner: Indicates the producer of the data, and the producer is the owner. Structured data has strict data validation rights.
  • DID: Represents the unique identity of the data.
  • Parent-DID: The data is marked as a modified copy of the original data. This is an optional attribute, and the data generated for the first time does not have this attribute by default.
  • Value: Indicates the specific content and form of the data.
  • Lifetime: Represents the generation time and expiration time of the data, and is also the entire life cycle of the data.

For example:

{
  "owner": "000000000000000000",
  "did": "base58000000000000",
  "pid": "base58000000000000",
  "value": "type:xxxxx:0101010101",
  "time": "00120112:00123423",
}

Features

Visibility

  • Unencrypted and permissionless: anyone and organization can access data, and can read the attributes of the data (public, public network).
  • Unencrypted and permissioned: data can be obtained only with permission, and data attributes can be read (private, local sharing).
  • Encrypted and permissionless: anyone and organization can access data, but cannot read the attributes of the data (private, decentralized storage).
  • Encrypted and permissioned: data can be obtained only with permission, and the attributes of the data can be read (private, distributed storage).

Verifiability

  • Can verify the ownership of the data.
  • Can verify the uniqueness, completeness and timeliness of data.
  • Can verify the access and operational rights to the data.

Processability

  • Data can be read.
  • Data can be modified.
  • Data can be processed.
  • Data can be deleted.

Reproducibility

  • Data can be copied, copying all attributes of the data.
  • Data can be propagated, propagating all the attributes of the data.
  • Modify the attributes of the data, the data will no longer be the same.

Core protocol

  • Data unique identification and attributes. detail
  • Verifiable protocol of data. detail
  • Storage value
  • Storage location
  • Data summary and proof. detail
  • Data copy and proof. detail
  • Third party guarantee transaction. detail
  • No third party guarantee transaction. detail

Contributing

Your contributions are always welcome! Please take a look at the contribution guidelines first.


If you have any question about this opinionated list, do not hesitate to contact us @CympleTech on Twitter or open an issue on GitHub.

Shield: CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

About

Future-oriented infrastructure - Data Protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published