Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND SYSTEM FOR STORING AND RETRIEVING PACKAGING RELATIONSHIPS
Document Type and Number:
WIPO Patent Application WO/2014/098610
Kind Code:
A1
Abstract:
A method and system for storing and retrieving a packaging hierarchy (305) of traceable physical items (350), comprising; - at an item marking location (300), marking (3) physical items (350) to be packaged in the packaging hierarchy (305), with a unique code (200) with a first and second identifier (201, 202), - transferring packaging relationships (303) between the codes (200) to a track and trace system (100), - identifying (6) for each code (200) in the packaging relationships (303), hierarchical code relations (304) expressed as parent and/or child codes (200), - for each the code (200), storing (7) the hierarchical code relations (304) in a section (111) of a data storage location (110) of the first computer system (100), wherein a start position (112) of the section (111) is determined by a combination of the first and second identifiers (201, 202) of the code (200).

Inventors:
LØKEN MAGNAR (NO)
HARALDSEN MORTEN (NO)
Application Number:
PCT/NO2013/050222
Publication Date:
June 26, 2014
Filing Date:
December 13, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
KEZZLER AS (NO)
International Classes:
G06Q10/08; G06F17/30
Foreign References:
EP2306377A12011-04-06
EP2472450A12012-07-04
Other References:
WU, Y. ET AL.: "RFID enabled traceability networks: a survey.", DISTRIBUTED AND PARALLEL DATABASES, vol. 29, no. 5-6, 2011, pages 397 - 443
Attorney, Agent or Firm:
FLUGES PATENT AS (Gamle Fredrikstad, NO)
Download PDF:
Claims:
Claims

1. A method for storing and retrieving a packaging hierarchy (305) of traceable physical items (350), comprising the steps of;

- at an item marking location (300), marking (3) two or more physical items (350) to be packaged in said packaging hierarchy (305), each with a unique code (200) comprising at least a first identifier (201) and a second identifier (202), and

- transferring (5) packaging relationships (303) between said codes (200) of said marked physical items (350) from a packaging computer system (301), to a first computer system (101) of a track and trace system (100),

- in said first computer system (101) identifying (6) for each said code (200) in said packaging relationships (303), hierarchical code relations (304) expressed as parent and/or child codes (200),

- for each said code (200), storing (7) said hierarchical code relations (304) in a section (111) of a data storage location (110) of said first computer system (100), wherein a start position (112) of said section (111) is determined by a combination of said first and second identifiers (201, 202) of said code (200) of said marked physical item (350).

2. A method for storing and retrieving a packaging hierarchy (305) of traceable physical items (350) according to claim 1, comprising the steps of

- re-packaging (10) said physical items (350) into updated packaging relationships (403) in a re-packaging location (400),

- transferring (12) said updated packaging relationships (403) to said first computer system (101) of said track and trace system (100),

- in said track and trace system (100) identifying (13) for each said code (200) in said updated packaging relationships (403), updated hierarchical code relations (304) expressed as parent and/or child codes (200), and

- for each said code (200), adding (14) said updated hierarchical code relations (304) to said section (111) of said data storage location (110), wherein a start position (112) of said section (111) is determined by said combination of said first and second identifiers (201, 202) of said code (200) of said marked physical item (350).

3. A method for storing and retrieving a packaging hierarchy (305) of traceable physical items (350) according to any of the claims 1 or 2, comprising the step of

- registering (4), in said packaging computer system (301), said packaging hierarchy (305) in an aggregate data file (302) comprising said packaging relationships (303),

- transferring (5) said aggregate data file (302) to said first computer system (101) of said track and trace system (100),

- in said first computer system (101) identifying (6) hierarchical code relations (304) expressed as parent and/or child codes (200) for each said code (200) from said packaging relationships (303) in said aggregate data file (302).

4. A method for storing and retrieving a packaging hierarchy (305) of traceable physical items (350) according to any of the claims 1 to 3, wherein said step of identifying (6) hierarchical code relations (304) comprises transforming said packaging relationships (303) to hierarchical code relations (304) expressed as parent and/or child codes (200).

5 A method according to claim 1 or 2, comprising the steps of;

- entering (20) one or more codes (200) in a computer based terminal (501) in a tracing location (500),

- transferring (21) said codes (200) from said tracing location (500) to said track and trace system (100),

- identifying (22) said first and second identifiers (201, 202) of said codes (200) in said track and trace system (1) determining said start position (112) of said section (111) of said storage location (110) in said track and trace system (100),

- retrieving (23) said hierarchical code relations (304) stored in said section (111) for said codes (200),

- transferring (24) said hierarchical code relations (304) back to said computer based terminal (501).

6. A method according to claim 5, comprising the step of retrieving (23a) one or more tracking records (130) for a parent marked physical item (350) wherein said tracking records (130) are stored in a second storage location (150) of said computer (101) in said track and trace system (100), and wherein a position of said tracking records (130) is determined by a combination of said first and second identifiers (201, 202) of a code (200) of a parent marked physical item (350) obtained in said step of retrieving (23) said packaging relationships (303) and updated packaging relationships (403).

7. A method according to any of the claims 1 to 4, wherein the step of

transferring (5) comprises transferring an item parameter (120) for each marked physical item (350) in said packaging relationship structure (302), and said step of identifying (6) comprises identifying said item parameter (120), and said step of storing (7) comprises storing said item parameter (120) in said section (111).

8. A method according to any of the claims above, comprising the following steps;

- encrypting (E) said codes (200) with a unique key (303) before said codes are marked on said physical items (350), and

- decrypting (D) said codes (200) with said unique key (303).

9. A track and trace system (100) arranged for storing and retrieving a packaging hierarchy (305) of traceable physical items (350), comprising;

- a first computer system (101) with one or more data storage locations (110), each with one or more sections (111),

said first computer system (101) arranged for;

- receiving packaging relationships (303) between unique codes (200) marked on said physical items (350) from a packaging computer system (301), wherein each code (200) comprises at least a first identifier (201) and a second identifier (202),

- identifying (6) hierarchical code relations (304) expressed as parent and/or child codes (200) for each said code (200) in said packaging relationships (303), and

- storing (7) said hierarchical code relations (304) for each said code (200) in said section (111),

wherein a start position (112) of said section (111) is determined by a combination of said first and second identifiers (201, 202) of said code (200) of said marked physical item (350).

10. A track and trace system (100) arranged for storing and retrieving a packaging hierarchy (305) of traceable physical items (350) according to claim 9, wherein said first computer system (101) is arranged for receiving an aggregate data file (302) comprising said packaging relationships (303) and identifying said hierarchical code relations (304) from said aggregate data file (302).

Description:
METHOD AND SYSTEM FOR STORING AND RETRIEVING PACKAGING RELATIONSHIPS

Field of the invention

[0001] The invention relates to the storage and retrieval of track and trace information. More specifically it relates to a system and method for storing and retrieving a packaging hierarchy of traceable physical items marked with a unique code. Re-packaging at various distribution points in the supply chain when the products are on their way to their end customers is supported by the invention.

Background of the Invention

[0002] Track and Trace systems for tracking and tracing of manufactured items is well known in the industry. Counterfeiting affects both the manufacturer and the public. E.g. in the field of pharmaceuticals, fake medicines may have no effect, or they can have dangerous side effects.

[0003] The systems used for preventing counterfeiting are implemented in a number of different ways.

[0004] One group of technology in the field is concerned with how to mark items and how to read back the information from the items to avoid copying of products. To avoid copying, the items can be marked with invisible markers, encrypted codes, RFID tags etc. It should be difficult for a counterfeiter to discover and decipher the information marked on the item, since this would enable the counterfeiter to copy the items and the marking in a way that would lead a consumer to believe they buy the original product.

[0005] Another group of technology is more concerned with how to follow, or trace an item from the manufacture to the end customer. By controlling the supply chain, and especially what happens to the items when being received and shipped in the distribution points, the possibility of successful counterfeiting or other fraudulent activities is reduced. This is commonly referred to as secure track and trace.

[0006] A secure track and trace system is surveying and managing all goods having been marked and registered with a unique identifier, and at the same time controlling all parties allowed to handle the products, all the way from the manufacture to the end consumer.

[0007] Track and trace systems according to background art works in the way that product items and associated transportation units are marked with a unique identifier. This identifier is then utilized to continuously authenticate the product in the supply chain. If the authentication process has a positive outcome, i.e. the product and code has been determined to be genuine, additional information related to the product and the present stage of the supply chain may be recorded and stored for later retrieval and analysis. The pivotal information that is recorded during the addition of a new tracking record is the identity of the product or transportation unit, the location and the time and also information about the operator. If available, the devices and method by which the product was authenticated, as well as other circumstantial and pertinent information may also be recorded in the tracking record.

[0008] This series of tracking records recorded by the track and trace system will result in a complete history of the handling of the product in the supply chain, that might be presented and audited at any time for security or other purposes.

[0009] The two groups of technologies described above are often combined to ensure maximum control of the supply chain and the end users confidence in the purchased goods.

[0010] European patent publication EP2104067A1 describes a method and apparatus for identifying, authenticating, tracking and tracing manufactured items in containers, where each container is suitable for containing one or more units.

[0011] US patent application 2011/0154046A1 describes a method and apparatus for storage of data for a batch of manufactured items. Each item is marked with a unique identifier from a set of unique identifiers within a pre-defined range. The number of unique identifiers is larger than the number of manufactured items, and some of the unique identifiers within the range will not be used. The unused identifiers are identified.

[0012] US patent application 2012/0130868A1 discloses a system and a method for tracking and tracing items comprising generating a group of unique codes, wherein each code is a unique encrypted reference, transferring the unique codes to an item marking location and marking the items. An item can be tracked by transferring the code marked on the item to the track and trace system where it is decrypted, and based on the unique code, creating a tracking record in a unique storage location, where the unique reference refers to the unique storage location. A tree structure resembling the packaging hierarchy is disclosed, where the nodes in the tree are referenced by the unique code.

[0013] Very seldom a product is sent directly from the factory to the end customer. As an example the smallest sellable item may be a first package of medicine comprising 20 capsules. 10 first packages are stored in a second package, 50 second packages are stored in a third package and 100 third packages are transported on the same pallet from the factory. Then, to continue the example, the pallet is transported to the first distribution point. Here 30 of the third packages on the pallet are loaded onto a new pallet together with other packages. In the next distribution point one of the third packages are unpacked and the 50 second packages inside are put in different new boxes with other goods having the same destination. This re-packaging may go on until the products reach their final destination.

[0014] According to the standardization organisation GS1, a traceable item is a physical object where there may be a need to retrieve information about its history, application, or location. The level at which the traceable item is defined within a product packaging or logistical hierarchy is dependent on the industry and degree of control required. A traceable item may be related to another traceable item.

[0015] According to the principles of secure track and trace, the location of each packaged item should be traceable at any time. However, usually only the visible items, i.e. the outer packages, and not the inner, are tracked and traced in the distribution points, since it would be impractical to open all packages in every location just to see what they contain. Further, this natural temporarily concealment of the inner items is a security benefit in itself since their unique codes are protected from being known by parties with malicious intents. Various procedures and spot checks can utilize this concealment for security purposes. It is therefore important to know the packaging relationships of an item, e.g. the identity of the third package in the example above comprising the specific traced second package. The specific third package will in this case be the parent. Likewise, if the third package was traced, the identity of all the second packages it contains should be available. The second packages are child items of the third package. In essence the packaging structure that relates all items with with all the other items, makes it possible when knowing a given item and its code, to implicitly manage and trace other items and codes based on that said code, without the need to read or otherwise record those codes as such.

[0016] Most track and trace systems use tracking records in a database to store information about the items in the supply chain as described above. However, one of the problems with databases is that for very large numbers of items the performance needed to provide an acceptable level of system response time has found to be too unpredictable as well as inadequate, since an index for the large amounts of data has to be managed. For the handling of large-amounts of re-packaged items, this problem increases. [0017] The background art does therefore not disclose how to handle significant volumes of packaging structures and re-packaging of items in the track and trace system during their progress and advance in the supply chain in an effective way.

Figure captions

[0018] Figure 1 illustrates example packaging hierarchies after initial packaging and re-packaging, where each of the physical items are marked with an identifying number. Fig. la illustrates the packaging hierarchy used further in Fig. 2, while Fig. lb and lc exemplifies more complex hierarchies and re-packaging. In all figures some parent and child relationships are shown.

[0019] Figure 2 illustrates in a schematic view embodiments of the invention.

[0020] Figure 3 illustrates the same example packaging hierarchies as in Fig. 1, but now with two level codes identifying the physical items.

[0021] Fig. 4 illustrates in a schematic view how the tracking records of a root containing physical item can be found by walking through the hierarchical code relations according to the invention before querying the tracking records of the root container.

[0022] Fig. 5 illustrate in a schematic view encryption of codes before marking on physical items (200) and decryption of the codes (200) before performing any action in the track and trace system. Short summary of the invention

[0023] In the present invention a method and a system that is able to handle repackaging of marked physical items are disclosed. The method and system discloses storage and retrieval of the initial parent and child packaging relationship as well as later modified packaging relationships as a result of re-packaging of the marked physical items.

[0024] In the field of track and trace, the number of items handled may be very large. It is therefore important that the track and trace system can provide the required response for updating information related to re-packaging of the physical items, as well as for the response when specific items are traced. A side effect of re- packaging a specific physical item is that the physical item itself can be a container that contains other containers etc., and the number of child items affected by the repackaging may be large. [0025] The invention discloses a data structure for re-packaging where only a small update of information is required for a re-packaging involving a large number of elements in a distribution centre.

[0026] In addition the invention also discloses a data format with a small footprint that allows large data-structures to be stored in a limited memory. However, most important is that the combination of the data structure and the data format allows fast writing to- and reading from the memory where the information is stored.

[0027] With the proposed data format the complete packaging information, including the packaging history for a marked physical item will typically be well within the cluster size of 4 kB which is default for most file systems.

[0028] The invention is in a preferred embodiment a method for storing and retrieving a packaging hierarchy of traceable physical items, comprising the steps of;

- at an item marking location, marking two or more physical items to be packaged in the packaging hierarchy, each with a unique code comprising at least a first identifier and a second identifier, and

- transferring packaging relationships between the codes of the marked physical items from a packaging computer system, to a first computer system of a track and trace system,

- in the first computer system identifying for each the code in the packaging relationships, hierarchical code relations expressed as parent and/or child codes,

- for each the code, storing the hierarchical code relations in a section of a data storage location of the first computer system, wherein a start position of the section is determined by a combination of the first and second identifiers of the code of the marked physical item.

[0029] The invention is also a corresponding track and trace system arranged for storing and retrieving a packaging hierarchy of traceable physical items, comprising;

- a first computer system with one or more data storage locations, each with one or more sections,

the first computer system arranged for;

- receiving packaging relationships between unique codes marked on the physical items from a packaging computer system, wherein each code comprises at least a first identifier and a second identifier,

- identifying hierarchical code relations expressed as parent and/or child codes for each the code in the packaging relationships, and

- storing the hierarchical code relations for each the code in the section as described above. [0030] According to an embodiment of the method, re-packaging may be performed by;

[0031] - re-packaging the physical items into updated packaging relationships in a re-packaging location,

- transferring the updated packaging relationships to the first computer system of the track and trace system,

- in the track and trace system identifying for each the code in the updated packaging relationships, updated hierarchical code relations expressed as parent and/or child codes, and

- for each the code, adding the updated hierarchical code relations to the section of the data storage location, wherein a start position of the section is determined by the combination of the first and second identifiers of the code of the marked physical item.

[0032] One of the major advantages of the invention is this possibility to manage a dynamic mix and match of products in the form of marked physical items (350) in the supply chain that comprises re-packaging and re-organisation of the physical items.

[0033] When the method and system according to the invention is applied, it is not necessary to store tracking records for items that have a parent container. If we consider a real-life example where a container may contain e.g 1000 marked physical items, it is seen that the savings in storage capacity may be considerable, since only the one code is used to trace the other thousand implicitly.

[0034] One of the main advantages of the invention is that the same principle may be applied even if re-packaging occurs one or more times in the supply chain. The section will always contain the latest parent-child relationships of the marked physical item requested and based on this, the containing parent and contained children can be found before querying only the necessary tracking records which are larger and consequently slower to query than the parent-child relationships.

[0035] Another benefit of the present invention is that there are no restrictions of how the original source or sources of codes to be marked on the physical items are organised or structured in relation and compared to the resulting packaging structure and its actual recorded parent-child relations. For instance this means that the codes can be marked onto any product item completely freely. For instance there is no need put codes on the physical items in any type of sequence or any other predetermined dispensing algorithm or procedure or method or synchronisation or arrangement. This is very beneficial as it would be very hard and impact production efficiency if it was required to mark a product item with what would be a pre-determined code during live production in real life. With the present invention any code can go onto any physical item. During the essentially "random" production process a given code can therefore end up been marked onto a single item such as a cigarette pack, as a carton, or a master case or the shipping pallet, in case of a tobacco packaging line.

[0036] Further this means that for internal arrangement or structure or format of the codes on the code source can be implemented in many ways, such as for instance being stored as codes in a file, or being generated by a code generation device or system at the marking location just immediately before being marked on the physical item.

[0037] The way and the procedures and methods employed to establish the actual resulting packaging structure, which principally includes marking the physical items and then recording the parent-child relationships that comprises the packaging structure can be designed and selected completely freely to suit the best method for a given production line or process. The present invention does not involve this process, but however one benefit of the present invention is that it makes it possible that it can be freely chosen without impacting storage of the packaging structure in the track and trace system.

[0038] Further the present invention makes it possible to record and store the parent-child relations freely in any type of format or structure or arrangement that will work as an intermediate storage before being transferred to the track and trace system. In the track and trace system this data and information will be then be converted and stored according to the present invention. The important feature of this storage and structure received from the marking and packaging process is that all parent-child relationships can be interpreted and extracted by another computer system.

[0039] As the updated and changed relationships are added, one benefit of the invention is that the complete history for a child code, that means all the relations that the child code has ever had is read out very efficiently as they all are stored as a coherent stream of data that are densely packed together.

Embodiments of the invention

[0040] With reference to the attached drawings the method and the system according to the invention will now be explained in more detail.

[0041] Fig. la, lb and lc illustrate by way of examples the lifetime of some packages in a supply chain from the manufacturing or packaging location via distribution centres to the end customer. For this invention, the marking of the packages with a unique code is important, and the location where marking is performed is named marking location (300). The marking location (300) may also be the location where the packages are manufactured and initially packaged. While unmarked packages may be part of the distribution, e.g. the innermost partition of packages not meant for sale, they will not be individually traced, and will therefore not be further treated in this document. The packages that have been marked with a unique code are named marked physical items (350). A marked physical item (350) may be a container for other marked physical items (350). This is shown in the upper part of Fig. lb. In the example each marked physical item (350) is marked with a unique identifier e.g.

printed onto the marked physical items (350).

[0042] The marked physical items (350) will usually pass through one or more distribution centres where the marked physical items (350) may be re-packaged and loaded onto a new carrier. The distribution centres are in the following named repackaging locations (400). The final destination with the end customer is not shown in the Figures.

[0043] In Fig. la, lb and lc, the filled squares represent marked physical items (350) that are intended for further distribution, while the empty squares represent physical items (350) that are not intended for further distribution e.g. because they are empty after removing all the contained physical items (350) in a distribution point. The sizes of the squares have no significance except for illustration purposes.

[0044] Parent and child relationships for a marked physical item (350) play an important role in the invention, and in the following examples it will be shown how child and parent relationships may be altered due to re-packaging.

[0045] In the example shown in Fig. la the parent and child relationships for marked physical item (350) marked with unique identifier 13 is shown after initial marking (A) and after re-packaging (B). After initial marking and packaging the parent (P) marked physical item (350) is 18 and the child (C) marked items (350) are 11 and 12. In the re-packaging location (400) 13 and 15 are taken out of the parent container 18 which is now empty and not used for further distribution in this example. 13 and 15 are further distributed from the re-packaging location (400). After re-packaging 13 has no parent relationship while it still contains the same child items 11 and 12.

[0046] Considering now the example in Fig. lb, where two container marked physical items (350) 18 and 38 are shipped from the marking location (300), where the upper container 18 is similar to the container in the previous example. The products in the two containers may be from the same production batch or from different production batches and can contain similar products or different products. They may also each contain a mixture of different products already at the marking location (300), or mix product types in any of the distribution points or re-packaging location along the way. One of the major advantages of the invention is this possibility to manage a dynamic mix and match of products in the form of marked physical items (350) in the supply chain.

[0047] For marked physical item (350) with the code 18 everything is similar to the example in Fig. la after the first re-packaging location (400). In the next repackaging location (400), right in Fig. lb, container 13 is opened to remove the child package 11. However, note that child 12 still remains in 13. Since marked physical item (350) 45 is to be sent to the same destination as 12 and 13, and there now is room in 13, 41 is unpacked to liberate 45, which is moved to 13. After re-packaging 13 now has 12 and 45 as child packages, while 45 has 13 as parent and in this example contains 51 and 52, which is the same as it did initially in the marking location (300).

[0048] The examples provided in Fig. la and lb are just examples of marking, packaging and re-packaging used to explain the invention. In real life package distribution, the lifetime of a marked physical item (350) may be much more complex. First, of all the number of packaging levels, i.e. how the number of parent levels between the innermost marked physical item (350), may be larger or smaller. Second, the size of the marked physical items (350) with the same parent may, or may not vary. Third, the number of re-packaging locations (400) may be smaller or larger. Fourth, the complexity of the re-packaging may be much more complex than shown in Fig. la and lb. Packages involved in repackaging may come from different factories and arrive in the re-packaging location at different times. In the example only two different packages are shown to be re-packaged together, however, there is no limitation, other than physical, how many packages of different types that may be assembled into a container. In addition the number of levels of re-packaging may be larger than one.

[0049] In Fig. lc a bit more complexity during re-packaging in the re-packaging location (400) where the incoming packages are the same as in the right most repackaging location (400) of Fig. lc is shown by way of an example. E.g. if 45 contains 51 and 52, and 46 contains 61 and 62, then 52 could have been taken out of 45 and replaced with 61 from 46 before 45 had been re-packaged into 13.

[0050] Re-packaging like this may happen in other re-packaging locations (400), or distribution centres along the supply chain.

[0051] According to prior art as described previously, several tracking records for each marked physical items (350) would typically be stored in a database to reflect the changes taking effect in each re-packaging location. However, a database is not well suited for dynamically updating- or fast lookup of packaging hierarchies.

[0052] It has been an object of the invention to support complex re-packaging as described above, where the shortcomings in background art are solved . The embodiments of the invention supporting re-packaging will now be described in more detail.

[0053] Fig. 2 illustrates in an example physical and methodical elements according to an embodiment of the invention. To facilitate reading of the figure, methodological steps are indicated with a circle and arrow.

[0054] The main, rounded rectangles of the figure represent different locations where the actions may taking place, and where apparatus and devices, such as computers or computer terminals may be located. More specifically, the reference numbers (300), (400) and (500) indicate locations that are typically involved during the distribution of marked physical items (350).

[0055] The marking location (300) is where the physical items (350) are marked with a unique code (200), and will typically be part of a factory where the products are manufactured and packed. However, what is important for the invention is that the physical items are marked and packed in the marking location (300). Note that a marked physical item (350) can be a container for smaller marked physical items (350). Whether the products in the marked physical items (350) are manufactured here or somewhere else is of little importance. After the marking in the marking location (300) the physical items are sent to the first re-packaging location (400).

[0056] The re-packaging location (400) is typically a distribution centre where some of the outer containers or marked physical items (350) are opened and one or more of the inner marked physical items (350) are taken out and further distributed alone or put in another physical item (350) together with some other marked physical items (350).

[0057] The tracing location (500) may be any location where there is a need to retrieve information about a specific marked physical item (350). Typically parties with some sort of ownership of the distribution process or the distributed products may have the possibility to retrieve details of a marked physical item (350). The end customer may also have access to this service, at least in a restricted version.

[0058] In the bottom of the figure the track and trace system (100), which is the main element of the invention, is shown. In any of the embodiments explained below the track and trace system (100) may be in a physical location different from the marking location (300). This is useful when the track and trace system (100) is used to manage products from many manufacturers or many manufacturing locations, and is the more common situation. However, it is also within the scope of the present invention that the the track and trace system (100) is co-located with the marking location (300). This situation may arise if the marking location (300) is used to mark physical items (350) from many manufacturing sites, or if there is only one large manufacturing and marking location (300).

[0059] In order to follow and trace the physical items they have to be marked with a unique code (200). There may be different strategies for which items to mark with the code (200), however, items that are not marked cannot be traced if they are not in a marked container packaged item (350). The deepest level of marking will usually depend on the smallest packaged item (350) that is distributed on its own. In the example in Fig. 1, three levels of marked physical items (350) are shown.

[0060] To make it easier to understand the example in Fig. 2, the packaging relationships between the marked physical items (350) are the same as in Fig. la, lb and lc.

[0061] However, the identifiers of the physical items (350) are now the two-level unique code (200) instead of the single level identifier in Fig. la, lb and lc.

[0062] In Fig. 3a, 3b and 3c the packaging relationships corresponding to the packaging relationships in Fig. la, lb and lc respectively are shown, but here with a two level unique code (200) identifier. This also corresponds to the marking in Fig. 2.

[0063] At the highest packaging level it can be seen that the physical item (350) marked with the unique code (200) 3,18 contains two physical items (350) marked with the codes (200) 3, 13 and 3,15. The physical items (350) marked with the code (200) 3,13 and 3,15 further contains two physical items (350) marked with the codes (200) 3,11 and 3,12, and 3,16 and 3,17 respectively. The physical items (350) marked with the codes (200) 3,11, 3,12, 3,16 and 3,17 may also contain items, but they are not marked with a unique code (200).

[0064] The invention is in a preferred embodiment a method for storing and retrieving a packaging hierarchy (305) of traceable physical items (350), comprising the steps of;

- at an item marking location (300), marking (3) two or more physical items (350) to be packaged in the packaging hierarchy (305), each with a unique code (200) comprising at least a first identifier (201) and a second identifier (202), and

- transferring (5) packaging relationships (303) between the codes (200) of the marked physical items (350) from a packaging computer system (301), to a first computer system (101) of a track and trace system (100),

- in the first computer system (101) identifying (6) for each the code (200) in the packaging relationships (303), hierarchical code relations (304) expressed as parent and/or child codes (200),

- for each the code (200), storing (7) the hierarchical code relations (304) in a section (111) of a data storage location (110) of the first computer system (100), wherein a start position (112) of the section (111) is determined by a combination of the first and second identifiers (201, 202) of the code (200) of the marked physical item (350).

[0065] According to an embodiment the invention is also a track and trace system (100) arranged for storing and retrieving a packaging hierarchy (305) of traceable physical items (350), comprising;

- a first computer system (101) with one or more data storage locations (110), each with one or more sections (111),

the first computer system (101) arranged for;

- receiving packaging relationships (303) between unique codes (200) marked on the physical items (350) from a packaging computer system (301), wherein each code (200) comprises at least a first identifier (201) and a second identifier (202),

- identifying (6) hierarchical code relations (304) expressed as parent and/or child codes (200) for each the code (200) in the packaging relationships (303), and

- storing (7) the hierarchical code relations (304) for each the code (200) in the section (111), wherein a start position (112) of the section (111) is determined by a combination of the first and second identifiers (201, 202) of the code (200) of the marked physical item (350).

[0066] The description below applies to both the method and the system according to the invention.

[0067] The steps of the method according to his embodiment will now be described in more detail with reference to the examples given above.

[0068] In this embodiment the unique codes (200) before being marked on the physical items (350) may have been generated by any system capable of generating such codes, since they have no relationship to any physical item (350) before marking. At the marking location (300) the physical items are then marked (3) with the codes (200) and become marked physical items (350). Note that not all the available codes (200) have to be used.

[0069] Two or more marked physical items (350) are then packaged, where some of the marked physical items (350) are containers for other marked physical items (350). This packaging process results in a packaging hierarchy (305) between the marked physical items (350) where each marked physical items (350) may have parent and/or child relationships. If the marked physical items (350) are contained in a container, the container is the parent. If the marked physical item (350) contains other marked physical items (350), the contained marked physical items (350) are children. The packaging hierarchy (305) is hierarchical. It will then be understood that the packaging hierarchy (305) will resemble a tree structure, where the root, or hierarch, in the tree is the highest level parent, i.e. the container marked physical item (350) that contains all the other marked physical items (350). In Fig. 2, the package, or marked physical item (350) marked with the code (200) 3,18 is the root in the packaging hierarchy in the marking location (300).

[0070] After the marking (3) and registration (4) steps, the packaging relationships (303) are transferred (5) to the track and trace system (100).

[0071] There are several ways of performing this transfer of information. Typically the packaging tree structure (302) is then transferred over the Internet from the second computer system (301) to a computer system (301) of the Track and Trace system (100). However, any other transfer of the codes, encrypted or unencrypted could be used.

[0072] In an embodiment the packaging relationships (303) are sent in directly to the track and trace system (100) as a data stream. This could be the case if the packaging computer system (301) sends packaging relationships (303) e.g . each time a package is marked, and the unique code (200) of the parent is known. The packaging relationships (303) could then be sent in chunks, or one-by-one without having to store the information in the packaging computer system (301) of the item marking location (300).

[0073] Another way of performing this transfer of packaging relationships (303) is to store the packaging relationships (303) in a data structure in a data file or memory of the packaging computer system (301) before transferring the file with the aggregated information to the track and trace system (100).

[0074] According to an embodiment of the invention the method then comprises registering (4), in the packaging computer system (301), the packaging hierarchy (305) in an aggregate data file (302) comprising the packaging relationships (303),

- transferring (5) the aggregate data file (302) to the first computer system (101) of the track and trace system (100),

- in the first computer system (101) identifying (6) hierarchical code relations (304) expressed as parent and/or child codes (200) for each the code (200) from the packaging relationships (303) in the aggregate data file (302). The aggregate data file (302) may be a simple text file or a binary file of a second computer system (301).

[0075] In Fig. 2 an example of such an aggregate data file (302) is shown, where each packaging relationship (303) is registered in a list structure. Another example could be to store all parents and grandparents etc. for each lowest level child. In the example of Fig. 2 an entry in such a list could look like: 3,11-3,13-3,18 for the marked physical item 3,11. The actual format of the aggregate data file (302) is not important as long as the format is known, and it is possible to read out the packaging

relationships. The aggregate data file (302) may be a simple text file or a binary file of a second computer system (301).

[0076] With respect to the step of registering (4) above, it should be noted that registering may be performed before, during or after marking of the items or packages. If registering of the aggregate data file (302) is performed before marking (3), it means that the process responsible for marking has to mark the packages according to the aggregate data file (302). If the registration is performed during marking, the aggregate data file (302) may be build up incrementally as the packages are marked and packed into containers. Either the marking or registration process should pick codes (200) to mark on the items from the list of generated codes (200). Lastly, if the registration is performed after marking, the registration will have to depend on the information from the packaging system to create the aggregate data file (302).

[0077] In the Track and Trace system (100) hierarchical code relations or (304) for the packaging relationships (303) are then identified. The hierarchical code relations (304) are expressed as parent and/or child codes (200) for the codes (200) in the packaging relationships (303). The term hierarchical interaction is often used as the terminology for this type of relationship between an item and its direct superior or subordinate. This means that a hierarchical code relation (304) is an identification of a parent or children of a current code (200). A hierarchical code relation (304) may be empty, null, or non-existent if there is no parent or children. An example of hierarchical code relations (304) is given in Fig. 2, e.g. 3,13: 18; 11,12 means that code 3,13 has parent 3, 18 and children 3,11 and 3,12. The formatting of the hierarchical code relation (304) e.g. the deliminators can be of any type suitable for this application.

[0078] The format and structure of the incoming packaging relationships (303) are not necessarily the same as required for further processing in the Track and Trace system (100), so conversion or transformation of the packaging relationships (303) in the aggregate data file (302) to an internal format of the Track and Trace system (100) may be necessary. According to this invention the step of identifying (6) hierarchical code relations (304) comprises transforming the packaging relationships (303) to hierarchical code relations (304) expressed as parent and/or child codes (200).

[0079] Hierarchical code relations (304) for each of the marked physical items (350) that have been identified in the previous step are then stored (7) in a section (111) of a data storage location (110) of the computer (101) of the track and trace system (100).

[0080] The data storage location (110) is a physical data storage that can be identified and used for storing of data by the computer (101) of the track and trace system (100), such as a local or remote file system, a local or remote memory etc. It can also be any partition or sub-partition of such as a data storage.

[0081] The section (111) is an identifiable location of a storage location (110) that may e.g. be the start of a specific cluster or a block of data in a file system or memory.

[0082] The start of the section (111) is determined by a combination of the first and second identifier (201, 202) of the code (200). As the child and parent relationships are progressively changed and added, the section (111) is effectively made longer, and it may be necessary to determine the end of the section (111). There are many possible ways of determining the end. A method for determining the end can be implemented in the overlying computer system (101) and software based on optimizing parameters that are given by the application. For instance if it is decided that only three updates per code (200) is allowed, then the overlying software reading from the storage will implement that the storage sections (111) are exactly three additions long. The preferred embodiment for the present invention, of determining the end of the storage section, is a general and flexible method that allows the section (111) to be expanded indefinitely. At the start of the section (111) the information about the end (112) of the section is stored. In general the nomination is written as [P I J " I Cn : ; :Cm | Δ] where J " is information that makes it possible to determine the section end (112), P is the parent, Cn : ; :Cm are children, Δ is an optional item parameter (120) and | is a delimiter within one reading. J " can also be useful for the overlying software computer system (101) as that information might be number of children, i.e. counting until the end, or for instance the number of bits that the section has. As the section (111) is updated with data and relations, and expanded, the J data about the end is also updated to reflect the new and updated section length and content.

[0083] It should be noted that in the examples given below P and C are written as a single identifier to make the examples easier to read . However, according to the invention the codes stored are usually in a two part form. This means that the example [3,11 13,21 ;3,56;3,107 | Δ | ], where the digit "3" is the first identifier, is simplified to [11 121 ;56; 107 | Δ | ]. This simplification is possible when all codes of a storage location share the same first identifier (201), but would not support repackaging where codes with different first identifiers (201) are in the same packaging relationship.

[0084] As an example the section with the following content

[11 | 21 ;56; 107 | Δ | 56;404 | Δ | ] may be written as [11 132 | 21 ;56; 107 | Δ | 56;404 I Δ I ], where J is 32 bits.

[0085] After having changed the section (111), after e.g. adding and removing children, the section end (112) data J is updated and the updated section (111) would be written and stored like the following : [l l | 56 | 21;56; 107 | Δ | 56;404 | Δ |

877;255;677 | Δ | ] where 56 now specifies the end of the section to be 56 bits from the start of the section.

[0086] When a parent child relation is stored, as [PCn | : ; :Cm | Δ] it is very efficient for searching and traversing a packaging structure in the downward direction; from the top to bottom.

[0087] Another storage location is arranged to determine the start of the storage location based on a child-parent relationship. The child-parent relationship may be expressed as [C | Ρ|Δ]. A parent code may have many child codes. However, a child code can only have one parent code. This storage and retrieval according to the invention is optimised and very efficient for traversing and retrieving information in the upward direction; from bottom to top in the packaging hierarchy, due to the packaging relations between the traceable items. In this way, using the previous example for the parent-child relationship gives: [11 121 ;56; 107 | Δ] expressed as a child-parent relationship would be stored as [21 1 11 | Δ], [561 11 1 Δ] and [1071 11 | Δ].

[0088] To further illustrate how changes and updates are managed using storage based on child-parent relationships, again assume that child 21 is removed from parent 11 to 33, and that at the same time a new child 404 is put under the aforementioned parent code from parent 66. The data storage would then be arranged like the following : [11 121;56; 107 | Δ | 56; 1041 Δ | ]. In this way using the previous example the parent-child relationship [11 121;56; 107 | Δ], as a child-parent relationship would be stored as [211 11 133 | Δ] and [56; 11 | Δ | ] and [107; 11 | Δ | ] and the new [4041661 11 | Δ | ].

[0089] A start position (112) of the section (111) is determined by a combination of the first and second identifiers (201, 202) of the code (200) of the marked physical item (350) to be stored.

[0090] In an embodiment the first identifier (201) of a code (200) identifies a file partition of a file system and the second identifier (202) of the same code (200) identifies a unique position within the file partition.

[0091] According to an embodiment of the invention the parent hierarchical code relations (304) are stored in a parent storage location (110) of the computer (101) of the track and trace system (100) and the child hierarchical code relations (304) are stored in a child storage location (110) of the computer (101) of the track and trace system (100).

[0092] This may be advantageous in certain applications, e.g. where a root parent is to be found for a marked item (350). E.g. in Fig. 4 it is shown an example where several requests have to be made to find the root. In the sections (111) only parent data, together with a parent status, is stored for each code (200).

[0093] The storage of the packaging relationships (303) has several advantages that will become more evident in the reminder of the document, especially when tracing specific marked physical items (350) after re-packaging, and tracing marked physical items (350) contained in other marked physical items (350).

[0094] As explained above, the two level unique codes (200) may have been generated by one or more separate computer systems before they end up in the marking location (300). In an embodiment this is done in the first computer system (101) of the track and trace system (100). The step of generating (1) one or more unique codes (200) in the computer system (101) involves creating a list of two level codes, where the second identifier (202) is unique within the first identifier (201). In Fig. 2 a simple example is shown where unique codes (200) from 3,11 to 3,18 are generated. 3 is here the first identifier (201) and 11 to 18 are the second identifiers (202). In a real system the codes would be longer to handle a large number of items.

[0095] If the codes (200) are generated somewhere else than at the marking location (300) they will now have to be transferred (2) to the marking location (300). Typically the codes are then transferred over the Internet from the generating computer system (101) to a marking computer system (301) at the marking location. However, any other transfer of the codes, encrypted or unencrypted could be used. [0096] The embodiments of the invention described above ensure that packaging relationships after the initial packaging and marking have been properly stored in the track and trace system. Further aspects related to re-packaging in distribution points, or re-packaging locations along the supply chain will now be explained.

[0097] In an embodiment the method for storing and retrieving a packaging hierarchy (305) of traceable physical items (350) according to claim 1, comprises the steps of;

- re-packaging (10) the physical items (350) into updated packaging relationships (403) in a re-packaging location (400),

- transferring (12) the updated packaging relationships (403) to the first computer system (101) of the track and trace system (100),

- in the track and trace system (100) identifying (13) for each the code (200) in the updated packaging relationships (403), updated hierarchical code relations (304) expressed as parent and/or child codes (200), and

- for each the code (200), adding (14) the updated hierarchical code relations (304) to the section (111) of the data storage location (110), wherein a start position (112) of the section (111) is determined by the combination of the first and second identifiers (201, 202) of the code (200) of the marked physical item (350).

[0098] The additional steps of the method according to his embodiment will now be described in more detail with reference to the examples given above.

[0099] When the marked physical items (350) arrives in a distribution point or repackaging location (400), some of the packages may be re-packed . With regard to a specific marked physical item (350) involved in re-packaging, its packaging relationship (403) is updated.

[0100] If a parent container was present before re-packaging, the parent may be opened and completely removed, which means the specific marked physical item (350) was removed from the parent container. Otherwise a new parent may be assigned, which means that the specific marked physical item (350) has been put in a new container. Consequently the parent relationship has been updated.

[0101] If one or more children were present before re-packaging, one or more children may have been removed and possibly replaced by other children, meaning that the children relationship has been updated.

[0102] In the example of Fig. 2, and Fig. 3a, the package, or marked physical item (350) marked with the code 3,13 is removed from container 3,18 in the re-packaging location (400) and its parent relationship is updated to "none". Its child relationships are not changed. [0103] After the re-packaging (10) steps, the updated packaging relationships (403) are transferred (12) to the track and trace system (100). Typically the updated packaging relationships (403) are then transferred over the Internet from the third computer system (401) to a computer system ( 101) of the Track and Trace system (100). However, any other transfer of the codes, encrypted or unencrypted could be used.

[0104] In an embodiment the updated packaging relationships (403) are sent in directly to the track and trace system (100) as a data stream. This could be the case if the packaging computer system (301) sends packaging relationships (303) e.g. each time a package is marked, and the unique code (200) of the parent is known. The updated packaging relationships (403) could then be sent in chunks, or one-by-one without having to store the information in the packaging computer system (301) of the item marking location (300).

[0105] Another way of performing this transfer of packaging relationships (303) is to store the updated packaging relationships (403) in a data structure in a data file or memory of the packaging computer system (301) before transferring the file with the aggregated information to the track and trace system (100) as described above for the transfer and reading the aggregate file after initial packaging.

[0106] In the Track and Trace system (100) hierarchical code relations or (304) for the updated packaging relationships (403) are then identified. The hierarchical code relations (304) are as before expressed as parent and/or child codes (200) for the codes (200) in the packaging relationships (303).

[0107] The format and structure of the incoming updated packaging relationships (403) is not necessarily the same as required for further processing in the Track and Trace system (100), so conversion or transformation of the updated packaging relationships (303) in the aggregate data file (302) to an internal format of the Track and Trace system (100) may be necessary as described above.

[0108] Changes in packaging structure when repacked are often sent to the track and trace system with what is known as «pick and pack» lists. The format and method of creating these list are not instrumental to the present invention as long as they make it possible to extract the required updated packaging relationships (303).

[0109] Hierarchical code relations (304) for each of the marked physical items (350) that have been identified in the previous step are then stored (7) in a section (111) of a data storage location (110) of the computer (101) of the track and trace system (100). [0110] Updated packaging relationships (403) for each of the marked physical items (350) that have been identified in the previous step are then added (14) in the same section (111) of the storage location (110) of the computer (101) of the track and trace system (100) as the initial packaging relationships (303) for the same marked physical item (350) were stored after initial marking and packaging. The start position (112) of the section (111) is again determined by the combination of the first and second identifiers (201, 202) of the code (202) on the marked physical item (350).

[0111] In the example of Fig. 2, it can be seen that the section (111) for marked physical item 3,13 after re-packaging comprises the information :

"3,18;3,11 ;3,12 | ;3,11 ;3,12". The information before " | " indicates that, initially after marking and packaging, 3,18 was the parent and 3,11 and 3,12 were children, while the information after " | " indicates that, after re-packaging, there is no parent, while 3,11 and 3,12 are still children. It should again be noted that the separators and format used here are selected to illustrate the example, and could be anything as long as it is possible to distinguish the various parts of information stored in the section (111).

[0112] The marked physical item (350) may be involved in further re-packaging in other re-packaging locations (400) before it reaches its final destination. One such example is given in Fig. 3b and Fig. 3c explained previously. The information in the section (111) should then be updated in the same way as described above, where updated packaging relationships (403) are added to the section (111). In this way, the section will contain a history of all initial and updated packaging relationships (303, 403) for a marked physical item (350).

[0113] The embodiments of the invention described above ensure that packaging relationships after re-packaging have been properly stored in the track and trace system. Further aspects related to retrieving this information, and additional information will now be explained.

[0114] When the marked physical item is transported on its way to the final destination, a party involved in selling, transporting and buying the product may have questions regarding the current status. According to an embodiment of the invention such status information can be obtained by querying the track and trace system (100) for information for a specific marked physical item (350) by providing the code (200) marked on the item.

[0115] In this embodiment the method comprises the steps of;

- entering (20) one or more codes (200) in a computer based terminal (501) in a tracing location (500), - transferring (21) the codes (200) from the tracing location (500) to the track and trace system (100),

- identifying (22) the first and second identifiers (201, 202) of the codes (200) in the track and trace system (1) determining the start position (112) of the section (111) of the storage location (110) in the track and trace system (100),

- retrieving (23) the hierarchical code relations (304) stored in the section (111) for the codes (200),

- transferring (24) the hierarchical code relations (304) back to the computer based terminal (501).

[0116] The additional steps of the method according to his embodiment will now be described in more detail with reference to the examples given above.

[0117] A party with access to a required computer based terminal (501) and authorised to access the system, may enter codes (200) for one or more marked physical items (350) to be traced in the computer based terminal (501). The terminal may be any terminal capable of communicating with the track and trace system (100), such as a hand held terminal dedicated for tracing communicating with a proxy computer in the tracing location (500), or a standard computer with a web-browser, where the web-browser opens a page of a web server run by the track and trace system (100).

[0118] The codes (200) entered are then transferred (21) to the track and trace system (100). A secure Internet protocol, such as SSL, may be used for this purpose, but other code means of electronic communication may also be used.

[0119] When the track and trace system (100), and more specifically a computer system (101) of the track and trace system (100) receives the unique codes (200), the first and second identifiers (201, 202) are identified to find the start position (112) of the information for the marked physical item (350) for each unique code (200) to be traced .

[0120] The track and trace system (100) will then retrieve the information stored in the information from the relevant sections (111) directly by using the first and second identifiers (201, 202) as the address to look up. The first and second identifiers (201, 202) may in this context be looked at as a two-step pointer that points directly to the relevant information. The behaviour of the two-step pointer may also be seen as addition of two vectors, where the start of the second vector is the end of the first vector.

[0121] The information retrieved from the track and trace system (100) is then transferred back to the computer based terminal (501), and to the party that requested the tracing service. Again, a secure Internet protocol, such as SSL, may be used for this purpose, but other code means of electronic communication may also be used.

[0122] The information retrieved from the track and trace system (100), as described above, is often processed and combined with other information in the track and trace system (100) before returning it to the tracing location (500) to make the information more readable and/or understandable to a human. This also depends on the exact request from the computer based terminal (501), that may request a service where the packaging relationships (303) and updated packaging relationships (403) are only part of the requested service, or a means of obtaining other information.

[0123] The computer based terminal (501) may be communicating with other computers that share a common electronic data interchange (EDI), and where the request and response of the computer based terminal (501) are requests and responses on an EDI interface.

[0124] According to an embodiment of the invention, it is possible to store

information related to each specific marked physical item (350) in the track and trace system (100). When tracing is requested this information may give the user important information about the item. Such information may be e.g. validity status that could tell the user that the traced item should not be for sale, that the item has been withdrawn etc. It could also contain more static product information such as serial number.

[0125] In this embodiment the step of registering (4) comprises transferring an item parameter (120) for each marked physical item (350) in the packaging relationship structure (302), and the step of identifying (6) comprises identifying the item parameter (120), and the step of storing (7) comprises storing the item parameter (120) in the section (111). Fig. 2 shows examples of such an item parameter (120) appended to the hierarchical code relations (304).

[0126] The item parameter (120) can be diversified and serve a multitude of purposes. Such information can be, but not limited to, time stamps, various flags and statuses such as recalled, rejected, quarantined, passed QA, returned, taxes paid and so on. Whatever information that would be useful in relation to the single code can be stored for efficient storage and retrieval. The change and update of such information is managed the same way as described for the packaging relationships. Information that is related to the code in the supply chain can also be stored as an item parameter (120), for instance the geological tracking location that the code (200) is at currently. In the same way, the reading of the data will give the full history of the item

parameter (120), [0127] It is important that this information resides in the section (111), which makes the information retrievable fast and easily. The format of the item parameter (120) in the section (111) may be any format suitable for this, such as clear text, enumerators, other encoded information etc. that is commonly understandable to the track and trace system (100) and the computer based terminal (501) of the tracing location (500).

[0128] It is further possible to store more specific information in tracking records. Tracking records may contain information regarding which items are located where, when they got there and conveyed/received by whom. All this information for a marked item (350) is not meant to be available in the section (111).

[0129] According to an embodiment of the invention as illustrated in Fig. 4, a tracking record (130) is stored in a second storage location (150) of the computer (101). The second storage location (150) may be a database or a flat file writeable and readable from the computer (101) of the track and trace system (100). According to an embodiment of the invention a position of the tracking records (130) is determined by a combination of the first and second identifiers (201, 202) of the code (200). In the example in fig. 4 the tracking records where the first identifier (201) = 3 are stored in one storage location (150) such as a file, while the tracking records where the first identifier (201) = 4 are stored in a separate storage location (150).

[0130] Thus, as will be understood from the description, the combination of the two- level code (200), and the storage of hierarchical code relations (304) in the section (111), simplifies maintenance, i.e. writing and reading of tracking records when the marked physical item (350) is transported in the supply chain.

[0131] Consider for instance the case where a tracking record is created for item 3,18 during or after initial marking and packaging in the left part of Fig. 3b. A tracking record (130) is created in the second storage location (150) as can be seen in Fig. 4. In principle, no tracking record is necessary for the contained marked physical items 3,13, 3,11, 3,12 etc. as long as their parent-child relationships are registered as described previously.

[0132] In Fig. 4 it is further illustrated what may happen when item 3,11 is traced from outside the Track and Trace system (100) . As can be seen the computer (101) will query the parent relation from the section (111) dedicated to item 3,11, and it will find that item 3,13 is the parent. Then a new query for the parent of 3,13 is performed, showing that 3,18 is the parent of 3,13, and eventually 3,18 is queried, where the response shows that 3,18 is the top parent. This is indicated by an R in Fig. 4, but it could have been any other indicator suitable for this purpose. [0133] Knowing that 3,18 is the top container, or root, the computer (101) then requests the appropriate tracking records (130) from the second storage location (150). This tracking record (130) may contain information as described above regarding which, where, when by whom etc. for the marked physical item (350) marked with the code (200) 3,18.

[0134] The complete information about item 3,11 being contained in 3,18 via 3,13 and the extensive information from the tracking record of 3,18 may then be sent back to the requesting party where only a single query for tracking records was necessary.

[0135] According to an embodiment of the invention the method therefore comprises the step of retrieving (23a) one or more tracking records (130) for a parent marked physical item (350) wherein the tracking records (130) are stored in a second storage location (150) of the computer (101) in the track and trace system (100), and wherein a position of the tracking records (130) is determined by a combination of the first and second identifiers (201, 202) of a code (200) of a parent marked physical item (350) obtained in the step of retrieving (23) the parent-child relationships (303) and updated parent child relationships (403).

[0136] It can be seen from the above that it is not necessary to store tracking records (130) for items that have a parent. If we consider a real-life example where a container may contain e.g. 1000 marked physical items (350), it is seen that the savings in storage capacity may be considerable.

[0137] One of the main advantages of the invention is that the same principle may be applied even if re-packaging occurs one or more times in the supply chain. The section (111) will always contain the latest parent-child relationships of the marked physical item (350) requested and based on this, the containing parent and contained children can be found before querying only the necessary larger and slower tracking records (130).

[0138] It might be desirable to encrypt the codes (200) marked on the items. In Fig. 5 it is shown how the codes (200) may be encrypted (E) by a unique key (303) before they are transferred (2) to the marking location (300). The items will then be marked with encrypted unique codes (200) that may have to be decrypted (D) before the first and the second identifiers (201, 202) may be used by the track and trace system (100) to read and write data about the physical items (350) marked with the encrypted codes (200). This is also illustrated in Fig. 5 where the encrypted code "SDFERTT54" enters the system, i.e. for tracing, and the encrypted code is decrypted in a decrypting process (D), using the same unique key (303) that was used for encoding (E). This results in the unique code (200) 3,13 that may now be processed further as described above. According to the encoding scheme it may also be possible to determine whether the entered encrypted code is false or not. E.g., if it the decrypted value does not correspond to a legal value or falls within a pre-defined range, the encrypted code is most probably false.

[0139] According to an embodiment of the invention the method comprises the steps of encrypting (E) the codes (200) with a unique key (303) before the codes are marked on the physical items (350), and decrypting (D) the codes (200) with the unique key (303).