-
1.
公开(公告)号:US20060112127A1
公开(公告)日:2006-05-25
申请号:US10994307
申请日:2004-11-23
申请人: Michael Krause , Alok Karnik , Corneliu Lupu , Stefan Sierakowski
发明人: Michael Krause , Alok Karnik , Corneliu Lupu , Stefan Sierakowski
IPC分类号: G06F17/00
摘要: A method and computer product for mapping an error message to an identifier to enable error reporting is provided. An error message hash vector is associated with a resource ID and a resource module. When an error message is displayed, substrings of text in the message are hashed and matched to a corresponding hash vector. The substrings are defined as text that is between the start of the message and wildcard string (a string that is dynamically inserted at runtime), between a wildcard string and the end of the message, or between two wildcard strings. Based on the hash of these substrings, error messages can be quickly and efficiently mapped to a corresponding resource ID and module, which can then be reported.
摘要翻译: 提供了一种用于将错误消息映射到标识符以使得能够进行错误报告的方法和计算机产品。 错误消息哈希向量与资源ID和资源模块相关联。 当显示错误消息时,消息中的文本的子字符串被散列并匹配到相应的散列向量。 子字符串定义为消息开头和通配符字符串(在运行时动态插入的字符串)之间的文本,通配符字符串和消息的结尾之间,或两个通配符之间。 基于这些子串的散列,可以将错误消息快速高效地映射到相应的资源ID和模块,然后可以对其进行报告。