CN102946335A - Network condition detection method and network condition detection system - Google Patents

Network condition detection method and network condition detection system Download PDF

Info

Publication number
CN102946335A
CN102946335A CN2012105328831A CN201210532883A CN102946335A CN 102946335 A CN102946335 A CN 102946335A CN 2012105328831 A CN2012105328831 A CN 2012105328831A CN 201210532883 A CN201210532883 A CN 201210532883A CN 102946335 A CN102946335 A CN 102946335A
Authority
CN
China
Prior art keywords
test packet
node
record cell
time
network condition
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.)
Granted
Application number
CN2012105328831A
Other languages
Chinese (zh)
Other versions
CN102946335B (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.)
Institute of Software Application Technology Guangzhou GZIS of CAS
Original Assignee
Institute of Software Application Technology Guangzhou GZIS of CAS
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 Institute of Software Application Technology Guangzhou GZIS of CAS filed Critical Institute of Software Application Technology Guangzhou GZIS of CAS
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

Images

Abstract

The invention belongs to the technical field of computer networks, in particular discloses a network condition detection method and a network condition detection system. The network condition detection method comprises the step that an initial node continuously sends test data packets to a target node through all stages of intermediate nodes, continuously receives test data packets re-transmitted by the intermediate nodes, and judges the network condition through the re-transmitted test data packets, wherein the test data packets comprise an IP (Internet Protocol) address of the target node, and are also provided with a network condition authentication data recording module, and the network condition authentication data recording module comprises an IP address recording unit, a sending time recording unit, a receiving time recording unit, an equipment UID (User Identifier) recording unit and an application protocol recording unit. According to the network condition detection method, whether a network is accessed can be rapidly checked and a specific link in which a network failure exists can also be rapidly checked.

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 is adopted wired and wireless network mode carries out, wherein wireless network mode comprises radio, infrared isotype, and the communication under these patterns mainly is to be undertaken by packet, lack at present network condition monitoring workpiece, the especially monitoring tool of Packet Generation situation under these patterns.Simple saying is exactly to send a packet by certain system from certain equipment, arrives destination equipment through a plurality of transferring equipment, and lacks the trace tool of whole process.Known immediate technical scheme has at present, and the hardware simulation testing tool can be simulated the signal that various hardware send, but does not also find this situation lower network monitoring, the especially system of packet monitoring.
Because prior art is to order to judge by Ping whether network is communicated with and packet drop, mainly be to 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 that can not test remote computer is correct.Say simply whether Ping order intelligence test network is unimpeded, but if there is fault, specifying information that can't failure judgement.
Summary of the invention
In order to address the above problem, the object of the present invention is to provide a kind of network detecting method and system, can check not only whether network is communicated with, can also check out the concrete link at network failure place.
In order to realize the foregoing invention purpose, the technical solution used in the present invention is as follows:
A kind of network condition detection method, comprise that start node sends continuously test packet, constantly receives by intermediate node and return the test packet of returning and the step by the test packet judgement network condition of returning to destination node by intermediate nodes at different levels, includes the IP address of destination node in the described test packet.Go out the link at network failure place for fast detecting, also be provided with network condition verification msg logging modle 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, also comprise to the IP address record cell of this test packet sequentially writing self IP address and sequentially writing the step of transmitting time to the transmitting time record cell of this test packet; Wherein, start node receive intermediate node return return test packet the time, also comprise the step that sequentially writes time of reception to the time of reception record cell of this test packet; Wherein, after intermediate node and destination node receive the test packet that last layer node or next node layer send, also all comprise to the IP address record cell of this test packet sequentially writing self IP address, sequentially writing time of reception and return the step of this test packet to the last layer node to the time of reception record cell of this test packet, when the last layer node returns this test packet, also comprising the step that writes transmitting time to described transmitting time sequence of unit; Wherein, specifically judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records by the test packet judgement network condition of returning.
Preferably, also comprise equipment UID record cell in the described network condition verification msg module; Wherein, when start node sends test packet, comprise that also in described equipment UID record cell order writes the step of self UID data; Wherein, after intermediate node and destination node receive the test packet that last layer node or next node layer send, also all comprise the step that sequentially writes self UID data to the equipment UID record cell of this test packet; Wherein, judge that by the test packet of returning network condition comprises also that specifically the UID according to journal in the equipment UID record cell draws the transmission path of test packet, and then draw and whether be communicated with between start node and the destination node and in situation about not being communicated with, disconnect after that node.
Preferably, also comprise use protocol number record cell in the described network condition verification msg module; Wherein, when start node sends test packet, also comprise in described use protocol number record cell sequentially writing the step of self using protocol number; Wherein, after intermediate node and destination node receive the test packet that last layer node or next node layer send, also all comprise to the use protocol number record cell of this test packet sequentially writing the step of self using protocol number; Wherein, judge that by the test packet of returning network condition specifically also comprises the transmission time between each node that draws according to the use protocol number of using journal in the protocol number record cell and according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, whether the host-host protocol of judging each node device and its use mates, in order to improve network transmission efficiency.
Further, described start node stops to send test packet after sending continuously test packet 15000-25000 time or sending continuously 1-2 hour, restarts the step of judging network condition by the test packet of returning.
Further, describedly judge that by the test packet of returning 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, whether specifically: the IP address according to journal in the record cell of described IP address draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with; Draw transmission time between each node according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, and then judge the network speed and draw the Internet Transmission bottleneck node.
A kind of network situation detection system, this system comprises:
The start node device, be used for sending continuously test packet, constantly receiving by intermediate node and return the test packet of returning and judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records to destination node by intermediate nodes at different levels, include IP address and the network condition verification msg logging modle of destination node in the 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 be used for when sending test packet, sequentially write self IP address and sequentially write transmitting time to the transmitting time record cell of this test packet to the IP address record cell of this test packet; And also be used for receive intermediate node return return test packet the time, sequentially write time of reception to the time of reception record cell of this test packet;
A plurality of intermediate node devices, be used for receiving the test packet that last layer node or next node layer send, and sequentially write self IP address, sequentially write time of reception to the time of reception record cell of this test packet to the IP address record cell of this test packet; Also be used for returning this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit;
The destination node device is used for receiving the test packet that the last layer node sends, and sequentially writes self IP address, sequentially writes time of reception to the time of reception record cell of this test packet to the IP address record cell of this test packet; Also be used for returning this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit.
Preferably, also comprise equipment UID record cell in the described network condition verification msg module; Wherein, described start node device also is used for when sending test packet, sequentially writes self UID data in described equipment UID record cell; Wherein, described intermediate node device also is used for after receiving the test packet that last layer node or next node layer send, and sequentially writes self UID data to the equipment UID record cell of this test packet; Wherein, described destination node device also is used for after receiving the test packet that the last layer node sends, and sequentially writes self UID data to the equipment UID record cell of this test packet; Wherein, whether described start node device also is used for drawing the transmission path of test packet according to the UID of equipment UID record cell journal, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with.
Preferably, also comprise use protocol number record cell in the described network condition verification msg module; Wherein, described start node device also is used for when sending test packet, sequentially writes self use protocol number in described use protocol number record cell; Wherein, described intermediate node device also is used for after receiving the test packet that last layer node or next node layer send, and sequentially writes self to the use protocol number record cell of this test packet and uses protocol number; Wherein, described destination node device also is used for after receiving the test packet that the last layer node sends, and sequentially writes self to the use protocol number record cell of this test packet and uses protocol number; Wherein, transmission time between each node that described start node device also is used for drawing according to the use protocol number of using the journal of protocol number record cell and according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, whether the host-host protocol of judging each node device and its use mates, in order to improve network transmission efficiency.
Further, described start node device stops to send test packet after sending continuously test packet 15000-25000 time or sending continuously 1-2 hour, judge network condition by the test packet of returning again.
Further, described start node device is judged network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, whether specifically: the IP address according to journal in the record cell of described IP address draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with; Draw transmission time between each node according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, and then judge the network speed and draw the Internet Transmission bottleneck node.
The present invention is by the IP address of the node of process in the IP address record cell journal test packet transmission course, can know the path of knowing that test packet is passed by, if arrive destination address then illustrate that network is communicated with, if do not arrive destination address, can find fast according to the IP address of journal the farthest node of test packet arrival, the reason that is communicated with is not very clear yet: the farthest node node afterwards that is exactly test packet arrival has 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 just was easy to draw by the time difference between two nodes.Each reception and transmitting time according to record can intuitively draw the network transfer speeds between start node and the destination node, and can also find according to the transmission time between the different nodes and transmit slowly node, and then the improvement transmission network of shooting the arrow at the target.
Some the time, the IP address acquisition difficulty of possible some node, the present invention is by increasing the UID record cell, equipment UID with the node of process in the record test packet transmission course, also can know the path of knowing that test packet is passed by, if arrive destination node equipment then illustrate that network is communicated with, if do not arrive destination node equipment, the farthest node device that also can find fast according to the UID of journal test packet to arrive, the reason that is not communicated with is very clear: the farthest node device node device afterwards that is exactly test packet arrival has disconnected.
For better diagnostic network, the present invention has also increased use protocol number record cell, use agreement with the node of process in the record test packet transmission course, so that consequent malfunction analysis, such as this node efficiency of transmission low (by the transmission time between the node as can be known), will consider so whether the host-host protocol that this node device uses is changed, because the matching degree between host-host protocol and the equipment affects data transmission efficiency to a great extent.
Therefore, implement disclosed method and system by this, not only can Sampling network break-make situation, can also quick diagnosis go out network failure and node occurs.
Description of drawings
The picture that this description of drawings provides is used for assisting a further understanding of the present invention, consists of the application's a part, does not consist of to improper restriction 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 all are in connected state.
Embodiment
Present embodiment discloses a kind of network condition detection method, comprise that start node passes through intermediate nodes at different levels and sends continuously test packet to destination node, constantly receive by intermediate node and return the test packet of returning, and the step of judging network condition by the test packet of returning, include IP address and the network condition verification msg logging modle of destination node in the described test packet, described network condition verification msg module comprises IP address record cell, the transmitting time record cell, the 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 may further comprise the steps:
Step101: the IP address record cell to test packet sequentially writes self IP address, sequentially writes self UID data in described equipment UID record cell, sequentially writes self use protocol number in described use protocol number record cell; Described start node stops to send test packet after sending continuously test packet 15000-25000 time or sending continuously 1-2 hour, restarts the step of judging network condition by the test packet of returning; The purpose that arranges 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 continuously test packet by intermediate nodes at different levels to destination node, the transmitting time record cell to this test packet sequentially writes transmitting time simultaneously;
Step103: constantly receive by intermediate node and return the test packet of returning, sequentially write time of reception to the time of reception record cell of this test packet;
Step104: judge network condition by the test packet of returning, specifically judge as follows:
Whether the IP address according to journal in the record cell of described IP address draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with;
Whether perhaps the UID according to journal in the equipment UID record cell draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with;
Draw transmission time between each node according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, and then judge the network speed and draw the Internet Transmission bottleneck node;
Transmission time between each node that draws according to the use protocol number of using journal in the protocol number record cell and according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, whether the host-host protocol of judging each node device and its use mates, in order 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 may further comprise the steps:
Step201: receive the test packet that last layer node or next node layer send;
Step202: the IP address record cell to this test packet sequentially writes self IP address, in described equipment UID record cell, sequentially write self UID data, order writes self and uses protocol number in the described use protocol number record cell, sequentially writes time of reception to the time of reception record cell of this test packet;
Step203: return this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit.
Wherein, Fig. 3 is the flow chart of destination node, and as shown in the figure, the concrete execution flow process of destination node may further comprise the steps:
Step301: receive the test packet that the last layer node sends;
Step302: the IP address record cell to this test packet sequentially writes self IP address, in equipment UID record cell, sequentially write self UID data, use protocol number to using in the protocol number record cell order to write self, sequentially write time of reception to the time of reception record cell of this test packet;
Step303: return this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit.
Wherein, Fig. 4 is the signal flow graph that each node all is in connected state, wherein the solid arrow loop represents test packet returns start node from the start node to the destination node process, and wherein the dotted arrow loop represents each node returns test packet to its last layer node behind the test packet that last layer sends process.In conjunction with the dotted arrow of Fig. 2 and Fig. 4 as can be known, intermediate node 200 will add IP address, UID data and the time of reception of self behind the test packet of receiving the transmission of last layer node, and the test packet after adding returned to the last layer node, to add the transmitting time of self during passback; Simultaneously, in conjunction with the solid arrow of Fig. 2 and Fig. 4 as can be known, intermediate node 200 is behind the test packet that receives its next node layer passback, also to add self IP address, UID data and time of reception, and the test packet after adding returned to the last layer node, to add the transmitting time of self during passback.
As shown in Figure 4, present embodiment also discloses a kind of network situation detection system corresponding with preceding method, and this system comprises:
Start node device 100, be used for sending continuously test packet, constantly receiving by intermediate node and return the test packet of returning and judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records to destination node by intermediate nodes at different levels, include IP address and the network condition verification msg logging modle of destination node in the 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 be used for when sending test packet, sequentially write self IP address and sequentially write transmitting time to the transmitting time record cell of this test packet to the IP address record cell of this test packet; And also be used for receive intermediate node return return test packet the time, sequentially write time of reception to the time of reception record cell of this test packet; This start node device 100 stops to send test packet after sending continuously test packet 15000-25000 time or sending continuously 1-2 hour, judge network condition by the test packet of returning again; This start node device 100 is judged network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, whether specifically: the IP address according to journal in the record cell of described IP address draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with; Draw transmission time between each node according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, and then judge the network speed and draw the Internet Transmission bottleneck node;
A plurality of intermediate node devices 200, be used for receiving the test packet that last layer node or next node layer send, and sequentially write self IP address, sequentially write time of reception to the time of reception record cell of this test packet to the IP address record cell of this test packet; Also be used for returning this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit;
Destination node device 300 is used for receiving the test packet that the last layer node sends, and sequentially writes self IP address, sequentially writes time of reception to the time of reception record cell of this test packet to the IP address record cell of this test packet; Also be used for returning this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit.
As the further improvement project of present embodiment, also comprise equipment UID record cell in the described network condition verification msg module; Wherein, described start node device also is used for when sending test packet, sequentially writes self UID data in described equipment UID record cell; Wherein, described intermediate node device also is used for after receiving the test packet that last layer node or next node layer send, and sequentially writes self UID data to the equipment UID record cell of this test packet; Wherein, described destination node device also is used for after receiving the test packet that the last layer node sends, and sequentially writes self UID data to the equipment UID record cell of this test packet; Wherein, whether described start node device also is used for drawing the transmission path of test packet according to the UID of equipment UID record cell journal, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with.
As the further improvement project of present embodiment, also comprise in the described network condition verification msg module and use the protocol number record cell; Wherein, described start node device also is used for when sending test packet, sequentially writes self use protocol number in described use protocol number record cell; Wherein, described intermediate node device also is used for after receiving the test packet that last layer node or next node layer send, and sequentially writes self to the use protocol number record cell of this test packet and uses protocol number; Wherein, described destination node device also is used for after receiving the test packet that the last layer node sends, and sequentially writes self to the use protocol number record cell of this test packet and uses protocol number; Wherein, transmission time between each node that described start node device also is used for drawing according to the use protocol number of using the journal of protocol number record cell and according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, whether the host-host protocol of judging each node device and its use mates, in order to improve network transmission efficiency.
Need to prove, 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 and then link to each other with start node A is the first intermediate node B, that next link to each other with the first intermediate node B is the second intermediate node C, that link to each other with the second intermediate node C at last is destination node D, start node A is exactly the upper node of the first intermediate node B so comparatively speaking, the first intermediate node B is exactly the next node of start node A, same the first intermediate node B is exactly the upper node of the second intermediate node C, the second intermediate node C is exactly the next node of the first intermediate node B, the second intermediate node C is exactly the upper node of destination node D, and destination node D is exactly the next node of the second intermediate node C.
The present invention can know the path of knowing that test packet is passed by by the IP address of the node of process in the IP address record cell journal test packet transmission course; Some the time, the IP address acquisition difficulty of possible some node, the present invention is by increasing the UID record cell, equipment UID with the node of process in the record test packet transmission course, also can know the path of knowing that test packet is passed by, if test packet arrives destination address then illustrates that network is communicated with, if do not arrive destination address, can find fast according to the IP address of journal the farthest node of test packet arrival, the reason that is communicated with is not very clear yet: the farthest node node afterwards that is exactly test packet arrival has 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 just was easy to draw by the time difference between two nodes.Each reception and transmitting time according to record can intuitively draw the network transfer speeds between start node and the destination node, and can also find according to the transmission time between the different nodes and transmit slowly node, and then the improvement transmission network of shooting the arrow at the target.
For better diagnostic network, the present invention has also increased use protocol number record cell, use agreement with the node of process in the record test packet transmission course, so that consequent malfunction analysis, such as this node efficiency of transmission low (by the transmission time between the node as can be known), will consider so whether the host-host protocol that this node device uses is changed, because the matching degree between host-host protocol and the equipment affects data transmission efficiency to a great extent.
Therefore, implement disclosed method and system by this, not only can Sampling network break-make situation, can also quick diagnosis go out network failure and node occurs.
More than describe preferred embodiment of the present invention in detail, the ordinary skill that should be appreciated that this area need not creative work and just can design according to the present invention make many modifications and variations.Therefore, all in the art technical staff according to the present invention design on the prior art basis by logic analysis, reasoning or according to the available technical scheme of limited experiment, all should be among the determined protection range by these claims.

Claims (10)

1. network condition detection method, comprise that start node sends continuously test packet, constantly receives by intermediate node and return the test packet of returning and the step by the test packet judgement network condition of returning to destination node by intermediate nodes at different levels, include the IP address of destination node in the described test packet, it is characterized in that:
Also be provided with network condition verification msg logging modle in the 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, also comprise to the IP address record cell of this test packet sequentially writing self IP address and sequentially writing the step of transmitting time to the transmitting time record cell of this test packet;
Wherein, start node receive intermediate node return return test packet the time, also comprise the step that sequentially writes time of reception to the time of reception record cell of this test packet;
Wherein, after intermediate node and destination node receive the test packet that last layer node or next node layer send, also all comprise to the IP address record cell of this test packet sequentially writing self IP address, sequentially writing time of reception and return the step of this test packet to the last layer node to the time of reception record cell of this test packet, when the last layer node returns this test packet, also comprising the step that writes transmitting time to described transmitting time sequence of unit;
Wherein, specifically judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records by the test packet judgement network condition of returning.
2. network condition detection method according to claim 1 is characterized in that:
Also comprise equipment UID record cell in the described network condition verification msg module;
Wherein, when start node sends test packet, comprise that also in described equipment UID record cell order writes the step of self UID data;
Wherein, after intermediate node and destination node receive the test packet that last layer node or next node layer send, also all comprise the step that sequentially writes self UID data to the equipment UID record cell of this test packet;
Wherein, judge that by the test packet of returning network condition comprises also that specifically the UID according to journal in the equipment UID record cell draws the transmission path of test packet, and then draw and whether be communicated with between start node and the destination node and in situation about not being communicated with, disconnect after that node.
3. network condition detection method according to claim 1 is characterized in that:
Also comprise in the described network condition verification msg module and use the protocol number record cell;
Wherein, when start node sends test packet, also comprise in described use protocol number record cell sequentially writing the step of self using protocol number;
Wherein, after intermediate node and destination node receive the test packet that last layer node or next node layer send, also all comprise to the use protocol number record cell of this test packet sequentially writing the step of self using protocol number;
Wherein, judge that by the test packet of returning network condition specifically also comprises the transmission time between each node that draws according to the use protocol number of using journal in the protocol number record cell and according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, whether the host-host protocol of judging each node device and its use mates, in order to improve network transmission efficiency.
4. network condition detection method according to claim 1 is characterized in that:
Described start node stops to send test packet after sending continuously test packet 15000-25000 time or sending continuously 1-2 hour, restarts the step of judging network condition by the test packet of returning.
5. network condition detection method according to claim 1 is characterized in that:
Describedly judge that by the test packet of returning 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:
Whether the IP address according to journal in the record cell of described IP address draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with;
Draw transmission time between each node according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, and then judge the network speed and draw the Internet Transmission bottleneck node.
6. network situation detection system is characterized in that this system comprises:
The start node device, be used for sending continuously test packet, constantly receiving by intermediate node and return the test packet of returning and judge network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records to destination node by intermediate nodes at different levels, include IP address and the network condition verification msg logging modle of destination node in the 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 be used for when sending test packet, sequentially write self IP address and sequentially write transmitting time to the transmitting time record cell of this test packet to the IP address record cell of this test packet; And also be used for receive intermediate node return return test packet the time, sequentially write time of reception to the time of reception record cell of this test packet;
A plurality of intermediate node devices, be used for receiving the test packet that last layer node or next node layer send, and sequentially write self IP address, sequentially write time of reception to the time of reception record cell of this test packet to the IP address record cell of this test packet; Also be used for returning this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit;
The destination node device is used for receiving the test packet that the last layer node sends, and sequentially writes self IP address, sequentially writes time of reception to the time of reception record cell of this test packet to the IP address record cell of this test packet; Also be used for returning this test packet to the last layer node, and write transmitting time to described transmitting time sequence of unit.
7. network situation detection system according to claim 6 is characterized in that:
Also comprise equipment UID record cell in the described network condition verification msg module;
Wherein, described start node device also is used for when sending test packet, sequentially writes self UID data in described equipment UID record cell;
Wherein, described intermediate node device also is used for after receiving the test packet that last layer node or next node layer send, and sequentially writes self UID data to the equipment UID record cell of this test packet;
Wherein, described destination node device also is used for after receiving the test packet that the last layer node sends, and sequentially writes self UID data to the equipment UID record cell of this test packet;
Wherein, whether described start node device also is used for drawing the transmission path of test packet according to the UID of equipment UID record cell journal, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with.
8. network situation detection system according to claim 6 is characterized in that:
Also comprise in the described network condition verification msg module and use the protocol number record cell;
Wherein, described start node device also is used for when sending test packet, sequentially writes self use protocol number in described use protocol number record cell;
Wherein, described intermediate node device also is used for after receiving the test packet that last layer node or next node layer send, and sequentially writes self to the use protocol number record cell of this test packet and uses protocol number;
Wherein, described destination node device also is used for after receiving the test packet that the last layer node sends, and sequentially writes self to the use protocol number record cell of this test packet and uses protocol number;
Wherein, transmission time between each node that described start node device also is used for drawing according to the use protocol number of using the journal of protocol number record cell and according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, whether the host-host protocol of judging each node device and its use mates, in order to improve network transmission efficiency.
9. network situation detection system according to claim 6 is characterized in that:
Described start node device stops to send test packet after sending continuously test packet 15000-25000 time or sending continuously 1-2 hour, judge network condition by the test packet of returning again.
10. network situation detection system according to claim 6 is characterized in that:
Described start node device is judged network condition according to the data of IP address record cell, transmitting time record cell and time of reception recording unit records, specifically:
Whether the IP address according to journal in the record cell of described IP address draws the transmission path of test packet, and then draw and be communicated with between start node and the destination node and disconnect after that node in situation about not being communicated with;
Draw transmission time between each node according to the time of reception of journal in the transmitting time of journal in the described transmitting time record cell and the time of reception record cell, and then judge the network speed and draw the 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 true CN102946335A (en) 2013-02-27
CN102946335B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104602A (en) * 2014-08-06 2014-10-15 北京瑞汛世纪科技有限公司 Method and device for QoS information prediction
CN106202582A (en) * 2016-08-31 2016-12-07 北京中机盛科软件有限公司 Method for scheduling task in Corporation Distributed data warehouse and system
CN108075936A (en) * 2016-11-16 2018-05-25 中国移动通信有限公司研究院 VxLAN detection methods and device
CN110581787A (en) * 2019-09-11 2019-12-17 成都安恒信息技术有限公司 Application layer data quantity multiplication method applied to performance test

Citations (5)

* 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
US20080112543A1 (en) * 2005-06-03 2008-05-15 Huawei Technologies Co., Ltd. Method for implementing online maintenance in communication network
CN1937541B (en) * 2005-09-20 2010-08-11 华为技术有限公司 Network performance test method

Patent Citations (5)

* 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
US20080112543A1 (en) * 2005-06-03 2008-05-15 Huawei Technologies Co., Ltd. Method for implementing online maintenance in communication network
CN1937541B (en) * 2005-09-20 2010-08-11 华为技术有限公司 Network performance test method
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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104602A (en) * 2014-08-06 2014-10-15 北京瑞汛世纪科技有限公司 Method and device for QoS information prediction
CN104104602B (en) * 2014-08-06 2018-02-09 湖南网数科技有限公司 A kind of method and device of QoS information prediction
CN106202582A (en) * 2016-08-31 2016-12-07 北京中机盛科软件有限公司 Method for scheduling task in Corporation Distributed data warehouse and system
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
CN110581787A (en) * 2019-09-11 2019-12-17 成都安恒信息技术有限公司 Application layer data quantity multiplication method applied to performance test

Also Published As

Publication number Publication date
CN102946335B (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN103401726B (en) Network path detection method and device, system
WO2021017658A1 (en) System and method for evaluating transmission performance related to network node and related device
CN109714221B (en) Method, device and system for determining network data packet
CN104866399B (en) UM-BUS bus run Failure Detection Controller and detection method
CN101917305A (en) Method for automatically checking topology in automatic test and automatic test system
CN100550787C (en) Network fault node diagnosis method
CN103188719B (en) Medium-high speed sensor network test macro
CN104243536B (en) A kind of bullet train controls network semi-matter simulating system
CN102946335B (en) A kind of network condition detection method and system
CN101547063A (en) Method and system for testing forward delay
CN105553885B (en) A kind of FC interchanger priority test method
CN102195832A (en) Loopback testing method, device and system
CN104065508A (en) Application service health examination method, device and system
CN105323121A (en) Network condition detection method and device
Liu et al. Self-diagnosis for detecting system failures in large-scale wireless sensor networks
CN105827476A (en) High-speed PING implementation method and PING testing method
CN106656643A (en) Measuring method of segmental calculation of network delay
CN108667732A (en) A kind of message forwarding method and device
CN102694692A (en) Fault detecting method and device of distributed equipment
CN104734907A (en) Method for actively measuring end-to-end path performance of OpenFlow network and system adopted by the same
CN106209540A (en) The method of testing of a kind of CAN sampling point position and device
CN103139014A (en) Method and device for network quality evaluating based on by-pass
CN102508754A (en) Method for detecting 1553B communication interface
CN103532931B (en) Method and system for testing transmission performance of data stream, and server
CN115657646B (en) Test method and device of CAN controller

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