Summary of the invention
(1) goal of the invention
For solving above-mentioned problems of the prior art, the purpose of this invention is to provide a kind of network fault restoration system and apparatus and method thereof that can solve simultaneously the hardware and software fault and make things convenient for the Non-computer Majors librarian use.
(2) technical scheme
For achieving the above object, technical scheme of the present invention realizes as follows:
A kind of network fault restoration system comprises detection module group, directional data generation module and software performance element.Wherein the detection module group is used for the soft and hardware parameter of checking or detection computations machine network, and the communication original procedure packet in the time of will detecting correct parameter simultaneously is retained in internal memory or other storage medium; The configuration data that the directional data generation module will comprise the required soft and hardware parameter of network correct operation are generated as the directional data file; The software performance element carries out fault detect and reparation according to the data of described directional data file to the network terminal.As a kind of preferred, described directional data file also comprises the correct original procedure packet for the contrast diagnosis.
Described software performance element comprises can detect driving at the network that the general-purpose operating system of the network terminal is carried out, directional data imports module and a key repair procedure, and wherein network detects and drives details that all are processed without operating system in order to monitor, that network interface card transmits and receive data and wraps; Directional data imports module in order to receive and to resolve the directional data that the directional data generation module generates; One key repair procedure is realized program as user interface program and function, is responsible for all directed automatically work of inspection and repair.
Described detection module group comprises at least a in the following detection module:
Analog D SL cat module is used for catching the two-way communication data between computer and the wide area network and analyzing;
The bandwidth test module is used to the network terminal that the service of testing the speed of the uplink and downlink direction of wide area network is provided;
The online upgrading module is in order to real-time update detection module group embedded software, software performance element and network failure database;
Can the data link detection module proper communication and point out correct parameters in order to detect data link outside the physical link;
The cable detection module is responsible for detecting the cable problem;
The DynamicHost detection module is used for the fault of judging that DHCP protocol service aspect exists;
The authentication detection module is for detection of the fault in the authentication process itself;
IP validation checking module, whether detect the IP address legal effective;
The gateway detection module, whether working properly for detection of gateway, whether there is the ARP deception;
Whether the domain name mapping detection module can correctly finish domain name to the translation of IP address for detection of dns server;
Whether the detection of connectivity module is unimpeded for detection of the route to a certain IP address;
Route is followed the tracks of detection module, be used for following the tracks of the intended target address by way of routing node, and calculate the packet loss of each node,
Demonstrate simultaneously the geographical location information of each node;
Can the HTTP detection module for detection of normally accessing the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used for finding the problem of existence in the packet.
One key trace routine, automatically finish described detection module group all modules detection and generate the directional data file.
A kind of Network Fault Detection device comprises embedded control system and detects interface system that wherein embedded control system comprises flush bonding processor and human-machine interface module group, is used for control and realizes man-machine interface; Detect interface system and comprise that xDSL modulator-demodulator, WLAN adapter, Ethernet Adaptation Unit, cable detect at least a in the interface; Key is that embedding has the directional data of comprising generation module and detection module group in described embedded control system.Comprise at least a of following detection module in the described detection module group:
Analog D SL cat module is used for catching the two-way communication data between computer and the wide area network and analyzing;
The bandwidth test module is used to the network terminal that the service of testing the speed of the uplink and downlink direction of wide area network is provided;
The online upgrading module is in order to real-time update detection module group embedded software, software performance element and network failure database;
Can the data link detection module proper communication and point out correct parameters in order to detect data link outside the physical link;
The cable detection module is responsible for detecting the cable problem;
The DynamicHost detection module is used for the fault of judging that DHCP protocol service aspect exists;
The authentication detection module is for detection of the fault in the authentication process itself;
IP validation checking module, whether detect the IP address legal effective;
The gateway detection module, whether working properly for detection of gateway, whether there is the ARP deception;
Whether the domain name mapping detection module can correctly finish domain name to the translation of IP address for detection of dns server;
Whether the detection of connectivity module is unimpeded for detection of the route to a certain IP address;
Route is followed the tracks of detection module, be used for following the tracks of the intended target address by way of routing node, and calculate the packet loss of each node, demonstrate simultaneously the geographical location information of each node;
Can the HTTP detection module for detection of normally accessing the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used for finding the problem of existence in the packet;
One key trace routine, automatically finish described detection module group all modules detection and generate the directional data file.
A kind of network fault repairing method comprises the steps:
1) generates the directional data file by the directional data generation module in the above-mentioned network fault restoration system, described directional data comprises the configuration data of the required soft and hardware parameter of network correct operation, more excellent situation can also comprise the correct original procedure packet for the contrast diagnosis;
2) described directional data is imported the objective network terminal, with described configuration data write operation system and the networking component of resetting so that configuration take-effective;
3) network is installed and is detected driving, to obtain the thorough control of network interface card, the details that all are processed without operating system for monitoring, that network interface card transmits and receive data bag;
4) carry out the data link inspection and repair;
5) network identity inspection and repair comprises DynamicHost inspection and repair and authentication inspection and repair;
6) IP validation checking and reparation;
7) gateway inspection and repair;
8) domain name mapping inspection and repair;
9) HTTP inspection and repair;
10) fault detect of WEB browser and reparation.
(3) beneficial effect
Network fault restoration system provided by the invention and apparatus and method thereof, the directional data guiding software that is generated by the checkout gear hardware system detects and repairs network failure, realized the combination of hardware detection and software detection, greatly dwindled detection range, improve the efficient that detects and repair, and be convenient to very much Non-computer Majors user's use.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present invention is described further.
Embodiment one network fault restoration system
A kind of network fault restoration system comprises Network Fault Detection device hardware system and the software performance element that may operate on the objective network terminal, and described Network Fault Detection device hardware system has been embedded in directional data generation module and detection module group.Described detection module group detects computer network, generate the configuration data that comprise the required soft and hardware parameter of network correct operation and the directional data file that is used for the correct original procedure packet of contrast diagnosis by the directional data generation module, instruct the software performance element on the objective network terminal that the objective network terminal is carried out network restoration by this directional data file.Detection module group in the described embedding checkout gear hardware system comprises at least a in the following detection module:
The cable detection module is responsible for detecting the cable problem, points out solution for underproof cable;
Can the data link detection module proper communication and point out correct parameters in order to detect data link outside the physical link, for example the mistake of the VPI of DSL, VCI parameters.
The DynamicHost detection module is used for judging the fault of DHCP protocol service aspect existence, and points out solution;
The authentication detection module is for detection of the fault in the authentication process itself and point out solution, the fault in the authentications such as PPPOE dialing, WEB authentication, IEEE 802.1x;
IP validation checking module, whether detect the IP address legal effective;
The gateway detection module, whether working properly for detection of gateway, whether there is the ARP deception;
Whether the domain name mapping detection module can correctly finish domain name to the translation of IP address for detection of dns server;
The detection of connectivity module, namely whether the PING program is unimpeded for detection of the route to a certain IP address;
Route is followed the tracks of detection module, be used for following the tracks of the intended target address by way of routing node, and can calculate the packet loss of each node, demonstrate simultaneously the geographical location information of each node;
Can the HTTP detection module for detection of normally accessing the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used for finding the problem of existence in the packet, is the module for more professional librarian use.
Analog D SL cat module is used for catching the two-way communication data between computer and the wide area network and analyzing, to find and to solve fault;
The bandwidth test module is used to client that the service of testing the speed of the uplink and downlink direction of wide area network is provided;
The online upgrading module is in order to real-time update detection module group embedded software, software performance element and network failure database;
One key trace routine only needs to carry out a program, automatically finishes the detection from physical layer to all above-mentioned network failure of HTTP layer.
Above-mentioned all detection modules can not only detect corresponding fault, also point out simultaneously solution.For example, the cable detection module detects be above standard 100 meters of regulation of twisted pair wire length, the physical length that it will the prompting user cable and length that should cutting.The another one example, the user is wrong, and the 100Mbps link is set to 1000Mbps, the data link detection module will prompting user 1000Mbps setting be wrong, should be corrected as 100Mbps, simultaneously verify check and in directional data, add correct record about LI(link interface) speed.
Described network fault restoration system also comprises the directional data generation module, after a key trace routine is complete, will comprises the configuration data of the required complete soft and hardware parameter of network correct operation and the correct original procedure packet of diagnosing for contrast and be generated as the directional data file.
According to the difference of network, described directional data also can be different, and specifically, directional data comprises the configuration data of network soft and hardware parameter and correct original procedure packet.When carrying out network terminal fault restoration, with the parameter of the network terminal and correct original procedure Data Comparison, can be easy to find the fault point.
The parameter of described configuration packet includes network soft and hardware specifically can include, but are not limited to following data:
The access way data are optical fiber, twisted-pair feeder, telephone wire or wireless signal;
Physical layer and data link layer parameter comprise whether the correct line order of twisted-pair feeder, the equipment that links to each other with computer have the VPI of self adaptation line order function, interface rate, full duplex or semiduplex mode, ADSL and VCI value etc.;
Network access and configuration parameter specifically comprise static IP parameter, DynamicHost, PPPOE, PPPOA, WEB authentication or IEEE 802.1x authentication; If need account number cipher, also comprise correct certificate server, account number, password, authentication mode etc.;
The MAC layer parameter comprises frame type; The gateway physical address; Whether use the VLAN label, if use, also comprise VLANID, priority and EtherType; Whether use nested VLAN label, if use, also comprise nested VLAN ID, priority and EtherType;
IP layer parameter, dns address are automatic acquisition or static assignment, if static assignment also comprises its correct value; If static IP parameter network access also comprises static ip address, subnet mask, gateway; If the DynamicHost network access also comprises Dynamic Host Configuration Protocol server IP and physical address;
Maximum MTU value.
In addition, described directional data also comprises correct original procedure packet, specifically can include, but are not limited to the original procedure packet of network identity validation, the original procedure packet that gateway detects, the original procedure packet of DynamicHost, the original procedure packet of dns resolution.
Described may operate on the objective network terminal the software performance element as shown in Figure 6, specifically comprise:
The general-purpose operating system of the network terminal can be Windows, Linux, UNIX, MAC OS etc.;
Network detects and drives, the details that all are processed without operating system in order to monitor, that network interface card transmits and receive data bag, thus help detection failure;
Directional data imports module, in order to receive and to resolve the directional data that checkout gear generates;
One key repair procedure is realized program as user interface program and major function, is responsible for all directed automatically work of inspection and repair.
When carrying out Network Fault Detection with the task of reparation, as shown in Figure 7, at first by the detection module group computer network is detected, and will comprise the configuration data of the required complete soft and hardware parameter of network correct operation and be generated as the directional data file for the correct original procedure packet that contrasts diagnosis by the directional data generation module; Then this directional data file transfer is arrived the objective network terminal, import module by directional data directional data is imported and resolves, the guiding software performance element is repaired computer network.
Embodiment two Network Fault Detection devices
A kind of Network Fault Detection device comprises embedded control system and detects interface system, and wherein detect interface system and comprise the detection interface that links to each other with the embedded control system bus, described detection interface comprises a kind of of following interface at least:
The xDSL modem module, be responsible for as the detection of ADSL, VDSL class non-symmetrical line signal with communicate by letter;
The WLAN adaptor module, wireless lan adapter, the detection of being responsible for wireless network signal with communicate by letter;
The Ethernet Adaptation Unit module, the detection of being responsible for ethernet signal with communicate by letter;
The cable detection module, the indexs such as the length of all kinds of cables of responsible detection, line order, circuit loop resistance, line capacitance.
Described embedded control system comprises flush bonding processor and the corresponding module group that is used for man-machine interface, specifically comprises LCD display module, input module, ROM and RAM memory module, SD card storage expanding module, power management module.
Key is that embedding has the directional data generation module described in the embodiment one and detection module group in this Network Fault Detection device, described detection module group specifically comprises:
The cable detection module is responsible for detecting the cable problem, points out solution for underproof cable;
Can the data link detection module proper communication and point out correct parameters in order to detect data link outside the physical link, for example the mistake of the VPI of DSL, VCI parameters.
The DynamicHost detection module is used for judging the fault of DHCP protocol service aspect existence, and points out solution;
The authentication detection module is for detection of the fault in the authentication process itself and point out solution, the fault in the authentications such as PPPOE dialing, WEB authentication, IEEE 802.1x;
IP validation checking module, whether detect the IP address legal effective;
The gateway detection module, whether working properly for detection of gateway, whether there is the ARP deception;
Whether the domain name mapping detection module can correctly finish domain name to the translation of IP address for detection of dns server;
The detection of connectivity module, namely whether the PING program is unimpeded for detection of the route to a certain IP address;
Route is followed the tracks of detection module, be used for following the tracks of the intended target address by way of routing node, and can calculate the packet loss of each node, demonstrate simultaneously the geographical location information of each node;
Can the HTTP detection module for detection of normally accessing the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used for finding the problem of existence in the packet, is the module for more professional librarian use.
Analog D SL cat module is used for catching the two-way communication data between computer and the wide area network and analyzing, to find and to solve fault;
The bandwidth test module is used to client that the service of testing the speed of the uplink and downlink direction of wide area network is provided;
The online upgrading module is in order to real-time update detection module group embedded software, software performance element and network failure database;
One key trace routine only needs to carry out a program, automatically finishes the detection from physical layer to all above-mentioned network failure of HTTP layer.
After a key trace routine is complete, will comprise the directional data file that network correct moves the configuration data of required soft and hardware parameter and supplies computer program reparation fault for the correct original procedure packet generation of contrast diagnosis by described directional data generation module.Described directional data generation module is identical with directional data generation module among the embodiment one.
Embodiment three Network Fault Detections and directed restorative procedure
A kind of Network Fault Detection and directed restorative procedure such as Fig. 4 and shown in Figure 7, comprise the steps:
1. generate the directional data file by the directional data generation module in the network fault restoration system described in the embodiment one, described directional data comprises the configuration data of the required soft and hardware parameter of network correct operation and is used for the correct original procedure packet of contrast diagnosis;
2. above-mentioned directional data is imported object-computer, carry out the key repair procedure in the software performance element described in the embodiment one, configuration property data write operation system in the directional data, and the replacement networking component is so that configuration take-effective;
3. network is installed is detected driving, to obtain the thorough control of network interface card, the details that all are processed without operating system for monitoring, that network interface card transmits and receive data bag, thereby help detection failure;
4. carry out the data link inspection and repair;
5. the network identity inspection and repair mainly comprises DynamicHost inspection and repair and authentication inspection and repair;
6.IP validation checking and reparation;
7. gateway inspection and repair;
8. domain name mapping inspection and repair;
9.HTTP inspection and repair;
10.WEB the fault detect of browser and reparation.
As required, above-mentioned steps 4-10 also can take backward to detect, and namely carries out first fault detect and the reparation of WEB browser, carries out at last monitoring and the reparation of data link; Step 4-10 also can do any adjustment, perhaps omits one of them or several step, to adapt to different situations.The inspection and repair process of above-mentioned each module as shown in Figure 5, whether the detected object that at first detects this module exists fault, if exist, then with the original procedure packet of respective process in the diagnostic procedure packet of this module and the directional data relatively, find the eliminating of fault point and specific aim.Experiment confirm, the network fault restoration system that provides among the embodiment one and two and device can solve most network failures.As a kind of Redundancy Design, comprise that also traditional pure software network failure repairs module, if above-mentioned steps all can not find and fix a breakdown, then carry out traditional pure software solution, namely adopt one by one exclusive method to process.
Directional data transmission between above-mentioned steps 1 and the step 2 can be adopted mobile memory medium, and the directional data that namely produces in the step 1 is stored on the mobile memory medium and copies to object-computer or be connected to computer and directly moves.Perhaps, can directly between described Network Fault Detection device and computer, set up data transmission link, for example, the Network Fault Detection device described in the embodiment two is connected by USB circuit or bluetooth with object-computer.
Above content be in conjunction with preferred embodiment to specifying that the present invention does, can not assert that the specific embodiment of the present invention only limits to these explanations.Clearly; above-mentioned network fault restoration system and checkout gear thereof, method; not only can be used for network terminal computer; concerning the general technical staff of the technical field of the invention; without departing from the inventive concept of the premise, can also make some simple deductions and conversion, technical scheme provided by the invention is applied to other network terminals; such as the notebook computer of the network terminal, device for mobile communication etc., these all should be considered as belonging to protection scope of the present invention.