Apparatus and method for generating a data stream and apparatus and method for reading a data stream
AssigneeFraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V.
InventorsAlexander Zink, Markus Prosch, Olaf Korte, Christian Kellermann, Bernd Linz
Life of this patent
Estimating the term…
Abstract
When generating a data stream, text data, an escape-start-sequence, a first number of data units, an escape-continuation-sequence and a second number of data units are entered into a data stream. A base decoder displays only the text data and skips the data units referenced by the escape-start-sequence and the escape-continuation-sequence, while an extension decoder reads those data units and processes them together.
Claims11
A method for reading a data stream comprising:
- receiving the data stream, the data stream comprising first text, an escape-start-sequence defining a first set of data units, the first set of data units, an escape-continuation-sequence defining a second set of data units, the second of data units, and second text following the second set of data units, the escape-start-sequence including:
- an escape-start code signaling a beginning of the escape-start-sequence and a first length code identifying a first number of data units of the first set of data units;
- and
- the escape-continuation-sequence including:
- a continuation code signaling a beginning of the escape-continuation-sequence and a second length code identifying a second number of data units of the second set of data units;
- wherein the escape-start code is different from the continuation code, or, alternatively, the escape-start code and the continuation code are identical and the first length code includes a maximum length signal;
- wherein when the first length code includes the maximum length signal, a code following the first length code including the maximum length signal in the data stream is the continuation code of the escape-continuation-sequence;
- and
- wherein the first set of data units and the second set of data units are mutually exclusive;
- reading the first text;
- interpreting, by a computer processor, the escape-start-sequence by reading the escape-start code and the first length code,
- reading, by the computer processor, the first number of data units of the first set of data units based on the escape-start code and the first length code;
- interpreting, by the computer processor, the escape-continuation-sequence by reading the continuation code and the second length code;
- reading, by the computer processor, the second number of data units of the second set of data units based on the continuation code and the second length code;
- jointly processing, by the computer processor, the first set of data units and the second set of data units;
- and
- reading the second text;
- wherein
- the first text and the second text is displayed and the result of jointly processing the first and second sets of data units is output.
An apparatus for reading a data stream comprising:
- an input interface configured to receive the data stream, the data stream comprising first text, an escape-start-sequence defining a first set of data units, the first set of data units, an escape-continuation-sequence defining a second set of data units, the second set of data units, and second text following the second set of data units, wherein
- the escape-start-sequence includes an escape-start code signaling a beginning of the escape-start-sequence and a first length code identifying a first number of data units of the first set of data units,
- the escape-continuation-sequence includes a continuation code signaling a beginning of the escape-continuation-sequence and a second length code identifying a second number of data units of the second set of data units,
- the escape-start code is different from the continuation code, or, alternatively, the escape-start code and the continuation code are identical and the first length code includes a maximum length signal,
- when the first length code includes the maximum length signal, a code following the first length code including the maximum length signal in the data stream is the continuation code of the escape-continuation-sequence;
- the first set of data units and the second set of data units are mutually exclusive;
- the apparatus includes a processor configured to read the first text, configured to interpret the escape-start-sequence by reading the escape start code and the first length code, configured to read the first number of data units of the first set of data units based on the escape-start code and the first length code, configured to interpret the escape-continuation-sequence by reading the continuation code and the second length code, configured to read the second number of data units of the second set of data units based on the continuation code and the second length code, configured to jointly process the first set of data units and the second set of data units, and configured to read the second text;
- the apparatus includes a display configured to display the first text and the second text;
- and
- the apparatus is configured to output the result of jointly processing the first and second sets of data units.
A non-transitory computer-readable medium having a computer program with a program code for performing, when the computer program runs on a computer, a method for reading a data stream comprising:
- receiving the data stream, the data stream comprising first text, an escape-start-sequence defining a first set of data units, the first set of data units, an escape-continuation-sequence defining a second set of data units, the second set of data units, and second text following the second set of data units, the escape-start-sequence including:
- an escape-start code signaling a beginning of the escape-start-sequence and a first length code identifying a first number of data units of the first set of data units;
- and
- the escape-continuation-sequence including:
- a continuation code signaling a beginning of the escape-continuation-sequence and a second length code identifying a second number of data units of the second set of data units;
- wherein the escape-start code is different from the continuation code, or, alternatively, the escape-start code and the continuation code are identical and the first length code includes a maximum length signal;
- wherein when the first length code includes the maximum length signal, a code following the first length code including the maximum length signal in the data stream is the continuation code of the escape-continuation-sequence;
- and
- wherein the first set of data units and the second set of data units are mutually exclusive;
- reading the first text;
- interpreting the escape-start-sequence by reading the escape-start code and the first length code;
- reading the first number of data units of the first set of data units based on the escape-start code and the first length code;
- interpreting the escape-continuation-sequence by reading the continuation code and the second length code;
- reading the second number of data units of the second set of data units based on the continuation code and the second length code;
- jointly processing the first set of data units and the second set of data units;
- and
- reading the second text;
- wherein
- the first text and the second text is displayed and the result of jointly processing the first and second sets of data units is output.
A method for reading a data stream comprising:
- receiving the data stream, the data stream comprising first text, an escape-start-sequence defining a first set of data units, the first set of data units, an escape-continuation-sequence defining a second set of data units, the second set of data units, and second text following the second set of data units, the escape-start-sequence including:
- an escape-start code signaling a beginning of the escape-start-sequence and a first length code identifying a first number of data units of the first set of data units;
- and
- the escape-continuation-sequence including:
- a continuation code signaling a beginning of the escape-continuation-sequence and a second length code identifying a second number of data units of the second set of data units;
- wherein the escape-start code is different from the continuation code, or, alternatively, the escape-start code and the continuation code are identical and the first length code includes a maximum length signal;
- wherein when the first length code includes the maximum length signal, a code following the first length code including the maximum length signal in the data stream is the continuation code of the escape-continuation-sequence;
- and
- wherein the first set of data units and the second set of data units are mutually exclusive;
- reading the first text;
- interpreting, by a computer processor, the escape-start-sequence by reading the escape start code and the first length code, and identifying the first number of data units to be skipped from the first length code;
- skipping, by the computer processor, the first number of data units;
- interpreting, by the computer processor, the escape-continuation-sequence by reading the continuation code and the second length code, and identifying the second number of data units to be skipped from the second length code;
- skipping, by the computer processor, the second number of data units;
- reading the second text;
- and
- displaying, on a display, the first text and the second text without the data units of the first and second sets of data units.
An apparatus for reading a data stream, comprising:
- an input interface configured to receive the data stream, the data stream comprising first text, an escape-start-sequence defining a first set of data units, the first set of data units, an escape-continuation-sequence defining a second set of data units, the second set of data units, and second text following the second set of data units;
- wherein
- the escape-start-sequence includes an escape start code signaling a beginning of the escape-start-sequence and a first length code identifying a first number of data units of the first set of data units,
- the escape-continuation-sequence includes a continuation code signaling a beginning of the escape-continuation-sequence and a second length code identifying a second number of data units of the second set of data units,
- the escape-start code is different from the continuation code, or, alternatively, the escape-start code and the continuation code are identical and the first length code includes a maximum length signal,
- when the first length code includes the maximum length signal, a code following the first length code including the maximum length signal in the data stream is the continuation code of the escape-continuation-sequence;
- the first set of data units and the second set of data units are mutually exclusive;
- the apparatus includes a processor configured to read the first text, configured to interpret the escape-start-sequence by reading the escape start code and the first length code, configured to identify, from the first length code, the first number of data units of the first set of data units to be skipped, configured to skip the first number of data units, configured to interpret the escape-continuation-sequence by reading the continuation code and the second length code, configured to identify, from the second length code, the second number of data units of the second set of data units to be skipped, configured to skip the second number of data units, and configured to read the second text;
- and
- the apparatus includes a display configured to display the first text and the second text without the data units of the first and second sets of data units.
A non-transitory computer-readable medium having a computer program with a program code for performing, when the computer program runs on a computer, a method for reading a data stream comprising:
- receiving the data stream, the data stream comprising first text, an escape-start-sequence defining a first set of data units, the first set of data units, an escape-continuation-sequence defining a second set of data units, the second set of data units, and second text following the second set of data units, the escape-start-sequence including:
- an escape-start code signaling a beginning of the escape-start-sequence and a first length code identifying a first number of data units of the first set of data units;
- and
- the escape-continuation-sequence including:
- a continuation code signaling a beginning of the escape-continuation-sequence and a second length code identifying a second number of data units of the second set of data units;
- wherein the escape-start code is different from the continuation code, or, alternatively, the escape-start code and the continuation code are identical and the first length code includes a maximum length signal;
- wherein when the first length code includes the maximum length signal, a code following the first length code including the maximum length signal in the data stream is the continuation code of the escape-continuation-sequence;
- and
- wherein the first set of data units and the second set of data units are mutually exclusive;
- reading the first text;
- interpreting the escape-start-sequence by reading the escape start code and the first length code, and identifying the first number of data units to be skipped from the first length code;
- skipping the first number of data units;
- interpreting the escape-continuation-sequence by reading the continuation code and the second length code, and identifying the second number of data units to be skipped from the second length code;
- skipping the second number of data units;
- reading the second text;
- and
- displaying the first text and the second text without the data units of the first and second sets of data units.
Dependencies are inferred from the claim text.