CN102946335B - A kind of network condition detection method and system - Google Patents

A kind of network condition detection method and system Download PDF

Info

Publication number
CN102946335B
CN102946335B CN201210532883.1A CN201210532883A CN102946335B CN 102946335 B CN102946335 B CN 102946335B CN 201210532883 A CN201210532883 A CN 201210532883A CN 102946335 B CN102946335 B CN 102946335B
Authority
CN
China
Prior art keywords
test packet
node
record cell
time
reception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210532883.1A
Other languages
Chinese (zh)
Other versions
CN102946335A (en
Inventor
袁峰
余方
李引
綦建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Institute of Software Application Technology Guangzhou GZIS
Original Assignee
Guangzhou Institute of Software Application Technology Guangzhou GZIS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Institute of Software Application Technology Guangzhou GZIS filed Critical Guangzhou Institute of Software Application Technology Guangzhou GZIS
Priority to CN201210532883.1A priority Critical patent/CN102946335B/en
Publication of CN102946335A publication Critical patent/CN102946335A/en
Application granted granted Critical
Publication of CN102946335B publication Critical patent/CN102946335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to technical field of the computer network, specifically disclose a kind of network condition detection method and system.The method comprises start node and sends test packet by intermediate node at different levels continuously to destination node, the test packet that continuous reception is returned by intermediate node, and the step of network condition is judged by the test packet of returning, the IP address of destination node is included in described test packet, network condition verification msg logging modle is also provided with in described test packet, described network condition verification msg module comprises IP address record cell, transmitting time record cell, time of reception record cell, equipment UID record cell, and use agreement record cell, the present invention can check the concrete link at network whether connected sum network failure place fast.

Description

A kind of network condition detection method and system
Technical field
The invention belongs to technical field of the computer network, be specifically related to a kind of network condition detection method and system.
Background technology
Current extensive application employing is wired to be carried out with wireless network mode, wherein wireless network mode comprises radio, infrared isotype, and the communication under these patterns is mainly undertaken by packet, current shortage network condition monitoring workpiece in these modes, the especially monitoring tool of Packet Generation situation.Briefly send a packet by certain system from certain equipment exactly, arrive destination equipment through multiple transferring equipment, and lack the trace tool of whole process.Current known immediate technical scheme has, hardware simulation testing tool, can simulate the signal that various hardware sends, but does not also find the system of the monitoring of this situation lower network, especially packet monitoring.
Because prior art judges whether network is communicated with and packet drop by Ping order, mainly send Ping command remote computer, judge whether to be connected with it, can not judge that network link goes wrong, whether the webservice interface function can not testing remote computer is correct.Briefly, whether Ping order intelligence test network is unimpeded, but if there is fault, cannot the specifying information of failure judgement.
Summary of the invention
In order to solve the problem, the object of the present invention is to provide a kind of network detecting method and system, not only can check whether network is communicated with, the concrete link at network failure place can also be checked out.
In order to realize foregoing invention object, the technical solution used in the present invention is as follows:
A kind of network condition detection method, comprise start node to send test packet by intermediate node at different levels continuously to destination node, constantly receive the test packet of being returned by intermediate node and the step being judged network condition by the test packet of returning, in described test packet, include the IP address of destination node.In order to fast detecting goes out the link at network failure place, in described test packet, be also provided with network condition verification msg logging modle, described network condition verification msg module comprises IP address record cell, transmitting time record cell and time of reception record cell; Wherein, when start node sends test packet, the IP address record cell also comprised to this test packet is sequentially written in own IP address and is sequentially written in the step of transmitting time to the transmitting time record cell of this test packet; Wherein, when start node receives the test packet that intermediate node returns, the time of reception record cell also comprised to this test packet is sequentially written in the step of time of reception; Wherein, after the test packet that intermediate node and target node accepts send to last layer node or next node layer, the IP address record cell also all comprised to this test packet is sequentially written in own IP address, is sequentially written in time of reception and returns the step of this test packet to last layer node to the time of reception record cell of this test packet, also comprises the step to described transmitting time sequence of unit write transmitting time when returning this test packet to last layer node; Wherein, the test packet by returning judges that network condition specifically judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records.
Preferably, equipment UID record cell is also comprised in described network condition verification msg module; Wherein, when start node sends test packet, the step being sequentially written in self UID data in described equipment UID record cell is also comprised; Wherein, after the test packet that intermediate node and target node accepts send to last layer node or next node layer, the equipment UID record cell also all comprised to this test packet is sequentially written in the step of self UID data; Wherein, judge that network condition specifically also comprises the transmission path drawing test packet according to the UID of journal in equipment UID record cell by the test packet of returning, and then draw whether to be communicated with between start node with destination node and to disconnect when not being communicated with after that node.
Preferably, use protocol number record cell is also comprised in described network condition verification msg module; Wherein, when start node sends test packet, also comprise and be sequentially written in the step that self uses protocol number in described use protocol number record cell; Wherein, after the test packet that intermediate node and target node accepts send to last layer node or next node layer, the use protocol number record cell also all comprised to this test packet is sequentially written in the step that self uses protocol number; Wherein, by the test packet of returning judge network condition specifically also to comprise according to each node using the use protocol number of journal in protocol number record cell and draw according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell between transmission time, judge whether each node device mates with the host-host protocol of its use, to improve network transmission efficiency.
Further, described start node sends test packet 15000-25000 time continuously or stops sending test packet after sending 1-2 hour continuously, and the test packet restarted by returning judges the step of network condition.
Further, the described test packet by returning judges that network condition specifically judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, specifically: the transmission path drawing test packet according to the IP address of journal in the record cell of described IP address, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node; Draw the transmission time between each node according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, and then judge network speed and draw Internet Transmission bottleneck node.
A kind of network situation detection system, this system comprises:
Start node device, for sending test packet by intermediate node at different levels continuously to destination node, constantly receive the test packet of being returned by intermediate node and judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, include IP address and the network condition verification msg logging modle of destination node in described test packet, described network condition verification msg module comprises IP address record cell, transmitting time record cell and time of reception record cell; Also for when sending test packet, the IP address record cell to this test packet is sequentially written in own IP address and is sequentially written in transmitting time to the transmitting time record cell of this test packet; And also return for intermediate node in the reception test packet time, the time of reception record cell to this test packet is sequentially written in time of reception;
Multiple intermediate node device, for receiving the test packet of last layer node or the transmission of next node layer, and be sequentially written in own IP address to the IP address record cell of this test packet, be sequentially written in time of reception to the time of reception record cell of this test packet; Also for returning this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time;
Destination node device, for receiving the test packet that last layer node sends, and is sequentially written in own IP address to the IP address record cell of this test packet, is sequentially written in time of reception to the time of reception record cell of this test packet; Also for returning this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time.
Preferably, equipment UID record cell is also comprised in described network condition verification msg module; Wherein, described start node device also for when sending test packet, is sequentially written in self UID data in described equipment UID record cell; Wherein, described intermediate node device is also for after the test packet receiving last layer node or the transmission of next node layer, and the equipment UID record cell to this test packet is sequentially written in self UID data; Wherein, described destination node device is also for after the test packet receiving the transmission of last layer node, and the equipment UID record cell to this test packet is sequentially written in self UID data; Wherein, described start node device also for drawing the transmission path of test packet according to the UID of journal in equipment UID record cell, and then draws whether to be communicated with between start node with destination node and to disconnect when not being communicated with after that node.
Preferably, use protocol number record cell is also comprised in described network condition verification msg module; Wherein, described start node device, also for when sending test packet, being sequentially written in self and using protocol number in described use protocol number record cell; Wherein, described intermediate node device is also for after the test packet receiving last layer node or the transmission of next node layer, and the use protocol number record cell to this test packet is sequentially written in self and uses protocol number; Wherein, described destination node device is also for after the test packet receiving the transmission of last layer node, and the use protocol number record cell to this test packet is sequentially written in self and uses protocol number; Wherein, described start node device is also for according to the transmission time between each node using the use protocol number of journal in protocol number record cell and draw according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, judge whether each node device mates with the host-host protocol of its use, to improve network transmission efficiency.
Further, described start node device is sending test packet 15000-25000 time continuously or is stopping sending test packet after sending 1-2 hour continuously, then judges network condition by the test packet of returning.
Further, described start node device judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, specifically: the transmission path drawing test packet according to the IP address of journal in the record cell of described IP address, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node; Draw the transmission time between each node according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, and then judge network speed and draw Internet Transmission bottleneck node.
The present invention is by the IP address of the node of process in IP address record cell journal test packet transmitting procedure, the path knowing that test packet is passed by can be known, if arrive destination address, illustrate that network is communicated with, if do not arrive destination address, the node farthest that also test packet can be found fast to arrive according to the IP address of journal, the reason be not communicated with is very clear: be exactly test packet arrive node farthest after node be disconnected.
The present invention is by the transmitting time of each node of transmitting time recording unit records, and by the transmitting time of each node of time of reception recording unit records, the transmission time was just easy to draw by the time difference between the two nodes.According to each reception and transmitting time of record, intuitively can draw the network transfer speeds between start node and destination node, can also find according to the transmission time between different node and transmit node slowly, and then the improvement transmission network of shooting the arrow at the target.
At some time, the IP address acquisition difficulty of some node possible, the present invention is by increasing UID record cell, with the equipment UID of the node of process in record test packet transmitting procedure, also the path knowing that test packet is passed by can be known, if arrive target node device, illustrate that network is communicated with, if do not arrive target node device, the node device farthest that also test packet can be found fast to arrive according to the UID of journal, the reason be not communicated with is very clear: be exactly test packet arrive node device farthest after node device be disconnected.
In order to better diagnostic network, present invention also adds and use protocol number record cell, with the use agreement of the node of process in record test packet transmitting procedure, so that consequent malfunction analysis, such as this node-node transmission inefficiency (known by the transmission time between node), so will consider whether the host-host protocol that this node device uses is changed, because the matching degree between host-host protocol and equipment affects data transmission efficiency to a great extent.
Therefore, by the disclosed method and system of this enforcement, not only can Sampling network break-make situation, quick diagnosis can also go out network failure and occur node.
Accompanying drawing explanation
This accompanying drawing illustrates that the picture provided is used for auxiliary a further understanding of the present invention, forms a application's part, does not form inappropriate limitation of the present invention, in the accompanying drawings:
Fig. 1 is the flow chart of start node of the present invention;
Fig. 2 is the flow chart of intermediate node of the present invention;
Fig. 3 is the flow chart of destination node of the present invention;
Fig. 4 is the signal flow graph that system block diagram of the present invention and each node are all in connected state.
Embodiment
Present embodiment discloses a kind of network condition detection method, comprise start node and send test packet by intermediate node at different levels continuously to destination node, the test packet that continuous reception is returned by intermediate node, and the step of network condition is judged by the test packet of returning, IP address and the network condition verification msg logging modle of destination node is included in described test packet, described network condition verification msg module comprises IP address record cell, transmitting time record cell, time of reception record cell, equipment UID record cell and use protocol number record cell.
Wherein, Fig. 1 is the flow chart of start node, and as shown in the figure, the concrete execution flow process of start node comprises the following steps:
Step101: the IP address record cell to test packet is sequentially written in own IP address, is sequentially written in self UID data in described equipment UID record cell, is sequentially written in self and uses protocol number in described use protocol number record cell; Described start node sends test packet 15000-25000 time continuously or stops sending test packet after sending 1-2 hour continuously, and the test packet restarted by returning judges the step of network condition; The object arranging 15000-25000 time or send continuously 1-2 hour is exactly repeated detection within a period of time, ensures stability and the accuracy of testing result;
Step102: send test packet continuously to destination node by intermediate node at different levels, the transmitting time record cell simultaneously to this test packet is sequentially written in transmitting time;
Step103: constantly receive the test packet of being returned by intermediate node, the time of reception record cell to this test packet is sequentially written in time of reception;
Step104: judge network condition by the test packet of returning, concrete judgement is as follows:
Draw the transmission path of test packet according to the IP address of journal in the record cell of described IP address, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node;
Or draw the transmission path of test packet according to the UID of journal in equipment UID record cell, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node;
Draw the transmission time between each node according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, and then judge network speed and draw Internet Transmission bottleneck node;
According to the transmission time between each node using the use protocol number of journal in protocol number record cell and draw according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, judge whether each node device mates with the host-host protocol of its use, to improve network transmission efficiency.
Wherein, Fig. 2 is the flow chart of intermediate node, and as shown in the figure, the concrete execution flow process of intermediate node comprises the following steps:
Step201: the test packet receiving last layer node or the transmission of next node layer;
Step202: the IP address record cell to this test packet is sequentially written in own IP address, self UID data is sequentially written in described equipment UID record cell, in described use protocol number record cell, be sequentially written in self use protocol number, the time of reception record cell to this test packet is sequentially written in time of reception;
Step203: return this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time.
Wherein, Fig. 3 is the flow chart of destination node, and as shown in the figure, the concrete execution flow process of destination node comprises the following steps:
Step301: receive the test packet that last layer node sends;
Step302: the IP address record cell to this test packet is sequentially written in own IP address, self UID data is sequentially written in equipment UID record cell, in use protocol number record cell, be sequentially written in self use protocol number, the time of reception record cell to this test packet is sequentially written in time of reception;
Step303: return this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time.
Wherein, Fig. 4 is the signal flow graph that each node is all in connected state, wherein solid arrow loop represents the process that test packet returns start node from start node to destination node, returns the process of test packet after wherein dotted arrow loop represents the test packet that each node sends at last layer to its last layer node.The dotted arrow of composition graphs 2 and Fig. 4 is known, intermediate node 200 will add self IP address, UID data and time of reception after the test packet receiving last layer node-node transmission, and the test packet after adding is returned to last layer node, the transmitting time of self will be added during passback; Simultaneously, the solid arrow of composition graphs 2 and Fig. 4 is known, intermediate node 200 is after the test packet receiving the passback of its next node layer, also the IP address of self, UID data and time of reception will be added, and the test packet after adding is returned to last layer node, the transmitting time of self will be added during passback.
As shown in Figure 4, the present embodiment also discloses a kind of network situation detection system corresponding with preceding method, and this system comprises:
Start node device 100, for sending test packet by intermediate node at different levels continuously to destination node, constantly receive the test packet of being returned by intermediate node and judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, include IP address and the network condition verification msg logging modle of destination node in described test packet, described network condition verification msg module comprises IP address record cell, transmitting time record cell and time of reception record cell; Also for when sending test packet, the IP address record cell to this test packet is sequentially written in own IP address and is sequentially written in transmitting time to the transmitting time record cell of this test packet; And also return for intermediate node in the reception test packet time, the time of reception record cell to this test packet is sequentially written in time of reception; This start node device 100 is sending test packet 15000-25000 time continuously or is stopping sending test packet after sending 1-2 hour continuously, then judges network condition by the test packet of returning; This start node device 100 judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, specifically: the transmission path drawing test packet according to the IP address of journal in the record cell of described IP address, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node; Draw the transmission time between each node according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, and then judge network speed and draw Internet Transmission bottleneck node;
Multiple intermediate node device 200, for receiving the test packet of last layer node or the transmission of next node layer, and be sequentially written in own IP address to the IP address record cell of this test packet, be sequentially written in time of reception to the time of reception record cell of this test packet; Also for returning this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time;
Destination node device 300, for receiving the test packet that last layer node sends, and is sequentially written in own IP address to the IP address record cell of this test packet, is sequentially written in time of reception to the time of reception record cell of this test packet; Also for returning this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time.
As the further improvement project of the present embodiment, in described network condition verification msg module, also comprise equipment UID record cell; Wherein, described start node device also for when sending test packet, is sequentially written in self UID data in described equipment UID record cell; Wherein, described intermediate node device is also for after the test packet receiving last layer node or the transmission of next node layer, and the equipment UID record cell to this test packet is sequentially written in self UID data; Wherein, described destination node device is also for after the test packet receiving the transmission of last layer node, and the equipment UID record cell to this test packet is sequentially written in self UID data; Wherein, described start node device also for drawing the transmission path of test packet according to the UID of journal in equipment UID record cell, and then draws whether to be communicated with between start node with destination node and to disconnect when not being communicated with after that node.
As the further improvement project of the present embodiment, also comprise in described network condition verification msg module and use protocol number record cell; Wherein, described start node device, also for when sending test packet, being sequentially written in self and using protocol number in described use protocol number record cell; Wherein, described intermediate node device is also for after the test packet receiving last layer node or the transmission of next node layer, and the use protocol number record cell to this test packet is sequentially written in self and uses protocol number; Wherein, described destination node device is also for after the test packet receiving the transmission of last layer node, and the use protocol number record cell to this test packet is sequentially written in self and uses protocol number; Wherein, described start node device is also for according to the transmission time between each node using the use protocol number of journal in protocol number record cell and draw according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, judge whether each node device mates with the host-host protocol of its use, to improve network transmission efficiency.
It should be noted that, last layer node of the present invention and next node layer are for the signal transmission line of start node and destination node, such as: start node is A, that be and then connected with start node A is the first intermediate node B, that be next connected with the first intermediate node B is the second intermediate node C, that be finally connected with the second intermediate node C is destination node D, start node A is exactly a upper node of the first intermediate node B so comparatively speaking, first intermediate node B is exactly the next node of start node A, same first intermediate node B is exactly a upper node of the second intermediate node C, second intermediate node C is exactly the next node of the first intermediate node B, second intermediate node C is exactly a upper node of destination node D, destination node D is exactly the next node of the second intermediate node C.
The present invention, by the IP address of the node of process in IP address record cell journal test packet transmitting procedure, can know the path knowing that test packet is passed by; At some time, the IP address acquisition difficulty of some node possible, the present invention is by increasing UID record cell, with the equipment UID of the node of process in record test packet transmitting procedure, also the path knowing that test packet is passed by can be known, if test packet arrives destination address, illustrate that network is communicated with, if do not arrive destination address, the node farthest that also test packet can be found fast to arrive according to the IP address of journal, the reason be not communicated with is very clear: be exactly test packet arrive node farthest after node be disconnected.
The present invention is by the transmitting time of each node of transmitting time recording unit records, and by the transmitting time of each node of time of reception recording unit records, the transmission time was just easy to draw by the time difference between the two nodes.According to each reception and transmitting time of record, intuitively can draw the network transfer speeds between start node and destination node, can also find according to the transmission time between different node and transmit node slowly, and then the improvement transmission network of shooting the arrow at the target.
In order to better diagnostic network, present invention also adds and use protocol number record cell, with the use agreement of the node of process in record test packet transmitting procedure, so that consequent malfunction analysis, such as this node-node transmission inefficiency (known by the transmission time between node), so will consider whether the host-host protocol that this node device uses is changed, because the matching degree between host-host protocol and equipment affects data transmission efficiency to a great extent.
Therefore, by the disclosed method and system of this enforcement, not only can Sampling network break-make situation, quick diagnosis can also go out network failure and occur node.
More than describe preferred embodiment of the present invention in detail, should be appreciated that the ordinary skill of this area just design according to the present invention can make many modifications and variations without the need to creative work.Therefore, all technical staff in the art according to the present invention's design on prior art basis by logic analysis, reasoning or according to the available technical scheme of limited experiment, all should by among the determined protection range of these claims.

Claims (8)

1. a network condition detection method, comprise start node to send test packet by intermediate node at different levels continuously to destination node, constantly receive the test packet of being returned by intermediate node and the step being judged network condition by the test packet of returning, include the IP address of destination node in described test packet, it is characterized in that:
Also be provided with network condition verification msg module in described test packet, described network condition verification msg module comprises IP address record cell, transmitting time record cell and time of reception record cell;
Wherein, when start node sends test packet, the IP address record cell also comprised to this test packet is sequentially written in own IP address and is sequentially written in the step of transmitting time to the transmitting time record cell of this test packet;
Wherein, when start node receives the test packet that intermediate node returns, the time of reception record cell also comprised to this test packet is sequentially written in the step of time of reception;
Wherein, after the test packet that intermediate node and target node accepts send to last layer node or next node layer, the IP address record cell also all comprised to this test packet is sequentially written in own IP address, is sequentially written in time of reception and returns the step of this test packet to last layer node to the time of reception record cell of this test packet, also comprises the step to described transmitting time sequence of unit write transmitting time when returning this test packet to last layer node;
Wherein, the test packet by returning judges that network condition specifically judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records;
Also comprise in described network condition verification msg module and use protocol number record cell;
Wherein, when start node sends test packet, also comprise and be sequentially written in the step that self uses protocol number in described use protocol number record cell;
Wherein, after the test packet that intermediate node and target node accepts send to last layer node or next node layer, the use protocol number record cell also all comprised to this test packet is sequentially written in the step that self uses protocol number;
Wherein, by the test packet of returning judge network condition specifically also to comprise according to each node using the use protocol number of journal in protocol number record cell and draw according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell between transmission time, judge whether each node device mates with the host-host protocol of its use, to improve network transmission efficiency.
2. network condition detection method according to claim 1, is characterized in that:
Equipment UID record cell is also comprised in described network condition verification msg module;
Wherein, when start node sends test packet, the step being sequentially written in self UID data in described equipment UID record cell is also comprised;
Wherein, after the test packet that intermediate node and target node accepts send to last layer node or next node layer, the equipment UID record cell also all comprised to this test packet is sequentially written in the step of self UID data;
Wherein, judge that network condition specifically also comprises the transmission path drawing test packet according to the UID of journal in equipment UID record cell by the test packet of returning, and then draw whether to be communicated with between start node with destination node and to disconnect when not being communicated with after that node.
3. network condition detection method according to claim 1, is characterized in that:
Described start node sends test packet 15000-25000 time continuously or stops sending test packet after sending 1-2 hour continuously, and the test packet restarted by returning judges the step of network condition.
4. network condition detection method according to claim 1, is characterized in that:
The described test packet by returning judges that network condition specifically judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, specifically:
Draw the transmission path of test packet according to the IP address of journal in the record cell of described IP address, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node;
Draw the transmission time between each node according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, and then judge network speed and draw Internet Transmission bottleneck node.
5. a network situation detection system, is characterized in that this system comprises:
Start node device, for sending test packet by intermediate node at different levels continuously to destination node, constantly receive the test packet of being returned by intermediate node and judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, include IP address and the network condition verification msg module of destination node in described test packet, described network condition verification msg module comprises IP address record cell, transmitting time record cell and time of reception record cell; Also for when sending test packet, the IP address record cell to this test packet is sequentially written in own IP address and is sequentially written in transmitting time to the transmitting time record cell of this test packet; And also return for intermediate node in the reception test packet time, the time of reception record cell to this test packet is sequentially written in time of reception;
Multiple intermediate node device, for receiving the test packet of last layer node or the transmission of next node layer, and be sequentially written in own IP address to the IP address record cell of this test packet, be sequentially written in time of reception to the time of reception record cell of this test packet; Also for returning this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time;
Destination node device, for receiving the test packet that last layer node sends, and is sequentially written in own IP address to the IP address record cell of this test packet, is sequentially written in time of reception to the time of reception record cell of this test packet; Also for returning this test packet to last layer node, and to described transmitting time sequence of unit write transmitting time;
Also comprise in described network condition verification msg module and use protocol number record cell;
Wherein, described start node device, also for when sending test packet, being sequentially written in self and using protocol number in described use protocol number record cell;
Wherein, described intermediate node device is also for after the test packet receiving last layer node or the transmission of next node layer, and the use protocol number record cell to this test packet is sequentially written in self and uses protocol number;
Wherein, described destination node device is also for after the test packet receiving the transmission of last layer node, and the use protocol number record cell to this test packet is sequentially written in self and uses protocol number;
Wherein, described start node device is also for according to the transmission time between each node using the use protocol number of journal in protocol number record cell and draw according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, judge whether each node device mates with the host-host protocol of its use, to improve network transmission efficiency.
6. network situation detection system according to claim 5, is characterized in that:
Equipment UID record cell is also comprised in described network condition verification msg module;
Wherein, described start node device also for when sending test packet, is sequentially written in self UID data in described equipment UID record cell;
Wherein, described intermediate node device is also for after the test packet receiving last layer node or the transmission of next node layer, and the equipment UID record cell to this test packet is sequentially written in self UID data;
Wherein, described destination node device is also for after the test packet receiving the transmission of last layer node, and the equipment UID record cell to this test packet is sequentially written in self UID data;
Wherein, described start node device also for drawing the transmission path of test packet according to the UID of journal in equipment UID record cell, and then draws whether to be communicated with between start node with destination node and to disconnect when not being communicated with after that node.
7. network situation detection system according to claim 5, is characterized in that:
Described start node device is sending test packet 15000-25000 time continuously or is stopping sending test packet after sending 1-2 hour continuously, then judges network condition by the test packet of returning.
8. network situation detection system according to claim 5, is characterized in that:
Described start node device judges network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, specifically:
Draw the transmission path of test packet according to the IP address of journal in the record cell of described IP address, and then draw whether be communicated with between start node with destination node and disconnect when not being communicated with after that node;
Draw the transmission time between each node according to the time of reception of journal in the transmitting time of journal in described transmitting time record cell and time of reception record cell, and then judge network speed and draw Internet Transmission bottleneck node.
CN201210532883.1A 2012-12-11 2012-12-11 A kind of network condition detection method and system Active CN102946335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210532883.1A CN102946335B (en) 2012-12-11 2012-12-11 A kind of network condition detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210532883.1A CN102946335B (en) 2012-12-11 2012-12-11 A kind of network condition detection method and system

Publications (2)

Publication Number Publication Date
CN102946335A CN102946335A (en) 2013-02-27
CN102946335B true CN102946335B (en) 2015-12-23

Family

ID=47729244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210532883.1A Active CN102946335B (en) 2012-12-11 2012-12-11 A kind of network condition detection method and system

Country Status (1)

Country Link
CN (1) CN102946335B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104602B (en) * 2014-08-06 2018-02-09 湖南网数科技有限公司 A kind of method and device of QoS information prediction
CN106202582B (en) * 2016-08-31 2020-07-14 北京冀凯信息技术有限公司 Task scheduling method and system in enterprise distributed data warehouse
CN108075936A (en) * 2016-11-16 2018-05-25 中国移动通信有限公司研究院 VxLAN detection methods and device
CN110581787B (en) * 2019-09-11 2020-12-22 成都安恒信息技术有限公司 Application layer data quantity multiplication method applied to performance test

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815970A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Method for detecting network chain fault and positioning said fault
CN1937543A (en) * 2006-10-20 2007-03-28 北京邮电大学 Hop-by-hop transferred distributed flow media transmission performance test method and device
CN101051959A (en) * 2007-05-11 2007-10-10 北京邮电大学 Detecting method for network link band width based on hop-by-hop time stamp label

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450016C (en) * 2005-06-03 2009-01-07 华为技术有限公司 Method for implementing online maintenance in communication network
CN1937541B (en) * 2005-09-20 2010-08-11 华为技术有限公司 Network performance test method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815970A (en) * 2005-02-01 2006-08-09 华为技术有限公司 Method for detecting network chain fault and positioning said fault
CN1937543A (en) * 2006-10-20 2007-03-28 北京邮电大学 Hop-by-hop transferred distributed flow media transmission performance test method and device
CN101051959A (en) * 2007-05-11 2007-10-10 北京邮电大学 Detecting method for network link band width based on hop-by-hop time stamp label

Also Published As

Publication number Publication date
CN102946335A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
US10644961B2 (en) Self-adjusting data processing system
CN100417080C (en) Method for detecting network chain fault and positioning said fault
CN100369423C (en) Network simulation detection system and method
CN101132320B (en) Method for detecting interface trouble and network node equipment
CN101917305B (en) Method for automatically checking topology in automatic test and automatic test system
CN103490959B (en) A kind of dual-redundant CAN bus fault detection method
CN102946335B (en) A kind of network condition detection method and system
CN101388732A (en) In-situ test system and method oriented to water sound sensor network
CN102035688B (en) Design method for rapidly controlling network link access
CN104243536B (en) A kind of bullet train controls network semi-matter simulating system
CN103188719B (en) Medium-high speed sensor network test macro
CN104866399B (en) UM-BUS bus run Failure Detection Controller and detection method
Liu et al. Self-diagnosis for detecting system failures in large-scale wireless sensor networks
CN101547063A (en) Method and system for testing forward delay
CN104348659A (en) Fault detection method and node for multi-hop network
CN101321095A (en) Communication system implementing link measurement and its link measuring method
CN105656715A (en) Method and device for monitoring state of network device under cloud computing environment
CN105323121A (en) Network condition detection method and device
CN104767665A (en) Ring communication network master station redundancy method, device and system
CN102508754B (en) Method for detecting 1553B communication interface
CN102694692A (en) Fault detecting method and device of distributed equipment
CN105516658A (en) Monitoring equipment control method and device
CN103905268A (en) GRE link detection method and device, main control board and communication protection system
CN103139014A (en) Method and device for network quality evaluating based on by-pass
Nath A TOSSIM based implementation and analysis of collection tree protocol in wireless sensor networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant