Terminal fault remote repair method, device, terminal equipment and storage medium
By acquiring terminal data and rule sets, remote diagnosis and sorting repair solutions, the problem of remote fault repair of metering automation terminals is solved, and an intelligent and efficient repair process is achieved.
Patent Information
- Application Number
- CN202411260869.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-09-10
AI Technical Summary
Existing technologies are unable to achieve remote fault diagnosis and repair of metering automation terminals, resulting in communication failures requiring manual on-site inspection and repair.
By obtaining terminal data, fault judgment rule sets and repair solution libraries, the cause of terminal failures can be determined, repair solutions can be selected and executed in order of cost, and remote repair verification can be performed. The repair process can be optimized by combining historical fault data and user-defined rules.
It realizes remote and automated repair of metering automation terminals, improves the intelligence and efficiency of repair, and reduces manual on-site intervention.
Smart Images

Figure CN119210987B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of terminal fault repair, and in particular to a method, an apparatus, a terminal device and a storage medium for remotely repairing a terminal fault. Background Art
[0002] Metering automation terminals are crucial metering devices for remote, automated collection of electricity data from public and private transformer users. As an intermediate communication node, they serve as a bridge between local electricity meters and the remote master station system. Currently, if the master station detects a communication failure with a remote meter, personnel must be dispatched to the metering automation terminal to conduct an on-site inspection to troubleshoot and repair the problem, ultimately restoring communication. However, a method for remote fault diagnosis and repair is lacking. Therefore, innovative repair methods for metering automation terminals are a pressing issue for power supply companies. Summary of the Invention
[0003] The present invention provides a terminal fault remote repair method, device, terminal equipment and storage medium to solve the technical problem that the prior art cannot remotely and automatically repair a faulty terminal.
[0004] In order to solve the above technical problems, an embodiment of the present invention provides a method for remotely repairing a terminal fault, comprising:
[0005] Obtaining the test data, fault judgment rule set and repair solution library of the terminal to be tested; wherein the test data includes: terminal status data, terminal parameter setting data, terminal operation data, terminal log data and terminal task execution result data;
[0006] Determine whether the terminal under test is faulty based on the test data and the fault judgment rule set, and if so, further determine the cause of the fault;
[0007] According to the cause of the fault, select a corresponding number of candidate repair solutions from the repair solution library;
[0008] Calculate the repair cost of each candidate repair plan and sort all the candidate repair plans in descending order of repair cost as the execution order of the repair plans;
[0009] Execute the selected repair solutions in sequence according to the repair solution execution order, and perform terminal repair verification operation after each selected repair solution is executed;
[0010] The terminal repair verification operation includes:
[0011] Reacquiring the test data of the terminal to be tested as verification data;
[0012] According to the verification data and the fault judgment rule set, it is judged whether the terminal to be tested is faulty. If not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped.
[0013] As a preferred solution, before judging whether the terminal to be tested is faulty based on the test data and the fault judgment rule set, the method further includes:
[0014] Collecting a number of historical fault data; wherein the historical fault data includes: historical fault phenomena and historical fault causes; the historical fault phenomena include fault terminal status data, fault terminal parameter setting data, fault terminal operation data, fault terminal log data and fault terminal task execution result data;
[0015] For each historical fault data, determine the corresponding fault rule expression according to the historical fault phenomenon and historical fault cause;
[0016] Collect statistics on the fault rule expressions corresponding to all historical fault causes and generate a fault judgment rule set.
[0017] As a preferred solution, the historical fault data also includes: an effective repair plan;
[0018] Before selecting a plurality of repair solutions from a set of repair solutions based on the cause of the fault, the method further includes:
[0019] Determine the correlation between all historical fault data based on the historical fault causes;
[0020] According to the correlation, the historical fault data is grouped to obtain a number of related fault groups;
[0021] For each associated fault group, counting the effective repair solutions of all historical fault data in the associated fault group, and generating a repair solution set corresponding to the associated fault group;
[0022] According to the cause of the fault, a number of corresponding repair solutions are selected from the repair solution library, including:
[0023] According to the fault cause, determine the corresponding associated fault group and the corresponding repair solution set;
[0024] All valid repair solutions in the repair solution set are selected as candidate repair solutions.
[0025] As a preferred solution, after generating the fault judgment rule set, the following is further included:
[0026] Get the user-defined fault judgment rules;
[0027] Adding the user-defined fault judgment rule to the fault judgment rule set;
[0028] After generating the repair solution set corresponding to the associated fault group, the method further includes:
[0029] Obtaining a user-defined repair solution for the associated fault group;
[0030] The customized repair solution is included in the repair solution set corresponding to the associated fault group.
[0031] As a preferred solution, the historical fault data also includes: repair time, repair complexity and repair abnormality risk value;
[0032] Calculate the repair cost for each candidate repair option, including:
[0033] The repair cost of each candidate repair solution is comprehensively calculated based on the repair time, repair complexity and repair abnormality risk value corresponding to each candidate repair solution.
[0034] As a preferred solution, before executing the selected repair solutions in sequence according to the repair solution execution order, the method further includes:
[0035] Determine whether all the candidate repair plans include the preferred repair plan. If so, the preferred repair plan will be executed first; wherein, the preferred repair plan includes: terminal time synchronization, terminal parameter resetting, task template issuance, terminal restart, cache clearing and factory settings restoration.
[0036] As a preferred solution, when all candidate repair solutions have been executed and the terminal under test has not been repaired successfully, a repair abnormality alarm is issued.
[0037] Based on the above embodiment, another embodiment of the present invention provides a terminal fault remote repair device, comprising: a data acquisition module, a fault judgment module, a repair module and a repair verification module;
[0038] The data acquisition module is used to obtain the test data, fault judgment rule set and repair solution library of the terminal to be tested; wherein the test data includes: terminal status data, terminal parameter setting data, terminal operation data, terminal log data and terminal task execution result data;
[0039] The fault judgment module is used to judge whether the terminal under test is faulty based on the test data and the fault judgment rule set, and if so, further determine the cause of the fault;
[0040] The repair module is configured to select a number of corresponding candidate repair solutions from the repair solution library based on the cause of the fault; calculate the repair cost of each candidate repair solution, and sort all the candidate repair solutions in order of repair cost from low to high as the repair solution execution order; and execute the candidate repair solutions in sequence according to the repair solution execution order;
[0041] The repair verification module is used to perform a terminal repair verification operation after each selected repair solution is executed. The terminal repair verification operation includes: reacquiring the test data of the terminal to be tested as verification data; judging whether the terminal to be tested is faulty based on the verification data and the fault judgment rule set. If not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped.
[0042] Based on the above embodiments, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the terminal fault remote repair method described in the above embodiment of the invention is implemented.
[0043] Based on the above embodiment, another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the terminal fault remote repair method described in the above embodiment of the invention.
[0044] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0045] The present invention obtains the test data, fault judgment rule set and repair solution library of the terminal to be tested; judges whether the terminal to be tested is faulty based on the test data and the fault judgment rule set, and if so, further determines the cause of the fault; selects a number of corresponding repair solutions from the repair solution library based on the cause of the fault; calculates the repair cost of each repair solution, and sorts all the repair solutions in descending order of repair cost as the repair solution execution order; executes the repair solutions in sequence according to the repair solution execution order, and performs a terminal repair verification operation after each repair solution is executed; wherein the terminal repair verification operation includes: re-obtaining the test data of the terminal to be tested as verification data; judging whether the terminal to be tested is faulty based on the verification data and the fault judgment rule set, and if not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped. The present invention can realize remote automatic repair of faulty terminals, making fault repair of metering automation terminals more intelligent and efficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 This is a flow chart of a method for remotely repairing a terminal fault provided by one embodiment of the present invention;
[0047] Figure 2 The present invention provides a schematic structural diagram of a terminal fault remote repair device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.
[0050] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0051] In the description of the embodiments of the present application, the term "several" refers to more than two (including two).
[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0053] Example 1
[0054] Please refer to Figure 1 , which is a flow chart of a method for remotely repairing a terminal fault provided by one embodiment of the present invention, including:
[0055] S1. Obtain the test data, fault judgment rule set and repair solution library of the terminal to be tested; wherein the test data includes: terminal status data, terminal parameter setting data, terminal operation data, terminal log data and terminal task execution result data.
[0056] It should be noted that the terminal status data includes the terminal's online status, working mode and alarm status; the terminal parameter setting data includes clock settings, communication parameters and sampling rate; the terminal operation data includes: real-time collected electric energy data such as voltage, current and power; the terminal log data includes operation logs, exception logs and communication logs; the terminal task execution result data includes: the execution status and return value after the task template is issued.
[0057] S2. Determine whether the terminal to be tested is faulty based on the test data and the fault judgment rule set. If so, further determine the cause of the fault.
[0058] In step S2, when the judgment structure is that the device under test is faulty, it means that one or more fault judgment rules in the fault judgment rule set are triggered, and the corresponding fault information needs to be sent to the front end of the metering automation master station.
[0059] In a preferred embodiment, before judging whether the terminal to be tested is faulty based on the test data and the fault judgment rule set, the method further includes:
[0060] Collecting a number of historical fault data; wherein the historical fault data includes: historical fault phenomena and historical fault causes; the historical fault phenomena include fault terminal status data, fault terminal parameter setting data, fault terminal operation data, fault terminal log data and fault terminal task execution result data;
[0061] For each historical fault data, determine the corresponding fault rule expression according to the historical fault phenomenon and historical fault cause;
[0062] Collect statistics on the fault rule expressions corresponding to all historical fault causes and generate a fault judgment rule set.
[0063] S3. Selecting several corresponding repair solutions from the repair solution library according to the cause of the fault.
[0064] In a preferred embodiment, the historical fault data further includes: an effective repair solution;
[0065] Before selecting a plurality of repair solutions from a set of repair solutions based on the cause of the fault, the method further includes:
[0066] Determine the correlation between all historical fault data based on the historical fault causes;
[0067] According to the correlation, the historical fault data is grouped to obtain a number of related fault groups;
[0068] For each associated fault group, counting the effective repair solutions of all historical fault data in the associated fault group, and generating a repair solution set corresponding to the associated fault group;
[0069] According to the cause of the fault, a number of corresponding repair solutions are selected from the repair solution library, including:
[0070] According to the fault cause, determine the corresponding associated fault group and the corresponding repair solution set;
[0071] All valid repair solutions in the repair solution set are selected as candidate repair solutions.
[0072] In this embodiment, after the associated fault groups are obtained, the associated fault groups may be further classified into different levels according to the degree of impact of the historical fault conditions corresponding to the groups on the communication of the metering automation master station.
[0073] Set up related fault groups based on the correlation between historical fault data, including:
[0074] 1. Analyze fault correlation: Analyze the correlation between various faults. For example, some faults may be caused by the same reason, or the occurrence of one fault may lead to the occurrence of other faults.
[0075] 2. Set related fault groups: According to the fault correlation, multiple related historical battles are set as a related fault group;
[0076] 3. Classification of related fault groups: Classify related fault groups according to their impact on the communication of the metering automation master station, for example, into level one, level two, and level three. Level one means that all faults in the related fault group have no or slight impact on the communication of the metering automation master station; level two means that all faults in the related fault group have an impact on the communication of the metering automation master station; level three means that all faults in the related fault group have a serious impact on the communication of the metering automation master station.
[0077] 4. Management of associated fault groups: add, modify, delete, and other operations on associated fault groups, and maintain the association between associated fault groups and terminal types, power supply units, etc.
[0078] Since the faults included in each associated fault group are divided according to fault correlation, the specific faults included may vary depending on different terminal types and application scenarios. For example, an associated fault group may include faults such as "terminal clock asynchrony" and "data collection abnormality". These faults may be caused by the same fault cause, or there may be a certain causal relationship between their fault causes. For example, clock asynchrony may cause data collection abnormality.
[0079] It should be noted that an effective repair plan is a repair plan that can effectively solve terminal failures based on historical failure symptoms and historical failure causes. The process of specifying an effective repair plan is as follows:
[0080] 1. Fault scenario analysis: In-depth analysis of the actual scenarios of various terminal faults to understand the causes, manifestations, and possible impacts of the faults. Causes of faults include equipment design and manufacturing defects, improper material selection, improper use, improper maintenance and untimely repairs, environmental factors, etc.
[0081] 2. Logical combination design: Design appropriate logical combinations based on the fault scenario, including series, parallel, conditional, and loop logic structures;
[0082] 3. Repair operation selection: Based on the needs of the logical combination, select the corresponding repair operation, such as terminal time synchronization, parameter reset, task template issuance, restart, cache clearing, etc. Fault manifestations include abnormal performance, abnormal appearance, abnormal sound, abnormal temperature, abnormal odor, etc.; the possible impact of the fault includes power supply interruption, equipment damage, safety hazards, economic losses, social impact, etc.
[0083] 4. Solution testing and optimization: Test the effectiveness of the repair solution in the actual environment, and optimize and adjust it based on the test results;
[0084] 5. Solution documentation: Record the repair solution in documented form, including fault scenario description, logical combination design, repair operation selection, test results and other information.
[0085] In a preferred embodiment, after generating the fault judgment rule set, the method further includes:
[0086] Get the user-defined fault judgment rules;
[0087] Adding the user-defined fault judgment rule to the fault judgment rule set;
[0088] After generating the repair solution set corresponding to the associated fault group, the method further includes:
[0089] Obtaining a user-defined repair solution for the associated fault group;
[0090] The customized repair solution is included in the repair solution set corresponding to the associated fault group.
[0091] In this embodiment, when adding a user-defined fault judgment rule, it is also necessary to review the user-defined fault judgment rule. After passing the review, the user-defined fault judgment rule is added to the fault judgment rule set.
[0092] S4. Calculate the repair cost of each candidate repair solution, and sort all candidate repair solutions in descending order of repair cost as the execution order of the repair solutions.
[0093] In a preferred embodiment, the historical fault data further includes: repair time, repair complexity and repair abnormality risk value;
[0094] Calculate the repair cost for each candidate repair option, including:
[0095] Based on the repair time, repair complexity and repair abnormality risk value corresponding to each candidate repair solution, the repair cost of the candidate repair solution is comprehensively calculated. Specifically, the following steps can be used to comprehensively calculate the repair cost:
[0096] 1. Define weights: Define weights for repair time, repair complexity, and repair anomaly risk. These weights reflect the importance of each factor in the repair cost, with the sum of the weights being 1.
[0097] 2. Quantitative indicators: Quantify the repair time, repair complexity, and repair anomaly risk into numerical values. For example, repair time can be expressed in hours, repair complexity can be expressed on a scale of 1 to 10, and repair anomaly risk can be expressed as a probability value.
[0098] 3. Calculate the weighted value: Multiply the quantitative value of each factor by its corresponding weight to obtain the weighted value of each factor.
[0099] 4. Sum: Add the weighted values of all factors to obtain the total repair cost of the repair plan.
[0100] 5. Comprehensive evaluation: If necessary, other factors such as labor cost, material cost, etc. can also be considered and included in the calculation.
[0101] The specific calculation formula can be expressed as:
[0102] Repair cost = w1×repair time + w2×repair complexity + w3×repair abnormality risk value,
[0103] Among them, w1, w2, and w3 are the weights of repair time, repair complexity, and repair abnormality risk value respectively.
[0104] It should be noted that the repair time, repair complexity and repair abnormality risk values are preset quantities, based on historical or manual settings.
[0105] S5. Execute the selected repair solutions in sequence according to the repair solution execution order, and perform a terminal repair verification operation after each selected repair solution is executed.
[0106] The terminal repair verification operation includes:
[0107] Reacquiring the test data of the terminal to be tested as verification data;
[0108] According to the verification data and the fault judgment rule set, it is judged whether the terminal to be tested is faulty. If not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped.
[0109] In step S5, the selected repair plans are executed in sequence according to the execution order. After each selected repair plan is executed, the terminal repair verification operation is used to check whether the terminal is repaired successfully. If the repair is not successful, the next repair plan is executed; if the repair is successful, the task is terminated.
[0110] In a preferred embodiment, before executing the selected repair solutions in sequence according to the repair solution execution order, the method further includes:
[0111] Determine whether all the candidate repair plans include the preferred repair plan. If so, the preferred repair plan will be executed first; wherein, the preferred repair plan includes: terminal time synchronization, terminal parameter resetting, task template issuance, terminal restart, cache clearing and factory settings restoration.
[0112] In this embodiment, the preferred repair solution is executed first, and then the candidate repair solutions are executed in sequence according to the execution order.
[0113] In a preferred embodiment, when all the repair solutions to be selected have been executed and the terminal to be tested has not been repaired successfully, a repair abnormality alarm is issued.
[0114] In this embodiment, if the remote repair solution cannot solve the terminal fault anomaly, a repair anomaly alarm is issued, and an on-site modification solution is implemented, and personnel are sent to the metering automation terminal site to troubleshoot the communication fault and repair the fault anomaly.
[0115] Example 2
[0116] Please refer to Figure 2 , is a schematic structural diagram of a terminal fault remote repair device provided by an embodiment of the present invention, comprising: a data acquisition module, a fault judgment module, a repair module and a repair verification module;
[0117] The data acquisition module is used to obtain the test data, fault judgment rule set and repair solution library of the terminal to be tested; wherein the test data includes: terminal status data, terminal parameter setting data, terminal operation data, terminal log data and terminal task execution result data;
[0118] The fault judgment module is used to judge whether the terminal under test is faulty based on the test data and the fault judgment rule set, and if so, further determine the cause of the fault;
[0119] The repair module is configured to select a number of corresponding candidate repair solutions from the repair solution library based on the cause of the fault; calculate the repair cost of each candidate repair solution, and sort all the candidate repair solutions in order of repair cost from low to high as the repair solution execution order; and execute the candidate repair solutions in sequence according to the repair solution execution order;
[0120] The repair verification module is used to perform a terminal repair verification operation after each selected repair solution is executed. The terminal repair verification operation includes: reacquiring the test data of the terminal to be tested as verification data; judging whether the terminal to be tested is faulty based on the verification data and the fault judgment rule set. If not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped.
[0121] Example 3
[0122] Accordingly, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the terminal fault remote repair method described in the above-mentioned embodiment of the invention is implemented.
[0123] Example 4
[0124] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the terminal fault remote repair method described in the above embodiment of the invention.
[0125] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without inventive work.
[0126] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0127] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0128] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and various parts of the entire device are connected using various interfaces and lines.
[0129] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0130] The storage medium is a storage medium in which the computer program is stored. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. The computer program includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0131] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for remotely repairing a terminal fault, characterized in that: include: Obtaining the test data, fault judgment rule set and repair solution library of the terminal to be tested; wherein the test data includes: terminal status data, terminal parameter setting data, terminal operation data, terminal log data and terminal task execution result data; Determine whether the terminal under test is faulty based on the test data and the fault judgment rule set, and if so, further determine the cause of the fault; According to the cause of the fault, select a corresponding number of candidate repair solutions from the repair solution library; Calculate the repair cost of each candidate repair plan and sort all the candidate repair plans in descending order of repair cost as the execution order of the repair plans; Execute the selected repair solutions in sequence according to the repair solution execution order, and perform terminal repair verification operation after each selected repair solution is executed; The terminal repair verification operation includes: Reacquiring the test data of the terminal to be tested as verification data; According to the verification data and the fault judgment rule set, it is judged whether the terminal to be tested is faulty. If not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped.
2. The terminal fault remote repair method according to claim 1, characterized in that: Before determining whether the terminal to be tested is faulty based on the test data and the fault judgment rule set, the method further includes: Collecting a number of historical fault data; wherein the historical fault data includes: historical fault phenomena and historical fault causes; the historical fault phenomena include fault terminal status data, fault terminal parameter setting data, fault terminal operation data, fault terminal log data and fault terminal task execution result data; For each historical fault data, determine the corresponding fault rule expression according to the historical fault phenomenon and historical fault cause; Collect statistics on the fault rule expressions corresponding to all historical fault causes and generate a fault judgment rule set.
3. The terminal fault remote repair method according to claim 2, characterized in that: The historical fault data also includes: effective repair solutions; Before selecting a plurality of repair solutions from a set of repair solutions based on the cause of the fault, the method further includes: Determine the correlation between all historical fault data based on the historical fault causes; According to the correlation, the historical fault data is grouped to obtain a number of related fault groups; For each associated fault group, counting the effective repair solutions of all historical fault data in the associated fault group, and generating a repair solution set corresponding to the associated fault group; According to the cause of the fault, a number of corresponding repair solutions are selected from the repair solution library, including: According to the fault cause, determine the corresponding associated fault group and the corresponding repair solution set; All valid repair solutions in the repair solution set are selected as candidate repair solutions.
4. The terminal fault remote repair method according to claim 3, characterized in that: After generating the fault judgment rule set, it also includes: Get the user-defined fault judgment rules; Adding the user-defined fault judgment rule to the fault judgment rule set; After generating the repair solution set corresponding to the associated fault group, the method further includes: Obtaining a user-defined repair solution for the associated fault group; The customized repair solution is included in the repair solution set corresponding to the associated fault group.
5. The terminal fault remote repair method according to claim 3, characterized in that: The historical fault data also includes: repair time, repair complexity and repair abnormality risk value; Calculate the repair cost for each candidate repair option, including: The repair cost of each candidate repair solution is comprehensively calculated based on the repair time, repair complexity and repair abnormality risk value corresponding to each candidate repair solution.
6. The terminal fault remote repair method according to claim 1, characterized in that: Before executing the selected repair solutions in sequence according to the repair solution execution order, the method further includes: Determine whether all the candidate repair plans include the preferred repair plan. If so, the preferred repair plan will be executed first; wherein, the preferred repair plan includes: terminal time synchronization, terminal parameter resetting, task template issuance, terminal restart, cache clearing and factory settings restoration.
7. The terminal fault remote repair method according to claim 1, characterized in that: When all candidate repair solutions have been executed and the terminal under test has not been repaired successfully, a repair abnormality alarm is issued.
8. A terminal fault remote repair device, characterized in that: include: Data acquisition module, fault judgment module, repair module and repair verification module; The data acquisition module is used to obtain the test data, fault judgment rule set and repair solution library of the terminal to be tested; wherein the test data includes: terminal status data, terminal parameter setting data, terminal operation data, terminal log data and terminal task execution result data; The fault judgment module is used to judge whether the terminal under test is faulty based on the test data and the fault judgment rule set, and if so, further determine the cause of the fault; The repair module is configured to select a number of corresponding candidate repair solutions from the repair solution library based on the cause of the fault; calculate the repair cost of each candidate repair solution, and sort all the candidate repair solutions in order of repair cost from low to high as the repair solution execution order; and execute the candidate repair solutions in sequence according to the repair solution execution order; The repair verification module is used to perform a terminal repair verification operation after each selected repair solution is executed. The terminal repair verification operation includes: reacquiring the test data of the terminal to be tested as verification data; judging whether the terminal to be tested is faulty based on the verification data and the fault judgment rule set. If not, the terminal to be tested is repaired successfully and the execution of the remaining repair solutions is stopped.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for remotely repairing a terminal fault according to any one of claims 1 to 7 is implemented.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the terminal fault remote repair method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for fault diagnosis and analysis of electricity utilization information acquisition system
CN107516414A
Remote recovery method and device of equipment, storage medium and product
CN117762666A