# Components and Interfaces

## Components and interfaces

The **DDXF** framework can facilitate performing the following:

* Integrating **multi-system off-chain resources**
* **Tokenize data authority and privileges** and perform **cross-chain resource and token transactions**
* Implementing and realizing **resource** and **data exchange** in the form of **token passing** and changes in **data characteristics**
* **Data processing** and **transaction authentication** rights are supported for **offline resources** and any **off-chain** arbitration, ensuring **shared incentives**.

![DDXF Components](/files/-LvskNl295kh5R4niMqq)

There are three different function modules that the framework offers. Let us take a closer look at each one.

### Self-governed resource and data administration - DToken model

The self-sovereign data management is to decouple **data ownership** and **data accessibility** (or other data processing) **privileges**, thereby allowing for data management on a different level from the data owner(s).

**DDXF** provides a platform that allows for self-sovereign **data administration** using a combination of services such as:

* **Data storage** provides the ability to store data with security features and data privacy at a relatively lower cost.
* **ONT ID** helps identifying different parties such the data itself, the data owner, and the data handler.
* **DToken** allows for **data privilege management**, ensuring that the **data processing** and **storage** is carried out on the Ontology blockchain infrastructure.
* **Ontology blockchain** provides features such as **traceability** and **trust endorsement**.

The **DToken** model defines the following features:

* **Resource modeling and mapping -** Provides **static modeling** and **mapping** functions where the off-chain resources from Internet or `IoT` systems can be stored online in a form of a data model and the online data will be mapped onto with on-chain identifiers.
* **DToken generation -** provides a static identifier mapping capability, where data privileges can be **tokenized** in the form of `DTokens`. The usage of `DTokens` will be controlled from and logged on-chain.

The **DToken model** also provides interfaces to define **entities**, **resources** and **operations** in **DDXF**.

### Decentralized data processing and resource exchange

Decentralized data processing and administration module provides a run time mechanism to **control** the **business actions** of **resource exchange**, **data transfer**, and **data processing**.

The two main features of this module are:

* **Resource Exchange:** Provides the mechanism for token based resource transfer and exchange.
* **Token Usability:** Provides the mechanism to manage token usage, especially DToken usage to access data.

Decentralized data processing and administration module also provides **interfaces** to **process** and **manage data** in **DDXF**.

### Trust Audit

The **DDXF marketplace** provides the ability to carry out **cross system resource exchange**.

As a result of different business models, data can be owned by smart devices, end users, or systems. Data processing changes the form the data. **DDXF** enables **data processing**, **transfer**, and **exchange** with control over **ownership** and **accessibility** of **data instances**. The off-chain resources and the transactions carried out by the end users serves to provide **trust endorsement** for **DDXF**.

The two main features of this module are:

* **Resource audit:** Provides a mechanism to ensure the **ownership** and **accessibility** of off-chain resources, including the **resource quality** and **transaction behavior**.
* **Reputation score:** Based on the usage, transactions can provide trust endorsement for **DDXF**

**Trust audit module** also provides interfaces to implement the **trust endorsement** function for **transactions**, **data credentials**, and the **end users** in **DDXF**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ont.io/decentralized-identity-and-data/ddxf/components-and-interfaces.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
