Network fault self-diagnosis and repair method and system

By employing a hierarchical network fault self-diagnosis and repair method, this approach utilizes information system server IPs to filter network connectivity, automatically checks terminal IP configurations and security software installations, and combines physical and logical network detection. This solves the problem of poor network fault diagnosis and repair in existing technologies, achieving highly efficient automated detection and repair.

CN120934977APending Publication Date: 2025-11-11WUHAN MARINE MACHINERY PLANT
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510796240.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing technologies have poor network fault diagnosis and repair effects. Relying on manual inspection is inefficient, and automated tools have limited ability to diagnose logical network problems, resulting in poor diagnosis and repair effects.

Method used

The network fault self-diagnosis and repair method adopts a hierarchical logic. First, it uses the information system server IP as a reference to execute the ping command to filter network connectivity. If it fails, it automatically checks the terminal IP configuration and security software installation status in sequence. Then, it uses the fixed IP of the local network device as a reference to detect the physical network and finally detects the logical network. The modular system realizes automated detection and repair.

Benefits of technology

It enables automated, layered detection and repair of network faults, improving the comprehensiveness and accuracy of detection, reducing manual intervention, shortening fault location and repair time, and enhancing diagnostic and repair efficiency and transparency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120934977A_ABST
    Figure CN120934977A_ABST
Patent Text Reader

Abstract

The invention discloses a network fault self-diagnosis and repair method and system, and the method comprises the steps: 1, carrying out the ping of an information system server IP, judging the connection and disconnection of a network, if the connection and disconnection are successful, ending the diagnosis, and if the connection and disconnection are not successful, executing a second step; 2, automatically checking the IP address of the terminal computer, and if the IP address is incorrect, automatically correcting the IP address and then executing the step 3; thirdly, the installation process of the security software in the terminal computer is automatically checked, if the installation process is not completed, installation is prompted, and the fourth step is executed after installation is completed; 4, ping a local network equipment fixed IP, checking and repairing a physical network fault, if yes, executing the step 5, and if not, repairing the physical network fault; and step 5, ping the IP of the information system server again, checking and repairing the logic network fault, if the logic network fault is general, ending the diagnosis, and if the logic network fault is not general, repairing the logic network fault. Therefore, the network fault diagnosis and repair effects of the design are good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a diagnostic and repair method and system, belonging to the field of computer network technology, and particularly to a method and system for self-diagnosis and repair of network faults. Background Technology

[0002] In modern enterprise environments, there are numerous and widely distributed terminal computers. To ensure network and data security, multiple security software programs are typically installed. This makes network connectivity issues complex and varied, including physical network connectivity problems caused by issues with network cards, network cables, and drivers, as well as logical network connectivity problems caused by incorrect IP settings or incomplete installation of security software. However, existing methods for diagnosing and repairing network faults mostly rely on manual inspection or partially automated network diagnostic tools. Manual inspection is time-consuming and inefficient, while existing automated network diagnostic tools have limited ability to diagnose logical network problems and poor accuracy, resulting in poor effectiveness in network fault diagnosis and repair.

[0003] Chinese patent application No. 201010589247.3, filed on December 15, 2010, discloses a network fault repair system, apparatus, and method. The network fault repair system includes a detection module group, a directional data generation module, and a software execution unit. The detection module group is used to verify or detect the software and hardware parameters of the computer network and to identify and pinpoint fault points. The directional data generation module generates a directional data file containing configuration data of the software and hardware parameters required for the correct operation of the network. The software execution unit performs fault detection and repair on network terminals based on the data in the directional data file. Although this patent narrows the detection scope and improves the efficiency of detection and repair, it still has the following drawbacks: The detection process in this design lacks hierarchical logic, which can easily lead to detection redundancy or missed detections, resulting in poor network fault diagnosis and repair.

[0004] The information disclosed in this background section is intended only to enhance the understanding of the overall background of this patent application and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to overcome the shortcomings and problems of poor network fault diagnosis and repair in the existing technology, and to provide a method and system for network fault self-diagnosis and repair with better network fault diagnosis and repair effect.

[0006] To achieve the above objectives, the technical solution of the present invention is: a method and system for self-diagnosis and repair of network faults, the method comprising the following steps: Step 1: Select an information system server IP as a reference, and execute the ping command on the terminal computer. If the ping command succeeds, the network is considered to be working properly, and the diagnosis is complete; if the ping command fails, the network is considered to be faulty, and proceed to Step 2. Step 2: Automatically check the IP address of the terminal computer. If the IP address of the terminal computer is correct, proceed to Step 3. If the IP address of the terminal computer is incorrect, automatically correct the IP address of the terminal computer and output the correction information before proceeding to Step 3. Step 3: Automatically check the installation process of the security software on the terminal computer. If the installation process of the security software has been completed, proceed to Step 4. If the installation process of the security software has not been completed, prompt the user to install the required security software on the terminal computer and display the detection process and results. After the security software is installed, start from Step 1 again until the installation process of the required security software is completed, and then proceed to Step 4. Step 4: Using the fixed IP address of the local network device as a reference, execute the ping command on the terminal computer mentioned above. If the ping command succeeds, proceed to Step 5; if the ping command fails, it is determined that there is a physical network fault. Perform physical network fault diagnosis and repair, and display the inspection results and repair process. After the physical network fault diagnosis and repair is completed, repeat Step 4 until the ping command succeeds, and then proceed to Step 5. Step 5: Using the information system server IP mentioned in Step 1 as a reference, execute the ping command on the aforementioned terminal computer. If the ping command succeeds, the diagnosis ends; if the ping command fails, it is determined that there is a fault in the logical network. Perform logical network fault investigation and repair, and display the inspection results and repair process. After the logical network fault investigation and repair are completed, repeat Step 5 until the ping command succeeds, at which point the diagnosis and repair are complete.

[0007] In the first step, the information system server IP refers to the IP of the information system server that is commonly used and runs stably within the enterprise, including but not limited to OA and ERP.

[0008] In the second step, the IP address of the terminal computer is a static IP address of the enterprise's internal terminal computer. The static IP address includes the IP address, subnet mask, and default gateway. The subnet mask and default gateway adopt a fixed format of the enterprise. In the second step, the automatic check of the IP address of the aforementioned terminal computer refers to the automatic check of the subnet mask and gateway of the aforementioned terminal computer. In the second step, automatically correcting the IP address of the terminal computer means automatically correcting the subnet mask and default gateway of the terminal computer so that the subnet mask and default gateway conform to the company's fixed format.

[0009] In the third step, the security software includes a network access control system, a terminal security management system, and a print and record auditing system.

[0010] In the fourth step, the physical network fault diagnosis and repair refers to: first, automatically resetting the network interface of the terminal computer, and then, based on the fixed IP of the local network device, executing the ping command on the terminal computer to test the physical network connectivity of the terminal computer. If the ping command is successful, proceed to the fifth step. If the ping command fails, the user is prompted to check the physical connection of the terminal computer and restart the terminal computer. After the user restarts the terminal computer, the ping command is executed again on the terminal computer using the fixed IP of the local network device as a reference to test the physical network connectivity of the terminal computer and display the detection process and results. If the ping command succeeds, proceed to step five. If the ping command fails, prompt the network administrator to troubleshoot and repair hardware and configuration issues. After the network administrator has completed the troubleshooting and repair, execute the ping command again on the terminal computer using the local network device's fixed IP address as a reference to test the physical network connectivity of the terminal computer and display the testing process and results until the ping command succeeds. Then proceed to step five.

[0011] The automatic reset of the terminal computer's network interface includes automatically disabling and re-enabling the terminal computer's network card; the check of the terminal computer's physical connections includes checking the terminal computer's network cable connection status; the hardware device and configuration issues include switch configuration and physical damage issues of the switch, network cable, and network card.

[0012] In the fifth step, the logical network fault diagnosis and repair refers to: automatically resetting the network interface of the terminal computer, displaying the time, IP and MAC address information of the terminal computer, prompting the user to contact the network access system administrator, and the network access system administrator checking and repairing the accuracy of the IP and MAC address binding information and the accuracy of the switch VLAN settings in the network access system of the terminal computer based on the time, IP and MAC address information of the terminal computer.

[0013] The automatic reset of the terminal computer's network interface includes automatically disabling and enabling the terminal computer's network card once.

[0014] The system includes an IP setting module, an IP automatic detection and correction module, a security software installation detection module, a physical network fault detection and repair module, a logical network fault detection and repair module, and a detection process and result display module. The IP setting module is connected to the IP automatic detection and correction module, the IP automatic detection and correction module is connected to the security software installation detection module, the security software installation detection module is connected to the physical network fault detection and repair module, and the physical network fault detection and repair module is connected to the logical network fault detection and repair module. The IP automatic detection and correction module, security software installation detection module, physical network fault detection and repair module, and logical network fault detection and repair module are all connected to the detection process and result display module.

[0015] In the first step, the step of selecting an information system server IP as a reference and executing the ping command on the terminal computer is implemented by the logical network fault detection and repair module. In the second step, the automatic checking of the IP address of the aforementioned terminal computer and the automatic correction of the IP address of the terminal computer are both implemented by the IP automatic detection and correction module. In the third step, the automatic check of the installation process of the security software on the aforementioned terminal computer is implemented by the security software installation detection module. In the fourth step, the execution of the ping command on the aforementioned terminal computer based on the fixed IP of the local network device is implemented by the physical network fault detection and repair module. In the fifth step, the execution of the ping command on the terminal computer using the information system server IP mentioned in the first step as a reference is implemented by the logical network fault detection and repair module. In the second step, the output correction information is provided; in the third step, the user is prompted to install the required security software on the terminal computer, and the detection process and results are displayed; in the fourth step, the inspection results and repair process are displayed; and in the fifth step, the display of inspection results and repair process are both implemented by the detection process and result display module.

[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. This invention discloses a method and system for self-diagnosis and repair of network faults. First, a ping command is executed based on the information system server IP to initially screen network connectivity. If connectivity is lost, the system automatically checks and corrects the terminal IP configuration, checks the security software installation status and prompts for installation, then executes a ping command using the fixed IP of the local network device to detect the physical network, and finally executes a ping command again using the information system server IP to detect the logical network. The detection results are fed back in real time at each step. In application, the initial connectivity screening is performed using the commonly used and stable information system server IP; if connectivity is achieved, the diagnosis ends. If the connection fails, automated detection and repair are performed. First, the terminal computer's IP address is automatically checked; if it fails, it is automatically repaired. If the connection is successful, the installation process of the security software on the terminal computer is automatically checked; if it fails, the security software is fully installed. If the connection is successful, a ping command is executed using the local network device's fixed IP address to test the physical network; if it fails, the physical network is investigated and repaired. If the connection is successful, the information system server's IP address is pinged again to test the logical network; if successful, the diagnosis ends; if unsuccessful, the logical network is investigated and repaired. This achieves automated network fault detection and repair. The advantages of this invention also include: Firstly, by using a closed-loop process of initial screening of network connectivity via the ping command, automatic detection and correction of terminal computer IP configuration, scanning of security software installation processes, physical network layered diagnosis and repair, and logical network troubleshooting, an automated layered detection system has been constructed. Compared with existing tools that can only detect physical connectivity, this invention improves the comprehensiveness and accuracy of network fault detection by covering diagnosis of both the physical and logical layers. Secondly, this invention automates the entire diagnostic process, directly repairing faults that can be automatically repaired and providing prompts for faults that cannot be automatically repaired. This replaces the inefficient traditional method of manually checking and configuring each machine one by one, reducing human intervention, shortening fault location and repair time, and improving speed. Therefore, this invention can not only diagnose and repair network faults, but also achieve good results in network fault diagnosis and repair.

[0017] 2. This invention discloses a method and system for self-diagnosis and repair of network faults. The system includes an IP setting module, an IP automatic detection and correction module, a security software installation detection module, a physical network fault detection and repair module, a logical network fault detection and repair module, and a detection process and result display module. In application, the IP automatic detection and correction module automatically checks IP settings and corrects erroneous parameters; the security software installation detection module checks the security software installation status of the terminal computer and prompts for installation; the physical network fault detection and repair module troubleshoots physical network faults and performs self-repair or provides guidance; the logical network fault detection and repair module troubleshoots logical network faults and performs self-repair or provides guidance; and the detection process and result display module displays the detection process, results, and prompts in real time. Through the standardized collaboration of these six modules, the entire process from IP configuration verification to fault handling is automated, adapting to diverse enterprise network environments and improving the versatility of network fault diagnosis and repair. Therefore, this invention not only provides better network fault diagnosis and repair but also enhances versatility.

[0018] 3. In the network fault self-diagnosis and repair method and system of the present invention, in the second step, the output of correction information; in the third step, the prompting of the user to install the required security software on the terminal computer and displaying the detection process and results; in the fourth step, the display of the inspection results and repair process; and in the fifth step, the display of the inspection results and repair process are all implemented by the detection process and result display module. In application, the detection process and result display module records and displays the operations and information prompts at each stage, making the fault diagnosis process clear and traceable. Users can understand the current status and subsequent operations without professional knowledge, and maintenance personnel can quickly locate the problem stage, reducing communication costs and troubleshooting time, improving the efficiency and transparency of fault repair, and facilitating fault tracing and optimization. Therefore, the present invention not only improves versatility but also facilitates fault tracing and optimization. Attached Figure Description

[0019] Figure 1 This is the overall flowchart of the present invention.

[0020] Figure 2 This is a schematic diagram of the system structure of the present invention.

[0021] In the diagram: IP setting module 1, IP automatic detection and correction module 2, security software installation detection module 3, physical network fault detection and repair module 4, logical network fault detection and repair module 5, detection process and result display module 6. Detailed Implementation

[0022] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] See Figure 1 — Figure 2 A method and system for self-diagnosis and repair of network faults, the method comprising the following steps: Step 1: Select an information system server IP as a reference, and execute the ping command on the terminal computer. If the ping command succeeds, the network is considered to be working properly, and the diagnosis is complete; if the ping command fails, the network is considered to be faulty, and proceed to Step 2. Step 2: Automatically check the IP address of the terminal computer. If the IP address of the terminal computer is correct, proceed to Step 3. If the IP address of the terminal computer is incorrect, automatically correct the IP address of the terminal computer and output the correction information before proceeding to Step 3. Step 3: Automatically check the installation process of the security software on the terminal computer. If the installation process of the security software has been completed, proceed to Step 4. If the installation process of the security software has not been completed, prompt the user to install the required security software on the terminal computer and display the detection process and results. After the security software is installed, start from Step 1 again until the installation process of the required security software is completed, and then proceed to Step 4. Step 4: Using the fixed IP address of the local network device as a reference, execute the ping command on the terminal computer mentioned above. If the ping command succeeds, proceed to Step 5; if the ping command fails, it is determined that there is a physical network fault. Perform physical network fault diagnosis and repair, and display the inspection results and repair process. After the physical network fault diagnosis and repair is completed, repeat Step 4 until the ping command succeeds, and then proceed to Step 5. Step 5: Using the information system server IP mentioned in Step 1 as a reference, execute the ping command on the aforementioned terminal computer. If the ping command succeeds, the diagnosis ends; if the ping command fails, it is determined that there is a fault in the logical network. Perform logical network fault investigation and repair, and display the inspection results and repair process. After the logical network fault investigation and repair are completed, repeat Step 5 until the ping command succeeds, at which point the diagnosis and repair are complete.

[0024] In the first step, the information system server IP refers to the IP of the information system server that is commonly used and runs stably within the enterprise, including but not limited to OA and ERP.

[0025] In the second step, the IP address of the terminal computer is a static IP address of the enterprise's internal terminal computer. The static IP address includes the IP address, subnet mask, and default gateway. The subnet mask and default gateway adopt a fixed format of the enterprise. In the second step, the automatic check of the IP address of the aforementioned terminal computer refers to the automatic check of the subnet mask and gateway of the aforementioned terminal computer. In the second step, automatically correcting the IP address of the terminal computer means automatically correcting the subnet mask and default gateway of the terminal computer so that the subnet mask and default gateway conform to the company's fixed format.

[0026] In the third step, the security software includes a network access control system, a terminal security management system, and a print and record auditing system.

[0027] In the fourth step, the physical network fault diagnosis and repair refers to: first, automatically resetting the network interface of the terminal computer, and then, based on the fixed IP of the local network device, executing the ping command on the terminal computer to test the physical network connectivity of the terminal computer. If the ping command is successful, proceed to the fifth step. If the ping command fails, the user is prompted to check the physical connection of the terminal computer and restart the terminal computer. After the user restarts the terminal computer, the ping command is executed again on the terminal computer using the fixed IP of the local network device as a reference to test the physical network connectivity of the terminal computer and display the detection process and results. If the ping command succeeds, proceed to step five. If the ping command fails, prompt the network administrator to troubleshoot and repair hardware and configuration issues. After the network administrator has completed the troubleshooting and repair, execute the ping command again on the terminal computer using the local network device's fixed IP address as a reference to test the physical network connectivity of the terminal computer and display the testing process and results until the ping command succeeds. Then proceed to step five.

[0028] The automatic reset of the terminal computer's network interface includes automatically disabling and re-enabling the terminal computer's network card; the check of the terminal computer's physical connections includes checking the terminal computer's network cable connection status; the hardware device and configuration issues include switch configuration and physical damage issues of the switch, network cable, and network card.

[0029] In the fifth step, the logical network fault diagnosis and repair refers to: automatically resetting the network interface of the terminal computer, displaying the time, IP and MAC address information of the terminal computer, prompting the user to contact the network access system administrator, and the network access system administrator checking and repairing the accuracy of the IP and MAC address binding information and the accuracy of the switch VLAN settings in the network access system of the terminal computer based on the time, IP and MAC address information of the terminal computer.

[0030] The automatic reset of the terminal computer's network interface includes automatically disabling and enabling the terminal computer's network card once.

[0031] The system includes an IP setting module 1, an IP automatic detection and correction module 2, a security software installation detection module 3, a physical network fault detection and repair module 4, a logical network fault detection and repair module 5, and a detection process and result display module 6. The IP setting module 1 is connected to the IP automatic detection and correction module 2, the IP automatic detection and correction module 2 is connected to the security software installation detection module 3, the security software installation detection module 3 is connected to the physical network fault detection and repair module 4, and the physical network fault detection and repair module 4 is connected to the logical network fault detection and repair module 5. The IP automatic detection and correction module 2, the security software installation detection module 3, the physical network fault detection and repair module 4, and the logical network fault detection and repair module 5 are all connected to the detection process and result display module 6.

[0032] In the first step, the step of selecting an information system server IP as a reference and executing the ping command on the terminal computer is implemented by the logical network fault detection and repair module 5. In the second step, the automatic checking of the IP address of the aforementioned terminal computer and the automatic correction of the IP address of the terminal computer are both implemented by the IP automatic detection and correction module 2. In the third step, the automatic check of the installation process of the security software on the aforementioned terminal computer is implemented by the security software installation detection module 3. In the fourth step, the execution of the ping command on the terminal computer based on the fixed IP of the local network device is implemented by the physical network fault detection and repair module 4. In the fifth step, the execution of the ping command on the terminal computer using the information system server IP mentioned in the first step as a reference is implemented by the logical network fault detection and repair module 5. In the second step, the output correction information is provided; in the third step, the user is prompted to install the required security software on the terminal computer, and the detection process and results are displayed; in the fourth step, the inspection results and repair process are displayed; and in the fifth step, the display of inspection results and repair process are both implemented by the detection process and result display module 6.

[0033] The following are supplementary descriptions of the present invention: Preferably, the IP setting module 1 of this invention supports users to manually input IP addresses, and the system automatically completes the configuration, reducing human error; the IP automatic detection and correction module 2 automatically verifies and corrects fixed format parameters such as subnet mask and gateway of static IP addresses, ensuring that the terminal IP configuration conforms to the enterprise network specifications.

[0034] Example 1: See Figure 1 — Figure 2 A method and system for self-diagnosis and repair of network faults, the method comprising the following steps: Step 1: Select an information system server IP as a reference, and execute the ping command on the terminal computer. If the ping command succeeds, the network is considered to be working properly, and the diagnosis is complete; if the ping command fails, the network is considered to be faulty, and proceed to Step 2. Step 2: Automatically check the IP address of the terminal computer. If the IP address of the terminal computer is correct, proceed to Step 3. If the IP address of the terminal computer is incorrect, automatically correct the IP address of the terminal computer and output the correction information before proceeding to Step 3. Step 3: Automatically check the installation process of the security software on the terminal computer. If the installation process of the security software has been completed, proceed to Step 4. If the installation process of the security software has not been completed, prompt the user to install the required security software on the terminal computer and display the detection process and results. After the security software is installed, start from Step 1 again until the installation process of the required security software is completed, and then proceed to Step 4. Step 4: Using the fixed IP address of the local network device as a reference, execute the ping command on the terminal computer mentioned above. If the ping command succeeds, proceed to Step 5; if the ping command fails, it is determined that there is a physical network fault. Perform physical network fault diagnosis and repair, and display the inspection results and repair process. After the physical network fault diagnosis and repair is completed, repeat Step 4 until the ping command succeeds, and then proceed to Step 5. Step 5: Using the information system server IP mentioned in Step 1 as a reference, execute the ping command on the aforementioned terminal computer. If the ping command succeeds, the diagnosis ends; if the ping command fails, it is determined that there is a fault in the logical network. Perform logical network fault investigation and repair, and display the inspection results and repair process. After the logical network fault investigation and repair are completed, repeat Step 5 until the ping command succeeds, at which point the diagnosis and repair are complete.

[0035] In application, network faults are mainly divided into physical layer faults and logical layer faults. Physical layer faults are usually judged by testing the connectivity of the physical link (i.e., the fixed IP of the local network device) between the terminal computer and the local device, while logical layer faults are usually judged by testing the logical connectivity between the terminal computer and the server (i.e., the IP of the information system server). Layered diagnostics are used to automate the troubleshooting of network faults. First, basic connectivity is verified, and then the terminal IP configuration, security software integrity, physical connection status, and logical connection compliance are checked in sequence. Through the progressive detection of the layered location mechanism, problems that can be handled automatically are directly corrected, and problems that require manual intervention are guided and automatically retested after repair, so that the effect of network fault diagnosis and repair is better.

[0036] Example 2: The basic content is the same as in Example 1, except that in the first step, the information system server IP refers to the IP of the information system server that is commonly used and runs stably within the enterprise, including but not limited to OA and ERP.

[0037] When applying this method, select the IP addresses of commonly used and stable information system servers within the enterprise (such as OA and ERP system IP addresses) as the benchmark. This is because these servers are core nodes for end-user daily business access, and their connectivity directly reflects the actual availability of the enterprise network. Taking the OA or ERP system as an example, if a ping is successful, it indicates that the network infrastructure (such as routers, switches, and server links) is normal, and no further diagnosis is needed. If the ping fails, it may involve IP configuration errors, security policy blocking, or physical link failures. Prioritizing the testing of these server IP addresses can quickly distinguish between local terminal failures and core network failures, avoiding ineffective testing of network nodes that have no impact on business operations and improving diagnostic efficiency. At the same time, the high stability of OA, ERP, and other system servers can eliminate misjudgments caused by fluctuations in the server itself, ensuring the reliability of the testing benchmark.

[0038] Example 3: The basic content is the same as in Example 1, except that: in the second step, the IP address of the terminal computer is a static IP address of an internal enterprise terminal computer, and the static IP address includes an IP address, a subnet mask, and a default gateway, wherein the subnet mask and the default gateway adopt a fixed enterprise format; in the second step, the automatic check of the IP address of the terminal computer refers to the automatic check of the subnet mask and gateway of the terminal computer; in the second step, the automatic correction of the IP address of the terminal computer refers to the automatic correction of the subnet mask and the default gateway of the terminal computer to make the subnet mask and the default gateway conform to the fixed enterprise format.

[0039] When in use, the system automatically checks the static IP address settings of the terminal computer, focusing on verifying whether the subnet mask and default gateway conform to the enterprise's fixed format. If an error is detected in the subnet mask or gateway (such as being mistakenly set to a non-enterprise standard format), the system automatically corrects it to the preset fixed format and outputs the correction information in the detection process and result display module to ensure that the IP configuration of the terminal computer conforms to the enterprise network specifications, and diagnoses and repairs network connectivity problems caused by incorrect IP configuration.

[0040] Example 4: The basic content is the same as in Example 1, except that in the third step, the security software includes a network access control system, a terminal security management system, and a print and record auditing system.

[0041] In application, to ensure network security and data protection, computer terminals typically require the installation of multiple security software programs. Incomplete installation of these programs can lead to network outages and disrupt normal network operation. Network access control systems ensure that terminal devices comply with enterprise network security policies, enabling control over device access. Terminal security management systems monitor terminal security status in real time, preventing threats such as viruses and malware. Printing and burning auditing systems audit printing and burning activities, preventing data leakage risks. Therefore, it is necessary to automatically detect the completeness of these three types of security software installations. If any software is not installed or is not fully installed, the system should prompt the user to install it and display the detection process and results to ensure enterprise network security and data protection, and resolve faults caused by security software installation issues.

[0042] Example 5: The basic content is the same as in Example 1, except that in the fourth step, the physical network fault diagnosis and repair refers to: first, automatically resetting the network interface of the terminal computer, and then, using the fixed IP address of the local network device as a reference, executing the ping command on the terminal computer to test the physical network connectivity of the terminal computer. If the ping command succeeds, proceed to the fifth step; if the ping command fails, prompt the user to check the physical connection of the terminal computer and restart the terminal computer. After the user restarts the terminal computer, execute the ping command again on the terminal computer using the fixed IP address of the local network device as a reference to test the physical network connectivity of the terminal computer, and display the detection process and results. If the ping command succeeds, then... Proceed to step five; if the ping command fails, prompt the network administrator to troubleshoot and repair hardware and configuration issues. After the network administrator completes the troubleshooting and repair, execute the ping command again on the terminal computer using the local network device's fixed IP address as a reference to test the terminal computer's physical network connectivity. Display the testing process and results until the ping command succeeds, then proceed to step five. Automatically resetting the terminal computer's network interface includes automatically disabling and re-enabling the terminal computer's network card. Checking the terminal computer's physical connections includes checking the terminal computer's network cable connections. Hardware and configuration issues include switch configuration and physical damage to the switch, network cable, and network card.

[0043] When applying the application, physical network connectivity issues are primarily caused by problems with the physical link or hardware configuration between the terminal computer and local network devices. These include abnormal network card drivers or hardware damage, loose or physically broken network cables, incorrect switch port configurations, switch port hardware failures (such as port damage), and incorrect network cabling. Therefore, in the fourth step of troubleshooting and repairing physical network problems, first automatically reset the terminal computer's network interface (i.e., the network card) by disabling and re-enabling the network card to resolve temporary driver or link interruption issues. If the network is still not working, then check the physical connections of the terminal computer (specifically, the network cable connections) and restart the terminal computer to rule out poor network cable contact or temporary system conflicts. If the network is still not working, then contact network maintenance personnel for assistance. This invention allows for the troubleshooting and repair of hardware devices and configuration issues (specifically, complex problems such as switch configuration errors, physical cable damage, and network card hardware failures). It systematically locates faults from easy to difficult, prioritizing automated repair of common problems and providing prompts when automatic processing is not possible, thus improving diagnostic and repair efficiency. Simultaneously, the detection process and results display module shows the detection process and results in real time, ensuring a transparent and traceable physical layer fault investigation process. Furthermore, selecting to ping the local network device's fixed IP address (specifically 192.168.81.14) is to quickly verify the physical link connectivity between the current device and key nodes within the local area network by sending network test packets, accurately locating physical layer faults such as network cables, network cards, and switches.

[0044] Example 6: The basic content is the same as in Example 1, except that in the fifth step, the logical network fault diagnosis and repair refers to: automatically resetting the network interface of the terminal computer, displaying the time, IP, and MAC address information of the terminal computer, prompting the user to contact the network access system administrator, and the network access system administrator checking and repairing the accuracy of the IP and MAC address binding information and the accuracy of the switch VLAN settings in the network access system of the terminal computer based on the time, IP, and MAC address information of the terminal computer; the automatic resetting of the network interface of the terminal computer includes automatically disabling and enabling the network card of the terminal computer once.

[0045] When applying the system, for logical network fault diagnosis and repair, the system first automatically resets the network interface (specifically, disabling and enabling the network card). Then, an information window pops up containing the terminal computer's time, IP address, and MAC address, prompting the person responsible for the computer to contact the network access control system administrator. Based on the above information, the administrator checks whether the IP and MAC address binding in the network access control system is accurate (e.g., whether the terminal MAC address was mistakenly marked as unauthorized) and whether the switch VLAN settings match the network area to which the terminal belongs (e.g., whether it was incorrectly assigned to an isolated VLAN). The detection process and result display module displays the detection process and results in real time until the administrator completes the policy correction and confirms that the logical network connectivity has been restored, at which point the diagnostic process ends, ensuring that logical layer faults can be quickly located and repaired based on accurate terminal information.

[0046] Example 7: The basic content is the same as in Embodiment 1, except that: the system includes an IP setting module 1, an IP automatic detection and correction module 2, a security software installation detection module 3, a physical network fault detection and repair module 4, a logical network fault detection and repair module 5, and a detection process and result display module 6; the IP setting module 1 is connected to the IP automatic detection and correction module 2, the IP automatic detection and correction module 2 is connected to the security software installation detection module 3, the security software installation detection module 3 is connected to the physical network fault detection and repair module 4, and the physical network fault detection and repair module 4 is connected to the logical network fault detection and repair module 5; the IP automatic detection and correction module 2, the security software installation detection module 3, the physical network fault detection and repair module 4, and the logical network fault detection and repair module 5 are all connected to the detection process and result display module 6.

[0047] During application, after the IP setting module 1 completes the automatic IP setting of the terminal computer, the IP automatic detection and correction module 2 automatically starts to check whether the IP setting information is correct. If an error is found, it is automatically corrected and the correction information is output. Then, the security software installation detection module 3 is started to check the integrity of the security software installation. If it is not installed or not fully installed, the user is prompted to install and the detection process is displayed. After the installation is completed, the physical network fault detection and repair module 4 is triggered. The physical network connectivity is determined by pinging 192.168.81.14. If a fault exists, it will automatically repair according to the process or prompt the user and maintenance personnel to intervene. After the physical network repair is completed, the logical network fault detection and repair module 5 is started. The logical network connectivity is determined by pinging the IP of the commonly used information system server. If a fault is found, the network card is automatically reset and the administrator is prompted to check the policy configuration. Throughout the process, the IP automatic detection and correction module 2, the security software installation detection module 3, the physical network fault detection and repair module 4, and the logical network fault detection and repair module 5 all transmit status data to the detection process and result display module 6 in real time, and dynamically display the detection results, repair progress and prompt information of each stage, making the whole process visible and traceable.

[0048] Example 8: The basic content is the same as in Example 1, except that: in the first step, the selection of an information system server IP as a reference and the execution of the ping command on the terminal computer are implemented by the logical network fault detection and repair module 5; in the second step, the automatic checking and correction of the IP address of the terminal computer are implemented by the IP automatic detection and correction module 2; in the third step, the automatic checking of the installation process of the security software on the terminal computer is implemented by the security software installation detection module 3; in the fourth step, the execution of the ping command on the terminal computer using the fixed IP of the local network device as a reference is implemented by the physical network fault detection and repair module 4; in the fifth step, the execution of the ping command on the terminal computer using the information system server IP mentioned in the first step as a reference is implemented by the logical network fault detection and repair module 5; in the second step, the output of correction information; in the third step, the prompting of the user to install the required security software on the terminal computer and the display of the detection process and results; in the fourth step, the display of the check results and the repair process; and in the fifth step, the display of the check results and the repair process are all implemented by the detection process and result display module 6.

[0049] The above description is only a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. Any equivalent modifications or changes made by those skilled in the art based on the content disclosed in the present invention should be included within the scope of protection set forth in the claims.

Claims

1. A method for self-diagnosis and repair of network faults, characterized in that: The method includes the following steps: Step 1: Select an information system server IP as a reference, and execute the ping command on the terminal computer. If the ping command succeeds, the network is considered to be working properly, and the diagnosis is complete; if the ping command fails, the network is considered to be faulty, and proceed to Step 2. Step 2: Automatically check the IP address of the terminal computer. If the IP address of the terminal computer is correct, proceed to Step 3. If the IP address of the terminal computer is incorrect, automatically correct the IP address of the terminal computer and output the correction information before proceeding to Step 3. Step 3: Automatically check the installation process of the security software on the terminal computer. If the installation process of the security software has been completed, proceed to Step 4. If the installation process of the security software has not been completed, prompt the user to install the required security software on the terminal computer and display the detection process and results. After the security software is installed, start from Step 1 again until the installation process of the required security software is completed, and then proceed to Step 4. Step 4: Using the fixed IP address of the local network device as a reference, execute the ping command on the terminal computer mentioned above. If the ping command succeeds, proceed to Step 5; if the ping command fails, it is determined that there is a physical network fault. Perform physical network fault diagnosis and repair, and display the inspection results and repair process. After the physical network fault diagnosis and repair is completed, repeat Step 4 until the ping command succeeds, and then proceed to Step 5. Step 5: Using the information system server IP mentioned in Step 1 as a reference, execute the ping command on the aforementioned terminal computer. If the ping command succeeds, the diagnosis ends; if the ping command fails, it is determined that there is a fault in the logical network. Perform logical network fault investigation and repair, and display the inspection results and repair process. After the logical network fault investigation and repair are completed, repeat Step 5 until the ping command succeeds, at which point the diagnosis and repair are complete.

2. The method for self-diagnosis and repair of network faults according to claim 1, characterized in that: In the first step, the information system server IP refers to the IP of the information system server that is commonly used and runs stably within the enterprise, including but not limited to OA and ERP.

3. The method for self-diagnosis and repair of network faults according to claim 1, characterized in that: In the second step, the IP address of the terminal computer is a static IP address of the enterprise's internal terminal computer. The static IP address includes the IP address, subnet mask, and default gateway. The subnet mask and default gateway adopt a fixed format of the enterprise. In the second step, the automatic check of the IP address of the aforementioned terminal computer refers to the automatic check of the subnet mask and gateway of the aforementioned terminal computer. In the second step, automatically correcting the IP address of the terminal computer means automatically correcting the subnet mask and default gateway of the terminal computer so that the subnet mask and default gateway conform to the company's fixed format.

4. The method for self-diagnosis and repair of network faults according to claim 1, characterized in that: In the third step, the security software includes a network access control system, a terminal security management system, and a print and record auditing system.

5. The method for self-diagnosis and repair of network faults according to claim 1, characterized in that: In the fourth step, the physical network fault diagnosis and repair refers to: first, automatically resetting the network interface of the terminal computer, and then, based on the fixed IP of the local network device, executing the ping command on the terminal computer to test the physical network connectivity of the terminal computer. If the ping command is successful, proceed to the fifth step. If the ping command fails, the user is prompted to check the physical connection of the terminal computer and restart the terminal computer. After the user restarts the terminal computer, the ping command is executed again on the terminal computer using the fixed IP of the local network device as a reference to test the physical network connectivity of the terminal computer and display the detection process and results. If the ping command succeeds, proceed to step five. If the ping command fails, prompt the network administrator to troubleshoot and repair hardware and configuration issues. After the network administrator has completed the troubleshooting and repair, execute the ping command again on the terminal computer using the local network device's fixed IP address as a reference to test the physical network connectivity of the terminal computer and display the testing process and results until the ping command succeeds. Then proceed to step five.

6. The method for self-diagnosis and repair of network faults according to claim 5, characterized in that: The automatic reset of the terminal computer's network interface includes automatically disabling and re-enabling the terminal computer's network card; the check of the terminal computer's physical connections includes checking the terminal computer's network cable connection status; the hardware device and configuration issues include switch configuration and physical damage issues of the switch, network cable, and network card.

7. The method for self-diagnosis and repair of network faults according to claim 1, characterized in that: In the fifth step, the logical network fault diagnosis and repair refers to: automatically resetting the network interface of the terminal computer, displaying the time, IP and MAC address information of the terminal computer, prompting the user to contact the network access system administrator, and the network access system administrator checking and repairing the accuracy of the IP and MAC address binding information and the accuracy of the switch VLAN settings in the network access system of the terminal computer based on the time, IP and MAC address information of the terminal computer.

8. The method for self-diagnosis and repair of network faults according to claim 7, characterized in that: The automatic reset of the terminal computer's network interface includes automatically disabling and enabling the terminal computer's network card once.

9. A system containing the network fault self-diagnosis and repair method of claim 1, characterized in that: The system includes an IP setting module (1), an IP automatic detection and correction module (2), a security software installation detection module (3), a physical network fault detection and repair module (4), a logical network fault detection and repair module (5), and a detection process and result display module (6). The IP setting module (1) is connected to the IP automatic detection and correction module (2), the IP automatic detection and correction module (2) is connected to the security software installation detection module (3), the security software installation detection module (3) is connected to the physical network fault detection and repair module (4), and the physical network fault detection and repair module (4) is connected to the logical network fault detection and repair module (5). The IP automatic detection and correction module (2), the security software installation detection module (3), the physical network fault detection and repair module (4), and the logical network fault detection and repair module (5) are all connected to the detection process and result display module (6).

10. A network fault self-diagnosis and repair system according to claim 9, characterized in that: In the first step, the step of selecting an information system server IP as a reference and executing the ping command on the terminal computer is implemented by the logical network fault detection and repair module (5); In the second step, the automatic checking of the IP address of the terminal computer and the automatic correction of the IP address of the terminal computer are both implemented by the IP automatic detection and correction module (2). In the third step, the automatic check of the installation process of the security software in the aforementioned terminal computer is implemented by the security software installation detection module (3); In the fourth step, the execution of the ping command on the terminal computer based on the fixed IP of the local network device is implemented by the physical network fault detection and repair module (4); In the fifth step, the execution of the ping command on the terminal computer based on the IP address of the information system server mentioned in the first step is implemented by the logical network fault detection and repair module (5). In the second step, the output correction information is provided; in the third step, the user is prompted to install the required security software on the terminal computer and the detection process and results are displayed; in the fourth step, the inspection results and repair process are displayed; and in the fifth step, the inspection results and repair process are displayed by the detection process and result display module (6).

Citation Information

Patent Citations

  • Network fault restoration system, device and method

    CN102064979B