CN107888457A - Port method for detecting packet loss, device and communication equipment - Google Patents
Port method for detecting packet loss, device and communication equipment Download PDFInfo
- Publication number
- CN107888457A CN107888457A CN201711304291.3A CN201711304291A CN107888457A CN 107888457 A CN107888457 A CN 107888457A CN 201711304291 A CN201711304291 A CN 201711304291A CN 107888457 A CN107888457 A CN 107888457A
- Authority
- CN
- China
- Prior art keywords
- port
- measured
- packet loss
- detection
- information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a kind of port method for detecting packet loss, device and communication equipment, and applied to communication equipment, communication equipment includes multiple ports to be measured and packet loss detection module.Method includes:Control packet loss detection module carries out the packet loss detection of preset duration respectively to multiple ports to be measured one by one, to detect whether each port to be measured packet loss occurs;When there is packet loss in the port to be measured of current detection, the packet loss information that packet loss detection module records is stored to information cache area corresponding to port to be measured.By the way that packet loss detection module is carried out into time-sharing multiplex, automatically control packet loss detection module to carry out cycle detection to multiple ports to be measured one by one, in this way, simply and efficiently realizing detection of the packet loss detection module to multiple ports to be measured, improve detection efficiency.
Description
Technical field
The application is related to communication technical field, is set in particular to a kind of port method for detecting packet loss, device and communication
It is standby.
Background technology
Communication equipment (for example, interchanger, router etc.) for carrying out data forwarding would generally include multiple communication ends
Mouthful, may be it should be understood that the packet drop of different communication port, in favor of safeguarding when carrying out plant maintenance or exploitation test
Personnel carry out problem investigation and developer carries out product development.Packet loss detection mould is provided in some existing communication equipments
TCB (Transient Capture Buffer, the transient capture caching) mould provided in block, such as the exchange chip of company of Botong
Block.
Inventor it has been investigated that, the packet loss detection module of communication equipment at present, generally by artificial configuration, once
Packet loss detection can only be carried out to a COM1 by setting.Meanwhile the mode reconfigured manually is operationally then inconvenient,
It is inefficient.If in addition, setting multiple packet loss detection module colleagues to carry out packet loss detection to multiple COM1s simultaneously, can increase
Add the cost of communication equipment.
The content of the invention
Based on above content, packet loss detection can be carried out to multiple COM1s to reach a packet loss detection module
Purpose, the embodiment of the present application adopt the following technical scheme that.
In a first aspect, the embodiment of the present application provides a kind of port method for detecting packet loss, applied to communication equipment, communication equipment
Including multiple ports to be measured and packet loss detection module.Port method for detecting packet loss includes:
Control packet loss detection module carries out the packet loss detection of preset duration respectively to multiple ports to be measured one by one, every to detect
Whether individual port to be measured there is packet loss;
When there is packet loss in the port to be measured of current detection, the packet loss information that packet loss detection module records is stored to be measured
Information cache area corresponding to port.
Second aspect, the embodiment of the present application also provide a kind of port packet loss detection device, and applied to communication equipment, communication is set
It is standby to include multiple ports to be measured and the packet loss detection module for carrying out packet loss detection to port to be measured.Port packet loss detection device
Including:
Control module is detected, for controlling packet loss detection module to carry out preset duration respectively to multiple ports to be measured one by one
Packet loss detection, to detect whether each port to be measured packet loss occurs;
Logging modle, during for there is packet loss in the port to be measured of current detection, packet loss that packet loss detection module is recorded
Information is stored to information cache area corresponding to port to be measured.
The third aspect, the embodiment of the present application also provide a kind of communication equipment, and communication equipment includes multiple ports to be measured, is used for
Multiple ports to be measured are carried out with the above-mentioned port packet loss detection that the packet loss detection module of packet loss detection and the embodiment of the present application provide
Device.
Fourth aspect, the embodiment of the present application also provide a kind of computer-readable recording medium, applied to communication equipment, communication
Equipment includes multiple ports to be measured and the packet loss detection module for multiple ports to be measured to be carried out with packet loss detection, computer-readable
Storage medium is stored with executable instruction, instructs when being executed by one or more processors, and realizes that the embodiment of the present application carries
For above-mentioned port method for detecting packet loss.
In terms of existing technologies, the application has the advantages that:
In summary, port method for detecting packet loss, device and the communication equipment that the application provides, by by packet loss detection mould
Block carries out time-sharing multiplex, automatically controls packet loss detection module to carry out cycle detection to multiple ports to be measured one by one, in this way, simply
Detection of the packet loss detection module to multiple ports to be measured is efficiently realized, improves detection efficiency.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of the embodiment of the present application, below by embodiment it is required use it is attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only some embodiments of the application, therefore be not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is one of schematic diagram of communication equipment that the embodiment of the present application provides;
Fig. 2 is the two of the schematic diagram for the communication equipment that the embodiment of the present application provides;
Fig. 3 is the operation principle schematic diagram for the packet loss detection module that the embodiment of the present application provides;
Fig. 4 is the schematic flow sheet for the port method for detecting packet loss that the embodiment of the present application provides;
Fig. 5 is the schematic diagram for the packet loss detection module software node that the embodiment of the present application provides;
Fig. 6 is the schematic diagram for the software node in port to be measured that the embodiment of the present application provides;
Fig. 7 is one of block diagram of port packet loss detection device that the embodiment of the present application provides;
Fig. 8 is the two of the block diagram for the port packet loss detection device that the embodiment of the present application provides.
Icon:10- communication equipments;100- forwarding chips;111- COM1s;200- packet loss detection modules;300-
Port packet loss detection device;310- detects control module;311- chooses submodule;312- detection sub-modules;313- is reset
Submodule;320- logging modles;330- read modules.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, rather than whole embodiments.The application being generally described and illustrated herein in the accompanying drawings is implemented
The component of example can be configured to arrange and design with a variety of.
Therefore, below the detailed description of the embodiments herein to providing in the accompanying drawings be not intended to limit it is claimed
Scope of the present application, but be merely representative of the selected embodiment of the application.It is common based on the embodiment in the application, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belong to the model of the application protection
Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.
In the description of the present application, it is also necessary to explanation, unless otherwise clearly defined and limited, term " setting ",
" installation ", " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, or one
Connect body;Can be mechanical connection or electrical connection;Can be joined directly together, can also be indirect by intermediary
It is connected, can is the connection of two component internals.For the ordinary skill in the art, on being understood with concrete condition
State the concrete meaning of term in this application.
Refer to Fig. 1, Fig. 1 is a kind of communication equipment 10 that the present embodiment provides, communication equipment 10 can include one or
Multiple forwarding chips 100, forwarding chip 100 may include (or control) one or more COM1s 111.Wherein, Mei Getong
Letter port 111 includes being used for the packet buffer queue for carrying out message reception or transmission.
Communication equipment 10 also includes packet loss detection module 200.In an embodiment of the present embodiment, referring once again to
Fig. 1, packet loss detection module 200 can be the packet loss detection module 200 that a kind of forwarding chip 100 provides, for forwarding chip
100 COM1s 111 for including (or control) carry out packet loss detection.For example, packet loss detection module 200 can be TCB
(Transient Capture Buffer, transient capture caching) module.
In the another embodiment of the present embodiment, Fig. 2 is refer to, packet loss detection module 200 may also be that one kind can
So that different multiple forwarding chips 100 are included with the module that the COM1 111 of (or control) carries out packet loss detection.Namely
Say, the COM1 111 that can use a packet loss detection module 200 includes or control to multiple forwarding chips 100 is lost
Bag detection.
Fig. 3 is refer to, in the present embodiment, packet loss detection module 200 can include being used for the communication for recording current detection
The packet loss information cache queue of the packet loss information of port 111.The queue of packet loss information cache can include message accounting queue and lose
Bag event queue.
Wherein, message accounting queue can be a round-robin queue, for storing current inspection by way of circulating and covering
The live message data that the packet buffer queue of the COM1 111 of survey stores when there is not packet loss.
Packet loss event information of the COM1 111 that packet loss event queue is used to store current detection when there is packet loss,
The information such as queue, the utilization rate of queue, timestamp where e.g., including abandoning reason, message.
Fig. 4 is refer to, Fig. 4 is a kind of port packet loss detection side applied to above-mentioned communication equipment 10 that the present embodiment provides
The schematic flow sheet of method.In the present embodiment, method includes step S110 and step S120, and each step is explained in detail below
State.
In step s 110, control packet loss detection module 200 one by one to multiple COM1s 111 to be measured (hereinafter referred to as
" port to be measured ") packet loss detection of preset duration is carried out respectively, to detect whether each port to be measured packet loss occurs.
In some cases, communication equipment 10 may have multiple COM1s 111, but may only need to wherein one
COM1 111 is divided to carry out packet loss detection.Therefore in the present embodiment, packet loss detection module 200 is previously stored with port row to be measured
Table, port list to be measured records the port information of the COM1 111 of progress packet loss detection in need, in the process detected
In, using the COM1 111 recorded in port list to be measured as port to be measured.
, in the present embodiment, please in order to which intuitive and convenient carries out management and control to packet loss detection module 200 and port list to be measured
Reference picture 5, can be that packet loss detection module 200 is pre-configured with a corresponding packet loss detection module software node.Port to be measured
List is configured in packet loss detection module software node, so that packet loss detection module 200 can be remembered according in port list to be measured
The port information of record carries out packet loss detection.
Communication equipment 10 can also respond the port adjust instruction to be measured received, be treated to what is recorded in port list to be measured
Port is surveyed to be adjusted.For example, carry out any one or more in port addition, port deletion and port modifications.By right
The management of port list to be measured, can be with the detection range of management and control packet loss detection module 200.
In the present embodiment, each port to be measured can correspond to a detection mark, be for port to be measured corresponding to indicating
It is no to be detected by packet loss detection module 200.For example, detection mark can be the marker bit of 1 bit, by the way that detection is marked
Note is set to port to be measured corresponding to 1 expression and detected by packet loss detection module 200, by the way that detection mark is set into 0 expression
Do not detected by packet loss detection module 200 corresponding port to be measured.
Referring once again to Fig. 5, packet loss detection module software node can include a monitored object status switch, monitor
In Obj State sequence, record has detection mark corresponding to each port to be measured.
When being detected to multiple ports to be measured, port to be measured that communication equipment 10 records in port list to be measured
In, it can be marked according to the detection of each port to be measured, choose one of them not detected port to be measured as target port to be measured.
Different inspection policies information may be needed for different ports to be measured, therefore in the present embodiment, port to be measured
Default inspection policies information can be corresponding with, inspection policies information can include the queue type of port to be measured (as received team
Row or transmit queue), the configuration information such as sample rate of caching message.
Fig. 6 is refer to, in the present embodiment, port to be measured corresponding to one can also be generated in advance for each port to be measured
Software node, inspection policies information can be configured in software node in port to be measured.
It is determined that behind target port to be measured, the inspection policies information of target port to be measured is obtained, then controls packet loss detection
Module 200 carries out the detection of preset duration (such as 50ms) according to inspection policies information to target port to be measured.In this way, it can make
Packet loss detection module 200 carries out automatic cycle inspection according to the inspection policies information of different ports to be measured to multiple ports 111 to be measured
Survey, it is more efficient compared to the existing method that is detected of manually configuration and do not allow error-prone.
, can be further by target port to be measured after the detection to current target port to be measured is completed in the present embodiment
Detection mark modify, be detected detection mark instruction target port to be measured, such as the inspection by target port to be measured
Mark note is revised as 1, then chooses another port to be measured again and carries out packet loss detection as target port to be measured.
In addition, when the detection mark instruction of each port to be measured is detected, can be by each port to be measured
Detection mark is modified, and port to be measured corresponding to each detection mark instruction not to be detected, is then carried out a new round again
Packet loss detection.For example, when it is 1 that the detection for detecting all ports to be measured, which marks, then it is assumed that epicycle is to being needed
Survey port and carried out detection, the detection mark of all ports to be measured is revised as 0, then starts the detection of a new round.
In this way, by the time-sharing multiplex to packet loss detection module 200, a packet loss detection module 200 can be achieved to multiple
The automatic detection of port to be measured.
Further, in the present embodiment, referring once again to Fig. 5, packet loss detection module 200 is also configured at one loses
Packet loss status indicator in bag detection module software node, packet loss status indicator are used to indicate that packet loss detection module 200 is currently examined
Whether the port to be measured surveyed there is packet loss.
In the detection process to multiple ports to be measured, communication equipment 10 detects the packet loss state of packet loss detection module 200
Mark, whether the port to be measured for judging the current detection of packet loss detection module 200 according to packet loss status indicator there is packet loss.
If there is packet loss in the port to be measured of packet loss status indicator instruction current detection, into step S120;If packet loss shape
State mark does not indicate that packet loss occurs in the port to be measured of current detection in preset duration, then changes the detection of target port to be measured
Mark, detection mark instruction target port to be measured is detected, next port to be measured is then chosen again and is detected.
In the step s 120, the packet loss information storage of the port to be measured of current detection packet loss detection module 200 recorded
To information cache area corresponding to port to be measured.
In the present embodiment, referring once again to Fig. 6, each corresponding information cache area in port to be measured.Wherein, information is delayed
Depositing area includes first information buffer area and the second information cache area.First information buffer area is used to store when currently there is packet loss
Packet loss information, the second information cache area are used to store packet loss information during last packet loss.
When detecting that packet loss occurs in port to be measured in step s 110, communication equipment 10 can be by the first information of port to be measured
The data of buffer area current record are stored in the second information cache area, then deposit the packet loss information that packet loss detection module 200 records
Store up to first information buffer area.
In this way, need to port to be measured occur packet loss analyze when, can directly read port to be measured currently and
Previous packet loss information, analysis can be made more convenient accurate.
Further, in the present embodiment, each port to be measured can also include corresponding port information, such as end to be measured
Mouthful port numbers, the chip number of affiliated forwarding chip 100 etc..
When needing to carry out packet loss analysis to a certain port to be measured, communication equipment 10 can obtain port to be measured to be analyzed
Port information, determine information cache area corresponding to port to be measured to be analyzed according to port information, read in information cache area
Packet loss information, for further analysis.It refer to Fig. 7, the present embodiment also provides a kind of applied to communication equipment 10
Port packet loss detection device 300, device include detection control module 310 and logging modle 320.
Control module 310 is detected, for controlling packet loss detection module 200 to be preset respectively to multiple ports to be measured one by one
The packet loss detection of duration, to detect whether each port to be measured packet loss occurs.In the present embodiment, detection control module 310 can be used
In performing the step S110 shown in Fig. 4, on further describing for detection control module 310, step S110 description can be joined.
In the present embodiment, the corresponding detection mark in each port to be measured, for whether indicating corresponding port to be measured
Detected by packet loss detection module 200.
Detecting control module 310 can include choosing submodule 311, detection sub-module 312 and reset submodule 313.
Submodule 311 is chosen, for being marked according to the detection of each port to be measured, chooses a not detected port to be measured
As target port to be measured.
Further, in the present embodiment, communication equipment 10 is previously stored with port list to be measured, port list note to be measured
Record has the port information of each port to be measured.
Choose submodule 311 to be used to be marked according to the detection of each port to be measured recorded in port list to be measured, choose
One port to be measured not being detected is as target port to be measured.
Detection sub-module 312, for controlling packet loss detection module 200 to carry out the packet loss of preset duration to target port to be measured
Detection, and the detection mark of target port to be measured is modified upon completion of the assays, make detection mark instruction target end to be measured
Mouth has been detected.
Further, in the present embodiment, port to be measured has corresponding default inspection policies information.Detection sub-module
312 obtain the inspection policies information of target port to be measured, and control packet loss detection module 200 is treated according to inspection policies information to target
Survey the detection that port carries out preset duration.
Submodule 313 is reset, for when the detection mark of each port to be measured is designated as being detected, being treated to each
The detection mark for surveying port is modified, and makes port to be measured corresponding to each detection mark instruction not to be detected.Then, choosing is made
Take submodule 311 to be marked according to the detection of each port to be measured, it is to be measured as target to choose a port to be measured not being detected
Port carries out the detection of a new round.
Further, in the present embodiment, port packet loss detection device 300 can also include modified module.
Modified module, it is to be measured to being recorded in port list to be measured for responding the port adjust instruction to be measured received
Port is adjusted, and adjustment includes any one or more in port addition, port deletion and port modifications.
Further, in the present embodiment, packet loss detection module 200 can be corresponding with a packet loss status indicator, packet loss
Status indicator is used to indicate whether the port to be measured of the current detection of packet loss detection module 200 packet loss occurs.
Detection control module 310 is by detecting the packet loss status indicator of packet loss detection module 200, according to packet loss status indicator
Judge whether the port to be measured of the current detection of packet loss detection module 200 packet loss occurs.
Logging modle 320, during for packet loss occur in the port to be measured of current detection, packet loss detection module 200 is recorded
Packet loss information store to information cache area corresponding to port to be measured.In the present embodiment, logging modle 320 can be used for performing Fig. 4
Shown step S120, on further describing for logging modle 320, step S120 description can be joined.
Further, in the present embodiment, information cache area includes first information buffer area and the second information cache area.Note
Module 320 is recorded when detecting that packet loss occurs in port to be measured, by the data of the first information buffer area current record of port to be measured
The second information cache area is stored in, then stores the packet loss information that packet loss detection module 200 records to first information buffer area.
Further, in the present embodiment, as shown in figure 8, port packet loss detection device 300 can also include read module
330。
Read module 330 is used to receive packet loss information acquisition request, is treated point according to what packet loss information acquisition request included
The port information of the port to be measured of analysis determines information cache area corresponding to port to be measured to be analyzed, information cache corresponding to reading
Packet loss information in area.
The present embodiment also provides a kind of readable storage medium storing program for executing, in the present embodiment, readable storage medium storing program for executing can be applied to
Memory in communication equipment 10, readable storage medium storing program for executing are stored with executable instruction, instruct by one of communication equipment 10
Or during multiple computing devices, communication equipment 10 is set to realize the port method for detecting packet loss that the present embodiment provides.
Wherein, readable storage medium storing program for executing may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-
Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory,
EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory,
EEPROM) etc., USB flash disk, mobile hard disk, disk or CD etc. are various can be with the medium of store program codes.
In summary, port method for detecting packet loss, device and the communication equipment that the application provides, by by packet loss detection mould
Block carries out time-sharing multiplex, automatically controls packet loss detection module that one by one multiple ports to be measured are carried out with cycle detection, simple efficient
Ground realizes detection of the packet loss detection module to multiple ports to be measured, substantially increases detection efficiency.
Described above, the only embodiment of the application, but the protection domain of the application is not limited thereto is any
Those familiar with the art can readily occur in change or replacement in the technical scope that the application discloses, and should all contain
Cover within the protection domain of the application.Therefore, the protection domain of the application should be defined by scope of the claims.
Claims (14)
1. a kind of port method for detecting packet loss, applied to communication equipment, it is characterised in that the communication equipment includes multiple to be measured
Port and the packet loss detection module for multiple ports to be measured to be carried out with packet loss detection;Methods described includes:
Control the packet loss detection module that one by one multiple ports to be measured are carried out with the packet loss detection of preset duration respectively, with inspection
Survey whether each port to be measured packet loss occurs;
When there is packet loss in the port to be measured of current detection, the packet loss information that the packet loss detection module records is stored to this and treated
Survey information cache area corresponding to port.
2. according to the method for claim 1, it is characterised in that the packet loss detection module is transient capture cache module,
The packet loss detection module is corresponding with packet loss status indicator, and for indicating whether the port to be measured of current detection packet loss occurs, this is lost
Bag detection module judges whether the port to be measured of current detection packet loss occurs according to the packet loss status indicator, and when there is packet loss
Record the packet loss information of the port to be measured.
3. according to the method for claim 1, it is characterised in that the communication equipment is previously stored with port list to be measured,
Record has each port to be measured in the port list to be measured, each corresponding detection mark in port to be measured, uses
Whether detected in port to be measured corresponding to instruction by the packet loss detection module;
The control packet loss detection module carries out the packet loss detection of preset duration respectively to multiple ports to be measured one by one
The step of, including:
Marked according to the detection of each port to be measured, one is chosen not from the port to be measured of the port list record to be measured
Detected port to be measured is as target port to be measured;
Control the packet loss detection module to carry out the packet loss detection of preset duration to target port to be measured, and completed in detection
The detection mark of target port to be measured is modified afterwards, detection mark is indicated that target port to be measured has been detected
Survey;
When the detection mark of each port to be measured is designated as being detected, to the detection mark of each port to be measured
Note is modified, and makes port to be measured corresponding to each detection mark instruction not to be detected.
4. according to the method for claim 3, it is characterised in that methods described also includes:
The port adjust instruction to be measured received is responded, the port to be measured recorded in the port list to be measured is adjusted,
The adjustment includes any one or more in port addition, port deletion and port modifications.
5. according to the method for claim 1, it is characterised in that described information buffer area includes first information buffer area and the
Two information cache areas;The packet loss that when there is packet loss in the port to be measured of current detection, the packet loss detection module is recorded
Information is stored to corresponding to the port to be measured the step of information cache area, including:
When there is packet loss in the port to be measured of current detection, by the first information buffer area current record of the port to be measured
Data are stored in the second information cache area, then store the packet loss information that the packet loss detection module records to described first
Information cache area.
6. according to the method described in claim 1-5 any one, it is characterised in that methods described also includes:
Packet loss information acquisition request is received, the packet loss information acquisition request includes the port information of port to be measured to be analyzed;
The information cache area according to corresponding to the port information determines the port to be measured to be analyzed, reads the information cache area
The packet loss information of middle storage.
7. a kind of port packet loss detection device, applied to communication equipment, it is characterised in that the communication equipment includes multiple to be measured
Port and the packet loss detection module for multiple ports to be measured to be carried out with packet loss detection;Described device includes:
Control module is detected, during for controlling the packet loss detection module to be preset respectively to multiple ports to be measured one by one
Long packet loss detection, to detect whether each port to be measured packet loss occurs;
Logging modle, during for there is packet loss in the port to be measured of current detection, packet loss that the packet loss detection module is recorded
Information is stored to information cache area corresponding to the port to be measured.
8. device according to claim 7, it is characterised in that the packet loss detection module is transient capture cache module,
The packet loss detection module has packet loss status indicator, for indicating whether the port to be measured of current detection packet loss occurs, the packet loss
Detection module judges whether the port to be measured of current detection packet loss occurs according to the packet loss status indicator, and remembers when there is packet loss
Record the packet loss information of the port to be measured.
9. device according to claim 7, it is characterised in that the communication equipment is previously stored with port list to be measured,
Record has each port to be measured in the port list to be measured, each corresponding detection mark in port to be measured, uses
In instruction, whether the port to be measured had been detected by the packet loss detection module;The detection control module includes:
Submodule is chosen, for being marked according to the detection of each port to be measured, chooses a not detected port to be measured work
For target port to be measured;
Detection sub-module, examined for controlling the packet loss detection module to carry out the packet loss of preset duration to target port to be measured
Survey, and the detection mark of target port to be measured is modified upon completion of the assays, detection mark is indicated the target
Port to be measured has been detected;
Reset submodule, for each port to be measured detection mark be designated as being detected when, to each described
The detection mark of port to be measured is modified, and makes port to be measured corresponding to each detection mark instruction not to be detected;Make described
Choose submodule to be marked according to the detection of each port to be measured, choose a port to be measured not being detected and treated as target
Survey the detection that port carries out a new round.
10. device according to claim 7, it is characterised in that also include:
Modified module, it is to be measured to being recorded in the port list to be measured for responding the port adjust instruction to be measured received
Port is adjusted, and the adjustment includes any one or more in port addition, port deletion and port modifications.
11. device according to claim 7, it is characterised in that described information buffer area include first information buffer area and
Second information cache area;When the logging modle packet loss occurs in the port to be measured of current detection, by corresponding to the port to be measured
The data of the first information buffer area current record are stored in the second information cache area, and the packet loss detection module is recorded
Packet loss information store to the first information buffer area.
12. according to the device described in claim 7-11 any one, it is characterised in that also include:
Read module, for receiving packet loss information acquisition request, included according to the packet loss information acquisition request to be analyzed
Port to be measured port information determine the port to be measured to be analyzed corresponding to information cache area, read the information cache area
In packet loss information.
13. a kind of communication equipment, it is characterised in that the communication equipment includes multiple ports to be measured, for described being treated to multiple
The port packet loss detection that port is carried out described in the packet loss detection module and claim 7-12 any one of packet loss detection is surveyed to fill
Put.
14. a kind of computer-readable recording medium, applied to communication equipment, it is characterised in that the communication equipment includes multiple
Port to be measured and the packet loss detection module for multiple ports to be measured to be carried out with packet loss detection, the computer-readable storage
Media storage has executable instruction, and the instruction realizes that claim 1-6 appoints when being executed by one or more processors
Method described in meaning one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711304291.3A CN107888457B (en) | 2017-12-08 | 2017-12-08 | Port packet loss detection method and device and communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711304291.3A CN107888457B (en) | 2017-12-08 | 2017-12-08 | Port packet loss detection method and device and communication equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107888457A true CN107888457A (en) | 2018-04-06 |
CN107888457B CN107888457B (en) | 2020-08-14 |
Family
ID=61773765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711304291.3A Active CN107888457B (en) | 2017-12-08 | 2017-12-08 | Port packet loss detection method and device and communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107888457B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073256A (en) * | 2020-06-01 | 2020-12-11 | 新华三信息安全技术有限公司 | Packet loss processing method, device, equipment and machine-readable storage medium |
CN112152876A (en) * | 2020-09-09 | 2020-12-29 | 锐捷网络股份有限公司 | Method and device for acquiring packet loss information |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056224A (en) * | 2007-05-31 | 2007-10-17 | 杭州华三通信技术有限公司 | A loop detection method and device for the network device |
CN101610212A (en) * | 2009-07-27 | 2009-12-23 | 迈普通信技术股份有限公司 | Realize the method and the integrated circuit board of reliable data plane communication |
CN101729304A (en) * | 2008-10-21 | 2010-06-09 | 华为技术有限公司 | Method, device and system for detecting packet loss |
CN101873269A (en) * | 2010-06-24 | 2010-10-27 | 杭州华三通信技术有限公司 | Data retransmission device and method for distributing buffer to ports |
US20110103245A1 (en) * | 2009-10-29 | 2011-05-05 | Kuo-Cheng Lu | Buffer space allocation method and related packet switch |
CN102204164A (en) * | 2011-05-24 | 2011-09-28 | 华为技术有限公司 | Method and apparatus for reporting network packet-losing message |
CN102984035A (en) * | 2013-01-04 | 2013-03-20 | 盛科网络(苏州)有限公司 | Loopback test method and system of packet loss probability of network data |
CN103997433A (en) * | 2014-05-16 | 2014-08-20 | 瑞斯康达科技发展股份有限公司 | Packet loss rate measuring method, device and system |
CN104219107A (en) * | 2014-08-26 | 2014-12-17 | 华为技术有限公司 | Communication fault detecting method, communication fault detecting device and communication fault detecting system |
CN105306381A (en) * | 2015-09-21 | 2016-02-03 | 盛科网络(苏州)有限公司 | Method and device for analyzing cache packet loss in network |
US20160359698A1 (en) * | 2015-06-05 | 2016-12-08 | Cisco Technology, Inc. | System and method of detecting packet loss in a distributed sensor-collector architecture |
CN106330604A (en) * | 2016-08-23 | 2017-01-11 | 杭州迪普科技有限公司 | Port connectivity test method and device |
CN106411624A (en) * | 2016-12-26 | 2017-02-15 | 北京东土科技股份有限公司 | Packet loss port positioning method and device |
US20170054618A1 (en) * | 2015-08-21 | 2017-02-23 | Barefoot Networks, Inc. | Fast detection and identification of lost packets |
CN106506265A (en) * | 2016-10-25 | 2017-03-15 | 杭州迪普科技股份有限公司 | Detection fpga chip hangs dead method and device |
JP2017208654A (en) * | 2016-05-17 | 2017-11-24 | 富士通株式会社 | Packet processing apparatus and packet processing method |
-
2017
- 2017-12-08 CN CN201711304291.3A patent/CN107888457B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101056224A (en) * | 2007-05-31 | 2007-10-17 | 杭州华三通信技术有限公司 | A loop detection method and device for the network device |
CN101729304A (en) * | 2008-10-21 | 2010-06-09 | 华为技术有限公司 | Method, device and system for detecting packet loss |
CN101610212A (en) * | 2009-07-27 | 2009-12-23 | 迈普通信技术股份有限公司 | Realize the method and the integrated circuit board of reliable data plane communication |
US20110103245A1 (en) * | 2009-10-29 | 2011-05-05 | Kuo-Cheng Lu | Buffer space allocation method and related packet switch |
CN101873269A (en) * | 2010-06-24 | 2010-10-27 | 杭州华三通信技术有限公司 | Data retransmission device and method for distributing buffer to ports |
CN102204164A (en) * | 2011-05-24 | 2011-09-28 | 华为技术有限公司 | Method and apparatus for reporting network packet-losing message |
CN102984035A (en) * | 2013-01-04 | 2013-03-20 | 盛科网络(苏州)有限公司 | Loopback test method and system of packet loss probability of network data |
CN103997433A (en) * | 2014-05-16 | 2014-08-20 | 瑞斯康达科技发展股份有限公司 | Packet loss rate measuring method, device and system |
CN104219107A (en) * | 2014-08-26 | 2014-12-17 | 华为技术有限公司 | Communication fault detecting method, communication fault detecting device and communication fault detecting system |
US20160359698A1 (en) * | 2015-06-05 | 2016-12-08 | Cisco Technology, Inc. | System and method of detecting packet loss in a distributed sensor-collector architecture |
US20170054618A1 (en) * | 2015-08-21 | 2017-02-23 | Barefoot Networks, Inc. | Fast detection and identification of lost packets |
CN105306381A (en) * | 2015-09-21 | 2016-02-03 | 盛科网络(苏州)有限公司 | Method and device for analyzing cache packet loss in network |
JP2017208654A (en) * | 2016-05-17 | 2017-11-24 | 富士通株式会社 | Packet processing apparatus and packet processing method |
CN106330604A (en) * | 2016-08-23 | 2017-01-11 | 杭州迪普科技有限公司 | Port connectivity test method and device |
CN106506265A (en) * | 2016-10-25 | 2017-03-15 | 杭州迪普科技股份有限公司 | Detection fpga chip hangs dead method and device |
CN106411624A (en) * | 2016-12-26 | 2017-02-15 | 北京东土科技股份有限公司 | Packet loss port positioning method and device |
Non-Patent Citations (1)
Title |
---|
柳晓风: "基于无线网络的视频传输技术研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073256A (en) * | 2020-06-01 | 2020-12-11 | 新华三信息安全技术有限公司 | Packet loss processing method, device, equipment and machine-readable storage medium |
CN112073256B (en) * | 2020-06-01 | 2022-07-19 | 新华三信息安全技术有限公司 | Packet loss processing method, device, equipment and machine readable storage medium |
CN112152876A (en) * | 2020-09-09 | 2020-12-29 | 锐捷网络股份有限公司 | Method and device for acquiring packet loss information |
CN112152876B (en) * | 2020-09-09 | 2022-01-11 | 锐捷网络股份有限公司 | Method and device for acquiring packet loss information |
Also Published As
Publication number | Publication date |
---|---|
CN107888457B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107347205B (en) | A kind of network slice selection method, apparatus and system | |
CN110287696B (en) | Detection method, device and equipment for rebound shell process | |
CN106155260A (en) | The system of server and management method and computer-readable recording medium | |
CN106507419A (en) | The method and device of connection Wi-Fi hotspot | |
CN102571416B (en) | Positioning method and device for virtual machine | |
CN109714221A (en) | The determination method, apparatus and system of network packet | |
CN108494575A (en) | A kind of power telecom network method of operation modeling method and system based on chart database | |
CN110519779A (en) | Mobile terminal testing method, device, system and storage medium | |
CN107888457A (en) | Port method for detecting packet loss, device and communication equipment | |
CN109726830A (en) | Equipment routing inspection method, apparatus, electronic equipment and storage medium | |
US20180139634A1 (en) | Method and apparatus for probing fronthaul topology | |
CN110224897A (en) | Vulnerable network test method, device, mobile device and the storage medium of application program | |
CN110069210A (en) | A kind of storage system, the distribution method of storage resource and device | |
CN110995785A (en) | Low-voltage distribution network cloud platform based on Internet of things | |
CN108108296A (en) | A kind of cloud test method, server and client | |
CN106301987A (en) | A kind of message dropping detection method, Apparatus and system | |
CN104811431A (en) | Data packet processing method and device based on parallel protocol stack instance | |
CN107741909A (en) | A kind of automated testing method and system for distributed block storage | |
CN106888128A (en) | A kind of transformer station's Intranet monitoring system and its monitoring method | |
CN105450679A (en) | Method and system for performing data cloud storage | |
CN105450519B (en) | The sending method and core switch of message | |
CN107086960A (en) | A kind of message transmitting method and device | |
US20150304200A1 (en) | Traffic information collection system and collection control node | |
CN113890845A (en) | PSE (Power supply Enable) test method and device, storage medium and electronic equipment | |
CN116170275A (en) | Cloud network operation and maintenance management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |