Object identification code decoding schemes via regular expressions
AssigneeSap SE
InventorsBernd Roedel, Tobias Buschmann
Life of this patent
Estimating the term…
Abstract
Object identification codes can be decoded via an object identification code decoding scheme definition having regular expressions. The definition is configurable via editing non-programming-code text representing the definition. A variety of decoding schemes can be supported, including GS1-based schemes, and other schemes that support order-based decoding, multiple field occurrences, and the like. Fields can be implemented as global field names. The technologies are useful for providing flexible object identification code decoding without having to engage in cumbersome programmatic decoding approaches. Barcode, radio frequency identification (RFID), and near-field communication (NFC) implementations can be supported.
Claims20
A computer-implemented method comprising:
- receiving an object identification code input string representing a scanned object identification code;
- repeatedly applying an object identification code decoding scheme definition against the object identification code input string, wherein the object identification code decoding scheme definitions comprises a plurality of regular expressions and the repeatedly applying identifies fields with field values in the object identification code input string with the regular expressions of the object identification code decoding scheme definition, wherein the fields have respective field names;
- and
- outputting the field names and field values.
A computing system comprising:
- at least one hardware processor;
- at least one memory coupled to the at least one hardware processor;
- a stored internal representation of an object identification code decoding scheme definition, wherein the object identification code decoding scheme definition comprises a plurality of regular expression, field name pairs that map regular expressions to respective field names;
- an object identification code parser configured to accept an object identification code input string and the object identification code decoding scheme definition as input, wherein the object identification code parser is configured to parse the object identification code input string according to the object identification code decoding scheme definition as specified in the regular expression, field name pairs, wherein the object identification code parser is configured to output field name, value pairs based on regular expression pattern matches found in the object identification code input string.
One or more non-transitory computer-readable media comprising computer-executable instructions that, when executed by a computing system, cause the computing system to perform operations comprising:
- receiving a barcode input string representing a barcode scanned by a barcode scanner;
- repeatedly applying a barcode decoding scheme definition against the barcode input string, wherein the repeatedly applying identifies global field names and field values in the barcode input string based on regular expressions in the barcode decoding scheme definition;
- and
- outputting the global field names and field values;
- wherein the barcode decoding scheme definition comprises configuration information mapping the regular expressions to respective global field names;
- and
- wherein the barcode decoding scheme definition is configurable via editing non-programming-code text representing the barcode decoding scheme definition.
Dependencies are inferred from the claim text.