Self-service terminal problem diagnosis system and method based on log file analysis
By introducing a problem diagnosis system based on log file analysis in the self-service terminal system, using the rule engine and machine learning algorithm to automatically analyze logs and generate solutions, the problems of low log analysis and inaccurate problem positioning of self-service terminals are solved, and efficient operation and maintenance and reduce operation and maintenance costs are achieved.
Patent Information
- Application Number
- CN202510195779.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, self-service terminal log analysis is inefficient, problem positioning is inaccurate, and intelligent solutions are lacking, resulting in high operation and maintenance costs and low efficiency.
It provides a self-service terminal problem diagnosis system based on log file analysis, including log collection, analysis, problem diagnosis, solution generation, knowledge base and feedback modules. It uses rule engine and machine learning algorithm to automatically analyze logs, quickly locate problems and generate solutions.
Through automated log analysis and problem diagnosis, we can quickly locate the root cause of the problem, generate solutions, improve operation and maintenance efficiency, reduce dependence on operation and maintenance personnel experience, and reduce operation and maintenance costs.
Smart Images

Figure CN120218890A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of self-service terminals, and particularly to a self-service terminal problem diagnosis system and method based on log file analysis. Background Art
[0002] During the operation of self-service terminals (such as vending machines, self-service ticket machines, self-service bank terminals, etc.), a large number of log files will be generated, recording system status, user operations, and error information. However, the existing technologies have the following problems: (1) Low log analysis efficiency: Traditional log analysis relies on manual troubleshooting, which is time-consuming and prone to missing key information.
[0003] (2) Inaccurate problem location: The content of log files is complex, making it difficult to quickly locate the root cause of problems.
[0004] (3) Lack of intelligence in solutions: Existing systems cannot automatically generate solutions based on log content and rely on the experience of operation and maintenance personnel.
[0005] Therefore, there is an urgent need for a technical solution that can automatically analyze log files, diagnose problems, and generate solutions. Summary of the Invention
[0006] The purpose of the present invention is to provide a self-service terminal problem diagnosis system and method based on log file analysis for the above problems in the existing technology, and thus solve all or one of the above problems existing in the existing technology.
[0007] To solve the above technical problems, the specific technical solutions of the present invention are as follows: On the one hand, the present invention provides a self-service terminal problem diagnosis system based on log file analysis, including: A log collection module for real-time collecting log files of self-service terminals; A log parsing module for parsing the content of log files and extracting key information; A problem diagnosis module for diagnosing problems based on a rule engine and machine learning algorithms; A solution generation module for generating solutions according to the diagnosis results; A knowledge base module for storing historical log data, problem cases, and solutions; A feedback module for feeding back diagnosis results and solutions to operation and maintenance personnel.
[0008] Furthermore, the log collection module also supports two modes: timed collection and real-time collection.
[0009] Furthermore, the key information extracted by the log parsing module includes: timestamp, error code, and operation type.
[0010] Furthermore, the problem diagnosis module is also used to combine a rule engine and a machine learning algorithm for problem diagnosis.
[0011] Furthermore, the solution generation module is also used to generate solutions based on historical cases in the knowledge base.
[0012] Furthermore, the knowledge base module is also used to support dynamic update and expansion.
[0013] Furthermore, the feedback module is also used to send the diagnosis results and solutions to the operation and maintenance personnel via text messages, emails, or applications.
[0014] Furthermore, the problem diagnosis module is also used to support multi-terminal concurrent diagnosis.
[0015] Furthermore, the solutions generated by the solution generation module include: repair steps and preventive measures.
[0016] On the other hand, the present invention also provides a self-service terminal problem diagnosis method based on log file analysis, including the following steps: Real-time collect the log files of the self-service terminal; Parse the content of the log files and extract key information; Diagnose problems based on a rule engine and a machine learning algorithm; Generate solutions according to the diagnosis results; Store historical log data, problem cases, and solutions; Feedback the diagnosis results and solutions to the operation and maintenance personnel.
[0017] The beneficial effects of the technical solution of the present invention are: 1. The self-service terminal problem diagnosis system based on log file analysis according to the present invention can reduce the manual troubleshooting time through automated log parsing and problem diagnosis; combine a rule engine and a machine learning algorithm to quickly locate the root cause of the problem; generate solutions based on historical data and problem cases to improve the operation and maintenance efficiency; reduce the dependence on the experience of operation and maintenance personnel and lower the operation and maintenance costs.
[0018] 2. The self-service terminal problem diagnosis method based on log file analysis according to the present invention can orderly call system modules, and further implement the system logic of the self-service terminal problem diagnosis system based on log file analysis according to the present invention. Description of the Drawings
[0019] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0020] Figure 1 It is a schematic diagram of the architecture of the self-service terminal problem diagnosis system based on log file analysis described in Embodiment 1 of the present invention; Figure 2 It is a schematic flowchart of the self-service terminal problem diagnosis method based on log file analysis described in Embodiment 2 of the present invention. Specific Embodiments
[0021] The following will elaborate on the preferred embodiments of the present invention in conjunction with the drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0022] In the description of the present invention, it should be noted that the embodiments described in the present invention are some embodiments of the present invention, rather than all embodiments; based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0023] The terms "first", "second", etc. in the specification and claims of this article and the above drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or equipment that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or equipment. Embodiment 1
[0024] This embodiment provides a self-service terminal problem diagnosis system based on log file analysis, as Figure 1 shown, including: (1) Log collection module: used to collect the log files of the self-service terminal in real time, including system logs, operation logs, and error logs.
[0025] (2) Log parsing module: used to parse the content of log files and extract key information (such as timestamps, error codes, operation types).
[0026] (3) Problem diagnosis module: used to analyze log content and diagnose problems based on a rule engine and machine learning algorithms.
[0027] (4) Solution generation module: used to generate solutions according to the diagnosis results, including repair steps and preventive measures.
[0028] (5) Knowledge base module: used to store historical log data, problem cases, and solutions to support problem diagnosis and solution generation.
[0029] (6) Feedback module: used to feedback diagnosis results and solutions to operation and maintenance personnel and record the execution effect of the solutions.
[0030] Specifically, in one implementation, the working logic of each of the above modules is as follows: Log collection: The log collection module collects log files of self-service terminals in real time. For example, the system collects log files every 5 minutes, including system logs, operation logs, and error logs.
[0031] Log parsing: The log parsing module extracts key information from log files. For example, it extracts the error code "E1001" and the timestamp "2025-02-11 10:00:00" from the error log.
[0032] Problem diagnosis: The problem diagnosis module analyzes log content based on a rule engine and machine learning algorithms. For example, the system determines that the problem is "network connection anomaly" according to the error code "E1001" and historical data.
[0033] Solution generation: The solution generation module generates solutions according to the diagnosis results. For example, the system generates the solution "Check the network connection and restart the network module".
[0034] Knowledge base update: The knowledge base module stores the current problem case and solution to support subsequent problem diagnosis.
[0035] Feedback and optimization: The feedback module sends diagnosis results and solutions to operation and maintenance personnel and records the execution effect of the solutions. For example, after the operation and maintenance personnel execute the solution, the system records whether the problem is solved and optimizes the diagnosis model.
[0036] Specifically, in one embodiment, the system architecture of the present invention includes the following components: Hardware layer: including self-service terminals, servers, and storage devices.
[0037] Communication layer: used for log file transmission, supporting communication protocols such as Wi-Fi, 4G / 5G, etc.
[0038] Application layer: including a log collection module, a log parsing module, a problem diagnosis module, a solution generation module, a knowledge base module, and a feedback module.
[0039] Specifically, in one embodiment, taking a vending machine as an example, the application effect of this system is as follows: (1) The vending machine generates a log file during operation, and the log collection module collects the log in real time.
[0040] (2) The log parsing module extracts key information, such as the error code "E2002" (payment failure).
[0041] (3) The problem diagnosis module determines the problem as "abnormal communication of the payment module" based on the error code and historical data.
[0042] (4) The solution generation module generates a solution "check the connection of the payment module and restart the payment module".
[0043] (5) The feedback module sends the diagnosis result and the solution to the operation and maintenance personnel. After the operation and maintenance personnel execute the solution, the system records the problem-solving situation and updates the knowledge base.
[0044] It should be noted that the above examples are only for explaining the present invention and cannot limit the protection scope of the present invention accordingly. Embodiment 2
[0045] Based on the same inventive concept as the self-service terminal problem diagnosis system based on log file analysis described in Embodiment 1, this embodiment provides a self-service terminal problem diagnosis method based on log file analysis, as Figure 2 shown, including the following steps: S100. Collect the log file of the self-service terminal in real time; S200. Analyze the content of the log file and extract key information; S300. Diagnose the problem based on the rule engine and machine learning algorithms; S400. Generate a solution according to the diagnosis result; S500. Store historical log data, problem cases, and solutions; S600. Feedback the diagnosis result and the solution to the operation and maintenance personnel.
[0046] It should be understood that in various embodiments herein, the sequence numbers of the above processes do not imply the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments herein.
[0047] It should also be understood that in the embodiments herein, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this text generally represents an "or" relationship between the associated objects before and after.
[0048] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this text.
[0049] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific logical processes of the above-described methods can refer to the corresponding working processes of the systems, devices, and units in the foregoing method embodiments, and will not be elaborated herein.
[0050] In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection to each other can be an indirect coupling or communication connection through some interfaces, devices, or units, and can also be in an electrical, mechanical, or other form of connection.
[0051] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments herein.
[0052] In addition, each functional unit in the various embodiments of this document may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.
[0053] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution in this document, or the part that contributes to the prior art, or all or part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this document. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0054] The above are only the embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A self-service terminal problem diagnosis system based on log file analysis, characterized in that: include: Log collection module, used to collect log files of self-service terminals in real time; Log parsing module, used to parse the log file content and extract key information; Problem diagnosis module, used to diagnose problems based on rule engines and machine learning algorithms; A solution generation module, used to generate solutions according to the diagnosis results; Knowledge base module, used to store historical log data, problem cases and solutions; Feedback module, used to provide diagnostic results and solutions to operation and maintenance personnel.
2. The self-service terminal problem diagnosis system based on log file analysis according to claim 1 is characterized in that: The log collection module is also used to support two modes: scheduled collection and real-time collection.
3. The self-service terminal problem diagnosis system based on log file analysis according to claim 1 is characterized in that: The key information extracted by the log parsing module includes: timestamp, error code and operation type.
4. The self-service terminal problem diagnosis system based on log file analysis according to claim 1, characterized in that: The problem diagnosis module is also used to perform problem diagnosis in combination with a rule engine and a machine learning algorithm.
5. The self-service terminal problem diagnosis system based on log file analysis according to claim 1, characterized in that: The solution generation module is also used to generate solutions based on historical cases in the knowledge base.
6. The self-service terminal problem diagnosis system based on log file analysis according to claim 1, characterized in that: The knowledge base module is also used to support dynamic update and expansion.
7. The self-service terminal problem diagnosis system based on log file analysis according to claim 1, characterized in that: The feedback module is also used to send diagnosis results and solutions to operation and maintenance personnel via SMS, email or application.
8. The self-service terminal problem diagnosis system based on log file analysis according to claim 1, characterized in that: The problem diagnosis module is also used to support concurrent diagnosis of multiple terminals.
9. The self-service terminal problem diagnosis system based on log file analysis according to claim 1, characterized in that: The solution generated by the solution generation module includes: repair steps and preventive measures.
10. A self-service terminal problem diagnosis method based on log file analysis, characterized in that: The following steps are involved: Collect log files of self-service terminals in real time; Parse log file contents and extract key information; Diagnose problems based on rule engines and machine learning algorithms; Generate solutions based on the diagnosis results; Store historical log data, problem cases and solutions; Feedback diagnosis results and solutions to operation and maintenance personnel.