Methods for Effectively Evaluating Log Patterns
The log mode analysis method is used to efficiently identify the cause of faults in medical imaging systems, solving the problems of low fault diagnosis efficiency and high maintenance costs in the existing technology, achieving fast and accurate fault location and diagnosis, and reducing downtime and costs.
Patent Information
- Application Number
- CN201980089663.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-12-19
AI Technical Summary
Existing medical imaging system fault diagnosis relies on multiple visits by field service engineers, resulting in increased unplanned downtime and high maintenance costs, as well as low remote diagnosis efficiency.
By constructing a log pattern analysis method, using electronic networks to access log data on the server, applying log patterns to analyze data to identify hits, reducing data transmission and computing resources, and achieving an efficient log pattern editing and diagnosis system.
It significantly improves the efficiency and accuracy of fault diagnosis of medical imaging equipment, reduces log data transmission traffic and computing resource consumption, and reduces unplanned downtime and maintenance costs.
Smart Images

Figure CN113396395B_ABST
Abstract
Description
Technical Field
[0001] The following generally relates to medical imaging equipment maintenance techniques, fault diagnosis techniques, log mode detection techniques, and related techniques. Background Art
[0002] Medical imaging systems such as magnetic resonance imaging (MRI), transmission computed tomography (CT), and intraoperative X-ray (iXR) scanners occasionally experience system failures that, in some cases, can be resolved by a remote service engineer (RSE). More often, however, a field service engineer (FSE) must visit the hospital to resolve the problem. Especially when a replacement part is required, an FSE visit to the hospital is inevitable. Depending on whether the root cause of the system failure can be determined remotely, resolving the problem may require multiple FSE visits when the required parts are not available during the first visit. During the first visit, the FSE determines the root cause of the problem and determines whether one or more parts must be replaced to resolve the problem and, if so, which part to replace. After ordering the parts, the FSE will perform the actual replacement during a second visit. Incidentally, identification of the root cause is difficult and more than two visits may be required to resolve the problem if the root cause cannot be clearly determined during the first visit.
[0003] To reduce the unplanned downtime of medical imaging systems due to these failures and reduce the associated maintenance costs, it would be beneficial to increase the portion of problems that can be resolved remotely, and, for those problems that require an FSE to visit the hospital, to reduce the number of visits required to resolve the problem. The number of visits can be reduced by diagnosing the problem remotely.
[0004] In order to remotely determine the most likely root cause of a fault, machine log data can be used. While in operation, many commercial medical imaging systems continuously generate log data. These time-stamped messages contain status information, event information, and warning and error content. Typically, this log data is stored locally so that the FSE can review the data on site. Additionally, a service engineer with appropriate access rights may be able to review the log data remotely. Furthermore, in some installations, the log data is uploaded (e.g., daily) to a central storage server where it can be analyzed to identify the most common problems for the complete installed base of imaging systems.
[0005] To assist in the root cause analysis of system failures, one approach is to create log patterns associated with known failure modes. Based on experience and review of log event data, log patterns can be handcrafted by logically combining the appearance or absence of certain log events within a given time span, as well as a cause-solution tree, which lists many possible causes of failure, and one or more solutions for each cause. When a service call is made from a hospital due to a system failure, the log pattern will be applied to log events generated within a certain time interval before the call (e.g., during a day or week before the call). If the log pattern occurs one or more times, an alert is generated so that engineers can use it in root cause analysis. This pre-call tracking of log events is uploaded and analyzed to generate an on-demand log file (LoD), where the log events are hosted on a remote server and only log events for a specific time interval are downloaded and considered, such as those generated from the beginning of the day until the moment of upload. If the log pattern appears one or more times in the downloaded log data, an alert is generated so that engineers can use the cause-solution tree in root cause analysis.
[0006] A log pattern has a hit in a series of log events that have been generated by a machine within a given time interval if there is a time interval whose length is equal to the timespan of the log pattern, where the Boolean expression of the log pattern evaluates to true. Once a hit has been found, the identified time interval is maximally narrowed to "contain" only the hit, which is then counted as a hit, and the search for additional hits continues by repositioning the window directly after the narrowed interval. A log pattern can also be said to have a hit for a service call, meaning that the log pattern had at least one hit within a predefined time interval preceding that service call.
[0007] The performance analysis of a log pattern can be quantified in various ways, such as: how often it occurs and when it occurs, whether it occurs at the right time, i.e., whether it is relevant to the fault at hand, whether the cause-solution tree provides useful guidance, etc. A log pattern that generates too many alerts can adversely affect the effectiveness of the root cause analysis; at the same time, a log pattern that generates too few alerts has limited diagnostic value. This performance analysis is usually performed on historical data.
[0008] If during the design of a log pattern a quick and reliable assessment of its performance can be provided, the pattern can be significantly customized and improved.Having a large number of high-quality log patterns has a significant positive impact on system maintenance, especially in terms of total cost of ownership and reduction of unplanned downtime.
[0009] Since performance analysis involves complex correlations, the diagnostic designer is already aware of whether the analysis will be conducted, providing all calls that were hit by the log pattern, daily hit counts of the log pattern, and other information about replaced parts, service work ordering data, etc. Using this data, the diagnostic designer is able to further evaluate the performance of the log pattern based on their expertise and experience.
[0010] Certain improvements are disclosed below. Summary of the invention
[0011] In some embodiments disclosed herein, a non-transitory computer-readable medium stores instructions that can be read and executed by at least one electronic processor to perform a log pattern analysis method by applying a log pattern to log data being analyzed, the log data being analyzed comprising log events having a timestamp and defined by values for a set of fields. The log data being analyzed is stored on a server accessible by at least one electronic processor via an electronic network. The log pattern analysis method includes: constructing a retrieval query to select log events that are within a time interval and also satisfy at least one additional constraint associated with the log pattern and defined on one or more filter fields of the set of fields; downloading a subset of the log data being analyzed from the server to at least one electronic processor via the electronic network, wherein the subset is selected from the log data being analyzed by the retrieval query; applying the log pattern to the downloaded subset of the log data being analyzed to identify log pattern hits in the log data being analyzed; and controlling a display screen to display a report of the log pattern hits in the log data being analyzed.
[0012] In some embodiments disclosed herein, a log pattern analysis device includes an electronic processor. A non-transitory computer-readable medium stores instructions that can be read and executed by the electronic processor to: (i) perform a retrieval constraint generation method operating on historical log data, the historical log data including log events having a timestamp and defined by values for a set of fields, wherein the retrieval constraint generation method includes: normalizing selected fields from a set of fields in a log pattern to generate at least one normalized log pattern item, wherein the selected fields do not include one or more filter fields of the set of fields; identifying matching normalized log events in the normalized log data that match at least one normalized log pattern item, wherein the normalized log data is generated from the historical log data by normalizing the selected fields in the historical log data; and generating at least one additional constraint based on the values of the one or more filter fields in the matching normalized log events; and (ii) performing a retrieval constraint generation method operating on historical log data, wherein the historical log data includes log events having a timestamp and defined by values for a set of fields, wherein the retrieval constraint generation method includes: normalizing selected fields from a set of fields in a log pattern to generate at least one normalized log pattern item, wherein the selected fields do not include one or more filter fields of the set of fields; identifying matching normalized log events in the normalized log data that match at least one normalized log pattern item, wherein the normalized log data is generated from the historical log data by normalizing the selected fields in the historical log data; and generating at least one additional constraint based on the values of the one or more filter fields in the matching normalized log events; and (iii) performing a retrieval constraint generation method operating on the historical log data including log events having a timestamp and defined by values for a set of fields. A log pattern analysis method is performed based on data, wherein the log data being analyzed includes log events having a timestamp and defined by values for a set of fields, wherein the log data being analyzed is stored on a server accessible to an electronic processor via an electronic network, wherein the log pattern analysis method includes: constructing a retrieval query to select log events that are within a time interval and also satisfy at least one additional constraint associated with the log pattern and defined on one or more filter fields of the set of fields; downloading a subset of the log data being analyzed from the server to the electronic processor via the electronic network, wherein the subset is selected from the log data being analyzed by the retrieval query; applying the log pattern to the downloaded subset of the log data being analyzed to identify log pattern hits in the log data being analyzed; and controlling a display screen to display a report of the log pattern hits in the log data being analyzed.
[0013] In some embodiments disclosed herein, a log pattern analysis method includes: retrieving historical log data, the historical log data including log events having a timestamp and defined by values for a set of fields; normalizing selected fields from a set of fields in a log pattern to generate at least one normalized log pattern item, wherein the selected fields do not include one or more filter fields of the set of fields; identifying a matching normalized log event in the normalized log data that matches at least one normalized log pattern item, wherein the normalized log data is generated from the historical log data by normalizing the selected fields in the historical log data; generating at least one additional constraint based on the values of one or more filter fields in the matching normalized log event; and constructing a retrieval query. A method of performing a search and querying the log data of the present invention is provided for selecting log events that are within a time interval and that also satisfy at least one additional constraint associated with the log pattern and defined on one or more filter fields of a set of fields; downloading a subset of the log data being analyzed from a server to at least one electronic processor via an electronic network, wherein the log data being analyzed includes log events having a timestamp and defined by values for a set of fields, and the subset is selected from the log data being analyzed by the search and query; applying the log pattern to the downloaded subset of the log data being analyzed to identify log pattern hits in the log data being analyzed; and controlling a display screen to display a report of the log pattern hits in the log data being analyzed.
[0014] One advantage resides in providing a medical imaging device log pattern editor with automatic performance analysis that is computationally efficient.
[0015] Another advantage resides in providing a medical imaging device log pattern editor with automatic performance analysis having faster calculation speed.
[0016] Another advantage resides in providing a medical imaging device log mode editor that imposes reduced log data transmission traffic over an associated electronic data network.
[0017] Another advantage resides in providing a medical imaging device diagnostic system having improved diagnostic accuracy enabled by the deployed log patterns that has been subjected to more efficient performance analysis using a log pattern analyzer as disclosed herein.
[0018] Another advantage is that only log events within a predetermined time period are retrieved, and also only the portion of log data within the predetermined time period that meets specified additional constraints is retrieved, thereby reducing time, transmission capacity, local storage capacity, and computing capacity.
[0019] Another advantage is matching historical data with the log data being analyzed to test or verify log patterns.
[0020] Another advantage resides in generating, and optionally storing, additional constraints determined from log data matching a log pattern.
[0021] Another advantage resides in using such additional constraints as filters to reduce the amount of historical data that is downloaded and / or compared to the log pattern being tested or validated.
[0022] Another advantage resides in using such additional constraints as filters to reduce the amount of medical imaging machine log data that is downloaded and / or compared to log patterns in order to diagnose problems with the medical imaging machine.
[0023] As will become apparent to one of ordinary skill in the art upon reading and understanding the present disclosure, a given embodiment may provide none, one, two, more, or all of the above advantages, and / or may provide other advantages. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The disclosure may take form in various components and arrangements of components, and in various steps and arrangements of steps.The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting the disclosure.
[0025] Figure 1 A medical imaging system diagnostic system is schematically shown, which includes a log pattern editing device with efficient automatic performance analysis as disclosed herein, and a computerized diagnosis aid device that employs a log pattern generated using the log pattern editing device.
[0026] Figure 2 Schematically shows the Figure 1 The device appropriately performs the automatic log mode performance analysis method.
[0027] Figure 3 Schematically illustrates a visual representation of the decomposition of a log schema's structure into log events as described herein.
[0028] Figure 4 Schematic diagram of the process of diagnosing a problem using a particular medical imaging device being diagnosed. Figure 1 The field-based diagnostic assistance application uses the deployed logging mode.
[0029] Figure 5 Shows Figure 1 An exemplary flow chart operation of a system. DETAILED DESCRIPTION
[0030] Evaluating the performance of log patterns using historical data requires applying log patterns to log event data generated by many previous calls. For example, consider a base with thousands of medical imaging systems installed, which experiences a total of 10,000 service calls per year. Assume that the log pattern hits 100 service calls per year, i.e. 1% of all service calls. Evaluating the performance of log patterns requires analyzing a large number of service calls. Even analyzing log events for 1,000 random service calls (10% of all service calls) will only produce an average of 10 service calls that the log pattern will hit. This is generally insufficient for proper statistical analysis, making this method difficult or even infeasible in practice. On the other hand, processing all log events for all 10,000 service calls will produce 100 service calls that the log pattern will hit. This may be sufficient for statistical analysis, however, the computing resources required to process such a huge amount of log event data will be very large, which again makes this method difficult or even infeasible in practice.
[0031] In the method disclosed herein, these difficulties are reduced by performing preprocessing of the disclosed historical log event data. This can be done once within a given time range in the past (and optionally with certain additional specified constraints) to generate a set of normalized log events, which are then subjected to the disclosed pre-analysis to identify a superset of service calls hit by a given pattern. The preprocessing is not specific to a given log pattern (although in some embodiments, known constraints on the type of log pattern to be analyzed can achieve more efficient normalization; this can be balanced with the reusability goal of the normalized log data when selecting the scope of normalization). Due to the lack of log pattern specificity of the preprocessing, if the diagnostic designer is in the process of defining a new log pattern, the log pattern may be adjusted and rerun for the same normalized log data generated once by preprocessing so that the preprocessing step does not need to be repeated. This facilitates the rapid analysis of changes in log patterns of the type that may be generated by the diagnostic designer adjusting the log pattern in an attempt to optimize it for a specific diagnostic task. The pre-analysis does rely on the log pattern, but operates on a small data set, namely the normalized data generated by preprocessing, and is therefore more efficient than analyzing all available log data. Pre-analysis can be viewed as a filtering step that, for each log pattern, filters the set of all calls within a given time range to a relatively small superset of calls that the log pattern can hit.
[0032] The superset is selected by pre-analysis to ensure that no (or at least very few) hits with the log pattern being analyzed are discarded. This is done by identifying a test set of normalized log events that match the log pattern being analyzed. This matching is similar to the regular matching of (non-normalized) log events with log patterns, except that the matching of the normalized content of the log events is handled differently. Conceptually, log patterns can be considered normalized as long as the log pattern items corresponding to the normalized fields of the log event are processed according to the predefined normalized content matching rules for the defined normalization (these are called normalized log pattern items). In this context, a normalized log event is said to match the normalized log pattern being analyzed if it matches a single normalized log pattern item of the normalized log pattern. This may result in some hits being erroneous (compared to whether non-normalized log events will hit the non-normalized log pattern); however, in no case (or at least in very few abnormal cases), log events that actually hit the log pattern being analyzed will not be erroneously discarded by matching the normalized log event with the normalized log pattern. The resulting test set is therefore a superset, in that it includes all calls (or at least nearly all calls) for which the log pattern being analyzed has hits, and may also (and in fact usually will) include other calls for which the log pattern being analyzed does not have hits.
[0033] In additional improvements disclosed herein, denormalized fields (or columns) of normalized log data that match a normalized log pattern can be used as additional constraints to further reduce the amount of data downloaded for analysis using the (denormalized) log pattern. In some embodiments disclosed herein, event IDs (which actually identify the "type" of a log event, rather than a unique event identifier) and event categories (a broader "classification"; since there are only a few event categories) are two fields that are sometimes used as input to a log pattern (and therefore are not normalized), which can also be used as additional constraints to limit downloads. However, these are merely illustrative examples, and more generally, at least one additional constraint is defined during a preprocessing operation on one or more filter fields in a set of fields that form a log entry.
[0034] For each test call identified by pre-analysis, only log events that match the additional constraints extracted from the matching normalized log data are retrieved and analyzed by the (non-normalized) log pattern being tested or verified. Additional constraints can also be used in the diagnosis phase to limit the download of log data by the RSE or FSE for a specific medical imaging device being diagnosed. In some examples, the additional constraints are formed by making logical combinations of "AND" and "OR" operations with various field values. It can be a complex logical expression used as an additional "AND" clause in a database query or file download request. In the diagnosis context, in order to provide the latest additional constraints at the time of the service call, the additional constraints can be generated "on the fly" by performing pre-analysis on the latest historical normalized log event data set. Since this normalized data set is relatively small (e.g., 1GB), it can be updated from time to time (e.g., monthly) and pre-loaded onto the service engineer's computer as a monthly update. The verified log pattern that is attempted to be applied to diagnose the problem using the diagnosing medical imaging device problem is then normalized, and the pre-analysis is performed by applying the normalized verified log pattern to the latest historical normalized log time database to identify matching normalized log events. The (event ID, event category) field value pairs of these matching normalized log events then define the latest additional constraints on the validated log pattern. Only those log events of the machine being diagnosed within the time interval of the call (e.g., up to the last X hours of the configuration of the service call) that match these latest additional constraints are retrieved and analyzed using the (raw, i.e., non-normalized) validated log pattern. This greatly reduces the number of events retrieved and to which the validated log pattern is applied.
[0035] In other embodiments, additional constraints generated during the validation phase of a validated log pattern may be stored with the final validated log pattern. As the service engineer continues to apply the validated log pattern, the stored additional constraints are retrieved and incorporated into log event retrieval queries. This avoids the additional processing required to generate the latest additional constraints "on the fly", although at the expense of having potentially outdated additional constraints.
[0036] refer to Figure 1, a medical imaging system diagnostic system is exemplarily shown, which includes a log pattern editing device 10, 12 with efficient automatic performance analysis as disclosed herein, and a computerized diagnostic aid device 14 using a log pattern generated using the log pattern editing device. The log pattern editing device includes a server computer 10, which is operably connected to a non-transitory storage medium (not shown) to read and execute instructions to perform a log pattern analysis method using pre-processing and pre-analysis as disclosed herein, and a diagnostic design computer 12 is operably connected to a non-transitory storage medium to read and execute instructions to perform the log pattern editing method. The exemplary computerized diagnostic aid device 14 is designated as a field service engineer computer 14, which is operably connected to a non-transitory storage medium to read and execute instructions to perform a diagnostic aid method using a log pattern deployed from the log pattern editing device 10, 12. In the above, it should be understood that each of the electronic processors 10, 12, 14 can be embodied by a computer, a server, a desktop computer, a notebook computer, or other microprocessor-based electronic processing device. Typically, the log pattern analysis method is performed by an electronic processor with high computing power, such as the exemplary server 10, because a large amount of computation is involved in these analyses (even if improved computational efficiency is achieved through preprocessing and pre-analysis as disclosed herein, these analyses are still very large). The non-transitory storage medium referred to herein can be embodied in various ways, for example, as a hard drive, a RAID array or other magnetic storage medium, a solid-state drive (SSD) or other electronic storage medium, an optical disk or other optical storage medium, various combinations thereof, and / or the like. In addition, it should be understood that the disclosed electronic processor can be differently combined via an electronic data network 31 or the like, and / or multiple non-transitory storage media can be differently combined via an electronic data network 31 or the like. For example, the log pattern editing device 10 can be implemented as a cloud computing resource comprising a specialized combination of multiple server computers.
[0037] In addition, the computer or other electronic processor 12 executing the log mode editing method includes suitable user interface hardware to enable user interaction to perform log mode editing and log mode analysis results viewing. In a non-limiting example, the exemplary diagnostic design computer 12 programmed to perform the log mode editing method (including calling the log mode analysis method executed by the server computer 10 to analyze the initial and / or edited log mode) includes user interface hardware, such as an exemplary display 16 (providing a display of the analysis results and optionally also including a touch-sensitive overlay used as a user input device), a keyboard 18, a mouse, a trackball, an exemplary touchpad or other pointing device 20, and / or the like. Similarly, the exemplary field service engineer computer 14 includes user interface hardware, such as an exemplary display 22 (providing a display of the analysis results and optionally also including a touch-sensitive overlay used as a user input device), a keyboard 24, a mouse, a trackball, an exemplary touchpad or other pointing device 26, and / or the like.
[0038] The log pattern analysis operates on medical imaging device log data that includes log events and also includes service calls. Figure 1 In the example of FIG. 3 , log events are stored in a log event database 30, and data about service calls are stored in a service call database 32. This reflects a common data entry paradigm, in which log events are automatically generated by medical imaging equipment and recorded in the log event database 30, while service call data is manually or semi-manually entered by a service engineer or other personnel and stored in the service call database 32. However, this is merely exemplary, and it is also contemplated that an integrated database is employed that stores log event and service call data. By way of non-limiting example, the medical imaging equipment may be, for example, a computed tomography (CT) imaging scanner, a magnetic resonance imaging (MRI) scanner, an image guided therapy (iGT) device using a C-arm X-ray or other imaging component, a positron emission tomography (PET) scanner, a gamma camera such as for single photon emission computed tomography (SPECT) imaging, a hybrid imaging system (e.g., PET / CT), and the like.
[0039] Each service call has a call time, typically specified as the date / time recorded when the customer called in with the problem that caused the service call to be opened. The call time can be specified differently, such as the time when the service call center agent manually entered the call time, or as an automatically generated timestamp for receiving the customer call, etc. Each service call is associated with a subset of log events that occurred within a service call time range of the call time of the service call. The service call time range is a configuration parameter for log pattern analysis, and the service call time range is preferably set to be long enough so that the subset of log events contains all log events that can be credibly causally related or related to the root problem that caused the service call. On the other hand, if the service call time range is too long, the subset of log events associated with the service call may become impractically large. The value of the appropriate service call time range may depend on many factors, such as the country or region where the medical imaging system is located and / or the type of customer (e.g., larger medical institutions may generally spend more time trying to remedy the problem internally, while smaller medical institutions may turn to the supplier more quickly), etc.
[0040] Typically, the service call time range extends strictly before (and typically until) the call time of the service call, e.g., if the call time is exactly noon on February 20, and the length of the service call time range is 24 hours, then the subset of log events associated with the service call is those log events with timestamps between noon on February 19 and noon on February 20 (the latter is also the call time). This approach assumes that when the service call is issued (i.e., the call time), the root cause should be obvious from the logs with timestamps up to the call time. The use of a strict prior time range also accommodates the common situation that the medical imaging device may be offline (and therefore no longer generates log events) when certain types of problems are detected. However, it can also be alternatively envisioned that the service call time range is extended by some additional length after the call time, e.g., if the call time is noon on February 20, and the length of the service call time range is 24 hours, the subset of log events associated with the service call may be those log events with timestamps between 2 p.m. on February 19 and 2 p.m. on February 20 (in this example, extended by two hours after the call time).
[0041] The disclosed pre-processing Figure 1The preprocessing of the medical imaging device log data is implemented by a preprocessor 34 (e.g., by a server computer 10 programmed to perform preprocessing of the medical imaging device log data), including generating normalized log events by removing or replacing the content of the log events according to normalization rules, and linking each normalized log event with one or more service calls associated with the normalized log event to generate normalized log events. More generally, the preprocessing of the medical imaging device log data includes generating normalized log events by removing or replacing the content of the log events, and linking each normalized log event with one or more service calls associated with the log event that matches the normalized log event. In a suitable method, the normalized content includes standardized content that replaces data fields or other selected content of the medical imaging device log entries that vary between log entries. In some specific embodiments, the normalized content used for certain types of replacements can be empty content, such as an empty string, and this normalization is equivalent to removing content from the log event.
[0042] In one method, a medical imaging device log event is normalized by replacing the content of the medical imaging device log event with the normalized content defined by the configuration data 36. For example, the configuration data 36 may appropriately include normalization rules that define which fields of the log event will be normalized, and which normalized content is used to replace the content of these fields. Since normalization is equivalent to replacing or removing information from a log event, two or more (or in fact many) different medical imaging device log events can be normalized to the same normalized medical imaging device log event in this way. All medical imaging device log events that are normalized to a specific normalized medical imaging device log event are referred to as "matching" the specific normalized medical imaging device log event. In other words, if a medical imaging device log event generates the normalized medical imaging device log event when the content is normalized by replacing the normalized content defined by the configuration data 36, the medical imaging device log event is referred to as matching the normalized medical imaging device log event.
[0043] The goal of log pattern analysis is to assess the extent to which the log pattern being analyzed identifies service calls that have a certain root cause (or a set of root causes, e.g., related in some way). Thus, each normalized log event is linked to one or more service calls that have associated log events that match the normalized log event. In one processing method, log events associated with a service call (i.e., as part of a subset associated with a service call) are normalized while still being linked to their respective service calls; then, identical (i.e., duplicate) normalized log events are merged into a single normalized log event, which is linked to all service calls of the log events involved in the merge. It should be understood that this "de-duplication" process results in the set of normalized log events being significantly smaller than the set of log events from which the set of normalized log events was derived. In addition, the normalized log events contain less information and can therefore be processed more efficiently.
[0044] like Figure 1 As exemplarily indicated in , the preprocessor 34 does not rely on any log pattern when performing preprocessing to generate normalized log events. However, it should be understood that the configuration 36 can be selected to limit the removal or replacement (i.e., normalization) of the data of the log event on which the log pattern being analyzed depends. A trade-off can be made, in which the data to be normalized is selected to be sufficient to provide significant improvements in computing efficiency while retaining enough data to provide a meaningful pre-analysis of the log pattern. The configuration data 36 can be stored in various ways depending on the desired flexibility of modification. For example, configuration data that is expected to never change can be hard-coded into executable instructions that implement the log pattern analysis method. Configuration data that is expected to rarely change can be stored in a global configuration file that can only be edited by certain authorized personnel (e.g., the chief diagnostic designer responsible for maintaining the log pattern analysis system). Local configuration files or task-specific configuration files can be used to store configuration data that is expected to be updated frequently, for example, based on specific types of log patterns being analyzed and / or specific historical log data sets for analysis (e.g., historical log data applicable to a particular intended deployment context can be used, e.g., if log patterns are being developed to diagnose problems that may arise in pediatrics, then historical log data obtained from pediatrics can be used; however, if log patterns are being developed to diagnose problems that may arise in cardiology, then historical log data obtained from cardiology can be used; and / or the like). It should be noted that any changes to the normalization rules applied by the preprocessor 34 will require reusing the preprocessing of those normalization rules, which is computationally relatively expensive.
[0045] The pre-analysis disclosed in Figure 1Schematically indicated in the figure is performed by a pre-analyzer 38, for example, by a server computer 10 programmed to perform pre-analysis, the pre-analysis comprising identifying a test set of normalized log events that match the log pattern 40 being analyzed and a test set 42 of service calls that are linked to the test set of normalized log events. Again, since the goal of log pattern analysis is to assess the extent to which the log pattern 40 being analyzed identifies service calls that have certain root causes (or a set of root causes, e.g., related in some way), the output of the pre-analyzer 38 is the test set 42 of service calls (rather than an intermediate test set of normalized log events that match the log pattern 40).
[0046] More specifically, the goal is to generate a test set 42 of service calls that is a superset of all service calls in the database that hit the log pattern 40 being analyzed. In other words, the test set 42 of service calls should include all service calls associated with a subset of log events that match the log pattern 40 being analyzed (without missing any hits), but may also include additional service calls that do not match the log pattern 40 being analyzed. To this end, pre-analysis uses over-inclusion matching to identify a test set of normalized log events that match the log pattern 40 being analyzed, where the normalized log events (i.e., normalized content) are matched to corresponding normalized log pattern items using predefined normalized content matching rules.
[0047] The test set 42 of service calls is used as input to the main log pattern analyzer 44. Conventionally, the main log pattern analyzer 44 will be the only log pattern analysis and will retrieve all log events associated with all service calls in the service call database 32 from the log event database 30. That is, the main analyzer 44 will conventionally process all log events that fall within the service call time range of any service call contained in the call database 32. This can be a huge amount of data to process, making the main analysis computationally inefficient. In contrast, Figure 1 The log pattern analysis method of the present invention utilizes the preprocessor 34 and the pre-analyzer 38 to reduce the number of relevant calls to the test set 42 of service calls to a significantly lower number than the total number of service calls in the database 32; however, due to the over-inclusion of the pre-analysis performed by the pre-analyzer 38, it is ensured that the test set 42 of service calls includes every service call that the log pattern 40 being analyzed scores as a hit (and additionally includes some other service calls that the log pattern 40 being analyzed would not hit). The main log pattern analysis performed by the main log pattern analyzer 44 is thus made more efficient through the "pre-filtering" of the service calls performed by the preprocessor 34 and the pre-analyzer 38, and more efficiently produces the service call set 46 of the log pattern 40 being analyzed.
[0048] The master log pattern analyzer 44 is suitably implemented by a server computer 10 programmed to analyze a test set 42 of service calls to identify hit service calls 46, wherein each hit service call belongs to the test set 42 of service calls and for which the log pattern 40 being analyzed has a hit. It should be noted that the master log pattern analyzer 44 operates on "raw" log event data from the log event database 30. That is, the master log pattern analyzer 44 does not operate on normalized log events. Therefore, it is clear whether a log pattern 40 is a hit or not because no information is lost due to normalization. Therefore, the role of the master analyzer 44 is to take as input the test set 42 of over-included service calls and remove those service calls that do not actually hit the log pattern 40 in order to output hit service calls 46.
[0049] The medical imaging device log data used in the log pattern analysis is historical data, that is, the service calls are all resolved service calls, where the root cause(s) of the problem that triggered the service call have been identified. Therefore, the root causes of the service calls in the database 32 are known and stored as data for the service calls. Therefore, the root cause identifier 48 is appropriately implemented by the server computer 10 that is programmed to identify one or more root causes determined by the hit service call 46. In other words, the identified root cause is the root cause that is entered into the service call database 32 for the hit service call 46 (e.g., by a field service engineer or other professional who responds to the service call and solves the medical imaging device problem).
[0050] Continue to refer Figure 1 In a typical practical implementation, the log pattern analysis method implemented by the server computer 10 is called by a diagnostic designer operating the diagnostic design computer 12 to input a log pattern 40 using a log pattern editor 50 (i.e., a user interface), via which the log pattern 40 being analyzed can be edited, and the log pattern analysis method can be called to present a log pattern hit report 52 summarizing the hit service calls 46 for the edited log pattern 40 being analyzed. For example, the log pattern report 52 can be displayed on the display 16 of the diagnostic design computer 12.
[0051] By way of non-limiting illustrated example, the summary of the hit service calls 46 may include information about the identified one or more root causes 48, a display of the “raw log event data,” i.e., the log events that the log pattern 40 hit (optionally with some context surrounding the log data, e.g., if the log pattern hits a set of log events spanning a certain time interval, the displayed context may include any additional log events that did not contribute to the hit but are timestamped at times between the log events that contributed to the hit, and optionally also include context for a certain import time interval before the first log event that contributed to the hit and / or a certain export time interval after the last log event that contributed to the hit), and / or the like. If the hit service calls 46 generate a large number of different root causes 48, the information presented about the identified root causes 48 may include a truncated list of the top N root causes that most frequently occur in the hit service calls 46, and a count of the number of hit service calls that identified each root cause. The displayed information may also include some quantification of the hit service calls 46, such as a count of hit service calls (i.e., the number of service calls hit by the log pattern 40 being analyzed), a ratio of the count of hit service calls to the count of service calls in the medical imaging device log data, both the count and the ratio, etc. The foregoing are merely exemplary report contents, and more generally, the log pattern report 52 may include additional and / or other information, such as the types of medical imaging devices involved in the hit service calls 46, the types of imaging tasks that these devices are being used for, and / or the like.
[0052] It should be appreciated that the log pattern editing and analysis process can be repeated and iteratively, under the direction of a diagnostic designer operating the diagnostic design computer 12, to input an initial log pattern 40 via the log pattern editing user interface 50, and then invoke the log pattern analysis method implemented by the server computer 10 to generate a log pattern report. After reviewing the report, the diagnostic designer can further edit the log pattern 40 via the log pattern editor 50, and invoke the log pattern analysis method to generate an updated log pattern report for the updated (i.e., further edited) log pattern, and so on, until the diagnostic designer is satisfied that the log pattern is producing optimized (or at least acceptable) diagnostic results, for example, as quantified by sufficiently strong correlations with one or a few root causes, a manageable number of total hits, a sufficiently low false positive rate (i.e., hit service calls that do not identify the root cause that the log pattern is intended to determine), and / or the like. When performing this iterative process under the direction of the diagnostic designer, the same normalized log data generated by the preprocessor 34 can be used for each iteration (because the preprocessing is not log pattern specific). Thus, a computationally extensive amount of preprocessing can be performed before the diagnostic designer begins log pattern editing via the log pattern editing user interface 50, so editing is a fast process. More generally, preprocessing can be completed at a certain time t, and starting from time t, all diagnostic designers can begin to use the log pattern analysis tool to combine a large number of patterns in an interactive setting. At a certain time, such as after a year, this preprocessing can be repeated to update the group of calls under consideration, such as to include more recent calls, and once this preprocessing is completed, the diagnostic designer can begin to use the updated data.
[0053] When the diagnostic designer is satisfied with the log pattern, the user interface presented by the log pattern editing method (e.g., the log pattern editor user interface 50) may appropriately provide a "save as" user dialog box or the like, via which the (final) edited log pattern 40 being analyzed can be stored in the deployed log pattern database 54 as a deployed log pattern, preferably annotated with one or more root causes determined by the hit service call 46 in the final analysis run on the final edited log pattern 40. The deployed log pattern is thus designed to diagnose the annotated one or more root causes. In practice, there may be other validation layers inserted between the final optimized log pattern output by the log pattern editor 50 and the actual deployment of the log pattern in the field. For example, the final log pattern may be reviewed by the chief diagnostic designer, or may need to go through some approval process. In daily practice, the output of the log pattern may be considered by the remote service engineer in a more detailed problem assessment, such as by performing additional tests. For example, multiple log patterns may give hits, providing evidence of uncertainty that is subsequently resolved by performing additional tests.
[0054] Continue to refer Figure 1 , applying a deployment log pattern stored in a database 54 during a current service call being performed in the field. A computerized diagnostic assistance device 14 (exemplary field service engineer computer 14) is operably connected to a non-transitory storage medium (not shown) to read and execute instructions to perform a diagnostic assistance method (e.g., implemented as an exemplary field-based diagnostic assistance application 56 running on the computer 14), including: applying a deployment log pattern to medical imaging device log data generated by a medical imaging device being serviced; and, conditional on the deployment log pattern having at least one match in the medical imaging device log data generated by the medical imaging device being serviced, controlling the display 22 of the field service engineer computer 14 to present the deployment log pattern annotated as one or more root causes in the database 54. The application 56 may also present other information, such as displaying log events that contributed to the log pattern match (again, optionally displayed in the context of surrounding log events with timestamps and / or outside of the log events that constitute the match).
[0055] Reference now Figure 2 , describes the Figure 1 The exemplary log analysis method is suitably performed by the log pattern analysis device 10. The method operates on the log event data stored in the log event database 30 and the service calls stored in the service call database 32. The pre-processing 64 is performed by Figure 1 The preprocessor 34 is executed according to the configuration data 36 to generate normalized log event data 66. The pre-analysis 68 of the log pattern 40 being analyzed is performed by Figure 1 The pre-analyzer 38 is executed to generate the test set 42 for the service call. The main analysis 74 is performed by Figure 1 The main analyzer 44 is executed to generate analysis results 76, such as the hit service calls 46 and the (one or more) root causes 48 identified in the hit service calls 46, and optionally additional result information, such as log events that optionally match the log pattern 40 being analyzed with surrounding log events for context.
[0056] Based on the given configuration, preprocessing 64 generates a list of normalized log event data 66 and, for each normalized log event Generates the associated log event l normalized as The normalized log event data 66 is processed during pre-analysis 68 which determines a test set 42 of service calls, given a log pattern 40 being analyzed. These are then used by the main analysis 74 which, for each service call in the test set 42 of service calls, retrieves a subset of log events that occurred within the service call time range of the service call's call time and, based on that data, analyzes the given log pattern 40 to calculate whether the log pattern 40 has a hit for this service call. These form the basis for the results 76 for the main analysis. The normalization step (i.e., pre-processing 64) employs the normalization rules of the configuration data 36 to replace dates, times, integers, IP addresses, temperature values, etc. in attributes or fields of log events (e.g., text portions such as descriptions and additional information) with constant strings, thereby effectively mapping potentially many different log events to one normalized log event. For example, a decimal integer will be replaced by the string <xxx>Replacement. It is envisioned that the normalized content will simply be removed (or, equivalently, replaced by an empty string <>). The test set 42 of service calls is typically significantly smaller than the total number of calls for a given configuration. This results in significant savings in computation and data transfer. For example, instead of retrieving 10,000 service calls that may have a week's worth of associated log event data (or more) from a machine and generating an average of 90,000 log events for analysis, by way of preprocessing 64 and pre-analysis 68, it may be sufficient to perform such retrieval and generation for only approximately 150 calls.
[0057] In the following, reference Figure 2 Some additional aspects and / or embodiments and / or examples of an exemplary log pattern analysis method are discussed.
[0058] In one exemplary example, the configuration 36 includes a time range that is typically one or more years in the past (although shorter time ranges, such as months or even weeks, are optionally contemplated), a set of system code and release management (releases) that identify which systems are to undergo preprocessing 64, and a definition of a service call time range, such as a day or a week extending backward from the call time of the service call (again, longer or shorter service call times are contemplated, and the service call time range can be able to extend partially forward beyond the call time of the service call).
[0059] For a given configuration 36, preprocessing 64 creates, for each service call within a given time range involving one of the identified systems, a list of all log events generated by that system within the service call time range. These log events are normalized. Using this data, a list of normalized log events 66 is generated, and for each normalized log event Generate log event l normalized as For a given configuration 36, this preprocessing 64 only needs to be done once, after which the results 66 of this preprocessing 64 can be reused for many logging modes.
[0060] Continue to refer Figure 2 And further reference Figure 3 In one exemplary example, the log pattern 40 includes a logical expression consisting of a log pattern term 80 and a time span. For example, the logical expression may be a time span of length at most t. Among them, A, B, C, and D are logarithmic mode items, "∧" represents logical conjunction, and "∨" represents logical separation. = represents a logical negation, and t represents a time amount. Each log pattern item 80 consists of a combination of conditions 82 about a single log event, which together identify a set of log events 84 that satisfy these conditions. Figure 3 . These conditions 82 are applied to the various attributes that make up the log pattern 40. Examples include event id, event category, system mode, description, additional information. These conditions can be exact values, such as event id = 0630000001 or system mode = normal operation, description = generator exception occurred, but can also be regular expressions, such as additional information contains the regular expression POST (Clea|Poly-G2) LUC1 passed. Pre-analysis 68 (see Figure 2 ) normalizes the values of the description and additional information parts of the condition in this example. In contrast, in this exemplary example, event ids and event categories are not normalized. For each normalized log pattern item, the normalized log event data is used to identify normalized log events that satisfy the normalized log pattern item. By combining the call identifiers associated with each of these normalized log events, a set of call identifiers is obtained during the occurrence of the log pattern item. Preprocessing 64 can be applied to normalizable log patterns. The normalized version of log event 1 is represented as The normalization of a log pattern means that each of its log pattern terms does not involve negation in conjunctive normal form (CNF) and is normalizable. The normalizability of a log pattern term means that if a log pattern term identifies a set of log events S, and the normalized version of the log pattern term identifies a set of normalized log events S', then for all l∈S, ' holds true. In other words, a log pattern is normalizable as long as the normalized version identifies a superset of its hits.
[0061] In general, log patterns are normalizable. Consider the condition description=abc15 in a log pattern item. It identifies all log events with description=abc15. In one normalization approach, normalization of the condition changes it to description=abc15. <xxx>This normalization condition identifies the <xxx>All normalized log events are normalized versions of the original description in the log event. Again, this property holds for most regular expressions. For example, the regular expression (05AH|06AW) can be normalized to ( <xxx>AH| <xxx>AW), so a raw log event containing 05AH will contain <xxx>AH. It should be understood that a raw log event containing 02AH will also contain <xxx>AH, matches the normalization condition, so normalization can generate more hits. By the way, there are some instances of regular expressions that are not normalizable. For example, A{5}, which means a row of five As. Depending on the exact normalizer, normalization may change it to A{ <xxx>}, which is not a valid regular expression and may not generate a match to any normalized log events. This can be detected so the exception can be thrown and evaluation stopped.
[0062] Now, two things are computed in this example. First, by using the set of calls associated with each normalized log pattern item in the log pattern, it is possible to evaluate the logical expression of the log pattern, for example using Dijkstra's shunting algorithm, to convert it to reverse Polish representation, and perform a stack-based evaluation of the expression in reverse Polish representation. However, when doing this evaluation, each negation operator is evaluated to true, i.e., all calls are considered. The time span is not yet taken into account. It can be shown that in this way, a superset of all service calls for which the original log pattern had at least one hit is obtained. Including the time span in the main analysis 74 is appropriately done using a window-based algorithm.
[0063] In some embodiments, normalization of log events requires replacing various types of numbers, like time, IP address, binary, decimal or hexadecimal numbers, etc., by constant strings. This significantly reduces the number of different log events. While this normalization is usually performed on text fields (such as description or additional information fields), it is not performed on fields with identifying characters (such as event ids or system patterns).
[0064] The log pattern contains a logical expression according to the log pattern item, which then identifies the number of log events according to the conditions on one or more fields of the log event. Now, for each normalizable log pattern, the value field in each log pattern item has been normalized because they relate to these text fields such as the description or additional information field of the log event, thereby generating a normalized log pattern. With the help of this normalized log pattern, it is possible to search for all matching normalized log events in the preprocessed data. From these matching, normalized log events, identification fields (such as event id and event category) are extracted, and this information is used to limit the number of log events to be downloaded / retrieved to those log events with only matching identification fields, such as event id and event category fields. In this way, the number of log events to be downloaded and / or retrieved is significantly reduced, thereby saving time and cost, while improving efficiency.
[0065] Return to reference Figure 1 and Figure 2 , a set of additional constraints 90 are generated and used as retrieval filters 91 to filter the log events within the time range of the service call test set 42 to be retrieved to the main log pattern analyzer 44. An additional constraint 90 is used to reduce the number of relevant log events to be downloaded in order to test the log pattern for the service call test set 42. In this way, the number of downloaded and analyzed log events associated with the hit service call 46 is reduced, which means that less log data must be downloaded and analyzed.
[0066] The log data being analyzed includes log events having a timestamp and defined by values for a set of fields. The log data being analyzed is stored on a log event database 30, which is accessible by at least one electronic processor via an electronic network 31. In an exemplary embodiment, the filter 91 can be implemented as follows. A search query is generated to select log events that are within a time interval (e.g., a time period before the time of placing a service call of the service call test set 42, and optionally extending for a period of time) and also satisfy at least one additional constraint 90 associated with the log pattern item 80 and defined on one or more filter fields of a set of fields of the log data. For example, additional constraints can be defined on the event id and event category fields of the log data. More specifically, the (event id, event category) pair values of all normalized log events of the normalized log event data 66 that match the normalized log pattern item in the pre-analysis 68 are appropriately compiled into a table, and the (event id, event category) pair values of any log event that satisfies the additional constraint 90 are in the table.
[0067] Reference now Figure 4 , describes the Figure 1 An exemplary log analysis method 200 appropriately performed by a field-based diagnostic assistance application 56 of the present invention. As previously described, the application 56 applies a deployed (e.g., validated) log pattern to medical imaging device log data generated by a medical imaging device in service; and, conditional on the deployed log pattern having at least one match in the medical imaging device log data generated by the medical imaging device in service, controls the display 22 of the field service engineer computer 14 to present one or more root causes annotated in the database 54 as the deployed log pattern. In the method 200, additional constraints 90 are generated based on the normalized log event data 66 stored in the log event database 30. In order to provide the most up-to-date constraints 90, these constraints can be generated "on the fly" by performing a pre-analysis 202 on the most recent historical normalized log event data set. Since such a normalized data set is relatively small (e.g., 1 GB), it can be updated from time to time (e.g., monthly) and pre-loaded onto the service engineer's computer as a monthly update. The validated log pattern 40 to be applied in an attempt to diagnose problems with the medical imaging device is then normalized, and a pre-analysis 202 is performed by applying the normalized validated log pattern against the latest historical normalized log event data set to identify matching normalized log events. Then, one or more non-normalized fields of the normalized log data in these matching normalized log events, such as the field value pair (event id, event category) in the exemplary example, define the latest additional constraints 90 for the validated log pattern. In the example, the (event id, event category) pair values of all normalized log events of the normalized log event data that match the normalized log pattern items in the pre-analysis 202 are appropriately compiled into a table, and the pair value (event id, event category) of any log event that satisfies the additional constraints 90 is in the table. A log file on demand (LOD) program 94 constructs a query to retrieve log data for the medical imaging system 92 in service that is time stamped within some specified time interval corresponding to the time of the service call (e.g., the last 12 hours of log data in one non-limiting illustrative example, or a time interval entered by a user via the user interface 50 in another example) and that satisfies additional constraints 90, such as by having (event id, event category) pair values in a table defining the additional constraints 90. The retrieved log events are in Figure 4 The primary analysis 74 is performed by matching log entries of the log track 96 with the log patterns 40 (which are not normalized when applied to the primary analysis 74) to generate analysis results 76, such as controlling the display 22 of the field service engineer's computer 14 (in this example, forming a display 22 of the display 22 of the display 22 of the field service engineer's computer 14) conditional on the deployed log pattern 40 having at least one match in the medical imaging device log data generated by the medical imaging system 92 in service. Figure 4 The user interface 50 of FIG. 50 presents one or more root causes of the log pattern 40 annotated as deployed in the database 54 (see Figure 1 ).
[0068] refer to Figure 5 , an exemplary embodiment of a log pattern analysis method 300 is schematically illustrated as a flow chart. The method 300 is performed by applying a log pattern to log data being analyzed, the log data being analyzed comprising log events having a timestamp and defined by values for a set of fields. The log data being analyzed is stored in a log event database 30 server accessible by a server computer 10, a design computer 12, and / or a computerized diagnostic aid 14 (collectively referred to as at least one electronic processor) via an electronic network 31.
[0069] At 302, at least one electronic processor is programmed to receive or generate normalized log data. Figure 1 In the test / verification phase, normalized log data is generated by a preprocessor 34, which generates normalized log events from log events by removing or replacing the content of log events according to normalization rules. Figure 4 ), the normalized log event data is appropriately received as periodic (e.g., monthly) updates generated offline by the pre-processor 34 and packaged as updates for incorporation into the field-based diagnostic assistance application 56.
[0070] At 304, at least one electronic processor is programmed to execute a search constraint generation method 400 that operates on the normalized log data generated at 302. For example, additional constraints can be defined on the event id and event category fields (or other selected non-normalized fields) of the normalized log data. More specifically, the (event id, event category) pair values of all normalized log events of the normalized log event data 66 that match the normalized log pattern items are appropriately compiled into a table, and the (event id, event category) pair values of any log event that satisfies the additional constraints are in the table.
[0071] At 306, at least one electronic processor is programmed to construct a retrieval query to select log events that are in a defined or selected time interval and also satisfy at least one additional constraint generated at step 304 and associated with the log pattern and defined on one or more filter fields of the set of fields. In a non-limiting example, the one or more filter fields may include a type of log event and an event category. The construction of the retrieval query includes determining a time interval associated with the time of the service call (e.g., 12 hours prior to the service call time). In another example, the historical log data is log data that is being analyzed, and the construction of the retrieval query includes determining a time interval as one or more time intervals that contain matching normalized log events (e.g., Figure 1 Call set 42).
[0072] At 308, at least one electronic processor is programmed to apply the query generated at 306 to download a subset of the log data for analysis from the log event database 30 to the at least one electronic processor via the electronic network 31. The subset is selected from the log data being analyzed by the retrieval query (e.g., historical log event data during a log mode testing / validation phase; or Figure 4 log data of a medical imaging system 92 in service during the diagnostic phase of the process).
[0073] At 310, at least one electronic processor is programmed to apply a log pattern to a downloaded subset of the log data being analyzed to identify a log pattern hit 312 in the log data being analyzed. The log pattern hit 312 can be used in various ways, such as to generate a log pattern hit such as Figure 1 The log pattern hit report 52 shown is used in testing and / or verification, or generates analysis results 76 to be used in Figure 4 The information is presented to the service engineer via the user interface 50 during the diagnostic phase.
[0074] It should be understood that the disclosed pre-processing and pre-analysis provide savings in computing workload and data transmission, for example, over a network. In addition, the pre-processing and pre-analysis help generate higher quality log patterns, which is expected to have a positive impact on the maintenance of medical systems, particularly in terms of reducing the total cost of ownership and reducing unplanned downtime.
[0075] The present disclosure has been described with reference to preferred embodiments. Modifications and alterations may occur to others upon reading and understanding the preceding detailed description. It is intended that the exemplary embodiments be interpreted as including all such modifications and alterations as long as they fall within the scope of the appended claims or their equivalents.< / xxx> < / xxx> < / xxx> < / xxx> < / xxx> < / xxx> < / xxx> < / xxx>
Claims
1. A non-transitory computer-readable medium storing instructions capable of being read and executed by at least one electronic processor to: A retrieval constraint generation method is performed that operates on historical log data, the historical log data including log events having a timestamp and defined by values for a set of fields, the retrieval constraint generation method comprising: normalizing selected fields from the set of fields in the log pattern to generate at least one normalized log pattern item, wherein the selected fields do not include one or more filter fields from the set of fields; identifying a matching normalized log event in normalized log data that matches the at least one normalized log pattern item, wherein the normalized log data is generated from the historical log data by normalizing the selected field in the historical log data; and generating at least one additional constraint based on values of the one or more filter fields in the matching normalized log event; performing a log pattern analysis method by applying a log pattern to log data being analyzed, the log data being analyzed comprising log events having a timestamp and defined by values for the set of fields, wherein the log data being analyzed is stored on a server accessible by the at least one electronic processor via an electronic network, the log pattern analysis method comprising: constructing a search query to select log events that are within the time interval and that also satisfy the at least one additional constraint associated with the log pattern and defined on one or more filter fields of the set of fields; downloading, via the electronic network, a subset of the log data being analyzed from the server to the at least one electronic processor, wherein the subset is selected from the log data being analyzed by the search query; applying the log pattern to the downloaded subset of the log data being analyzed to identify log pattern hits in the log data being analyzed; and The control display screen displays a report of the log pattern hits in the log data being analyzed.
2. The non-transitory computer-readable medium of claim 1, wherein: The log data being analyzed is generated by a medical imaging system being diagnosed, and the historical log data is different from the log data being analyzed.
3. The non-transitory computer readable medium of claim 2, wherein: The retrieval constraint generation method further includes storing a data structure including the log pattern and the at least one additional constraint, and The log pattern analysis method further includes retrieving the log pattern and the at least one additional constraint from a stored data structure.
4. The non-transitory computer-readable medium according to any one of claims 1 to 3, wherein: The log data being analyzed is generated by a medical imaging system being diagnosed in response to a service call, and the construction of the search query includes: The time interval is determined relative to the time of the service call.
5. The non-transitory computer readable medium of claim 1, wherein: The historical log data is the log data being analyzed, and the construction of the search query includes: The time interval is determined to be one or more time intervals that contain the matching normalized log events.
6. The non-transitory computer-readable medium of any one of claims 1 to 3, wherein: Generating the at least one additional constraint based on the values of the one or more filter fields in the matched normalized log event includes: An additional constraint is generated that the one or more filter fields match a corresponding filter field of at least one of the matching normalized log events.
7. The non-transitory computer-readable medium of any one of claims 1 to 3, wherein: The one or more filter fields include a type of log event and an event category.
8. A non-transitory computer-readable medium according to any one of claims 1-3, storing other instructions that can be read and executed by the at least one electronic processor to perform a logging method, the logging method comprising receiving log data including at least the log data being analyzed from one or more medical imaging systems via the electronic network.
9. A log pattern analysis device, comprising: Electronic processors; as well as a non-transitory computer-readable medium storing instructions readable and executable by the electronic processor to: A retrieval constraint generation method is performed that operates on historical log data, the historical log data including log events having a timestamp and defined by values for a set of fields, the retrieval constraint generation method comprising: normalizing selected fields from the set of fields in the log pattern to generate at least one normalized log pattern item, wherein the selected fields do not include one or more filter fields from the set of fields; identifying a matching normalized log event in normalized log data that matches the at least one normalized log pattern item, wherein the normalized log data is generated from the historical log data by normalizing the selected field in the historical log data; and generating at least one additional constraint based on values of the one or more filter fields in the matching normalized log event; and performing a log pattern analysis method by applying a log pattern to log data being analyzed, the log data being analyzed comprising log events having a timestamp and defined by values for the set of fields, wherein the log data being analyzed is stored on a server accessible by the electronic processor via an electronic network, the log pattern analysis method comprising: constructing a search query to select log events that are within the time interval and that also satisfy the at least one additional constraint associated with the log pattern and defined on one or more filter fields of the set of fields; downloading a subset of the log data being analyzed from the server to the electronic processor via the electronic network, wherein the subset is selected from the log data being analyzed by the search query; applying the log pattern to the downloaded subset of the log data being analyzed to identify log pattern hits in the log data being analyzed; and The control display screen displays a report of the log pattern hits in the log data being analyzed.
10. The log pattern analysis device according to claim 9, wherein: The log data being analyzed is generated by a medical imaging system being diagnosed, and the historical log data is different from the log data being analyzed.
11. The log pattern analysis device according to claim 10, wherein: The retrieval constraint generation method further includes storing a data structure including the log pattern and the at least one additional constraint, and The log pattern analysis method further includes retrieving the log pattern and the at least one additional constraint from a stored data structure.
12. The log pattern analysis device according to any one of claims 9 to 11, wherein: The log data being analyzed is generated by a medical imaging system being diagnosed in response to a service call, and the construction of the search query includes: The time interval is determined relative to the time of the service call.
13. The log pattern analysis device according to claim 9, wherein: The historical log data is the log data being analyzed, and the components of the search query include: The time interval is determined to be one or more time intervals that contain the matching normalized log events.
14. The log pattern analysis device according to any one of claims 9 to 11, wherein: Generating the at least one additional constraint based on the values of the one or more filter fields in the matched normalized log event includes: An additional constraint is generated that the one or more filter fields match a corresponding filter field of at least one of the matching normalized log events.
15. The log pattern analysis device according to any one of claims 9 to 11, wherein: The one or more filter fields include a type of log event and an event category.
16. The log pattern analysis device according to any one of claims 9 to 11, wherein: The non-transitory computer-readable medium stores other instructions that are readable and executable by the electronic processor to perform a logging method, the logging method comprising receiving log data including at least the log data being analyzed from one or more medical imaging systems via the electronic network.
17. A log pattern analysis method, comprising: retrieving historical log data, the historical log data comprising log events having a timestamp and defined by values for a set of fields; normalizing selected fields from the set of fields in the log pattern to generate at least one normalized log pattern item, wherein the selected fields do not include one or more filter fields from the set of fields; identifying a matching normalized log event in normalized log data that matches the at least one normalized log pattern item, wherein the normalized log data is generated from the historical log data by normalizing the selected field in the historical log data; generating at least one additional constraint based on values of the one or more filter fields in the matching normalized log event; constructing a search query to select log events that are within the time interval and that also satisfy the at least one additional constraint associated with the log pattern and defined on one or more filter fields of the set of fields; downloading a subset of the log data being analyzed from the server to at least one electronic processor via an electronic network, wherein the log data being analyzed includes log events having timestamps and defined by values for the set of fields, and the subset is selected from the log data being analyzed by the search query; applying the log pattern to the downloaded subset of the log data being analyzed to identify log pattern hits in the log data being analyzed; and The control display screen displays a report of the log pattern hits in the log data being analyzed.
18. The log pattern analysis method according to claim 17, wherein: The log data being analyzed is generated by a medical imaging system being diagnosed in response to a service call, and the construction of the search query includes: The time interval is determined relative to the time of the service call.
19. The log pattern analysis method according to any one of claims 17 and 18, further comprising: Log data including at least the log data being analyzed is received from one or more medical imaging systems via the electronic network.
Citation Information
Patent Citations
Methods and systems to access process control log information associated with process control systems
CN102681528A
