TWI653529B - Method for debugging os image and electronic device using the same - Google Patents

Method for debugging os image and electronic device using the same Download PDF

Info

Publication number
TWI653529B
TWI653529B TW106146382A TW106146382A TWI653529B TW I653529 B TWI653529 B TW I653529B TW 106146382 A TW106146382 A TW 106146382A TW 106146382 A TW106146382 A TW 106146382A TW I653529 B TWI653529 B TW I653529B
Authority
TW
Taiwan
Prior art keywords
keyword
weight
execution record
obtaining
similarity
Prior art date
Application number
TW106146382A
Other languages
Chinese (zh)
Other versions
TW201931116A (en
Inventor
陳冠儒
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW106146382A priority Critical patent/TWI653529B/en
Application granted granted Critical
Publication of TWI653529B publication Critical patent/TWI653529B/en
Publication of TW201931116A publication Critical patent/TW201931116A/en

Links

Abstract

一種作業系統映像除錯的方法及應用其之電子裝置。作業系統映像除錯的方法包括以下步驟。取得對應於一問題的一基本資訊以及一執行記錄。依據一語意辨識規則及基本資訊,取得問題所對應的一問題類型。依據問題類型取得一目標歷史執行紀錄。比對此問題的執行紀錄及目標歷史執行紀錄,以取得一第一比對相似度。在第一比對相似度大於或等於一第一相似度臨界值的情況下,取得對應於目標歷史執行紀錄的一歷史執行紀錄結案報告。A method for debugging an operating system image and an electronic device using the same. The method of debugging the operating system image includes the following steps. A basic information corresponding to a question and an execution record are obtained. According to a semantic definition rule and basic information, the type of problem corresponding to the problem is obtained. A target historical execution record is obtained based on the type of problem. A record of the execution of the problem and the target history execution record to achieve a first comparison similarity. In a case where the first alignment similarity is greater than or equal to a first similarity critical value, a historical execution record closing report corresponding to the target historical execution record is obtained.

Description

用於作業系統映像除錯的方法及應用其之電子裝置Method for debugging operating system image and electronic device using same

本發明是有關於一種用於作業系統映像除錯的方法及應用其之電子裝置。The present invention relates to a method for operating system image debugging and an electronic device using the same.

作業系統 (operating system, OS) 的映像 (image) 在開發與量產的過程中,可能會發生許多不同類型的問題 (issue)。針對發生的問題進行分析、偵錯及除錯 (debug) 也相當費時,對於作業系統的開發人員來說是很大的負擔。同時,與發生的問題相關之執行紀錄 (log file) 可能分散儲存在多個儲存路徑中,且針對一個問題進行除錯,亦可能需要查看多個運行紀錄才能找到問題的根本原因,因此,要花費相當的時間才能找到適當的執行紀錄。Image of the operating system (OS) Many different types of issues can occur during development and mass production. Analysis, debugging, and debugging of problems that occur are also time consuming, and are a significant burden for developers of operating systems. At the same time, the log file related to the problem may be stored in multiple storage paths and debugged for one problem. It may also need to view multiple running records to find the root cause of the problem. Therefore, It takes quite a while to find the right execution record.

上述之情況造成了開發人員的沈重工作負荷,同時對於也不利於對新進的開發人員進行工作教育訓練。因此,需要一種用於作業系統映像除錯的方法,協助對發生的問題進行分析、偵錯及除錯,以提供前端測試人員測試方向及建議,亦可減輕開發人員的工作負擔。The above situation has caused a heavy workload for developers, and it is also not conducive to the work education training for new developers. Therefore, there is a need for a method for debugging the image of the operating system, assisting in the analysis, debugging and debugging of the problems that occur, to provide front-end testers with test directions and suggestions, and to reduce the workload of developers.

本發明係有關於一種用於作業系統映像除錯的方法及應用其之電子裝置。當發生作業系統映像在生產或測試期間發生問題,前端測試人員或開發人員可將發生之問題與那些過往案例進行比對,進而對發生之問題進行分析及推理,以產生針對發生之問題的除錯建議方案。The present invention relates to a method for operating system image debugging and an electronic device using the same. When a problem occurs in the production system image during production or testing, the front-end tester or developer can compare the problem with those past cases, and then analyze and reason the problem to generate a problem for the problem. Wrong suggestion.

根據本發明之第一方面,提出一種用於作業系統映像除錯的方法。用於作業系統映像除錯的方法包括以下步驟。取得對應於一問題的一基本資訊以及一執行記錄。依據一語意辨識規則及基本資訊,取得問題所對應的一問題類型。依據問題類型取得一目標歷史執行紀錄。比對此問題的執行紀錄及目標歷史執行紀錄,以取得一第一比對相似度。在第一比對相似度大於或等於一第一相似度臨界值的情況下,取得對應於目標歷史執行紀錄的一歷史執行紀錄結案報告。According to a first aspect of the invention, a method for operating system image debugging is presented. The method for operating system image debugging includes the following steps. A basic information corresponding to a question and an execution record are obtained. According to a semantic definition rule and basic information, the type of problem corresponding to the problem is obtained. A target historical execution record is obtained based on the type of problem. A record of the execution of the problem and the target history execution record to achieve a first comparison similarity. In a case where the first alignment similarity is greater than or equal to a first similarity critical value, a historical execution record closing report corresponding to the target historical execution record is obtained.

根據本發明之第二方面,提出一種用於作業系統映像除錯的電子裝置。用於作業系統映像除錯的電子裝置包括一案例資料庫及一語意辨識模組。案例資料庫用以儲存複數個歷史執行紀錄以及對應於歷史執行紀錄的複數個歷史執行紀錄結案報告。語意辨識模組,用以取得對應於一問題的一基本資訊以及一執行記錄、依據一語意辨識規則及基本資訊,取得問題所對應的一問題類型、依據問題類型,由歷史紀錄中取得一目標歷史執行紀錄、比對問題的執行紀錄及目標歷史執行紀錄,以取得一第一比對相似度,以及在第一比對相似度大於或等於一第一相似度臨界值的情況下,取得對應於目標歷史執行紀錄的一歷史執行紀錄結案報告。According to a second aspect of the present invention, an electronic device for operating system image debugging is provided. The electronic device for debugging the operating system image includes a case database and a semantic recognition module. The case database is used to store a plurality of historical execution records and a plurality of historical execution record closing reports corresponding to historical execution records. The semantic recognition module is configured to obtain a basic information corresponding to a problem, an execution record, a semantic recognition rule and basic information, a problem type corresponding to the problem, and a target according to the problem type. The historical execution record, the execution record of the comparison problem, and the target historical execution record to obtain a first comparison similarity, and obtain a correspondence if the first comparison similarity is greater than or equal to a first similarity threshold A historical execution record closing report on the target history execution record.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉實施例,並配合所附圖式詳細說明如下:In order to better understand the above and other aspects of the present invention, the following detailed description of the embodiments and the accompanying drawings

以下提出各種實施例進行詳細說明,然而,實施例僅用以作為範例說明,並不會限縮本發明欲保護之範圍。此外,實施例中的圖式省略部份元件,以清楚顯示本發明的技術特點。在所有圖式中相同的標號將用於表示相同或相似的元件。The various embodiments are described in detail below, however, the examples are intended to be illustrative only and not to limit the scope of the invention. Further, the drawings in the embodiments omits some of the elements to clearly show the technical features of the present invention. The same reference numerals will be used in the drawings to refer to the same or the like.

請參照第1A圖,其繪示依照本發明一實施例的用於作業系統映像除錯的電子裝置10之示意圖。電子裝置10可以例如是一伺服器 (server),例如本地伺服器及雲端伺服器,或能執行大量運算的一個人電腦。電子裝置10包括一語意辨識模組102、一案例資料庫104以及一推理模組106。語意辨識模組102耦接於案例資料庫104以及推理模組106。案例資料庫104可以例如是一硬碟、一快閃記憶體、一唯讀記憶體 (Read-Only Memory, ROM)、一非揮發性記憶體 (Non-Volatile Memory) 或是藉由電腦系統、伺服器等電子裝置執行資料庫系統來實現,以儲存複數個歷史執行紀錄、常見異常執行紀錄以及通過執行紀錄 (pass log file),更可儲存對應於上述之歷史執行紀錄、常見異常執行紀錄及通過執行紀錄的歷史紀錄結案報告、常見異常紀錄結案報告及通過執行紀錄結案報告。語意辨識模組102以及推理模組106可以例如是藉由使用一晶片、晶片內的一電路區塊、一韌體電路、含有數個電子元件及導線的電路板或儲存複數組程式碼的一儲存媒體來實現,也可藉由電腦系統、伺服器等電子裝置執行對應軟體或程式來實現。Please refer to FIG. 1A, which illustrates a schematic diagram of an electronic device 10 for operating system image debugging according to an embodiment of the invention. The electronic device 10 can be, for example, a server such as a local server and a cloud server, or a personal computer capable of performing a large number of operations. The electronic device 10 includes a semantic recognition module 102, a case database 104, and an inference module 106. The semantic recognition module 102 is coupled to the case database 104 and the inference module 106. The case database 104 can be, for example, a hard disk, a flash memory, a read-only memory (ROM), a non-volatile memory (Non-Volatile Memory), or a computer system. The electronic device such as the server executes the database system to store a plurality of historical execution records, common abnormal execution records, and a pass log file, and can store the historical execution records, common abnormal execution records, and the like. Through the execution of the record history record closing report, the common abnormal record closing report and the completion of the record through the execution of the record. The semantic recognition module 102 and the inference module 106 can be, for example, by using a wafer, a circuit block in the wafer, a firmware circuit, a circuit board containing a plurality of electronic components and wires, or a memory module. The storage medium is implemented, and can also be implemented by executing an electronic device or a program by an electronic device such as a computer system or a server.

在本發明之另一實施例中,電子裝置10更可包括一使用者介面模組108,如第1B圖所示,使用者介面模組108耦接於語意辨識模組102、案例資料庫104以及推理模組106。使用者介面模組108係用以提供前端測試人員或開發人員回報作業系統的映像在開發與量產的過程中發生的問題 (issue)。使用者介面模組108接收的資訊包括但不限於發生之問題的基本資訊、執行紀錄、發生機率以及硬體配置比較表。使用者介面模組108亦可顯示由語意辨識模組102、案例資料庫104或推理模組106取得的案例資訊、針對問題的建議方案等。上述之問題的基本資訊更可包括針對發生之問題的問題描述以及問題的複製程序 (或稱為複製方法、複製步驟或重現程序)。使用者介面模組108可以例如是一觸控式螢幕、螢幕與輸入裝置的一組合,也可藉由使用一晶片、晶片內的一電路區塊、一韌體電路、含有數個電子元件及導線的電路板或儲存複數組程式碼的一儲存媒體來實現,亦可藉由電腦系統、伺服器等電子裝置執行對應軟體或程式來實現。In another embodiment of the present invention, the electronic device 10 further includes a user interface module 108. As shown in FIG. 1B, the user interface module 108 is coupled to the semantic recognition module 102 and the case database 104. And an inference module 106. The user interface module 108 is used to provide an issue in which the front-end tester or the developer reports the image of the operating system during development and mass production. The information received by the user interface module 108 includes, but is not limited to, basic information about the problem that occurred, an execution record, a probability of occurrence, and a hardware configuration comparison table. The user interface module 108 can also display case information obtained by the semantic recognition module 102, the case database 104, or the reasoning module 106, a suggestion scheme for the problem, and the like. The basic information of the above problems may further include a description of the problem and a copying process of the problem (or called a copying method, a copying step, or a reproducing program). The user interface module 108 can be, for example, a touch screen, a combination of a screen and an input device, or a chip, a circuit block in the chip, a firmware circuit, and a plurality of electronic components. The circuit board of the wire or a storage medium storing the complex array code may be implemented by executing a corresponding software or program by an electronic device such as a computer system or a server.

在本發明之另一實施例中,使用者介面模組108包括於與電子裝置10連接的一遠端裝置20中,如第1C圖所示,使用者介面模組108可不包括於電子裝置10中。遠端裝置20可以例如是一個人電腦、一行動裝置、一智慧型手機、一個人數位助理以及一伺服器等,但不以此為限。遠端裝置20可以透過各種介面以有線或無線的方式與電子裝置10連接。In another embodiment of the present invention, the user interface module 108 is included in a remote device 20 connected to the electronic device 10. As shown in FIG. 1C, the user interface module 108 may not be included in the electronic device 10. in. The remote device 20 can be, for example, a personal computer, a mobile device, a smart phone, a number of assistants, and a server, but is not limited thereto. The remote device 20 can be connected to the electronic device 10 in a wired or wireless manner through various interfaces.

請參照第2圖,其繪示本發明一實施例的作業系統映像除錯的方法的流程圖。第2圖繪示之作業系統映像除錯的方法的流程圖可應用於如第1A圖、第1B圖或第1C圖所示之電子裝置10。為了清楚說明上述各項元件的運作以及本發明實施例的資料去識別化方法,以下將搭配第2圖之流程圖詳細說明如下。然而,本發明所屬技術領域中具有通常知識者均可瞭解,本發明實施例的方法並不侷限應用於第1A圖、第1B圖或第1C圖的電子裝置10,也不侷限於第2圖之流程圖的各項步驟順序。此作業系統映像除錯的方法例如可由軟體程式實作,軟體程式可儲存於光碟、硬碟或其他非暫態電腦可讀取媒體上,軟體程式可以包括多個相關於電腦處理器或控制器的指令或軟體程式,這些指令或軟體程式可被具有電腦處理器或控制器的電子裝置載入以執行資料去識別化方法。關於各步驟的詳細說明如下。Referring to FIG. 2, a flow chart of a method for debugging an operating system image according to an embodiment of the present invention is shown. The flowchart of the method of debugging the operating system image shown in FIG. 2 can be applied to the electronic device 10 as shown in FIG. 1A, FIG. 1B or FIG. 1C. In order to clearly explain the operation of the above various elements and the data de-identification method of the embodiment of the present invention, the following will be described in detail with reference to the flowchart of FIG. However, those skilled in the art to which the present invention pertains can understand that the method of the embodiments of the present invention is not limited to the electronic device 10 of FIG. 1A, FIG. 1B or FIG. 1C, nor to FIG. The sequence of steps of the flow chart. The method for debugging the operating system image can be implemented, for example, by a software program. The software program can be stored on a disc, a hard disk or other non-transitory computer readable medium. The software program can include a plurality of computer processors or controllers. Instructions or software programs that can be loaded by an electronic device having a computer processor or controller to perform a data de-identification method. A detailed description of each step is as follows.

請同時參照第1A圖、第1B圖、第1C圖及第2圖。依據本發明之一實施例,首先,於步驟S202,語意辨識模組102取得對應於發生之問題的一基本資訊以及一執行記錄 (log file)。此基本資訊可以例如包括問題發生時的當下狀況,例如系統當機、某應用程式結束運行、出現系統異常的狀態警示、非預期的操作結果以及重現問題的複製程序/步驟等。在步驟S204,語意辨識模組102依據一語意辨識規則及上述之基本資訊,取得發生之問題所對應的一問題類型。也就是說,語意辨識模組102辨識出發生之問題係屬於何種問題類型。Please refer to FIG. 1A, FIG. 1B, FIG. 1C, and FIG. 2 at the same time. According to an embodiment of the present invention, first, in step S202, the semantic recognition module 102 obtains a basic information corresponding to the problem that occurred and a log file. This basic information may, for example, include current conditions at the time of the problem, such as system downtime, the end of an application, status alerts for system anomalies, unintended operational results, and reproducible procedures/steps to reproduce the problem. In step S204, the semantic recognition module 102 obtains a type of question corresponding to the problem that occurs according to a semantic recognition rule and the basic information. That is, the semantic recognition module 102 identifies which type of problem the problem occurred.

以下將進一步舉例說明上述之語意辨識模組102依據語意辨識規則及發生之問題的基本資訊,取得發生之問題所對應的問題類型。在本發明一實施例中,先列舉出重要關鍵字以建立一關鍵字詞袋 (bag of words),作為權重計算的依據。預設之重要關鍵字可以例如是但不限於OOBE、D2D、Push Button Reset、PBR、User Alaunch、Audit Mode、NAPP、Recovery from a Drive等。語意辨識模組102將發生之問題的基本資訊中的問題描述進行一段落正規化,即分析問題描述中的字句,省略字句中的標點符號以及冠詞,以取得多個詞彙,每一詞彙具有一詞彙階層值。接著,由這些詞彙中找尋是否有符合關鍵字詞袋中所列舉的關鍵字。語意辨識模組102更可基於取得的詞彙及其對應的詞彙階層值計算出關鍵字的關鍵字權重,以關鍵字權重作為發生之問題與關鍵字之間的相關程度。舉例來說,關鍵字權重可經由取得的詞彙所對應的詞彙階層值中的最大值減去關鍵字的詞彙階層值獲得。本發明之語意辨識規則係指上述之對問題描述進行段落正規化、取出詞彙及關鍵字、計算關鍵字權重。語意辨識模組102利用語意辨識規則找出關鍵字權重。接著,語意辨識模組102依據關鍵字取得發生之問題所對應的問題類型。The following will further exemplify the basic information of the semantic recognition module 102 according to the semantic recognition rule and the problem that occurs, and obtain the type of the problem corresponding to the problem that occurs. In an embodiment of the invention, important keywords are listed first to create a bag of words as a basis for weight calculation. The preset important keywords may be, for example but not limited to, OOBE, D2D, Push Button Reset, PBR, User Alaunch, Audit Mode, NAPP, Recovery from a Drive, and the like. The semantic recognition module 102 normalizes the problem description in the basic information of the problem that occurs, that is, analyzes the words in the problem description, omits the punctuation marks and articles in the words, to obtain multiple words, each word has a word Hierarchical value. Next, look for these keywords to match the keywords listed in the keyword bag. The semantic recognition module 102 can further calculate the keyword weight of the keyword based on the obtained vocabulary and its corresponding vocabulary hierarchy value, and use the keyword weight as the degree of correlation between the problem and the keyword. For example, the keyword weight can be obtained by subtracting the lexical hierarchy value of the keyword from the maximum value of the vocabulary hierarchy values corresponding to the obtained vocabulary. The semantic recognition rule of the present invention refers to the above-mentioned formalization of paragraphs for problem description, taking out vocabulary and keywords, and calculating keyword weights. The semantic recognition module 102 uses the semantic recognition rules to find the key weights. Then, the semantic recognition module 102 obtains the type of the problem corresponding to the problem that occurs according to the keyword.

在一實施例中,舉例來說,發生之問題的基本資訊中,其問題描述記載了 “During the PBR Resetting this PC 10%, the system call back to Desktop”。接著,語意辨識模組102將上述之問題描述進行段落正規化,分析問題描述中的字句,省略字句中的標點符號以及冠詞,以取得多個詞彙。語意辨識模組102依據各詞彙在問題描述中的順序排序,給予各詞彙一詞彙階層值。在本實施例中,可取得10個詞彙,每一詞彙皆具有一詞彙階層值,如下表表1所示。第4A圖繪示依照本發明一實施例的關鍵字權重計算之示意圖。語意辨識模組102可依據取得的詞彙在問題描述中的順序排序,建立如第4A圖所示之一二元樹。 表1 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> 詞彙 </td><td> 詞彙階層值 </td></tr><tr><td> During </td><td> 1 </td></tr><tr><td> PBR </td><td> 2 </td></tr><tr><td> Resetting </td><td> 3 </td></tr><tr><td> PC </td><td> 4 </td></tr><tr><td> 10% </td><td> 5 </td></tr><tr><td> system </td><td> 6 </td></tr><tr><td> call </td><td> 7 </td></tr><tr><td> back </td><td> 8 </td></tr><tr><td> to </td><td> 9 </td></tr><tr><td> Desktop </td><td> 10 </td></tr></TBODY></TABLE>In an embodiment, for example, in the basic information of the problem that occurred, the problem description describes "During the PBR Resetting this PC 10%, the system call back to Desktop". Next, the semantic recognition module 102 normalizes the above-mentioned problem description into paragraphs, analyzes the words in the problem description, and omits the punctuation marks and articles in the words to obtain a plurality of words. The semantic recognition module 102 assigns a vocabulary hierarchy value to each vocabulary according to the order of the vocabulary in the problem description. In this embodiment, 10 words can be obtained, each of which has a vocabulary level value, as shown in Table 1 below. FIG. 4A is a schematic diagram of keyword weight calculation according to an embodiment of the invention. The semantic recognition module 102 can sort the acquired vocabulary in the order of the problem description to establish a binary tree as shown in FIG. 4A. Table 1  <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> vocabulary</td><td> lexical hierarchy value</td></tr><tr ><td> During </td><td> 1 </td></tr><tr><td> PBR </td><td> 2 </td></tr><tr><td> Resetting </td><td> 3 </td></tr><tr><td> PC </td><td> 4 </td></tr><tr><td> 10% </ Td><td> 5 </td></tr><tr><td> system </td><td> 6 </td></tr><tr><td> call </td><td > 7 </td></tr><tr><td> back </td><td> 8 </td></tr><tr><td> to </td><td> 9 </ Td></tr><tr><td> Desktop </td><td> 10 </td></tr></TBODY></TABLE>

在本實施例中,依據預先建立的關鍵字詞袋,由上述詞彙中找到符合關鍵字詞袋的關鍵字 “PBR”,其詞彙階層值為2。在分析問題描述取得的詞彙以及其對應的詞彙階層值中,其中具有最大詞彙階層值的詞彙係為在問題描述的字句中排序最後面的 “Desktop”,其詞彙階層值為10,而藉由關鍵字詞袋找到的關鍵字 “PBR” 的詞彙階層值為2。因此,關鍵字 “PBR” 的關鍵字權重可以係為詞彙 “Desktop” 的詞彙階層值10減去關鍵字 “PBR” 的詞彙階層值2,即10-2=8,關鍵字 “PBR” 的關鍵字權重為8。In this embodiment, according to the pre-established keyword word bag, the keyword "PBR" matching the keyword bag is found from the above vocabulary, and the vocabulary hierarchy value is 2. Among the vocabulary obtained by analyzing the problem description and its corresponding lexical hierarchy value, the vocabulary with the largest lexical hierarchy value is the last "Desktop" in the sentence of the problem description, and the vocabulary hierarchy value is 10, The keyword "PBR" found in the keyword bag has a lexical hierarchy value of 2. Therefore, the keyword weight of the keyword "PBR" can be the vocabulary hierarchy value 10 of the vocabulary "Desktop" minus the vocabulary hierarchy value 2 of the keyword "PBR", that is, 10-2=8, the key of the keyword "PBR" The word weight is 8.

在本範例中,分析問題描述後所取得的詞彙中具有關鍵字 “PBR”,其關鍵字權重為8,語意辨識模組102依據找出的關鍵字 “PBR”,將發生之問題所對應的問題類型定義為 “PBR”。找出發生之問題所對應的問題類型,有利於直接由案例資料庫104中搜尋與發生之問題相關的案例,減少與發生之問題不相關的案例比較的時間,進而節省系統運算時間及效能。In this example, the vocabulary obtained after analyzing the problem description has the keyword “PBR”, and the keyword weight is 8, and the semantic recognition module 102 according to the found keyword “PBR” will correspond to the problem that occurs. The problem type is defined as "PBR". Finding the type of problem corresponding to the problem that occurs is beneficial to directly searching for the case related to the problem that occurred in the case database 104, reducing the time of comparison of the case that is not related to the problem, thereby saving system computing time and performance.

在本發明另一實施例中,語意辨識模組102將問題的基本資訊中的問題描述進行段落正規化後,取得的多個詞彙中具有兩個以上符合關鍵字詞袋中所列舉的關鍵字。舉例來說,由段落正規化後取得的多個詞彙中,兩個詞彙與關鍵字詞袋中的關鍵字相符合,分別為第一關鍵字以及第二關鍵字。經由取得的詞彙所對應的詞彙階層值中的最大值分別減去第一關鍵字及第二關鍵字的詞彙階層值,以獲得第一關鍵字的關鍵字權重以及第二關鍵字的關鍵字權重的。此時,語意辨識模組102在分別取得第一關鍵字的關鍵字權重 (可稱為第一關鍵字權重) 以及第二關鍵字的關鍵字權重 (可稱為第二關鍵字權重) 後,判斷在第一關鍵字權重以及第二關鍵字權重之間的一權重差值是否大於一權重臨界值。In another embodiment of the present invention, the semantic recognition module 102 normalizes the problem description in the basic information of the question, and the obtained plurality of words have two or more keywords listed in the keyword bag. . For example, among the plurality of words obtained after the paragraph is normalized, the two words are consistent with the keywords in the keyword bag, and are the first keyword and the second keyword, respectively. Deriving the lexical hierarchy values of the first keyword and the second keyword respectively by the maximum value in the vocabulary hierarchy values corresponding to the obtained vocabulary to obtain the keyword weight of the first keyword and the keyword weight of the second keyword of. At this time, the semantic recognition module 102 respectively obtains the keyword weight of the first keyword (which may be referred to as the first keyword weight) and the keyword weight of the second keyword (which may be referred to as the second keyword weight). Determining whether a weight difference between the first keyword weight and the second keyword weight is greater than a weight threshold.

當第一關鍵字權重以及該第二關鍵字權重之間的權重差值大於權重臨界值時,也就是在第一關鍵字權重以及第二關鍵字權重之間的權重差值大於權重臨界值的情況下,語意辨識模組102依據第一關鍵字及第二關鍵字兩者之一取得發生的問題所對應的問題類型。舉例來說,若第一關鍵字權重大於第二關鍵字權重,且第一關鍵字權重以及第二關鍵字權重之間的權重差值大於權重臨界值,表示發生之問題與第一關鍵字較為相關,語意辨識模組102依據第一關鍵字作為發生的問題所對應的問題類型。When the weight difference between the first keyword weight and the second keyword weight is greater than the weight threshold, that is, the weight difference between the first keyword weight and the second keyword weight is greater than the weight threshold In the case, the semantic recognition module 102 obtains the type of the problem corresponding to the problem that occurs according to one of the first keyword and the second keyword. For example, if the first keyword weight is greater than the second keyword weight, and the weight difference between the first keyword weight and the second keyword weight is greater than the weight threshold, the problem that occurs is compared with the first keyword. Correspondingly, the semantic recognition module 102 uses the first keyword as the type of the problem corresponding to the problem that occurs.

當第一關鍵字權重以及第二關鍵字權重之間的權重差值小於或等於權重臨界值時,也就是在第一關鍵字權重以及第二關鍵字權重之間的權重差值小於或等於權重臨界值的情況下,語意辨識模組102進一步分析發生之問題的基本敘述中的複製程序,以取得對應於第一關鍵字的一第一權重調整值以及對應於第二關鍵字的一第二權重調整值。在一實施例中,語意辨識模組102由複製程序中的最後一個步驟朝向第一個步驟搜尋複製程序的多個步驟中,是否具有包括關鍵字 (例如第一關鍵字及/或第二關鍵字) 的步驟。依據複製程序的步驟數量以及具有關鍵字的步驟所在的步驟階層,取得關鍵字的權重調整值。舉例來說,語意辨識模組102以複製程序的步驟數量減去具有關鍵字之步驟的步驟階層值,取得對應於關鍵字的權重調整值。上述之複製程序係指依據複製程序所記載的步驟執行,則可重現發生之問題。When the weight difference between the first keyword weight and the second keyword weight is less than or equal to the weight threshold, that is, the weight difference between the first keyword weight and the second keyword weight is less than or equal to the weight In the case of the threshold, the semantic recognition module 102 further analyzes the copying program in the basic narrative of the problem that occurs to obtain a first weight adjustment value corresponding to the first keyword and a second corresponding to the second keyword. Weight adjustment value. In an embodiment, the semantic recognition module 102 is configured to include a keyword (eg, a first keyword and/or a second key) in a plurality of steps of the first step of the copying process toward the first step of searching for the copying program. Word) steps. The weight adjustment value of the keyword is obtained according to the number of steps of the copying program and the step hierarchy in which the step of the keyword is located. For example, the semantic recognition module 102 subtracts the step hierarchy value of the step having the keyword by the number of steps of the copy program, and obtains the weight adjustment value corresponding to the keyword. The above-mentioned copying procedure refers to the execution of the steps described in the copying procedure, and the problem that occurs can be reproduced.

隨後,語意辨識模組102依據第一權重調整值調整第一關鍵字的關鍵字權重 (第一關鍵字權重) 以及第二權重調整值調整第二關鍵字的關鍵字權重 (第二關鍵字權重)。接著,語意辨識模組102依據調整後的第一關鍵字權重及調整後的第二關鍵字權重,取得發生之問題所對應的問題類型。舉例來說,若調整後的第一關鍵字權重及調整後的第二關鍵字權重之間的權重差值大於權重臨界值,語意辨識模組102則依據具有較大關鍵字權重的關鍵字 (可能是第一關鍵字或第二關鍵字),作為發生之問題所對應的問題類型。若調整後的第一關鍵字權重及調整後的第二關鍵字權重之間的權重差值仍小於或等於權重臨界值,語意辨識模組102則同時以第一關鍵字及第二關鍵字作為發生的問題所對應的問題類型,也就是說,發生之問題在此情況下將同時對應於兩個問題類型,即同時將發生之問題歸類為第一關鍵字對應的問題類型以及第二關鍵字對應的問題類型。Then, the semantic recognition module 102 adjusts the keyword weight of the first keyword (the first keyword weight) and the second weight adjustment value according to the first weight adjustment value to adjust the keyword weight of the second keyword (the second keyword weight) ). Then, the semantic recognition module 102 obtains the type of the problem corresponding to the problem that occurs according to the adjusted first keyword weight and the adjusted second keyword weight. For example, if the weight difference between the adjusted first keyword weight and the adjusted second keyword weight is greater than the weight threshold, the semantic recognition module 102 is based on the keyword with the larger keyword weight ( It may be the first keyword or the second keyword) as the type of question corresponding to the problem that occurred. If the weight difference between the adjusted first keyword weight and the adjusted second keyword weight is still less than or equal to the weight threshold, the semantic recognition module 102 simultaneously uses the first keyword and the second keyword as The type of problem corresponding to the problem that occurs, that is, the problem that occurs in this case will correspond to both problem types, that is, the problem that occurs at the same time is classified into the problem type corresponding to the first keyword and the second key. The type of question corresponding to the word.

舉例來說,發生之問題的基本資訊中,其問題描述記載了 “Between user alaunch and OOBE page, the system pop up error message”,且基本資訊中的複製程序 (複製方法/步驟) 記載如下: Step1: Install Win10 Image Step2: Image Deployment Step3: The system pop up error message during user alaunch 其中,各步驟具有其步驟階層值,第一步驟 (Step1) 之步驟階層值為0、第二步驟 (Step2) 之步驟階層值為1,以及第三步驟 (Step3) 之步驟階層值為2。權重臨界值設定為3。For example, in the basic information of the problem that occurred, the problem description describes "Between user alaunch and OOBE page, the system pop up error message", and the copy program (copy method/step) in the basic information is described as follows: Step1 : Install Win10 Image Step2: Image Deployment Step3: The system pop up error message during user alaunch where each step has its step hierarchy value, the step of step 1 of the first step (Step1) is 0, and the step of the second step (Step2) The level value is 1, and the step value of the third step (Step3) is 2. The weight threshold is set to 3.

接著,語意辨識模組102將上述之問題描述進行段落正規化取得詞彙。在本範例中,發生之問題的問題描述在省略字句中的標點符號以及冠詞後,可取得10個詞彙。同時,依據各詞彙在問題描述中的順序排序以建立一二元樹,並給予各詞彙一詞彙階層值,如第4B圖及下表表2所示。第4B圖繪示依照本發明另一實施例的關鍵字權重計算之示意圖。 表2 <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> 詞彙 </td><td> 詞彙階層值 </td></tr><tr><td> Between </td><td> 1 </td></tr><tr><td> user alaunch </td><td> 2 </td></tr><tr><td> and </td><td> 3 </td></tr><tr><td> OOBE </td><td> 4 </td></tr><tr><td> page </td><td> 5 </td></tr><tr><td> system </td><td> 6 </td></tr><tr><td> pop </td><td> 7 </td></tr><tr><td> up </td><td> 8 </td></tr><tr><td> error </td><td> 9 </td></tr><tr><td> message </td><td> 10 </td></tr></TBODY></TABLE>Next, the semantic recognition module 102 normalizes the above-mentioned problem description to obtain a vocabulary. In this example, the problem with the problem is described by omitting the punctuation and the article in the sentence, and 10 words can be obtained. At the same time, according to the order of each vocabulary in the problem description to establish a binary tree, and give each vocabulary a lexical hierarchy value, as shown in Figure 4B and Table 2 in the following table. FIG. 4B is a schematic diagram of key weight calculation according to another embodiment of the present invention. Table 2  <TABLE border="1" borderColor="#000000" width="85%"><TBODY><tr><td> vocabulary</td><td> lexical hierarchy value</td></tr><tr ><td> Between </td><td> 1 </td></tr><tr><td> user alaunch </td><td> 2 </td></tr><tr><td > and </td><td> 3 </td></tr><tr><td> OOBE </td><td> 4 </td></tr><tr><td> page </ Td><td> 5 </td></tr><tr><td> system </td><td> 6 </td></tr><tr><td> pop </td><td > 7 </td></tr><tr><td> up </td><td> 8 </td></tr><tr><td> error </td><td> 9 </ Td></tr><tr><td> message </td><td> 10 </td></tr></TBODY></TABLE>

在本實施例中,可依據關鍵字詞袋由上述詞彙中找到符合關鍵字詞袋的兩個關鍵字,分別是第一關鍵字 “user alaunch” 以及第二關鍵字 “OOBE”,其詞彙階層值分別是2及4。在本範例中,在分析問題描述取得的詞彙以及其對應的詞彙階層值中,其中具有最大詞彙階層值的詞彙係為在問題描述的字句中排序最後面的 “message”,其詞彙階層值為10,而藉由關鍵字詞袋找到的第一關鍵字 “user alaunch” 的詞彙階層值為2以及第二關鍵字 “OOBE” 的詞彙階層值為4。因此,第一關鍵字 “user alaunch” 的關鍵字權重可以係為詞彙 “message” 的詞彙階層值10減去第一關鍵字 “user alaunch” 的詞彙階層值2,即10-2=8,第一關鍵字 “user alaunch” 的關鍵字權重為8。第二關鍵字 “OOBE” 的關鍵字權重可以係為詞彙 “message” 的詞彙階層值10減去關鍵字 “OOBE” 的詞彙階層值4,即10-4=6,第二關鍵字 “OOBE” 的關鍵字權重為6。In this embodiment, two keywords matching the keyword bag can be found from the above vocabulary according to the keyword word bag, which are the first keyword "user alaunch" and the second keyword "OOBE", respectively, and the vocabulary hierarchy. The values are 2 and 4 respectively. In this example, among the vocabulary obtained by analyzing the problem description and its corresponding lexical hierarchy value, the vocabulary with the largest lexical hierarchy value is the last message "message" in the sentence of the problem description, and the vocabulary hierarchy value is 10, and the first keyword "user alaunch" found by the keyword word bag has a vocabulary hierarchy value of 2 and the second keyword "OOBE" has a vocabulary hierarchy value of 4. Therefore, the keyword weight of the first keyword "user alaunch" may be the vocabulary hierarchy value 10 of the vocabulary "message" minus the lexical hierarchy value 2 of the first keyword "user alaunch", ie 10-2=8, A keyword "user alaunch" has a keyword weight of 8. The keyword weight of the second keyword "OOBE" may be the vocabulary hierarchy value 10 of the vocabulary "message" minus the vocabulary hierarchy value 4 of the keyword "OOBE", ie 10-4=6, the second keyword "OOBE" The keyword weight is 6.

接著,語意辨識模組102比較第一關鍵字 “user alaunch” 的關鍵字權重以及第二關鍵字 “OOBE” 的關鍵字權重,取得第一關鍵字 “user alaunch” 的關鍵字權重以及第二關鍵字 “OOBE” 的關鍵字權重之間的一權重差值。舉例來說,權重差值為第一關鍵字 “user alaunch” 的關鍵字權重8減去第二關鍵字 “OOBE” 的關鍵字權重2,即8-6=2,第一關鍵字 “user alaunch” 以及第二關鍵字 “OOBE” 兩者的關鍵字權重之間的權重差值為2。Next, the semantic recognition module 102 compares the keyword weight of the first keyword "user alaunch" with the keyword weight of the second keyword "OOBE", and obtains the keyword weight of the first keyword "user alaunch" and the second key. A weight difference between the keyword weights of the word "OOBE". For example, the weight difference is the keyword weight 8 of the first keyword "user alaunch" minus the keyword weight 2 of the second keyword "OOBE", ie 8-6=2, the first keyword "user alaunch" And the weight difference between the keyword weights of the second keyword "OOBE" is 2.

因此,當第一關鍵字 “user alaunch” 的關鍵字權重以及第二關鍵字 “OOBE” 的關鍵字權重之間的權重差值 (例如為2) 小於權重臨界值 (例如為3) 時,語意辨識模組102進一步分析發生之問題的基本敘述中的複製程序。Therefore, when the weight difference between the keyword weight of the first keyword "user alaunch" and the keyword weight of the second keyword "OOBE" (for example, 2) is less than the weight threshold (for example, 3), the semantic meaning The identification module 102 further analyzes the copying procedure in the basic narrative of the problem that occurred.

在本範例中,發生之問題的複製程序共有3個步驟 (複製程序的步驟數量為3),分別為: Step1: Install Win10 Image Step2: Image Deployment Step3: the system pop up error message during user alaunch 語意辨識模組102可在複製程序中的第三步驟 (Step3) 中搜尋到且取得第一關鍵字 “user alaunch”,語意辨識模組102以複製程序的步驟數量減去第一關鍵字 “user alaunch” 所在的第三步驟的步驟階層值,得到第一關鍵字 “user alaunch” 的權重調整值,即3 (步驟數量) - 2 (第三步驟的步驟階層值) = 1 (第一關鍵字 “user alaunch” 的權重調整值),第一關鍵字 “user alaunch” 的權重調整值為1。語意辨識模組102將第一關鍵字 “user alaunch” 的關鍵字權重8加上第一關鍵字 “user alaunch” 的權重調整值1,取得調整後的第一關鍵字的關鍵字權重 (第一關鍵字權重) 9,即8+1=9。In this example, there are three steps in the copying process (the number of steps to copy the program is 3), which are: Step1: Install Win10 Image Step2: Image Deployment Step3: the system pop up error message during user alaunch The module 102 can search for and obtain the first keyword "user alaunch" in the third step (Step3) in the copying process, and the semantic recognition module 102 subtracts the first keyword "user alaunch" by the number of steps of the copying program. The step value of the third step is to obtain the weight adjustment value of the first keyword "user alaunch", that is, 3 (number of steps) - 2 (step value of the third step) = 1 (first keyword "user" The weight adjustment value of alaunch", the weight adjustment value of the first keyword "user alaunch" is 1. The semantic recognition module 102 adds the keyword weight 8 of the first keyword "user alaunch" to the weight adjustment value 1 of the first keyword "user alaunch", and obtains the adjusted keyword weight of the first keyword (first Keyword weight) 9, which is 8+1=9.

語意辨識模組102在複製程序中的三個步驟中皆未能搜尋到且取得第二關鍵字 “OOBE”,因此,第二關鍵字 “OOBE” 的權重調整值設定為0。在一實施例中,由於第二關鍵字 “OOBE” 的權重調整值設定為0,未於複製程序中找到第二關鍵字 “OOBE”,語意辨識模組102進一步將第二關鍵字 “OOBE” 的關鍵字權重設定為0,以降低第二關鍵字與發生之問題之間的相關程度。The semantic recognition module 102 fails to find and obtain the second keyword "OOBE" in the three steps in the copying process. Therefore, the weight adjustment value of the second keyword "OOBE" is set to zero. In an embodiment, since the weight adjustment value of the second keyword "OOBE" is set to 0, and the second keyword "OOBE" is not found in the copying program, the semantic recognition module 102 further sets the second keyword "OOBE". The keyword weight is set to 0 to reduce the correlation between the second keyword and the problem that occurred.

調整後的第一關鍵字的關鍵字權重 (第一關鍵字權重) 為9,調整後的第二關鍵字的關鍵字權重 (第二關鍵字權重) 為0,兩者之間的權重差異係為9且大於權重臨界值 (例如為3)。因此,語意辨識模組102以具有較大關鍵字權重的關鍵字作為發生之問題所對應的問題類型。也就是說,在本實施例中,經調整第一關鍵字以及第二關鍵字的關鍵字權重後,第一關鍵字 “user alaunch” 的關鍵字權重及第二關鍵字 “OOBE” 的關鍵字權重之間的權重差異 (例如為9) 大於權重臨界值 (例如為3),且第一關鍵字 “user alaunch” 具有較大的關鍵字權重,因此,語意辨識模組102以第一關鍵字 “user alaunch” 作為發生的問題所對應的問題類型。The adjusted first keyword has a keyword weight (first keyword weight) of 9, and the adjusted second keyword has a keyword weight (second keyword weight) of 0, and the weight difference between the two is It is 9 and greater than the weight threshold (for example, 3). Therefore, the semantic recognition module 102 uses the keyword having the larger keyword weight as the type of the problem corresponding to the problem that occurs. That is, in the embodiment, after the keyword weights of the first keyword and the second keyword are adjusted, the keyword weight of the first keyword "user alaunch" and the keyword of the second keyword "OOBE" The weight difference between the weights (for example, 9) is greater than the weight threshold (for example, 3), and the first keyword "user alaunch" has a larger keyword weight, and therefore, the semantic recognition module 102 uses the first keyword. "user alaunch" is the type of problem that corresponds to the problem that occurred.

請再次參照第1A圖、第1B圖、第1C圖及第2圖。在語意辨識模組102於步驟S204辨識出發生之問題係屬於何種問題類型後,於步驟S206,語意辨識模組102依據問題類型由案例資料庫104所儲存的複數個歷史執行紀錄中,取得對應於此問題類型的一目標歷史執行紀錄。於步驟S208,語意辨識模組102比對發生之問題的執行紀錄及目標歷史執行紀錄之間的相似度,取得一第一比對相似度。於步驟S210,語意辨識模組102判斷第一比對相似度是否小於一第一相似度臨界值 (例如為80%)。舉例來說,若比對相似度為90%,表示發生之問題的執行紀錄及目標歷史執行紀錄兩者所記載的內容中,有百分之九十的內容係為相同。Please refer to FIG. 1A, FIG. 1B, FIG. 1C, and FIG. 2 again. After the semantic recognition module 102 identifies in step S204 what type of problem the problem is, in step S206, the semantic recognition module 102 obtains the plurality of historical execution records stored by the case database 104 according to the problem type. A target history execution record corresponding to this type of question. In step S208, the semantic recognition module 102 compares the similarity between the execution record of the problem occurring and the target history execution record to obtain a first comparison similarity. In step S210, the semantic recognition module 102 determines whether the first alignment similarity is less than a first similarity threshold (for example, 80%). For example, if the similarity is 90%, 90% of the contents recorded in the execution record and the target historical execution record of the problem are the same.

若第一比對相似度大於或等於第一相似度臨界值 (步驟S210的判斷結果為否),在步驟S212,語意辨識模組102由案例資料庫104中取得對應於目標歷史執行紀錄的一歷史執行紀錄結案報告。將歷史執行紀錄結案報告作為發生之問題的建議處理方案以及分析結果,使前端的測試人員以及開發人員獲得後續可行之處理方式。在一實施例中,語意辨識模組102可將作為發生之問題的建議處理方案的歷史執行紀錄結案報告傳送至使用者介面模組108,使用者介面模組108顯示此歷史執行紀錄結案報告以及對應於歷史執行紀錄結案報告的建議處理方案與分析結果,供前端的測試人員以及開發人員查看。If the first comparison similarity is greater than or equal to the first similarity critical value (the determination result of step S210 is NO), in step S212, the semantic recognition module 102 obtains one corresponding to the target historical execution record from the case database 104. Historical execution record closing report. The historical execution record closing report is used as the recommended treatment plan for the problem and the analysis result, so that the front-end testers and developers can obtain the follow-up feasible treatment. In an embodiment, the semantic recognition module 102 can transmit a historical execution record closing report of the suggested processing solution as a problem to the user interface module 108, and the user interface module 108 displays the historical execution record closing report and The recommended processing plan and analysis results corresponding to the historical execution record closing report are for the front-end testers and developers to view.

若第一比對相似度小於第一相似度臨界值 (步驟S210的判斷結果為是),在步驟S214,語意辨識模組102由案例資料庫104中取得其所儲存的至少一常見異常執行紀錄,並比對發生之問題的執行紀錄及此常見異常執行紀錄之間的相似度,取得一第二比對相似度。隨後,在步驟S216,語意辨識模組102判斷第二比對相似度是否小於第一相似度臨界值 (例如為80%)。If the first comparison similarity is less than the first similarity threshold (YES in step S210), in step S214, the semantic recognition module 102 obtains at least one common abnormal execution record stored by the case database 104. And compare the similarity between the execution record of the problem occurring and the common abnormal execution record to obtain a second comparison similarity. Subsequently, in step S216, the semantic recognition module 102 determines whether the second alignment similarity is less than the first similarity threshold (for example, 80%).

若第二比對相似度大於或等於第一相似度臨界值 (步驟S216的判斷結果為否),在步驟S218,語意辨識模組102由案例資料庫104中取得對應於常見異常執行紀錄的一常見異常執行紀錄結案報告。將常見異常執行紀錄結案報告作為發生的問題的建議處理方案以及分析結果,使前端的測試人員以及開發人員了解後續可行之處理方式。在一實施例中,語意辨識模組102可將此常見異常執行紀錄結案報告傳送至使用者介面模組108,使用者介面模組108顯示此常見異常執行紀錄結案報告、對應於常見異常執行紀錄結案報告的建議處理方案以及分析結果,供前端的測試人員以及開發人員查看。If the second comparison similarity is greater than or equal to the first similarity critical value (the determination result of step S216 is NO), in step S218, the semantic recognition module 102 obtains one of the common abnormal execution records from the case database 104. Common abnormal execution record closing report. The common abnormal execution record closing report is used as the recommended solution and the analysis result of the problem, so that the front-end testers and developers can understand the subsequent feasible treatment. In an embodiment, the semantic recognition module 102 can transmit the common abnormal execution record closing report to the user interface module 108, and the user interface module 108 displays the common abnormal execution record closing report, corresponding to the common abnormal execution record. The proposed solution and analysis results of the closing report are for the front-end testers and developers to view.

若第二比對相似度小於第一相似度臨界值 (步驟S216的判斷結果為是),在步驟S220,語意辨識模組102則通知推理模組106分析發生之問題的執行記錄,以產生並取得一建議方案。在一實施例中,通知推理模組106於取得一建議方案後,將此建議方案傳送至使用者介面模組108,提供開發人員或前端測試人員後續可行之處理方式。在一實施例中,開發人員或前端測試人員於接收建議方案,並依據建議方案執行後續動作後,開發人員或前端測試人員可依據執行建議之後續動作的過程中所遇到之情況,提供回饋 (例如建議方案是否可行) 至推理模組106。If the second comparison similarity is less than the first similarity threshold (YES in step S216), in step S220, the semantic recognition module 102 notifies the inference module 106 to analyze the execution record of the problem that occurred to generate and Get a proposal. In an embodiment, after the notification inference module 106 obtains a suggestion scheme, the notification scheme is transmitted to the user interface module 108 to provide a follow-up feasible manner for the developer or the front-end tester. In an embodiment, after the developer or the front-end tester receives the suggestion plan and performs the follow-up action according to the recommended plan, the developer or the front-end tester can provide feedback according to the situation encountered in the process of performing the follow-up action of the recommendation. (eg, if the proposed solution is feasible) to the inference module 106.

接著,在步驟S222,推理模組106整合發生之問題的基本資訊、執行紀錄及對應於發生之問題的建議方案為一全新案例,並於步驟S224儲存此全新案例於案例資料庫104中。在一實施例中,推理模組106整合問題的基本資訊、執行紀錄、對應於發生的問題的建議方案,以及開發人員或前端測試人員針對建議方案所提供的回饋為一全新案例。Next, in step S222, the inference module 106 integrates the basic information of the problem that occurred, the execution record, and the proposal corresponding to the problem that occurred, as a brand new case, and stores the new case in the case database 104 in step S224. In one embodiment, the inference module 106 integrates the basic information of the problem, the execution record, the suggested solution corresponding to the problem that occurred, and the feedback provided by the developer or front-end tester for the proposed solution as a new case.

請參照第1A圖、第1B圖、第1C圖及第3圖。第3圖繪示依照本發明一實施例的分析發生之問題的執行記錄以取得建議方案之流程圖。在第2圖的步驟S220中,推理模組106分析發生之問題的執行記錄,以取得一建議方案。第3圖的步驟S302至步驟S310進一步說明第2圖的步驟S220之分析執行記錄以取得建議方案的流程。在一實施例中,推理模組106可包括一語意知識網路 (未繪示),其可結合過往之知識、經驗,分析運行紀錄,並透過運行紀錄的分析比對結果產生建議方案,並提供建議方案至使用者介面模組108。Please refer to FIG. 1A, FIG. 1B, FIG. 1C and FIG. FIG. 3 is a flow chart showing an execution record of an issue occurring to obtain a suggested solution according to an embodiment of the invention. In step S220 of FIG. 2, the inference module 106 analyzes the execution record of the problem that occurred to obtain a suggested solution. Steps S302 to S310 of FIG. 3 further explain the flow of the analysis execution record of step S220 of FIG. 2 to obtain the recommended plan. In an embodiment, the inference module 106 can include a semantic knowledge network (not shown) that combines past knowledge, experience, analysis of operational records, and generates recommendations through analysis of operational records. A suggestion is provided to the user interface module 108.

在推理模組106或者推理模組106的語意知識網路中,預先建立了一推理分析詞袋,其內包括了專有名詞、對專有名詞執行操作或產生動作的動詞或動詞子句,以及敘述異常結果的形容詞或形容詞子句。推理分析詞袋中的專有名詞可以包括驅動程式的名稱、應用程式名稱 (例如為Microsoft Office、Internet Explorer)、裝置識別資訊、事件識別資訊、錯誤碼等。推理分析詞袋中的動詞或動詞子句可以包括install、restore、deploy、delete、open等。推理分析詞袋中的形容詞或形容詞子句可以包括fail、abnormal、crash、critical error等。此外,亦預先建立一建議方案詞袋,其包括了專有名詞、建議針對專有名詞執行操作的建議動詞或建議動詞子句,以及建議名詞或建議名詞子句。建議方案詞袋中的專有名詞可以包括驅動程式的名稱、應用程式名稱、裝置識別資訊、事件識別資訊、錯誤碼等。建議方案詞袋中的建議動詞或建議動詞子句可以包括remove、uninstall、update、upgrade、roll back等。建議方案詞袋中的建議名詞或建議名詞子句可以包括verify again、reproduce more than 5 runs等。In the semantic knowledge network of the inference module 106 or the inference module 106, an inference analysis word bag is pre-established, which includes a proper noun, a verb or a verb clause that performs an operation on the proper noun or generates an action. And adjectives or adjective clauses that describe abnormal results. The proper nouns in the reasoning analysis bag can include the name of the driver, the application name (for example, Microsoft Office, Internet Explorer), device identification information, event identification information, error codes, and the like. The verb or verb clause in the inference analysis bag may include install, restore, deploy, delete, open, and the like. The adjective or adjective clause in the reasoning analysis bag may include fail, abnormal, crash, critical error, and the like. In addition, a proposal package is also pre-established, which includes proper nouns, suggested verbs or suggested verb clauses that suggest operations on proper nouns, and suggested nouns or suggested noun clauses. The proper nouns in the suggested word bag may include the name of the driver, the application name, device identification information, event identification information, error code, and the like. Suggested verbs or suggested verb clauses in the suggested program bag may include remove, uninstall, update, upgrade, roll back, and the like. Suggested nouns or suggested noun clauses in the suggested word bag may include verify again, reproduce more than 5 runs, and the like.

在一實施例中,在步驟S302中,推理模組106依據發生之問題的執行紀錄所對應的問題類型,取得一通過執行紀錄 (pass log),也就是說,此通過執行紀錄與發生之問題係屬於相同的問題類型。通過執行紀錄係指某作業系統映像在生產或測試的過程中沒有發生任何問題的執行紀錄。在步驟S304,推理模組106比較發生之問題的執行紀錄以及通過執行紀錄,取得兩者之間的一相異內容。In an embodiment, in step S302, the inference module 106 obtains a pass log according to the type of the problem corresponding to the execution record of the problem that occurred, that is, the problem of performing the record and the occurrence The system belongs to the same question type. Execution records refer to the execution records of an operating system image that did not cause any problems during production or testing. In step S304, the inference module 106 compares the execution record of the problem that occurred and performs a record to obtain a different content between the two.

在另一實施例中,在步驟S302中,推理模組106由案例資料庫所儲存的歷史執行紀錄中,找出另一目標歷史執行紀錄,此另一目標歷史執行紀錄與發生之問題的執行紀錄之間具有一第三比對相似度,此第三比對相似度係大於或等於一第二相似度臨界值 (例如50%) 且小於第一相似度臨界值 (例如為80%)。在步驟S304,推理模組106比較發生之問題的執行紀錄以及此另一目標歷史執行紀錄,取得兩者之間的一相異內容。In another embodiment, in step S302, the inference module 106 finds another target history execution record from the history execution record stored in the case database, and the execution of the other target history execution record and the occurrence problem There is a third alignment similarity between the records, the third alignment similarity being greater than or equal to a second similarity threshold (eg, 50%) and less than the first similarity threshold (eg, 80%). In step S304, the inference module 106 compares the execution record of the problem that occurred and the other target history execution record to obtain a different content between the two.

接著,於步驟S306,推理模組106分析於步驟S304取得的相異內容,並依據事先建立的推理分析詞袋,取得相異內容中的專有名詞,亦由相異內容中找出對應於專有名詞的動作或產生動作的動詞或動詞子句,以及對應於專有名詞的描述異常或異常結果的形容詞或形容詞子句。也就是說,推理模組106依據相異內容取得一專有名詞以及對應於此專有名詞的一動詞或動詞子句及/或一形容詞或形容詞子句。Next, in step S306, the inference module 106 analyzes the dissimilar content obtained in step S304, and obtains a proper noun in the dissimilar content according to the inference analysis term bag established in advance, and also finds corresponding content in the dissimilar content. An action of a proper noun or a verb or verb clause that produces an action, and an adjective or adjective clause that describes an abnormal or abnormal result corresponding to a proper noun. That is to say, the reasoning module 106 obtains a proper noun according to the dissimilar content and a verb or verb clause corresponding to the proper noun and/or an adjective or adjective clause.

於步驟S308,推理模組106依據於步驟S306取得的專有名詞、對應於此專有名詞的動詞/動詞子句及/或對應於此專有名詞的形容詞/形容詞子句,由建議方案詞袋中取得一建議動詞或動詞子句。在另一實施例中,推理模組106依據於步驟S306取得的專有名詞、對應於此專有名詞的動詞/動詞子句及對應於此專有名詞的形容詞/形容詞子句,由建議方案詞袋中取得一建議動詞或動詞子句以及一建議名詞或名詞子句。In step S308, the inference module 106 is based on the proper noun obtained in step S306, the verb/verb clause corresponding to the proper noun, and/or the adjective/adjective clause corresponding to the proper noun. A suggested verb or verb clause is obtained in the bag. In another embodiment, the inference module 106 is based on the proper noun obtained in step S306, the verb/verb clause corresponding to the proper noun, and the adjective/adjective clause corresponding to the proper noun. A suggestive verb or verb clause and a suggested noun or noun clause are obtained in the word bag.

隨後,於步驟S310,推理模組106依據建議動詞/動詞子句及專有名詞,產生並取得建議方案。在另一實施例中,推理模組106依據建議動詞/動詞子句、專有名詞以及建議名詞/名詞子句,產生並取得建議方案。Then, in step S310, the inference module 106 generates and obtains a suggestion scheme according to the suggested verb/verb clause and proper noun. In another embodiment, the inference module 106 generates and obtains a suggestion based on the suggested verb/verb clause, proper noun, and suggested noun/noun clause.

舉例來說,發生之問題的問題類型係為 “PBR”, 發生之問題的基本資訊的問題描述記載了 “During PBR resetting this PC 30%,the system call back to desktop”。於比對發生之問題的執行紀錄以及一通過執行紀錄後,取得的相異內容如下所示: 1. Failed to open [C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64 FilesCommonX64] for delete[gle=0x00000005] 2. Failed to delete reparse point [C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64][gle=0x00000005]For example, the type of problem that occurs is "PBR", and the description of the problem with the basic information of the problem is described as "During PBR resetting this PC 30%, the system call back to desktop". The difference between the execution record of the problem and the execution of the record is as follows: 1. Failed to open [C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600. 0_x64 FilesCommonX64] for delete[gle=0x00000005] 2. Failed to delete reparse point [C:\$SysReset\OldOS\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_17.7909.7600.0_x64][gle=0x00000005]

推理模組106及/或推理模組106之語意知識網路分析上述之相異內容,取得專有名詞 “MicrosoftOfficeHub_17.7909.7600.0”、 動詞“open” 及 “delete”,以及形容詞 “Failed”。透過推理模組106及/或推理模組106之語意知識網路的架構可推斷,可能在PBR過程中,開啟與刪除Microsoft OfficeHub 17.7909.7600.0版本發生問題。The semantic network of the inference module 106 and/or the inference module 106 analyzes the above-mentioned different content, and obtains the proper nouns "Microsoft OfficeHub_17.7909.7600.0", the verbs "open" and "delete", and the adjective "Failed". Through the architecture of the semantic knowledge network of the inference module 106 and/or the inference module 106, it can be inferred that there may be problems in opening and deleting the Microsoft OfficeHub 17.7909.7600.0 version during the PBR process.

推理模組106及/或推理模組106之語意知識網路依據推理分析出的專有名詞、動詞/動詞子句以及形容詞/形容詞子句,透過預先建立的建議方案詞袋,取得用於建議方案的專有名詞 “MicrosoftOfficeHub_17.7909.7600.0”、建議動詞 “remove”、“delete” 或 “upgrade”,以及建議名詞子句 “verify again”。推理模組106及/或推理模組106之語意知識網路依據專有名詞、建議動詞/動詞子句以及/或名詞/名詞子句,建立並取得建議方案。在一實施例中,建議方案可以例如是建議動詞/動詞子句加上專有名詞。在另一實施例中,建議方案可以例如是建議動詞/動詞子句加上專有名詞再加上名詞/名詞子句。舉例來說,推理模組106及/或推理模組106之語意知識網路依上述之專有名詞、建議動詞/動詞子句及建議名詞/名詞子句取得如下之兩個建議方案: 1. Remove Microsoft Office Hub 17.7909.7600 and verify again 2. Upgrade Microsoft Office Hub 17.7909.7600 and verify againThe semantic network of the inference module 106 and/or the inference module 106 is based on the inferentially analyzed proper nouns, verb/verb clauses, and adjective/adjective clauses, and is obtained through the pre-established suggestion word bag. The program's proper term "MicrosoftOfficeHub_17.7909.7600.0", the suggested verb "remove", "delete" or "upgrade", and the suggested noun clause "verify again". The semantic knowledge network of the inference module 106 and/or the inference module 106 establishes and obtains a suggestion scheme based on proper nouns, suggested verbs/verb clauses, and/or noun/noun clauses. In an embodiment, the suggestion may be, for example, a suggested verb/verb clause plus a proper noun. In another embodiment, the suggested scheme may be, for example, a suggested verb/verb clause plus a proper noun plus a noun/noun clause. For example, the semantic network of the inference module 106 and/or the inference module 106 obtains the following two suggestions according to the above-mentioned proper nouns, suggested verb/verb clauses, and suggested noun/noun clauses: Remove Microsoft Office Hub 17.7909.7600 and verify again 2. Upgrade Microsoft Office Hub 17.7909.7600 and verify again

上述之推理模組106及/或推理模組106之語意知識網路係以推理分析詞袋及/或建議方案詞袋中的專有名詞為中心,倘若無法於推理分析詞袋及/或建議方案詞袋中找到專有名詞,則表示此時發生之問題係為作業系統內建的問題,因此,推理模組106及/或推理模組106之語意知識網路的建議方案則可以例如為 “Suggest filing bugs to Microsoft”。The semantic knowledge network of the reasoning module 106 and/or the reasoning module 106 described above is centered on the inference analysis term bag and/or the proper noun in the suggestion word bag, if the word bag and/or suggestion cannot be analyzed in the inference. The finding of a proper noun in the program word bag indicates that the problem occurring at this time is a problem built into the operating system. Therefore, the suggestion solution of the semantic module of the inference module 106 and/or the inference module 106 can be, for example, "Suggest filing bugs to Microsoft."

此時前段測試人員或開發人員獲得推理模組106及/或推理模組106之語意知識網路提供的分析結果與建議方案,可知道後續應採取的建議動作。如果此發生之問題係為全新的案例,推理模組106最後也將此發生之問題的基本資訊、推理分析的過程、執行紀錄、結案報告等,集合成一全新案例,並傳送至案例資料庫中,進行儲存。At this time, the former tester or the developer obtains the analysis result and the suggestion solution provided by the semantic knowledge network of the inference module 106 and/or the inference module 106, and can know the recommended actions to be taken subsequently. If the problem occurs is a brand new case, the reasoning module 106 finally collects the basic information of the problem, the process of reasoning analysis, the execution record, the settlement report, etc. into a new case and transmits it to the case database. , for storage.

依據本發明之實施例所提出之用於作業系統映像除錯的方法及電子裝置,當發生作業系統映像在生產或測試期間發生問題,前端測試人員或開發人員可將發生之問題的背景、基本資訊和執行紀錄等提供至作業系統映像除錯的電子裝置 (例如為伺服器)。根據發生之問題的基本資訊解讀問題的問題類型,並決定應與那些過往案例 (包括發生問題的案例、常見異常案例以及通過測試的案例) 進行比對,亦可決定應檢視那些過往案例的執行紀錄以判斷發生之問題是否為單機問題等。透過本發明之實施例所提出之用於作業系統映像除錯的方法及電子裝置對發生之問題進行分析及推理,進而產生針對發生之問題的除錯建議方案。According to the method and the electronic device for debugging the image of the operating system according to the embodiment of the present invention, when a problem occurs during the production or testing of the operating system image, the front-end tester or the developer can set the background and basic problem of the problem. Information and execution records, etc. are provided to the electronic device (for example, a server) for debugging the operating system image. Interpret the type of problem based on the basic information of the problem and decide to compare it with those past cases (including cases of problems, common exceptions, and cases passed), and decide to review the execution of those past cases. Record to determine whether the problem occurred is a stand-alone problem. The method and the electronic device for operating system image debugging proposed by the embodiments of the present invention analyze and reason the problems that occur, thereby generating a debugging solution for the problem that occurs.

依據本發明之實施例所提出之用於作業系統映像除錯的方法及電子裝置提供了人工智慧的解決方案,可減少前端測試人員以及開發人員的工作負荷,更可減少人力支出。再者,本發明之實施例所提出之用於作業系統映像除錯電子裝置中各個模組都有各自的執行日誌,不易被造假模仿,減少造假的機率及風險。The method and the electronic device for debugging the image of the operating system according to the embodiment of the present invention provide a solution of artificial intelligence, which can reduce the workload of front-end testers and developers, and reduce labor expenditure. Furthermore, each module in the operating system image debugging electronic device proposed by the embodiment of the present invention has its own execution log, which is not easy to be faked, and reduces the probability and risk of fraud.

綜上所述,雖然本發明已以實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。In conclusion, the present invention has been disclosed in the above embodiments, but it is not intended to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

10‧‧‧電子裝置10‧‧‧Electronic devices

102‧‧‧語意辨識模組 102‧‧‧Speech Identification Module

104‧‧‧案例資料庫 104‧‧‧Case database

106‧‧‧推理模組 106‧‧‧Inference Module

108‧‧‧使用者介面模組 108‧‧‧User interface module

20‧‧‧遠端裝置 20‧‧‧ Remote device

S202~S224‧‧‧流程步驟 S202~S224‧‧‧ Process steps

S302~S310‧‧‧流程步驟 S302~S310‧‧‧ Process steps

第1A圖繪示依照本發明一實施例的用於作業系統映像除錯的電子裝置之示意圖。 第1B圖繪示依照本發明另一實施例的用於作業系統映像除錯的電子裝置之示意圖。 第1C圖繪示依照本發明另一實施例的用於作業系統映像除錯的電子裝置與具有一使用者介面模組的一遠端裝置連接之示意圖。 第2圖繪示依照本發明一實施例的作業系統映像除錯的方法之流程圖。 第3圖繪示依照本發明一實施例的分析問題記錄以取得建議方案之流程圖。 第4A圖繪示依照本發明一實施例的關鍵字權重計算之示意圖。 第4B圖繪示依照本發明另一實施例的關鍵字權重計算之示意圖。FIG. 1A is a schematic diagram of an electronic device for debugging a working system image according to an embodiment of the invention. FIG. 1B is a schematic diagram of an electronic device for debugging a working system image according to another embodiment of the present invention. FIG. 1C is a schematic diagram showing the connection of an electronic device for operating system image debugging and a remote device having a user interface module according to another embodiment of the invention. FIG. 2 is a flow chart showing a method for debugging a working system image according to an embodiment of the invention. FIG. 3 is a flow chart of analyzing a problem record to obtain a suggested solution according to an embodiment of the invention. FIG. 4A is a schematic diagram of keyword weight calculation according to an embodiment of the invention. FIG. 4B is a schematic diagram of key weight calculation according to another embodiment of the present invention.

Claims (18)

一種用於作業系統映像除錯的方法,包括: 取得對應於一問題的一基本資訊以及一執行記錄; 依據一語意辨識規則及該基本資訊,取得該問題所對應的一問題類型; 依據該問題類型取得一目標歷史執行紀錄; 比對該問題的該執行紀錄及該目標歷史執行紀錄,以取得一第一比對相似度;以及 在該第一比對相似度大於或等於一第一相似度臨界值的情況下,取得對應於該目標歷史執行紀錄的一歷史執行紀錄結案報告。A method for debugging an image of a working system, comprising: obtaining a basic information corresponding to a problem and an execution record; obtaining a type of the problem corresponding to the problem according to the semantic recognition rule and the basic information; The type obtains a target historical execution record; compares the execution record of the problem with the target history execution record to obtain a first comparison similarity; and the first comparison similarity is greater than or equal to a first similarity In the case of the threshold value, a historical execution record closing report corresponding to the target history execution record is obtained. 如申請專利範圍第1項所述之方法,更包括: 在該第一比對相似度小於該第一相似度臨界值的情況下,比對該問題的該執行紀錄及一常見異常執行紀錄,以取得一第二比對相似度;以及 在該第二比對相似度大於或等於該第一相似度臨界值的情況下,取得對應於該常見異常執行紀錄的一常見執行異常紀錄結案報告。The method of claim 1, further comprising: in the case that the first comparison similarity is less than the first similarity threshold, comparing the execution record of the problem with a common abnormal execution record, And obtaining a second comparison similarity degree; and in the case that the second comparison similarity is greater than or equal to the first similarity critical value, obtaining a common execution abnormal record closing report corresponding to the common abnormal execution record. 如申請專利範圍第2項所述之方法,更包括: 在該第二比對相似度小於該第一相似度臨界值的情況下,分析該問題的該執行記錄,以取得一建議方案。The method of claim 2, further comprising: analyzing the execution record of the problem in the case that the second alignment similarity is less than the first similarity threshold to obtain a proposal. 如申請專利範圍第3項所述之方法,更包括: 整合該問題的該基本資訊、該執行紀錄及該建議方案為一全新案例;以及 儲存該全新案例。For example, the method described in claim 3 includes: integrating the basic information of the problem, the execution record and the proposal as a brand new case; and storing the new case. 如申請專利範圍第3項所述之方法,其中分析該問題的該執行記錄,以取得該建議方案的步驟包括: 依據該問題類型取得一目標通過執行紀錄; 比較該問題的該執行紀錄以及該目標通過執行紀錄,以取得一相異內容; 依據該相異內容取得一專有名詞以及對應於該專有名詞的一動詞及一形容詞; 依據該專有名詞及對應於該專有名詞的該動詞及該形容詞,取得一建議動詞;以及 依據該建議動詞及該專有名詞,取得該建議方案。The method of claim 3, wherein the step of analyzing the execution record of the problem to obtain the proposal includes: obtaining a target by executing the record according to the type of the problem; comparing the execution record of the problem with the The goal is to obtain a different content by executing the record; obtaining a proper noun according to the different content and a verb and an adjective corresponding to the proper noun; according to the proper noun and the corresponding to the proper noun The verb and the adjective obtain a suggested verb; and obtain the suggestion according to the suggested verb and the proper noun. 如申請專利範圍第3項所述之方法,其中分析該問題的該執行記錄,以取得該建議方案的步驟包括: 依據該問題類型取得另一目標歷史執行紀錄,該另一目標歷史執行紀錄與該執行紀錄之間的一第三比對相似度大於或等於一第二相似度臨界值且小於該第一相似度臨界值; 比較該問題的該執行紀錄以及該另一目標歷史執行紀錄,以取得一相異內容; 依據該相異內容取得一專有名詞以及對應於該專有名詞的一動詞及一形容詞; 依據該專有名詞及對應於該專有名詞的該動詞及該形容詞,取得一建議動詞;以及 依據該建議動詞及該專有名詞,取得該建議方案。The method of claim 3, wherein the step of analyzing the execution record of the problem to obtain the recommended solution comprises: obtaining another target historical execution record according to the type of the problem, the another target historical execution record and A third comparison similarity between the execution records is greater than or equal to a second similarity threshold and less than the first similarity threshold; comparing the execution record of the problem with the other target historical execution record to Obtaining a different content; obtaining a proper noun according to the different content and a verb and an adjective corresponding to the proper noun; obtaining the proper noun and the verb corresponding to the proper noun and the adjective according to the proper noun a suggested verb; and obtaining the proposed scheme based on the suggested verb and the proper noun. 如申請專利範圍第1項所述之方法,其中依據一語意辨識規則及該基本資訊,取得該問題所對應的該問題類型的步驟包括: 依據一關鍵字詞袋以及該基本資訊的一問題描述,取得一關鍵字;以及 依據該關鍵字取得該問題所對應的該問題類型。The method of claim 1, wherein the step of obtaining the type of the problem corresponding to the problem according to the semantic recognition rule and the basic information comprises: describing a keyword bag and a problem description of the basic information , get a keyword; and get the type of the question corresponding to the question based on the keyword. 如申請專利範圍第1項所述之方法,其中依據該語意辨識規則及該基本資訊,取得該問題所對應的該問題類型的步驟包括: 依據該基本資訊中的一問題描述獲得複數個詞彙,各該些詞彙具有一詞彙階層值; 依據一關鍵字詞袋,由該些詞彙中找出一第一關鍵字及一第二關鍵字; 依據該些詞彙階層值中的最大值、該第一關鍵字的該詞彙階層值以及該第二關鍵字的該詞彙階層值,取得該第一關鍵字的一第一關鍵字權重以及該第二關鍵字的一第二關鍵字權重; 在該第一關鍵字權重以及該第二關鍵字權重之間的一權重差值大於一權重臨界值的情況下,依據該第一關鍵字及該第二關鍵字兩者之一取得該問題所對應的該問題類型。The method of claim 1, wherein the step of obtaining the type of the problem corresponding to the problem according to the semantic identification rule and the basic information comprises: obtaining a plurality of words according to a problem description in the basic information, Each of the vocabulary words has a vocabulary class value; according to a keyword word bag, a first keyword and a second keyword are found out from the vocabulary words; and the first value is determined according to a maximum value of the vocabulary class values And the first keyword weight of the first keyword and a second keyword weight of the second keyword; If the weight difference between the keyword weight and the second keyword weight is greater than a weight threshold, the problem corresponding to the problem is obtained according to the first keyword and the second keyword. Types of. 如申請專利範圍第7項所述之方法,其中依據該語意辨識規則取得該基本資訊的該關鍵字權重的步驟更包括: 在該第一關鍵字權重以及該第二關鍵字權重之間的該權重差值小於或等於一權重臨界值的情況下,依據該基本資訊中的一複製程序取得對應於該第一關鍵字的一第一權重調整值以及對應於該第二關鍵字的一第二權重調整值; 依據該第一權重調整值及該第二權重調整值,分別調整該第一關鍵字權重及該第二關鍵字權重;以及 依據調整後的該第一關鍵字權重及調整後的該第二關鍵字權重,取得該問題所對應的該問題類型。The method of claim 7, wherein the step of obtaining the keyword weight of the basic information according to the semantic recognition rule further comprises: between the first keyword weight and the second keyword weight When the weight difference is less than or equal to a weight threshold, a first weight adjustment value corresponding to the first keyword and a second corresponding to the second keyword are obtained according to a copying procedure in the basic information. Weight adjustment value; adjusting the first key weight and the second key weight respectively according to the first weight adjustment value and the second weight adjustment value; and adjusting the adjusted first key weight and adjusted The second keyword weights the type of the problem corresponding to the problem. 一種用於作業系統映像除錯的電子裝置,包括: 一案例資料庫,用以儲存複數個歷史執行紀錄以及對應於該些歷史執行紀錄的複數個歷史執行紀錄結案報告;以及 一語意辨識模組,用以取得對應於一問題的一基本資訊以及一執行記錄、依據一語意辨識規則及該基本資訊,取得該問題所對應的一問題類型、依據該問題類型,由該些歷史紀錄中取得一目標歷史執行紀錄、比對該問題的該執行紀錄及該目標歷史執行紀錄,以取得一第一比對相似度,以及在該第一比對相似度大於或等於一第一相似度臨界值的情況下,取得對應於該目標歷史執行紀錄的一歷史執行紀錄結案報告。An electronic device for debugging an image of a working system, comprising: a case database for storing a plurality of historical execution records and a plurality of historical execution record closing reports corresponding to the historical execution records; and a semantic recognition module And obtaining a basic information corresponding to a problem, an execution record, a semantic recognition rule and the basic information, obtaining a type of the problem corresponding to the problem, and obtaining one of the historical records according to the type of the problem a target history execution record, an execution record of the problem, and the target history execution record to obtain a first comparison similarity, and wherein the first alignment similarity is greater than or equal to a first similarity threshold In the case, a historical execution record closing report corresponding to the target history execution record is obtained. 如申請專利範圍第10項所述之電子裝置,其中案例資料庫,更用以儲存一常見異常執行紀錄及對應於該常見異常執行紀錄檔案的一常見異常執行紀錄結案報告,以及該語意辨識模組更用以在該第一比對相似度小於該第一相似度臨界值的情況下,比對該問題的該執行紀錄及該常見異常執行紀錄,以取得一第二比對相似度,以及在該第二比對相似度大於或等於該第一相似度臨界值的情況下,取得對應於該常見異常執行紀錄的一常見異常執行紀錄結案報告。The electronic device of claim 10, wherein the case database is further configured to store a common abnormal execution record and a common abnormal execution record closing report corresponding to the common abnormal execution record file, and the semantic recognition model. The group is further configured to perform a second comparison similarity by comparing the execution record of the problem with the common abnormality when the first alignment similarity is less than the first similarity threshold. When the second comparison similarity is greater than or equal to the first similarity critical value, a common abnormal execution record closing report corresponding to the common abnormal execution record is obtained. 如申請專利範圍第11項所述之電子裝置,更包括: 一推理模組,用以在該第二比對相似度小於該第一相似度臨界值的情況下,分析該問題的該執行記錄,以取得一建議方案。The electronic device of claim 11, further comprising: an inference module, configured to analyze the execution record of the problem if the second comparison similarity is less than the first similarity threshold To get a suggested solution. 如申請專利範圍第12項所述之電子裝置,其中該推理模組更用以整合該問題的該基本資訊、該執行紀錄及該建議方案為一全新案例,以及儲存該全新案例於該案例資料庫。The electronic device of claim 12, wherein the reasoning module is further configured to integrate the basic information of the problem, the execution record and the proposal as a brand new case, and store the new case in the case data. Library. 如申請專利範圍第12項所述之電子裝置,其中該案例資料庫中更用以儲存複數個通過執行紀錄,以及該推理模組更用以比較該問題的該執行紀錄以及該些通過執行紀錄中對應於該問題類型的一目標通過執行紀錄,以取得一相異內容、依據該相異內容以取得一專有名詞以及對應於該專有名詞的一動詞及一形容詞、依據該專有名詞及對應於該專有名詞的該動詞及該形容詞,取得一建議動詞,以及依據該建議動詞及該專有名詞,取得該建議方案。The electronic device of claim 12, wherein the case database is further configured to store a plurality of execution records, and the reasoning module is further used to compare the execution record of the problem and the execution records a target corresponding to the type of the problem by performing a record to obtain a dissimilar content, obtaining a proper noun according to the dissimilar content, and a verb and an adjective corresponding to the proper noun, according to the proper noun And the verb corresponding to the proper noun and the adjective, obtaining a suggested verb, and obtaining the suggestion according to the suggested verb and the proper noun. 如申請專利範圍第12項所述之電子裝置,其中該推理模組更用以比較該問題的該執行紀錄以及該些歷史執行紀錄中的另一目標歷史執行紀錄,以取得一相異內容、依據該相異內容以取得一專有名詞以及對應於該專有名詞的一動詞及一形容詞、依據該專有名詞及對應於該專有名詞的該動詞及該形容詞,取得一建議動詞,以及依據該建議動詞及該專有名詞,取得該建議方案; 其中,該另一目標歷史執行紀錄與該執行紀錄之間的一第三比對相似度大於或等於一第二相似度臨界值且小於該第一相似度臨界值。The electronic device of claim 12, wherein the reasoning module is further configured to compare the execution record of the problem with another target historical execution record of the historical execution records to obtain a different content, Obtaining a suggested verb according to the dissimilar content to obtain a proper noun and a verb and an adjective corresponding to the proper noun, according to the proper noun and the verb corresponding to the proper noun and the adjective, and Obtaining the suggestion according to the suggested verb and the proper noun; wherein a third comparison similarity between the other target historical execution record and the execution record is greater than or equal to a second similarity threshold and less than The first similarity threshold. 如申請專利範圍第10項所述之電子裝置,其中該語意辨識模組依據該基本資訊的一問題描述以及一關鍵字詞袋,取得一關鍵字,以及依據該關鍵字取得該問題所對應的該問題類型。The electronic device of claim 10, wherein the semantic recognition module obtains a keyword according to a problem description of the basic information and a keyword word bag, and obtains the corresponding question according to the keyword The type of problem. 如申請專利範圍第10項所述之電子裝置,其中該語意辨識模組依據該基本資訊中的一問題描述獲得複數個詞彙,各該些詞彙具有一詞彙階層值、依據一關鍵字詞袋,由該些詞彙中找出一第一關鍵字及一第二關鍵字、依據該些詞彙階層值中的最大值、該第一關鍵字的該詞彙階層值以及該第二關鍵字的該詞彙階層值,取得該第一關鍵字的一第一關鍵字權重以及該第二關鍵字的一第二關鍵字權重,以及在該第一關鍵字權重以及該第二關鍵字權重之間的一權重差值大於一權重臨界值的情況下,依據該第一關鍵字及該第二關鍵字兩者之一取得該問題所對應的該問題類型。The electronic device of claim 10, wherein the semantic recognition module obtains a plurality of words according to a problem description in the basic information, each of the words having a vocabulary level value, according to a keyword word bag, Finding a first keyword and a second keyword from the vocabulary, determining a maximum value of the vocabulary hierarchy values, a vocabulary hierarchy value of the first keyword, and a vocabulary hierarchy of the second keyword a value, a first keyword weight of the first keyword, and a second keyword weight of the second keyword, and a weight difference between the first keyword weight and the second keyword weight When the value is greater than a weight threshold, the type of the problem corresponding to the problem is obtained according to one of the first keyword and the second keyword. 如申請專利範圍第17項所述之電子裝置,其中該語意辨識模組在該第一關鍵字權重以及該第二關鍵字權重之間的該權重差值小於或等於一權重臨界值的情況下,依據該基本資訊中的一複製程序取得對應於該第一關鍵字的一第一權重調整值以及對應於該第二關鍵字的一第二權重調整值、依據該第一權重調整值及該第二權重調整值,分別調整該第一關鍵字權重及該第二關鍵字權重,以及依據調整後的該第一關鍵字權重及調整後的該第二關鍵字權重,取得該問題所對應的該問題類型。The electronic device of claim 17, wherein the semantic recognition module, when the weight difference between the first keyword weight and the second keyword weight is less than or equal to a weight threshold Obtaining, according to a copying procedure in the basic information, a first weight adjustment value corresponding to the first keyword, and a second weight adjustment value corresponding to the second keyword, according to the first weight adjustment value, and the a second weight adjustment value, respectively adjusting the first keyword weight and the second keyword weight, and obtaining the corresponding problem according to the adjusted first keyword weight and the adjusted second keyword weight The type of problem.
TW106146382A 2017-12-29 2017-12-29 Method for debugging os image and electronic device using the same TWI653529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106146382A TWI653529B (en) 2017-12-29 2017-12-29 Method for debugging os image and electronic device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106146382A TWI653529B (en) 2017-12-29 2017-12-29 Method for debugging os image and electronic device using the same

Publications (2)

Publication Number Publication Date
TWI653529B true TWI653529B (en) 2019-03-11
TW201931116A TW201931116A (en) 2019-08-01

Family

ID=66590743

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106146382A TWI653529B (en) 2017-12-29 2017-12-29 Method for debugging os image and electronic device using the same

Country Status (1)

Country Link
TW (1) TWI653529B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5794237A (en) 1995-11-13 1998-08-11 International Business Machines Corporation System and method for improving problem source identification in computer systems employing relevance feedback and statistical source ranking
TW201003421A (en) 2008-04-28 2010-01-16 Alexandria Invest Res And Technology Llc Adaptive knowledge platform
TW201108131A (en) 2009-08-31 2011-03-01 Univ Ishou Mobile phone development system and method thereof based on ontology
US20110153539A1 (en) 2009-12-17 2011-06-23 International Business Machines Corporation Identifying common data objects representing solutions to a problem in different disciplines
US20170177591A1 (en) 2013-09-09 2017-06-22 International Business Machines Corporation Defect record classification
TWI599897B (en) 2014-01-27 2017-09-21 崑山科技大學 Methodologies, systems, computer programs, and human readable help by asking questions Get record media

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5794237A (en) 1995-11-13 1998-08-11 International Business Machines Corporation System and method for improving problem source identification in computer systems employing relevance feedback and statistical source ranking
TW201003421A (en) 2008-04-28 2010-01-16 Alexandria Invest Res And Technology Llc Adaptive knowledge platform
TW201108131A (en) 2009-08-31 2011-03-01 Univ Ishou Mobile phone development system and method thereof based on ontology
US20110153539A1 (en) 2009-12-17 2011-06-23 International Business Machines Corporation Identifying common data objects representing solutions to a problem in different disciplines
US20170177591A1 (en) 2013-09-09 2017-06-22 International Business Machines Corporation Defect record classification
TWI599897B (en) 2014-01-27 2017-09-21 崑山科技大學 Methodologies, systems, computer programs, and human readable help by asking questions Get record media

Also Published As

Publication number Publication date
TW201931116A (en) 2019-08-01

Similar Documents

Publication Publication Date Title
US11226892B2 (en) Analyzing software test failures using natural language processing and machine learning
CN110046087B (en) Non-contact test platform
US10515002B2 (en) Utilizing artificial intelligence to test cloud applications
US10585780B2 (en) Enhancing software development using bug data
US11494295B1 (en) Automated software bug discovery and assessment
US9588876B2 (en) Estimating likelihood of code changes introducing defects
US10936821B2 (en) Testing and training a question-answering system
US8453027B2 (en) Similarity detection for error reports
Gao et al. Emerging app issue identification from user feedback: Experience on wechat
US20190243743A1 (en) Unsupervised anomaly detection
US20150347923A1 (en) Error classification in a computing system
US20200053108A1 (en) Utilizing machine intelligence to identify anomalies
US9589049B1 (en) Correcting natural language processing annotators in a question answering system
US7610514B2 (en) Identification of uninformative function names in call-stack traces
AU2019201510B2 (en) Platform for supporting multiple virtual agent applications
US11714636B2 (en) Methods and arrangements to process comments
US11586436B1 (en) Systems and methods for version control in a computing device
US10379992B2 (en) Adaptive dynamic code analysis
CN104461860A (en) Method and system for operating system (OS) verification
Yu et al. Prioritize crowdsourced test reports via deep screenshot understanding
US11243835B1 (en) Message-based problem diagnosis and root cause analysis
TWI653529B (en) Method for debugging os image and electronic device using the same
Lavoie et al. A case study of TTCN-3 test scripts clone analysis in an industrial telecommunication setting
WO2022134001A1 (en) Machine learning model framework development method and system based on containerization technology
RU128741U1 (en) SYSTEM FOR FORMING SOLVING PROBLEMS OF FUNCTIONING COMPUTER SYSTEMS