Patent ID: 8370325
Filing Date: 2013-02-05
Classification: G06F

Abstract:
1. A file structure analyzing apparatus for analyzing a file including a group of structured data formed into a tree structure by having a plurality of distinct element packets referenced externally, the file structure analyzing apparatus comprising: a distinct element packet input section configured to successively input, via a processor, the plurality of distinct element packets, each of the distinct element packets including a unique identifier for identifying each distinct element packet and an external referrer for indicating an external reference destination at which to reference externally another distinct element packet using the unique identifier of the another distinct element packet; an input stream section configured to input structured files expressed in the tree structure; a distinct element packet analysis section configured to extract said unique identifier, identifying the inputted distinct element packet and the external referrer; an external referrer holding section configured to temporarily hold, in a memory, the external referrer of one of the distinct element packets of which the external reference destination has not yet been definitively determined, wherein said external referrer holding section stores an external referrer list; an external referrer management section configured to delete from said external referrer list the external referrer whose external reference destination has been definitively determined; a unique identifier holding section configured to temporarily hold, in the memory, the unique identifier of one of the distinct element packets of which a reference source has not yet been definitively determined, wherein said unique identifier holding section stores a unique identifier list; a unique identifier management section configured to delete from the unique identifier list the unique identifier of the distinct element packet of which the external reference source has been determined; and a reference relationship analysis section configured to detect tree structure errors by successively analyzing, via the processor, a reference relationship of each of the plurality of distinct element packets input to the distinct element packet input section, the reference relationship analysis section determining, for each of the plurality of distinct element packets, a file generation/write-once section configured to generate a file acquired from a distinct element packet temporary storage section and that stores the distinct element packet whose reference relationships have been definitively determined.