Method and apparatus for automated creation of search patterns
One or more example embodiments of the present invention describes a method for automated creation of search patterns on the basis of entries in a knowledge database. One or more example embodiments of the present invention further describes a search pattern dataset, a device for automated creation of search patterns, a problem solving method, a creation method, a training dataset and a device system.
1 . A method for automated problem solving with a search pattern dataset based on entries in a knowledge database in which stored log passages of a protocol file of a device system are linked to at least one of problem analyses or problem solutions, the method comprising:
training a machine learning model using at least a training dataset including a search pattern dataset; and
creating the search pattern dataset, wherein the creating the search pattern dataset includes,
a) loading an entry from the knowledge database, the entry including at least one of explanatory text, images, and protocol files, and creating a search text from the entry, the entry corresponding to a problem in an imaging system;
b) identifying a log passage in the search text, the search text associated with text of the protocol file;
c) testing whether the identified log passage is relevant;
d) storing the log passage if the identified log passage is relevant or repeating steps b) and c) and identifying and checking a further log passage until no further log passage can be identified if the identified log passage is not relevant;
e) indicating a linkage of log passages in response to a text that adjoins the identified log passage in the search text;
f) storing the linkage together with a statement regarding to which log passages the linkage relates;
g) repeating the steps b) to f) with further log passages until a termination condition is reached;
h) generating a search pattern based on the stored log passages and stored linkages after reaching the termination condition wherein the search pattern corresponds to a ground truth based on a problem described in an entry, wherein the ground truth includes the problem in the imaging system and a solution to the problem in the imaging system; and
i) repeating the steps a) to h) for a plurality of entries in the knowledge database, wherein the search pattern dataset comprises the plurality of search patterns and the plurality of corresponding ground truths.
2 . The method of claim 1 , wherein the identifying the log passage includes searching the search text through for a number of known features of the log passages, the number of known features include one or more of the following elements:
a time stamp,
an identification,
a special character, or
a predetermined keyword.
3 . The method of claim 1 , wherein the testing includes:
investigating whether the identified log passage differs from normal text.
4 . The method of claim 1 , wherein the checking whether the linkage of the log passages is indicated includes,
searching a passage of the search text for predetermined key passages associated with corresponding linkages and, on recognition of at least one of the predetermined key passages, the corresponding linkage is associated with a preceding log passage.
5 . The method of claim 1 , wherein the search pattern is created based on text passages of the stored log passages.
6 . A computer program product comprising commands which, when executed by a processor, cause said processor to perform the method of claim 1 .
7 . A non-transitory computer-readable storage medium comprising commands which, when executed by a computer, cause said computer to perform the method of claim 1 .
8 . The method of claim 3 , wherein the investigating includes at least one of a colored emphasis of the log passage, an emphasis of a background of the log passage or a use of a textual emphasis.
9 . The method of claim 8 , further comprising:
adopting a particular emphasis in the testing in the entry in the knowledge database during a creation of the search text to check whether an identified log passage is relevant.
10 . The method of claim 5 , wherein two different log passages are linked to one another with a linkage based on a corresponding linkage between the two different log passages being indicated in the search text.
11 . The method of claim 10 , wherein the search pattern is additionally based upon time information items which are linked to the log passages.
12 . The method of claim 11 , wherein the search pattern is based upon a time difference between time stamps of two or more log passages.
13 . The method of claim 1 , wherein the imaging system is a medical imaging system.