CN112231170B - Data interaction card supervision method, system, terminal and storage medium - Google Patents
Data interaction card supervision method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN112231170B CN112231170B CN202010954585.6A CN202010954585A CN112231170B CN 112231170 B CN112231170 B CN 112231170B CN 202010954585 A CN202010954585 A CN 202010954585A CN 112231170 B CN112231170 B CN 112231170B
- Authority
- CN
- China
- Prior art keywords
- data interaction
- interaction card
- card
- hardware configuration
- event
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3031—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a motherboard or an expansion card
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明提供一种数据交互卡监管方法、系统、终端及存储介质,包括:检测所述数据交互卡在系统启动时的硬件配置是否发生变化,若是,则将硬件配置变化事件上报图形用户界面;根据所述硬件配置变化事件向所述图形用户界面输出相应的处理方法;创建所述数据交互卡驱动对所述图形用户界面开发的查询接口;监控所述数据交互卡状态并根据所述状态判断所述数据交互卡是否出现运行故障,若监控到运行故障则将所述运行故障上报图形用户界面。本发明使得用户可以对数据交互卡自行诊断和修复故障,以达到节省人力物力的目的,同时提升设备的操作简易性、可靠性。
The present invention provides a data interaction card supervision method, system, terminal and storage medium, including: detecting whether the hardware configuration of the data interaction card changes when the system starts, and if so, reporting the hardware configuration change event to a graphical user interface; Output a corresponding processing method to the graphical user interface according to the hardware configuration change event; create a query interface developed by the data interaction card driver for the graphical user interface; monitor the state of the data interaction card and judge according to the state Whether there is a running fault in the data interaction card, if the running fault is monitored, the running fault will be reported to the graphical user interface. The invention enables users to self-diagnose and repair faults of the data interaction card, so as to achieve the purpose of saving manpower and material resources, and at the same time improve the operation simplicity and reliability of the equipment.
Description
技术领域technical field
本发明涉及服务器技术领域,具体涉及一种数据交互卡监管方法、系统、终端及存储介质。The invention relates to the technical field of servers, in particular to a data interaction card supervision method, system, terminal and storage medium.
背景技术Background technique
随着互联网、云计算、物联网、移动互联网等技术的发展,尤其是移动互联网的到来,对服务器和存储服务器的性能以及IO能力的要求越来越高。服务器和存储服务器搭载的各种IO卡也越来越多,导致服务器和存储服务器的PCIE槽位越来越紧张。基于PCIE的SWITCH卡应运而生,SWITCH可将单一PCIE槽位拓展到多个PCIE端口,以达到PCIE链路数据交换的目的。但是,PCIE的SWITCH卡属于较为新型的设备卡,一般用户对此不熟悉,出现部分故障无法定位分析并进行处理,增加了设备的维修难度,同时对使用者也十分不友好。With the development of technologies such as the Internet, cloud computing, Internet of Things, and mobile Internet, especially the arrival of the mobile Internet, the requirements for the performance and IO capabilities of servers and storage servers are getting higher and higher. Servers and storage servers are equipped with more and more various IO cards, resulting in increasingly tight PCIE slots for servers and storage servers. The PCIE-based SWITCH card came into being. SWITCH can expand a single PCIE slot to multiple PCIE ports to achieve the purpose of PCIE link data exchange. However, PCIE's SWITCH card is a relatively new type of device card, which is not familiar to ordinary users, and some faults cannot be located, analyzed and processed, which increases the difficulty of equipment maintenance and is also very unfriendly to users.
发明内容Contents of the invention
针对现有技术的上述不足,本发明提供一种数据交互卡监管方法、系统、终端及存储介质,以解决上述技术问题。Aiming at the above-mentioned shortcomings of the prior art, the present invention provides a data interaction card supervision method, system, terminal and storage medium to solve the above-mentioned technical problems.
第一方面,本发明提供一种数据交互卡监管方法,包括:In the first aspect, the present invention provides a data interaction card supervision method, including:
检测所述数据交互卡在系统启动时的硬件配置是否发生变化,若是,则将硬件配置变化事件上报图形用户界面;Detect whether the hardware configuration of the data interaction card changes when the system starts, and if so, report the hardware configuration change event to the graphical user interface;
根据所述硬件配置变化事件向所述图形用户界面输出相应的处理方法;Outputting a corresponding processing method to the graphical user interface according to the hardware configuration change event;
创建所述数据交互卡驱动对所述图形用户界面开发的查询接口;Create a query interface developed by the data interaction card to drive the graphical user interface;
监控所述数据交互卡状态并根据所述状态判断所述数据交互卡是否出现运行故障,若监控到运行故障则将所述运行故障上报图形用户界面。Monitoring the status of the data interaction card and judging whether the data interaction card has an operation failure according to the status, and reporting the operation failure to the graphical user interface if the operation failure is monitored.
进一步的,所述检测数据交互卡在系统启动时的硬件配置是否发生变化,若是则将硬件配置变化事件上报图形用户界面包括:Further, the detection of whether the hardware configuration of the data interaction card changes when the system starts, and if so, reporting the hardware configuration change event to the graphical user interface includes:
判断所述数据交互卡在系统启动时的硬件配置与存储的上次系统启动时的硬件配置是否一致:Judging whether the hardware configuration of the data interaction card at system startup is consistent with the stored hardware configuration at the last system startup:
若否,则判断本次启动为新增数据交互卡事件或者是丢失数据交互卡事件,并将判断结果上报图形用户界面。If not, it is judged that the startup is a new data interaction card event or a lost data interaction card event, and the judgment result is reported to the graphical user interface.
进一步的,所述根据硬件配置变化事件向所述图形用户界面输出相应的处理方法,包括:Further, the outputting a corresponding processing method to the graphical user interface according to the hardware configuration change event includes:
预先设定新增数据交互卡事件对应的新增卡激活方法和丢失数据交互卡事件对应的丢失处理方法;Preset the new card activation method corresponding to the new data interaction card event and the loss processing method corresponding to the lost data interaction card event;
从所述新增卡激活方法提取激活手动操作方法,从所述丢失处理方法提取丢失手动操作方法;Extracting an activation manual operation method from the new card activation method, and extracting a lost manual operation method from the loss processing method;
若为新增数据交互卡事件,则输出所述激活手动操作方法,若为丢失数据交互卡事件,则输出所述丢失手动操作方法。If it is a new data interaction card event, then output the activation manual operation method, and if it is a lost data interaction card event, then output the lost manual operation method.
进一步的,所述监控所述数据交互卡状态,包括:Further, the monitoring of the status of the data interaction card includes:
定期采集所述数据交互卡的上行口状态和下行口状态。Collecting the status of the uplink port and the status of the downlink port of the data interaction card on a regular basis.
进一步的,所述方法还包括:Further, the method also includes:
获取所述数据交互卡的加载状态,若加载失败则将加载失败的处理方法输出至图形用户界面。The loading state of the data interaction card is obtained, and if the loading fails, the processing method of the loading failure is output to the graphical user interface.
第二方面,本发明提供一种数据交互卡监管系统,包括:In the second aspect, the present invention provides a data interaction card supervision system, including:
配置检测单元,配置用于检测所述数据交互卡在系统启动时的硬件配置是否发生变化,若是,则将硬件配置变化事件上报图形用户界面;The configuration detection unit is configured to detect whether the hardware configuration of the data interaction card changes when the system starts, and if so, report the hardware configuration change event to the graphical user interface;
配置修复单元,配置用于根据所述硬件配置变化事件向所述图形用户界面输出相应的处理方法;A configuration repair unit configured to output a corresponding processing method to the graphical user interface according to the hardware configuration change event;
接口创建单元,配置用于创建所述数据交互卡驱动对所述图形用户界面开发的查询接口;An interface creation unit configured to create a query interface developed by the data interaction card driver for the graphical user interface;
运行监控单元,配置用于监控所述数据交互卡状态并根据所述状态判断所述数据交互卡是否出现运行故障,若监控到运行故障则将所述运行故障上报图形用户界面。The operation monitoring unit is configured to monitor the state of the data interaction card and judge whether the data interaction card has an operation failure according to the state, and report the operation failure to the graphical user interface if the operation failure is monitored.
进一步的,所述配置检测单元包括:Further, the configuration detection unit includes:
一致判断模块,配置用于判断所述数据交互卡在系统启动时的硬件配置与存储的上次系统启动时的硬件配置是否一致;A consistent judging module configured to judge whether the hardware configuration of the data interaction card at system startup is consistent with the stored hardware configuration at the last system startup;
类别判断模块,配置用于若所述数据交互卡在系统启动时的硬件配置与存储的上次系统启动时的硬件配置不一致,则判断本次启动为新增数据交互卡事件或者是丢失数据交互卡事件,并将判断结果上报图形用户界面。The category judging module is configured to judge that this startup is a new data interaction card event or a lost data interaction if the hardware configuration of the data interaction card at system startup is inconsistent with the stored hardware configuration at the last system startup Card events, and report the judgment results to the GUI.
进一步的,所述配置修复单元包括:Further, the configuration repair unit includes:
方法设定模块,配置用于预先设定新增数据交互卡事件对应的新增卡激活方法和丢失数据交互卡事件对应的丢失处理方法;The method setting module is configured to pre-set the new card activation method corresponding to the new data interaction card event and the loss processing method corresponding to the lost data interaction card event;
操作提取模块,配置用于从所述新增卡激活方法提取激活手动操作方法,从所述丢失处理方法提取丢失手动操作方法;The operation extraction module is configured to extract the activation manual operation method from the new card activation method, and extract the lost manual operation method from the loss processing method;
操作输出模块,配置用于若为新增数据交互卡事件,则输出所述激活手动操作方法,若为丢失数据交互卡事件,则输出所述丢失手动操作方法。The operation output module is configured to output the activation manual operation method if it is a new data interaction card event, and output the lost manual operation method if it is a lost data interaction card event.
第三方面,提供一种终端,包括:In a third aspect, a terminal is provided, including:
处理器、存储器,其中,processor, memory, where,
该存储器用于存储计算机程序,The memory is used to store computer programs,
该处理器用于从存储器中调用并运行该计算机程序,使得终端执行上述的终端的方法。The processor is used for invoking and running the computer program from the memory, so that the terminal executes the above-mentioned terminal method.
第四方面,提供了一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, a computer storage medium is provided, and instructions are stored in the computer-readable storage medium, and when run on a computer, the computer is made to execute the methods described in the above aspects.
本发明的有益效果在于,The beneficial effect of the present invention is that,
本发明提供的数据交互卡监管方法、系统、终端及存储介质,通过在Linux系统的驱动层以及应用层对SWITCH卡的状态进行实时监测,当出现故障时则根据故障类型上报到GUI,用户通过GUI即可查看SWITCH卡的故障,同时GUI根据故障类型提供自诊断和修复引导的过程,使得用户可以自行诊断和修复故障。以达到节省人力物力的目的,同时提升设备的操作简易性、可靠性。The data interaction card supervision method, system, terminal and storage medium provided by the present invention monitor the state of the SWITCH card in real time through the driver layer and the application layer of the Linux system, and when a fault occurs, it is reported to the GUI according to the fault type, and the user passes The GUI can check the faults of the SWITCH card, and the GUI provides self-diagnosis and repair guidance process according to the fault type, so that users can diagnose and repair faults by themselves. In order to achieve the purpose of saving manpower and material resources, while improving the ease of operation and reliability of the equipment.
此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。In addition, the design principle of the present invention is reliable, the structure is simple, and has very wide application prospects.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings on the premise of not paying creative work.
图1是本发明一个实施例的方法的示意性流程图。Fig. 1 is a schematic flowchart of a method according to an embodiment of the present invention.
图2是本发明一个实施例的方法的另一示意性流程图。Fig. 2 is another schematic flowchart of the method of an embodiment of the present invention.
图3是本发明一个实施例的系统的示意性框图。Fig. 3 is a schematic block diagram of a system according to one embodiment of the present invention.
图4为本发明实施例提供的一种终端的结构示意图。FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
图1是本发明一个实施例的方法的示意性流程图。其中,图1执行主体可以为一种数据交互卡监管系统。Fig. 1 is a schematic flowchart of a method according to an embodiment of the present invention. Wherein, the execution subject in Fig. 1 may be a data interaction card supervision system.
如图1所示,该方法包括:As shown in Figure 1, the method includes:
步骤110,检测所述数据交互卡在系统启动时的硬件配置是否发生变化,若是,则将硬件配置变化事件上报图形用户界面;
步骤120,根据所述硬件配置变化事件向所述图形用户界面输出相应的处理方法;
步骤130,创建所述数据交互卡驱动对所述图形用户界面开发的查询接口;
步骤140,监控所述数据交互卡状态并根据所述状态判断所述数据交互卡是否出现运行故障,若监控到运行故障则将所述运行故障上报图形用户界面。
具体的,请参考图2,所述数据交互卡监管方法包括:Specifically, please refer to Figure 2, the data interaction card supervision method includes:
S1、检测所述数据交互卡在系统启动时的硬件配置是否发生变化,若是,则将硬件配置变化事件上报图形用户界面。根据所述硬件配置变化事件向所述图形用户界面输出相应的处理方法。S1. Detect whether the hardware configuration of the data interaction card changes when the system starts, and if so, report the hardware configuration change event to the GUI. Outputting a corresponding processing method to the graphical user interface according to the hardware configuration change event.
首先,在系统启动时,对比本次的硬件配置和上次的硬件配置、位置等信息是否有变化,若发生变化则进一步比对两次配置信息,判断是新增SWITCH卡还是丢失SWITCH卡,并将最终结果上报到GUI。First of all, when the system is started, compare the current hardware configuration with the last hardware configuration, location and other information. If there is a change, then compare the configuration information twice to determine whether it is a new SWITCH card or a lost SWITCH card. And report the final result to GUI.
预先从系统调取新增数据交互卡事件对应的新增卡激活方法和丢失数据交互卡事件对应的丢失处理方法。从新增卡激活方法提取激活手动操作方法,从丢失处理方法提取丢失手动操作方法,其中手动操作方法是指需要人工输入的指令。若上报的事件为新增数据交互卡事件,则输出激活手动操作方法,若上报的事件为丢失数据交互卡事件,则输出丢失手动操作方法。The new card activation method corresponding to the new data interaction card event and the loss processing method corresponding to the lost data interaction card event are called from the system in advance. The activation manual operation method is extracted from the new card activation method, and the lost manual operation method is extracted from the lost processing method, wherein the manual operation method refers to an instruction that requires manual input. If the reported event is a new data interaction card event, the manual operation method of activation is output, and if the reported event is a loss of data interaction card event, the manual operation method of loss is output.
S2、创建所述数据交互卡驱动对所述图形用户界面开发的查询接口。S2. Create a query interface developed by the data interaction card driver for the graphical user interface.
驱动引导SWITCH进行初始化,为SWITCH卡驱动创建一个向GUI开放的查询接口,以便于用户态程序从GPI端查询SWITCH状态。The driver guides SWITCH to initialize, and creates a query interface open to the GUI for the SWITCH card driver, so that the user mode program can query the SWITCH status from the GPI side.
S3、监控所述数据交互卡状态并根据所述状态判断所述数据交互卡是否出现运行故障,若监控到运行故障则将所述运行故障上报图形用户界面。S3. Monitoring the status of the data interaction card and judging whether the data interaction card has an operation failure according to the status, and reporting the operation failure to a graphical user interface if an operation failure is detected.
检查设备是否能正常加载,如加载失败,上报错误,GUI引导用户自诊断修复。Check whether the device can be loaded normally. If the loading fails, an error is reported, and the GUI guides the user to self-diagnose and repair.
使用用户态驱动实时监测SWITCH卡状态,监测运行时故障,如上行口降级、inactive/active,下行口降级、inactive/active等故障,需要修复的故障上报GUI引导用户进行修复。引导方法与步骤S1中的方法类似。Use the user-mode driver to monitor the status of the SWITCH card in real time, monitor runtime faults, such as uplink port downgrade, inactive/active, downlink port downgrade, inactive/active, and other faults. Faults that need to be repaired are reported to the GUI to guide users to repair them. The guiding method is similar to the method in step S1.
用户态驱动使用轮训方式进行查询,减少CPU的使用率;使用信号量、共享内存的方式进行用户态驱动与GUI之间的数据传输。The user-mode driver uses round-robin training to query to reduce CPU usage; uses semaphores and shared memory to transmit data between the user-mode driver and the GUI.
如图3所示,该系统300包括:As shown in Figure 3, the system 300 includes:
配置检测单元310,配置用于检测所述数据交互卡在系统启动时的硬件配置是否发生变化,若是,则将硬件配置变化事件上报图形用户界面;The configuration detection unit 310 is configured to detect whether the hardware configuration of the data interaction card changes when the system starts, and if so, report the hardware configuration change event to the graphical user interface;
配置修复单元320,配置用于根据所述硬件配置变化事件向所述图形用户界面输出相应的处理方法;The configuration repair unit 320 is configured to output a corresponding processing method to the graphical user interface according to the hardware configuration change event;
接口创建单元330,配置用于创建所述数据交互卡驱动对所述图形用户界面开发的查询接口;The interface creation unit 330 is configured to create a query interface developed by the data interaction card driver for the graphical user interface;
运行监控单元340,配置用于监控所述数据交互卡状态并根据所述状态判断所述数据交互卡是否出现运行故障,若监控到运行故障则将所述运行故障上报图形用户界面。The operation monitoring unit 340 is configured to monitor the state of the data interaction card and judge whether the data interaction card has an operation failure according to the state, and report the operation failure to the graphical user interface if an operation failure is detected.
可选地,作为本发明一个实施例,所述配置检测单元包括:Optionally, as an embodiment of the present invention, the configuration detection unit includes:
一致判断模块,配置用于判断所述数据交互卡在系统启动时的硬件配置与存储的上次系统启动时的硬件配置是否一致;A consistent judging module configured to judge whether the hardware configuration of the data interaction card at system startup is consistent with the stored hardware configuration at the last system startup;
类别判断模块,配置用于若所述数据交互卡在系统启动时的硬件配置与存储的上次系统启动时的硬件配置不一致,则判断本次启动为新增数据交互卡事件或者是丢失数据交互卡事件,并将判断结果上报图形用户界面。The category judging module is configured to judge that this startup is a new data interaction card event or a lost data interaction if the hardware configuration of the data interaction card at system startup is inconsistent with the stored hardware configuration at the last system startup Card events, and report the judgment results to the GUI.
可选地,作为本发明一个实施例,所述配置修复单元包括:Optionally, as an embodiment of the present invention, the configuration repair unit includes:
方法设定模块,配置用于预先设定新增数据交互卡事件对应的新增卡激活方法和丢失数据交互卡事件对应的丢失处理方法;The method setting module is configured to pre-set the new card activation method corresponding to the new data interaction card event and the loss processing method corresponding to the lost data interaction card event;
操作提取模块,配置用于从所述新增卡激活方法提取激活手动操作方法,从所述丢失处理方法提取丢失手动操作方法;The operation extraction module is configured to extract the activation manual operation method from the new card activation method, and extract the lost manual operation method from the loss processing method;
操作输出模块,配置用于若为新增数据交互卡事件,则输出所述激活手动操作方法,若为丢失数据交互卡事件,则输出所述丢失手动操作方法。The operation output module is configured to output the activation manual operation method if it is a new data interaction card event, and output the lost manual operation method if it is a lost data interaction card event.
图4为本发明实施例提供的一种终端400的结构示意图,该终端400可以用于执行本发明实施例提供的数据交互卡监管方法。FIG. 4 is a schematic structural diagram of a terminal 400 provided by an embodiment of the present invention, and the terminal 400 can be used to implement the data interaction card supervision method provided by the embodiment of the present invention.
其中,该终端400可以包括:处理器410、存储器420及通信单元430。这些组件通过一条或多条总线进行通信,本领域技术人员可以理解,图中示出的服务器的结构并不构成对本发明的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Wherein, the terminal 400 may include: a
其中,该存储器420可以用于存储处理器410的执行指令,存储器420可以由任何类型的易失性或非易失性存储终端或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。当存储器420中的执行指令由处理器410执行时,使得终端400能够执行以下上述方法实施例中的部分或全部步骤。Wherein, the
处理器410为存储终端的控制中心,利用各种接口和线路连接整个电子终端的各个部分,通过运行或执行存储在存储器420内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行电子终端的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器410可以仅包括中央处理器(Central Processing Unit,简称CPU)。在本发明实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The
通信单元430,用于建立通信信道,从而使所述存储终端可以与其它终端进行通信。接收其他终端发送的用户数据或者向其他终端发送用户数据。The
本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include part or all of the steps in the various embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, ROM for short), or a random access memory (English: random access memory, RAM for short), and the like.
因此,本发明通过在Linux系统的驱动层以及应用层对SWITCH卡的状态进行实时监测,当出现故障时则根据故障类型上报到GUI,用户通过GUI即可查看SWITCH卡的故障,同时GUI根据故障类型提供自诊断和修复引导的过程,使得用户可以自行诊断和修复故障。以达到节省人力物力的目的,同时提升设备的操作简易性、可靠性,本实施例所能达到的技术效果可以参见上文中的描述,此处不再赘述。Therefore, the present invention monitors the status of the SWITCH card in real time at the driver layer and the application layer of the Linux system. When a fault occurs, it is reported to the GUI according to the fault type, and the user can check the fault of the SWITCH card through the GUI. The type provides self-diagnosis and repair-guided procedures, enabling users to diagnose and repair faults by themselves. In order to achieve the purpose of saving manpower and material resources, and at the same time improve the operation simplicity and reliability of the equipment, the technical effects achieved by this embodiment can be referred to the above description, and will not be repeated here.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中如U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,包括若干指令用以使得一台计算机终端(可以是个人计算机,服务器,或者第二终端、网络终端等)执行本发明各个实施例所述方法的全部或部分步骤。Those skilled in the art can clearly understand that the technologies in the embodiments of the present invention can be implemented by means of software plus a necessary general-purpose hardware platform. Based on such an understanding, the technical solutions in the embodiments of the present invention essentially or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium such as a USB flash drive, mobile Hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes, including several instructions to make a computer terminal (It may be a personal computer, a server, or a second terminal, a network terminal, etc.) Execute all or part of the steps of the methods described in the various embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。For the same and similar parts among the various embodiments in this specification, refer to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant details, refer to the description in the method embodiment.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of systems or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail in conjunction with preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those skilled in the art can make various equivalent modifications or replacements to the embodiments of the present invention, and these modifications or replacements should be within the scope of the present invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention, and all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010954585.6A CN112231170B (en) | 2020-09-11 | 2020-09-11 | Data interaction card supervision method, system, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010954585.6A CN112231170B (en) | 2020-09-11 | 2020-09-11 | Data interaction card supervision method, system, terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112231170A CN112231170A (en) | 2021-01-15 |
| CN112231170B true CN112231170B (en) | 2023-01-10 |
Family
ID=74117125
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010954585.6A Active CN112231170B (en) | 2020-09-11 | 2020-09-11 | Data interaction card supervision method, system, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112231170B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113468896B (en) * | 2021-06-25 | 2024-12-24 | 深圳市雪球科技有限公司 | Virtual bus card online repair method, device and server |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1407756A (en) * | 2001-09-10 | 2003-04-02 | 深圳市中兴通讯股份有限公司上海第二研究所 | Interface test method |
| US20050210373A1 (en) * | 2004-03-16 | 2005-09-22 | Xerox Corporation | Method and system for displaying annotated information associated with a settable variable value feature |
| US20100175022A1 (en) * | 2009-01-07 | 2010-07-08 | Cisco Technology, Inc. | User interface |
| CN102136095A (en) * | 2010-12-01 | 2011-07-27 | 北京迅捷英翔网络科技有限公司 | Method for managing properties of terminal equipment and terminal management system |
-
2020
- 2020-09-11 CN CN202010954585.6A patent/CN112231170B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1407756A (en) * | 2001-09-10 | 2003-04-02 | 深圳市中兴通讯股份有限公司上海第二研究所 | Interface test method |
| US20050210373A1 (en) * | 2004-03-16 | 2005-09-22 | Xerox Corporation | Method and system for displaying annotated information associated with a settable variable value feature |
| US20100175022A1 (en) * | 2009-01-07 | 2010-07-08 | Cisco Technology, Inc. | User interface |
| CN102136095A (en) * | 2010-12-01 | 2011-07-27 | 北京迅捷英翔网络科技有限公司 | Method for managing properties of terminal equipment and terminal management system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112231170A (en) | 2021-01-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110058920B (en) | Virtual machine performance detection method and device, electronic equipment and storage medium | |
| CN111897686A (en) | Method, device, electronic device and storage medium for processing hard disk failure of server cluster | |
| CN111475106A (en) | RAID customization creating method, system, terminal and storage medium | |
| CN114281788A (en) | A kind of BMC firmware data extraction method, device, terminal and storage medium | |
| CN111858201A (en) | A BMC comprehensive testing method, system, terminal and storage medium | |
| CN109032888A (en) | A kind of server start-up course fault detection method, device and controlled terminal | |
| CN112231170B (en) | Data interaction card supervision method, system, terminal and storage medium | |
| CN111966599A (en) | Virtualization platform reliability testing method, system, terminal and storage medium | |
| CN109032874A (en) | A kind of memory pressure test method, device, terminal and storage medium | |
| CN116680101A (en) | An operating system downtime detection method and device, elimination method and device | |
| CN107220140A (en) | The method for testing reliability and system of a kind of dual control storage system | |
| CN116467124A (en) | A RMT option configuration method, device, equipment and storage medium | |
| CN115454704A (en) | Server fault diagnosis test method, device, terminal and storage medium | |
| CN113742113B (en) | Health management method, equipment and storage medium for embedded system | |
| US12461810B2 (en) | Method for monitoring in a distributed system | |
| CN112035295A (en) | Virtual machine crash event processing method, system, terminal and storage medium | |
| CN112463504B (en) | Double-control storage product testing method, system, terminal and storage medium | |
| CN116820988A (en) | High availability test method, device, equipment and medium for distributed middleware system | |
| CN116662050A (en) | A method, device, terminal and medium for error injection support function verification | |
| CN109710483A (en) | A smashclp function testing method, device, terminal and storage medium | |
| CN116089197A (en) | Fault equipment switching exercise method, device, equipment and storage medium | |
| CN103186403A (en) | Node replacement processing method and server system using the method | |
| CN115129378A (en) | Intelligent network card starting method and device capable of being actively adjusted, storage medium and equipment | |
| TWI554876B (en) | Method for processing node replacement and server system using the same | |
| CN111327722B (en) | Method, system, terminal and storage medium for conflict detection between static IP and dynamic IP |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province Patentee after: Suzhou Yuannao Intelligent Technology Co.,Ltd. Country or region after: China Address before: Building 9, No.1, guanpu Road, Guoxiang street, Wuzhong Economic Development Zone, Wuzhong District, Suzhou City, Jiangsu Province Patentee before: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |