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 failure repair system and apparatus and method thereof that can solve the hardware and software fault simultaneously and make things convenient for the non-computer professional to use.
(2) technical scheme
For achieving the above object, technical scheme of the present invention realizes as follows:
A kind of network failure repair system comprises detection module group, directional data generation module and software performance element.Wherein the detection module group is used to verify or soft, the hardware parameter of 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 directional data generation module will comprise the required configuration data soft, hardware parameter of network correct operation and be 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 that is used to contrast diagnosis.
Described software performance element comprises that network measuring driving, the directional data that can carry out import a module and a key repair procedure on the general-purpose operating system of the network terminal, wherein network measuring drives details that all are handled without operating system in order to monitor, that network interface card transmits and receive data bag; Directional data imports module in order to receive and to resolve the directional data that the directional data generation module is generated; One key repair procedure is realized program as user interface program and function, is responsible for all directed detections automatically and the work of repairing.
Described detection module group comprises at least a in the following detection module:
Analog D SL cat module is used to catch the two-way communication data between computer and the wide area network and analyzes;
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 the correct parameter that is provided with 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 to the fault of judging that DHCP protocol service aspect exists;
The authentication detection module is used for detecting the fault of authentication process itself;
IP validity detection module, whether detect the IP address legal effective;
The gateway detection module, whether working properly, whether have the ARP deception if being used to detect gateway;
The domain name mapping detection module is used to detect dns server and whether can correctly finishes the translation of domain name to the IP address;
The detection of connectivity module, whether the route that is used to detect a certain IP address is unimpeded;
Route is followed the tracks of detection module, be used to follow the tracks of the intended target address by way of routing node, and calculate the packet loss of each node,
Demonstrate the geographical location information of each node simultaneously;
Can the HTTP detection module be used for detecting and normally visit the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used to find the problem of existence in the packet.
One key trace routine, finish automatically described detection module group all modules detection and generate the directional data file.
A kind of network failure checkout gear 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 to catch the two-way communication data between computer and the wide area network and analyzes;
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 the correct parameter that is provided with 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 to the fault of judging that DHCP protocol service aspect exists;
The authentication detection module is used for detecting the fault of authentication process itself;
IP validity detection module, whether detect the IP address legal effective;
The gateway detection module, whether working properly, whether have the ARP deception if being used to detect gateway;
The domain name mapping detection module is used to detect dns server and whether can correctly finishes the translation of domain name to the IP address;
The detection of connectivity module, whether the route that is used to detect a certain IP address is unimpeded;
Route is followed the tracks of detection module, be used to follow the tracks of the intended target address by way of routing node, and calculate the packet loss of each node, demonstrate the geographical location information of each node simultaneously;
Can the HTTP detection module be used for detecting and normally visit the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used to find the problem of existence in the packet;
One key trace routine, finish automatically 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 failure repair system, described directional data comprises the configuration data of required soft, the hardware parameter of network correct operation, more excellent situation can also comprise the correct original procedure packet that is used to 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 measuring is installed and drives,, be used to monitor details that all are handled without operating system, that network interface card transmits and receive data and wraps to obtain the thorough control of network interface card;
4) carrying out data link detects and repairs;
5) network identity detects and repairs, and comprises that DynamicHost detection and reparation and authentication detect and repair;
6) IP validity detects and repairs;
7) gateway detects and repairs;
8) domain name mapping detects and repairs;
9) HTTP detects and repairs;
10) fault detect of WEB browser and reparation.
(3) beneficial effect
Network failure repair 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, dwindled detection range greatly, improve the efficient that detects and repair, and be convenient to very much non-computer professional user's use.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present invention is described further.
Embodiment one network failure repair system
A kind of network failure repair system comprises network failure checkout gear hardware system and the software performance element that may operate on the objective network terminal, and described network failure checkout gear 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 comprise required soft, the hardware parameter of network correct operation and be used to contrast the directional data file of the correct original procedure packet of 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 the network reparation 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 the correct parameter that is provided with in order to detect data link outside the physical link, and for example the VPI of DSL, VCI are provided with the mistake of parameter.
The DynamicHost detection module is used to judge the fault of DHCP protocol service aspect existence, and points out solution;
The authentication detection module is used for detecting the fault of authentication process itself and points out solution, the fault in the authentications such as for example PPPOE dialing, WEB authentication, IEEE 802.1x;
IP validity detection module, whether detect the IP address legal effective;
The gateway detection module, whether working properly, whether have the ARP deception if being used to detect gateway;
The domain name mapping detection module is used to detect dns server and whether can correctly finishes the translation of domain name to the IP address;
The detection of connectivity module, i.e. PING program, whether the route that is used to detect a certain IP address is unimpeded;
Route is followed the tracks of detection module, be used to follow the tracks of the intended target address by way of routing node, and can calculate the packet loss of each node, demonstrate the geographical location information of each node simultaneously;
Can the HTTP detection module be used for detecting and normally visit the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used to find the problem of existence in the packet, is the module of using for more professional personnel.
Analog D SL cat module is used to catch the two-way communication data between computer and the wide area network and analyzes, 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, finishes the detection from physical layer to all above-mentioned network failure of HTTP layer automatically.
Above-mentioned all detection modules can not only detect corresponding fault, also point out solution simultaneously.For example, the cable detection module detects be above standard 100 meters of regulation of twisted pair wire length, and it will point out the physical length of subscriber cable and length that should cutting.The another one example, the user is wrong, and the 100Mbps link is set to 1000Mbps, it is wrong that the data link detection module will be pointed out the setting of user 1000Mbps, should be corrected as 100Mbps, and corrigendum is simultaneously automatically also added correct record about LI(link interface) speed in directional data.
Described network failure repair system also comprises the directional data generation module, after a key trace routine was complete, the correct original procedure packet that will comprise the configuration data of required complete soft, the hardware parameter of network correct operation and be used to contrast diagnosis was generated as the directional data file.
According to the difference of network, described directional data also can be different, and specifically, directional data comprises that network is soft, the configuration data of hardware parameter and correct original procedure packet.When carrying out network terminal fault restoration,, can be easy to find the fault point with the parameter of the network terminal and correct original procedure data contrast.
Described configuration packet includes network is soft, the parameter of 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 preface of twisted-pair feeder, the equipment that links to each other with computer have the VPI of self adaptation line preface 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, still IEEE 802.1x authentication of WEB authentication; Account number cipher also comprises correct certificate server, account number, password, authentication mode etc. if desired;
The MAC layer parameter comprises frame type; The gateway physical address; Whether use the VLAN label,, also comprise VLANID, priority and EtherType if use; Whether use nested VLAN label,, also comprise nested VLAN ID, priority and EtherType if use;
IP layer parameter, dns address are to obtain automatically 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 measuring drives, the details that all are handled 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 generated;
One key repair procedure is realized program as user interface program and major function, is responsible for all directed detections automatically and the work of repairing.
When carrying out the network failure detection with the task of reparation, as shown in Figure 7, at first computer network is detected, and the correct original procedure packet that will be comprised the configuration data of required complete soft, the hardware parameter of network correct operation and be used to contrast diagnosis by the directional data generation module is generated as the directional data file by the detection module group; 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 failure checkout gears
A kind of network failure checkout gear 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, indexs such as the length of all kinds of cables of responsible detection, line preface, circuit loop resistance, line capacitance.
Described embedded control system comprises flush bonding processor and is used for the module group of man-machine interface accordingly, 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 directional data generation module described in the embodiment one and detection module group in this network failure checkout gear, 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 the correct parameter that is provided with in order to detect data link outside the physical link, and for example the VPI of DSL, VCI are provided with the mistake of parameter.
The DynamicHost detection module is used to judge the fault of DHCP protocol service aspect existence, and points out solution;
The authentication detection module is used for detecting the fault of authentication process itself and points out solution, the fault in the authentications such as for example PPPOE dialing, WEB authentication, IEEE 802.1x;
IP validity detection module, whether detect the IP address legal effective;
The gateway detection module, whether working properly, whether have the ARP deception if being used to detect gateway;
The domain name mapping detection module is used to detect dns server and whether can correctly finishes the translation of domain name to the IP address;
The detection of connectivity module, i.e. PING program, whether the route that is used to detect a certain IP address is unimpeded;
Route is followed the tracks of detection module, be used to follow the tracks of the intended target address by way of routing node, and can calculate the packet loss of each node, demonstrate the geographical location information of each node simultaneously;
Can the HTTP detection module be used for detecting and normally visit the HTTP website;
The protocol-decoding module is used for catching the packet of network and decoding, and is used to find the problem of existence in the packet, is the module of using for more professional personnel.
Analog D SL cat module is used to catch the two-way communication data between computer and the wide area network and analyzes, 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, finishes the detection from physical layer to all above-mentioned network failure of HTTP layer automatically.
After a key trace routine was complete, the correct original procedure packet that will be comprised the configuration data of required soft, the hardware parameter of network correct operation and be used to contrast diagnosis by described directional data generation module generated the directional data file of repairing fault for computer program.Described directional data generation module is identical with directional data generation module among the embodiment one.
Embodiment three network failures detect and directed restorative procedure
A kind of network failure detects and directed restorative procedure, as Fig. 4 and shown in Figure 7, comprises the steps:
1. generate the directional data file by the directional data generation module in the network failure repair system described in the embodiment one, described directional data comprises the configuration data of required soft, the hardware parameter of network correct operation and is used to contrast the correct original procedure packet of 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 measuring is installed drives,, be used to monitor details that all are handled without operating system, that network interface card transmits and receive data and wraps, thereby help detection failure to obtain the thorough control of network interface card;
4. carrying out data link detects and repairs;
5. network identity detects and repairs, and comprises that mainly DynamicHost detection and reparation and authentication detect and repair;
6.IP validity detects and repairs;
7. gateway detects and repairs;
8. domain name mapping detects and repairs;
9.HTTP detect 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 promptly carries out the fault detect and the reparation of WEB browser earlier, carries out the monitoring and the reparation of data link at last; Step 4-10 also can do any adjustment, perhaps omits one of them or several steps, to adapt to different situations.The detection of above-mentioned each module and repair process are 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, network failure repair 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, promptly adopt one by one exclusive method to handle.
Directional data transmission between above-mentioned steps 1 and the step 2 can be adopted mobile memory medium, and promptly the directional data that 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 failure checkout gear and computer, set up data transmission link, for example, the network failure checkout gear 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 did, can not assert that the specific embodiment of the present invention only limits to these explanations.Clearly; above-mentioned network failure repair 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; for example 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.