Log fault handling methods, log management center, and image transmission system
By setting log fault keywords and self-rescue commands in the image transmission system, the system can automatically identify and resolve equipment faults and collect key logs, thus solving the problem of low efficiency in manual fault location in existing technologies and achieving efficient fault handling.
Patent Information
- Application Number
- CN202011184954.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2040-10-30
AI Technical Summary
In existing technologies, when image transmission system equipment malfunctions, manual on-site location is required, leading to low efficiency.
By setting fault keywords in the logs of the device, the fault can be automatically identified and self-rescue commands can be executed. If the fault is not resolved, key logs are collected and sent to maintenance personnel.
It improves the efficiency of troubleshooting, reduces manual intervention, and saves time and effort.
Smart Images

Figure CN112306727B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the technical field of log fault handling methods, specifically to a log fault handling method, a log management center, and an image transmission system. Background Technology
[0002] The image transmission system includes a transmitting device and a receiving device. The transmitting device is connected to the image source device and is used to capture the desktop image of the image source device. After encoding the captured desktop image, it is sent to the receiving device. The receiving device decodes the encoded data and displays it on the display screen connected to the receiving device.
[0003] Currently, when the transmitting and / or receiving devices malfunction, maintenance personnel need to go to the site to obtain relevant logs based on the fault symptoms, and then locate the problem by analyzing the logs, which is time-consuming and labor-intensive. Summary of the Invention
[0004] The purpose of this disclosure is to overcome the shortcomings of the prior art and provide a log fault handling method, a log management center, and an image transmission system. This log fault handling method can solve the problem of low efficiency in fault handling in the prior art.
[0005] According to a first aspect of the present disclosure, a log fault handling method is provided, the method comprising:
[0006] Each device acquires preset log fault keywords and determines whether preset log fault keywords exist in the logs of each device; if preset log fault keywords exist in the logs, the device with preset log fault keywords is marked as the target device, and the preset log fault keywords are marked as the target log fault keywords.
[0007] The target device sends the target log fault keywords and the target device ID to the management center;
[0008] The management center receives the target log fault keywords, determines the self-rescue command corresponding to the target log fault keywords based on the preset self-rescue commands corresponding to each preset log fault keyword, marks the self-rescue command corresponding to the target log fault keywords as the target self-rescue command, and sends the target self-rescue command to the target device.
[0009] After the target device receives and executes the self-rescue command, it determines whether there are still preset log fault keywords in the target device's log.
[0010] If the preset log fault keywords no longer exist in the target device's logs, the fault is resolved and the process ends.
[0011] In one embodiment, the method further includes:
[0012] If the target device's logs still contain preset log fault keywords, the target device sends the first resolution failure message to the management center.
[0013] The management center receives the first resolution failure message, and determines the devices connected to the target device based on the target device's device ID and the preset connection relationships between devices. The devices connected to the target device are marked as associated devices, and the target self-rescue command is sent to the associated devices.
[0014] After receiving and executing the target self-rescue command, the associated device sends a completion message to the management center;
[0015] The management center receives the completion information and sends the testing instruction to the target device;
[0016] The target device receives the detection command and determines whether the preset log fault keywords still exist in the target device's log;
[0017] If the preset log fault keywords no longer exist in the target device's logs, the fault is resolved and the process ends.
[0018] In one embodiment, the method further includes:
[0019] If the target device's logs still contain preset log fault keywords, the target device sends a second resolution failure message to the management center.
[0020] The management center receives the second resolution failure message and, based on the target log fault keywords and the preset correspondence between preset log fault keywords and key logs, determines the key log corresponding to the target log fault keywords, marks the key log corresponding to the target log fault keywords as the target key log, and sends the target key log to the receiving address of the corresponding operations and maintenance personnel.
[0021] In one embodiment, the log management center receives a second resolution failure message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between preset log fault keywords and key logs. The center then marks the key log corresponding to the target log fault keyword as the target key log and sends the target key log to the receiving address of the corresponding operations and maintenance personnel. The receiving address of the target key log includes:
[0022] The log management center receives the second resolution failure message and, based on the target log fault keyword and the preset correspondence between preset log fault keywords and key logs, determines the key log corresponding to the target log fault keyword, marks the key log corresponding to the target log fault keyword as the target key log, and sends the target key log to the receiving address of the corresponding operations and maintenance personnel, including:
[0023] The management center receives the second resolution failure message and, based on the target log fault keywords and the preset correspondence between log fault keywords and key logs, determines the key log corresponding to the target log fault keywords and marks the key log corresponding to the target log fault keywords as the target key log.
[0024] The management center sends a log retrieval command to the target device and associated devices. The log retrieval command includes the file name and retrieval address of the target critical log, as well as the receiving address of the corresponding maintenance personnel.
[0025] The target device and associated devices receive the instruction to retrieve the log, and retrieve the target critical log according to the file name and retrieval address of the target critical log, and send the target critical log to the receiving address of the corresponding operation and maintenance personnel.
[0026] In one embodiment, each device acquires preset log fault keywords and determines whether the preset log fault keywords exist in the logs of each device; if the preset log fault keywords exist in the logs, the device with the preset log fault keywords is marked as the target device. Before marking the existing preset log fault keywords as the target log fault keywords, the method further includes:
[0027] The management center sends preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, to each device;
[0028] Each device acquires preset log fault keywords and determines whether the preset log fault keywords exist in the logs of each device. If the preset log fault keywords exist in the logs, the device with the preset log fault keywords is marked as the target device. The preset log fault keywords that exist and are marked as target log fault keywords include:
[0029] Each device receives preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and determines whether the preset log fault keywords exist in the logs of each device based on the file name and retrieval address of the log containing each preset log fault keyword.
[0030] If a preset log fault keyword exists in the log, the device containing the preset log fault keyword will be marked as the target device, and the existing preset log fault keyword will be marked as the target log fault keyword.
[0031] In one embodiment, the self-rescue command includes at least one of disconnecting, re-establishing the connection, restarting the encoder, restarting the decoder, restarting the receiving module, restarting the transmitting module, restarting the device, and re-adapting the resolution.
[0032] According to a second aspect of the present disclosure, a log fault handling method is provided, applied in a management center, the method comprising:
[0033] Send preset log fault keywords, along with the filenames and retrieval addresses of the logs containing each preset log fault keyword, to each device;
[0034] The system instructs each device to receive preset log fault keywords, as well as the filename and retrieval address of the log containing each preset log fault keyword, and determines whether the preset log fault keywords exist in the logs of each device based on the filename and retrieval address of the log containing each preset log fault keyword.
[0035] Instruct the target device to send the target log fault keywords and the target device's device ID to the management center;
[0036] Receive the target log fault keyword, and determine the self-rescue command corresponding to the target log fault keyword according to the self-rescue command corresponding to each preset log fault keyword. Mark the self-rescue command corresponding to the target log fault keyword as the target self-rescue command and send the target self-rescue command to the target device.
[0037] After the target device receives and executes the self-rescue command, it is determined whether the preset log fault keywords still exist in the target device's log. If the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends.
[0038] In one embodiment, the method further includes:
[0039] If the target device's logs still contain preset log fault keywords, instruct the target device to send the first resolution failure message to the management center;
[0040] Upon receiving the first resolution failure message, and based on the target device's device ID and the preset connection relationships between devices, determine the devices connected to the target device, mark the devices connected to the target device as associated devices, and send the target self-rescue command to the associated devices;
[0041] After instructing the associated devices to receive and execute the target self-rescue command, send a completion message to the management center;
[0042] Receive completion information and send detection instructions to the target device;
[0043] Instruct the target device to receive the detection command and determine whether the preset log fault keywords still exist in the target device's log;
[0044] If the preset log fault keywords no longer exist in the target device's logs, the fault is resolved and the process ends.
[0045] In one embodiment, the method further includes:
[0046] If the target device's logs still contain preset log fault keywords, instruct the target device to send a second resolution failure message to the management center;
[0047] Upon receiving the second resolution failure message, and based on the target log fault keyword and the preset correspondence between the preset log fault keywords and key logs, determine the key log corresponding to the target log fault keyword, mark the key log corresponding to the target log fault keyword as the target key log, and send the target key log to the receiving address of the operation and maintenance personnel corresponding to the target key log.
[0048] According to a third aspect of the present disclosure, a log management center is provided, the log management center comprising:
[0049] The sending module sends preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, to each device.
[0050] The first instruction module instructs each device to receive preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and determines whether the preset log fault keywords exist in the logs of each device based on the file name and retrieval address of the log containing each preset log fault keyword.
[0051] The second instruction module instructs the target device to send the target log fault keywords and the target device's device ID to the management center;
[0052] The first processing module receives the target log fault keyword, determines the self-rescue command corresponding to the target log fault keyword according to the preset self-rescue commands corresponding to each preset log fault keyword, marks the self-rescue command corresponding to the target log fault keyword as the target self-rescue command, and sends the target self-rescue command to the target device.
[0053] The third instruction module instructs the target device to receive and execute the target self-rescue command, and then determines whether the target device's log still contains preset log fault keywords. If the target device's log no longer contains preset log fault keywords, the fault is resolved and the process ends.
[0054] In one embodiment, the log management center also includes:
[0055] The fourth instruction module, if the target device's log still contains preset log fault keywords, instructs the target device to send the first resolution failure message to the management center;
[0056] The first receiving module receives the first resolution failure message, and determines the device connected to the target device based on the device ID of the target device and the preset connection relationship between the devices, marks the device connected to the target device as an associated device, and sends the target self-rescue command to the associated device;
[0057] The fifth instruction module instructs the associated device to send a completion message to the management center after receiving and executing the target self-rescue command;
[0058] The second receiving module receives the completion information and sends a detection command to the target device;
[0059] The sixth instruction module instructs the target device to receive the detection command and determines whether the preset log fault keywords still exist in the target device's log; if the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends.
[0060] In one embodiment, the log management center also includes:
[0061] The seventh instruction module, if the target device's log still contains preset log fault keywords, instructs the target device to send a second resolution failure message to the management center;
[0062] The second processing module receives the second failure resolution message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between the preset log fault keyword and the key log. It then marks the key log corresponding to the target log fault keyword as the target key log and sends the target key log to the receiving address of the maintenance personnel corresponding to the target key log.
[0063] According to a fourth aspect of the present disclosure, an image transmission system is provided, the image transmission system including a log management center, a sending end connected to the log management center, and a receiving end connected to both the log management center and the sending end, wherein the log management center is the aforementioned log management center.
[0064] The log fault handling method disclosed herein can automatically determine whether a device has malfunctioned by using log fault keywords. After a fault occurs, it can execute a self-rescue command. If the self-rescue command fails to resolve the fault, it can also collect the key logs corresponding to the log fault keywords and send them to the corresponding maintenance personnel to help them locate and resolve the fault, saving time and effort and improving the efficiency of fault resolution. Attached Figure Description
[0065] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0066] Figure 1 This is a flowchart of a log fault handling method provided in an embodiment of the present disclosure.
[0067] Figure 2 This is a flowchart of a log fault handling method provided in an embodiment of the present disclosure.
[0068] Figure 3 This is a flowchart of a log fault handling method provided in an embodiment of the present disclosure.
[0069] Figure 4 This is a flowchart of a log fault handling method provided in an embodiment of the present disclosure.
[0070] Figure 5 This is an architecture diagram of a log management center provided in an embodiment of the present disclosure.
[0071] Figure 6 This is an architecture diagram of a log management center provided in an embodiment of the present disclosure.
[0072] Figure 7 This is an architecture diagram of a log management center provided in an embodiment of the present disclosure.
[0073] Figure 8 This is a schematic diagram of a log fault handling method provided in an embodiment of the present disclosure.
[0074] Figure 9 This is a schematic diagram of a log fault handling system provided in an embodiment of the present disclosure. Detailed Implementation
[0075] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0076] In this disclosure, the connection relationships between each device and other devices, log fault keywords, and self-rescue commands and key logs corresponding to each log fault keyword can be pre-configured in the management center.
[0077] It should be noted that when a fault corresponding to a log fault keyword occurs, the critical log may include logs of data that may be related to the fault. The critical log can help maintenance personnel locate the problem; the device can execute self-rescue commands to resolve the fault corresponding to the log fault keyword.
[0078] The management center distributes log fault keywords to each device. During operation, when a preset log fault keyword appears in the logs, the device reports it to the management center. The management center first determines the corresponding self-rescue command based on the reported log fault keyword and sends it to the device for execution. If the fault persists, the management center identifies the critical log corresponding to the fault keyword and the associated devices, sending instructions to both the device and the associated devices to retrieve the critical log. After retrieving the critical log, the device and associated devices forward it to the relevant maintenance personnel according to preset sending rules for processing.
[0079] As can be seen, this disclosure can automatically determine whether a device is malfunctioning by using log fault keywords. After a fault occurs, it can execute self-rescue commands. If the self-rescue commands fail to resolve the fault, it can also collect key logs corresponding to the log fault keywords and send them to the corresponding maintenance personnel to help them locate and resolve the fault, saving time and effort and improving the efficiency of fault resolution.
[0080] Figure 1 A flowchart illustrating a log fault handling method provided in an embodiment of this disclosure. Figure 1 As shown, the method includes:
[0081] Step 101: Each device obtains preset log fault keywords and determines whether preset log fault keywords exist in the logs of each device; if preset log fault keywords exist in the logs, the device with preset log fault keywords is marked as the target device, and the preset log fault keywords are marked as the target log fault keywords.
[0082] In this step, after receiving the log fault keywords and the file name and retrieval address of the log containing each log fault keyword, each device periodically checks whether the log fault keyword appears in the log containing the log fault keyword according to the file name and retrieval address of the log containing the log fault keyword. If yes, the device is recorded as the target device, the log fault keyword that appears is recorded as the target log fault keyword, and step 102 is executed. If no, step 101 is repeated.
[0083] It should be noted that the self-rescue commands corresponding to each log fault keyword can enable the device to perform simple actions, which may resolve the faults corresponding to the log fault keywords.
[0084] Specifically, the self-rescue commands include: disconnecting, re-establishing the connection, restarting the encoder, restarting the decoder, restarting the receiving module, restarting the transmitting module, restarting the device, and re-adapting the resolution.
[0085] For example, the self-rescue command corresponding to the log fault keyword "disconnected" is "re-establish connection"; the self-rescue command corresponding to the log fault keyword "encode failure" is "restart encoder"; the self-rescue command corresponding to the log fault keyword "decode failure" is "restart decoder"; the self-rescue command corresponding to the log fault keyword "no received data" is "restart receiving module"; the self-rescue command corresponding to the log fault keyword "no send data" is "restart sending module"; the self-rescue command corresponding to the log fault keyword "device failure" is "restart device"; and the self-rescue command corresponding to the log fault keyword "resolution ratio adaptive failure" is "re-adapt resolution".
[0086] Step 102: The target device sends the target log fault keywords and the target device ID to the management center.
[0087] Step 103: The management center receives the target log fault keywords, determines the self-rescue command corresponding to the target log fault keywords based on the preset self-rescue commands corresponding to each preset log fault keyword, marks the self-rescue command corresponding to the target log fault keywords as the target self-rescue command, and sends the target self-rescue command to the target device.
[0088] Step 104: After the target device receives and executes the target self-rescue command, determine whether there are still preset log fault keywords in the target device's log;
[0089] Step 105: If the preset log fault keywords no longer exist in the target device's logs, the fault is resolved and the process ends.
[0090] like Figure 2 As shown, the method also includes:
[0091] Step 201: If the target device's logs still contain preset log fault keywords, the target device sends the first resolution failure message to the management center;
[0092] Step 202: The management center receives the first resolution failure message, and determines the device connected to the target device based on the device ID of the target device and the preset connection relationship between the devices. The device connected to the target device is marked as an associated device, and the target self-rescue command is sent to the associated device.
[0093] Step 203: After the associated device receives and executes the target self-rescue command, it sends a completion message to the management center;
[0094] Step 204: The management center receives the completion information and sends a test command to the target device;
[0095] Step 205: The target device receives the detection command and determines whether the preset log fault keywords still exist in the target device's log;
[0096] Step 206: If the preset log fault keywords no longer exist in the target device's logs, the fault is resolved and the process ends.
[0097] Optionally, such as Figure 3 As shown, the method also includes:
[0098] Step 301: If the target device's logs still contain preset log fault keywords, the target device sends a second resolution failure message to the management center.
[0099] Step 302: The management center receives the second resolution failure message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between the preset log fault keywords and key logs. The key log corresponding to the target log fault keyword is marked as the target key log, and the target key log is sent to the receiving address of the operation and maintenance personnel corresponding to the target key log.
[0100] It should be noted that the key logs in this embodiment can help operations and maintenance personnel locate fault logs. Key logs can include information needed to resolve the fault. Typically, one fault keyword in a log corresponds to multiple key logs.
[0101] In one embodiment, the log management center receives a second resolution failure message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between preset log fault keywords and key logs. The center then marks the key log corresponding to the target log fault keyword as the target key log and sends the target key log to the receiving address of the corresponding operations and maintenance personnel. The receiving address of the target key log includes:
[0102] The management center receives the second resolution failure message and, based on the target log fault keywords and the preset correspondence between log fault keywords and key logs, determines the key log corresponding to the target log fault keywords and marks the key log corresponding to the target log fault keywords as the target key log.
[0103] The management center sends a log retrieval command to the target device and associated devices. The log retrieval command includes the file name and retrieval address of the target critical log, as well as the receiving address of the corresponding maintenance personnel.
[0104] The target device and associated devices receive the instruction to retrieve the log, and retrieve the target critical log according to the file name and retrieval address of the target critical log, and send the target critical log to the receiving address of the corresponding operation and maintenance personnel.
[0105] For example, the file name of the key log corresponding to the log fault keyword "disconnected" is "time-device name-processing group, for example: 20200506-11:23:55-device1-application group", and the address to obtain it is under the "Management Center-Logs" folder; the file name of the key log corresponding to the log fault keyword "decode failure" is "time-device name-processing group, for example: 20200506-11:23:55-device1-algorithm group", and the address to obtain it is under the "Management Center-Logs" folder; the file name of the key log corresponding to the log fault keyword "no received data" is "time-device name-processing group, for example: 20200506-11:23:55-device1-transmission group", and the address to obtain it is under the "Management Center-Logs" folder.
[0106] For example, if the log fault keyword is "decode failure", and the corresponding fault is decoding failure, then the corresponding key log can be "time-device name-processing group, for example: 20200506-11:23:55-device1-algorithm group". The key log can include the current device status information and previous operation records, which can help maintenance personnel locate the cause of decoding failure.
[0107] For example, the key log "Time-Device Name, e.g., 20200506-11:23:55-Device 1-Algorithm Group" corresponds to the "receiving address of the operation and maintenance personnel of the encoding and decoding module group"; the key log "Time-Device Name, e.g., 20200506-11:23:55-Device 1-Transmission Group" corresponds to the "receiving address of the operation and maintenance personnel of the transmission group"; the key log "Time-Device Name, e.g., 20200506-11:23:55-Device 1-Acquisition Group" corresponds to the "receiving address of the operation and maintenance personnel of the image acquisition group".
[0108] Optionally, each device acquires preset log fault keywords and determines whether preset log fault keywords exist in the logs of each device; if preset log fault keywords exist in the logs, the device with the preset log fault keywords is marked as the target device. Before marking the existing preset log fault keywords as target log fault keywords, the method further includes:
[0109] The management center sends preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, to each device;
[0110] Each device acquires preset log fault keywords and determines whether the preset log fault keywords exist in the logs of each device. If the preset log fault keywords exist in the logs, the device with the preset log fault keywords is marked as the target device. The preset log fault keywords that exist and are marked as target log fault keywords include:
[0111] Each device receives preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and determines whether the preset log fault keywords exist in the logs of each device based on the file name and retrieval address of the log containing each preset log fault keyword.
[0112] If a preset log fault keyword exists in the log, the device containing the preset log fault keyword will be marked as the target device, and the existing preset log fault keyword will be marked as the target log fault keyword.
[0113] Figure 4 A flowchart illustrating a log fault handling method provided in an embodiment of this disclosure. Figure 4 As shown, the method includes:
[0114] Step 401: Send the preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, to each device;
[0115] Step 402: Instruct each device to receive preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and determine whether the preset log fault keywords exist in the log of each device based on the file name and retrieval address of the log containing each preset log fault keyword.
[0116] Step 403: Instruct the target device to send the target log fault keywords and the target device's device ID to the management center;
[0117] Step 404: Receive the target log fault keyword, and determine the self-rescue command corresponding to the target log fault keyword according to the self-rescue command corresponding to each preset log fault keyword. Mark the self-rescue command corresponding to the target log fault keyword as the target self-rescue command and send the target self-rescue command to the target device.
[0118] Step 405: After instructing the target device to receive and execute the target self-rescue command, determine whether the preset log fault keywords still exist in the target device's log; if the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends.
[0119] In one embodiment, the method further includes:
[0120] If the target device's logs still contain preset log fault keywords, instruct the target device to send the first resolution failure message to the management center;
[0121] Upon receiving the first resolution failure message, and based on the target device's device ID and the preset connection relationships between devices, determine the devices connected to the target device, mark the devices connected to the target device as associated devices, and send the target self-rescue command to the associated devices;
[0122] After instructing the associated devices to receive and execute the target self-rescue command, send a completion message to the management center;
[0123] Receive completion information and send detection instructions to the target device;
[0124] Instruct the target device to receive the detection command and determine whether the preset log fault keywords still exist in the target device's log;
[0125] If the preset log fault keywords no longer exist in the target device's logs, the fault is resolved and the process ends.
[0126] In one embodiment, the method further includes:
[0127] If the target device's logs still contain preset log fault keywords, instruct the target device to send a second resolution failure message to the management center;
[0128] Upon receiving the second resolution failure message, and based on the target log fault keyword and the preset correspondence between the preset log fault keywords and key logs, determine the key log corresponding to the target log fault keyword, mark the key log corresponding to the target log fault keyword as the target key log, and send the target key log to the receiving address of the operation and maintenance personnel corresponding to the target key log.
[0129] Figure 5 This is an architecture diagram of a log management center provided as an embodiment of this disclosure. Figure 5As shown, the source device includes: a sending module 501, a first indication module 502, a second indication module 503, a first processing module 504, and a third indication module 505; wherein, the sending module 501 is used to send preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, to each device; the first indication module 502 is used to instruct each device to receive the preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, and to determine whether the preset log fault keywords exist in the logs of each device based on the file names and retrieval addresses of the logs containing each preset log fault keyword; the second indication module 503... The first processing module 504 is used to instruct the target device to send the target log fault keyword and the target device's device ID to the management center; the second processing module 504 is used to receive the target log fault keyword, determine the self-rescue command corresponding to the target log fault keyword according to the preset self-rescue commands corresponding to each preset log fault keyword, mark the self-rescue command corresponding to the target log fault keyword as the target self-rescue command, and send the target self-rescue command to the target device; the third instruction module 505 is used to instruct the target device to receive and execute the target self-rescue command, and then determine whether the preset log fault keyword still exists in the target device's log; if the preset log fault keyword no longer exists in the target device's log, the fault is resolved and the process ends.
[0130] Figure 6 This is an architecture diagram of a log management center provided as an embodiment of this disclosure. Figure 6 As shown, the source device includes: a sending module 601, a first indication module 602, a second indication module 603, a first processing module 604, a third indication module 605, a fourth indication module 606, a first receiving module 607, a fifth indication module 608, a second receiving module 609, and a sixth indication module 6010; wherein, the fourth indication module 606 is used to instruct the target device to send a first resolution failure message to the management center if a preset log fault keyword still exists in the target device's log; the first receiving module 607 is used to receive the first resolution failure message and, based on the target device's device ID and preset parameters for each device... The system establishes the connection relationship between the target device and the associated device, marks the associated device as an associated device, and sends the target self-rescue command to the associated device. The fifth instruction module 608 instructs the associated device to receive and execute the target self-rescue command and then send completion information to the management center. The second receiving module 609 receives the completion information and sends a detection command to the target device. The sixth instruction module 6010 instructs the target device to receive the detection command and determine whether the preset log fault keywords still exist in the target device's log. If the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends.
[0131] Figure 7 This is an architecture diagram of a log management center provided as an embodiment of this disclosure. Figure 7 As shown, the source device includes: a sending module 701, a first indication module 702, a second indication module 703, a first processing module 704, a third indication module 705, a fourth indication module 706, a first receiving module 707, a fifth indication module 708, a second receiving module 709, a sixth indication module 7010, a seventh indication module 7011, and a second processing module 7012; wherein, the seventh indication module 7011 is used to instruct the target device to send a second resolution failure message to the management center if a preset log fault keyword still exists in the target device's log; the second processing module 7012 is used to receive the second resolution failure message, and determine the key log corresponding to the target log fault keyword according to the correspondence between the target log fault keyword and the preset preset log fault keyword and key log, mark the key log corresponding to the target log fault keyword as the target key log, and send the target key log to the receiving address of the maintenance personnel corresponding to the target key log.
[0132] It is understandable that, such as Figure 8 As shown in this disclosure, firstly, the target device discovers the fault based on the fault keywords in the target log. Then, the target device and associated devices execute the self-rescue command corresponding to the fault keywords in the target log. If the fault still exists, the target device and associated devices collect the key logs corresponding to the fault keywords in the target log and send the collected key logs to the corresponding maintenance personnel.
[0133] It is evident that some simple faults can be resolved through self-rescue commands, while for more complex faults, critical logs can be sent to operations and maintenance personnel to help them locate and resolve the faults, saving time and effort and improving the efficiency of fault resolution.
[0134] Furthermore, in practical implementation, information about all devices can be entered into the management center. The management center can maintain a device list, which can include the current status of each device (e.g., powered on, powered off, connected, disconnected), as well as options for performing simple operations on the devices (e.g., powered on, powered off, connected, disconnected). Through the management center, users can not only observe the device status but also issue simple operation commands to the devices.
[0135] Figure 9 This is a schematic diagram of an image transmission system provided in an embodiment of this disclosure. Figure 9 As shown, the image transmission system includes a log management center 901, a transmitter 902 connected to the log management center 901, and a receiver 903 connected to both the log management center 901 and the transmitter 902.
[0136] It should be noted that, normally, one transmitter 902 is connected to one receiver 903, but transmitter 902 can also be connected to multiple receivers 903, and receiver 903 can also be connected to multiple transmitters 902.
[0137] It is understandable that, such as Figure 9 As shown, in this embodiment, the connection relationships between devices can be pre-configured in the management center. For example, transmitter 1 is connected to receiver 1, transmitter 2 is connected to receiver 2, ..., transmitter n is connected to receiver n. Specifically, the connection relationships are represented by device IDs.
[0138] In practice, settings can be configured on each device to require each device to report connection information to the management center in real time. In particular, when the connection relationship changes, the connection relationship stored in the management center needs to be updated synchronously.
[0139] Additionally, the management center can pre-set log fault keywords; self-rescue commands corresponding to each log fault keyword; file names and retrieval addresses of logs containing each log fault keyword, file names and retrieval addresses of critical logs, and the correspondence between log fault keywords and critical logs.
[0140] The log fault handling method disclosed herein solves the problem that the receiving end cannot expand the desktop effect when the number of monitors at the sending end and the number of monitors at the receiving end do not match; at the same time, the log fault handling method disclosed herein does not require the addition of an extra physical monitor on the image source device, thereby reducing costs and improving flexibility.
[0141] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be pre-installed in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0142] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0143] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A log fault handling method, characterized in that, The method includes: Each device acquires preset log fault keywords and determines whether the preset log fault keywords exist in the logs of each device; if the preset log fault keywords exist in the logs, the device with the preset log fault keywords is marked as the target device, and the preset log fault keywords are marked as the target log fault keywords. The target device sends the target log fault keywords and the target device's device ID to the management center; The management center receives the target log fault keyword, and determines the self-rescue command corresponding to the target log fault keyword according to the self-rescue command corresponding to each preset log fault keyword. The self-rescue command corresponding to the target log fault keyword is marked as the target self-rescue command, and the target self-rescue command is sent to the target device. After the target device receives and executes the target self-rescue command, it determines whether there are still preset log fault keywords in the target device's log; If the preset log fault keyword no longer exists in the log of the target device, the fault is resolved and the process ends. If the target device's logs still contain preset log fault keywords, the target device sends a first resolution failure message to the management center. The management center receives the first resolution failure message, and determines the device connected to the target device based on the device ID of the target device and the preset connection relationship between the devices. The device connected to the target device is marked as an associated device, and the target self-rescue command is sent to the associated device. After receiving and executing the target self-rescue command, the associated device sends a completion message to the management center; The management center receives the completion information and sends a detection command to the target device; The target device receives the detection command and determines whether the preset log fault keywords still exist in the target device's log; If the preset log fault keywords no longer exist in the logs of the target device, the fault is resolved and the process ends.
2. The method according to claim 1, characterized in that, The method further includes: If the target device's logs still contain preset log fault keywords, the target device sends a second resolution failure message to the management center. The management center receives the second resolution failure message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between the preset log fault keywords and key logs. The key log corresponding to the target log fault keyword is marked as the target key log, and the target key log is sent to the receiving address of the operation and maintenance personnel corresponding to the target key log.
3. The method according to claim 2, characterized in that, The management center receives the second resolution failure message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between preset log fault keywords and key logs. The key log corresponding to the target log fault keyword is then marked as a target key log, and the target key log is sent to the receiving address of the corresponding operations and maintenance personnel. The management center receives the second resolution failure message, and determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between log fault keywords and key logs, and marks the key log corresponding to the target log fault keyword as the target key log. The management center sends a log retrieval instruction to the target device and associated devices. The log retrieval instruction carries the file name and retrieval address of the target critical log, as well as the receiving address of the corresponding maintenance personnel. The target device and associated devices receive the instruction to obtain the log, and obtain the target key log according to the file name and acquisition address of the target key log, and send the target key log to the receiving address of the operation and maintenance personnel corresponding to the target key log.
4. The method according to any one of claims 1-3, characterized in that, Each device acquires preset log fault keywords and determines whether the preset log fault keywords exist in the logs of each device; If the preset log fault keyword exists in the log, the device containing the preset log fault keyword is marked as the target device. Before marking the existing preset log fault keyword as the target log fault keyword, the method further includes: The management center sends preset log fault keywords, as well as the file names and retrieval addresses of the logs containing each preset log fault keyword, to each device; Each device acquires preset log fault keywords and determines whether the preset log fault keywords exist in the logs of each device; if the preset log fault keywords exist in the logs, the device containing the preset log fault keywords is marked as the target device. Marking the existing preset log fault keywords as target log fault keywords includes: Each device receives the preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and determines whether the preset log fault keywords exist in the logs of each device based on the file name and retrieval address of the log containing each preset log fault keyword. If the preset log fault keywords exist in the log, the device containing the preset log fault keywords will be marked as the target device, and the existing preset log fault keywords will be marked as the target log fault keywords.
5. A log fault handling method, applied in a management center, characterized in that, The method includes: Send preset log fault keywords, along with the filenames and retrieval addresses of the logs containing each preset log fault keyword, to each device; Each device is instructed to receive the preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and to determine whether the preset log fault keywords exist in the logs of each device based on the file name and retrieval address of the log containing each preset log fault keyword. Instruct the target device to send the target log fault keywords and the target device's device ID to the management center; Receive the target log fault keyword, and determine the self-rescue command corresponding to the target log fault keyword according to the self-rescue command corresponding to each preset log fault keyword, mark the self-rescue command corresponding to the target log fault keyword as the target self-rescue command, and send the target self-rescue command to the target device; After the target device receives and executes the self-rescue command, it is determined whether the preset log fault keywords still exist in the target device's log. If the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends.
6. The method according to claim 5, characterized in that, The method further includes: If the target device's logs still contain preset log fault keywords, instruct the target device to send a first resolution failure message to the management center; Upon receiving the first resolution failure message, and based on the target device's device ID and the preset connection relationships between devices, determine the device connected to the target device, mark the device connected to the target device as an associated device, and send the target self-rescue command to the associated device; After instructing the associated device to receive and execute the target self-rescue command, it sends a completion message to the management center. Receive the completion information and send a detection command to the target device; The target device is instructed to receive the detection command and determine whether the preset log fault keywords still exist in the target device's log. If the preset log fault keywords no longer exist in the logs of the target device, the fault is resolved and the process ends.
7. The method according to claim 6, characterized in that, The method further includes: If the target device's log still contains preset log fault keywords, instruct the target device to send a second resolution failure message to the management center; The system receives the second resolution failure message, determines the key log corresponding to the target log fault keyword based on the target log fault keyword and the preset correspondence between the preset log fault keyword and key log, marks the key log corresponding to the target log fault keyword as the target key log, and sends the target key log to the receiving address of the operation and maintenance personnel corresponding to the target key log.
8. A log management center, characterized in that, The log management center includes: The sending module sends preset log fault keywords, as well as the filenames and retrieval addresses of the logs containing each preset log fault keyword, to each device. The first instruction module instructs each device to receive the preset log fault keywords, as well as the file name and retrieval address of the log containing each preset log fault keyword, and to determine whether the preset log fault keywords exist in the logs of each device based on the file name and retrieval address of the log containing each preset log fault keyword. The second instruction module instructs the target device to send the target log fault keywords and the target device's device ID to the management center; The first processing module receives the target log fault keyword, determines the self-rescue command corresponding to the target log fault keyword according to the self-rescue command corresponding to each preset log fault keyword, marks the self-rescue command corresponding to the target log fault keyword as the target self-rescue command, and sends the target self-rescue command to the target device. The third instruction module instructs the target device to receive and execute the target self-rescue command, and then determine whether the target device's log still contains preset log fault keywords. If the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends. If the preset log fault keywords still exist in the target device's log, the module instructs the target device to send a first resolution failure message to the management center. Upon receiving the first resolution failure message, the module determines the devices connected to the target device based on the target device's device ID and the preset connection relationships between devices, marks the devices connected to the target device as associated devices, and sends the target self-rescue command to the associated devices. After the associated device receives and executes the target self-rescue command, it sends a completion message to the management center; upon receiving the completion message, it sends a detection command to the target device. The target device is instructed to receive the detection command and determine whether the preset log fault keywords still exist in the target device's log; if the preset log fault keywords no longer exist in the target device's log, the fault is resolved and the process ends.
9. An image transmission system, the image transmission system comprising a log management center, a transmitting end connected to the log management center, and a receiving end connected to both the log management center and the transmitting end, characterized in that, The log management center is the log management center as described in claim 8.
Citation Information
Patent Citations
Key log information extraction method and system based on distributed terminal system
CN105740348A
Fault feedback method and device
CN106161079A