BACKGROUND OF THE INVENTION  [Technical Field of the Invention The present invention relates to a data information storage medium body for storing data information having one or more variable-length data
The present invention relates to a data information search device that searches for data information stored in. In recent years, in the field of medical diagnosis, many diagnostic devices utilizing X-ray tomographic images, diagnostic devices utilizing the magnetic resonance phenomenon, etc. have appeared, and the types of digital images in this field have increased. It is increasing significantly. The image information of these digital images is usually stored and searched for using the additional information stored in association with the image data. The additional information includes various key information necessary for storage and retrieval, that is, information on image data such as an image format information key image size and a storage method. Patient information key Personal information such as patient name and date of birth. Inspection information key Inspection data information such as inspection equipment and inspection date. Diagnostic information key Diagnostic information such as the name of the doctor in charge and the diagnostic code. Other information keys are included as general key information, and these key information are recorded in a key information section provided at a fixed location on the storage medium with a fixed length as shown in FIG. It is common. However, since the handling of the incidental information varies depending on the manufacturer or the type of diagnostic device, there are various types of incidental information codes set on the storage medium, that is, key information code formats. It has become a variety of formats. For example, to explain the patient name information of the patient information key, a certain diagnostic device sets the address of this information to 12 bytes from address 12 to 24 and assigns other information to addresses 0 to 11. On the other hand, the other diagnostic devices are set to 16 bytes from address 0 to address 16, and other information is allocated after address 16. In this example, the address range and the number of bytes to be designated are different, and the storage order is also different. In addition, the format of the image data is often different for each diagnostic device, and the image format information key indicating the difference is also different for each diagnostic device, like the patient information key described above. Therefore, for example, when comparing the contents of incidental information generated by a certain diagnostic device with the contents of incidental information generated by another diagnostic device, it is absolutely necessary to remember each format, and as a result, the type of diagnostic device The problem arises that it becomes difficult to deal with the increase in the number and numbers. Furthermore, when new key information has to be added as supplementary information, an unused area on the storage medium has to be searched for, and the length of the key information is halfway. When it is necessary to change, for example, in the patient name of the patient information key, when a patient who needs a large number of bytes of the name by entering katakana like foreigners comes to the diagnosis, In order to increase the number of bytes, it is necessary to shift the address of the key information after the key information of the patient name, which causes a problem in terms of extensibility that it cannot be changed easily.  The present invention has been made based on the above circumstances, the data information to be easily and reliably retrieve the data information stored in the data information storage medium even if the length for each data are different An object is to provide a search device. To achieve the above object, the present invention provides an input means for inputting an identifier, and 1
The data information having the above variable length data is stored and stored in this data.
Data information is provided for each variable length data
Variable length data length code indicating the length of data
It is provided for each variable length data and indicates the classification of the variable length data.
Including the identifier having the information
Child, the variable length data length code, and the variable length data
This is a data information storage medium that stores data in association with each other.
When connected to the device, this data information storage medium
The identifier retrieved by retrieving the identifier stored in the body
And variable using the identifier input by the input means
And a search output unit for searching and outputting the long data . Incidentally, the identifier is another data information storage medium.
An identifier that represents the same category stored in the body and a common four
It may have a mat. Further, the identifier is at least
It may consist of the first identifier and the second identifier.
Further, the search means stores in the data information storage medium.
The stored identifier and the identifier input by the input means
And the identification stored in the data information storage medium.
The child and the identifier input by the input means match.
At this time, variable length data corresponding to the identifier is output.
You may do it. BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIG.
This will be described with reference to FIG. First, a method of storing the incidental information will be described. FIG. 1 is a diagram showing a data storage method according to the present invention, FIG. 1 (a) is a diagram showing the configuration of the entire image information, and FIG. 1 (b) is a detailed diagram of a file header part. (C) is a detailed view of a single key information part. In FIG. 1, reference numeral 1 is an auxiliary information section, which is composed of a file header section 2 and a key information section 3, and 4 is an image data information section for recording image data. The lengths of the incidental information section 1 and the image data information section 4 are both 51, for example.
It is formed by a multiple of 2 bytes. The file header part 2 is fixed to 16 bytes, and as shown in FIG.
Fixed address 5 that can store byte information and key information part 3
It is composed of a length code 6 (two bytes of binary information can be stored) in the key information section indicating the entire information length. The key information section 3 is composed of a plurality of small sections 3 -1 , 3 -2 , 3 -3 ... 3 -n , and each small section contains patient key information, examination key information, etc., as described above. Remembered. Each key information sub-partition 3 -1 , 3 -2 , 3 -3 ... 3 -n has an identifier (2 bytes) 3 a and a key information length code ( 2 bytes) 3b
And a key information content 3c for recording a specific patient's name and date of birth, for example. The length of the key information content 3c can be changed as necessary. Further, the identifier (2 bytes) 3a is, for example, a group number 3d (1 byte) that is a large classification identifier such as a patient information key / examination information key and a small classification identifier such as a name / date of birth. The element number (1 byte) 3e. Various types of supplementary information of digital images are stored such that each key information content 3c has a predetermined common identifier 3a together with the key information length code 3b. As a result, digital images having various kinds of key information can be efficiently managed by using a common identifier. In particular, the length of the key information may differ for the same key information depending on the type of digital image, but according to the present embodiment, it is possible to treat key information of different length as the same idea. Further, since the length of the key information content 3c can be changed, it is easy to add / change the content of the key information. If necessary, the key information section length code 6 can be set as an information length including the image data information section 4. Next, a transfer means for outputting the contents of each key information stored as described above to the outside will be described with reference to FIG. FIG. 2 is a block diagram showing a transfer means using the data information search device according to the present invention. In FIG. 2, reference numeral 11 is an input identifier register for holding an identifier input by means (not shown) at the time of retrieval, and 12 is an identifier held in the input identifier register 11 and an identifier held in an identifier register 18 described later. Is a comparator for comparing with. The signal from the comparator 12 is sent to the pointer control register 13 and the auxiliary information content register 16. By the way, the above-mentioned identifier register 1
8 is a pointer register 1 from the image information data storage unit 15 after storing the digital image by the above-described storage method.
An identifier of certain key information in certain image information designated by No. 4 is extracted and held. Similarly, the length of the key information and the content of the key information are stored in the key information length register 17,
It is taken out and held in the key information contents register 16, respectively. The pointer register 14 is controlled by a signal from the pointer control register 13. Reference numeral 19 denotes an output auxiliary information content register which transfers the content of the key information to the outside in response to the signal from the comparator 12. In order to obtain the required supplementary information (that is, key information) contents from the image information storage unit 15, an identifier (for example, a major classification patient information key) corresponding to the supplementary information contents is obtained by means not shown. Input to the input identifier register 11. The identifier input to the input identifier register 11 is compared with the identifier of the identifier register 18 described later by the comparator 12. By the way, the identifier of the key information stored in the image information storage unit 15 is fetched and held in the identifier register 18 according to an instruction from the pointer register 14. Similarly, in the key information length register 17 and the key information content register 16, the length of the key information and the content of the information are taken out and held by the instruction of the pointer register 14. If the input identifier and the retrieved identifier match, the contents of the auxiliary information contents register 16 at that time (for example, a specific patient name, date of birth, etc.) according to an instruction from the comparator 12. Is fetched into the output auxiliary information content register 19. However, if they do not match, the comparator 12
The pointer control register 13 reads the contents of the key information length register 17 according to the instruction from the pointer register 1
4 is instructed to retrieve the next key information from the image information storage unit 15. The identifier of the extracted key information is held in the identifier register and again compared with the identifier input by the comparator 12. And if they still don't match,
The above operation is repeated until the input identifier and the information in the identifier register 18 match. When the two coincide with each other, the content of the information is taken out to the output auxiliary information content register 19 as described above. With this, not only the contents of the key information corresponding to an arbitrary identifier can be easily extracted, but also the identifiers are divided into a large classification and a small classification (3d, 3e), so that necessary information can be easily obtained. Can be taken out. Further, the contents of the incidental information generated by a certain diagnostic device and the contents of the incidental information of another diagnostic device can be easily compared by using a common identifier, and further, since it does not depend on the storage order, the program There is no need to change the. According to the present invention described above, it is possible to <br/> easily and reliably retrieve the data information with variable length data from the data information storage medium.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing a storage method in a data information storage medium according to the present invention, in which FIG. 1 (a) shows the overall structure of image information, and FIG. FIG. 3C is a detailed view of the key information section. FIG. 2 is a block diagram showing a transfer means using the data information search device according to the present invention. FIG. 3 is a diagram showing a conventional storage method. [Explanation of Signs] 1 ... Additional information section, 2 ... File header section, 3 ... Key information section, 3-1 , 3-2 , 3-3 , ... 3- n ... Small section of key information, 3a ... Identifier, 6 ... Key information section length code 11 ... Input identifier register 12 ... Comparator 13 ... Pointer control register 14 ... Pointer register 15 ... Image information storage section 16 ... Supplementary information content register 17 ... Supplementary information length register 18 ... Identifier register 19 ... Ancillary information content register for output