CN101877659B - Method, device and system for monitoring packet loss - Google Patents

Method, device and system for monitoring packet loss Download PDF

Info

Publication number
CN101877659B
CN101877659B CN201010216149.5A CN201010216149A CN101877659B CN 101877659 B CN101877659 B CN 101877659B CN 201010216149 A CN201010216149 A CN 201010216149A CN 101877659 B CN101877659 B CN 101877659B
Authority
CN
China
Prior art keywords
packet loss
user terminal
information
identification information
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010216149.5A
Other languages
Chinese (zh)
Other versions
CN101877659A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010216149.5A priority Critical patent/CN101877659B/en
Publication of CN101877659A publication Critical patent/CN101877659A/en
Application granted granted Critical
Publication of CN101877659B publication Critical patent/CN101877659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technology of media area fault detection, in particular to a method, a device and a system for monitoring packet loss, which is used for solving the problem of being incapable of obtaining concrete relevant reason information which causes the packet loss; and the method in the invention mainly comprises the following steps: when receiving a data packet, a gateway device judges whether the data packet is a lost packet or not; after making sure that the data packet is the lost packet, the gateway device determines a network packet loss reason; according to the preset congruent relationship between network packet loss reasons and fault positioning auxiliary information items, a fault positioning auxiliary information item which corresponds to the network packet loss reason is determined, and fault positioning auxiliary information which is carried in the data packet and corresponds to the fault positioning auxiliary information item is read; and the gateway device outputs the network packet loss reason information, the fault positioning auxiliary information and terminal identification information of a user terminal which sends the data packet. The method, the device and the system can determine the concrete fault reason of the packet loss accurately.

Description

A kind of method, apparatus and system of monitoring packet loss
Technical field
The present invention relates to medium surface fault diagnosis technology field, relate in particular to a kind of method, apparatus and system of monitoring packet loss.
Background technology
Along with the development of the core net communication technology, media stream service is abundanter, and traffic carrying capacity is also continuing to increase.Therefore accuracy rate and speed that, logarithm reportedly send have had higher requirement.Especially when network occurs when abnormal, need as much as possible fast, accurately locate the particular location of abnormal data, and solve, guarantee that the business of terminal is unaffected.
A kind of method of prior art is that the statistical information of reception, transmission and packet loss by message in debug command acquisition gateway is located and analysis of failure.But the method is only applicable in the statistics of system-level great amount of terminals, and cannot add up the reception of particular terminal, transmission and packet drop.And also can only analyze according to packet loss statistics Network Packet Loss reason, make that locating speed is slow and accuracy rate is low.
The another kind of method of prior art, can carry out monitoring packet loss to particular terminal.The message that the message that the method copy transmit port sends and receiving port receive, and the message of copy is sent to mirror port analysis.If transmit port has sent a certain message, and receiving port does not receive this message, can determine the situation that has occurred packet loss at intra-gateway, but particular location still cannot be determined.Even if can go out by ancillary statistics information analysis the particular location of possibility packet loss, but cannot obtain the concrete related causes that causes packet loss.
Summary of the invention
The invention provides a kind of method, apparatus and system of monitoring packet loss, for solving the problem that cannot obtain the concrete related causes information that causes packet loss.
A monitoring packet loss method, the method comprises:
Gateway device receives after packet, determines whether this packet is packet loss;
Gateway device, after definite described packet is packet loss, is determined Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Gateway device is exported the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet.
A gateway device, this equipment comprises:
Judging unit, for after receiving packet, determines whether this packet is packet loss;
Encapsulation unit, after determining that in described determining unit described packet is packet loss, determines Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Output unit, for exporting described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet.
A fault information acquisition equipment, this equipment comprises:
Message receiving element, for receiving the message of the terminal identification information that carries Network Packet Loss reason, fault location supplementary and user terminal that gateway device sends;
Packet parsing unit, for parsing described Network Packet Loss reason, described fault location supplementary and described terminal identification information from described message;
Information output unit, exports for the information that described packet parsing unit resolves is obtained.
A monitoring packet loss system, this system comprises:
Gateway device, for receiving after packet, determines whether this packet is packet loss; After definite described packet is packet loss, determine Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet; The information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are sent to fault information acquisition equipment;
Fault information acquisition equipment, for by the information of the described Network Packet Loss reason receiving, described fault location supplementary and described terminal identification information, exports.
In the present invention, after gateway device receives packet and determines that this packet is packet loss, determine the fault fault location auxiliary information items that Network Packet Loss reason and predefined this Network Packet Loss reason are corresponding, read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in this packet, and the information of Network Packet Loss reason, fault location supplementary and the terminal identification information of sending the user terminal of this packet are exported.Visible, the invention solves the problem that cannot obtain the concrete related causes information that causes packet loss, make webmaster personnel can produce according to the Information locating relative users terminal of output the concrete reason of communication failure.
Accompanying drawing explanation
Fig. 1 is monitoring packet loss method flow schematic diagram provided by the invention;
Fig. 2 is monitoring packet loss method specific implementation schematic flow sheet provided by the invention;
The monitoring packet loss method flow schematic diagram that Fig. 3 provides for the embodiment of the present invention one;
The monitoring packet loss method flow schematic diagram that Fig. 4 provides for the embodiment of the present invention two;
The monitoring packet loss method flow schematic diagram that Fig. 5 provides for the embodiment of the present invention three;
The schematic flow sheet that Fig. 6 applies in concrete business for the monitoring packet loss method that the embodiment of the present invention provides;
Fig. 7 is monitoring packet loss EM equipment module structural representation provided by the invention;
Fig. 8 is fault information acquisition EM equipment module structural representation provided by the invention.
Embodiment
In order to solve the problem that cannot obtain the concrete related causes information that causes packet loss for solving.The invention provides the method for monitoring packet loss.As shown in Figure 1, concrete steps are as follows:
Step 11: gateway device receives after packet, determines whether this packet is packet loss;
Step 12: gateway device, after specified data bag is packet loss, is determined Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Step 13: gateway device is exported the information of definite Network Packet Loss reason, fault location supplementary and the terminal identification information of sending the user terminal of packet.
In step 11, whether specified data bag is that the method for packet loss is, judges that whether the forward-path of this packet is correct according to the information of carrying in packet, if incorrect, determines that this packet is packet loss.
In step 12, Network Packet Loss reason refers to the reason of the forward-path mistake that causes this packet, comprises route querying failure, routing forwarding mistake, transmits mistake etc.Gateway device can be determined Network Packet Loss reason according to the information of carrying in packet.Fault location auxiliary information items in above-mentioned corresponding relation is after carrying in packet, makeing mistakes, to cause network because Network Packet Loss corresponding to this fault location auxiliary information items is former thereby the item of information of packet loss.
After step 13, user for example webmaster personnel can carry out reason location to the communication failure of user terminal according to the information of output.
For example, in step 12, during the former because route querying failure of definite Network Packet Loss, the predefined fault location auxiliary information items corresponding with this Network Packet Loss reason comprises: destination address, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network identify.Explanation may be due to the one or more mistake that occurs in the destination address carrying in packet, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network sign, and cause network due to route querying failure packet loss.In step 13 by route querying failure information, above-mentioned fault location supplementary with send after the terminal identification information output of user terminal of packet, webmaster personnel can judge due in destination address, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network sign which or which mistake is set, and cause route querying failed, thereby determine the communication failure reason of user terminal, such as, be because destination address causes the failure of user terminal interconnection network.
Preferably, in step 12 after gateway device specified data bag is packet loss and before definite Network Packet Loss reason, gateway device can be determined the user terminal that sends packet, and determine whether to carry out monitoring packet loss for this user terminal, if,, determining while need to carry out monitoring packet loss for this user terminal, determine Network Packet Loss reason, and carry out subsequent operation; Otherwise, directly abandon this packet.
Gateway device determine whether need to for user terminal carries out the concrete grammar of monitoring packet loss can be as follows:
Before gateway device receives packet, gateway device receives and stores the terminal identification information of the user terminal to be monitored of user or miscellaneous equipment configuration; Selected part or all terminal identification information of storage, and user terminal corresponding to the terminal identification information of choosing for each, arrange monitoring packet loss enable information; Gateway device, after definite this packet is packet loss, determines whether as this user terminal is provided with monitoring packet loss enable information, and if so, determining need to be for this user terminal carries out monitoring packet loss, otherwise, determine and do not need to carry out monitoring packet loss for this user terminal.
Gateway device determine whether need to for user terminal carries out the concrete grammar of monitoring packet loss can also be as follows:
Before gateway device receives packet, gateway device receives and stores the terminal identification information of the user terminal to be monitored of user or miscellaneous equipment configuration; And be user terminal corresponding to each terminal identification information, monitoring packet loss sign is set; Gateway device is after definite this packet is packet loss, and gateway device is defined as the monitoring packet loss sign of described user terminal setting and indicates in the time of need to carrying out monitoring packet loss, determines and need to carry out monitoring packet loss for described user terminal; Gateway device is defined as the monitoring packet loss sign of described user terminal setting and indicates while not needing to carry out monitoring packet loss, determines and does not need to carry out monitoring packet loss for described user terminal.
The specific implementation of step 13 can be in the following way:
Gateway device sends to fault information acquisition equipment by the information of Network Packet Loss reason, fault location supplementary and the terminal identification information of sending the user terminal of packet, and fault information acquisition equipment is exported the information receiving.Concrete, gateway device is encapsulated in the information of Network Packet Loss reason, fault location supplementary and the terminal identification information of sending the user terminal of packet in message, address information according to pre-configured fault information acquisition equipment, sends to fault information acquisition equipment by this message; Fault information acquisition equipment receives after this message, parse information, fault location supplementary and the terminal identification information of Network Packet Loss reason, and the information that parsing is obtained is exported from this message.
As shown in Figure 2, be below specific implementation flow process:
Step 21, gateway device receives the also terminal identification information of the user terminal to be monitored of stored configuration; , and the address information of fault information acquisition equipment;
Step 22, gateway device selected part or all terminal identification information of storage, user terminal corresponding to terminal identification information of choosing for each, arranges monitoring packet loss enable information;
Step 23, gateway device receives after packet, determines that this packet is packet loss;
Step 24, the user terminal that gateway device is defined as sending described packet is provided with monitoring packet loss enable information, determines and need to carry out monitoring packet loss for described user terminal;
Step 25, gateway device is determined Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Step 26, gateway device is encapsulated as message by the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet;
Step 27, gateway device sends to fault information acquisition equipment by described message;
Step 28, described fault information acquisition equipment is resolved described message, and the information that parsing is obtained is exported.
Specifically with following examples, illustrate:
As shown in Figure 3, embodiment mono-detailed process is as follows:
Step 31, gateway device receives the also terminal identification information of the user terminal to be monitored of stored configuration;
Described terminal identification information is international mobile subscriber identification code (International Mobile SubscriberIdentity, IMSI) or network access Identifier (Net Access Identifier, NAI);
Step 32, the terminal identification information of gateway device selected part storage, user terminal corresponding to terminal identification information of choosing for each, arranges monitoring packet loss enable information;
The terminal identification information of described gateway device selected part storage can be specifically to choose to set number, the terminal identification information of respective user terminal in presence;
Step 33, gateway device receives after the packet that user terminal sends, and determines whether this packet is packet loss;
When this packet is packet loss, forward step 34 to;
When this packet is not packet loss, end operation, abandons the monitoring packet loss operation to this packet;
Step 34, gateway device determines that the terminal identification information of the user terminal that sends described packet is IMSI or NAI, but finds this IMSI or user terminal corresponding to NAI not to be arranged to monitoring packet loss enable information, directly dropping packets;
As shown in Figure 4, embodiment bis-detailed processes are as follows:
Step 41, gateway device receives the also terminal identification information of user terminal to be monitored and the address information of fault information acquisition equipment of stored configuration;
Described terminal identification information is IMSI or NAI;
Step 42, gateway device selected part or all terminal identification information of storage, user terminal corresponding to terminal identification information of choosing for each, arranges monitoring packet loss enable information;
Described gateway device selected part or all terminal identification information of storage can be specifically to choose to set number, the terminal identification information of respective user terminal in presence;
Step 43, gateway device receives after the packet that user terminal sends, and determines whether this packet is packet loss;
When this packet is packet loss, forward step 44 to;
When this packet is not packet loss, end operation, abandons the monitoring packet loss operation to this packet;
Step 44, gateway device is determined the terminal identification information of the user terminal that sends described packet, and determines whether to be provided with monitoring packet loss enable information for user terminal corresponding to this terminal identification information;
If determine and need to, for described user terminal carries out monitoring packet loss operation, forward step 45 to;
If not determine and do not need for described user terminal carries out monitoring packet loss operation, direct dropping packets;
Step 45, gateway device is determined Network Packet Loss reason according to the information of carrying in described packet, and according to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding;
Step 46, gateway device is encapsulated in the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet in message body, the address information of described fault information acquisition equipment is encapsulated in heading, according to the address information of fault information acquisition equipment, search routing table, this message is sent to fault information acquisition equipment;
Step 47, fault information acquisition equipment receives described message, parse the information of described Network Packet Loss reason, described fault location supplementary and described terminal identification information, and the information that parsing is obtained is exported from this message.
During the failure of the former because route querying of described Network Packet Loss in the present embodiment, described fault location auxiliary information items comprises: destination address, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network sign.
As shown in Figure 5, embodiment tri-detailed processes are as follows:
Step 51, gateway device receives the also terminal identification information of user terminal to be monitored and the address information of fault information acquisition equipment of stored configuration;
Described terminal identification information is IMSI or NAI;
Step 52, gateway device selected part or all terminal identification information of storage, user terminal corresponding to terminal identification information of choosing for each, arranges monitoring packet loss enable information;
Described gateway device selected part or all terminal identification information of storage can be specifically to choose to set number, the terminal identification information of respective user terminal in presence;
Step 53, gateway device receives after the packet that user terminal sends, and determines whether this packet is packet loss;
When this packet is packet loss, forward step 54 to;
When this packet is not packet loss, end operation, abandons the monitoring packet loss operation to this packet;
Step 54, gateway device is determined the terminal identification information of the user terminal that sends described packet, and determines whether to be provided with monitoring packet loss enable information for user terminal corresponding to this terminal identification information;
If determine and need to, for described user terminal carries out monitoring packet loss operation, forward step 55 to;
If not determine and do not need for described user terminal carries out monitoring packet loss operation, direct dropping packets;
Step 55, now gateway device finds that described user terminal rolls off the production line, and does not deal with;
Step 56, when gateway device, determining described user terminal reaches the standard grade again, according to the information of carrying in described packet, determine Network Packet Loss reason, and according to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding;
Step 57, gateway device is encapsulated in the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet in message body, the address information of described fault information acquisition equipment is encapsulated in heading, according to the address information of pre-configured fault information acquisition equipment, search routing table, this message is sent to fault information acquisition equipment;
Step 58, fault information acquisition equipment receives described message, parse the information of described Network Packet Loss reason, described fault location supplementary and described terminal identification information, and the information that parsing is obtained is exported from this message.
During the failure of the former because route querying of described Network Packet Loss in the present embodiment, described fault location auxiliary information items comprises: destination address, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network sign.
As shown in Figure 6, the application of the method providing for the embodiment of the present invention in concrete business, supposes to exist user terminal A, B, and packet loss has all appearred in user terminal A, B; The terminal identification information of user terminal A, B is respectively IMSI_A, IMSI_B; Suppose that the former in X, Z of packet loss appears in user terminal A, user terminal B shows the former of packet loss because Y, Z; The additional information (being corresponding fault location supplementary) of supposing generation X class Network Packet Loss reason is X1, X2, X3, the additional information (being corresponding fault location supplementary) that produces Y class Network Packet Loss reason is Y1, Y2, the additional information (being corresponding fault location supplementary) that produces Z class Network Packet Loss reason is Z1, and the detailed process of user terminal A, B being carried out to monitoring packet loss is as follows:
Step 61, gateway device receives also the terminal identification information IMSI of user terminal and the address information of fault information acquisition equipment of stored configuration;
Step 62, gateway device is chosen terminal identification information IMSI_A, IMSI_B, and the user terminal that is IMSI_A, IMSI_B for terminal identification information arranges monitoring packet loss enable information;
Step 63, gateway device receives after the packet that user terminal A, B send, and determines whether this packet is packet loss;
When this packet is packet loss, forward step 64 to;
When this packet is not packet loss, end operation, abandons the monitoring packet loss operation to this packet;
Step 64, gateway device determines and to send the user terminal A of described packet, the terminal identification information of B is IMSI_A or IMSI_B, and is defined as IMSI_A or user terminal corresponding to IMSI_B is provided with monitoring packet loss enable information;
Step 65, gateway device is that the packet that user terminal A, B send is determined respectively Network Packet Loss reason; This step comprises:
Packet for user terminal A, gateway device is according to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine that the fault location auxiliary information items that Network Packet Loss reason X is corresponding is X1, X2, X3, the fault location auxiliary information items that Network Packet Loss reason Z is corresponding is Z1;
Packet for user terminal B, gateway device is according to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine that the fault location auxiliary information items that Network Packet Loss reason Y is corresponding is Y1, Y2, the fault location auxiliary information items that Network Packet Loss reason Z is corresponding is Z1;
Step 66, gateway device is encapsulated in the information X of the Network Packet Loss reason of user terminal A and Z, fault location supplementary X1, X2, X3 and Z1, terminal identification information IMSI_A in the message body of message _ A, the address information of described fault information acquisition equipment is encapsulated in the heading of message _ A; According to the address information of fault information acquisition equipment, search routing table, this message is sent to fault information acquisition equipment;
The information Y of the Network Packet Loss reason of user terminal B and Z, fault location supplementary Y1, Y2 and Z1, terminal identification information IMSI_B are encapsulated in the message body of message _ B, the address information of described fault information acquisition equipment are encapsulated in the heading of message _ B; According to the address information of fault information acquisition equipment, search routing table, this message is sent to fault information acquisition equipment;
Step 67, fault information acquisition equipment receives described message _ A, parses information X, the Z of the Network Packet Loss reason of described user terminal A from described message _ A, fault location supplementary X1, X2, X3 and Z1, with terminal identification information IMSI_A, and the information that parsing is obtained is exported;
Fault information acquisition equipment receives described message _ B, from described message _ B, parse information Y, the Z of the Network Packet Loss reason of described user terminal B, fault location supplementary Y1, Y2 and Z1, and terminal identification information IMSI_B, and the information that parsing is obtained is exported.
During the failure of the former because route querying of described Network Packet Loss in the present embodiment, described fault location auxiliary information items comprises: destination address, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network sign.
As shown in Figure 7, the invention provides a kind of gateway device, this equipment comprises:
Judging unit 73, for after receiving packet, determines whether this packet is packet loss;
Encapsulation unit 74, after determining that at described judging unit 73 described packet is packet loss, determines Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Output unit 75, for exporting described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet.
Described judging unit 73 also for:
Determine the user terminal that sends described packet, determine whether to carry out monitoring packet loss for described user terminal;
Described encapsulation unit 74 for:
Determining while need to carry out monitoring packet loss for described user terminal, determine Network Packet Loss reason.
This equipment also comprises:
Dispensing unit 71, for receiving the also terminal identification information of the user terminal to be monitored of stored configuration;
Matching unit 72, for the terminal identification information of selected part or whole storages, and user terminal corresponding to the terminal identification information of choosing for each, monitoring packet loss enable information is set;
Described judging unit 73 for:
Determine whether as described user terminal is provided with monitoring packet loss enable information, if so, determining need to be for described user terminal carries out monitoring packet loss, otherwise, determine and do not need to carry out monitoring packet loss for described user terminal.
Described matching unit 72 for:
From the terminal identification information of storage, choose and set number, the terminal identification information of respective user terminal in presence.
Described output unit 75 for:
Described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are exported to fault information acquisition equipment.
Described output unit 75 for:
Described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are encapsulated in message, address information according to pre-configured fault information acquisition equipment, sends to fault information acquisition equipment by this message.
As shown in Figure 8, the invention provides a kind of fault information acquisition equipment, this equipment comprises:
Message receiving element 81, for receiving the message of the terminal identification information that carries Network Packet Loss reason, fault location supplementary and user terminal that gateway device sends;
Packet parsing unit 82, for parsing described Network Packet Loss reason, described fault location supplementary and described terminal identification information from described message;
Information output unit 83, exports for the information that described packet parsing unit resolves is obtained.
The invention provides a kind of monitoring packet loss system, it is characterized in that, this system comprises:
Gateway device, for receiving after packet, determines whether this packet is packet loss; After definite described packet is packet loss, determine Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet; The information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are sent to fault information acquisition equipment;
Fault information acquisition equipment, for by the information of the described Network Packet Loss reason receiving, described fault location supplementary and described terminal identification information, exports.
In sum, beneficial effect of the present invention is:
The present invention is by arranging the method for monitoring packet loss to user terminal, the terminal identification information of the reason of packet loss, the corresponding fault location supplementary of described reason and described user terminal is exported, by the method, can locate fast the particular location of fault, and find out the concrete reason that produces fault.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (17)

1. a monitoring packet loss method, is characterized in that, the method comprises:
Gateway device receives after packet, determines whether this packet is packet loss;
Gateway device, after definite described packet is packet loss, is determined Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Gateway device is exported the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet.
2. the method for claim 1, is characterized in that, at gateway device, determines after described packet is packet loss and before definite Network Packet Loss reason, the method further comprises:
Gateway device is determined the user terminal that sends described packet, determines whether to carry out monitoring packet loss for described user terminal;
Described definite Network Packet Loss reason comprises:
Gateway device, determining while need to carry out monitoring packet loss for described user terminal, is determined Network Packet Loss reason.
3. method as claimed in claim 2, is characterized in that, before gateway device receives packet, the method further comprises:
Gateway device receives the also terminal identification information of the user terminal to be monitored of stored configuration; Selected part or all terminal identification information of storage, and user terminal corresponding to the terminal identification information of choosing for each, arrange monitoring packet loss enable information;
Described determining whether need to comprise for described user terminal carries out monitoring packet loss:
Gateway device determines whether as described user terminal is provided with monitoring packet loss enable information, and if so, determining need to be for described user terminal carries out monitoring packet loss, otherwise, determine and do not need to carry out monitoring packet loss for described user terminal.
4. method as claimed in claim 2, is characterized in that, before gateway device receives packet, the method further comprises:
Gateway device receives the also terminal identification information of the user terminal to be monitored of stored configuration; And be user terminal corresponding to each terminal identification information, monitoring packet loss sign is set;
Described determining whether need to comprise for described user terminal carries out monitoring packet loss:
Gateway device is defined as the monitoring packet loss sign of described user terminal setting and indicates in the time of need to carrying out monitoring packet loss, determines and need to carry out monitoring packet loss for described user terminal; Gateway device is defined as the monitoring packet loss sign of described user terminal setting and indicates while not needing to carry out monitoring packet loss, determines and does not need to carry out monitoring packet loss for described user terminal.
5. method as claimed in claim 3, is characterized in that, described selected part or all storage
Terminal identification information comprises:
Gateway device, from the terminal identification information of storage, is chosen and is set number, the terminal identification information of respective user terminal in presence.
6. the method for claim 1, is characterized in that, described gateway device is exported the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet to comprise:
Gateway device sends to fault information acquisition equipment by the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet, and fault information acquisition equipment is exported the information receiving.
7. method as claimed in claim 6, it is characterized in that, described gateway device sends to fault information acquisition equipment by the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet, and fault information acquisition equipment is exported the information receiving to comprise:
Gateway device is encapsulated in the information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet in message, address information according to pre-configured fault information acquisition equipment, sends to fault information acquisition equipment by this message;
Fault information acquisition equipment receives described message, parse the information of described Network Packet Loss reason, described fault location supplementary and described terminal identification information, and the information that parsing is obtained is exported from this message.
8. as the method as described in arbitrary in claim 1-7, it is characterized in that, during former the because route querying of described Network Packet Loss failure, described fault location auxiliary information items comprises: destination address, source address, source port number, destination slogan, host-host protocol classification, Virtual Private Network sign.
9. as the method as described in arbitrary in claim 1-7, it is characterized in that, described terminal identification information is: international mobile subscriber identification code IMSI or network access Identifier NAI.
10. a gateway device, is characterized in that, this equipment comprises:
Judging unit, for after receiving packet, determines whether this packet is packet loss;
Encapsulation unit, after determining that at described judging unit described packet is packet loss, determines Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet;
Output unit, for exporting described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet.
11. equipment as claimed in claim 10, is characterized in that, described judging unit also for:
Determine the user terminal that sends described packet, determine whether to carry out monitoring packet loss for described user terminal;
Described encapsulation unit is used for:
Determining while need to carry out monitoring packet loss for described user terminal, determine Network Packet Loss reason.
12. equipment as claimed in claim 11, is characterized in that, this equipment also comprises:
Dispensing unit, for receiving the also terminal identification information of the user terminal to be monitored of stored configuration;
Matching unit, for the terminal identification information of selected part or whole storages, and user terminal corresponding to the terminal identification information of choosing for each, monitoring packet loss enable information is set;
Described judging unit is used for:
Determine whether as described user terminal is provided with monitoring packet loss enable information, if so, determining need to be for described user terminal carries out monitoring packet loss, otherwise, determine and do not need to carry out monitoring packet loss for described user terminal.
13. equipment as claimed in claim 12, is characterized in that, described matching unit is used for:
From the terminal identification information of storage, choose and set number, the terminal identification information of respective user terminal in presence.
14. equipment as claimed in claim 10, is characterized in that, described output unit is used for:
Described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are exported to fault information acquisition equipment.
15. equipment as claimed in claim 14, is characterized in that, described output unit is used for:
Described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are encapsulated in message, address information according to pre-configured fault information acquisition equipment, sends to fault information acquisition equipment by this message.
16. 1 kinds of fault information acquisition equipment, is characterized in that, this equipment comprises:
Message receiving element, for receiving the message of the terminal identification information that carries Network Packet Loss reason, fault location supplementary and user terminal that gateway device sends;
Packet parsing unit, for parsing described Network Packet Loss reason, described fault location supplementary and described terminal identification information from described message;
Information output unit, exports for the information that described packet parsing unit resolves is obtained.
17. 1 kinds of monitoring packet loss systems, is characterized in that, this system comprises:
Gateway device, for receiving after packet, determines whether this packet is packet loss; After definite described packet is packet loss, determine Network Packet Loss reason; According to the corresponding relation of predefined Network Packet Loss reason and fault location auxiliary information items, determine the fault location auxiliary information items that described Network Packet Loss reason is corresponding, and read the fault location supplementary corresponding to this fault location auxiliary information items of carrying in described packet; The information of described Network Packet Loss reason, described fault location supplementary and the terminal identification information of sending the user terminal of described packet are sent to fault information acquisition equipment;
Fault information acquisition equipment, for by the information of the described Network Packet Loss reason receiving, described fault location supplementary and described terminal identification information, exports.
CN201010216149.5A 2010-06-30 2010-06-30 Method, device and system for monitoring packet loss Active CN101877659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010216149.5A CN101877659B (en) 2010-06-30 2010-06-30 Method, device and system for monitoring packet loss

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010216149.5A CN101877659B (en) 2010-06-30 2010-06-30 Method, device and system for monitoring packet loss

Publications (2)

Publication Number Publication Date
CN101877659A CN101877659A (en) 2010-11-03
CN101877659B true CN101877659B (en) 2014-07-16

Family

ID=43020129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010216149.5A Active CN101877659B (en) 2010-06-30 2010-06-30 Method, device and system for monitoring packet loss

Country Status (1)

Country Link
CN (1) CN101877659B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011144068A2 (en) * 2011-05-24 2011-11-24 华为技术有限公司 Method and apparatus for reporting network packet-loss information
CN103560923B (en) * 2013-11-20 2016-08-17 烽火通信科技股份有限公司 The network failure method for rapidly positioning of Packet Transport Network
CN104869014B (en) * 2015-04-24 2019-02-05 国家电网公司 A kind of Ethernet fault location and detection method
CN108616367B (en) * 2016-12-12 2021-01-05 华为技术有限公司 Fault positioning method and network equipment
CN109218119B (en) * 2017-06-30 2020-11-27 迈普通信技术股份有限公司 Network packet loss diagnosis method and network equipment
CN107872363B (en) * 2017-10-11 2020-10-30 东软集团股份有限公司 Data packet loss processing method and system, readable storage medium and electronic device
CN109672548B (en) * 2017-10-17 2022-04-01 中国移动通信有限公司研究院 Long term evolution voice VoLTE network fault detection method, device and server
CN110011837B (en) * 2019-03-19 2022-10-04 中国铁道科学研究院集团有限公司通信信号研究所 Intelligent network data fault analysis method based on CBTC (communication based train control) system
CN112291076A (en) * 2019-07-25 2021-01-29 华为技术有限公司 Packet loss positioning method, device and system and computer storage medium
CN111629025B (en) * 2020-04-02 2023-08-25 深圳亿维锐创科技股份有限公司 Medical information is debugging system for butt joint
CN115086200B (en) * 2022-05-06 2023-09-01 北京达佳互联信息技术有限公司 Packet loss type determining method and device, electronic equipment and storage medium
CN115118632B (en) * 2022-06-21 2024-02-06 中电信数智科技有限公司 Automatic detection method for packet loss of host based on cloud network integration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6125390A (en) * 1994-04-05 2000-09-26 Intel Corporation Method and apparatus for monitoring and controlling in a network
CN1671110A (en) * 2004-03-19 2005-09-21 华为技术有限公司 An automatic fault location method and system
CN101626317A (en) * 2008-07-07 2010-01-13 华为技术有限公司 Method, system and device for link failure recovery
CN101729304A (en) * 2008-10-21 2010-06-09 华为技术有限公司 Method, device and system for detecting packet loss

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6125390A (en) * 1994-04-05 2000-09-26 Intel Corporation Method and apparatus for monitoring and controlling in a network
CN1671110A (en) * 2004-03-19 2005-09-21 华为技术有限公司 An automatic fault location method and system
CN101626317A (en) * 2008-07-07 2010-01-13 华为技术有限公司 Method, system and device for link failure recovery
CN101729304A (en) * 2008-10-21 2010-06-09 华为技术有限公司 Method, device and system for detecting packet loss

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
快速查找网速变慢的原因及解决办法;邢永红;《福建电脑》;20091231;全文 *
邢永红.快速查找网速变慢的原因及解决办法.《福建电脑》.2009,89-90.

Also Published As

Publication number Publication date
CN101877659A (en) 2010-11-03

Similar Documents

Publication Publication Date Title
CN101877659B (en) Method, device and system for monitoring packet loss
CN112738791B (en) User information correlation backfill method, device, equipment and medium based on 5G core network
CN102571492B (en) Method and device for detecting failure of routing equipment
CN113612654B (en) Vehicle-mounted gateway function test method based on database
WO2018171641A1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN107026790B (en) A kind of transmission control method and equipment
CN103178998A (en) Test and control data transmission method and device
CN107295007A (en) A kind of method of servicing for supporting various protocols, apparatus and system
CN103957136A (en) Moonlet CAN bus monitoring system
CN111294235A (en) Data processing method, device, gateway and readable storage medium
CN108667732A (en) A kind of message forwarding method and device
CN106850268A (en) A kind of linear protection switching realizes device and method
CN101527707B (en) Real-time consistency check method and correlative device for warm backup of SCTP protocol stack
CN102299862A (en) Quick forwarding equipment and method for two-layer tunnel
CN110581792B (en) Message transmission method and device
CN101902458A (en) Interprocess communication method across host machine, device thereof and system thereof
EP4280561A1 (en) Information flow identification method, network chip, and network device
CN115065637B (en) Method and device for transmitting computing power resource information and electronic equipment
CN102932208A (en) Site monitoring method and device
CN104468190A (en) Wifi data package capturing method and device and intelligent terminal
CN111130941B (en) Network error detection method and device and computer readable storage medium
CN106027189A (en) Method and system for providing message timestamp of Internet of things equipment
CN113242292A (en) Message transmission method, device, equipment, medium and product
CN106230740A (en) Message forwarding method in a kind of VXLAN and device
CN105677614B (en) A kind of more host controllers, more host control methods and system

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