Method, device, system and interactive tablet for detecting abnormal startup of OPS equipment
By obtaining the identity information and power-on log information of the OPS device, it generates and analyzes abnormal fault codes, solving the problem of difficulty in quickly diagnosing abnormal power-on of the OPS device, achieving the effect of quickly determining the cause of the abnormality and improving maintenance efficiency.
Patent Information
- Application Number
- CN202110153828.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-04
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-02-04
AI Technical Summary
During the use of traditional OPS equipment and interactive tablets, problems such as no signal, inability to turn on, crashes, and black screens often occur, which makes it impossible to quickly determine the cause of the abnormality and affects normal use.
By obtaining the identity information and boot log information of the OPS device, abnormal fault codes are generated, and the abnormal fault information is obtained according to the preset mapping relationship, and displayed or sent to determine the cause of the abnormality.
Quickly determine the cause of abnormal startup of OPS equipment, save maintenance time, and improve equipment reliability and efficiency.
Smart Images

Figure CN112905373B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of OPS technology, and in particular to a method for detecting startup anomalies of an OPS device, a method, device, storage medium, system, OPS device, and an interactive tablet for reporting startup anomalies of an OPS device. Background Art
[0002] OPS (Open Pluggable Specification) devices are widely used because they can be easily plugged and unplugged with electronic devices such as interactive tablets. The inventors found that the traditional OPS devices and interactive tablets have at least the following problems during use: after turning on the OPS device, there are often problems such as no signal when the OPS device is turned on, the OPS device cannot be turned on, the OPS device crashes, and the screen is black, which makes the OPS device unable to be used normally. Due to the same abnormal phenomenon, there are often many possible reasons. Therefore, it is impossible to quickly determine the cause of the problem with the OPS device. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present application provides a method for detecting startup abnormality of an OPS device, a method for reporting startup abnormality of an OPS device, an apparatus, a storage medium, a system, an OPS device and an interactive tablet, which have the advantage of being able to quickly determine the cause of the startup abnormality of the OPS device.
[0004] According to a first aspect of an embodiment of the present application, a method for detecting a startup anomaly of an OPS device is provided, comprising the following steps:
[0005] By connecting with the OPS device, in response to the power-on operation of the OPS device, obtaining the identity information of the OPS device and the power-on log information of the OPS device;
[0006] If the startup log information contains an abnormal fault code generated by the OPS device due to abnormal startup, obtain the corresponding abnormal fault information according to the OPS device identity information, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information;
[0007] The abnormal fault information is displayed.
[0008] According to a second aspect of an embodiment of the present application, a method for reporting startup abnormalities of an OPS device is provided, comprising the following steps:
[0009] In response to a startup operation of the OPS device, when the OPS device is abnormally started, a corresponding abnormal fault code is generated in the startup log information;
[0010] Obtaining the identity information of the OPS device and the boot log information;
[0011] Control the OPS device to send the identity information and boot log information to the outside.
[0012] According to a third aspect of an embodiment of the present application, a system for detecting abnormalities when an OPS device is turned on is provided, comprising an OPS device and an interactive tablet; the OPS device is plugged into the interactive tablet;
[0013] When the OPS device is abnormally started, a corresponding abnormal fault code is generated in the startup log information, and its identity information and the startup log information are sent to the interactive tablet;
[0014] The interactive tablet receives the identity information of the OPS device and the startup log information of the OPS device; if the startup log information contains the abnormal fault code, the interactive tablet obtains the corresponding abnormal fault information based on the identity information of the OPS device, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, and displays the abnormal fault information.
[0015] According to a fourth aspect of an embodiment of the present application, a startup abnormality detection device for an OPS device is provided, comprising:
[0016] A first information acquisition module is used to obtain the identity information of the OPS device and the startup log information of the OPS device in response to the startup operation of the OPS device by connecting to the OPS device;
[0017] A second information acquisition module is used to acquire corresponding abnormal fault information according to the OPS device identity information, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and abnormal fault information corresponding to the identity information if the startup log information contains an abnormal fault code generated by the OPS device due to a startup abnormality;
[0018] The display module is used to display the abnormal fault information.
[0019] According to a fifth aspect of an embodiment of the present application, a card machine abnormality reporting device of an OPS device is provided, comprising:
[0020] A fault code generating module, for responding to a startup operation of an OPS device, and generating a corresponding abnormal fault code in startup log information when the OPS device is abnormally started;
[0021] An information acquisition module, used to acquire the identity information of the OPS device and the boot log information;
[0022] The information sending module is used to control the OPS device to send the identity information and the boot log information to the outside.
[0023] According to a sixth aspect of an embodiment of the present application, an interactive tablet is provided, comprising a display, a processor and a memory; characterized in that the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing any one of the above-mentioned power-on abnormality detection methods.
[0024] According to the seventh aspect of the embodiment of the present application, an OPS device is provided, including a display, a processor and a memory; characterized in that the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing any of the power-on abnormality reporting methods described above.
[0025] According to an eighth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that the computer program is executed by a processor to implement any of the above-mentioned methods for detecting power-on anomalies of an OPS device, or any of the above-mentioned methods for reporting power-on anomalies of an OPS device.
[0026] The embodiment of the present application obtains the identity information of the OPS device and the startup log information of the OPS device, and then obtains the corresponding abnormal fault information according to the abnormal fault code in the startup log information, the identity information of the OPS device, and the preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, and displays the abnormal fault information, so as to quickly determine the cause of the startup abnormality of the OPS device and save subsequent maintenance time.
[0027] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application.
[0028] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1A flowchart showing a method for detecting abnormal startup of an OPS device is provided for one embodiment of the present application;
[0031] Figure 2 A structural block diagram of a startup abnormality detection device for an OPS device is shown for one embodiment of the present application;
[0032] Figure 3 This is a structural block diagram of an interactive tablet shown in one embodiment of the present application;
[0033] Figure 4 A flowchart showing a method for reporting startup abnormalities of an OPS device is provided for one embodiment of the present application;
[0034] Figure 5 A structural block diagram of a startup abnormality reporting device of an OPS device is shown for one embodiment of the present application;
[0035] Figure 6 This is a structural block diagram of a startup anomaly detection system for an OPS device according to an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0037] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0038] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0039] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. The singular forms of "a", "said", and "the" used in the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. The words "if" / "if" used herein can be interpreted as "at the time of" or "when" or "in response to determination". In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0040] The application environment of the power-on anomaly detection method and the power-on anomaly reporting method of the OPS device shown in the embodiment of the present application includes an OPS (Open Pluggable Specification) device and an electronic device, and the OPS device is connected to the electronic device. Among them, OPS is a standardized digital signage interface specification jointly formulated by Intel and display manufacturers. Generally, the internal composition of the OPS device is a mini computer with an X86 architecture, which uses an Intel Core processor, is equipped with memory, hard disk, multiple input and output interfaces and a Windows operating interface, and the Windows system can be run in the OPS device. The electronic device can be any intelligent terminal with a display screen, for example, it can be specifically a computer, a mobile phone, a tablet computer, an interactive tablet, etc.; in the embodiment of the present application, the electronic device is an interactive tablet, especially an interactive tablet with a large-size display screen, and the interactive tablet generally runs an Android system. Since a lot of document writing and running of large-scale office or teaching software are needed in the fields of teaching and conference, and the Android system cannot effectively meet the above requirements, therefore, by plugging the OPS device into the interactive tablet, the Android system of the interactive tablet can be used to realize whiteboard writing, multi-tablet interaction, video conferencing and other functions, and the Windows system of the OPS device can be used to realize document writing and running of large-scale office or teaching software and other functions.
[0041] However, the inventors have found that the products that cooperate with the OPS device and the interactive tablet have at least the following problems during use: after turning on the OPS device, there are often problems such as no signal when the OPS device is turned on, the OPS device cannot be turned on, the OPS device crashes, and a black screen, which makes the OPS device unable to be used normally. Due to the same abnormal phenomenon, there are often many possible reasons. When the after-sales staff visit the site, they cannot promptly determine the cause of the abnormality, and thus cannot effectively eliminate the problem. Or, when the user reports the problem, due to the inaccurate description of the user, the maintenance staff cannot determine the cause of the abnormality, and thus cannot provide an effective maintenance plan. Based on the above problems, the embodiments of the present application provide a method for detecting abnormalities when the OPS device is turned on and a method for reporting abnormalities when the OPS device is turned on.
[0042] The embodiment of the present application discloses a method for detecting power-on anomalies of an OPS device, which is applied to an electronic device. The electronic device can implement the power-on anomaly detection method of the OPS device of the present application by pure software, or by a combination of software and hardware. The electronic device can run an application for executing the power-on anomaly detection method of the OPS device, and the application can be presented in a form that is suitable for the electronic device, such as an APP application. In some examples, it can also be presented in the form of a system plug-in, a web page plug-in, etc. The following application is described using the electronic device as an interactive tablet.
[0043] See also Figure 1 , which is a flow chart of a method for detecting abnormal startup of an OPS device provided by an embodiment of the present application. The method for detecting abnormal startup of an OPS device comprises the following steps:
[0044] Step S110: by connecting with the OPS device, in response to the power-on operation of the OPS device, obtaining the identity information of the OPS device and the power-on log information of the OPS device.
[0045] In an embodiment of the present application, the processor MCU of the interactive tablet is connected to the SIO chip of the OPS device through the UART serial port reserved by the OPS device, so as to obtain the identity information of the OPS device and the boot log information of the OPS device transmitted by the SIO chip through the processor MCU. The OPS device can be a device with 120 pins, 80 pins, or 40 pins.
[0046] The OPS device identification information is used to uniquely identify the OPS device, which may be a device serial number, or information formed by combining the device manufacturer, CPU model, and other hardware information.
[0047] Among them, when the OPS device is turned on, the OPS device detects whether each module in the OPS device exists and whether each module can work normally through the BIOS (Basic Input Output System), for example, whether the OPS device can be turned on normally, whether the PCH (Platform Controller Hub, integrated south bridge) chip is abnormal, whether the memory is abnormal, whether the graphics card chip is abnormal, whether the EDID (extended display identification data, extended display identification data) is detected, and whether the SIO (Serial Input / Output, super input and output chip) is abnormal, etc. The above detection process of the OPS device turning on will be recorded in the startup log information of the OPS device. The startup log information of the embodiment of the present application records a series of operations when the OPS device is turned on and running. It generally has no fixed format and is usually a text file that can be opened with Notepad to view the content. When an abnormality occurs at a certain stage of the OPS device startup, the OPS device will generate a corresponding abnormal fault code in the startup log information, wherein the abnormal fault code may be a character string that uniquely identifies the corresponding abnormality, such as 1PCM1, 1PCM2, 1PCM3, etc. Specifically, when the OPS device prints out an indication code after BIOS initialization, it is determined that the OPS device can be started normally; if there is no indication code, it is determined that the OPS device cannot be started normally, and an abnormal fault code such as 1PCM1 is generated at this stage; when the OPS device detects whether the PCH is abnormal, if there is an abnormality, an abnormal fault code such as 1PCM2 is generated at this stage; when the OPS device detects whether the memory is abnormal, if there is an abnormality, an abnormal fault code such as 1PCM3 is generated at this stage.
[0048] Step S120: If the startup log information contains an abnormal fault code generated by the OPS device due to a startup abnormality, the corresponding abnormal fault information is obtained according to the OPS device identity information, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information.
[0049] The present application identifies the identity information of the OPS device, and then obtains the mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, thereby obtaining the corresponding abnormal fault information, thereby avoiding the problem of misjudgment caused by different abnormal fault information corresponding to the same abnormal phenomenon in different OPS devices.
[0050] Step S130: Display the abnormal fault information.
[0051] The embodiment of the present application obtains the identity information of the OPS device and the startup log information of the OPS device by connecting to the OPS device, and then obtains the corresponding abnormal fault information according to the abnormal fault code in the startup log information, the identity information of the OPS device, and the mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the preset identity information, and displays the abnormal fault information, so as to quickly determine the cause of the startup abnormality of the OPS device and save subsequent maintenance time.
[0052] Based on the above embodiment, the displaying of the abnormal fault information includes: displaying the abnormal fault information by popping up a floating prompt box. Displaying the abnormal fault information by popping up a floating prompt box can obviously remind the user to find the fault in time.
[0053] Based on the above embodiment, the displaying of the abnormal fault information includes:
[0054] Step S131: Generate a QR code and / or an abnormal identifier according to the abnormal fault information; the abnormal fault information includes fault type information and fault resolution information.
[0055] Wherein, the abnormal identifier can be obtained according to the abnormal fault information, and the mapping relationship between the preset abnormal fault information and the preset abnormal identifier. The abnormal identifier can be any character that can uniquely identify the fault type, for example, it can be characters such as F1, F2, etc. Specifically, when the abnormal fault information is a memory fault, the abnormal identifier F2 is displayed. After training, after-sales personnel or maintenance personnel can know that it is a memory abnormality according to the abnormal identifier F2, and then can perform maintenance according to the memory abnormality processing solution such as replacing the memory. Wherein, the fault type information of the present application includes specific fault content, such as memory failure, graphics card failure, etc.; the fault resolution information is some solutions to the fault. For example, when the memory fails, the fault resolution information can be replacing the memory, etc.
[0056] Step S132: Display the QR code and / or abnormality identifier.
[0057] This application can easily determine the cause of the fault and the solution to the fault by providing a QR code and / or anomaly identifier.
[0058] On the basis of the above embodiment, the startup abnormality detection method of the OPS device further includes the following steps:
[0059] Step S140: responding to a fault information request sent by the terminal after scanning the QR code;
[0060] Step S150: Send the abnormal fault information to the terminal.
[0061] The embodiment of the present application responds to the fault information request sent by the terminal after scanning the QR code, and then sends the abnormal fault information to the terminal. The cause of the fault and the solution to the fault can be easily determined from the terminal without the need for after-sales personnel to go to the site for inspection.
[0062] The present application also provides a power-on abnormality detection device for an OPS device, which can be used to execute the content of the power-on abnormality detection method for an OPS device in the corresponding embodiment of the present application, and has corresponding functions and beneficial effects. For details not disclosed in the power-on abnormality detection device embodiment of the present application, please refer to the content of the power-on abnormality detection method for an OPS device in the present application.
[0063] See also Figure 2 , which is a schematic block diagram of a power-on abnormality detection device for an OPS device provided by an embodiment of the present application. The power-on abnormality detection device 200 for the OPS device includes:
[0064] The first information acquisition module 210 is used to obtain the identity information of the OPS device and the startup log information of the OPS device in response to the startup operation of the OPS device by connecting to the OPS device;
[0065] The second information acquisition module 220 is used to acquire corresponding abnormal fault information according to the OPS device identity information, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, if the startup log information contains an abnormal fault code generated by the OPS device due to a startup abnormality;
[0066] The display module 230 is used to display the abnormal fault information.
[0067] The embodiment of the present application obtains the identity information of the OPS device and the startup log information of the OPS device by connecting to the OPS device, and then obtains the corresponding abnormal fault information according to the abnormal fault code in the startup log information, the identity information of the OPS device, and the mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the preset identity information, and displays the abnormal fault information, so as to quickly determine the cause of the startup abnormality of the OPS device and save subsequent maintenance time.
[0068] On the basis of the above embodiment, the display module 230 is further used to: display the abnormal fault information through a floating prompt box. By popping up a floating prompt box to display the abnormal fault information, the abnormal fault information can be highlighted, and the fault can be discovered in time.
[0069] Based on the above embodiment, the display module 230 is further used to: generate a QR code and / or an abnormality identifier according to the abnormal fault information; the abnormal fault information includes fault type information and information for solving the fault. The present application can easily determine the cause of the fault and the solution to the fault by providing a QR code and / or an abnormality identifier.
[0070] On the basis of the above-mentioned embodiment, the startup abnormality detection device of the OPS device further includes a response module for responding to the fault information request issued after the terminal scans the QR code; and a sending module for sending the abnormal fault information to the terminal. The embodiment of the present application responds to the fault information request issued after the terminal scans the QR code, and then sends the abnormal fault information to the terminal, so that the cause of the fault and the solution to the fault can be easily determined from the terminal without the need for after-sales personnel to go to the site for inspection.
[0071] It is worth noting that in the embodiment of the power-on abnormality detection device of the above-mentioned OPS equipment, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0072] The present application also provides a startup abnormality detection device for an OPS device, which can be any intelligent terminal with a display screen, for example, a computer, a mobile phone, a tablet computer, an interactive tablet computer, etc. In the embodiment of the present application, the startup abnormality detection device for the OPS device is an interactive tablet computer. Figure 3 , which is a schematic block diagram of the structure of an interactive tablet provided by an embodiment of the present application. The interactive tablet 300 includes at least one processor 310 , at least one network interface 320 , a user interface 330 , a memory 340 and at least one communication bus 350 .
[0073] The communication bus 350 is used to realize the connection and communication between these components.
[0074] The user interface 330 may include a display screen and a camera. The optional user interface 330 may also include a standard wired interface and a wireless interface.
[0075] The network interface 320 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0076] Among them, the processor 310 may include one or more processing cores. The processor 310 uses various interfaces and lines to connect various parts of the entire interactive tablet 300, and executes various functions and processes data of the interactive tablet 300 by running or executing instructions, programs, code sets or instruction sets stored in the processor 310, and calling data stored in the memory 340. Optionally, the processor 310 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic arrays (Programmable logic arrays, PLA). The processor 310 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 310, but implemented separately through a chip.
[0077] The memory 340 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 340 includes a non-transitory computer-readable storage medium. The memory 340 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 340 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 340 may optionally be at least one storage device located away from the aforementioned processor 310. As Figure 3 As shown, the memory 340 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application of the smart interactive tablet.
[0078] exist Figure 3In the interactive tablet 300 shown, the user interface 330 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 310 can be used to call the operating application of the interactive tablet stored in the memory 340, and execute the relevant operations in the startup abnormality detection method of the OPS device in the above embodiment.
[0079] The above-mentioned interactive tablet can be used to execute the content of the startup abnormality detection method of the OPS device corresponding to the embodiment of the present application, and has corresponding functions and beneficial effects.
[0080] The embodiment of the present application also provides a method for reporting a startup anomaly of an OPS device, which is applied to an OPS device. The electronic OPS device can implement the startup anomaly detection method of the OPS device of the present application by pure software, or by a combination of software and hardware. The OPS device can run an application for executing the startup anomaly reporting method of the OPS device, and the application can be presented in a form suitable for the electronic device, for example, it can be an APP application. In some examples, it can also be presented in the form of, for example, a system plug-in, a web page plug-in, etc.
[0081] See also Figure 4 , which is a flow chart of a method for reporting a startup abnormality of an OPS device provided by an embodiment of the present application, and the method for reporting a startup abnormality of an OPS device comprises the following steps:
[0082] Step S410: In response to the startup operation of the OPS device, when the startup of the OPS device is abnormal, a corresponding abnormal fault code is generated in the startup log information;
[0083] Step S420: Obtain the identity information of the OPS device and the boot log information;
[0084] Step S430: Control the OPS device to send the identity information and the boot log information to the outside.
[0085] The embodiment of the present application responds to the power-on operation of the OPS device. When the OPS device powers on abnormally, a corresponding abnormal fault code is generated in the power-on log information, and the identity information and the power-on log information are sent to the outside, so that the external device can quickly determine the cause of the power-on abnormality of the OPS device, saving subsequent maintenance time.
[0086] On the basis of the above embodiment, the controlling of the OPS device to send the identity identification information and the power-on log information to the outside through the serial port includes: controlling the OPS device to send the identity identification information and the power-on log information to the outside according to a preset number of sending times and a preset sending frequency, so that when an abnormality occurs when the OPS device is started up, the external device can obtain the identity identification information and the power-on log information, thereby preventing the external device from being unable to obtain the information due to communication failure when sending a single message, and thus being unable to determine the cause of the abnormality.
[0087] The present application also provides a startup abnormality reporting device for an OPS device, which can be used to execute the contents of the startup abnormality reporting method for an OPS device in the corresponding embodiment of the present application, and has corresponding functions and beneficial effects. For details not disclosed in the startup abnormality reporting device embodiment of the present application, please refer to the contents of the startup abnormality reporting method for an OPS device in the present application. Figure 5 , which is a schematic block diagram of the structure of a startup abnormality reporting device for an OPS device provided by an embodiment of the present application, wherein the startup abnormality reporting device 500 of the OPS device includes:
[0088] A fault code generating module 510 is used to generate a corresponding abnormal fault code in the startup log information in response to the startup operation of the OPS device when the startup of the OPS device is abnormal;
[0089] An information acquisition module 520 is used to acquire the identity information of the OPS device and the boot log information;
[0090] The information sending module 530 is used to control the OPS device to send the identity information and the boot log information to the outside.
[0091] The embodiment of the present application responds to the power-on operation of the OPS device. When the OPS device powers on abnormally, a corresponding abnormal fault code is generated in the power-on log information, and the identity information and the power-on log information are sent to the outside, so that the external device can quickly determine the cause of the power-on abnormality of the OPS device, saving subsequent maintenance time.
[0092] On the basis of the above embodiment, the information sending module is also used to: control the OPS device to send the identity information and the boot log information to the outside according to a preset number of sending times and a preset sending frequency, so that when an abnormality occurs when the OPS device is started up, the external device can obtain the identity information and the boot log information, thereby preventing the external device from being unable to obtain the information due to communication failure when sending a single message, and thus being unable to determine the cause of the abnormality.
[0093] The embodiment of the present application also provides an OPS device, which includes an SIO chip, a display, a processor and a memory; the SIO chip is connected to an external device via a UART serial port. The processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts of the entire OPS device, and executes various functions and processes data of the OPS device by running or executing instructions, programs, code sets or instruction sets stored in the processor, and calling data stored in the memory. The memory may include a random access memory (RAM) or a read-only memory (Read-Only Memory). The memory can be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above various method embodiments, etc. The display is used to receive instructions from the processor to display corresponding effects.
[0094] The OPS device can be used to execute the startup abnormality reporting method of the OPS device of any embodiment, and has corresponding functions and beneficial effects.
[0095] See also Figure 6 , which is a schematic block diagram of the structure of a startup abnormality detection system for an OPS device provided by an exemplary embodiment of the present application. The startup abnormality detection system for an OPS device comprises an OPS device 600 and an interactive tablet 700; the OPS device 600 is connected to the interactive tablet 700;
[0096] When the OPS device 600 is abnormally powered on, a corresponding abnormal fault code is generated in the power-on log information, and its identity information and the power-on log information are sent to the interactive tablet 700;
[0097] The interactive tablet 700 receives the identity information of the OPS device 600 and the startup log information of the OPS device 600; if the startup log information contains the abnormal fault code, the interactive tablet 700 obtains the corresponding abnormal fault information according to the identity information of the OPS device 600, the abnormal fault code, and the preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, and displays the abnormal fault information.
[0098] The embodiment of the present application connects the OPS device 600 with the interactive tablet 700 to obtain the identity information of the OPS device 600 and the startup log information of the OPS device 600, and then obtains the corresponding abnormal fault information according to the abnormal fault code in the startup log information, the identity information of the OPS device 600, and the preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, and displays the abnormal fault information, so as to quickly determine the cause of the startup abnormality of the OPS device 600 and save subsequent maintenance time.
[0099] On the basis of the above embodiment, the SIO chip of the OPS device 600 is connected to the processor MCU of the interactive flat panel 700 through the UART serial port and the docking socket, so as to obtain the identity information of the OPS device transmitted by the SIO chip and the boot log information of the OPS device through the processor MCU. Among them, the OPS device can be a device with 120 pins, 80 pins, or 40 pins, etc., and correspondingly, a docking socket with 120 pins, 80 pins, or 40 pins, etc. is used.
[0100] Based on the above embodiment, the interactive tablet 700 generates a QR code and / or an abnormality identifier according to the abnormal fault information, and displays the QR code and / or the abnormality identifier; the abnormal fault information includes fault type information and information for resolving the fault. The present application can easily determine the cause of the fault and the solution to the fault by providing a QR code and / or an abnormality identifier.
[0101] Based on the above embodiment, the interactive tablet 700 displays the abnormal fault information through a floating prompt box. By popping up a floating prompt box to display the abnormal fault information, the abnormal fault information can be highlighted, and the fault can be discovered in time.
[0102] On the basis of the above embodiment, the OPS device 600 sends the identity information and the boot log information to the interactive tablet 700 according to a preset number of sending times and a preset sending frequency, so that when an abnormality occurs when the OPS device 600 is turned on, the interactive tablet 700 can obtain the identity information and the boot log information, thereby preventing the interactive tablet 700 from being unable to obtain information due to communication failure when sending a single message, and thus being unable to determine the cause of the abnormality.
[0103] On the basis of the above embodiment, if the startup log information contains the abnormal fault code, the OPS device 600 adds a preset fault code start sending identifier at the starting position of the abnormal fault code, and adds a preset fault code end sending identifier at the end position of the abnormal fault code, and then sends the startup log information to the interactive tablet 700; the interactive tablet 700 receives the startup log information, and determines the information between the fault code start sending identification character and the fault code end sending identification character as the abnormal fault code, so that the interactive tablet 700 can quickly and accurately identify the abnormal fault code, and then quickly obtain abnormal fault information. Among them, the fault code start sending identifier and the fault code end sending identifier are unique preset strings of the OPS device 600 and the interactive tablet 700 protocol, and the specific string form is not limited by this application.
[0104] The present application embodiment also provides a storage medium containing computer executable instructions, which are used to perform the related operations in the power-on abnormality detection method of the OPS device or the power-on abnormality reporting method of the OPS device provided in any embodiment of the present application when executed by a computer processor, and have corresponding functions and beneficial effects. Among them, computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information can be a computer-readable instruction, a data structure, a module of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape magnetic disk storage or other magnetic storage device or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0105] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0106] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for detecting abnormal startup of an OPS device, characterized in that: The steps include: When the OPS device is plugged into the interactive tablet, in response to a power-on operation of the OPS device, the interactive tablet obtains the identity information of the OPS device and the power-on log information of the OPS device; If it is determined that the startup log information contains an abnormal fault code generated by the OPS device due to a startup abnormality, the interactive tablet obtains corresponding abnormal fault information according to the OPS device identity information, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information; The abnormal fault code is generated by the OPS device in the startup log information when the OPS device detects whether each module in the OPS device exists and whether each module works normally at startup, and when an abnormality occurs at a certain stage of the startup of the OPS device; The interactive tablet displays the abnormal fault information.
2. The method for detecting abnormal startup of an OPS device according to claim 1, characterized in that: The displaying of the abnormal fault information includes: The interactive tablet generates a QR code and / or an abnormality identifier according to the abnormal fault information; the abnormal fault information includes fault type information and fault resolution information; The interactive tablet displays the QR code and / or the abnormality identifier.
3. The method for detecting abnormal startup of an OPS device according to claim 2, characterized in that: Also includes the steps: The interactive tablet responds to a fault information request sent by the terminal after scanning the QR code; The interactive tablet sends the abnormal fault information to the terminal.
4. A method for reporting startup abnormalities of an OPS device, characterized in that: The steps include: When the OPS device is plugged into the interactive tablet, in response to the power-on operation of the OPS device, the OPS device detects whether each module in the OPS device exists and whether each module works normally, and when an abnormality occurs at a certain stage of the power-on of the OPS device, the OPS device generates a corresponding abnormal fault code in the power-on log information; Obtaining the identity information of the OPS device and the boot log information; Control the OPS device to send the identity information and boot log information to the interactive tablet.
5. The method for reporting startup abnormality of an OPS device according to claim 4, characterized in that: The controlling the OPS device to send the identity information and the boot log information to the interactive tablet through the serial port includes: The OPS device is controlled to send the identity information and the boot log information to the interactive tablet according to a preset number of sending times and a preset sending frequency.
6. A startup abnormality detection system for an OPS device, characterized in that: It includes an OPS device and an interactive tablet; the OPS device is plugged into the interactive tablet; When starting up, the OPS device detects whether each module in the OPS device exists and whether each module is working normally. When an abnormality occurs at a certain stage of starting up the OPS device, the OPS device generates a corresponding abnormal fault code in the startup log information, and sends its identity information and the startup log information to the interactive tablet; The interactive tablet receives the identity information of the OPS device and the startup log information of the OPS device; if it is determined that the startup log information contains the abnormal fault code, the interactive tablet obtains the corresponding abnormal fault information based on the identity information of the OPS device, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and the abnormal fault information corresponding to the identity information, and displays the abnormal fault information.
7. The startup abnormality detection system of the OPS device according to claim 6, characterized in that: The SIO chip of the OPS device is connected to the MCU of the interactive tablet via a UART serial port.
8. The startup abnormality detection system of the OPS device according to claim 6, characterized in that: The interactive tablet generates a QR code and / or an abnormality identifier according to the abnormal fault information, and displays the QR code and / or the abnormality identifier; the abnormal fault information includes fault type information and fault resolution information.
9. The startup abnormality detection system of the OPS device according to claim 6, characterized in that: The interactive tablet displays the abnormal fault information through a floating prompt box.
10. The startup abnormality detection system of the OPS equipment according to claim 6, characterized in that: The OPS device sends the identity information and the boot log information to the interactive tablet according to a preset number of sending times and a preset sending frequency.
11. The startup abnormality detection system of the OPS device according to claim 6, characterized in that: If the startup log information contains the abnormal fault code, the OPS device adds a preset fault code start sending identifier at the start position of the abnormal fault code, adds a preset fault code end sending identifier at the end position of the abnormal fault code, and sends the startup log information to the interactive tablet; The interactive tablet receives the startup log information, and determines the information between the fault code start sending identification character and the fault code end sending identification character as the abnormal fault code.
12. A startup abnormality detection device for an OPS device, characterized in that: include: A first information acquisition module is used to acquire the identity information of the OPS device and the startup log information of the OPS device in response to the startup operation of the OPS device when the OPS device is plugged into the interactive tablet; A second information acquisition module is used to acquire corresponding abnormal fault information according to the OPS device identity information, the abnormal fault code, and a preset mapping relationship between the abnormal fault code and abnormal fault information corresponding to the identity information if it is determined that the startup log information contains an abnormal fault code generated by the OPS device due to a startup abnormality; The abnormal fault code is generated by the OPS device in the startup log information when the OPS device detects whether each module in the OPS device exists and whether each module works normally at startup, and when an abnormality occurs at a certain stage of the startup of the OPS device; The display module is used to display the abnormal fault information.
13. A startup abnormality reporting device for an OPS device, characterized in that: include: A fault code generating module is used to detect whether each module in the OPS device exists and whether each module works normally in response to the power-on operation of the OPS device when the OPS device is plugged into the interactive tablet, and to generate a corresponding abnormal fault code in the power-on log information when an abnormality occurs at a certain stage of the power-on of the OPS device; An information acquisition module, used to acquire the identity information of the OPS device and the boot log information; The information sending module is used to control the OPS device to send the identity information and the startup log information to the interactive tablet.
14. An interactive tablet, comprising a display, a processor and a memory; characterized in that: The memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the startup abnormality detection method as described in any one of claims 1 to 3.
15. An OPS device, comprising a display, a processor and a memory; characterized in that: The memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the startup abnormality reporting method as described in any one of claims 4 to 5.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting a startup abnormality of an OPS device as described in any one of claims 1 to 3 or the method for reporting a startup abnormality of an OPS device as described in any one of claims 4 and 5 is implemented.
