The present disclosure relates generally to building a case from log entries and, in particular, to a method of linking log entries to build a new case or to enhance an established case for inclusion in a case base.
Case-based reasoning (CBR) attempts to model human reasoning by recalling previous experiences and adapting them to the current situation. In CBR, the primary knowledge source is a memory of stored cases recording prior specific episodes, or issues. A common application of CBR is in diagnostic systems. The notion is that similar prior issues are a useful starting point for solving new issues. Thus, the success of a CBR knowledge system will depend on both the case base (stored memory) as well as the system's ability to recognize and retrieve past cases that will be helpful to solve the current issue. Typically, a case is produced after an issue is solved and includes a description of the symptoms (e.g., fault codes, data plots, visual inspections), a description of the root cause of the issue, and a resolution of the issue. However, the concept of “case” in CBR is more general than this. A “case” in a CBR knowledge system includes any contextual piece of information that describes a particular experience and/or lesson learned that is significant to accomplishing the goals of the reasoner. Therefore, failures may be cases (i.e., attempts to solve a problem that did not lead to a root cause or a resolution) and also fragments. A case is a fragment when the representation of the experience is incomplete in some fundamental way. Fragments can still “teach a lesson,” for example, by indicating that a problem has come up before, even if the solution is omitted. A case has a structure that is relevant to the community of practice (COP) that will be using it, which is what “contextualizes” the knowledge.
When producing a case base it is difficult (even for COP members) to reconstruct all the relevant details of discovering and resolving an issue after the fact. It is difficult because often the people in the COP do not have the time to go back and create a case and still accomplish their primary job. Also, people forget details as time goes on so that cases created after the fact lose the richness that may be key to solving the next issue. Typically a case will be created only after the problem is solved. Although cases which are failures or fragments (as already noted) may be helpful for solving a current problem, these are typically not captured.
One aspect of the invention is a method of building a new case or enhancing an established case for inclusion in a case base from log entries. The method includes identifying a current log entry, the current log entry including a status of a current diagnostic process. The method also includes identifying a previous log entry, the previous log entry including a status of either a current diagnostic process or a previous diagnostic process. A determination is made about whether the previous log entry is related to the current log entry. An inquiry is generated to create a link between the previous log entry and the current log entry in response to a determination that the previous log entry is related to the current log entry. The method further includes receiving a request to create a link in response to the inquiry. A link is created between the previous log entry and the current log entry in response to the request resulting in the case.
In another aspect, a system for building a new case or enhancing an established case for inclusion in a case base from log entries comprises a network and a host system in communication with the network. The host system includes case building application software to implement a method including identifying a current log entry via the network, the current log entry including a status of a current diagnostic process. The method also includes identifying a previous log entry via the network, the previous log entry including a status of either a current diagnostic process or a previous diagnostic process. A determination is made about whether the previous log entry is related to the current log entry. An inquiry is generated to create a link between the previous log entry and the current log entry in response to a determination that the previous log entry is related to the current log entry. The method further includes receiving a request to create a link via the network in response to the inquiry. A link is created between the previous log entry and the current log entry in response to the request resulting in the case.
In a further aspect, a computer program product for building a new case or enhancing an established case for inclusion in a case base from log entries comprises a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method including identifying a current log entry, the current log entry including a status of a current diagnostic process. The method also includes identifying a previous log entry, the previous log entry including a status of either a current diagnostic process or a previous diagnostic process. A determination is made about whether the previous log entry is related to the current log entry. An inquiry is generated to create a link between the previous log entry and the current log entry in response to a determination that the previous log entry is related to the current log entry. The method further includes receiving a request to create a link in response to the inquiry. A link is created between the previous log entry and the current log entry in response to the request resulting in the case.
Referring to the exemplary drawings wherein like elements are numbered alike in the several FIGURES:
A method of building a new case or enhancing an established case for inclusion in a case base from log entries is presented. An embodiment of the present invention is a method to generate cases without authoring them, but rather by linking entries in a diagnostic communications log. The labor of creating a case is reduced from authoring, to linking, an activity requiring much less time and thought. This method of creating cases is possible because the typical work process already includes the ongoing creation of diagnostic log entries. These daily communications (in the form of a common daily logbook or bulletin board) for the COP contain the elements of a case. Each entry is a technical note on the issue-solving process that the members of the COP have deemed important. An entry might be a symptom, a supposition about the issue or solution, a resolution of a problem, other type of technical note or any combination of these. The entries contained in logbooks and bulletin boards are often utilized as an agenda for meetings, as a communication device between shifts and/or as a to-do list for employees.
An exemplary embodiment of the present invention allows the creation of a case by linking log entries. The users link entries during the solution process, as they identify relationships between the entries. As more entries are linked together, a case is built. The links are of different types. For example, one type of link is a reply to an entry. Another type of link specifies a relationship between two entries like “is related to” or “is a symptom of.” These cases are made usable for CBR by allowing a search for similar type symptoms. A number of search strategies, from simple text search to ontology-guided search may be utilized.
In
The network 106 may be any type of known network including, but not limited to, a wide area network (WAN), a local area network (LAN), a global network (e.g. Internet), a virtual private network (VPN), and an intranet. The network 106 may be implemented using a wireless network or any kind of physical network implementation known in the art. A user system 102 may be coupled to the host system through multiple networks (e.g., intranet and Internet) so that not all user systems 102 are coupled to the host system 104 through the same network. One or more of the user systems 102 and the host system 104 may be connected to the network 106 in a wireless fashion. In one embodiment, the network is the Internet and one or more user systems 102 execute a user interface application (e.g. a web browser) to contact the host system 104 through the network 106 while another user system 102 is directly connected to the host system 104. In another exemplary embodiment, the user system 102 is connected directly (i.e., not through the network 106) to the host system 104 and the host system 104 is connected directly to or contains the storage device 108. In another exemplary embodiment, the user system 102 includes a stand-alone application program to perform case base building and the application data such as the case base ontology. In this embodiment, the application program and data are updated on a periodic basis.
The storage device 108 may be implemented using a variety of devices for storing electronic information. It is understood that the storage device 108 may be implemented using memory contained in the host system 104 or it may be a separate physical device. The storage device 108 is logically addressable as a consolidated data source across a distributed environment that includes a network 106. Information stored in the storage device 108 may be retrieved and manipulated via the host system 104. The storage device 108 includes a log database containing log entries and a link database linking two or more log entries to form a case. The storage device 108 may also include other kinds of data such as information concerning the updating of the link database (e.g., a user identifier, date, and time of update). In an exemplary embodiment, the host system 104 operates as a database server and coordinates access to application data including data stored on storage device 108.
The host system 104 depicted in
The host system 104 may also operate as an application server. The host system 104 executes one or more computer programs to perform case base building functions. Processing may be shared by the user system 102 and the host system 104 by providing an application (e.g., java applet) to the user system 102. Alternatively, the user system 102 can include a stand-alone software application for performing a portion or all of the processing described herein. As previously described, it is understood that separate servers may be utilized to implement the network server functions and the application server functions. Alternatively, the network server, the firewall, and the application server may be implemented by a single server executing computer programs to perform the requisite functions.
As depicted in
In an exemplary embodiment of the present invention, each record in the log database 202 includes a key words and phrases attribute that contains the concept words and phrases from the ontology that are contained in the description and issue attributes. The key words and phrases attribute is utilized by the case building application to determine if a current log entry may be related to a previous log entry. In an alternate exemplary embodiment of the present invention, predefined key words and phrases located in the current log entry are utilized as search parameters for searching the entire (or a portion) of the log database 202 for possibly similar previous log entries.
In alternate exemplary embodiments of the present invention, only the data entered into the issue attributes of log entries are included in the comparison to determine possible related log entries. In addition, the volume of previous log entries searched for similarities with the current log entry may be limited based on criteria such as date created and area. Any text mining method or ontology data mining method known in the art may be utilized to compare data in the current log entry with data in previous log entries for possible matches. The most current possible matches may be presented to the user earlier than older previous log entries because more current previous log entries may be more likely to be related to the current log entry during the problem solving process. As described above, alternate exemplary embodiments of the present invention include having a user enter one or more related previous log entries and/or having a user conduct an interactive search for related log entries.
At step 306, the user is presented with the option of viewing the previous log entries that seem related, as determined at step 304. In addition, the user may be presented with a count of the number of previous entries that seem related. For example, a user interface may contain information about the number of entries and the number of concept, or key, words that were matched. If, at step 308, the user selects not to view the possibly related previous log entries, then the processing of the log entry is complete at step 310. If the user selects, at step 308, to view the possibly related previous log entries, then step 312 is performed. At step 312, the first possibly related previous log entry is presented to the user. At step 314, the user is asked if the current log entry should be linked to the possible related previous log entry. If the user selects yes at step 314, then step 316 is performed and the user enters the type of link between the two log entries. As described previously, in exemplary embodiments of the present invention, the link may be a reply to, a continuation of, related to, or a symptom of a previous log entry. Next, step 318 is performed to determine if there are more possibly related log entries in the log database 202.
If at step 318, it is determined that there are more previous log entries that are possibly related to the current log entry, then processing continues at step 320. Step 320 includes presenting the next possibly related log entry to the user and then processing continues at step 314. If, at step 308, the user selects not to view possibly related previous entries, then step 310 is performed and processing ends. If, at step 314, the user selects not to link the possibly related previous entry, then processing continues a step 318 to determine if there are more possibly related previous entries to present to the user. When, at step 318, it is determined that there are no more possibly related previous entries, then step 310 is performed and processing is complete. In exemplary embodiments of the present invention, “reply” links are created automatically when the current log entry is a reply to a previous log entry.
The exemplary process depicted in
The log entry user interface screen 400 also includes a current log entry section 406 for entering a current log entry. It includes fields for date, shift, user, model, zone and station, issue and issue detail, description and attachments. Fields that typically contain particular values that are known in advance may be selected by the user from a drop-down menu of choices. As described previously, fields for the date, shift and user attributes may be filled in automatically by the system. The user enters a current log entry in the current log entry section 406 while simultaneously viewing previous log entries. In exemplary embodiments of the present invention, free-form text (e.g., in the description field) is searched for concept words and phrases as it is being entered. When concept words or phrases are located, they are highlighted or underlined in the text. The concept words are the search words, or keywords, that are utilized to find similar previous log entries.
The search results section 408 in the log entry user interface screen includes the number of previous log entries that are possible matches for the current log entry and the number of key words or phrases that have been matched by these previous log entries. In the exemplary embodiment depicted in
Exemplary embodiments of the present invention allow a case base to be created in a manner that fits in well with an issue-solving workflow associated with an on-going diagnostic process. This way of authoring cases for inclusion in a case base is part of the COP work process and does not require additional work for the users of the daily log. This can eliminate portions of the knowledge acquisition bottleneck that is common in many case-base or knowledge-based systems. Daily communications in an electronic log are utilized to automatically construct cases. These cases may be used as starting points to solve current issues that are similar in some way. Having the user create the links, as opposed to having the system automatically create the link, may keep unnecessary information out of the case base.
As described above, the embodiments of the invention may be embodied in the form of computer-implemented processes and apparatuses for practicing those processes. Embodiments of the invention may also be embodied in the form of computer program code containing instructions embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other computer-readable storage medium, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. An embodiment of the present invention can also be embodied in the form of computer program code, for example, whether stored in a storage medium, loaded into and/or executed by a computer, or transmitted over some transmission medium, such as over electrical wiring or cabling, through fiber optics, or via electromagnetic radiation, wherein, when the computer program code is loaded into and executed by a computer, the computer becomes an apparatus for practicing the invention. When implemented on a general-purpose microprocessor, the computer program code segments configure the microprocessor to create specific logic circuits.
While the invention has been described with reference to exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, the use of the terms first, second, etc. do not denote any order or importance, but rather the terms first, second, etc. are used to distinguish one element from another.