WO2020211214A1 - Fault diagnosis method and system for linux operating system - Google Patents

Fault diagnosis method and system for linux operating system Download PDF

Info

Publication number
WO2020211214A1
WO2020211214A1 PCT/CN2019/098083 CN2019098083W WO2020211214A1 WO 2020211214 A1 WO2020211214 A1 WO 2020211214A1 CN 2019098083 W CN2019098083 W CN 2019098083W WO 2020211214 A1 WO2020211214 A1 WO 2020211214A1
Authority
WO
WIPO (PCT)
Prior art keywords
fault diagnosis
information
kernel
operating system
linux operating
Prior art date
Application number
PCT/CN2019/098083
Other languages
French (fr)
Chinese (zh)
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 WO2020211214A1 publication Critical patent/WO2020211214A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/366Software debugging using diagnostics
    • 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/3495Performance evaluation by tracing or monitoring for systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines

Definitions

  • the invention relates to the maintenance field of the Linux operating system, in particular to a fault diagnosis method and system for the Linux operating system.
  • the technical problem solved by the present invention is: when the Linux operating system is abnormal and its kernel can transmit the second layer data, how to actively obtain the required fault information, and then to the Linux operating system Perform fault diagnosis.
  • the fault diagnosis method for Linux operating system includes the following steps:
  • the steps of the fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel, obtaining the layer 2 fault diagnosis information corresponding to the fault diagnosis request, and returning the layer 2 fault diagnosis information through the data transmission channel.
  • the process of fault diagnosis processing by the kernel according to the fault diagnosis request includes: after the Linux operating system is started, the fault information monitor program with the function of receiving external information is loaded into the kernel of the Linux operating system; The kernel adds the fault diagnosis request that needs to be monitored; when the fault information monitor program monitors the fault diagnosis request that needs to be monitored, it performs fault diagnosis processing according to the fault diagnosis request.
  • the process of invoking the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes: the fault information monitor program follows the receiving order , Add all the fault diagnosis requests that need to be monitored to the fault processing linked list created in advance under the Linux operating system kernel; the fault information monitor program performs fault diagnosis processing on the fault diagnosis requests in sequence according to the order of the fault diagnosis requests in the fault processing linked list .
  • the method further includes the following steps:
  • the fault diagnosis request is sent to the kernel of the Linux operating system through the data transmission channel, and after receiving the layer 2 fault diagnosis information returned by the kernel of the Linux operating system, the layer 2 fault diagnosis information is analyzed and displayed.
  • the process of calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes:
  • the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
  • the KDUMP trigger information is returned after KDUMP is triggered.
  • the fault diagnosis system for Linux operating system includes a fault information monitoring module, a fault diagnosis request receiving interface and a fault diagnosis information sending interface arranged on the Linux operating system;
  • the fault information monitoring module is used to create a data transmission channel between the kernel of the Linux operating system and the outside world.
  • the kernel receiving end of the data transmission channel is the fault diagnosis request receiving interface, and the kernel sending end is the fault diagnosis information sending interface; when the fault diagnosis request is monitored
  • the receiving interface receives a fault diagnosis request, it calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request; the steps of fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel to obtain the corresponding fault diagnosis request After the layer 2 fault diagnosis information, call the fault diagnosis information sending interface to return the layer 2 fault diagnosis information through the data transmission channel.
  • the working process of the fault information monitoring module creating a data transmission channel between the kernel of the Linux operating system and the outside world includes: loading the kernel of the Linux operating system after the Linux operating system is started, and establishing fault diagnosis request reception Interface and fault diagnosis information sending interface, data transmission channel with the outside world.
  • the workflow of calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes: according to the receiving order, All fault diagnosis requests that need to be monitored are added to the fault handling linked list created in advance under the Linux operating system kernel; according to the sequence of the fault diagnosis requests in the fault handling linked list, the fault diagnosis requests are processed in turn.
  • the system also includes a user diagnosis module set on the user side, which is used to: send a fault diagnosis request to the fault diagnosis information sending interface, and receive the second layer returned by the fault diagnosis information sending interface. After the fault diagnosis information, analyze and display the second-level fault diagnosis information.
  • the process of the fault information monitoring module calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes:
  • the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
  • the KDUMP trigger information is returned after KDUMP is triggered.
  • the present invention can monitor the external fault diagnosis request by creating a data transmission channel between the Linux operating system kernel and the outside world, and pass the kernel network
  • the second-layer message processing interface of the subsystem conducts data exchange, so as to realize the location and analysis of the pseudo-dead fault of the Linux operating system.
  • the present invention can allow the user to actively initiate a fault diagnosis request to the kernel of the Linux operating system when the Linux operating system is abnormal (such as suspended animation). Corresponding fault diagnosis processing is performed, which significantly improves the pertinence of fault diagnosis processing and greatly reduces the probability of abnormalities in the Linux operating system after fault diagnosis processing.
  • the present invention performs fault diagnosis processing only when it monitors the fault diagnosis request, and the fault diagnosis request is generally issued when the Linux operating system is abnormal. Therefore, when the Linux operating system works normally, the present invention will not affect the operation of the kernel network protocol of the Linux operating system, which is convenient for people to use.
  • Figure 1 is a schematic diagram of a user diagnosis process in an embodiment of the present invention
  • Figure 2 is a schematic diagram of a fault information monitoring process in an embodiment of the present invention.
  • the kernel network is determined to be unavailable or the kernel protocol stack is unavailable due to the unavailability of debugging tools, in fact the network protocol stack under the kernel has not completely collapsed, but cannot pass the three
  • the application services above the layer (network layer) communicate.
  • the frame processing function can be called to debug and analyze the layer 2 (data link layer) network protocol. Therefore, the layer 2 message processing interface under the kernel becomes a suspended state for network Optional channel for data communication.
  • General system status monitoring is to call the system interface through the file system interface in the user mode to collect system status (such as process resources, kernel usage information, etc.), but the file system interface may no longer be available when the system is suspended Therefore, it is impossible to collect information through the file system interface.
  • the KDUMP tool (a tool and service used to dump memory operating parameters when the system crashes, deadlocks or crashes) is generally used to debug the kernel, but the KDUMP tool is passively triggered, so currently it cannot be triggered when the system is suspended. KDUMP tool.
  • the fault diagnosis method for the Linux operating system in the embodiment of the present invention includes the following steps:
  • Fault information monitoring process Create a data transmission channel between the kernel of the Linux operating system and the outside world, and monitor the data transmission channel; when a fault diagnosis request received from the data transmission channel is monitored, the kernel of the Linux operating system is called to diagnose the fault according to the fault.
  • Request for fault diagnosis processing the steps of fault diagnosis processing include: call the layer 2 message processing interface of the Linux operating system kernel, obtain the layer 2 fault diagnosis information corresponding to the fault diagnosis request, and pass the layer 2 fault diagnosis information through the data transmission channel return.
  • the present invention can monitor the external fault diagnosis request by creating a data transmission channel between the Linux operating system kernel and the outside world. , And carry out data interaction through the two-layer message processing interface of the kernel network subsystem, so as to realize the location and analysis of the pseudo-dead fault of the Linux operating system.
  • the present invention can allow the user to actively initiate a fault diagnosis request to the kernel of the Linux operating system when the Linux operating system is abnormal (such as suspended animation). Corresponding fault diagnosis processing is performed, which significantly improves the pertinence of fault diagnosis processing and greatly reduces the probability of abnormalities in the Linux operating system after fault diagnosis processing.
  • the present invention only performs fault diagnosis processing when a fault diagnosis request is monitored, and the fault diagnosis request is generally issued when the Linux operating system is abnormal. Therefore, when the Linux operating system works normally, the present invention will not affect the operation of the kernel network protocol of the Linux operating system, which is convenient for people to use.
  • the method specifically includes the following process: after the Linux operating system is started and working normally, the fault information monitor program with the function of receiving external information is loaded into the kernel of the Linux operating system (the fault information monitor program is generally in the pre-release It has been set, loading the fault information monitor program means that the data transmission channel has been established); add the fault diagnosis request that needs to be monitored to the kernel protocol stack of the Linux operating system through the fault information monitor program; when the fault information monitor program monitors the fault that needs to be monitored When a diagnosis request is made, the fault diagnosis process is performed according to the fault diagnosis request.
  • the process of performing fault diagnosis processing according to the fault diagnosis request includes: the fault information monitoring program adds all the fault diagnosis requests that need to be monitored to the pre-created according to the receiving order In the fault processing linked list under the kernel of the Linux operating system; the fault information monitor program performs fault diagnosis processing on the fault diagnosis requests in sequence according to the sequence of the fault diagnosis requests in the fault processing linked list.
  • the present invention can orderly process fault diagnosis requests that need to be monitored in a linked list sorting manner, thereby optimizing the fault diagnosis processing flow, and avoiding information congestion or information congestion caused by parallel processing of multiple fault diagnosis requests.
  • the system is chaotic.
  • the method further includes the following steps:
  • the fault diagnosis request is sent to the kernel of the Linux operating system through the data transmission channel, and after receiving the second layer fault diagnosis information returned by the Linux operating system kernel, the second layer fault diagnosis information is analyzed and displayed.
  • the process of performing fault diagnosis processing according to the fault diagnosis request includes:
  • the fault diagnosis request is to obtain system kernel information
  • call the kernel's layer 2 message processing interface to obtain the system kernel information and then return, at this time the information is the layer 2 fault diagnosis information
  • the debugging information of KGDB debugging is returned after the KGDB function is triggered, and this information is the second layer fault diagnosis information;
  • the fault diagnosis request is to obtain the system memory information
  • call the kernel's layer 2 message processing interface to obtain the system memory information and return it.
  • the information is the layer 2 fault diagnosis information
  • system task information system task processor, system task memory, system task processing stack
  • kernel's layer 2 message processing interface to obtain the system task information and return, at this time the information is the layer 2 Fault diagnosis information
  • the KDUMP trigger information (for example, KDUMP trigger success or failure) is returned after the KDUMP is triggered, and this information is the layer 2 fault diagnosis information.
  • the user diagnosis process includes:
  • S103 Determine whether the kernel private frame (that is, the layer 2 fault diagnosis information) returned by the fault information monitoring program is received within the timeout period, if yes, go to S104, otherwise execute S101 again.
  • the fault information monitoring process includes:
  • S201 Initialization of the fault information monitoring program: After the Linux operating system is started and working normally, the fault information monitoring program with the function of receiving external information is loaded into the kernel of the Linux operating system; The kernel protocol stack adds the fault diagnosis request (that is, the packet structure) that needs to be monitored, and creates a fault handling linked list under the kernel of the Linux operating system, and then goes to S202.
  • the kernel protocol stack adds the fault diagnosis request (that is, the packet structure) that needs to be monitored, and creates a fault handling linked list under the kernel of the Linux operating system, and then goes to S202.
  • S202 The fault information monitoring program judges whether a user private frame is received, if yes, go to S203, otherwise it is in an inactive state (receiving a user private frame belongs to a passive trigger fault information monitoring program, and the program does not need to be activated), and execute S202 again.
  • S204 Perform fault diagnosis processing on the user private frames in sequence according to the sequence of the fault diagnosis requests in the fault processing linked list.
  • the fault diagnosis processing flow includes:
  • the debugging information of KGDB debugging is returned after the KGDB function is triggered, and this information is the kernel private frame;
  • the kernel's Layer 2 message processing interface When the fault diagnosis request is to obtain system memory information, call the kernel's Layer 2 message processing interface to obtain the system memory information and return it. At this time, the information is a kernel private frame;
  • system task information system task processor, system task memory, system task processing stack
  • kernel's layer 2 message processing interface to obtain the system task information and return, at this time the information is private to the kernel frame
  • the KDUMP trigger information (for example, KDUMP trigger success or failure) is returned after KDUMP is triggered, and this information is the kernel private frame at this time.
  • the CPU hangs up during the debugging of the switching chip, but the network port can be pinged, that is, the kernel network subsystem is normal; after using the fault diagnosis method of the present invention, the user can obtain part of the CPU information and find At this time, the CPU system occupancy rate is high, and the CPU interrupt system is abnormal; and the initial diagnosis is that PCIE (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus) MSI interrupt caused the CPU to be abnormal. According to this information, the kernel bug was finally found, and the diagnosis and location of the hanging problem was completed.
  • PCIE Peripheral Component Interconnect Express
  • the fault diagnosis system for the Linux operating system in the embodiment of the present invention includes a fault information monitoring module, a fault diagnosis request receiving interface, and a fault diagnosis information sending interface set on the Linux operating system; it also includes a user set on the user side Diagnostic module.
  • the fault information monitoring module is used to create a data transmission channel between the kernel of the Linux operating system and the outside world.
  • the kernel receiving end of the data transmission channel is the fault diagnosis request receiving interface, and the kernel sending end is the fault diagnosis information sending interface; when the fault diagnosis request is monitored
  • the receiving interface receives a fault diagnosis request, it calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request; the steps of fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel to obtain the corresponding fault diagnosis request After the layer 2 fault diagnosis information, call the fault diagnosis information sending interface to return the layer 2 fault diagnosis information through the data transmission channel.
  • the working process of the fault information monitoring module to create a data transmission channel between the kernel of the Linux operating system and the outside world includes: loading the kernel of the Linux operating system after the Linux operating system is started, establishing a fault diagnosis request receiving interface and a fault diagnosis information sending interface, and communicating with the outside world Data transmission channel.
  • the kernel of the Linux operating system is called to perform the fault diagnosis processing according to the fault diagnosis request.
  • the workflow includes: adding all the fault diagnosis requests that need to be monitored in the receiving order to It is pre-created in the fault handling linked list under the Linux operating system kernel; according to the sequence of the fault diagnosis requests in the fault handling linked list, the fault diagnosis requests are processed in turn.
  • the fault information monitoring module calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request.
  • the process includes:
  • the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
  • the KDUMP trigger information is returned after KDUMP is triggered.
  • the user diagnosis module is used to: send a fault diagnosis request to the fault diagnosis information sending interface, and after receiving the second layer fault diagnosis information returned by calling the fault diagnosis information sending interface, analyze and display the second layer fault diagnosis information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Disclosed are a fault diagnosis method and system for Linux operating system, relating to the maintenance of Linux operating system. The method comprises the following steps: creating a data transmission channel between the core of Linux operating system and the outside, and monitoring the data transmission channel; when a fault diagnosis request received from the data transmission channel is monitored, calling the core of Linux operating system to perform fault diagnosis processing according to the fault diagnosis request. The fault diagnosis processing comprises the following steps: calling layer-two message processing interface of the core of Linux operating system to obtain layer-two fault diagnosis information corresponding to the fault diagnosis request, and returning the layer-two fault diagnosis information via the data transmission channel. The method can be used to actively obtain the required fault information when Linux operating system is abnormal and the core can perform layer-two data transmission, thereby performing fault diagnosis to Linux operating system.

Description

用于Linux操作系统的故障诊断方法及系统Fault diagnosis method and system for Linux operating system 技术领域Technical field
本发明涉及Linux操作系统的维护领域,具体涉及一种用于Linux操作系统的故障诊断方法及系统。The invention relates to the maintenance field of the Linux operating system, in particular to a fault diagnosis method and system for the Linux operating system.
背景技术Background technique
在Linux操作系统的应用过程中,经常会遇到因外部硬件的原因导致的异常情况(例如中断异常频繁触发、资源死锁、内核驱动模块异常等),异常情况的发生会使得Linux操作系统长时间陷入到内核态,进而导致应用程序无法调度,文件系统下的应用服务无法正常运行的假死场景。In the application process of the Linux operating system, we often encounter abnormal situations caused by external hardware (for example, frequent interruptions triggered, resource deadlocks, abnormal kernel drive modules, etc.). The occurrence of abnormal situations will make the Linux operating system long Time falls into the kernel mode, which causes the application program to be unable to schedule, and the application service under the file system cannot run normally.
在上述假死场景下,因为串口、SSH(Secure Shell,安全外壳协议)、Telnet(远程终端协议)等常用调试工具将无法使用,所以开发调试人员会认定内核的网络不可用,或者内核协议栈不可用;在此基础上,开发调试人员一般只能通过重启查看系统的log日志来分析问题缘由。In the above-mentioned suspended animation scenario, because common debugging tools such as serial port, SSH (Secure Shell), and Telnet (remote terminal protocol) will not be available, developers and debuggers will determine that the kernel network is unavailable, or the kernel protocol stack is not available On this basis, developers and debuggers generally can only analyze the cause of the problem by restarting and viewing the system log.
但是,开发调试人员只能获取log日志中的错误信息来被动分析问题,这会导致:当Linux操作系统假死的原因不存在log日志中、或者不属于log日志中的错误信息时,即使处理了log日志中错误信息对应的问题,也不会或者无法显著降低Linux操作系统出现假死的概率。However, developers and debuggers can only obtain the error information in the log log to passively analyze the problem. This will lead to: when the cause of the Linux operating system's suspended animation does not exist in the log log or does not belong to the error information in the log log, even if it is processed The problem corresponding to the error message in the log will not or cannot significantly reduce the probability of suspended animation in the Linux operating system.
发明内容Summary of the invention
针对现有技术中存在的缺陷,本发明解决的技术问题为:在Linux 操作系统出现异常、且其内核可以进行二层数据的传输时,如何主动获取所需的故障信息,进而对Linux操作系统进行故障诊断。In view of the defects in the prior art, the technical problem solved by the present invention is: when the Linux operating system is abnormal and its kernel can transmit the second layer data, how to actively obtain the required fault information, and then to the Linux operating system Perform fault diagnosis.
为达到以上目的,本发明提供的用于Linux操作系统的故障诊断方法,包括以下步骤:To achieve the above objectives, the fault diagnosis method for Linux operating system provided by the present invention includes the following steps:
创建Linux操作系统的内核与外界的数据传输通道,并对数据传输通道进行监听;当监听到从数据传输通道中接收的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理;所述故障诊断处理的步骤包括:调用Linux操作系统内核的二层报文处理接口,获取与故障诊断请求对应的二层故障诊断信息后,将二层故障诊断信息通过数据传输通道返回。Create a data transmission channel between the kernel of the Linux operating system and the outside world, and monitor the data transmission channel; when a fault diagnosis request received from the data transmission channel is monitored, call the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request The steps of the fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel, obtaining the layer 2 fault diagnosis information corresponding to the fault diagnosis request, and returning the layer 2 fault diagnosis information through the data transmission channel.
在上述技术方案的基础上,所述创建Linux操作系统的内核与外界的数据传输通道,并对数据传输通道进行监听;当监听到从数据传输通道中接收的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:在Linux操作系统启动后,将具备外界信息接收功能的故障信息监听程序加载至Linux操作系统的内核;通过故障信息监听程序向Linux操作系统的内核添加需要监听的故障诊断请求;当故障信息监听程序监听到需要监听的故障诊断请求时,根据故障诊断请求进行故障诊断处理。On the basis of the above technical solution, the creation of a data transmission channel between the kernel of the Linux operating system and the outside world, and monitoring the data transmission channel; when the fault diagnosis request received from the data transmission channel is monitored, the Linux operating system is called The process of fault diagnosis processing by the kernel according to the fault diagnosis request includes: after the Linux operating system is started, the fault information monitor program with the function of receiving external information is loaded into the kernel of the Linux operating system; The kernel adds the fault diagnosis request that needs to be monitored; when the fault information monitor program monitors the fault diagnosis request that needs to be monitored, it performs fault diagnosis processing according to the fault diagnosis request.
在上述技术方案的基础上,所述当故障信息监听程序监听到需要监听的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:故障信息监听程序按照接收顺序,将所有需要监听的故障诊断请求添加至预先创建于Linux操作系统内核下的故障处理链表中;故障信息监听程序按照故障处理链表中故障诊断请求的排列顺序,依次对故障诊断请求进行故障诊断处理。On the basis of the above technical solution, when the fault information monitor program monitors the fault diagnosis request that needs to be monitored, the process of invoking the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes: the fault information monitor program follows the receiving order , Add all the fault diagnosis requests that need to be monitored to the fault processing linked list created in advance under the Linux operating system kernel; the fault information monitor program performs fault diagnosis processing on the fault diagnosis requests in sequence according to the order of the fault diagnosis requests in the fault processing linked list .
在上述技术方案的基础上,该方法还包括以下步骤:On the basis of the above technical solution, the method further includes the following steps:
将故障诊断请求通过数据传输通道发送至Linux操作系统的内核,收到Linux操作系统的内核返回的二层故障诊断信息后,将二层故障诊断信息进行解析并显示。The fault diagnosis request is sent to the kernel of the Linux operating system through the data transmission channel, and after receiving the layer 2 fault diagnosis information returned by the kernel of the Linux operating system, the layer 2 fault diagnosis information is analyzed and displayed.
在上述技术方案的基础上,所述调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:On the basis of the above technical solution, the process of calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes:
当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回;When the fault diagnosis request is to obtain system kernel information, call the kernel's layer 2 message processing interface to obtain system kernel information and return;
当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回;When the fault diagnosis request is to obtain system processor information, call the kernel's layer 2 message processing interface to obtain system processor information and return;
当故障诊断请求为系统内存信息获取时,调用内核的二层报文处理接口获取系统内存信息后返回;When the fault diagnosis request is to obtain system memory information, call the kernel's layer 2 message processing interface to obtain system memory information and return;
当故障诊断请求为系统任务信息获取时,调用内核的二层报文处理接口获取系统任务信息后返回;When the fault diagnosis request is to obtain system task information, call the kernel's layer 2 message processing interface to obtain system task information and return;
当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information is returned after KDUMP is triggered.
本发明提供的用于Linux操作系统的故障诊断系统,包括设置于Linux操作系统上的故障信息监听模块、故障诊断请求接收接口和故障诊断信息发送接口;The fault diagnosis system for Linux operating system provided by the present invention includes a fault information monitoring module, a fault diagnosis request receiving interface and a fault diagnosis information sending interface arranged on the Linux operating system;
故障信息监听模块用于:创建Linux操作系统的内核与外界的数据传输通道,数据传输通道的内核接收端为故障诊断请求接收接口,内核发送端为故障诊断信息发送接口;当监听到故障诊断请求接收接口接收故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理;故障诊断处理的步骤包括:调用Linux操作系 统内核的二层报文处理接口,获取与故障诊断请求对应的二层故障诊断信息后,调用故障诊断信息发送接口将二层故障诊断信息通过数据传输通道返回。The fault information monitoring module is used to create a data transmission channel between the kernel of the Linux operating system and the outside world. The kernel receiving end of the data transmission channel is the fault diagnosis request receiving interface, and the kernel sending end is the fault diagnosis information sending interface; when the fault diagnosis request is monitored When the receiving interface receives a fault diagnosis request, it calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request; the steps of fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel to obtain the corresponding fault diagnosis request After the layer 2 fault diagnosis information, call the fault diagnosis information sending interface to return the layer 2 fault diagnosis information through the data transmission channel.
在上述技术方案的基础上,所述故障信息监听模块创建Linux操作系统的内核与外界的数据传输通道的工作流程包括:在Linux操作系统启动后加载至Linux操作系统的内核,建立故障诊断请求接收接口及故障诊断信息发送接口,与外界的数据传输通道。On the basis of the above technical solution, the working process of the fault information monitoring module creating a data transmission channel between the kernel of the Linux operating system and the outside world includes: loading the kernel of the Linux operating system after the Linux operating system is started, and establishing fault diagnosis request reception Interface and fault diagnosis information sending interface, data transmission channel with the outside world.
在上述技术方案的基础上,所述故障信息监听模块监听到故障诊断请求接收接口接收故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的工作流程包括:按照接收顺序,将所有需要监听的故障诊断请求添加至预先创建于Linux操作系统内核下的故障处理链表中;按照故障处理链表中故障诊断请求的排列顺序,依次对故障诊断请求进行故障诊断处理。On the basis of the above technical solution, when the fault information monitoring module monitors that the fault diagnosis request receiving interface receives the fault diagnosis request, the workflow of calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes: according to the receiving order, All fault diagnosis requests that need to be monitored are added to the fault handling linked list created in advance under the Linux operating system kernel; according to the sequence of the fault diagnosis requests in the fault handling linked list, the fault diagnosis requests are processed in turn.
在上述技术方案的基础上,该系统还包括设置于用户端上的用户诊断模块,其用于:将故障诊断请求发送至故障诊断信息发送接口,收到调用故障诊断信息发送接口返回的二层故障诊断信息后,将二层故障诊断信息进行解析并显示。On the basis of the above technical solution, the system also includes a user diagnosis module set on the user side, which is used to: send a fault diagnosis request to the fault diagnosis information sending interface, and receive the second layer returned by the fault diagnosis information sending interface. After the fault diagnosis information, analyze and display the second-level fault diagnosis information.
在上述技术方案的基础上,所述故障信息监听模块调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:On the basis of the above technical solution, the process of the fault information monitoring module calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes:
当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回;When the fault diagnosis request is to obtain system kernel information, call the kernel's layer 2 message processing interface to obtain system kernel information and return;
当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回;When the fault diagnosis request is to obtain system processor information, call the kernel's layer 2 message processing interface to obtain system processor information and return;
当故障诊断请求为系统内存信息获取时,调用内核的二层报文处理接口获取系统内存信息后返回;When the fault diagnosis request is to obtain system memory information, call the kernel's layer 2 message processing interface to obtain system memory information and return;
当故障诊断请求为系统任务信息获取时,调用内核的二层报文处理接口获取系统任务信息后返回;When the fault diagnosis request is to obtain system task information, call the kernel's layer 2 message processing interface to obtain system task information and return;
当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information is returned after KDUMP is triggered.
与现有技术相比,本发明的优点在于:Compared with the prior art, the advantages of the present invention are:
在Linux操作系统出现假死、且其内核可以进行二层数据的传输时,本发明能够通过创建Linux操作系统的内核与外界的数据传输通道的方式,来监听外界的故障诊断请求,并通过内核网络子系统的二层报文处理接口进行数据交互,以此实现对Linux操作系统假死故障的定位与分析。When the Linux operating system has suspended animation and its kernel can transmit two-layer data, the present invention can monitor the external fault diagnosis request by creating a data transmission channel between the Linux operating system kernel and the outside world, and pass the kernel network The second-layer message processing interface of the subsystem conducts data exchange, so as to realize the location and analysis of the pseudo-dead fault of the Linux operating system.
因此,与现有技术中获取log日志中的错误信息来被动分析问题相比,本发明在Linux操作系统出现异常(例如假死)时,能够让用户主动向Linux操作系统的内核发起故障诊断请求、并进行对应的故障诊断处理,进而显著提高了故障诊断处理的针对性,大幅度降低进行故障诊断处理后的Linux操作系统出现异常的概率。Therefore, compared with the prior art to obtain the error information in the log to passively analyze the problem, the present invention can allow the user to actively initiate a fault diagnosis request to the kernel of the Linux operating system when the Linux operating system is abnormal (such as suspended animation). Corresponding fault diagnosis processing is performed, which significantly improves the pertinence of fault diagnosis processing and greatly reduces the probability of abnormalities in the Linux operating system after fault diagnosis processing.
与此同时,本发明仅在监听到故障诊断请求时,才会进行故障诊断处理,而故障诊断请求一般在Linux操作系统出现异常时发出。因此,本发明在Linux操作系统正常工作时,不会影响Linux操作系统的内核网络协议的运行,便于人们使用。At the same time, the present invention performs fault diagnosis processing only when it monitors the fault diagnosis request, and the fault diagnosis request is generally issued when the Linux operating system is abnormal. Therefore, when the Linux operating system works normally, the present invention will not affect the operation of the kernel network protocol of the Linux operating system, which is convenient for people to use.
附图说明Description of the drawings
图1为本发明实施例中用户诊断流程的示意图;Figure 1 is a schematic diagram of a user diagnosis process in an embodiment of the present invention;
图2为本发明实施例中故障信息监听流程的示意图。Figure 2 is a schematic diagram of a fault information monitoring process in an embodiment of the present invention.
具体实施方式detailed description
以下结合附图及实施例对本发明作进一步详细说明。The present invention will be further described in detail below in conjunction with the drawings and embodiments.
首先介绍本发明实施例中的用于Linux操作系统的故障诊断方法的研发思路:First introduce the research and development ideas of the fault diagnosis method for Linux operating system in the embodiment of the present invention:
申请人经过研究得出:在因调试工具无法使用而认定内核网络不可用、或者内核协议栈不可用的大多数场景下,实际上内核下的网络协议栈并没有完全奔溃,只是不能通过三层(网络层)以上的应用服务进行通信。申请人进行思考后得出,在Linux内核下,可以调用帧处理函数对二层(数据链路层)网络协议进行调试与分析,因此内核下的二层报文处理接口成为假死状态下进行网络数据通信的可选通道。According to the applicant’s research, in most scenarios where the kernel network is determined to be unavailable or the kernel protocol stack is unavailable due to the unavailability of debugging tools, in fact the network protocol stack under the kernel has not completely collapsed, but cannot pass the three The application services above the layer (network layer) communicate. After thinking about it, the applicant concluded that under the Linux kernel, the frame processing function can be called to debug and analyze the layer 2 (data link layer) network protocol. Therefore, the layer 2 message processing interface under the kernel becomes a suspended state for network Optional channel for data communication.
在此基础上,申请人经过继续研究得到了后续的用于Linux操作系统的故障诊断方法;要说明的是:上述研究得出的思考信息是属于本发明创新的一部分,因为在本申请以前,没有文献提到或者公开了上述的研究信息。On this basis, the applicant obtained a follow-up fault diagnosis method for Linux operating system through continued research; it should be noted that the thinking information obtained from the above research is part of the innovation of the present invention, because before this application, No literature mentions or discloses the above-mentioned research information.
进一步,即使本领域普通技术人员能够想到将内核下的二层报文处理接口成为假死状态下进行网络数据通信的可选通道,也会存在以下问题:Further, even if those of ordinary skill in the art can think of turning the layer 2 message processing interface under the kernel into an optional channel for network data communication in a suspended state, the following problems will still exist:
1、一般的系统状态监控,是在用户态通过文件系统接口调用系统接口,来收集系统状态(例如进程资源、内核使用率等信息)的,但在系统假死下,文件系统接口可能已经不可用了,所以无法通过文件系统接口来收集信息。1. General system status monitoring is to call the system interface through the file system interface in the user mode to collect system status (such as process resources, kernel usage information, etc.), but the file system interface may no longer be available when the system is suspended Therefore, it is impossible to collect information through the file system interface.
2、一般使用KDUMP工具(在系统崩溃、死锁或者死机的时候用来转储内存运行参数的一个工具和服务)对内核进行调试,但KDUMP工具为被动触发,因此目前在系统假死时无法触发KDUMP 工具。2. The KDUMP tool (a tool and service used to dump memory operating parameters when the system crashes, deadlocks or crashes) is generally used to debug the kernel, but the KDUMP tool is passively triggered, so currently it cannot be triggered when the system is suspended. KDUMP tool.
因此,只有想到了上述研究得出的思考信息以及存在的问题,才有可能得出本发明的方法。Therefore, it is possible to arrive at the method of the present invention only by thinking about the thinking information and existing problems obtained from the above-mentioned research.
在此基础上,本发明实施例中的用于Linux操作系统的故障诊断方法,包括以下步骤:On this basis, the fault diagnosis method for the Linux operating system in the embodiment of the present invention includes the following steps:
故障信息监听流程:创建Linux操作系统的内核与外界的数据传输通道,并对数据传输通道进行监听;当监听到从数据传输通道中接收的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理;故障诊断处理的步骤包括:调用Linux操作系统内核的二层报文处理接口,获取与故障诊断请求对应的二层故障诊断信息后,将二层故障诊断信息通过数据传输通道返回。Fault information monitoring process: Create a data transmission channel between the kernel of the Linux operating system and the outside world, and monitor the data transmission channel; when a fault diagnosis request received from the data transmission channel is monitored, the kernel of the Linux operating system is called to diagnose the fault according to the fault. Request for fault diagnosis processing; the steps of fault diagnosis processing include: call the layer 2 message processing interface of the Linux operating system kernel, obtain the layer 2 fault diagnosis information corresponding to the fault diagnosis request, and pass the layer 2 fault diagnosis information through the data transmission channel return.
从上文可知,在Linux操作系统出现假死、且其内核可以进行二层数据的传输时,本发明能够通过创建Linux操作系统的内核与外界的数据传输通道的方式,来监听外界的故障诊断请求,并通过内核网络子系统的二层报文处理接口进行数据交互,以此实现对Linux操作系统假死故障的定位与分析。It can be seen from the above that when the Linux operating system has suspended animation and its kernel can transmit two-layer data, the present invention can monitor the external fault diagnosis request by creating a data transmission channel between the Linux operating system kernel and the outside world. , And carry out data interaction through the two-layer message processing interface of the kernel network subsystem, so as to realize the location and analysis of the pseudo-dead fault of the Linux operating system.
因此,与现有技术中获取log日志中的错误信息来被动分析问题相比,本发明在Linux操作系统出现异常(例如假死)时,能够让用户主动向Linux操作系统的内核发起故障诊断请求、并进行对应的故障诊断处理,进而显著提高了故障诊断处理的针对性,大幅度降低进行故障诊断处理后的Linux操作系统出现异常的概率。Therefore, compared with the prior art to obtain the error information in the log to passively analyze the problem, the present invention can allow the user to actively initiate a fault diagnosis request to the kernel of the Linux operating system when the Linux operating system is abnormal (such as suspended animation). Corresponding fault diagnosis processing is performed, which significantly improves the pertinence of fault diagnosis processing and greatly reduces the probability of abnormalities in the Linux operating system after fault diagnosis processing.
与此同时,参见上文可知,本发明仅在监听到故障诊断请求时,才会进行故障诊断处理,而故障诊断请求一般在Linux操作系统出现异常时发出。因此,本发明在Linux操作系统正常工作时,不会影响Linux操作系统的内核网络协议的运行,便于人们使用。At the same time, referring to the above, it can be seen that the present invention only performs fault diagnosis processing when a fault diagnosis request is monitored, and the fault diagnosis request is generally issued when the Linux operating system is abnormal. Therefore, when the Linux operating system works normally, the present invention will not affect the operation of the kernel network protocol of the Linux operating system, which is convenient for people to use.
优选的,该方法具体包括以下流程:在Linux操作系统启动、且工作正常时后,将具备外界信息接收功能的故障信息监听程序加载至Linux操作系统的内核(故障信息监听程序一般在预出场时已经设置,加载故障信息监听程序则意味着已经建立数据传输通道);通过故障信息监听程序向Linux操作系统的内核协议栈添加需要监听的故障诊断请求;当故障信息监听程序监听到需要监听的故障诊断请求时,根据故障诊断请求进行故障诊断处理。Preferably, the method specifically includes the following process: after the Linux operating system is started and working normally, the fault information monitor program with the function of receiving external information is loaded into the kernel of the Linux operating system (the fault information monitor program is generally in the pre-release It has been set, loading the fault information monitor program means that the data transmission channel has been established); add the fault diagnosis request that needs to be monitored to the kernel protocol stack of the Linux operating system through the fault information monitor program; when the fault information monitor program monitors the fault that needs to be monitored When a diagnosis request is made, the fault diagnosis process is performed according to the fault diagnosis request.
可知,在上文提到了故障信息监听程序具备外界信息接收功能、能够加载至Linux操作系统的内核、且故障诊断处理的步骤的基础上,本领域普通技术人员能够根据本领域公知常识来设计符合上述功能的故障信息监听程序。It can be seen that on the basis of the above-mentioned fault information monitoring program having the function of receiving external information, being able to be loaded into the kernel of the Linux operating system, and the steps of fault diagnosis processing, a person of ordinary skill in the art can design and conform to the common knowledge in the field. The fault information monitoring program for the above functions.
优选的,当故障信息监听程序监听到需要监听的故障诊断请求时,根据故障诊断请求进行故障诊断处理的流程包括:故障信息监听程序按照接收顺序,将所有需要监听的故障诊断请求添加至预先创建于Linux操作系统内核下的故障处理链表中;故障信息监听程序按照故障处理链表中故障诊断请求的排列顺序,依次对故障诊断请求进行故障诊断处理。Preferably, when the fault information monitoring program monitors the fault diagnosis request that needs to be monitored, the process of performing fault diagnosis processing according to the fault diagnosis request includes: the fault information monitoring program adds all the fault diagnosis requests that need to be monitored to the pre-created according to the receiving order In the fault processing linked list under the kernel of the Linux operating system; the fault information monitor program performs fault diagnosis processing on the fault diagnosis requests in sequence according to the sequence of the fault diagnosis requests in the fault processing linked list.
由此可知,本发明能够通过链表排序的方式,有序的对需要监听的故障诊断请求进行处理,进而优化了故障诊断处理流程,避免了因并行处理多个故障诊断请求而造成的信息堵塞或者系统混乱。It can be seen from this that the present invention can orderly process fault diagnosis requests that need to be monitored in a linked list sorting manner, thereby optimizing the fault diagnosis processing flow, and avoiding information congestion or information congestion caused by parallel processing of multiple fault diagnosis requests. The system is chaotic.
优选的,该方法还包括以下步骤:Preferably, the method further includes the following steps:
用户诊断流程:将故障诊断请求通过数据传输通道发送至Linux操作系统的内核,收到Linux操作系统的内核返回的二层故障诊断信息后,将二层故障诊断信息进行解析并显示。User diagnosis process: the fault diagnosis request is sent to the kernel of the Linux operating system through the data transmission channel, and after receiving the second layer fault diagnosis information returned by the Linux operating system kernel, the second layer fault diagnosis information is analyzed and displayed.
优选的,所述根据故障诊断请求进行故障诊断处理的流程包括:Preferably, the process of performing fault diagnosis processing according to the fault diagnosis request includes:
当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回,此时该信息即为二层故障诊断信息;When the fault diagnosis request is to obtain system kernel information, call the kernel's layer 2 message processing interface to obtain the system kernel information and then return, at this time the information is the layer 2 fault diagnosis information;
当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息,此时该信息即为二层故障诊断信息;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging is returned after the KGDB function is triggered, and this information is the second layer fault diagnosis information;
当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回,此时该信息即为二层故障诊断信息;When the fault diagnosis request is to obtain the system processor information, call the kernel's layer 2 message processing interface to obtain the system processor information and then return, at this time the information is the layer 2 fault diagnosis information;
当故障诊断请求为系统内存信息获取时,调用内核的二层报文处理接口获取系统内存信息后返回,此时该信息即为二层故障诊断信息;When the fault diagnosis request is to obtain the system memory information, call the kernel's layer 2 message processing interface to obtain the system memory information and return it. At this time, the information is the layer 2 fault diagnosis information;
当故障诊断请求为系统任务信息(系统任务处理器、系统任务内存、系统任务处理栈)获取时,调用内核的二层报文处理接口获取系统任务信息后返回,此时该信息即为二层故障诊断信息;When the fault diagnosis request is obtained for the system task information (system task processor, system task memory, system task processing stack), call the kernel's layer 2 message processing interface to obtain the system task information and return, at this time the information is the layer 2 Fault diagnosis information;
当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息(例如KDUMP触发成功或者失败),此时该信息即为二层故障诊断信息。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information (for example, KDUMP trigger success or failure) is returned after the KDUMP is triggered, and this information is the layer 2 fault diagnosis information.
下面,通过一个具体实施例说明本发明的方法。Hereinafter, a specific embodiment is used to illustrate the method of the present invention.
参见图1所示,用户诊断流程包括:As shown in Figure 1, the user diagnosis process includes:
S101:用户在与Linux操作系统同一网段的终端(该终端的操作系统可以为Linux系统或者windows系统)上,通过一个可视化的操作界面发起故障诊断命令(可以在操作界面上直接点击对应的功能),转到S102。S101: On a terminal on the same network segment as the Linux operating system (the operating system of the terminal can be a Linux system or a windows system), the user initiates a fault diagnosis command through a visual operation interface (you can directly click the corresponding function on the operation interface) ), go to S102.
S102:通过用户态线程将故障诊断命令转换为与Linux操作系统的内核对应的用户私有帧(即故障诊断请求)后,发送至Linux操作 系统的内核的故障信息监听程序,转到S103。S102: After the fault diagnosis command is converted into a user private frame (ie, fault diagnosis request) corresponding to the kernel of the Linux operating system through the user mode thread, it is sent to the fault information monitor program of the kernel of the Linux operating system, and then goes to S103.
S103:判断是否在超时时间内收到故障信息监听程序返回的内核私有帧(即二层故障诊断信息),若是,转到S104,否则重新执行S101。S103: Determine whether the kernel private frame (that is, the layer 2 fault diagnosis information) returned by the fault information monitoring program is received within the timeout period, if yes, go to S104, otherwise execute S101 again.
S104:解析内核私有帧中的数据后,根据数据内容进行显示。S104: After analyzing the data in the kernel private frame, display according to the data content.
参见图2所示,故障信息监听流程包括:As shown in Figure 2, the fault information monitoring process includes:
S201:故障信息监听程序的初始化:在Linux操作系统启动、且工作正常时后,将具备外界信息接收功能的故障信息监听程序加载至Linux操作系统的内核;通过故障信息监听程序向Linux操作系统的内核协议栈添加需要监听的故障诊断请求(即packet结构体)、并创建Linux操作系统的内核下的故障处理链表,转到S202。S201: Initialization of the fault information monitoring program: After the Linux operating system is started and working normally, the fault information monitoring program with the function of receiving external information is loaded into the kernel of the Linux operating system; The kernel protocol stack adds the fault diagnosis request (that is, the packet structure) that needs to be monitored, and creates a fault handling linked list under the kernel of the Linux operating system, and then goes to S202.
S202:故障信息监听程序判断是否接收到用户私有帧,若是,转到S203,否则处于不激活状态(接收用户私有帧属于被动触发故障信息监听程序,不需要激活该程序),重新执行S202。S202: The fault information monitoring program judges whether a user private frame is received, if yes, go to S203, otherwise it is in an inactive state (receiving a user private frame belongs to a passive trigger fault information monitoring program, and the program does not need to be activated), and execute S202 again.
S203:当用户私有帧对应的数据属于S201中添加的需要监听的故障诊断请求时,按照接收顺序将用户私有帧添加至故障处理链表,转到S204。S203: When the data corresponding to the user private frame belongs to the fault diagnosis request that needs to be monitored added in S201, add the user private frame to the fault handling linked list according to the receiving order, and go to S204.
S204:按照故障处理链表中故障诊断请求的排列顺序,依次对用户私有帧进行故障诊断处理,故障诊断处理的流程包括:S204: Perform fault diagnosis processing on the user private frames in sequence according to the sequence of the fault diagnosis requests in the fault processing linked list. The fault diagnosis processing flow includes:
当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回,此时该信息即为内核私有帧;When the fault diagnosis request is to obtain the system kernel information, call the kernel's layer 2 message processing interface to obtain the system kernel information and then return, at this time the information is the kernel private frame;
当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息,此时该信息即为内核私有帧;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging is returned after the KGDB function is triggered, and this information is the kernel private frame;
当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回,此时该信息即为内核私有帧;When the fault diagnosis request is to obtain system processor information, call the kernel's layer 2 message processing interface to obtain the system processor information and then return, at this time the information is the kernel private frame;
当故障诊断请求为系统内存信息获取时,调用内核的二层报文处 理接口获取系统内存信息后返回,此时该信息即为内核私有帧;When the fault diagnosis request is to obtain system memory information, call the kernel's Layer 2 message processing interface to obtain the system memory information and return it. At this time, the information is a kernel private frame;
当故障诊断请求为系统任务信息(系统任务处理器、系统任务内存、系统任务处理栈)获取时,调用内核的二层报文处理接口获取系统任务信息后返回,此时该信息即为内核私有帧;When the fault diagnosis request is obtained for system task information (system task processor, system task memory, system task processing stack), call the kernel's layer 2 message processing interface to obtain the system task information and return, at this time the information is private to the kernel frame;
当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息(例如KDUMP触发成功或者失败),此时该信息即为内核私有帧。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information (for example, KDUMP trigger success or failure) is returned after KDUMP is triggered, and this information is the kernel private frame at this time.
下面说明本发明的具体应用场景和应用结果。The following describes specific application scenarios and application results of the present invention.
在某项目中,调试交换芯片过程中出现CPU挂死现象,但网口可以Ping通,即内核网络子系统是正常的;使用本发明的故障诊断方法后,用户可获取到部分CPU信息,发现此时CPU系统占用率很高,CPU中断系统出现异常;进而初步诊断为PCIE(Peripheral Component Interconnect Express,一种高速串行计算机扩展总线)的MSI中断导致CPU异常。按照此信息,最终发现内核的bug,完成对该挂死问题的诊断与定位。In a certain project, the CPU hangs up during the debugging of the switching chip, but the network port can be pinged, that is, the kernel network subsystem is normal; after using the fault diagnosis method of the present invention, the user can obtain part of the CPU information and find At this time, the CPU system occupancy rate is high, and the CPU interrupt system is abnormal; and the initial diagnosis is that PCIE (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus) MSI interrupt caused the CPU to be abnormal. According to this information, the kernel bug was finally found, and the diagnosis and location of the hanging problem was completed.
本发明实施例中的用于Linux操作系统的故障诊断系统,包括设置于Linux操作系统上的故障信息监听模块、故障诊断请求接收接口和故障诊断信息发送接口;还包括设置于用户端上的用户诊断模块。The fault diagnosis system for the Linux operating system in the embodiment of the present invention includes a fault information monitoring module, a fault diagnosis request receiving interface, and a fault diagnosis information sending interface set on the Linux operating system; it also includes a user set on the user side Diagnostic module.
故障信息监听模块用于:创建Linux操作系统的内核与外界的数据传输通道,数据传输通道的内核接收端为故障诊断请求接收接口,内核发送端为故障诊断信息发送接口;当监听到故障诊断请求接收接口接收故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理;故障诊断处理的步骤包括:调用Linux操作系统内核的二层报文处理接口,获取与故障诊断请求对应的二层故障诊断信息后,调用故障诊断信息发送接口将二层故障诊断信息通过数据 传输通道返回。The fault information monitoring module is used to create a data transmission channel between the kernel of the Linux operating system and the outside world. The kernel receiving end of the data transmission channel is the fault diagnosis request receiving interface, and the kernel sending end is the fault diagnosis information sending interface; when the fault diagnosis request is monitored When the receiving interface receives a fault diagnosis request, it calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request; the steps of fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel to obtain the corresponding fault diagnosis request After the layer 2 fault diagnosis information, call the fault diagnosis information sending interface to return the layer 2 fault diagnosis information through the data transmission channel.
故障信息监听模块创建Linux操作系统的内核与外界的数据传输通道的工作流程包括:在Linux操作系统启动后加载至Linux操作系统的内核,建立故障诊断请求接收接口及故障诊断信息发送接口,与外界的数据传输通道。The working process of the fault information monitoring module to create a data transmission channel between the kernel of the Linux operating system and the outside world includes: loading the kernel of the Linux operating system after the Linux operating system is started, establishing a fault diagnosis request receiving interface and a fault diagnosis information sending interface, and communicating with the outside world Data transmission channel.
故障信息监听模块监听到故障诊断请求接收接口接收故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的工作流程包括:按照接收顺序,将所有需要监听的故障诊断请求添加至预先创建于Linux操作系统内核下的故障处理链表中;按照故障处理链表中故障诊断请求的排列顺序,依次对故障诊断请求进行故障诊断处理。When the fault information monitoring module listens to the fault diagnosis request receiving interface to receive the fault diagnosis request, the kernel of the Linux operating system is called to perform the fault diagnosis processing according to the fault diagnosis request. The workflow includes: adding all the fault diagnosis requests that need to be monitored in the receiving order to It is pre-created in the fault handling linked list under the Linux operating system kernel; according to the sequence of the fault diagnosis requests in the fault handling linked list, the fault diagnosis requests are processed in turn.
故障信息监听模块调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:The fault information monitoring module calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request. The process includes:
当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回;When the fault diagnosis request is to obtain system kernel information, call the kernel's layer 2 message processing interface to obtain system kernel information and return;
当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回;When the fault diagnosis request is to obtain system processor information, call the kernel's layer 2 message processing interface to obtain system processor information and return;
当故障诊断请求为系统内存信息获取时,调用内核的二层报文处理接口获取系统内存信息后返回;When the fault diagnosis request is to obtain system memory information, call the kernel's layer 2 message processing interface to obtain system memory information and return;
当故障诊断请求为系统任务信息获取时,调用内核的二层报文处理接口获取系统任务信息后返回;When the fault diagnosis request is to obtain system task information, call the kernel's layer 2 message processing interface to obtain system task information and return;
当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information is returned after KDUMP is triggered.
用户诊断模块用于:将故障诊断请求发送至故障诊断信息发送接口,收到调用故障诊断信息发送接口返回的二层故障诊断信息后,将二层故障诊断信息进行解析并显示。The user diagnosis module is used to: send a fault diagnosis request to the fault diagnosis information sending interface, and after receiving the second layer fault diagnosis information returned by calling the fault diagnosis information sending interface, analyze and display the second layer fault diagnosis information.
需要说明的是:本发明实施例提供的系统在进行模块间通信时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that when the system provided by the embodiment of the present invention performs inter-module communication, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be allocated by different functional modules as required. That is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above.
进一步,本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。Further, the present invention is not limited to the above-mentioned embodiments. For those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications are also regarded as the present invention. Within the scope of protection. The content not described in detail in this specification belongs to the prior art known to those skilled in the art.

Claims (10)

  1. 一种用于Linux操作系统的故障诊断方法,其特征在于,该方法包括以下步骤:A fault diagnosis method for Linux operating system, characterized in that the method includes the following steps:
    创建Linux操作系统的内核与外界的数据传输通道,并对数据传输通道进行监听;当监听到从数据传输通道中接收的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理;所述故障诊断处理的步骤包括:调用Linux操作系统内核的二层报文处理接口,获取与故障诊断请求对应的二层故障诊断信息后,将二层故障诊断信息通过数据传输通道返回。Create a data transmission channel between the kernel of the Linux operating system and the outside world, and monitor the data transmission channel; when a fault diagnosis request received from the data transmission channel is monitored, call the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request The steps of the fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel, obtaining the layer 2 fault diagnosis information corresponding to the fault diagnosis request, and returning the layer 2 fault diagnosis information through the data transmission channel.
  2. 如权利要求1所述的用于Linux操作系统的故障诊断方法,其特征在于,所述创建Linux操作系统的内核与外界的数据传输通道,并对数据传输通道进行监听;当监听到从数据传输通道中接收的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:在Linux操作系统启动后,将具备外界信息接收功能的故障信息监听程序加载至Linux操作系统的内核;通过故障信息监听程序向Linux操作系统的内核添加需要监听的故障诊断请求;当故障信息监听程序监听到需要监听的故障诊断请求时,根据故障诊断请求进行故障诊断处理。The fault diagnosis method for the Linux operating system according to claim 1, wherein the data transmission channel between the kernel of the Linux operating system and the outside world is created, and the data transmission channel is monitored; when the slave data transmission is monitored When the fault diagnosis request is received in the channel, the process of calling the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request includes: After the Linux operating system is started, the fault information monitor program with the function of receiving external information is loaded into the Linux operating system The kernel; add the fault diagnosis request that needs to be monitored to the kernel of the Linux operating system through the fault information monitor program; when the fault information monitor program monitors the fault diagnosis request that needs to be monitored, the fault diagnosis process is performed according to the fault diagnosis request.
  3. 如权利要求2所述的用于Linux操作系统的故障诊断方法,其特征在于:所述当故障信息监听程序监听到需要监听的故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:故障信息监听程序按照接收顺序,将所有需要监听的故障诊断请求添加至预先创建于Linux操作系统内核下的故障处理链表中;故障信息监听程序按照故障处理链表中故障诊断请求的排列顺序,依次对故障诊断请求进行故障诊断处理。The fault diagnosis method for Linux operating system according to claim 2, characterized in that: when the fault information monitoring program monitors the fault diagnosis request that needs to be monitored, the kernel of the Linux operating system is called to perform the fault according to the fault diagnosis request. The process of diagnosis processing includes: the fault information monitor program adds all the fault diagnosis requests that need to be monitored to the fault processing linked list created in advance under the Linux operating system kernel according to the receiving order; the fault information monitor program follows the fault diagnosis requests in the fault processing linked list The sequence of the fault diagnosis request is processed in turn.
  4. 如权利要求1所述的用于Linux操作系统的故障诊断方法,其特征在于,该方法还包括以下步骤:The fault diagnosis method for Linux operating system according to claim 1, wherein the method further comprises the following steps:
    将故障诊断请求通过数据传输通道发送至Linux操作系统的内核,收到Linux操作系统的内核返回的二层故障诊断信息后,将二层故障诊断信息进行解析并显示。The fault diagnosis request is sent to the kernel of the Linux operating system through the data transmission channel, and after receiving the layer 2 fault diagnosis information returned by the kernel of the Linux operating system, the layer 2 fault diagnosis information is analyzed and displayed.
  5. 如权利要求1至4任一项所述的用于Linux操作系统的故障诊断方法,其特征在于,所述调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的流程包括:The fault diagnosis method for the Linux operating system according to any one of claims 1 to 4, wherein the process of calling the kernel of the Linux operating system to perform fault diagnosis processing according to a fault diagnosis request comprises:
    当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回;When the fault diagnosis request is to obtain system kernel information, call the kernel's layer 2 message processing interface to obtain system kernel information and return;
    当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
    当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回;When the fault diagnosis request is to obtain system processor information, call the kernel's layer 2 message processing interface to obtain system processor information and return;
    当故障诊断请求为系统内存信息获取时,调用内核的二层报文处理接口获取系统内存信息后返回;When the fault diagnosis request is to obtain system memory information, call the kernel's layer 2 message processing interface to obtain system memory information and return;
    当故障诊断请求为系统任务信息获取时,调用内核的二层报文处理接口获取系统任务信息后返回;When the fault diagnosis request is to obtain system task information, call the kernel's layer 2 message processing interface to obtain system task information and return;
    当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information is returned after KDUMP is triggered.
  6. 一种用于Linux操作系统的故障诊断系统,其特征在于:该系统包括设置于Linux操作系统上的故障信息监听模块、故障诊断请求接收接口和故障诊断信息发送接口;A fault diagnosis system for Linux operating system, characterized in that: the system includes a fault information monitoring module, a fault diagnosis request receiving interface and a fault diagnosis information sending interface arranged on the Linux operating system;
    故障信息监听模块用于:创建Linux操作系统的内核与外界的数据传输通道,数据传输通道的内核接收端为故障诊断请求接收接口, 内核发送端为故障诊断信息发送接口;当监听到故障诊断请求接收接口接收故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理;故障诊断处理的步骤包括:调用Linux操作系统内核的二层报文处理接口,获取与故障诊断请求对应的二层故障诊断信息后,调用故障诊断信息发送接口将二层故障诊断信息通过数据传输通道返回。The fault information monitoring module is used to create a data transmission channel between the kernel of the Linux operating system and the outside world. The kernel receiving end of the data transmission channel is the fault diagnosis request receiving interface, and the kernel sending end is the fault diagnosis information sending interface; when a fault diagnosis request is monitored When the receiving interface receives a fault diagnosis request, it calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request; the steps of fault diagnosis processing include: calling the layer 2 message processing interface of the Linux operating system kernel to obtain the corresponding fault diagnosis request After the layer 2 fault diagnosis information, call the fault diagnosis information sending interface to return the layer 2 fault diagnosis information through the data transmission channel.
  7. 如权利要求6所述的用于Linux操作系统的故障诊断系统,其特征在于:所述故障信息监听模块创建Linux操作系统的内核与外界的数据传输通道的工作流程包括:在Linux操作系统启动后加载至Linux操作系统的内核,建立故障诊断请求接收接口及故障诊断信息发送接口,与外界的数据传输通道。The fault diagnosis system for the Linux operating system according to claim 6, wherein the working process of the fault information monitoring module creating a data transmission channel between the kernel of the Linux operating system and the outside world includes: after the Linux operating system is started Load into the kernel of the Linux operating system to establish a fault diagnosis request receiving interface and a fault diagnosis information sending interface, and a data transmission channel with the outside world.
  8. 如权利要求6所述的用于Linux操作系统的故障诊断系统,其特征在于:所述故障信息监听模块监听到故障诊断请求接收接口接收故障诊断请求时,调用Linux操作系统的内核根据故障诊断请求进行故障诊断处理的工作流程包括:按照接收顺序,将所有需要监听的故障诊断请求添加至预先创建于Linux操作系统内核下的故障处理链表中;按照故障处理链表中故障诊断请求的排列顺序,依次对故障诊断请求进行故障诊断处理。The fault diagnosis system for the Linux operating system according to claim 6, wherein when the fault information monitoring module monitors that the fault diagnosis request receiving interface receives the fault diagnosis request, it calls the kernel of the Linux operating system according to the fault diagnosis request. The workflow of fault diagnosis processing includes: adding all the fault diagnosis requests that need to be monitored to the fault handling linked list created in advance under the Linux operating system kernel according to the receiving order; according to the sequence of fault diagnosis requests in the fault handling linked list, Perform fault diagnosis processing on the fault diagnosis request.
  9. 如权利要求6所述的用于Linux操作系统的故障诊断系统,其特征在于:该系统还包括设置于用户端上的用户诊断模块,其用于:将故障诊断请求发送至故障诊断信息发送接口,收到调用故障诊断信息发送接口返回的二层故障诊断信息后,将二层故障诊断信息进行解析并显示。The fault diagnosis system for the Linux operating system according to claim 6, characterized in that: the system further comprises a user diagnosis module provided on the user terminal, which is used to: send the fault diagnosis request to the fault diagnosis information sending interface , After receiving the Layer 2 fault diagnosis information returned by calling the fault diagnosis information sending interface, analyze and display the Layer 2 fault diagnosis information.
  10. 如权利要求6至9任一项所述的用于Linux操作系统的故障诊断系统,其特征在于,所述故障信息监听模块调用Linux操作系统 的内核根据故障诊断请求进行故障诊断处理的流程包括:The fault diagnosis system for the Linux operating system according to any one of claims 6 to 9, wherein the fault information monitoring module calls the kernel of the Linux operating system to perform fault diagnosis processing according to the fault diagnosis request. The process includes:
    当故障诊断请求为系统内核信息获取时,调用内核的二层报文处理接口获取系统内核信息后返回;When the fault diagnosis request is to obtain system kernel information, call the kernel's layer 2 message processing interface to obtain system kernel information and return;
    当故障诊断请求为KGDB调试时,触发KGDB功能后返回KGDB调试的调试信息;When the fault diagnosis request is KGDB debugging, the debugging information of KGDB debugging will be returned after the KGDB function is triggered;
    当故障诊断请求为系统处理器信息获取时,调用内核的二层报文处理接口获取系统处理器信息后返回;When the fault diagnosis request is to obtain system processor information, call the kernel's layer 2 message processing interface to obtain system processor information and return;
    当故障诊断请求为系统内存信息获取时,调用内核的二层报文处理接口获取系统内存信息后返回;When the fault diagnosis request is to obtain system memory information, call the kernel's layer 2 message processing interface to obtain system memory information and return;
    当故障诊断请求为系统任务信息获取时,调用内核的二层报文处理接口获取系统任务信息后返回;When the fault diagnosis request is to obtain system task information, call the kernel's layer 2 message processing interface to obtain system task information and return;
    当故障诊断请求为触发KDUMP时,触发KDUMP后返回KDUMP的触发信息。When the fault diagnosis request is to trigger KDUMP, the KDUMP trigger information is returned after KDUMP is triggered.
PCT/CN2019/098083 2019-04-17 2019-07-29 Fault diagnosis method and system for linux operating system WO2020211214A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910310312.5A CN111831520A (en) 2019-04-17 2019-04-17 Fault diagnosis method and system for Linux operating system
CN201910310312.5 2019-04-17

Publications (1)

Publication Number Publication Date
WO2020211214A1 true WO2020211214A1 (en) 2020-10-22

Family

ID=72837095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098083 WO2020211214A1 (en) 2019-04-17 2019-07-29 Fault diagnosis method and system for linux operating system

Country Status (2)

Country Link
CN (1) CN111831520A (en)
WO (1) WO2020211214A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934451A (en) * 2021-05-31 2023-04-07 中兴通讯股份有限公司 Fault processing method, device, server and storage medium
CN115333977B (en) * 2022-08-11 2023-08-15 南京国电南自电网自动化有限公司 Method and device for realizing system diagnosis channel based on network interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442493A (en) * 2008-12-26 2009-05-27 华为技术有限公司 Method for distributing IP message, cluster system and load equalizer
CN102314382A (en) * 2010-07-06 2012-01-11 中兴通讯股份有限公司 Method and module for emergently probing system information
CN103533061A (en) * 2013-10-18 2014-01-22 广东工业大学 Construction method for cloud experimental platform of operating system
CN108762886A (en) * 2018-05-08 2018-11-06 烽火通信科技股份有限公司 The fault detect restoration methods and system of virtual machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568195C (en) * 2007-11-19 2009-12-09 中兴通讯股份有限公司 A kind of monitoring method of (SuSE) Linux OS process scheduling information
CN103996003B (en) * 2014-05-20 2016-08-24 金航数码科技有限责任公司 Data erasing system in a kind of virtualized environment and method
US10783052B2 (en) * 2017-08-17 2020-09-22 Bank Of America Corporation Data processing system with machine learning engine to provide dynamic data transmission control functions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442493A (en) * 2008-12-26 2009-05-27 华为技术有限公司 Method for distributing IP message, cluster system and load equalizer
CN102314382A (en) * 2010-07-06 2012-01-11 中兴通讯股份有限公司 Method and module for emergently probing system information
CN103533061A (en) * 2013-10-18 2014-01-22 广东工业大学 Construction method for cloud experimental platform of operating system
CN108762886A (en) * 2018-05-08 2018-11-06 烽火通信科技股份有限公司 The fault detect restoration methods and system of virtual machine

Also Published As

Publication number Publication date
CN111831520A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
EP3283961B1 (en) Locally restoring functionality at acceleration components
US8868968B2 (en) Partial fault processing method in computer system
EP2641419B1 (en) A method and system for cell recovery in telecommunication networks
US20140101489A1 (en) Method, Apparatus, and System for Handling Virtual Machine Internal Fault
CA3168286A1 (en) Data flow processing method and system
JP2001101033A (en) Fault monitoring method for operating system and application program
EP3148116A1 (en) Information system fault scenario information collection method and system
WO2020211214A1 (en) Fault diagnosis method and system for linux operating system
CN109245966A (en) The monitoring method and device of the service state of cloud platform
US20110179307A1 (en) Failover method and system for a computer system having clustering configuration
WO2016000298A1 (en) System exception capturing method, main system, shadow system and intelligent device
CN108959029A (en) Collect the method and system with report server abnormal log
WO2013086996A1 (en) Failure processing method, device and system
JP2012003651A (en) Virtualized environment motoring device, and monitoring method and program for the same
JP2003173272A (en) Information processing system, information processor and maintenance center
US20060248531A1 (en) Information processing device, information processing method and computer-readable medium having information processing program
CN110752939B (en) Service process fault processing method, notification method and device
WO2021077797A1 (en) Quality of service measurement method and device, and user plane function
CN111857689A (en) Framework, function configuration method of framework, terminal and storage medium
KR101883251B1 (en) Apparatus and method for determining failover in virtual system
CN111984376B (en) Protocol processing method, device, equipment and computer readable storage medium
JP2000148525A (en) Method for reducing load of active system in service processor duplex system
CN111240857B (en) Remote service calling system and method
JP2019176366A (en) Information processing device, information processing method, and program
CN116723111B (en) Service request processing method, system and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19925178

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19925178

Country of ref document: EP

Kind code of ref document: A1