Method for Converting a Binary Data Stream
AssigneeSiemens Aktiengesellschaft
InventorsJohannes Hund, Daniel Peintner
Life of this patent
Estimating the term…
Abstract
A method is provided for converting a binary data stream, (e.g., an EXI data stream). In an initialization phase of the method, a plurality of grammars, previously produced from at least one description language scheme, are read from a memory area and combined to form a combined grammar and wherein the combined grammar is supplied to a runtime environment for the purpose of converting the binary data stream. The method firstly permits substantially accelerated production of the desired grammar in comparison with a grammar produced as required from individual schemes, and secondly the memory space requirement may be kept down, because there is no need to keep a combinational variety of grammars available.
Claims19
A method for converting a binary data stream, the method comprising:
- forming a combined grammar in an initialization phase from a plurality of grammars, the forming including reading the plurality of grammars from a memory area and compiling the plurality of grammars into the combined grammar, wherein the plurality of grammars is generated in advance of the forming from at least one description language schema;
- and
- supplying the combined grammar to a runtime environment to convert the binary data stream.
A computer program product having program code configured to, when the computer program product is executed on a coding device or decoding device, cause the coding device or decoding device to at least perform:
- form a combined grammar in an initialization phase from a plurality of grammars, the forming including reading the plurality of grammars from a memory area and compiling the plurality of grammars into the combined grammar, wherein the plurality of grammars is generated in advance of the forming from at least one description language schema;
- and
- supply the combined grammar to a runtime environment to convert the binary data stream.
A coding device for converting a binary data stream, the coding device comprising:
- an initialization unit configured to read a plurality of grammars generated from at least one description language schema in advance from a memory area and compile the plurality of grammars to form a combined grammar;
- and
- a runtime unit configured to convert binary data, text format data, or both the binary data and the text format data of a description language, which are supplied to the coding device, into a binary data stream by applying the combined grammar.
A decoding device for receiving a binary data stream, comprising
- an initialization unit configured to read a plurality of grammars generated from at least one description language schema in advance from a memory area and compile the plurality of grammars to form a combined grammar;
- and
- a runtime unit configured to convert a binary data stream supplied to the decoding device into binary data, text format data, or both the binary data and the text format data of a description language by applying the combined grammar.
Dependencies are inferred from the claim text.