Device trouble reporting method, device, system, device and computer storage medium
By automatically collecting and encrypting fault logs through equipment fault reporting nodes, the complexity and security risks of manual equipment log collection in existing technologies are solved, thus achieving automation and security in equipment fault handling.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SF TECH CO LTD
- Filing Date
- 2021-05-26
- Publication Date
- 2026-04-10
AI Technical Summary
Existing equipment fault handling methods rely on manual collection of equipment logs, which is complex and poses safety risks, resulting in a cumbersome equipment fault reporting process.
The device identification is automatically obtained by the device reporting node, basic information is queried, the target log collection node is called to collect fault logs, and the logs are encrypted and sent to the preset storage node. The manufacturer node retrieves the logs from the storage node, thus realizing automated and secure fault log management.
It enables automatic collection and secure transmission of equipment fault logs, simplifies the equipment fault reporting process, and improves operational efficiency and safety.
Smart Images

Figure CN115409205B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment operation and maintenance technology, specifically to a method, apparatus, system, device, and computer storage medium for reporting equipment malfunctions. Background Technology
[0002] Equipment is an essential part of the entire computer network system. With the development of Internet technology, equipment operation and maintenance is an important part of Internet operation and maintenance work, and equipment fault management is an important link in the equipment operation and maintenance process.
[0003] Equipment operation and maintenance management includes equipment fault reporting and equipment maintenance, etc. Existing equipment fault reporting methods typically analyze collected equipment logs. When a fault is detected, the equipment logs of the faulty device are provided to the equipment manufacturer as repair information to complete the repair. This equipment fault handling method requires manual control of hardware log collection, which is time-consuming, labor-intensive, and prone to errors. Furthermore, the submission of hardware log files to manufacturers or maintenance providers lacks file security verification, posing security risks. In addition, due to the different types of equipment and their varying environments, log collection operations are complex, resulting in a cumbersome overall equipment fault reporting process. Summary of the Invention
[0004] This application provides a method, apparatus, system, device, and computer storage medium for reporting equipment faults, aiming to solve the technical problems of existing methods that rely on manual monitoring to collect equipment fault information, which involve complex log collection operations, risks associated with sending fault reports, and a cumbersome overall equipment fault reporting process.
[0005] On the one hand, this application provides a device fault reporting method, which includes the following steps:
[0006] Receive a device fault report request and obtain the device identifier associated with the device fault report request;
[0007] Query the preset device information database to obtain the basic device information corresponding to the device identifier;
[0008] Call the target log collection node corresponding to the basic information of the device, so as to collect the fault log of the target device corresponding to the device identifier through the target log collection node;
[0009] The fault log is sent to a preset storage node so that the fault log can be saved through the preset storage node;
[0010] The system receives the storage address information of the fault log fed back by the preset storage node, associates the storage address information with the device fault reporting request, and sends it to the manufacturer node corresponding to the device identifier.
[0011] In some embodiments of the present application, after the device identification corresponding device basic information is obtained by querying the preset device information library, the method comprises:
[0012] Extracting the warranty time information in the device basic information, and judging whether the target device corresponding to the device identification is in the warranty period according to the warranty time information;
[0013] If the target device corresponding to the device identification is not in the warranty period, the device fault report request is sent to the manufacturer node corresponding to the device identification;
[0014] If the target device corresponding to the device identification is in the warranty period, the step of calling the target log collection node corresponding to the device basic information is executed to collect the fault log of the target device corresponding to the device identification through the target log collection node.
[0015] In some embodiments of the present application, the calling of the target log collection node corresponding to the device basic information to collect the fault log of the target device corresponding to the device identification through the target log collection node comprises:
[0016] Extracting the physical location information in the device basic information, querying the preset node deployment information, and obtaining the log collection node identification corresponding to the physical location information;
[0017] Extracting the network environment information in the device basic information, and configuring the target log collection node corresponding to the log collection node identification according to the network environment information;
[0018] Calling the configured target log collection node to collect the fault log of the target device corresponding to the device identification through the target log collection node.
[0019] In some embodiments of the present application, after the calling of the target log collection node corresponding to the device basic information to collect the fault log of the target device corresponding to the device identification through the target log collection node, the method comprises:
[0020] Querying the preset encryption algorithm mapping relationship, obtaining the target encryption algorithm corresponding to the device identification, and performing encryption processing on the fault log according to the target encryption algorithm;
[0021] When it is detected that the encryption of the fault log is completed, the step of sending the fault log to the preset storage node to save the fault log through the preset storage node is executed.
[0022] In some embodiments of the present application,
[0023] The method comprises the following steps:
[0024] Inquiring a preset storage time relationship to obtain a target storage time corresponding to the device identifier;
[0025] Associating the fault log with the target storage time, and performing the step of sending the fault log to a preset storage node to save the fault log by the preset storage node;
[0026] When the target storage time is reached, sending a log deletion instruction to the preset storage node to control the deletion of the fault log in the preset storage node.
[0027] In some embodiments of the present application,
[0028] The method comprises the following steps:
[0029] After detecting that the manufacturer node subscribes to the fault log of the storage address information, deleting the fault log;
[0030] When detecting that the manufacturer node completes the update of the target device, obtaining device basic information of the updated target device, and sending the updated device basic information to a preset device information library.
[0031] On the other hand, the present application also provides a device trouble shooting device, which comprises:
[0032] The request receiving module is configured to receive a device trouble shooting request and obtain a device identifier associated in the device trouble shooting request;
[0033] The information obtaining module is configured to inquire a preset device information library and obtain device basic information corresponding to the device identifier;
[0034] The calling module is configured to call a target log collection node corresponding to the device basic information to collect a fault log of a target device corresponding to the device identifier by the target log collection node;
[0035] The sending and saving module is configured to send the fault log to a preset storage node to save the fault log by the preset storage node;
[0036] The associated sending module is used to receive the storage address information of the fault log fed back by the preset storage node, associate the storage address information with the device fault reporting request, and send it to the manufacturer node corresponding to the device identifier.
[0037] On the other hand, this application also provides a device fault reporting system, which includes a device fault reporting node, a log collection node, and a preset storage node connected in communication. The device fault reporting system performs the following steps:
[0038] The device fault reporting node is used to receive device fault reporting requests and obtain the device identifier associated in the device fault reporting request.
[0039] The device fault reporting node is used to query a preset device information database to obtain the basic device information corresponding to the device identifier;
[0040] The device fault reporting node is used to call the target log collection node corresponding to the basic information of the device.
[0041] The log collection node is used to collect the fault logs of the target device corresponding to the device identifier, and send the fault logs to the device reporting node;
[0042] The device fault reporting node is used to receive fault logs sent by the log collection node and send the fault logs to a preset storage node;
[0043] A preset storage node is used to receive the fault logs sent by the device fault reporting node and send the storage address of the fault logs to the device fault reporting node.
[0044] The device fault reporting node is used to receive the storage address information of the fault log fed back by the preset storage node, associate the storage address information with the device fault reporting request, and send it to the manufacturer node corresponding to the device identifier.
[0045] On the other hand, this application also provides a device fault reporting device, which includes any one or more of a device fault reporting node, a log collection node, and a preset storage node, and the device fault reporting device is configured with:
[0046] One or more processors;
[0047] Memory; and
[0048] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the device fault reporting method.
[0049] In another aspect, the present application also provides a computer storage medium, which stores a computer program, and the computer program is loaded by a processor to execute the steps of the device fault reporting method.
[0050] The device fault reporting method provided by the present application comprises the following steps: a device fault reporting node receives a device fault reporting request, and obtains a device identifier associated in the device fault reporting request; a preset device information library is queried to obtain device basic information corresponding to the device identifier; a target log collection node corresponding to the device basic information is called to collect fault logs of a target device corresponding to the device identifier through the target log collection node; the fault logs are sent to a preset storage node to save the fault logs through the preset storage node; storage address information of the fault logs fed back by the preset storage node is received, the storage address information is associated with the device fault reporting request, and the storage address information is sent to a manufacturer node corresponding to the device identifier. In the embodiment of the present application, a plurality of log collection nodes are deployed in advance, the log collection nodes are called to collect fault logs according to device basic information, automatic collection of fault logs is realized, the collected fault logs are sent to a preset storage node, a manufacturer node queries the preset storage node to obtain fault logs, and the manufacturer node does not need to directly obtain fault reporting logs from a device fault reporting node, so that the safety of the device fault reporting node is ensured. The device fault reporting node is used as a control center of a device fault reporting process, automatic control and adjustment of the device fault reporting process are realized, and the device fault reporting process is simple and standard. BRIEF DESCRIPTION OF DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0052] Figure 1 is a scene schematic diagram of the device fault reporting method provided by the present application;
[0053] Figure 2 is an embodiment flowchart of the device fault reporting method in the embodiment of the present application;
[0054] Figure 3 is an embodiment flowchart of the device fault reporting method in the embodiment of the present application according to the device warranty period for device fault reporting;
[0055] Figure 4 is an embodiment flowchart of the device fault reporting method provided by the present application, in which a target log collection node is called to collect fault logs;
[0056] Figure 5is a flowchart of one embodiment of the fault log encryption management in the device fault reporting method provided in the embodiments of the present application;
[0057] Figure 6 is a flowchart of one embodiment of the fault log deletion management in the device fault reporting method provided in the embodiments of the present application;
[0058] Figure 7 is a flowchart of one embodiment of the device basic information update in the device fault reporting method provided in the embodiments of the present application;
[0059] Figure 8 is a structural schematic diagram of one embodiment of the device fault reporting apparatus provided in the embodiments of the present application;
[0060] Figure 9 is a specific scene schematic diagram of one embodiment of the device fault reporting system provided in the embodiments of the present application;
[0061] Figure 10 is a structural schematic diagram of one embodiment of the device fault reporting device provided in the embodiments of the present application. DETAILED DESCRIPTION
[0062] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, 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 those skilled in the art without creative work fall within the scope of the present application.
[0063] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation of the present application. In addition, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features limited by "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise specifically limited.
[0064] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0065] This application provides a device fault reporting method, apparatus, system, device, and computer storage medium, which will be described in detail below.
[0066] The device fault reporting method in this embodiment of the invention is applied to a device fault reporting device, which is set in a device fault reporting node. The device fault reporting node is provided with one or more processors, a memory, and one or more applications, wherein one or more applications are stored in the memory and configured to be executed by the processor to implement the device fault reporting method. The device fault reporting node can be a terminal, such as a mobile phone or a tablet computer. The device fault reporting node can also be a server or a service cluster composed of multiple servers.
[0067] like Figure 1 As shown, Figure 1 This is a schematic diagram of a device fault reporting method according to an embodiment of the present application. The device fault reporting scenario in this embodiment includes a device fault reporting node 100 (the device fault reporting node 100 integrates a device fault reporting device). The device fault reporting node 100 runs a computer storage medium corresponding to the device fault reporting to execute the device fault reporting steps.
[0068] Understandable, Figure 1 The device fault reporting nodes in the device fault reporting scenario shown, or the devices contained in the device fault reporting nodes, do not constitute a limitation on the embodiments of the present invention. That is, the number of devices, systems, and types of devices contained in the device fault reporting scenario, or the number and types of devices contained in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0069] In this embodiment of the invention, the device fault reporting node 100 is mainly used for: receiving a device fault reporting request and obtaining the device identifier associated with the device fault reporting request; querying a preset device information database to obtain the basic device information corresponding to the device identifier; calling the target log collection node corresponding to the basic device information to collect the fault log of the target device corresponding to the device identifier through the target log collection node; sending the fault log to a preset storage node to save the fault log through the preset storage node; receiving the storage address information of the fault log fed back by the preset storage node, associating the storage address information with the device fault reporting request, and sending it to the manufacturer node corresponding to the device identifier.
[0070] In this embodiment of the invention, the device reporting node 100 can be an independent device reporting node, or a network or cluster of device reporting nodes. For example, the device reporting node 100 described in this embodiment includes, but is not limited to, a computer, a network host, a single network device reporting node, a set of multiple network device reporting nodes, or a cloud device reporting node composed of multiple device reporting nodes. The cloud device reporting node is composed of a large number of computer or network device reporting nodes based on cloud computing.
[0071] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The more or fewer device fault reporting nodes shown, or the network connection relationship of device fault reporting nodes, for example Figure 1 Only one device fault reporting node is shown in the figure. It is understood that the scenario of this device fault reporting method may also include one or more other device fault reporting nodes, which are not limited here. The device fault reporting node 100 may also include a memory for storing device fault reporting related data.
[0072] Furthermore, in the device fault reporting scenario of this application, the device fault reporting node 100 can be equipped with a display device, or the device fault reporting node 100 can be connected to an external display device 200 without a display device. The display device 200 is used to output the result of the device fault reporting method executed in the device fault reporting node. The device fault reporting node 100 can access the background database 300, which can be located in the local storage of the device fault reporting node or in the cloud. The background database 300 stores information related to device fault reporting.
[0073] It should be noted that, Figure 1The scene schematic diagram of the device fault reporting method shown is only an example, and the scene of the device fault reporting described in the embodiments of the present application is used to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application.
[0074] As shown in Figure 2 , Figure 2 An embodiment flowchart of the device fault reporting method in the embodiments of the present application is shown.
[0075] The steps of the device fault reporting method in the embodiments include 201-205:
[0076] 201, receiving a device fault reporting request, and obtaining a device identifier associated in the device fault reporting request.
[0077] The device fault reporting method in the embodiments is applied to a device fault reporting node, and the type of the device fault reporting node is not specifically limited, for example, the device fault reporting node is a client or a server.
[0078] The device fault reporting node receives a device fault reporting request, wherein the triggering mode of the device fault reporting request is not specifically limited, that is, the device fault reporting request can be triggered by a user, for example, the user inputs the information of "device fault reporting" in the display interface of the device fault reporting node to actively trigger the device fault reporting request; in addition, the device fault reporting request can also be automatically triggered by the device fault reporting node, for example, the device fault reporting node is pre-set to automatically trigger the device fault reporting request when the device maintenance date is reached, and the device fault reporting node detects the device maintenance date to automatically trigger the device fault reporting request.
[0079] After the device fault reporting node receives the device fault reporting request, the device fault reporting node obtains the device identifier associated in the device fault reporting request, and the device identifier is the unique identification information of the target device that needs to be monitored and reported, for example, the device identifier can be a device code or a device name.
[0080] 202, querying a preset device information library to obtain device basic information corresponding to the device identifier.
[0081] The preset device information library in the device fault reporting node, wherein the device information library stores the device basic information of the target device that needs to be monitored and reported, for example, the device information library stores the device identifier, the device model, the device production date, the device production batch, the device maintenance date, the warranty time information, the device manufacturer, the device part information, the physical location information and the device network environment information, etc.
[0082] The device troubleshooting node queries a preset device information library to obtain device basic information corresponding to the device identifier, wherein the device basic information includes device model, device production date, device production batch, device maintenance date, warranty time information, device manufacturer, device part information, physical location information, and device network environment information, etc.
[0083] 203, calling a target log collection node corresponding to the device basic information to collect the fault log of the target device corresponding to the device identifier through the target log collection node.
[0084] In this embodiment, a plurality of log collection nodes are deployed in advance, and the log collection nodes are connected to the device troubleshooting node and the target device through wired or wireless communication. The log collection nodes collect the fault log of the target device and send it to the device troubleshooting node.
[0085] After obtaining the device basic information, the device troubleshooting node analyzes the device basic information to determine the physical location information and the device network environment information in the device basic information. The device troubleshooting node obtains the collection node identifier corresponding to the physical location information and the device network environment information. The device troubleshooting node calls the target log collection node corresponding to the collection node identifier to collect the fault log of the target device corresponding to the device identifier through the target log collection node.
[0086] In this embodiment, the device troubleshooting node calls the target log collection node corresponding to the device basic information to collect the fault log, which can ensure the comprehensiveness of the troubleshooting content collection and the convenience of the target log collection node.
[0087] 204, sending the fault log to a preset storage node to save the fault log through the preset storage node.
[0088] In this embodiment, the preset storage node is used to store the fault log. The preset storage node is set in the cloud rather than in the local storage of the device troubleshooting node. In this way, the troubleshooting log is not directly obtained from the device troubleshooting node, which can avoid malicious attacks on the device troubleshooting node. At the same time, the fault log is managed through the preset storage node to ensure data security.
[0089] For example, the preset storage node can be an FTP server (English full name: File Transfer Protocol, File Transfer Protocol); FTP is one of the protocols in the TCP / IP protocol group, and the FTP protocol includes two components, one of which is an FTP server, and the other is an FTP client; wherein the FTP server is used to store files, and users can use the FTP client to access the resources located on the FTP server through the FTP protocol. In addition, since the FTP transmission efficiency is very high, when transmitting large files on the network, this protocol is generally used; or the preset storage node OSS (English full name: Object Storage Service, Chinese full name: cloud storage service) OSS is a mass, safe, low-cost, and high-persistent cloud storage service provided by Ali Cloud.
[0090] The device troubleshooting node sends the fault log to the preset storage node to save the fault log to the preset storage node, the preset storage node saves the fault log, and sends the storage address information of the saved fault log to the device troubleshooting node.
[0091] 205, receiving the storage address information of the fault log fed back by the preset storage node, associating the storage address information with the device troubleshooting request, and sending to the manufacturer node corresponding to the device identifier.
[0092] The device troubleshooting node is used for receiving the storage address information of the fault log fed back by the preset storage node, and the device troubleshooting node associates the storage address information with the device troubleshooting request and sends to the manufacturer node corresponding to the device identifier, so that the manufacturer node can troubleshoot the target device.
[0093] In the embodiment of the application, a plurality of log collection nodes are deployed in advance, the log collection nodes are called according to the device basic information to collect the fault log, the automatic collection of the fault log is realized, the collected fault log is sent to the preset storage node, the manufacturer node queries the preset storage node to obtain the fault log, and the manufacturer node does not need to directly obtain the troubleshooting log from the device troubleshooting node, thereby ensuring the safety of the device troubleshooting node. The device troubleshooting node serves as the control center of the device troubleshooting process, realizes the automatic control and adjustment of the device troubleshooting process, and the device troubleshooting process is simple and standardized.
[0094] In the embodiment, the device basic information is saved in the preset device information library of the device troubleshooting node, and the device basic information includes warranty time information. The device troubleshooting node can determine whether to collect the fault log according to the warranty time information. Specifically,
[0095] As shown in Figure 3 , the device troubleshooting method in the embodiment of the application is an embodiment process diagram according to the device warranty period. Figure 3 As shown in
[0096] In some embodiments of the present application, the device troubleshooting method comprises steps 301-303 as follows:
[0097] 301, extracting warranty time information in the device basic information, and judging whether the target device corresponding to the device identifier is in the warranty period according to the warranty time information.
[0098] The device troubleshooting node extracts the warranty time information in the device basic information, the device troubleshooting node acquires current time information, and the device troubleshooting node compares the current time information with the warranty time information to judge whether the target device corresponding to the device identifier is in the warranty period.
[0099] 302, if the target device corresponding to the device identifier is not in the warranty period, the device troubleshooting request is sent to the manufacturer node corresponding to the device identifier.
[0100] If the target device corresponding to the device identifier is not in the warranty period, the device troubleshooting node sends the device troubleshooting request to the manufacturer node corresponding to the device identifier, so that the device manufacturer can timely maintain the device information.
[0101] 303, if the target device corresponding to the device identifier is in the warranty period, the step of calling the target log collection node corresponding to the device basic information is executed to collect the fault log of the target device corresponding to the device identifier through the target log collection node.
[0102] If the target device corresponding to the device identifier is in the warranty period, the device troubleshooting node executes the step of calling the target log collection node corresponding to the device basic information to collect the fault log of the target device corresponding to the device identifier through the target log collection node. In this embodiment, before the fault log collection, it is analyzed whether the target device is in the warranty period, so that when the device is out of the warranty period, the troubleshooting operation is directly performed, so that the device can be timely repaired.
[0103] Referring to Figure 4 , Figure 4 is a flowchart of an embodiment of the device troubleshooting method provided in the present application.
[0104] In some embodiments of the present application, the device troubleshooting node calling the target log collection node to collect the fault log comprises steps 401-403 as follows:
[0105] 401, extracting the physical location information in the device basic information, querying the preset node deployment information, and acquiring the log collection node identifier corresponding to the physical location information.
[0106] The preset node deployment information in the device fault reporting node in the embodiment is the pre-stored deployment information of the log collection node. For example, the preset node deployment information stores the log collection node identifier of the log collection node, the physical location information of the log collection node, the network information of the log collection node, and the like.
[0107] The device fault reporting node extracts the physical location information in the device basic information, queries the preset node deployment information, and obtains the log collection node identifier corresponding to the physical location information. The log collection node identifier refers to the identifier information for uniquely identifying the log collection node. For example, the log collection node identifier refers to the number or name of the log collection node.
[0108] 402, extract the network environment information in the device basic information, and configure the target log collection node corresponding to the log collection node identifier according to the network environment information.
[0109] The device fault reporting node extracts the network environment information in the device basic information, and configures the target log collection node corresponding to the log collection node identifier according to the network environment information. That is, the network environment of the target device includes a production environment, a disaster recovery environment, and a test environment. Different network environments correspond to different information collected by the target device. The device fault reporting node configures the target log collection node corresponding to the log collection node identifier according to the network environment information, so that the information collected by the target log collection node is more comprehensive and accurate.
[0110] 403, call the configured target log collection node to collect the fault log of the target device corresponding to the device identifier through the target log collection node.
[0111] The device fault reporting node calls the configured target log collection node to collect the fault log of the target device corresponding to the device identifier through the target log collection node, and sends the collected fault log to the preset storage node.
[0112] In the embodiment of the application, the device fault reporting node calls the corresponding target log collection node according to the device basic information, determines the log collection node identifier according to the physical location of the target device, and calls the nearest log collection node to collect the fault log, so that the log collection is more convenient. At the same time, the target log collection node is configured, and the fault log of the target device corresponding to the device identifier is collected through the target log collection node, so that the collected fault log is more comprehensive and accurate.
[0113] Reference Figure 5 , Figure 5 is a flowchart of an embodiment of the fault log encryption management in the device fault reporting method provided in the embodiment of the application.
[0114] In some embodiments of the present application, the device fault reporting method further comprises steps 501-502:
[0115] 501, querying a preset encryption algorithm mapping relationship, obtaining a target encryption algorithm corresponding to the device identifier, and performing encryption processing on the fault log according to the target encryption algorithm.
[0116] The preset encryption algorithm mapping relationship in the device fault reporting node is the correspondence between the preset encryption algorithm and the device identifier.
[0117] The device fault reporting node queries the preset encryption algorithm mapping relationship, obtains the target encryption algorithm corresponding to the device identifier, and the encryption algorithm includes but is not limited to MD5, sha-2, sha-3, bcrypt, SM3, and AES. The device fault reporting node performs encryption processing on the fault log according to the target encryption algorithm.
[0118] It can be understood that partial encryption can be performed in this embodiment, for example, the device fault reporting node determines whether to encrypt according to the fault type, that is, the device fault reporting node analyzes the fault log to obtain the fault type in the fault log. For example, the device fault reporting node extracts the keyword in the fault log, the device fault reporting node analyzes the keyword to determine the cause of the fault, thereby determining the fault type. Among them, the fault type can be set to different classifications according to different classification standards, for example, it can be divided into software fault and hardware fault according to the cause of the fault. If the fault type is a target fault type, the target fault type can be set according to specific requirements, for example, the target fault type is a hardware fault type, and the fault log is encrypted when the fault type is a hardware fault type.
[0119] 502, when it is detected that the encryption of the fault log is completed, the step of sending the fault log to a preset storage node to save the fault log through the preset storage node is performed.
[0120] When the device fault reporting node detects that the encryption of the fault log is completed, the device fault reporting node performs the step of sending the fault log to a preset storage node to save the fault log through the preset storage node.
[0121] In this embodiment, the device fault reporting node encrypts the fault log and sends the encrypted fault log to the preset storage node, which can ensure the security of the fault log and avoid leakage of the fault log during transmission.
[0122] Referring to Figure 6 , Figure 6 is a flowchart of an embodiment of the device fault reporting method provided in the present application for deleting and managing the fault log.
[0123] In some embodiments of the present application, the device fault reporting method further comprises steps 601-603:
[0124] 601, querying a preset storage time relationship to obtain a target storage time corresponding to the device identifier.
[0125] The device fault reporting node has a preset storage time relationship, which is a pre-set mapping relationship between the device identifier and the storage time. For example, the preset storage time relationship stores the storage time of xxx device as one month. The device fault reporting node queries the preset storage time relationship to obtain the target storage time corresponding to the device identifier.
[0126] 602, associate the fault log with the target storage time, and perform the step of sending the fault log to the preset storage node to save the fault log through the preset storage node.
[0127] The device fault reporting node associates the fault log with the target storage time, and the device fault reporting node performs the step of sending the fault log to the preset storage node to save the fault log through the preset storage node.
[0128] 603, when the target storage time is reached, send a log deletion instruction to the preset storage node to control the deletion of the fault log in the preset storage node.
[0129] The device fault reporting node sends a log deletion instruction to the preset storage node to control the deletion of the fault log in the preset storage node when the target storage time is reached. In this embodiment, the device fault reporting node can control the automatic deletion of the fault log in the preset storage node, so that there is storage space in the preset storage node, avoiding the waste of storage space.
[0130] Reference Figure 7 , Figure 7 is a flowchart of an embodiment of the device fault reporting method provided in the present application.
[0131] In some embodiments of the present application, the device fault reporting method further comprises steps 701-702:
[0132] 701, after detecting that the manufacturer node subscribes to the fault log of the storage address information, delete the fault log;
[0133] The device fault reporting node monitors the fault log information in real time, and after detecting that the manufacturer node subscribes to the fault log of the storage address information, the device fault reporting node controls to delete the fault log in the preset storage node, realizing the self-destruction after reading.
[0134] 702, when detecting that the vendor node completes the target device update, obtaining device basic information of the target device update, and sending the updated device basic information to a preset device information library.
[0135] After the vendor node repairs the target device, the vendor device reports the maintenance progress to the device troubleshooting node. When detecting that the vendor node completes the target device update, the device troubleshooting node obtains device basic information of the target device update, and the device troubleshooting node sends the updated device basic information to a preset device information library. In the embodiment, the device troubleshooting node can update the device basic information to ensure the real-time performance of the device basic information.
[0136] As shown in Figure 8 , Fig. 1 is a schematic structural diagram of an embodiment of a device troubleshooting apparatus. Figure 8
[0137] To better implement the device troubleshooting method in the embodiments of the present application, on the basis of the device troubleshooting method, the embodiments of the present application further provide a device troubleshooting apparatus. The device troubleshooting apparatus comprises the following modules 801-805.
[0138] The request receiving module 801 is configured to receive a device troubleshooting request and obtain a device identifier associated in the device troubleshooting request.
[0139] The information obtaining module 802 is configured to query a preset device information library and obtain device basic information corresponding to the device identifier.
[0140] The calling collecting module 803 is configured to call a target log collecting node corresponding to the device basic information, so as to collect a fault log of a target device corresponding to the device identifier through the target log collecting node.
[0141] The sending and saving module 804 is configured to send the fault log to a preset storage node, so as to save the fault log through the preset storage node.
[0142] The association sending module 805 is configured to receive storage address information of the fault log fed back by the preset storage node, associate the storage address information with the device troubleshooting request, and send to a vendor node corresponding to the device identifier.
[0143] In some embodiments of the present application, the device troubleshooting apparatus comprises:
[0144] The warranty time information in the device basic information is extracted, and whether the target device corresponding to the device identifier is in the warranty period is determined according to the warranty time information.
[0145] If the target device corresponding to the device identifier is not in the warranty period, the device fault reporting request is sent to a vendor node corresponding to the device identifier;
[0146] If the target device corresponding to the device identifier is in the warranty period, a target log collection node corresponding to the device basic information is called to collect the fault log of the target device corresponding to the device identifier through the target log collection node.
[0147] In some embodiments of the present application, the calling collection module 803 comprises:
[0148] The physical location information in the device basic information is extracted, preset node deployment information is queried, and the log collection node identifier corresponding to the physical location information is obtained;
[0149] The network environment information in the device basic information is extracted, and the target log collection node corresponding to the log collection node identifier is configured according to the network environment information;
[0150] The target log collection node after the configuration is called to collect the fault log of the target device corresponding to the device identifier through the target log collection node.
[0151] In some embodiments of the present application, the device fault reporting device comprises:
[0152] A preset encryption algorithm mapping relationship is queried, a target encryption algorithm corresponding to the device identifier is obtained, and the fault log is encrypted according to the target encryption algorithm;
[0153] When it is detected that the encryption of the fault log is completed, the step of sending the fault log to a preset storage node to save the fault log through the preset storage node is performed.
[0154] In some embodiments of the present application, the device fault reporting device comprises:
[0155] A preset saving time relationship is queried, and a target saving time corresponding to the device identifier is obtained;
[0156] The fault log is associated with the target saving time, and the step of sending the fault log to a preset storage node to save the fault log through the preset storage node is performed;
[0157] When the target saving time is reached, a log deletion instruction is sent to the preset storage node to control the deletion of the fault log in the preset storage node.
[0158] In some embodiments of the present application, the device fault reporting device comprises:
[0159] after detecting that the vendor node subscribes the fault log of the storage address information, deleting the fault log;
[0160] after detecting that the vendor node is updated to the target device, obtaining device basic information of the target device update, and sending the updated device basic information to a preset device information library.
[0161] In the embodiment of the application, a plurality of log collection nodes are deployed in advance, the device trouble shooting device collects fault logs by calling the log collection nodes according to the device basic information, and the automatic collection of the fault logs is realized. The collected fault logs are sent to a preset storage node, and the vendor node queries the preset storage node to obtain the fault logs. The vendor node does not need to directly obtain the trouble shooting logs from the device trouble shooting node, and the safety of the device trouble shooting node is ensured. The device trouble shooting node is the control center of the device trouble shooting process, and the automatic control and adjustment of the device trouble shooting process are realized. The device trouble shooting process is simple and standard.
[0162] The embodiment of the application also provides a device trouble shooting system, which comprises a device trouble shooting node, a log collection node and a preset storage node connected in communication, and performs the following steps:
[0163] The device trouble shooting node is used for receiving a device trouble shooting request and obtaining a device identifier associated in the device trouble shooting request.
[0164] The device trouble shooting node is used for querying a preset device information library and obtaining device basic information corresponding to the device identifier.
[0165] The device trouble shooting node is used for calling a target log collection node corresponding to the device basic information.
[0166] The log collection node is used for collecting fault logs of a target device corresponding to the device identifier and sending the fault logs to the device trouble shooting node.
[0167] The device trouble shooting node is used for receiving the fault logs sent by the log collection node and sending the fault logs to a preset storage node.
[0168] The preset storage node is used for receiving the fault logs sent by the device trouble shooting node and sending a storage address of the fault logs to the device trouble shooting node.
[0169] The device trouble shooting node is used for receiving the storage address information of the fault logs fed back by the preset storage node, associating the storage address information with the device trouble shooting request, and sending the storage address information to a vendor node corresponding to the device identifier.
[0170] Reference Figure 9 , Figure 9is an embodiment of the device fault reporting system provided in the embodiment of the application, and is a specific scene schematic diagram;
[0171] The device fault reporting system in the embodiment is characterized in that the log collection nodes are deployed in multiple nodes in different available areas and perform load balancing to call collection tasks, one node continues to provide services after another node is down, and the reliability of the system is ensured; each node corresponding to log collection is connected to an IP network segment corresponding to the available area; the collected log packets are encrypted and uploaded to a storage medium to be converted into downloadable links; an expiration time is set for the log packets uploaded to the storage medium, and historical logs are cleared regularly; the nodes covered in the whole hardware fault reporting process include but are not limited to user fault reporting, log analysis, change arrangement, fault record and fault report; when the user reports a fault, the system displays historical fault records according to the device serial number.
[0172] The device fault reporting node selects accurate fault reporting objects according to whether the target device is out of warranty; the device fault reporting node automatically matches the target log collection node of the corresponding available area to perform log collection according to the device location; the log automatic collection process supports manual stopping, and supports manual collection and uploading of log files after stopping collection; the system encrypts the uploaded files and reports faults to the manufacturer node or the service provider node; the device fault reporting node supports collected log types including but not limited to in-band log, out-of-band log and black box log and other required log files.
[0173] The device fault reporting node solves the problem of inconvenient handover and follow-up after early, middle and late shift changes through fault reporting process control; the fully automatic fault reporting solves the problem of time-consuming and labor-intensive manual fault reporting; the device fault reporting node solves the problems of occupying email resources for sending log files and the need to split multiple emails for sending large files by storing logs in a preset storage node; the automatic collection and encryption of log files eliminate the risk of leakage of company confidential files without manual intervention; the stability of the log collection node is improved through multi-node deployment and load balancing, and one node can still provide services normally when another node is down; the fault reporting to manufacturers or maintenance service providers is diversified, including but not limited to email and API, solving the problem of single interface.
[0174] The embodiment of the application also provides a device fault reporting device, which includes any one or more of a device fault reporting node, a log collection node and a preset storage node; as shown in Figure 10 , the device fault reporting device includes any one or more of a device fault reporting node, a log collection node and a preset storage node; as shown in Figure 10 An embodiment structure schematic diagram of the device fault reporting device provided in the embodiment of the application.
[0175] The device fault reporting device integrates any device fault reporting device provided in the embodiment of the application, and the device fault reporting device is provided with:
[0176] one or more processors;
[0177] a memory; and
[0178] one or more application programs, wherein the one or more application programs are stored in the memory and configured to perform the steps of the device troubleshooting method in any of the device troubleshooting method embodiments described above by the processor.
[0179] In particular, the device troubleshooting device can include a processor 901 with one or more processing cores, a memory 902 with one or more computer storage media, a power supply 903, an input unit 804, and the like. Those skilled in the art can understand that the device troubleshooting device structure shown in the figure does not constitute a limitation on the device troubleshooting device, and can include more or fewer components than shown, or combine certain components, or different component arrangements. Among them: Figure 10 The processor 901 is the control center of the device troubleshooting device, which connects various parts of the device troubleshooting device through various interfaces and lines, and performs various functions of the device troubleshooting device and processes data by running or executing software programs and / or modules stored in the memory 902, and calling data stored in the memory 902, thereby overall monitoring the device troubleshooting device. Optionally, the processor 901 can include one or more processing cores; preferably, the processor 901 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 901.
[0180] The memory 902 can be used to store software programs and modules, and the processor 901 performs various function applications and data processing by running the software programs and modules stored in the memory 902. The memory 902 can mainly include a program storage area and a data storage area, wherein the program storage area can store the operating system, at least one application program required by the function (such as sound playing function, training playing function, etc.), etc.; the data storage area can store data created according to the use of the device troubleshooting device, etc. In addition, the memory 902 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 902 can also include a memory controller to provide the processor 901 with access to the memory 902.
[0181]
[0182] The device troubleshooting device further comprises a power supply 903 for supplying power to each component. Preferably, the power supply 903 can be logically connected to the processor 901 through a power management system, so as to realize functions such as management of charging, discharging and power consumption management through the power management system. The power supply 903 can further comprise one or more than one direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power state indicator and any other component.
[0183] The device troubleshooting device can further comprise an input unit 804, which can be used to receive inputted digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0184] Although not shown, the device troubleshooting device can further comprise a display unit and the like, which will not be described here. In the embodiment, the processor 901 in the device troubleshooting device loads one or more than one executable file corresponding to the process of an application program into the memory 902 according to the following instructions, and runs the application program stored in the memory 902 by the processor 901, so as to realize various functions, such as the following:
[0185] receiving a device troubleshooting request and obtaining a device identifier associated in the device troubleshooting request;
[0186] querying a preset device information library to obtain device basic information corresponding to the device identifier;
[0187] calling a target log collection node corresponding to the device basic information, so as to collect a fault log of a target device corresponding to the device identifier through the target log collection node;
[0188] sending the fault log to a preset storage node, so as to save the fault log through the preset storage node;
[0189] receiving storage address information of the fault log fed back by the preset storage node, associating the storage address information with the device troubleshooting request, and sending the storage address information to a manufacturer node corresponding to the device identifier.
[0190] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by relevant hardware controlled by the instructions, which can be stored in a computer storage medium and loaded and executed by a processor.
[0191] To this end, the embodiment of the present application provides a computer storage medium, which can include a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. A computer program is stored on the computer storage medium, and the computer program is loaded by a processor to execute steps in any device fault reporting method provided by the embodiment of the present application. For example, the computer program loaded by the processor can execute the following steps:
[0192] receiving a device fault reporting request, and obtaining a device identifier associated in the device fault reporting request;
[0193] querying a preset device information library to obtain device basic information corresponding to the device identifier;
[0194] calling a target log collection node corresponding to the device basic information, so as to collect a fault log of a target device corresponding to the device identifier through the target log collection node;
[0195] sending the fault log to a preset storage node, so as to save the fault log through the preset storage node;
[0196] receiving storage address information of the fault log fed back by the preset storage node, associating the storage address information with the device fault reporting request, and sending the storage address information to a manufacturer node corresponding to the device identifier.
[0197] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in an embodiment can be referred to the detailed description of other embodiments above, which will not be repeated here.
[0198] In a specific implementation, each unit or structure above can be implemented as an independent entity, or can be combined as the same or several entities, and the specific implementation of each unit or structure can be referred to the method embodiments above, which will not be repeated here.
[0199] The specific implementation of each operation can be referred to the above embodiments, which will not be repeated here.
[0200] The above describes in detail a device fault reporting method provided by the embodiment of the present application, and the principle and implementation manner of the present application are described by using specific examples. The above embodiment is only used to help understand the method and its core idea of the present application. Meanwhile, according to the idea of the present application, the specific implementation manner and application range can be changed by those skilled in the art, and the above description should not be understood as a limitation of the present application.
Claims
1. A method of reporting a fault of a device, characterized by, The device fault reporting method comprises: receiving a device fault reporting request through a device fault reporting node, and obtaining a device identifier associated in the device fault reporting request; querying a preset device information library through the device fault reporting node to obtain device basic information corresponding to the device identifier; calling a target log collection node corresponding to the device basic information from a plurality of log collection nodes through the device fault reporting node, collecting fault logs of a target device corresponding to the device identifier through the target log collection node, and the device fault reporting node being in communication connection with the log collection node; sending the fault logs to a preset storage node through the device fault reporting node to save the fault logs through the preset storage node; receiving storage address information of the fault logs fed back by the preset storage node through the device fault reporting node, associating the storage address information with the device fault reporting request, and sending the storage address information to a manufacturer node corresponding to the device identifier; wherein the calling of the target log collection node corresponding to the device basic information from the plurality of log collection nodes through the device fault reporting node, and the collecting of the fault logs of the target device corresponding to the device identifier through the target log collection node, comprises: extracting physical location information in the device basic information through the device fault reporting node, querying preset node deployment information to obtain log collection node identifiers corresponding to the physical location information, and the preset node deployment information comprising deployment information of the plurality of log collection nodes; extracting network environment information in the device basic information through the device fault reporting node, and configuring the target log collection node corresponding to the log collection node identifier according to the network environment information; calling the configured target log collection node through the device fault reporting node, and collecting the fault logs of the target device corresponding to the device identifier through the target log collection node.
2. The method of claim 1, wherein, After the querying of the preset device information library and the obtaining of the device basic information corresponding to the device identifier, the method comprises: extracting warranty time information in the device basic information, and determining whether the target device corresponding to the device identifier is in a warranty period according to the warranty time information; if the target device corresponding to the device identifier is not in the warranty period, sending the device fault reporting request to the manufacturer node corresponding to the device identifier; if the target device corresponding to the device identifier is in the warranty period, executing the step of calling the target log collection node corresponding to the device basic information to collect the fault logs of the target device corresponding to the device identifier through the target log collection node.
3. The method of claim 1, wherein, After the calling of the target log collection node corresponding to the device basic information to collect the fault logs of the target device corresponding to the device identifier through the target log collection node, the method comprises: querying a preset encryption algorithm mapping relationship to obtain a target encryption algorithm corresponding to the device identifier, and performing encryption processing on the fault logs according to the target encryption algorithm; When detecting that the fault log encryption is completed, the step of sending the fault log to a preset storage node to save the fault log by the preset storage node is performed.
4. The method of claim 1, wherein, After the target log collection node corresponding to the device basic information is called to collect the fault log of the target device corresponding to the device identifier by the target log collection node, the method comprises: Inquiring a preset saving time relationship to obtain a target saving time corresponding to the device identifier; Associating the fault log with the target saving time, and performing the step of sending the fault log to a preset storage node to save the fault log by the preset storage node; When the target saving time is reached, sending a log deletion instruction to the preset storage node to control deletion of the fault log in the preset storage node.
5. The method of claim 1-4, wherein, After the storage address information of the fault log fed back by the preset storage node is received, the storage address information is associated with the device trouble reporting request, and is sent to a manufacturer node corresponding to the device identifier, the method comprises: After detecting that the fault log of the storage address information is subscribed by the manufacturer node, the fault log is deleted; When detecting that the target device is updated by the manufacturer node, the updated device basic information of the target device is obtained, and the updated device basic information is sent to a preset device information library.
6. A device for removing obstacles, characterized in that The device trouble reporting device comprises: A request receiving module receives a device trouble reporting request by a device trouble reporting node, and obtains a device identifier associated in the device trouble reporting request; An information obtaining module inquires a preset device information library by the device trouble reporting node, and obtains device basic information corresponding to the device identifier; A calling collection module calls a target log collection node corresponding to the device basic information from a plurality of log collection nodes by the device trouble reporting node, and collects a fault log of a target device corresponding to the device identifier by the target log collection node, the device trouble reporting node and the log collection node are in communication connection; A sending saving module sends the fault log to a preset storage node by the device trouble reporting node to save the fault log by the preset storage node; An association sending module receives storage address information of the fault log fed back by the preset storage node by the device trouble reporting node, associates the storage address information with the device trouble reporting request, and sends it to a manufacturer node corresponding to the device identifier. The calling collection module comprises: The physical location information in the device basic information is extracted by the device trouble reporting node, a preset node deployment information is inquired, and a log collection node identifier corresponding to the physical location information is obtained, the preset node deployment information comprises deployment information of the plurality of log collection nodes; The physical location information in the device basic information is extracted by the device trouble reporting node, a preset node deployment information is inquired, and a log collection node identifier corresponding to the physical location information is obtained, the preset node deployment information comprises deployment information of the plurality of log collection nodes; The network environment information in the device fault reporting node is extracted, and the corresponding target log collection node is configured according to the network environment information; The target log collection node is called through the device fault reporting node, and the fault log of the target device corresponding to the device identifier is collected through the target log collection node.
7. A device for deactivating a device, characterized in that The device fault reporting device includes any one or more of a device fault reporting node, a log collection node, and a preset storage node, and the device fault reporting device is provided with: One or more processors; Memory; And One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the device fault reporting method of any one of claims 1 to 5.
8. A computer storage medium, characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the device fault reporting method of any one of claims 1 to 5.
Citation Information
Patent Citations
Equipment fault processing method and device, Internet of Things equipment and storage medium
CN110290016A
Equipment fault repair method and device, server and storage medium
CN112529223A