Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Introduction

This publication TIC4.0 2022.004 contains the Semantics, Dataset Roadmap, Data Model and Definitions on the following topics

  • Cycle: an update of the 2022.003 release. The terminal.gate.cycle is now included. With this definition, the most important cycles within a terminal have been defined: the highest level process terminal.cycle, the subprocesses terminal.berth.cycle, terminal.yard.cycle, terminals.gate.cycle, terminal.train.cycle, terminal.horizontaltransport.cycle and on the equipment level CHE.cycle.

  • Carrier Visit: includes important definitions for processes from the perspective of a carrier visit: Arrival, TerminalOperations and Departure.

  • Cargo Visit: includes important definitions to follow the process of the cargo on a terminal, such as Inbound and Outbound as well as unambigous unambiguous definitions related to the weight of cargo. With these definitions, the most important definitions for the “Cargo Visit” have been defined.

  • Schema JSON to FLAT: very important work was done for anyone who really wants to implement TIC4.0. The JSON Schema is defined and clear instructions for a human to convert a dataset from a JSON format into a FLAT format are included. TIC4.0 developed and published an open-source software tool to automatically convert datasets from JSON to FLAT. The source code can be included into in any program and is available via GitHub.

  • Datamodel: The existing data models are updated reflecting the definitions of this release and the latest development around the TIC4.0 semantic.

This publication extends defintions definitions of previous releases on the most important processes found in terminal operations: the Cargo Visit - which constitutes the sole purpose of terminals, the Carrier Visit - which constitutes the major link(s) to the cargo value chain and the Cycle - which is required to describe the processes of a terminal related to moving payloads.

With the Schema JSON to FLAT this publication provides the required step by step instructions (and an open-source conversion tool) to convert the data format from the JSON format to the FLAT format. This is important for the implementation of the semantics. TIC 4.0 uses the JSON format as default because it allows us to express a hierarchical structure and an array of subjects (for several subsubjects) or observed properties (for different combinations of timestamps, pom, pomt, names, etc). JSON is also the default file format for many protocols such as REST and MQTT extensively used to share data or publish IoT data. A flat format is more suitable for low-level implementation like PLCs or software code. JSON is better for sharing extensive messages. Both are valid in TIC 4.0 and for the implementation is very important to be able to automatically convert from one format to the other.

These definitions are part of TIC4.0’s ongoing work to develop a common vocabulary for the cargo handling industry and will be followed by future releases, as defined by the TIC4.0 Dataset Roadmap. The current list of definitions being worked on can be accessed on the digital platform of TIC4.0. This publication release provides the actual definitions and includes them in the TIC4.0 templates with the general approach on how to use these in Data Models, Data Schema's, JSON formats and provides high-level scenarios as examples.

1 TIC 4.0 scope

The purpose of TIC4.0 is to define a common language that can be represented in an understandable format, including data and information elements suitable for digitalization.

...

To apply the words in each entry in several digital protocols, a Data Schema is needed. TIC 4.0 will propose Data Schema for each of the most common protocols, but the Data Schema can be used for any protocol. For the examples, TIC 4.0 usually uses JSON as it is very user friendly and easy to read.

2 Data Model

For the digital formatting of the semantic and Dataset we need a Data Model to structure the data and a Data Schema to define the details of the content such as the validity of the format, the type of data (boolean, entire, real etc.), which data is mandatory or could be omitted etc.

...

Following the semantic web standard (subject: object) the model has 3 main components: header, asset description and measurement.

...

 

SUBJECT creates the hierarchy tree structure (we have sub-subjects) that helps to identify the boundary of the value. The hierarchy is fixed by TIC4.0 for each kind of subject (CHE, TOS, Terminal) and can mix any type of subjects (e.g. machine.process = che.move). The subjects conform to an array defined by the (concept) metadata so various identical subjects but with different metadata (id or name or location or…) can be sent in the same message. (one message with several CHE's or one CHE with several spreaders).

The CONCEPT'smetadata defines “what is” and the CONCEPT“what does”. Both are flat (no hierarchy, no arrays) and as many as necessary can be used. Additionally, two concepts can be combined with “and” or “or” creating a new concept which includes the condition that makes both true. For e.g. “hoisting_and_trolleying” that represents the action of hoisting and trolleying at the same time (both statuses must be true).

OBSERVED PROPERTies define the “magnitude” of the CONCEPT, are flat (no hierarchy) and can be used as many times as necessary with a CONCEPT.

For each OBSERVED PROPERTies an array created by the combination of the different POINT OF MEASUREMENTs in time (actual, estimated, etc), place (input, iinput, ioutput, output), timestamps and the different Units will give an array (a list) of VALUEs. The array could be as long as necessary in each message. The length will depend on the relation between the data frequency and the message frequency and also the amount of different POINT OF MEASUREMENTs that need to be represented.

...

The Dataset is the content of the Data Model, a flat version without hierarchy or rules. The Dataset is used by humans but machines need the Data Model and the Data Schema to translate it to a digital format.

3 Definitions

In this release we defined the following elements:

Cycle

Release

Definition

Link

Definition

TIC4.0 semantic

2022.004

Cycle

Cycle 2022.004

A Cycle is a discrete (individually, separate and distinct) process designed (destined) to move payloads from one location to another by a subject (che, tos, terminal, carrier, etc).

Extension of the 2021.003 release with regards to the terminal.gate.cycle. With this definition the most important cycles within a terminal have been defined: the highest level process terminal.cycle, the subprocesses terminal.berth.cycle, terminal.yard.cycle, terminals.gate.cycle, terminal.train.cycle, terminal.horizontaltransport.cycle and on the equipment level CHE.cycle.

SUBJECT-PROCESS

Carrier Visit

Release

Definition

Link

Definition

TIC4.0 semantic

2022.004

Arrival

Arrival (Review)

Arrival is the process by which a carrier is physically approaching its destination (terminal), in preparation to the terminal operations activity or to receive other 3rd party services that the terminal site provides.

SUBJECT-PROCESS

2022.004

TerminalOperations

TerminalOperations (Review)

“terminaloperations” is the process in which the terminal is loading, unloading or moving cargo.

The definition of TerminalOperarations is a generic process definition and can also be applied to other parent processes.

SUBJECT-PROCESS

2022.004

Departure

Departure (Review)

Departure is the process by which a carrier is physically leaving the terminal, as the terminal operations or third party services are completed.

SUBJECT-PROCESS

Cargo Visit

Release

Definition

Link

Definition

TIC4.0 semantic

2022.004

Inbound

Inbound (Review)

The cargo visit “inbound” event happens when the carriervisit arrival process ends (carriervisit.arrival.end = carriervisit.firsttimereadytowork) and the cargo transported by the carrier during the carriervisit is ready for being unloaded (carriervisit cargooperations can start).

CONCEPT EVENT

2022.004

Check-In

Check-in (Review)

The Check-in is the event that identifies the cargo incoming to the terminal from the administrative point of view.

CONCEPT EVENT

2022.004

Dwell

Dwell (Review)

The cargo visit dwell concept represents that the cargo is actually visiting a terminal from the administrative point of view. The status of the concept is “true”, between the moment the cargo is identified during the incoming of the cargo (check-in) and the moment of confirmation of the cargo’s departure (check-out).

CONCEPT STATUS

2022.004

Check-Out

Check-out (Review)

The Check-out is the event that identifies the cargo departure from the terminal from the administrative point of view.

CONCEPT

EVENT

2022.004

Outbound

Outbound (Review)

The cargo visit “outbound” event happens when the carriervisit departure process start (carriervisit.arrival.start = carriervisit.firsttimereadytodeparture) with the cargo (of the cargovisit).

CONCEPT EVENT

2022.004

Weight

Weight [REVIEW]

The force that gravity exerts upon the TIC 4.0 “subject”, equal to the mass of the payload multiplied by the local acceleration of gravity.

CONCEPT

2022.004

Gross

Gross [REVIEW]

The whole weight of the subject including the weight of the subject itself (tare) and all carried by it (nett).

OBSERVED PROPERTY

2022.004

Nett

Nett [REVIEW]

The whole weight of the subject (gross) not including the weight of the subject itself (tare).

OBSERVED PROPERTY

2022.004

Tare

Tare (Review)

The weight of the subject itself, only including its own weight without any extra payload it is carrying (nett).

OBSERVED PROPERTY

Schema JSON to FLAT

Release

Definition

Link

Definition

TIC4.0 semantic

2022.004

JSON Schema

JSON Schema (Review)

TIC 4.0 uses the JSON format as default because it allows us to express an array of subjects (for several subsubjects) or observed properties (for different combinations of timestamps, pom, pomt, names, etc). JSON is also the default file format for many protocols such as REST and MQTT extensively used to share data or publish IoT data. These arrays give us a high flexibility thanks to the hierarchical structure. Other hierarchical structures are possible in TIC 4.0 like XML but we recommend using JSON as default.

The hierarchical structure allows to include in one message many timestamps of many concepts per subject of many subjects per the main subject without limits.

DATA FORMAT

2022.004

JSON to FLAT

JSON to FLAT (Review)

The main goal of the conversion is to keep all the JSON information in the flat messages after the conversion.

This definition includes the most important rules to perform the JSON to FLAT conversion.

DATA FORMAT