TWI824681B - Device management system, device failure cause estimation method, and memory medium for non-temporarily storing programs - Google Patents

Device management system, device failure cause estimation method, and memory medium for non-temporarily storing programs Download PDF

Info

Publication number
TWI824681B
TWI824681B TW111132172A TW111132172A TWI824681B TW I824681 B TWI824681 B TW I824681B TW 111132172 A TW111132172 A TW 111132172A TW 111132172 A TW111132172 A TW 111132172A TW I824681 B TWI824681 B TW I824681B
Authority
TW
Taiwan
Prior art keywords
information
cluster
inter
management system
transition information
Prior art date
Application number
TW111132172A
Other languages
Chinese (zh)
Other versions
TW202311879A (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 日商歐姆龍股份有限公司
Publication of TW202311879A publication Critical patent/TW202311879A/en
Application granted granted Critical
Publication of TWI824681B publication Critical patent/TWI824681B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Debugging And Monitoring (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

本發明提供一種可高精度地進行與電腦組合使用的裝置的障礙原因的推測的技術。本發明的裝置管理系統為裝置的管理系統,其特徵在於包括:日誌資料獲取機構,獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作記錄;叢集資訊提取機構,自所述獲取的日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示所述裝置的運轉的各步驟的內容的資訊,所述叢集間過渡資訊為和一個所述步驟與另一個所述步驟之間的過渡有關的資訊;異常度計算機構,算出所述提取的各個所述叢集間過渡資訊的異常度;以及障礙原因推測機構,基於由所述異常度計算機構所算出的所述異常度來推測所述裝置的障礙原因。The present invention provides a technology that can accurately estimate the cause of a failure of a device used in combination with a computer. The device management system of the present invention is a device management system, and is characterized in that it includes: a log data acquisition mechanism to acquire logs, which are software action records related to the control of the device; and a cluster information extraction mechanism to obtain logs from the device. Cluster information and inter-cluster transition information are extracted from the set of acquired logs. The cluster information is information indicating the content of each step of the operation of the device, and the inter-cluster transition information is the relationship between one step and another. information related to the transition between the steps; an abnormality degree calculation unit that calculates the abnormality degree of each of the extracted transition information between clusters; and an obstacle cause estimation unit that is based on the abnormality degree calculation unit calculated by the abnormality degree calculation unit The degree of abnormality is used to estimate the cause of the device failure.

Description

裝置管理系統、裝置的障礙原因推測方法以及非暫時性地記憶程式的記憶媒體Device management system, device failure cause estimation method, and memory medium for non-temporarily storing programs

本發明是有關於一種裝置管理系統、裝置的障礙原因推測方法以及程式。The present invention relates to a device management system, a device failure cause estimation method and a program.

關於產業用途的裝置(或設備)的保養業務,於產生了裝置動作的停止、性能的降低等障礙的情形時,進行其原因分析。另外,此種障礙原因的分析通常是由操作員(operator)一方面相互參照軟體(software)的動作記錄(日誌)、裝置的機械零件的運轉狀態(各種感測器測量值、馬達轉速等)、控制裝置(電腦)的運轉狀態(中央處理單元(Central Processing Unit,CPU)使用率、記憶體使用量、網路收發量、基板溫度等)等多樣的資訊,一方面進行分析。Regarding the maintenance work of industrial equipment (or equipment), when an obstacle occurs such as a stoppage of the operation of the equipment or a decrease in performance, the cause is analyzed. In addition, the analysis of the cause of such a failure usually involves the operator (operator) cross-referencing the action records (logs) of the software and the operating status of the mechanical parts of the device (various sensor measurement values, motor speed, etc.) On the one hand, various information such as the operating status of the control device (computer) (Central Processing Unit (CPU) usage, memory usage, network transmission and reception volume, substrate temperature, etc.) are analyzed.

然而,根據如此般對照多樣的資訊進行分析的方法,有操作員的負擔大,分析結果大幅度地受到個人的經驗、知識影響等問題。However, such a method of analyzing various information by comparing it imposes a heavy burden on the operator, and the analysis results are greatly affected by personal experience and knowledge.

針對此種問題,近年來提出了包含自動化在內的和保養業務的效率化有關的各種方法。例如,正致力於蓄積與裝置的狀態有關的資料,以有助於故障對策的自動化。尤其於反覆進行一定的簡單動作般的裝置中,有效的是藉由學習自感測器獲得的訊號資料從而檢測異常值或變化點(所謂偏離值),提出有使用該些資訊來進行障礙原因的推測或故障的預測(例如非專利文獻1等)。In response to this problem, various methods related to the efficiency of maintenance work including automation have been proposed in recent years. For example, efforts are being made to accumulate data on the status of devices to contribute to the automation of failure countermeasures. Especially in a device that repeatedly performs a certain simple operation, it is effective to detect abnormal values or change points (so-called deviation values) by learning the signal data obtained from the sensor, and to propose the cause of the failure using this information. speculation or failure prediction (for example, non-patent document 1, etc.).

然而,對於檢查裝置或加工機器等與控制裝置(電腦)組合而進行複雜動作般的裝置而言,使用簡單資料的先前技術難以獲得充分的結果。鑒於所述方面,近年來亦進行了下述研究,即:使用深層學習等方法來靈活運用自多數的感測器獲取的大量的資料(例如非專利文獻2等)。However, for devices such as inspection devices and processing machines that are combined with a control device (computer) to perform complex operations, it is difficult to obtain sufficient results using conventional techniques using simple data. In view of the above, research has been conducted in recent years to utilize a large amount of data acquired from a large number of sensors using methods such as deep learning (for example, Non-Patent Document 2, etc.).

而且,亦提出有代替感測器資料而靈活運用控制裝置的軟體日誌或維護記錄等文本資料,以這些作為對象進行學習,推測維護的最適時機(例如非專利文獻3等)。 [現有技術文獻] [非專利文獻] Furthermore, it is also proposed to use text data such as software logs and maintenance records of the control device instead of sensor data, and to use these as objects to learn and estimate the optimal timing of maintenance (for example, Non-Patent Document 3, etc.). [Prior art documents] [Non-patent literature]

[非專利文獻1]費雷羅.S(Ferreiro, S.)、孔德.E(Konde, E.)、費爾南德.S(Fernandez, S.)及皮拉多.A(Prado, A.),2016,工業4.0:生產設備的預測性智能維護(Industry 4.0 : predictive intelligent maintenance for production equipment),歐洲預後與健康管理學會會議(European Conference of the Prognostics and Health Management Society),no(pp.1-8),researchgate.net. [非專利文獻2]埃德姆吉米.T.T(Ademujimi, T.T.)、布倫代奇.M.P(Brundage, M.P.)及帕布.V.V(Prabhu,V.V.),2017,當前機器學習技術於製造診斷中的應用綜述(A Review of Current Machine Learning Techniques Used in Manufacturing Diagnosis),生產管理系統的進步(Advances in Production Management Systems),智能、協作及可持續製造之路(The Path to Intelligent, Collaborative and Sustainable Manufacturing)(pp.407-415),施普林格國際出版公司(Springer International Publishing.) [非專利文獻3]帕蒂爾.R.B(Patil,R.B.)、帕蒂爾.M.A(Patil, M.A.)、拉維.V.(Ravi, V.)及內克.S(Naik, S.),2017,用於自機器日誌對成像設備進行糾正性維護的預測建模(Predictive modeling for corrective maintenance of imaging devices from machine logs),會議論文集:...IEEE醫學和生物學工程年度國際會議(Conference proceedings : ...Annual International Conference of the IEEE Engineering in Medicine and Biology Society),IEEE醫學和生物學工程學會(IEEE Engineering in Medicine and Biology Society),會議(Conference),2017,1676-1679,ieeexplore.ieee.org. [Non-patent document 1] Ferreiro, S., Konde, E., Fernandez, S. and Prado, A. A.), 2016, Industry 4.0: predictive intelligent maintenance for production equipment, European Conference of the Prognostics and Health Management Society, no (pp .1-8), researchgate.net. [Non-patent document 2] Ademujimi, T.T., Brundage, M.P., and Prabhu, V.V., 2017, Application of current machine learning technology in manufacturing diagnosis A Review of Current Machine Learning Techniques Used in Manufacturing Diagnosis, Advances in Production Management Systems, The Path to Intelligent, Collaborative and Sustainable Manufacturing ( pp.407-415), Springer International Publishing. [Non-patent document 3] Patil, R.B., Patil, M.A., Ravi, V., and Naik, S. , 2017, Predictive modeling for corrective maintenance of imaging devices from machine logs, Conference Proceedings:... IEEE Annual International Conference on Engineering in Medicine and Biology ( Conference proceedings: ...Annual International Conference of the IEEE Engineering in Medicine and Biology Society), IEEE Engineering in Medicine and Biology Society, Conference, 2017, 1676-1679, ieeexplore. ieee.org.

[發明所欲解決之課題] 然而,為了推測與電腦組合的相對較複雜的裝置的障礙原因,僅使用感測器資料的先前方法有下述問題,即:無法應對與軟體的動作連動地產生的不良狀況等。而且,即便為學習軟體日誌或維護記錄等文本資料進行分析的方法,亦有下述問題,即:雖可記錄、學習已知的障礙或劣化的狀態來進行分析,但關於未知或預料之外的障礙則難以學習,無法應對此種障礙等。 [Problem to be solved by the invention] However, in order to estimate the cause of failure of a relatively complex device combined with a computer, the conventional method of using only sensor data has the following problem: it cannot deal with malfunctions that occur in conjunction with the operation of the software. Furthermore, even if a method is used to analyze textual data such as software logs or maintenance records, there is a problem that although known obstacles or deterioration states can be recorded and learned for analysis, unknown or unexpected conditions cannot be analyzed. obstacles make it difficult to learn, unable to cope with such obstacles, etc.

本發明是鑒於所述般的實際情況而成,其目的在於提供一種可高精度地進行與電腦組合使用的裝置的障礙原因的推測的技術。 [解決課題之手段] The present invention was made in view of the above-mentioned actual situation, and an object thereof is to provide a technology that can accurately estimate the cause of a failure of a device used in combination with a computer. [Means to solve the problem]

為了達成所述目的,本發明採用以下的結構。即, 一種裝置管理系統,為裝置的管理系統,其特徵在於包括: 日誌資料獲取機構,獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作記錄; 叢集資訊提取機構,自所述獲取的日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示所述裝置的運轉的各步驟的內容的資訊,所述叢集間過渡資訊為和一個所述步驟與另一個所述步驟之間的過渡有關的資訊; 異常度計算機構,算出所述提取的各個所述叢集間過渡資訊的異常度;以及 障礙原因推測機構,基於由所述異常度計算機構所算出的所述異常度來推測所述裝置的障礙原因。 In order to achieve the above object, the present invention adopts the following structure. Right now, A device management system is a device management system, which is characterized by including: A log data acquisition mechanism acquires logs, which are software action records related to the control of the device; A cluster information extraction mechanism extracts cluster information and inter-cluster transition information from the set of acquired logs. The cluster information is information representing the content of each step of the operation of the device, and the inter-cluster transition information is and information about the transition between one said step and another; An abnormality degree calculation mechanism calculates the abnormality degree of the transition information between each of the extracted clusters; and The failure cause estimation unit estimates the failure cause of the device based on the abnormality degree calculated by the abnormality degree calculation unit.

根據此種結構,關於產生了障礙的裝置,可針對和裝置的運轉有關的各個細小行為算出異常度,並基於所述異常度來進行障礙原因的推測,因而即便對於未知(或預料之外的)障礙原因,亦可推測其為障礙的原因。According to this structure, for a device where a malfunction has occurred, the degree of abnormality can be calculated for each small behavior related to the operation of the device, and the cause of the malfunction can be estimated based on the degree of abnormality. Therefore, even for unknown (or unexpected) ) cause of the disorder, it can also be inferred to be the cause of the disorder.

而且,所述異常度計算機構亦可基於所述裝置的正常時的所述叢集間過渡資訊,來算出所述提取的各個所述叢集間過渡資訊的異常度。若為此種結構,則可不使用裝置有障礙時的學習資料,而僅基於裝置的正常運轉時的資料來算出障礙產生時的異常度,因而可自簡單結構的裝置至複雜的裝置而對各種對象適用。Furthermore, the abnormality degree calculation unit may also calculate the abnormality degree of each of the extracted inter-cluster transition information based on the inter-cluster transition information when the device is normal. With such a structure, it is possible to calculate the degree of abnormality when a malfunction occurs based only on the data during normal operation of the device without using the learning data when the device is in trouble. Therefore, it is possible to analyze a variety of devices from simple-structured devices to complex devices. Object applies.

而且,亦可於所述叢集間過渡資訊中,包含和所述裝置的多個所述步驟間的過渡的產生頻率有關的資訊,且所述裝置管理系統更包括:叢集間過渡資訊評價機構,基於所述產生頻率來進行所述提取的各個所述叢集間過渡資訊的加權,所述異常度計算機構使用進行了所述加權的資訊來算出所述異常度。藉由如此般包括基於步驟間的過渡的產生頻率來進行加權的機構,從而可有效率且高精度地算出異常度。Furthermore, the inter-cluster transition information may also include information related to the occurrence frequency of transitions between multiple steps of the device, and the device management system further includes: an inter-cluster transition information evaluation mechanism, The extracted transition information between clusters is weighted based on the frequency of occurrence, and the abnormality degree calculation unit calculates the abnormality degree using the weighted information. By including a mechanism for weighting based on the occurrence frequency of transitions between steps in this manner, the degree of abnormality can be calculated efficiently and accurately.

而且,亦可更包括:硬體資訊獲取機構,獲取和所述裝置的硬體的狀態有關的硬體資訊,所述叢集間過渡資訊評價機構基於所述硬體資訊獲取機構獲取的所述硬體資訊,進一步進行所述提取的各個所述叢集間過渡資訊的加權。Moreover, it may further include: a hardware information acquisition mechanism that acquires hardware information related to the status of the hardware of the device, and the inter-cluster transition information evaluation mechanism is based on the hardware information acquired by the hardware information acquisition mechanism. volume information, further weighting the extracted transition information between each of the clusters.

此處,所謂硬體資訊,為各種感測器資料及自所述感測器資料獲得的和裝置的硬體方面的動作、狀態有關的資訊。如此,藉由使用硬體資訊進一步進行加權,從而可更高精度地算出異常度。Here, the so-called hardware information refers to various sensor data and information related to the operation and status of the hardware of the device obtained from the sensor data. In this way, by further weighting using hardware information, the abnormality degree can be calculated with higher accuracy.

而且,所述障礙原因推測機構亦可推測為,於由所述異常度計算機構所算出的所述異常度滿足既定條件的所述叢集間過渡資訊所指定的所述步驟中,存在所述裝置的障礙原因。所謂既定條件,具體而言,例如可設為超過既定的臨限值的情形等。於該情形時,臨限值可由用戶預先設定,亦可藉由根據裝置的運轉實績進行學習從而自動設定。藉由如此設定,從而可有效率地推測裝置的障礙原因。Furthermore, the failure cause estimation unit may also infer that the device exists in the step specified by the inter-cluster transition information in which the abnormality degree calculated by the abnormality degree calculation unit satisfies a predetermined condition. causes of obstacles. Specifically, the predetermined condition may be, for example, a situation in which a predetermined threshold value is exceeded. In this case, the threshold value can be preset by the user, or can be set automatically by learning based on the operating performance of the device. By setting in this way, the cause of device failure can be estimated efficiently.

而且,所述裝置管理系統亦可更包括:顯示機構,可顯示表示由所述異常度計算機構所算出的所述異常度、及/或由所述障礙原因推測機構所推測的所述障礙原因的資訊。根據此種結構,用戶可容易地確認所推測出的障礙原因。Furthermore, the device management system may further include a display unit capable of displaying the abnormality degree calculated by the abnormality degree calculation unit and/or the failure cause estimated by the failure cause estimating unit. information. According to this structure, the user can easily confirm the presumed cause of the failure.

而且,所述裝置管理系統亦可更包括:有向圖生成機構,以所述叢集資訊作為節點,以所述叢集間過渡資訊作為邊緣,生成表示所述叢集資訊及所述叢集間過渡資訊的關係的有向圖,所述顯示機構可顯示所述有向圖。Moreover, the device management system may further include: a directed graph generating mechanism that uses the cluster information as nodes and the inter-cluster transition information as edges to generate a graph representing the cluster information and the inter-cluster transition information. A directed graph of a relationship, and the display mechanism can display the directed graph.

根據此種結構,用戶能以有向圖的態樣來確認和裝置的控制有關的軟體的動作,可將所述資訊靈活運用於裝置的管理、保養。According to this structure, the user can confirm the operation of the software related to the control of the device in the form of a directed graph, and the information can be flexibly used for the management and maintenance of the device.

而且,所述叢集間過渡資訊亦可藉由既定的方法進行了增加重要度的評價的加權,所述有向圖生成機構生成可視認各個所述叢集間過渡資訊的所述加權的、所述有向圖。再者,此處的加權的方法並無特別限定,例如可如上所述,設為基於叢集間過渡的產生頻率、對應的硬體資訊(感測器資料)等的加權。根據此種結構,用戶可確認反映出加權的有向圖,故而可自有向圖獲取更詳細的資訊。Furthermore, the inter-cluster transition information may be weighted by increasing the importance of the evaluation by a predetermined method, and the directed graph generating unit generates the weighted, Directed graph. Furthermore, the weighting method here is not particularly limited. For example, as described above, it can be weighting based on the occurrence frequency of transitions between clusters, corresponding hardware information (sensor data), etc. According to this structure, users can confirm that the weighted directed graph is reflected, so they can obtain more detailed information from the directed graph.

而且,所述有向圖生成機構亦可藉由將表示所述叢集間過渡資訊的所述加權的數值顯示於所述邊緣的附近,從而生成以可視認的方式表現所述加權的有向圖。Furthermore, the directed graph generating unit may also generate a directed graph that visually expresses the weighting by displaying the weighted value representing the transition information between clusters near the edge. .

而且,所述有向圖生成機構亦可藉由對表示各個所述叢集間過渡資訊的所述邊緣的清晰度設置差異來進行顯示,從而生成以可視認的方式表現所述加權的有向圖。此處,所謂對清晰度設置差異,例如可想到將邊緣的線的粗細度對應權重而增粗,或者將邊緣的線的亮度或明度對應權重而提高等。Furthermore, the directed graph generating means may also display by setting a difference in sharpness of the edges representing transition information between each of the clusters, thereby generating a directed graph that visually expresses the weighting. . Here, setting a difference in definition may be, for example, thickening the thickness of the edge line in accordance with the weight, or increasing the brightness or lightness of the edge line in accordance with the weight.

而且,亦可於所述叢集資訊中包含作為自所述日誌提取的文本資訊的單詞,所述有向圖生成機構將各個所述叢集資訊所含的所述單詞以出現次數由多到少的順序提取既定數,並且生成使用所述提取的單詞作為表示所述叢集資訊的內容的資訊的、所述有向圖。若為此種結構,則用戶可基於單詞容易地掌握有向圖的各節點的內容。Moreover, the cluster information may also include words that are text information extracted from the log, and the directed graph generating unit may arrange the words included in each of the cluster information in descending order of the number of occurrences. Predetermined numbers are sequentially extracted, and the directed graph using the extracted words as information representing the content of the cluster information is generated. With this structure, the user can easily grasp the contents of each node of the directed graph based on words.

而且,所述裝置管理系統亦可更包括:提取日誌顯示圖像生成機構,自所述日誌的集合中,提取與滿足既定條件的所述叢集間過渡資訊對應的日誌,作為表示所述滿足既定條件的所述叢集間過渡資訊的內容的資訊,並且生成表示所述提取的日誌的內容的、提取日誌顯示圖像,所述顯示機構可顯示所述提取日誌顯示圖像。Moreover, the device management system may further include: extracting a log display image generating unit to extract, from the collection of logs, a log corresponding to the inter-cluster transition information that satisfies a predetermined condition as a representation of the inter-cluster transition information that satisfies the predetermined condition. Information on the content of the transition information between clusters according to the condition, and generating an extraction log display image representing the content of the extracted log, and the display mechanism can display the extraction log display image.

再者,所謂此處提及的「滿足既定條件」,可設為異常度超過既定值的情形、用戶選擇了所述有向圖的與所述叢集間過渡資訊對應的邊緣的情形等。若為此種結構,則用戶可迅速確認與所述叢集間過渡資訊對應的日誌。Furthermore, the so-called "satisfying the predetermined conditions" mentioned here can be set to a situation where the anomaly degree exceeds a predetermined value, a situation where the user selects an edge of the directed graph corresponding to the transition information between clusters, etc. With this structure, the user can quickly confirm the log corresponding to the inter-cluster transition information.

而且,所述提取日誌顯示圖像亦可彈出顯示於表示與所述顯示圖像所示的提取日誌對應的所述叢集間過渡資訊的、所述邊緣的附近。若為此種顯示,則可容易地掌握彈出顯示的所述提取日誌顯示圖像、與表示對應的所述叢集間過渡資訊的所述邊緣的關係。再者,提取日誌顯示圖像的顯示部位並無特別限定,亦可無關乎所述彈出顯示而設置特定的顯示區域。Furthermore, the extraction log display image may be pop-up displayed near the edge indicating the inter-cluster transition information corresponding to the extraction log shown in the display image. With such a display, it is possible to easily grasp the relationship between the extracted log display image displayed in a pop-up manner and the edge indicating the corresponding transition information between clusters. Furthermore, the display location of the extracted log display image is not particularly limited, and a specific display area may be provided regardless of the pop-up display.

而且,本發明亦可作為裝置的障礙原因推測方法而適用,所述裝置的障礙原因推測方法為推測裝置的障礙原因的方法,且包含: 日誌資料獲取步驟,獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作歷程資訊; 叢集資訊提取步驟,自所獲取的所述日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示由所述裝置進行的處理的各步驟的內容的資訊,所述叢集間過渡資訊為和所述裝置的多個所述步驟間的過渡有關的資訊; 異常度計算步驟,算出所述提取的各個所述叢集間過渡資訊的異常度;以及 障礙原因推測步驟,基於所述異常度計算步驟中算出的所述異常度來推測所述裝置的障礙原因。 Furthermore, the present invention can also be applied as a method for estimating the cause of failure of the device. The method for estimating the cause of failure of the device is a method of estimating the cause of the failure of the device and includes: The log data acquisition step is to acquire logs, which are software action history information related to the control of the device; A cluster information extraction step is to extract cluster information and inter-cluster transition information from the acquired set of logs, where the cluster information is information representing the contents of each step of processing performed by the device, and the inter-cluster transition information The information is information related to transitions between a plurality of said steps of said device; An abnormality degree calculation step is to calculate the abnormality degree of the transition information between each of the extracted clusters; and The failure cause estimation step estimates the failure cause of the device based on the abnormality degree calculated in the abnormality degree calculation step.

而且,本發明亦可理解為用以使電腦執行所述方法的程式、及非暫時性地記錄有此種程式的電腦可讀取的記錄媒體。Moreover, the present invention can also be understood as a program for causing a computer to execute the method, and a computer-readable recording medium in which such a program is non-temporarily recorded.

再者,所述結構及處理各自只要不產生技術上的矛盾,則可相互組合而構成本發明。 [發明的效果] Furthermore, the structures and processes described above can be combined with each other to form the present invention as long as there is no technical contradiction. [Effects of the invention]

根據本發明,可提供一種可高精度地進行與資訊處理裝置組合使用的裝置的障礙原因的推測的技術。According to the present invention, it is possible to provide a technology that can accurately estimate the cause of a failure of a device used in combination with an information processing device.

以下,基於圖式對本發明的實施例加以說明。然而,以下的各例所記載的結構要素的尺寸、材質、形狀、其相對配置等只要無特別記載,則並非意指將本發明的範圍僅限定於該些。Hereinafter, embodiments of the present invention will be described based on the drawings. However, the dimensions, materials, shapes, relative arrangements, etc. of the structural elements described in the following examples do not mean that the scope of the present invention is limited to these unless otherwise specified.

<適用例> (適用例的結構) 本發明例如可適用作外觀檢查裝置的管理系統,所述外觀檢查裝置藉由對利用攝像機構拍攝檢查對象物所得的圖像進行處理,從而對檢查對象物進行檢查。圖1為表示本適用例的裝置管理系統1的概略的示意圖。 <Application examples> (Structure of applicable examples) For example, the present invention can be applied to a management system for an appearance inspection device that inspects an inspection object by processing an image obtained by photographing the inspection object using a camera mechanism. FIG. 1 is a schematic diagram showing an outline of the device management system 1 of this application example.

裝置管理系統1包含資訊處理終端100及外觀檢查裝置120。資訊處理終端100可與外觀檢查裝置120一體地構成,亦可為與外觀檢查裝置120可通訊地連接的分立的裝置,例如可包含通用的電腦。再者,資訊處理終端100可包含單一的電腦,亦可包含互相協作的多台電腦。外觀檢查裝置120例如為藉由拍攝零件搭載基板等檢查對象物並進行圖像處理從而自動進行檢查對象物的檢查的裝置。The device management system 1 includes an information processing terminal 100 and an appearance inspection device 120 . The information processing terminal 100 may be integrated with the appearance inspection device 120 , or may be a separate device communicably connected to the appearance inspection device 120 , and may include, for example, a general-purpose computer. Furthermore, the information processing terminal 100 may include a single computer or multiple computers that cooperate with each other. The appearance inspection device 120 is, for example, a device that automatically inspects an inspection object such as a component mounting substrate by photographing the inspection object and performing image processing.

資訊處理終端100包括日誌資料獲取部101、叢集資訊提取部102、叢集間過渡資訊評價部103、有向圖生成部104、基準資料生成部105、異常度計算部106、障礙原因推測部107、顯示部108、記憶部109的各功能部。除此以外,雖未圖示,但亦可包括滑鼠或鍵盤等各種輸入機構、通訊機構等。The information processing terminal 100 includes a log data acquisition unit 101, a cluster information extraction unit 102, an inter-cluster transition information evaluation unit 103, a directed graph generation unit 104, a reference data generation unit 105, anomaly degree calculation unit 106, and a failure cause estimation unit 107. Each functional unit of the display unit 108 and the memory unit 109. In addition, although not shown in the figure, it may also include various input mechanisms such as a mouse or a keyboard, communication mechanisms, etc.

外觀檢查裝置120成為包括下述部分的結構:輸送機124,將檢查對象物O搬送至拍攝位置;相機121,拍攝檢查對象物O;以及X平台122及Y平台123,使相機121沿水平方向移動。而且,外觀檢查裝置120雖未圖示,但包括對所拍攝的圖像進行處理的圖像處理部、基於圖像進行檢查的檢查處理部、及輸出檢查結果的輸出處理部等。The appearance inspection device 120 has a structure including the following parts: a conveyor 124 that transports the inspection object O to an imaging position; a camera 121 that photographs the inspection object O; and an X stage 122 and a Y stage 123 that move the camera 121 in the horizontal direction. Move. Furthermore, although not shown in the figure, the appearance inspection device 120 includes an image processing unit that processes a captured image, an inspection processing unit that performs inspection based on the image, an output processing unit that outputs inspection results, and the like.

(障礙原因推測的方法) 本適用例的裝置管理系統1事先準備使用外觀檢查裝置120的正常動作時的多個資料進行學習(模型化)而得的基準資料,於外觀檢查裝置120產生了障礙的情形時,基於所述基準資料來推測障礙原因。 (Method for estimating the cause of obstacles) The device management system 1 of this application example prepares in advance reference data obtained by learning (modeling) using a plurality of data during normal operation of the visual inspection device 120 , and when a failure occurs in the visual inspection device 120 , based on the Baseline data are used to infer the cause of the disorder.

具體而言,首先由日誌資料獲取部101獲取和外觀檢查裝置120的正常動作時的控制有關的軟體日誌(以下亦簡稱為日誌)。日誌如圖2所示以文本資訊的形式構成,藉由利用叢集資訊提取部102對所述文本資訊進行處理,從而提取表示外觀檢查裝置120的運轉的各步驟的內容的、叢集資訊。進而,提取叢集間過渡資訊,此叢集間過渡資訊為和外觀檢查裝置120的運轉的一個步驟與另一個步驟之間的過渡有關的資訊。Specifically, first, the log data acquisition unit 101 acquires a software log (hereinafter also simply referred to as a log) related to control during normal operation of the appearance inspection device 120 . The log is configured in the form of text information as shown in FIG. 2 , and by processing the text information with the cluster information extraction unit 102 , cluster information indicating the contents of each step of the operation of the appearance inspection device 120 is extracted. Furthermore, inter-cluster transition information is extracted, and the inter-cluster transition information is information related to the transition between one step and another step in the operation of the visual inspection device 120 .

進而,由有向圖生成部104製作表示所提取的各個叢集資訊及叢集間過渡資訊的關係的有向圖。將所述處理以製作基準資料所需要的程度重覆多次,獲取多個有向圖。進而,由基準資料生成部105將所獲取的多個有向圖替換為矩陣表現,並且對矩陣的各要素算出平均、分散,將其作為基準資料進行保存。Furthermore, the directed graph generating unit 104 creates a directed graph representing the relationship between the extracted cluster information and the transition information between clusters. The above process is repeated as many times as necessary to create the reference data, and a plurality of directed graphs are obtained. Furthermore, the reference data generation unit 105 replaces the plurality of acquired directed graphs with matrix representation, calculates the average and dispersion of each element of the matrix, and stores it as the reference data.

另外,於外觀檢查裝置120產生了障礙的情形時,獲取和障礙產生時的控制有關的日誌,藉由與基準資料的製作時相同的處理來製作有向圖,將其變換為矩陣表現。繼而,由異常度計算部106將所獲取的障礙產生時的矩陣資料的各要素與基準資料的矩陣的各要素進行比對,針對各要素算出表示與基準資料的偏離的大小的異常度。繼而,障礙原因推測部107認為與異常度為既定的臨限值以上的要素對應的步驟(或步驟間的過渡)為障礙的原因的可能性高,將所述步驟推測為障礙原因。In addition, when a failure occurs in the visual inspection device 120, a log related to the control when the failure occurs is acquired, a directed graph is created through the same process as when creating the reference data, and the log is converted into a matrix representation. Next, the abnormality degree calculation unit 106 compares each element of the acquired matrix data when the obstacle occurs with each element of the matrix of the reference data, and calculates an abnormality degree indicating the magnitude of the deviation from the reference data for each element. Next, the failure cause estimating unit 107 considers that a step (or a transition between steps) corresponding to an element whose abnormality degree is equal to or higher than a predetermined threshold value is highly likely to be a cause of a failure, and estimates the step as a cause of the failure.

如以上般,本適用例的裝置管理系統1可僅基於正常動作時的資料來製作基準資料,藉由進行障礙產生時的資料與基準資料的比對從而推測障礙的產生原因。藉此,對於未知的障礙原因亦可高精度地進行推測。As described above, the device management system 1 of this application example can create the reference data based only on the data during normal operation, and can estimate the cause of the failure by comparing the data when the failure occurs with the reference data. This makes it possible to predict the cause of unknown obstacles with high accuracy.

<實施形態1> 繼而,基於圖1至圖9對本發明的實施形態加以更詳細說明。首先,對本實施形態的裝置管理系統1的資訊處理終端100包括的功能部加以說明。 <Embodiment 1> Next, the embodiment of the present invention will be described in more detail based on FIGS. 1 to 9 . First, the functional units included in the information processing terminal 100 of the device management system 1 of this embodiment will be described.

(資訊處理終端的功能) 日誌資料獲取部101獲取日誌,所述日誌為和外觀檢查裝置120的控制有關的、軟體的動作記錄。叢集資訊提取部102自所獲取的日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示外觀檢查裝置120的運轉的各步驟的內容的資訊,所述叢集間過渡資訊為和一個步驟與另一步驟之間的過渡有關的資訊。 (Function of information processing terminal) The log data acquisition unit 101 acquires logs that are software operation records related to the control of the appearance inspection device 120 . The cluster information extraction unit 102 extracts cluster information and inter-cluster transition information, which are information indicating the contents of each step of the operation of the appearance inspection device 120, from the acquired set of logs. The inter-cluster transition information is and Information about the transition between one step and another.

再者,所述叢集間過渡資訊中,包含和外觀檢查裝置120的多個步驟間的過渡的產生頻率有關的資訊,叢集間過渡資訊評價部103至少使用所述產生頻率的資訊來進行所提取的各個叢集間過渡資訊的加權。Furthermore, the inter-cluster transition information includes information on the occurrence frequency of transitions between the steps of the appearance inspection device 120 , and the inter-cluster transition information evaluation unit 103 at least uses the information on the occurrence frequency to perform the extraction. The weighting of transition information between each cluster.

而且,有向圖生成部104以所提取的叢集資訊作為節點,以叢集間過渡資訊作為邊緣,生成表示各個叢集資訊及叢集間過渡資訊的關係的有向圖。基準資料生成部105生成基準資料,此基準資料成為用以推測障礙原因的基準。具體而言,將對外觀檢查裝置120的正常運轉時的多個日誌資料進行採樣所獲取的多個有向圖替換為矩陣表現,並且對矩陣的各要素算出平均、分散,將其作為基準資料保存於記憶部109。Furthermore, the directed graph generating unit 104 uses the extracted cluster information as nodes and the inter-cluster transition information as edges to generate a directed graph representing the relationship between each cluster information and the inter-cluster transition information. The reference data generation unit 105 generates reference data, and this reference data becomes a reference for estimating the cause of the failure. Specifically, a plurality of directed graphs obtained by sampling a plurality of log data during normal operation of the visual inspection device 120 are replaced with a matrix representation, and the average and dispersion are calculated for each element of the matrix, and this is used as the reference data. Saved in the memory unit 109.

異常度計算部106將根據障礙產生時的日誌資料所生成的有向圖替換為矩陣表現,並且將矩陣的各要素與所述基準資料進行比對,藉此針對各要素算出表示與基準資料的偏離的大小的異常度。矩陣的各要素分別與自日誌提取的各個叢集間過渡資訊對應,故而矩陣的各要素的異常度成為對應的各個叢集間過渡資訊的異常度。The abnormality degree calculation unit 106 replaces the directed graph generated based on the log data when the obstacle occurs with a matrix representation, and compares each element of the matrix with the reference data, thereby calculating for each element the relationship between the representation and the reference data. The degree of abnormality in the size of the deviation. Each element of the matrix corresponds to the transition information between each cluster extracted from the log, so the anomaly degree of each element of the matrix becomes the anomaly degree of the corresponding transition information between clusters.

障礙原因推測部107認為與所算出的異常度為既定的臨限值以上的叢集間過渡資訊對應的軟體日誌所示的步驟為障礙的原因的可能性高,將所述步驟推測為障礙原因。The failure cause estimating unit 107 considers that the step shown in the software log corresponding to the inter-cluster transition information in which the calculated abnormality degree is equal to or higher than a predetermined threshold value is highly likely to be the cause of the failure, and infers the step as the cause of the failure.

顯示部108為液晶顯示器等圖像顯示裝置,顯示包含所述有向圖、所推測的障礙原因、叢集間過渡資訊的異常度等的各種資訊。記憶部109例如可包含讀入專用記憶體(Read Only Memory,ROM)、隨機存取記憶體(Random Access Memory,RAM)等主記憶部與可抹除可程式唯讀記憶體(Erasable Programmable Read Only Memory,EPROM)、硬碟驅動器(Hard Disc Drive,HDD)、可移動媒體(removable media)等輔助記憶部。The display unit 108 is an image display device such as a liquid crystal display, and displays various information including the directed graph, the estimated cause of the failure, the abnormality degree of the transition information between clusters, and the like. The memory unit 109 may include, for example, a main memory unit such as a read-only memory (Read Only Memory, ROM), a random access memory (Random Access Memory, RAM), and an erasable programmable read-only memory (Erasable Programmable Read Only memory). Memory, EPROM), hard disk drive (Hard Disc Drive, HDD), removable media (removable media) and other auxiliary memory parts.

於輔助記憶部,除了操作系統(Operating System,OS)、各種程式以外,可保存所述基準資料、管理對象裝置的運轉實績或維護記錄等各種資訊。再者,藉由將保存於輔助記憶部的程式下載至主記憶部的作業區域並執行,藉由程式的執行來控制各結構部等,從而可實現達成所述般的既定目的之功能部。再者,一部分或全部的功能部亦可藉由特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或現場可程式閘陣列(Field Programmable Gate Array,FPGA)般的硬體電路來實現。In the auxiliary memory unit, in addition to the operating system (OS) and various programs, various information such as the reference data, operation performance or maintenance records of the management target device can be stored. Furthermore, by downloading the program stored in the auxiliary memory unit to the work area of the main memory unit and executing it, each structural unit, etc. is controlled by the execution of the program, thereby realizing the functional unit that achieves the predetermined purpose as described above. Furthermore, some or all of the functions can also be implemented by hardware circuits such as Application Specific Integrated Circuit (ASIC) or Field Programmable Gate Array (FPGA).

(障礙原因推測處理的流程) 繼而,對本實施形態的裝置管理系統1的外觀檢查裝置120的障礙原因推測處理的流程加以說明。圖3為表示裝置管理系統1的障礙原因推測處理的一例的流程圖。如圖3所示,裝置管理系統1首先基於自正常運轉時的外觀檢查裝置120獲取的資料來生成基準資料(S101)。 (Process for estimating the cause of obstacles) Next, the flow of the trouble cause estimation process of the visual inspection device 120 of the device management system 1 of this embodiment will be described. FIG. 3 is a flowchart showing an example of failure cause estimation processing of the device management system 1 . As shown in FIG. 3 , the device management system 1 first generates reference data based on the data acquired from the visual inspection device 120 during normal operation ( S101 ).

此處,參照圖4,對步驟S101的基準資料生成處理加以詳細說明。圖4為表示本實施形態的基準資料生成處理的子路徑的流程的流程圖。如圖4所示,首先日誌資料獲取部101獲取正常運轉時的日誌資料(S201)。繼而,叢集資訊提取部102進行基於既定的規則將日誌資訊分離的處理(S202)。圖5中表示與此種日誌資訊的分離處理有關的說明圖。如圖5所示,日誌資料的各行包含表示時刻的時刻資料部分及消息字符串,叢集資訊提取部102將日誌以1行為單位分解為時刻資料與消息字符串。此處,對於消息字符串,進行進一步刪除數字及符號而分解為單詞單位的處理。Here, the reference data generation process of step S101 will be described in detail with reference to FIG. 4 . FIG. 4 is a flowchart showing the flow of a sub-route of the reference data generation process in this embodiment. As shown in FIG. 4 , first, the log data acquisition unit 101 acquires log data during normal operation (S201). Next, the cluster information extraction unit 102 performs processing of separating log information based on predetermined rules (S202). FIG. 5 shows an explanatory diagram related to such log information separation processing. As shown in FIG. 5 , each line of the log data includes a time data part indicating the time and a message string. The cluster information extraction unit 102 decomposes the log into time data and a message string in units of one line. Here, the message string is further processed by deleting numbers and symbols and decomposing it into word units.

繼而,叢集資訊提取部102例如進行使用TF-IDF的方法將日誌各行的單詞集合進行向量化的處理。TF-IDF為公知的方法,故而省略詳細的說明,為基於單詞的出現頻率(Term Frequency,TF)及逆文檔頻率(Inverse Document Frequency,IDF)此兩個指標來求出單詞的重要度的方法。Next, the cluster information extraction unit 102 vectorizes the word sets of each line of the log using the TF-IDF method, for example. TF-IDF is a well-known method, so detailed explanation is omitted. It is a method of calculating the importance of words based on two indicators: word frequency (Term Frequency, TF) and inverse document frequency (Inverse Document Frequency, IDF). .

叢集資訊提取部102進而使用例如K-平均法,如圖6所示,將所有行的向量集合叢集化為例如200個叢集(S203)。圖6為對叢集化的日誌線加以說明的說明圖。再者,K-平均法為廣為人知的叢集化方法,故而省略詳細的說明。The cluster information extraction unit 102 further clusters the vector sets of all rows into, for example, 200 clusters as shown in FIG. 6 using, for example, the K-mean method (S203). FIG. 6 is an explanatory diagram illustrating clustered log lines. In addition, the K-mean method is a well-known clustering method, so a detailed explanation is omitted.

繼而,叢集資訊提取部102如圖7所示,基於輸出各日誌線的時刻而生成使叢集編號連號的日誌叢集序列。藉由如此以時序排列叢集編號,從而可獲取和叢集間的過渡有關的資訊。即,可提取如此自日誌的文本消息(單詞)獲得的表示外觀檢查裝置120的運轉的各步驟的內容的叢集資訊、及作為和一個叢集(步驟)與另一個叢集的過渡有關的資訊的叢集間過渡資訊。即,本實施形態中,步驟S202、步驟S203的處理相當於叢集資訊提取步驟。Next, as shown in FIG. 7 , the cluster information extraction unit 102 generates a log cluster sequence in which the cluster numbers are consecutively numbered based on the time at which each log line is output. By arranging the cluster numbers in time sequence in this way, information related to the transition between clusters can be obtained. That is, the cluster information indicating the contents of each step of the operation of the visual inspection device 120 obtained from the text messages (words) of the log in this way, and the cluster as information about the transition of one cluster (step) to another cluster can be extracted. transition information. That is, in this embodiment, the processing of steps S202 and S203 corresponds to the cluster information extraction step.

繼而,有向圖生成部104製作以各叢集資訊作為節點且以叢集間過渡資訊作為邊緣的有向圖(S204)。此時,亦可於各節點顯示對應的叢集的叢集編號。Next, the directed graph generation unit 104 creates a directed graph using each cluster information as a node and inter-cluster transition information as an edge (S204). At this time, the cluster number of the corresponding cluster can also be displayed on each node.

繼而,叢集間過渡資訊評價部103基於有向圖的節點間(即對應的叢集間)的過渡頻率,進行有向圖的各邊緣的加權(S205)。圖8A及圖8B中,表示對S205中進行的加權加以說明的說明圖。圖8A為基於輸出日誌線的時刻將與各日誌線對應的叢集的叢集編號以時序自左向右排列的圖。圖8B為表示反映出加權的有向圖的圖。於圖8B的有向圖的邊緣附近,記載有數值,此數字表示所述邊緣(即叢集間的過渡)的產生頻率。若參照圖8A,則自叢集編號2向叢集編號2的過渡產生兩次,自叢集編號2向叢集編號0的過渡產生兩次,自叢集編號0向叢集編號6的過渡產生三次,自叢集編號6向叢集編號0的過渡產生一次,自叢集編號6向叢集編號2的過渡產生一次。另外,於圖8B的有向圖中,將所述過渡的次數顯示於邊緣附近,並且將邊緣的粗細度對應過渡的產生頻率而顯示得粗。Next, the inter-cluster transition information evaluation unit 103 weights each edge of the directed graph based on the transition frequency between nodes of the directed graph (that is, between corresponding clusters) (S205). 8A and 8B show explanatory diagrams explaining the weighting performed in S205. FIG. 8A is a diagram in which cluster numbers of clusters corresponding to each log line are arranged in time sequence from left to right based on the time at which the log line is output. FIG. 8B is a diagram showing a directed graph reflecting weighting. Numerical values are recorded near the edges of the directed graph in FIG. 8B , and these numbers represent the frequency of occurrence of the edges (that is, transitions between clusters). Referring to FIG. 8A , the transition from cluster number 2 to cluster number 2 occurs twice, the transition from cluster number 2 to cluster number 0 occurs twice, the transition from cluster number 0 to cluster number 6 occurs three times, and the transition from cluster number 2 to cluster number 6 occurs three times. The transition from 6 to cluster number 0 occurs once, and the transition from cluster number 6 to cluster number 2 occurs once. In addition, in the directed graph of FIG. 8B , the number of transitions is displayed near the edge, and the thickness of the edge is displayed thicker in accordance with the frequency of transition occurrence.

藉由如此般進行步驟S201至步驟S205的處理,從而對一個正常運轉時的日誌資料的一系列處理結束。圖9中表示對一個正常運轉時的日誌資料的一系列處理結束時生成的有向圖的一例。By performing the processing from step S201 to step S205 in this way, a series of processing of log data during normal operation is completed. FIG. 9 shows an example of a directed graph generated at the end of a series of processing of log data during normal operation.

繼而,基準資料生成部105進行下述處理,即:判定是否以生成基準資料所需要的既定數(例如100件)獲取了如所述般經加權的有向圖(S206)。此處,於未獲取既定數的有向圖資料的情形時,回到步驟S201,獲取新的正常運轉時的日誌資料,重覆以後的處理。Next, the reference data generation unit 105 performs a process of determining whether a predetermined number (for example, 100 pieces) of the weighted directed graphs as described above have been acquired for generating the reference data (S206). Here, when the predetermined amount of directed graph data is not obtained, the process returns to step S201 to obtain new log data during normal operation and repeat the subsequent processing.

另一方面,於步驟S206中判定為既定數的有向圖資料獲取完畢的情形時,進入步驟S207,基準資料生成部105進行將所獲取的所有的有向圖變換為矩陣表現的處理。具體而言,如下述式(1)所示,進行變換為邊緣權重矩陣W的處理,所述邊緣權重矩陣W將有向圖的自一個節點向另一節點過渡的邊緣的權重設為矩陣的各要素。如所述示例般將叢集的個數設為200個的情形時,邊緣權重矩陣W成為200×200的矩陣。 [數1] On the other hand, if it is determined in step S206 that the predetermined number of directed graph data has been acquired, the process proceeds to step S207, and the reference data generating unit 105 converts all the acquired directed graphs into matrix representations. Specifically, as shown in the following equation (1), processing is performed to convert into an edge weight matrix W in which the weight of an edge transitioning from one node to another node in the directed graph is Each element. When the number of clusters is set to 200 as in the above example, the edge weight matrix W becomes a 200×200 matrix. [Number 1]

此處,矩陣的要素W 00表示自表示叢集編號0的節點0(以下亦以簡稱為節點0的方式記載)向節點0過渡的邊緣(即叢集間過渡資訊)的權重,W n0表示自節點n向節點0過渡的邊緣的權重。即,W ij表示自節點i向節點j過渡的邊緣的權重。 Here, the element W 00 of the matrix represents the weight of the edge (that is, the transition information between clusters) from node 0 (hereinafter also referred to as node 0) indicating cluster number 0 to node 0, and W n0 represents the self-node The weight of the edge transitioning from n to node 0. That is, W ij represents the weight of the edge transitioning from node i to node j.

基準資料生成部105若對所有的有向圖完成替換為所述矩陣表現的處理,則進行對矩陣的各要素算出平均及分散的處理(S208)。例如,於使用100件的正常運轉時的資料的情形時,作為將100件矩陣資料綜合的結果,分別算出表示100件的平均的一個平均權重矩陣、及表示100件的分散的一個分散權重矩陣作為基準資料(S209)。再者,以下關於平均權重矩陣的各要素,記載為表示100件的W ij的平均的μ ij,關於分散權重矩陣的各要素,記載為表示100件的W ij的分散的σ ijAfter completing the process of replacing all directed graphs with the matrix representation, the reference data generation unit 105 performs a process of calculating the average and dispersion of each element of the matrix (S208). For example, when 100 pieces of data during normal operation are used, an average weight matrix representing the average of the 100 pieces and a dispersion weight matrix indicating the dispersion of the 100 pieces are calculated as a result of integrating the 100 pieces of matrix data. as baseline data (S209). In the following, each element of the average weight matrix is described as μ ij representing the average of 100 items W ij , and each element of the dispersion weight matrix is described as σ ij representing the dispersion of 100 items W ij .

如此,若步驟S209的處理結束,則基準資料生成處理(S101)的一系列子路徑結束。使說明回到圖3的表示障礙原因推測處理的流程圖,若步驟S101的處理結束,則基準資料生成部105將所生成的基準資料保存於記憶部109(S102)。In this way, when the process of step S209 ends, the series of sub-paths of the reference data generation process (S101) ends. Returning the description to the flowchart showing the failure cause estimation process in FIG. 3 , when the process of step S101 is completed, the reference data generation unit 105 stores the generated reference data in the storage unit 109 ( S102 ).

繼而,於外觀檢查裝置120產生了障礙時,日誌資料獲取部101獲取所述障礙產生時的日誌資料(S103)。繼而,執行下述一系列處理,即:自障礙產生時的日誌資料中進行叢集資訊的提取,基於其而生成經加權的有向圖,獲得將有向圖進行矩陣變換而得的資料(S104)。步驟S104中進行的具體的處理內容與所述步驟S202至步驟S205及步驟S207中進行的處理相同。因此,省略此處的說明。Next, when a failure occurs in the appearance inspection device 120, the log data acquisition unit 101 acquires the log data when the failure occurs (S103). Then, the following series of processes are executed, namely: extracting cluster information from the log data when the obstacle occurs, generating a weighted directed graph based on it, and obtaining data obtained by matrix transformation of the directed graph (S104 ). The specific processing content performed in step S104 is the same as the processing performed in steps S202 to S205 and step S207. Therefore, description here is omitted.

繼而,異常度計算部106將步驟S104中獲取的障礙產生時的矩陣資料與基準資料進行比對,藉此針對障礙產生時的各矩陣要素算出異常度a ij(S105)。具體而言,基於下述式(2)算出異常度。 [數2] Next, the abnormality degree calculation unit 106 compares the matrix data when the obstacle occurs acquired in step S104 with the reference data, thereby calculating the abnormality degree a ij for each matrix element when the obstacle occurs (S105). Specifically, the degree of abnormality is calculated based on the following equation (2). [Number 2]

繼而,障礙原因推測部107將滿足既定條件(例如超過臨限值等)的異常度的矩陣要素推測為障礙的原因(S106)。繼而,例如於推測為矩陣要素W ij為障礙的原因的情形時,由於矩陣要素W ij具有節點i的叢集資訊及節點j的叢集資訊,故而將該些叢集資訊(或者對應的日誌線)作為表示所推測的障礙原因的資訊而顯示於顯示部108(S107)。 Next, the failure cause estimating unit 107 estimates a matrix element with an abnormality degree that satisfies a predetermined condition (for example, exceeds a threshold value, etc.) as a cause of the failure ( S106 ). Then, for example, when it is inferred that the matrix element W ij is the cause of the obstacle, since the matrix element W ij has the cluster information of the node i and the cluster information of the node j, the cluster information (or the corresponding log line) is used as Information indicating the estimated cause of the failure is displayed on the display unit 108 (S107).

如以上般,障礙原因推測處理的一系列流程結束。再者,步驟S101及步驟S102的處理無需於每次進行障礙原因的推測時執行,亦可一次製作基準資料並保存後,自步驟S103的處理開始障礙原因推測處理。當然,亦可適當執行步驟S101及步驟S102的處理,視需要更新基準資料。As above, the series of procedures for guessing and handling the cause of the failure is completed. Furthermore, the processes of steps S101 and S102 do not need to be executed every time the cause of the failure is estimated. The reference data may be created once and saved, and then the process of estimating the cause of the failure may be started from the process of step S103. Of course, the processing of step S101 and step S102 can also be performed appropriately, and the reference data can be updated as necessary.

根據以上般的裝置管理系統1,僅基於正常動作時的資料來製作基準資料,藉由進行障礙產生時的資料與基準資料的比對,從而可算出表示各步驟的要素的異常度,推測障礙的產生原因。藉此,對於未知的障礙原因亦可高精度地推測。而且,藉由利用叢集間的過渡的產生頻率進行加權,從而對於重要度高的事項可適當算出異常度。According to the above-described device management system 1, reference data is created based only on data during normal operation, and by comparing data when a failure occurs with the reference data, the abnormality degree of elements representing each step can be calculated and the failure can be estimated. causes. This makes it possible to predict the cause of unknown obstacles with high accuracy. Furthermore, by weighting using the occurrence frequency of transitions between clusters, the degree of abnormality can be appropriately calculated for matters of high importance.

(變形例1) 再者,所述實施形態1中,說明了將作為表示所推測的障礙原因的資訊的叢集資訊顯示於顯示部108,但可於顯示部108顯示各種資訊。圖10A及圖10B為表示作為顯示於顯示部108的資訊的一例的有向圖的圖。圖10A表示於各節點顯示有對應的叢集編號的、通常的有向圖。圖10B為表示有向圖的變形顯示例的圖。有向圖生成部104亦可將與各節點對應的叢集資訊所含的單詞按出現次數由多到少的順序提取,並且生成使用所述提取的單詞作為表示與各個節點對應的叢集的內容的資訊的、有向圖(參照圖10B),將其顯示於顯示部108。由此,用戶可基於單詞容易地掌握有向圖的各節點的內容。 (Modification 1) Furthermore, in the above-mentioned Embodiment 1, the cluster information which is the information indicating the estimated cause of the failure is displayed on the display unit 108. However, various types of information may be displayed on the display unit 108. 10A and 10B are diagrams showing a directed graph as an example of information displayed on the display unit 108. FIG. 10A shows a general directed graph in which each node displays a corresponding cluster number. FIG. 10B is a diagram showing a modified display example of a directed graph. The directed graph generation unit 104 may also extract words included in the cluster information corresponding to each node in descending order of occurrence, and generate a graph using the extracted words as content representing the cluster corresponding to each node. A directed graph of information (see FIG. 10B ) is displayed on the display unit 108 . This allows the user to easily grasp the contents of each node of the directed graph based on words.

(變形例2) 圖11為表示本實施形態1的進而另一變形例的裝置管理系統2的概略結構的概略圖。再者,以下對於與所述實施例中所說明相同的結構、處理,標註相同的符號,省略重覆的說明。如圖11所示,本變形例的裝置管理系統2於資訊處理終端200中包括提取日誌顯示圖像生成部201,僅此方面與實施形態1的裝置管理系統1不同,其他方面相同。 (Modification 2) FIG. 11 is a schematic diagram showing the schematic structure of the device management system 2 according to yet another modification of the first embodiment. In addition, in the following, the same structures and processes as those described in the above embodiments are denoted by the same reference numerals, and repeated descriptions are omitted. As shown in FIG. 11 , the device management system 2 of this modified example includes an extraction log display image generating unit 201 in the information processing terminal 200. This aspect is different from the device management system 1 of the first embodiment, but is the same in other aspects.

提取日誌顯示圖像生成部201自日誌的集合中,提取與滿足既定條件的邊緣對應的日誌,作為表示滿足所述既定條件的邊緣(叢集間過渡資訊)的內容的資訊,並且生成表示所述提取的日誌的內容的、提取日誌顯示圖像,顯示於顯示部108。圖12中表示使和所述邊緣的內容有關的提取日誌顯示圖像於有向圖的邊緣附近彈出顯示的狀態的顯示畫面例。The extracted log display image generating unit 201 extracts logs corresponding to edges that satisfy predetermined conditions from the set of logs as information indicating the contents of edges (inter-cluster transition information) that satisfy the predetermined conditions, and generates information indicating the contents of the edges that satisfy the predetermined conditions. An extracted log display image showing the contents of the extracted log is displayed on the display unit 108 . FIG. 12 shows an example of a display screen in which the extraction log display image related to the edge content is pop-up displayed near the edge of the directed graph.

再者,所謂此處提及的「滿足既定條件」,可設為異常度超過既定值的情形、用戶藉由滑鼠操作等選擇了所述有向圖的與所述叢集間過渡資訊對應的邊緣的情形等。而且,提取日誌顯示圖像不限於有向圖的邊緣附近,能以任意的態樣顯示,亦可設為於畫面上具有專用的顯示區域的用戶介面。若為此種本變形例的結構,則用戶可迅速確認與叢集間過渡資訊對應的日誌。Furthermore, the so-called "satisfying the predetermined conditions" mentioned here can be set to the situation where the anomaly degree exceeds the predetermined value and the user selects the transition information between clusters of the directed graph through mouse operation or the like. Edge cases, etc. Furthermore, the extracted log display image is not limited to the edges of the directed graph, and can be displayed in any manner. It can also be set as a user interface with a dedicated display area on the screen. With the structure of this modification, the user can quickly check the log corresponding to the transition information between clusters.

<實施形態2> 繼而,基於圖13至圖17對本發明的另一實施形態加以說明。圖13為表示本實施形態的裝置管理系統3的概略結構的概略圖。如圖13所示,本實施形態的裝置管理系統3與裝置管理系統1相比,於資訊處理終端300中包括感測器資料獲取部301的方面不同。而且,本實施形態的叢集間過渡資訊評價部303如後述,於進行一部分不同處理的方面與實施形態1的叢集間過渡資訊評價部103不同。其他方面與實施形態1的裝置管理系統1相同。 <Embodiment 2> Next, another embodiment of the present invention will be described based on FIGS. 13 to 17 . FIG. 13 is a schematic diagram showing the schematic structure of the device management system 3 of this embodiment. As shown in FIG. 13 , the device management system 3 of this embodiment is different from the device management system 1 in that the information processing terminal 300 includes a sensor data acquisition unit 301 . Furthermore, as will be described later, the inter-cluster transition information evaluation unit 303 of this embodiment is different from the inter-cluster transition information evaluation unit 103 of the first embodiment in that it performs partially different processing. Other points are the same as the device management system 1 of the first embodiment.

感測器資料獲取部301獲取探測外觀檢查裝置120的硬體(例如輸送機124、相機121、X平台122、Y平台123、輸出裝置等)的狀態的資訊的、感測器資料。感測器資料為記錄硬體的狀態的、時序的數值資料,自外觀檢查裝置120所包括的各種感測器、馬達、位置控制系統等器件獲取。感測器資料以文本形式、二進制形式的哪一種記錄取決於裝置的規格,則只要可獲取時間與數值的對應關係,則可為任何形式。再者,本實施形態中,各種感測器、感測器資料獲取部301等相當於硬體資訊獲取機構。The sensor data acquisition unit 301 acquires sensor data that detects the status of the hardware of the appearance inspection device 120 (for example, the conveyor 124, the camera 121, the X stage 122, the Y stage 123, the output device, etc.). The sensor data is time-series numerical data that records the status of the hardware, and is obtained from various sensors, motors, position control systems and other devices included in the appearance inspection device 120 . Whether the sensor data is recorded in text form or binary form depends on the specifications of the device, and it can be in any form as long as the correspondence between time and value can be obtained. Furthermore, in this embodiment, various sensors, the sensor data acquisition unit 301, etc. are equivalent to the hardware information acquisition mechanism.

關於由外觀檢查裝置120進行的自動檢查處理,針對一個檢查對象的處理大致包含六個進程。具體而言,進程分為檢查對象物O的搬入、檢查對象物O的拍攝、圖像處理、良好與否判定、檢查結果輸出、檢查對象物O的搬出。另外,各進程中硬體的動作不同,各進程的長度或重覆次數亦不一定。因此,記錄硬體的狀態的感測器資料亦視對象物而大幅度地變動。即,可謂藉由對硬體的動作(表示所述動作的感測器資料)進行學習從而推測裝置的故障原因並不容易。Regarding the automatic inspection process performed by the appearance inspection device 120, the process for one inspection object roughly includes six processes. Specifically, the process is divided into loading of the inspection object O, photographing of the inspection object O, image processing, good or bad judgment, inspection result output, and unloading of the inspection object O. In addition, the actions of the hardware in each process are different, and the length or number of repetitions of each process is also different. Therefore, the sensor data that records the status of the hardware also changes significantly depending on the object. That is, it can be said that it is not easy to estimate the cause of a device failure by learning the operation of the hardware (sensor data indicating the operation).

繼而,對本實施形態的裝置管理系統3的外觀檢查裝置120的障礙原因推測處理的流程加以說明。圖14為表示裝置管理系統3的障礙原因推測處理的一例的流程圖。如圖14所示,作為總體的流程,與實施形態1的情形的處理大致相同。Next, the flow of the trouble cause estimation process of the visual inspection device 120 of the device management system 3 of this embodiment will be described. FIG. 14 is a flowchart showing an example of the failure cause estimation process of the device management system 3 . As shown in FIG. 14 , the overall flow is substantially the same as that in the case of Embodiment 1.

本實施形態的裝置管理系統3首先基於自正常運轉時的外觀檢查裝置120獲取的資料來生成基準資料(S301)。此處,基於圖15對步驟S301的子路徑加以說明。圖15為表示本實施形態的基準資料生成處理的子路徑的流程的流程圖。The device management system 3 of this embodiment first generates reference data based on the data acquired from the visual inspection device 120 during normal operation (S301). Here, the sub-path of step S301 will be described based on FIG. 15 . FIG. 15 is a flowchart showing the flow of a sub-route of the reference data generation process in this embodiment.

如圖15所示,本實施形態的基準資料生成時的子路徑亦大致與實施形態1相同,自步驟S201至步驟S205為止進行與實施形態1相同的處理。即,獲取正常運轉時的日誌資料(S201),進行將所述日誌資訊分離的處理(S202),進行所分離的日誌資訊的叢集化(S203),使用叢集化的資料生成有向圖(S204),進行基於叢集間的過渡的產生頻率的、邊緣的加權(S205)。As shown in FIG. 15 , the sub-path when generating the reference data in this embodiment is also substantially the same as in Embodiment 1, and the same processing as in Embodiment 1 is performed from step S201 to step S205. That is, log data during normal operation is acquired (S201), the log information is separated (S202), the separated log information is clustered (S203), and a directed graph is generated using the clustered data (S204). ), perform edge weighting based on the occurrence frequency of transition between clusters (S205).

本實施形態中,作為其後續步驟,感測器資料獲取部301獲取外觀檢查裝置120的正常運轉時的感測器資料(S401)。進而,叢集間過渡資訊評價部303進行基於步驟S401中獲取的感測器資料將有向圖的邊緣進一步加權的處理(S402)。In this embodiment, as a subsequent step, the sensor data acquisition unit 301 acquires sensor data during normal operation of the appearance inspection device 120 (S401). Furthermore, the inter-cluster transition information evaluation unit 303 further weights the edges of the directed graph based on the sensor data acquired in step S401 (S402).

具體而言,叢集間過渡資訊評價部303使用變化點檢測(Change-Finder)算法,將自硬體獲取的感測器資料(時序數值資料)變換為以時序表示各時刻的變化的大小的資料(變化得分)。圖16中表示說明感測器資料與變化得分的關係的說明圖。再者,關於Change-Finder算法,為公知的方法,故而省略詳細的說明。Specifically, the inter-cluster transition information evaluation unit 303 uses a change point detection (Change-Finder) algorithm to convert the sensor data (time series numerical data) acquired from the hardware into data that represents the magnitude of the change at each time in a time series. (change score). FIG. 16 shows an explanatory diagram illustrating the relationship between sensor data and change scores. In addition, the Change-Finder algorithm is a well-known method, so a detailed description is omitted.

此時,如圖16所示,成為變化得分的基礎的感測器資料的數值範圍視成為對象的硬體等而不同,故而變化得分亦反映出此種差異,數值範圍不均一。因此,將所有的變化得分於0~1之間歸一化。In this case, as shown in FIG. 16 , the numerical range of the sensor data that is the basis of the change score differs depending on the target hardware, etc., so the change score also reflects this difference and the numerical range is not uniform. Therefore, all change scores are normalized between 0 and 1.

繼而,叢集間過渡資訊評價部303對叢集資訊提取部102所生成的日誌叢集序列(參照圖7)映射變化得分,使哪個叢集間的過渡時變化得分大進行對應。圖17中表示映射有變化得分的日誌叢集序列的示例。Next, the inter-cluster transition information evaluation unit 303 maps the change score to the log cluster sequence (see FIG. 7 ) generated by the cluster information extraction unit 102 and associates which cluster has a larger change score during transition. An example of mapping log cluster sequences with change scores is shown in Figure 17 .

繼而,叢集間過渡資訊評價部303藉由反映出有向圖的各邊緣(各叢集間過渡)的、變化得分的大小,從而對有向圖的各邊緣進行基於硬體資訊的加權。Then, the inter-cluster transition information evaluation unit 303 weights each edge of the directed graph based on the hardware information by reflecting the magnitude of the change score of each edge (transition between clusters) of the directed graph.

如此,若步驟S402的處理結束,則進入步驟S206,基準資料生成處理(S301)的子路徑的以後的處理與實施形態1中所說明相同,故而省略此處的說明。In this way, when the processing of step S402 is completed, the process proceeds to step S206. The subsequent processing of the sub-path of the reference data generation processing (S301) is the same as that described in Embodiment 1, so the description here is omitted.

使說明回到圖14的表示障礙原因推測處理的流程圖,若步驟S301的處理結束,則基準資料生成部105將所生成的基準資料保存於記憶部109(S102)。繼而,於外觀檢查裝置120產生障礙時,日誌資料獲取部101獲取障礙產生時的日誌資料(S103),感測器資料獲取部301獲取表示障礙產生時的硬體狀態的感測器資料(S302)。Returning the description to the flowchart showing the failure cause estimation process in FIG. 14 , when the process of step S301 is completed, the reference data generation unit 105 stores the generated reference data in the storage unit 109 ( S102 ). Next, when a failure occurs in the appearance inspection device 120 , the log data acquisition unit 101 obtains the log data when the failure occurs ( S103 ), and the sensor data acquisition unit 301 obtains sensor data indicating the hardware state when the failure occurs ( S302 ).

繼而,於資訊處理終端300中執行下述一系列處理,即:自障礙產生時的日誌資料中進行叢集資訊的提取,基於其而生成經加權的有向圖,進而對所述有向圖進行基於感測器資料的加權,獲取將有向圖進行矩陣變換而得的資料(S303)。再者,步驟S303中進行的具體的處理內容與所述步驟S301的子路徑的步驟S202至步驟S205、步驟S402及步驟S207中進行的處理相同。因此,省略重覆的說明。Then, the following series of processes are executed in the information processing terminal 300, that is, cluster information is extracted from the log data when the obstacle occurs, a weighted directed graph is generated based on it, and then the directed graph is Based on the weighting of the sensor data, the data obtained by matrix transformation of the directed graph is obtained (S303). Furthermore, the specific processing content performed in step S303 is the same as the processing performed in steps S202 to S205, step S402 and step S207 of the sub-path of step S301. Therefore, repeated explanations are omitted.

而且,本實施形態的步驟S105以後的處理亦與實施形態1的內容相同,故而省略此處的說明。In addition, the content of the processing from step S105 onwards in this embodiment is also the same as that in Embodiment 1, so the description here is omitted.

根據本實施形態的裝置管理系統3,可使用表示外觀檢查裝置120的硬體狀態的感測器資料,進一步進行有向圖的邊緣(即叢集間過渡資訊)的加權。僅以叢集間的過渡的產生頻率進行了加權的有向圖有下述可能性,即:將與外觀檢查裝置120的進程的切換、或硬體狀態的變化對應的(頻率低的)重要的叢集間過渡資訊評價得過低。相對於此,本實施形態的裝置管理系統3中,檢測感測器資料的重要的變化點,基於其來進一步進行邊緣的加權,故而可抑制將重要的叢集間過渡資訊評價得過低,獲得更高精度的障礙原因的推測結果。According to the device management system 3 of this embodiment, the sensor data indicating the hardware status of the appearance inspection device 120 can be used to further weight the edges of the directed graph (that is, the transition information between clusters). A directed graph weighted only by the occurrence frequency of transitions between clusters has the possibility of classifying important (low frequency) corresponding to switching of processes of the visual inspection device 120 or changes in hardware status. Inter-cluster transition information is undervalued. On the other hand, in the device management system 3 of this embodiment, important change points of the sensor data are detected, and edges are further weighted based on them. Therefore, important inter-cluster transition information can be suppressed from being under-evaluated, thereby obtaining More accurate predictions of the cause of the disorder.

<其他> 所述各實施形態僅對本發明進行例示性說明,本發明不限定於所述具體形態。本發明可於其技術思想的範圍內進行各種變形及組合。例如,所述實施形態中,說明了以外觀檢查裝置作為對象的管理系統,但裝置管理系統的管理對象的裝置不限於此。如上文所述,不使用障礙產生時的異常的資料,而使用僅利用正常運作時的資料進行學習而得的基準資料來進行障礙的產生原因的推測,故而可僅使用裝置的實際運用線可收集的資料來進行運用,因而可將本發明適用於各種裝置。 <Others> Each of the above-described embodiments is merely an illustrative description of the present invention, and the present invention is not limited to the specific embodiments. The present invention can be subjected to various modifications and combinations within the scope of its technical thought. For example, in the above-mentioned embodiment, the management system targeted at appearance inspection devices has been described, but the devices to be managed by the device management system are not limited to this. As mentioned above, the cause of the failure can be estimated using only the actual operation line of the device, instead of using abnormal data when the failure occurs. Instead, the reference data obtained by learning using only the data during normal operation is used. Therefore, the present invention can be applied to various devices.

而且,作為正常運轉時的資料,可不將裝置所處理的對象物(檢查或加工的對象)限定於一個,而收集對多個對象物進行處理時的資料後,將該些混合而生成基準資料。於該情形時,亦不需要對象物於哪個時機如何變更等資料,可僅由軟體日誌及感測器資料來生成基準資料。Furthermore, as the data during normal operation, the object processed by the device (object of inspection or processing) is not limited to one. It is possible to collect data when processing multiple objects and mix them to generate reference data. . In this case, there is no need for data such as when and how the object changed, and the reference data can be generated only from software logs and sensor data.

而且,所述實施形態中設為包含管理對象的裝置的系統,但亦可僅將所述實施形態的資訊處理終端理解為本發明的管理系統。即,本發明亦可理解為包含與管理對象的裝置分立地構成的資訊處理終端的、裝置管理終端。Furthermore, in the above-described embodiment, it is assumed that the system includes the device to be managed, but only the information processing terminal in the above-described embodiment may be understood as the management system of the present invention. That is, the present invention can also be understood as a device management terminal including an information processing terminal configured separately from the device to be managed.

<附註1> 一種裝置管理系統,為裝置的管理系統(1、2、3),其特徵在於包括: 日誌資料獲取機構(101),獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作記錄; 叢集資訊提取機構(102),自所述獲取的日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示所述裝置的運轉的各步驟的內容的資訊,所述叢集間過渡資訊為和一個所述步驟與另一個所述步驟之間的過渡有關的資訊; 異常度計算機構(106),算出所述提取的各個所述叢集間過渡資訊的異常度;以及 障礙原因推測機構(107),基於由所述異常度計算機構所算出的所述異常度來推測所述裝置的障礙原因。 <Note 1> A device management system is a device management system (1, 2, 3), which is characterized by including: The log data acquisition mechanism (101) acquires logs, which are software action records related to the control of the device; A cluster information extraction mechanism (102) extracts cluster information and inter-cluster transition information from the set of acquired logs. The cluster information is information representing the content of each step of the operation of the device. The inter-cluster transition information the information is information relating to the transition between one said step and another said step; An abnormality degree calculation mechanism (106) calculates the abnormality degree of the extracted transition information between each cluster; and Failure cause estimating means (107) estimates a cause of failure of the device based on the abnormality degree calculated by the abnormality degree calculation means.

<附註2> 一種裝置的障礙原因推測方法,推測裝置的障礙原因,且包含: 日誌資料獲取步驟(S201、S103),獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作歷程資訊; 叢集資訊提取步驟(S202、S203),自所獲取的所述日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示由所述裝置進行的處理的各步驟的內容的資訊,所述叢集間過渡資訊為和所述裝置的多個所述步驟間的過渡有關的資訊; 異常度計算步驟(S105),算出所述提取的各個所述叢集間過渡資訊的異常度;以及 障礙原因推測步驟(S106),基於由所述異常度計算機構所算出的所述異常度來推測所述裝置的障礙原因。 <Note 2> A method for estimating the cause of device failure, inferring the cause of device failure, and includes: Log data acquisition steps (S201, S103), acquire logs, which are software action history information related to the control of the device; The cluster information extraction step (S202, S203) extracts cluster information and inter-cluster transition information from the acquired set of logs, where the cluster information is information representing the contents of each step of processing performed by the device, The inter-cluster transition information is information related to transitions between multiple steps of the device; The abnormality degree calculation step (S105) is to calculate the abnormality degree of the extracted transition information between each cluster; and The failure cause estimation step (S106) estimates the failure cause of the device based on the abnormality degree calculated by the abnormality degree calculation unit.

1、2、3:裝置管理系統 100、200、300:資訊處理終端 101:日誌資料獲取部 102:叢集資訊提取部 103:叢集間過渡資訊評價部 104:有向圖生成部 105:基準資料生成部 106:異常度計算部 107:障礙原因推測部 108:顯示部 109:記憶部 120:外觀檢查裝置 121:相機 122:X平台 123:Y平台 124:輸送機 201:提取日誌顯示圖像生成部 301:感測器資料獲取部 O:檢查對象物 S101~S107、S201~S209、S301~S303、S401、S402:步驟 1, 2, 3: Device management system 100, 200, 300: Information processing terminal 101: Log data acquisition department 102: Cluster information extraction department 103: Inter-cluster transition information evaluation department 104: Directed graph generation part 105:Benchmark data generation department 106: Abnormality Calculation Department 107: Obstacle cause estimation department 108:Display part 109:Memory department 120: Appearance inspection device 121:Camera 122:X platform 123:Y platform 124:Conveyor 201: Extract log display image generation part 301: Sensor data acquisition department O: Inspection object S101~S107, S201~S209, S301~S303, S401, S402: steps

圖1為表示實施形態1的裝置管理系統的概略的示意圖。 圖2為表示軟體日誌的示例的說明圖。 圖3為表示由實施形態1的裝置管理系統進行的處理的流程的流程圖。 圖4為表示實施形態1的裝置管理系統的處理的子路徑的流程圖。 圖5為對軟體日誌的分離處理加以說明的說明圖。 圖6為對叢集化的日誌線(logline)加以說明的說明圖。 圖7為對由實施形態1的裝置管理系統所生成的日誌叢集序列加以說明的說明圖。 圖8A為對由實施形態1的裝置管理系統所生成的有向圖加以說明的第一圖。圖8B為對由實施形態1的裝置管理系統所生成的有向圖加以說明的第二圖。 圖9為表示由實施形態1的裝置管理系統所生成的有向圖的一例的圖。 圖10A為表示實施形態1的變形例中畫面顯示的有向圖的一例的圖。圖10B為表示實施形態1的變形例中畫面顯示的有向圖的另一例的圖。 圖11為表示實施形態1的另一變形例的裝置管理系統的概略的示意圖。 圖12為對由實施形態1的另一變形例的裝置管理系統所顯示的畫面的一例加以說明的圖。 圖13為表示實施形態2的裝置管理系統的概略的示意圖 圖14為表示由實施形態2的裝置管理系統所進行的處理的流程的流程圖。 圖15為表示實施形態2的裝置管理系統的處理的子路徑的流程圖。 圖16為表示感測器資料與變化得分的關係的說明圖。 圖17為表示由實施形態2的裝置管理系統所生成的、映射有變化得分的日誌叢集序列的示例的說明圖。 FIG. 1 is a schematic diagram showing an outline of a device management system according to Embodiment 1. FIG. 2 is an explanatory diagram showing an example of a software log. FIG. 3 is a flowchart showing the flow of processing performed by the device management system according to the first embodiment. 4 is a flowchart showing a sub-route of processing in the device management system according to Embodiment 1. FIG. 5 is an explanatory diagram illustrating software log separation processing. FIG. 6 is an explanatory diagram explaining a clustered logline. FIG. 7 is an explanatory diagram illustrating a log cluster sequence generated by the device management system according to the first embodiment. FIG. 8A is a first diagram illustrating a directed graph generated by the device management system of Embodiment 1. FIG. FIG. 8B is a second diagram illustrating a directed graph generated by the device management system of Embodiment 1. FIG. FIG. 9 is a diagram showing an example of a directed graph generated by the device management system of Embodiment 1. FIG. FIG. 10A is a diagram showing an example of a directed graph displayed on the screen in the modification of Embodiment 1. FIG. FIG. 10B is a diagram showing another example of a directed graph displayed on the screen in the modification of Embodiment 1. FIG. FIG. 11 is a schematic diagram showing an outline of a device management system according to another modification of Embodiment 1. FIG. FIG. 12 is a diagram illustrating an example of a screen displayed by the device management system according to another modification of Embodiment 1. FIG. FIG. 13 is a schematic diagram showing an outline of the device management system according to Embodiment 2. FIG. 14 is a flowchart showing the flow of processing performed by the device management system according to the second embodiment. FIG. 15 is a flowchart showing a sub-route of processing in the device management system according to the second embodiment. FIG. 16 is an explanatory diagram showing the relationship between sensor data and change scores. FIG. 17 is an explanatory diagram showing an example of a log cluster sequence in which change scores are mapped, generated by the device management system according to Embodiment 2.

1:裝置管理系統 1:Device management system

100:資訊處理終端 100:Information processing terminal

101:日誌資料獲取部 101: Log data acquisition department

102:叢集資訊提取部 102: Cluster information extraction department

103:叢集間過渡資訊評價部 103: Inter-cluster transition information evaluation department

104:有向圖生成部 104: Directed graph generation part

105:基準資料生成部 105:Benchmark data generation department

106:異常度計算部 106: Abnormality Calculation Department

107:障礙原因推測部 107: Obstacle cause estimation department

108:顯示部 108:Display part

109:記憶部 109:Memory Department

120:外觀檢查裝置 120: Appearance inspection device

121:相機 121:Camera

122:X平台 122:X platform

123:Y平台 123:Y platform

124:輸送機 124:Conveyor

O:檢查對象物 O: Inspection object

Claims (14)

一種裝置管理系統,為裝置的管理系統,其特徵在於包括:日誌資料獲取機構,獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作記錄;叢集資訊提取機構,自獲取的所述日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示所述裝置的運轉的各步驟的內容的資訊,所述叢集間過渡資訊為和一個所述步驟與另一個所述步驟之間的過渡有關的資訊;異常度計算機構,算出提取的各個所述叢集間過渡資訊的異常度;以及障礙原因推測機構,基於由所述異常度計算機構所算出的所述異常度來推測所述裝置的障礙原因,其中所述叢集間過渡資訊中,包含和所述裝置的多個所述步驟間的過渡的產生頻率有關的資訊,所述裝置管理系統更包括:叢集間過渡資訊評價機構,基於所述產生頻率來進行提取的各個所述叢集間過渡資訊的加權,所述異常度計算機構使用進行了所述加權的資訊來算出所述異常度。 A device management system is a device management system, which is characterized by including: a log data acquisition mechanism to acquire logs, the logs are software action records related to the control of the device; and a cluster information extraction mechanism to obtain from Cluster information and inter-cluster transition information are extracted from the collection of logs. The cluster information is information indicating the content of each step of the operation of the device. The inter-cluster transition information is the relationship between one step and another. information related to the transition between the above steps; an abnormality degree calculation unit that calculates the abnormality degree of each of the extracted transition information between clusters; and an obstacle cause estimation unit based on the abnormality degree calculated by the abnormality degree calculation unit To speculate on the cause of the failure of the device, the inter-cluster transition information includes information related to the occurrence frequency of transitions between multiple steps of the device, and the device management system further includes: inter-cluster transition The information evaluation unit weights each of the extracted transition information between clusters based on the occurrence frequency, and the anomaly degree calculation unit calculates the anomaly degree using the weighted information. 如請求項1所述的裝置管理系統,其中所述異常度計算機構基於所述裝置的正常時的所述叢集間過渡資訊,來算出提取的各個所述叢集間過渡資訊的異常度。 The device management system according to claim 1, wherein the abnormality degree calculation unit calculates the abnormality degree of each of the extracted inter-cluster transition information based on the inter-cluster transition information when the device is normal. 如請求項1或請求項2所述的裝置管理系統,更包括:硬體資訊獲取機構,獲取和所述裝置的硬體的狀態有關的硬體資訊,所述叢集間過渡資訊評價機構基於所述硬體資訊獲取機構所獲取的所述硬體資訊,進一步進行提取的各個所述叢集間過渡資訊的加權。 The device management system of Claim 1 or Claim 2 further includes: a hardware information acquisition mechanism that acquires hardware information related to the status of the hardware of the device, and the inter-cluster transition information evaluation mechanism is based on the The hardware information obtained by the hardware information obtaining mechanism further weights the extracted transition information between each of the clusters. 如請求項1或請求項2所述的裝置管理系統,其中所述障礙原因推測機構推測為,於由所述異常度計算機構所算出的所述異常度滿足既定條件的所述叢集間過渡資訊所指定的步驟中,存在所述裝置的障礙原因。 The device management system according to claim 1 or claim 2, wherein the failure cause estimating means estimates that the inter-cluster transition information satisfies a predetermined condition when the anomaly degree calculated by the anomaly degree calculating means satisfies a predetermined condition. In the specified step, there is a cause of failure of the device. 如請求項1或請求項2所述的裝置管理系統,更包括:顯示機構,能夠顯示表示由所述異常度計算機構所算出的所述異常度、及/或由所述障礙原因推測機構所推測的所述障礙原因的資訊。 The device management system according to claim 1 or claim 2, further comprising: a display unit capable of displaying the abnormality degree calculated by the abnormality degree calculation unit and/or the abnormality degree calculated by the failure cause estimation unit. Information on the presumed cause of the disorder in question. 如請求項5所述的裝置管理系統,更包括:有向圖生成機構,以所述叢集資訊作為節點,以所述叢集間過渡資訊作為邊緣,生成表示各個所述叢集資訊及所述叢集間過渡資訊的關係的有向圖,所述顯示機構能夠顯示所述有向圖。 The device management system of claim 5 further includes: a directed graph generating mechanism that uses the cluster information as nodes and the inter-cluster transition information as edges to generate a representation of each of the cluster information and the inter-cluster information. A directed graph of relationships between transitional information, and the display mechanism can display the directed graph. 如請求項6所述的裝置管理系統,其中所述叢集間 過渡資訊藉由既定的方法進行了增加重要度的評價的加權,所述有向圖生成機構生成能夠視認各個所述叢集間過渡資訊的所述加權的、所述有向圖。 The device management system of claim 6, wherein the inter-cluster The transition information is weighted by a predetermined method to increase the importance of the evaluation, and the directed graph generating unit generates the weighted directed graph that can visually recognize the transition information between each of the clusters. 如請求項7所述的裝置管理系統,其中所述有向圖生成機構藉由將表示所述叢集間過渡資訊的所述加權的數值顯示於所述邊緣的附近,從而生成以能夠視認的方式表現所述加權的有向圖。 The device management system of claim 7, wherein the directed graph generating unit generates a visually identifiable manner by displaying the weighted value representing the transition information between clusters near the edge. Represent the weighted directed graph. 如請求項7所述的裝置管理系統,其中所述有向圖生成機構藉由對表示各個所述叢集間過渡資訊的所述邊緣的清晰度設置差異進行顯示,從而生成以能夠視認的方式表現所述加權的有向圖。 The device management system according to claim 7, wherein the directed graph generating unit displays a difference in sharpness setting of the edge representing the transition information between each of the clusters, thereby generating a visually recognizable representation. The weighted directed graph. 如請求項6所述的裝置管理系統,其中所述叢集資訊中包含作為自所述日誌提取的文本資訊的單詞,所述有向圖生成機構將各個所述叢集資訊所含的所述單詞按出現次數由多到少的順序進行提取,並且生成使用提取的所述單詞作為表示所述叢集資訊的內容的資訊的、所述有向圖。 The device management system of claim 6, wherein the cluster information includes words that are text information extracted from the log, and the directed graph generating mechanism converts the words included in each of the cluster information into The extracted words are extracted in descending order of the number of occurrences, and the directed graph is generated using the extracted words as information representing the content of the cluster information. 如請求項6所述的裝置管理系統,更包括:提取日誌顯示圖像生成機構,自所述日誌的集合中,提取與滿足既定條件的所述叢集間過渡資訊對應的日誌,作為表示滿足所述既定條件的所述叢集間過渡資訊的內容的資訊,並且生成表示提取的所述日誌的內容的、提取日誌顯示圖像,所述顯示機構能夠顯示所述提取日誌顯示圖像。 The device management system as claimed in claim 6, further comprising: extracting a log display image generating mechanism to extract, from the collection of logs, logs corresponding to the inter-cluster transition information that satisfies the predetermined conditions, as a representation of the inter-cluster transition information that satisfies the predetermined conditions. The information on the content of the inter-cluster transition information of the predetermined condition is obtained, and an extraction log display image representing the content of the extracted log is generated, and the display mechanism can display the extraction log display image. 如請求項11所述的裝置管理系統,其中所述提取日誌顯示圖像彈出顯示於表示與所述提取日誌顯示圖像所示的提取日誌對應的所述叢集間過渡資訊的、所述邊緣的附近。 The device management system of claim 11, wherein the extraction log display image pop-up is displayed on the edge of the edge representing the inter-cluster transition information corresponding to the extraction log shown in the extraction log display image. nearby. 一種裝置的障礙原因推測方法,推測裝置的障礙原因,且包括:日誌資料獲取步驟,獲取日誌,所述日誌為和所述裝置的控制有關的、軟體的動作歷程資訊;叢集資訊提取步驟,自所獲取的所述日誌的集合中提取叢集資訊及叢集間過渡資訊,所述叢集資訊為表示由所述裝置進行的處理的各步驟的內容的資訊,所述叢集間過渡資訊為和所述裝置的多個所述步驟間的過渡有關的資訊;異常度計算步驟,算出提取的各個所述叢集間過渡資訊的異常度;以及障礙原因推測步驟,基於所述異常度計算步驟中算出的所述異常度來推測所述裝置的障礙原因,其中所述叢集間過渡資訊中,包含和所述裝置的多個所述步驟間的過渡的產生頻率有關的資訊,所述裝置的障礙原因推測方法更包括:叢集間過渡資訊評價步驟,基於所述產生頻率來進行提取的各個所述叢集間過渡資訊的加權,所述異常度計算步驟使用進行了所述加權的資訊來算出所述異常度。 A method for estimating the cause of device failure, which infers the cause of device failure, and includes: a log data acquisition step to acquire a log, which is software action history information related to the control of the device; and a cluster information extraction step to automatically Cluster information and inter-cluster transition information are extracted from the acquired set of logs. The cluster information is information representing the content of each step of processing performed by the device. The inter-cluster transition information is information related to the device. information related to transitions between a plurality of the steps; an abnormality degree calculation step to calculate the abnormality degree of each of the extracted transition information between clusters; and an obstacle cause estimation step, based on the abnormality degree calculation step calculated in the abnormality degree calculation step The abnormality degree is used to estimate the cause of the failure of the device, wherein the inter-cluster transition information includes information related to the occurrence frequency of transitions between multiple steps of the device, and the method for estimating the cause of the failure of the device is more The method includes: an inter-cluster transition information evaluation step of weighting each of the extracted inter-cluster transition information based on the occurrence frequency; and the abnormality degree calculation step using the weighted information to calculate the abnormality degree. 一種記憶媒體,非暫時性地記憶用以使電腦執行如請求項13所述的方法的各步驟的程式。A memory medium that non-temporarily stores a program for causing a computer to execute each step of the method described in claim 13.
TW111132172A 2021-09-06 2022-08-26 Device management system, device failure cause estimation method, and memory medium for non-temporarily storing programs TWI824681B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021145011A JP2023038095A (en) 2021-09-06 2021-09-06 Device management system, method of estimating failure cause of device, and program
JP2021-145011 2021-09-06

Publications (2)

Publication Number Publication Date
TW202311879A TW202311879A (en) 2023-03-16
TWI824681B true TWI824681B (en) 2023-12-01

Family

ID=85226567

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111132172A TWI824681B (en) 2021-09-06 2022-08-26 Device management system, device failure cause estimation method, and memory medium for non-temporarily storing programs

Country Status (4)

Country Link
JP (1) JP2023038095A (en)
CN (1) CN115774656A (en)
DE (1) DE102022208921A1 (en)
TW (1) TWI824681B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200413973A (en) * 2002-12-26 2004-08-01 Japan Tobacco Inc Analysis system, analysis method in the system and system for collecting investigation result for analysis
TW202016805A (en) * 2018-10-16 2020-05-01 中華電信股份有限公司 System and method of learning-based prediction for anomalies within a base station

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7467168B2 (en) 2020-03-11 2024-04-15 キヤノン株式会社 Image pickup device and imaging device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200413973A (en) * 2002-12-26 2004-08-01 Japan Tobacco Inc Analysis system, analysis method in the system and system for collecting investigation result for analysis
TW202016805A (en) * 2018-10-16 2020-05-01 中華電信股份有限公司 System and method of learning-based prediction for anomalies within a base station

Also Published As

Publication number Publication date
TW202311879A (en) 2023-03-16
JP2023038095A (en) 2023-03-16
CN115774656A (en) 2023-03-10
DE102022208921A1 (en) 2023-03-09

Similar Documents

Publication Publication Date Title
US9753801B2 (en) Detection method and information processing device
US10373065B2 (en) Generating database cluster health alerts using machine learning
KR102440335B1 (en) A method and apparatus for detecting and managing a fault
JPWO2017154844A1 (en) Analysis apparatus, analysis method, and analysis program
JP6183450B2 (en) System analysis apparatus and system analysis method
US8560279B2 (en) Method of determining the influence of a variable in a phenomenon
JP6871877B2 (en) Information processing equipment, information processing methods and computer programs
US9524223B2 (en) Performance metrics of a computer system
JP5768983B2 (en) Contract violation prediction system, contract violation prediction method, and contract violation prediction program
JP6183449B2 (en) System analysis apparatus and system analysis method
CN102265227A (en) Method and apparatus for creating state estimation models in machine condition monitoring
JP6950504B2 (en) Abnormal candidate extraction program, abnormal candidate extraction method and abnormal candidate extraction device
JP6711323B2 (en) Abnormal state diagnosis method and abnormal state diagnosis device
JP2015028700A (en) Failure detection device, failure detection method, failure detection program and recording medium
JP2019179400A (en) Monitoring device, monitoring method and monitoring program
CN111814557A (en) Action flow detection method, device, equipment and storage medium
JP7019364B2 (en) Monitoring device, monitoring method, monitoring program, display device, display method and display program
KR102024829B1 (en) System and Method for Fault Isolation in Industrial Processes using CART based variable ranking
TWI824681B (en) Device management system, device failure cause estimation method, and memory medium for non-temporarily storing programs
JP6835702B2 (en) Anomaly estimation device, anomaly estimation method and program
JP6579163B2 (en) Process condition diagnosis method and condition diagnosis apparatus
JP6247777B2 (en) Abnormality diagnosis apparatus and abnormality diagnosis method
JP6627258B2 (en) System model generation support device, system model generation support method, and program
JP7225447B2 (en) Monitoring device, monitoring method and monitoring program
JP6797789B2 (en) State estimation device, state estimation method and program