1. Functions | 2. Reference Model | 3. Input/Output Data |
4. Functions of AI Modules | 5. Input/output Data of AI Modules | 6. AIW, AIMs, and JSON Metadata |
1. Functions
The Back End implements the following functionalities:
Receives | Federated Learn Response | Health Front End’s response to request to provide its trained NN. |
Audit Request | Health Front End’s to Audit AIH Data. | |
Licence Confirm Response | Bockchain’s response to Licence Confirmation Request. | |
Register Request | User’s Request to Register. | |
AIH Data Storage Request | Request from a Health Front End to Store AIH Data. | |
DIA Requests | Request to De-Identify and Anonymise AIH Data. | |
Blockchain Licence Response | Blockchain’s Response to Request to create Smart Contract from Model Licence. | |
AIH Data Process Request | Request to Process AIH Data. | |
Produces | NN Model | Neural Network sent by Health Front End. |
Federated Learn Request | Request to Health Front End to provide its trained NNs. | |
Audit Response | Response to request to Audit AIH Data. | |
Licence Confirm Request | Request to Bockchain to confirm Licence ID. | |
Register Response | Health Back End’s response to User’s Request to Register. | |
AIH Data Storage Response | Health Back End’s response to Store AIH Data. | |
DIA Response | Health Back End’s response to request to De-Identify and Anonymise AIH Data. | |
Blockchain Licence Request | Blockchain’s request to create Smart Contract from Model Licence. | |
AIH Data Process Response | Health Back End’s response to request to Process AIH Data. |
2. Reference Model
Figure 1 depicts the Reference Architecture of the Health Back End (AIH-HBE).
Figure 1 – Reference Model of the Health Back End (AIH-HBE) AIW
This is the flow of operation of the Health Back End (AIH-GBE) AIW Reference Model:
- Register
- A User wishing to access the Back End, sends a Registration Request containing Personal Profile and Service list.
- Health Back End provides the Tokens enabling the User to access the corresponding Services.
- Store AIH Data
- User uploads AIH Data if Token is available.
- HBE Data Processing
- Extracts the Model Licence from AIH Data.
- Issues a Blockchain Licence Request to the Blockchain.
- Blockchain
- Converts Model Licence to a Smart Contract.
- Responds with a Blockchain Licence Response.
- HBE Data Processing
- Attaches Blockchain Licence ID ro AIH Data, if Licence Response containg Licence ID.
- Stores AIH Data in Secure Storage
- DIA AIH Data
- User sends a DIA Request, if DIA Service Token is available.
- HBE Data Processing
- Retrieves relevant AIH Data from Secure Storage.
- (Pseudo-)Anonymises AIH Data.
- Stores (Pseudo-)Anonymised AIH Data back to Secure Storage.
- Responds with a DIA Response.
- Process AIH Data
- User sends AIH Process Request.
- HBE Data Processing sends a Licence Confirm Request to the Blockchain.
- Blockchain responds with a Licence Confirm Response.
- HBE Data Processing
- Performs the requested Processing, if this is included in the Licence.
- Stores the Processed AIH Data.
- Responds with an AI Data Process Response.
- Audit
- User sends Audit Request.
- Auditing
- Retrieves relevant Confirmation Responses.
- Responds with Audit Response.
- Federated Learning
- Federated Learning sends Federated Learning Request to to all Health Front Ends.
- Health Front Ends provide the NN Models.
- Federated Learning
- Develops and upload the new NN Model to the MPAI Store.
- Sends Federated Learning Response to Health Front Ends.
- Front Ends download the new NN Model from the MPAI Store.
3. Input/Output Data
Table 1 specifies the Input and Output Data.
Table 1 – I/O Data of Health Back End
Input | Description |
Register Request | User’s request to Register |
User Profile | Registering User’s Personal Profile |
AIH Data Store Request | User’s request to Store AIH Data |
Blockchain Licence Request | HBE Data Processing’s Request to provide ID of Licence based on Model Licence |
De-ID and Anonym Request | User’s request to De-Identify and Anonymise AIH Data. |
AIH Data Process Request | User’s request to Process AIH Data. |
Licence Confirm Request | User’s request that a specific Processing on specific AIH Data is allowed by Licence. |
Audit Request | User’s request to Audit Processing of AIH Data. |
Federated Learn Request | HBE’s request to End User to produce NN Model. |
Output | Description |
Register Response | HBE’s Response to Registration Request. |
Tokens | Set of Tokens to access specific Services |
AIH Data Store Response | HBE Data Processing’s response to Store Request. |
Blockchain Licence Response | Blockchain’s response to Blockchain Licence Request. |
De-ID and Anonym Response | HBE Data Processing’s response to DIA Request. |
AIH Data Process Response | HBE Data Processing’s response to User’s AIH Data Processing Request. |
Confirm Response | Blockchain response to a request that a specific Processing on specific AIH Data is allowed by Licence |
Audit Response | User’s request to Audit AIH Data for Processing. |
Federated Learn Response | Health Front End’s response to Federated Learning Request. |
4. Functions of AI Modules
Table 2 specifies the Function of the AI Modules.
Table 2 – Functions of Health Back End AI Modules
AI Module | Description |
HBE Data Processing | Processes AIH Data |
Auditing | Enables End User to monitor the use of their AIH Data. |
Health Federated Learning | Performs Federated Learning of Front Ends’ NN Model. |
5. Input/output Data of AI Modules
Table 3 specifies the Function of the AI Modules.
Table 3 – Functions of Health Back End AI Modules
6. AIW, AIMs, and JSON Metadata
Table 4 provides the links to the AIW and AIM specifications and to the JSON syntaxes. AIMs/1 indicates that the column contains Composite AIMs and AIMs indicates that the column contains their Basic AIMs.
Table 4 – AIW, AIMs, and JSON Metadata
AIW | AIMs | Name | JSON |
AIH-HBE | Health Back End | X | |
AIH-BDP | HBE Data Processing | X | |
AIH-ADT | Auditing | X | |
AIH-HFL | Health Federated Learning | X |