CN107231266A - The detection method and device of message passage - Google Patents

The detection method and device of message passage Download PDF

Info

Publication number
CN107231266A
CN107231266A CN201610173868.0A CN201610173868A CN107231266A CN 107231266 A CN107231266 A CN 107231266A CN 201610173868 A CN201610173868 A CN 201610173868A CN 107231266 A CN107231266 A CN 107231266A
Authority
CN
China
Prior art keywords
message
detected
passage
message passage
detection messages
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.)
Pending
Application number
CN201610173868.0A
Other languages
Chinese (zh)
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.)
Shenzhen ZTE Technical Service Co.,Ltd.
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 CN201610173868.0A priority Critical patent/CN107231266A/en
Priority to PCT/CN2017/074598 priority patent/WO2017161997A1/en
Publication of CN107231266A publication Critical patent/CN107231266A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0858One way delays

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 invention discloses a kind of detection method of message passage, detection messages are obtained in the outlet of message passage to be detected;Parse initial time stamp of the detection messages in the message passage to be detected and terminate timestamp;Initial time stamp and termination timestamp based on the detection messages in the message passage to be detected, calculate time delay of the detection messages in the message passage to be detected;Using the time delay of calculating as the message passage to be detected average delay.The invention also discloses a kind of detection means of message passage.The present invention improves the efficiency of message Air conduct measurement.

Description

The detection method and device of message passage
Technical field
The present invention relates to network technique field, more particularly to a kind of detection method and device of message passage.
Background technology
With the development of network technology, various protocol massages also with network equipment function increasingly Strengthen and be constantly applied in network environment, be all by special when the present network equipment is communicated Door network tester is detected to each network equipment and WAP, to detect wireless network Terminal and wireless signal strength of middle connection etc., but when the message passage in the network equipment breaks down As when ductility there are significant delays when, just can only to the various functions of the network equipment one by one test analysis with Failure is investigated, finally just can determine that ductility goes wrong when being, it is clear that existing network equipment detection side Formula, it is relatively low to the detection efficiency of message passage.
The content of the invention
It is a primary object of the present invention to propose a kind of detection method and device of message passage, it is intended to solve Present network equipment detection mode, it is relatively low to the detection efficiency of message passage.
To achieve the above object, a kind of detection method for message passage that the present invention is provided, the message leads to The detection method in road includes:
Detection messages are obtained in the outlet of message passage to be detected;
Parse initial time stamp and termination time of the detection messages in the message passage to be detected Stamp;
Initial time stamp and termination time based on the detection messages in the message passage to be detected Stamp, calculates time delay of the detection messages in the message passage to be detected;
Using the time delay of calculating as the message passage to be detected average delay.
Preferably, it is described before the step of outlet in message passage to be detected obtains detection messages The detection method of message passage includes:
The detection messages are constructed according to default message format;
The detection messages of construction are sent to by the message passage to be detected according to default sending method In, wherein, when the detection messages to be sent to the entrance of the message passage to be detected, record is worked as The preceding moment as the detection messages initial time stamp;
While exporting the step for obtaining detection messages, performed in message passage to be detected performing described Following steps:
Current time is recorded as the termination timestamp of the detection messages.
Preferably, it is described after the step of outlet in message passage to be detected obtains detection messages The detection method of message passage also includes:
If in prefixed time interval, multiple detection messages are got in the outlet of the message passage to be detected, Then count the number of the detection messages got;
The message for determining the message passage to be detected in the prefixed time interval according to the number of statistics tires out Metering.
Preferably, when timing performs the step of outlet in message passage to be detected obtains detection messages When, the number according to statistics determines the report of the message passage to be detected in the prefixed time interval After the step of literary cumulative amount, the detection method of the message passage also includes:
By the message cumulative amount of the message passage to be detected with it is described to be checked in a upper prefixed time interval The message cumulative amount for observing and predicting literary passage is compared;
The message passage to be detected message cumulative amount with it is described to be checked in a upper prefixed time interval Observe and predict literary passage message cumulative amount it is equal when, the message passage to be detected is carried out to empty reset.
Preferably, the time delay using calculating is used as the average delay of the message passage to be detected After step, the detection method of the message passage also includes:
The average delay of the message passage to be detected is compared with default time delay;
The message passage to be detected average delay higher than it is default when be delayed, improve described to be checked observe and predict The priority of literary passage.
In addition, to achieve the above object, the present invention also proposes a kind of detection means of message passage, described The detection means of message passage includes:
Acquisition module, for obtaining detection messages in the outlet of message passage to be detected;
Parsing module, for parsing during starting of the detection messages in the message passage to be detected Between stamp and terminate timestamp;
Computing module, for the initial time based on the detection messages in the message passage to be detected Stamp and termination timestamp, calculate time delay of the detection messages in the message passage to be detected;
Processing module, for using the time delay of calculating as the message passage to be detected average delay.
Preferably, the detection means of the message passage also includes:
Constructing module, for constructing the detection messages according to default message format;
Delivery module, described in the detection messages of construction are sent to according to default sending method In message passage to be detected, wherein, the detection messages are being sent to the message passage to be detected During entrance, current time is recorded as the initial time stamp of the detection messages;
Logging modle, detection messages are obtained for the acquisition module in the outlet of message passage to be detected Meanwhile, current time is recorded as the termination timestamp of the detection messages.
Preferably, the detection means of the message passage also includes:
Statistical module, if in prefixed time interval, being obtained in the outlet of the message passage to be detected To multiple detection messages, then the number of the detection messages got is counted;
Determining module, for determining described in the prefixed time interval to be checked observe and predict according to the number of statistics The message cumulative amount of literary passage.
Preferably, when acquisition module timing obtains detection messages in the outlet of message passage to be detected, The detection means of the message passage also includes:
First comparing module, for the message cumulative amount of the message passage to be detected to be preset with upper one The message cumulative amount of the message passage to be detected is compared in time interval;
Reseting module, for the message cumulative amount in the message passage to be detected and a upper preset time When the message cumulative amount of the message passage to be detected is equal in interval, the message passage to be detected is entered Row empties reset.
Preferably, the detection means of the message passage also includes:
Second comparing module, for the average delay of the message passage to be detected and default time delay to be carried out Compare;
Module is improved, is delayed, carries higher than when presetting for the average delay in the message passage to be detected The priority of the high message passage to be detected.
The detection method and device of message passage proposed by the present invention, first in the outlet of message passage to be detected Detection messages are obtained, when then parsing starting of the detection messages in the message passage to be detected Between stamp and terminate timestamp, then during based on starting of the detection messages in the message passage to be detected Between stamp and terminate timestamp, calculate the time delay of the detection messages in the message passage to be detected, most Afterwards using the time delay of calculating as the message passage to be detected average delay, rather than detection net During the message passage of network equipment, can only to the various functions of the network equipment one by one test analysis to investigate therefore Barrier, finally just can determine that ductility goes wrong when being, the present invention by analyzing detection messages, with The time delay of message passage is determined, the efficiency to message Air conduct measurement is improved.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the detection method first embodiment of message passage of the present invention;
Fig. 2 is the schematic flow sheet of the detection method second embodiment of message passage of the present invention;
Fig. 3 is the schematic flow sheet of the detection method 3rd embodiment of message passage of the present invention;
Fig. 4 is the schematic flow sheet of the detection method fourth embodiment of message passage of the present invention;
Fig. 5 is the high-level schematic functional block diagram of the detection means first embodiment of message passage of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the detection means second embodiment of message passage of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the detection means 3rd embodiment of message passage of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the detection means fourth embodiment of message passage of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be done further referring to the drawings in conjunction with the embodiments Explanation.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, limit is not used to The fixed present invention.
The present invention provides a kind of detection method of message passage.
Reference picture 1, Fig. 1 is the schematic flow sheet of the detection method first embodiment of message passage of the present invention.
The present embodiment proposes a kind of detection method of message passage, and the detection method of the message passage includes:
Step S10, detection messages are obtained in the outlet of message passage to be detected;
In the present embodiment, before the step S10, including step:
1st, the detection messages are constructed according to default message format;
In the present embodiment, pre-defined message format construction detection messages are first according to, in order to reduce The load pressure that detection messages are produced to message passage, the message format preferably includes the report of detection messages Literary length, type of message, message time stamp mark etc..Specifically, the message length is set to small In preset length, such as 8 bytes;And because the construction of detection messages will have uniqueness, particularity, It can not mutually obscure with real protocol massages, therefore pass through the feature for each field domain for setting detection messages Value is made a distinction with well-known agreement, and agreement report is configured differently than equivalent to by the type of message of detection messages The type of message of text.It is worth noting that, the life cycle of detection messages is in message passage handling process scope Interior, after message channel performance statistical disposition is completed, the detection messages just terminate.
Specifically, each field detailed annotation that the message format of the detection messages includes is as follows:
DstMac (destination address) -00:d0:d0:ff:ff:ff;
EherType (ethernet type) -0x8875 and well-known ehertype makes a distinction;
The channel number of ChannelNo-the mark detection messages message passage to be detected, also referred to as Gap marker;
Time stamp mark when RxTimeStamp-detection messages are received;
Time stamp mark when TxTimeStamp-detection messages are sent.
Further, the message format may also include the gap marker of message passage, i.e. construction detection report Wen Shi, can also carry out the gap marker of message passage as message parameter the construction of detection messages, subsequently After detection messages construction complete, the gap marker for the message passage that can be included according to detection messages will be examined Observe and predict text to be sent in the corresponding message passage of gap marker, rather than send at random into message passage, Improve the intelligent of message Air conduct measurement.
2nd, the detection messages of construction are sent into the message to be detected according to default sending method to lead to In road, wherein, when the detection messages to be sent to the entrance of the message passage to be detected, record Current time as the detection messages initial time stamp;
In the present embodiment, can be according to the default transmission cycle by construction after the completion of construction detection messages Detection messages are sent in message passage to be detected, can be also sent to detection messages according to on-demand and be treated In detection messages passage, the transmission cycle represents how long interval sends a detection messages, specific time It can according to circumstances be configured, for example, send a detection messages every 0.1 second, and the on-demand can It is described to be sent according to user configuring within the cycle of specifying in certain amount of detection messages, the present embodiment Message passage to be detected may include each message passage in the network equipment or specify one or Multiple message passages, and be sent to the detection messages of construction according to default sending method described to be detected When in message passage, if not constructed during construction detection messages according to the gap marker of message passage, Then when sending detection messages, circulate and enter line entry to each message passage of the network equipment and give out a contract for a project, i.e., this Shi Suoshu message passages to be detected are each message passages in the network equipment, and the cycle of giving out a contract for a project herein will be with working as The cycle of giving out a contract for a project of minimum as defined in preceding agreement matches, and the too small cycle of giving out a contract for a project can produce more negative than larger passage Carry, influence the propagation delay time of detection messages, the excessive cycle of giving out a contract for a project can reduce the accuracy of detection;If structure To be constructed according to the gap marker of message passage when making detection messages, then when sending detection messages, The gap marker carried in first recognition detection message, and transmitted detection messages according to default sending method Into the message passage of identification, i.e., now described message passage to be detected is the message passage specified.
When being sent to the detection messages of construction in the message passage to be detected, for message passage Processing delay makes accurate detection, by the way of time stamp is beaten in detection messages, specific time stamp processing It is individually positioned in the entry position of the message passage to be detected and the outlet of the message passage to be detected Position, so can more accurately test assess detection messages pass through in the message passage to be detected when Between, so that calculate the message passage current performance situation to be detected, and time stamp processing is by hard in bottom Part is realized, current time stamp is stamped for the detection messages field that directly specified Offsets inside message.And inciting somebody to action When detection messages are sent to the entrance of the message passage to be detected, record current time is used as the detection The initial time stamp of message.
While the step S10 is performed, following steps are performed:
Current time is recorded as the termination timestamp of the detection messages.
When obtaining detection messages in the outlet of message passage to be detected, record current time is used as the inspection The termination timestamp of text is observed and predicted, finally, the detection messages are exactly to be carried along into the message to be detected to lead to The start time point in road and the detection messages at the termination time point come out from the message passage to be detected.
In the present embodiment, the mode for obtaining detection messages in the outlet of message passage to be detected includes:Together When obtain a detection messages in the outlet of each message passage to be detected, or to be checked observe and predict at each simultaneously The outlet of literary passage obtains multiple detection messages successively;Or going out in each message passage to be detected successively Mouthful a detection messages are obtained, or in the outlet of each message passage to be detected obtain multiple inspections successively successively Observe and predict text.
Step S20, parse initial time stamp of the detection messages in the message passage to be detected and Terminate timestamp;
In the present embodiment, after getting detection messages in the outlet from message passage to be detected, into association The detection messages of acquisition are parsed in view stack, the message passage to be detected in the present embodiment can be with It is expressed as CPU (Central Processing Unit, central processing unit) to line up, also referred to as passage team Row, and the protocol stack can represent CPU protocol stacks, wherein, the message passage of the CPU protocol stacks Just there are 48 message passages, equivalent to there are 48 cpu queues.
In the present embodiment, when getting detection messages in the message passage to be detected, you can it is determined that The gap marker of message passage to be detected, i.e., come out, then the report in detection messages in which message passage Literary passage is message passage to be detected, and obtains the gap marker of the message passage to be detected;Or When person gets detection messages in the message passage to be detected, the passage mark that analysis detection messages are carried Know, to determine message passage to be detected.And after detection messages are got, the inspection to acquisition Observe and predict text to be parsed, to parse the timestamp of detection messages, the timestamp is the detection messages Initial time stamp and termination timestamp in corresponding message passage.Specifically passing through DMA ((Direct Memory Access, direct memory access) mode is extracted detection messages from message passage Into CPU protocol stacks (also referred to as CPU internal memories) in order to carry out analytical Calculation, in bottom layer realization Be taken in cpu queue caching in have detection messages, then by DMA by detection messages from message passage answer Make CPU region of memorys and trigger interrupt signal, in order to parse the initial time stamp of the detection messages With termination timestamp.
Step S30, based on initial time stamp of the detection messages in the message passage to be detected and end Only timestamp, calculates time delay of the detection messages in the message passage to be detected;
It is determined that after the initial time stamp or termination timestamp of detection messages, being existed based on the detection messages Initial time stamp and termination timestamp in the message passage to be detected, you can calculate the detection messages Time delay in the message passage to be detected, that is, the time for terminating timestamp is subtracted into initial time At the time point of stamp, you can obtain the time difference, the time difference is the detection messages to be checked observes and predicts described Time delay in literary passage.Specifically, read after detection messages content is got from detection messages specified location Take RxTimeStamp and TxTimeStamp time stamps.Both by delay time=TxTimeStamp- RxTimeStamp formula can complete time-delay calculation.And the gap marker of message passage then directly passes through The parsing of channelNo fields is drawn.Alternatively, it is also possible to carry message passage by bottom DMA mechanism Gap marker is into CPU internal memories, to be read by software module.In the present embodiment only with analytic message Mode is obtained.
Step S40, using the time delay of calculating as the message passage to be detected average delay.
Detection messages are being calculated after the time delay of the message passage to be detected, by the time delay of calculating As the average delay of the message passage to be detected, specifically, obtained in the outlet of message passage to be detected When the detection messages got are one, the time delay of calculating is regard as the flat of the message passage to be detected Equal time delay;And the detection messages got in the outlet of message passage to be detected for it is multiple when, treated described The time delay of each detection messages carries out phase adduction and averaged in detection messages passage, and by the average value It is that can obtain each to be checked to observe and predict according to this mode as the average delay of the message passage to be detected The average delay of literary passage.And the calculation of the average delay of message passage to be detected can also be with difference Cycle is calculated:Time delay mean value computation for example is carried out by 5 seconds, 15 seconds, 30 seconds of the cycle, calculates public Formula is as follows:Avg=(T1+T2+Tn)/period, wherein, Tn is n-th in a detection cycle The time delay value of detection messages, being averaged for each message passage to be detected can be calculated according to this calculation Time delay.
To be best understood from this programme, citing application scenarios are as follows:
First, detection messages are constructed, the form of detection messages is:
Dstmac:
Data:0x00d0d0ffffff
Mask:0xffffffffffff
Ethertype:
Data:0x8875
Mask:0xffff
Channel No:
Data:xx
Mask:0xff
After detection messages construction complete, specify Action actions as follows:
Copytocpu
CosqCpuNew
Drop
Wherein, Copytocpu actions are responsible for detection messages to copy to entering for the i.e. message passage of cpu port Mouthful;CosqCpuNew acts the cpu port queue i.e. message entered for specifying detection messages to need and led to The channel number of road queue;Drop actions represent discarding detection messages, and the action is in message Air conduct measurement After the completion of.
The detection method of message passage proposed by the present invention, first obtains inspection in the outlet of message passage to be detected Observe and predict text, then parse initial time stamp of the detection messages in the message passage to be detected and Terminate timestamp, then initial time stamp based on the detection messages in the message passage to be detected and Timestamp is terminated, time delay of the detection messages in the message passage to be detected is calculated, finally will meter Calculate the time delay as the message passage to be detected average delay, rather than detection the network equipment Message passage when, can only to the various functions of the network equipment, test analysis is to investigate failure one by one, most End just can determine that ductility goes wrong when being, the present invention is by analyzing detection messages, to determine report The time delay of literary passage, improves the efficiency to message Air conduct measurement.
Further, in order to improve the detection flexibility of message passage, this hair is proposed based on first embodiment The second embodiment of the detection method of contract quotation text passage, in the present embodiment, reference picture 2, the step S10 Afterwards, the detection method of the message passage also includes:
Step S50, if in prefixed time interval, being got in the outlet of the message passage to be detected multiple Detection messages, then count the number of the detection messages got;
Step S60, the message passage to be detected in the prefixed time interval is determined according to the number of statistics Message cumulative amount.
In the present embodiment, if in prefixed time interval, being obtained in the outlet of the message passage to be detected To multiple detection messages, then the number of the detection messages got is counted, be then according to the number of statistics It can determine that the message cumulative amount of the message passage to be detected in the prefixed time interval.Wherein, it is described Prefixed time interval is configured according to the specific time, could be arranged to 30 seconds, 1 minute, 10 minutes or 30 minutes etc., finally, the message cumulative amount of the message passage to be detected to be checked is observed and predicted as described The testing result of literary passage.Specifically, calculation is as follows:Avg=Count/period, wherein, count It is the cumulative number of the detection messages of message channel transfer to be detected in a measurement period.
Further, can also according to message passage to be detected described in periodic statistics detection messages number, The detection messages of message passage to be detected are counted every prefixed time interval.
In the present embodiment, not only using testing result of the time delay as message passage, also by cumulative amount As the testing result of message passage, the flexibility of message Air conduct measurement is improved.
Further, in order to improve the detection flexibility of message passage, this hair is proposed based on second embodiment The 3rd embodiment of the detection method of contract quotation text passage, in the present embodiment, reference picture 3, when timing performs institute State in the step of the outlet acquisition detection messages of message passage to be detected, after the step S60, institute Stating the detection method of message passage also includes:
Step S70, by the message cumulative amount of the message passage to be detected and a upper prefixed time interval The message cumulative amount of the message passage to be detected is compared;
Step S80, in the message cumulative amount and a upper prefixed time interval of the message passage to be detected When the message cumulative amount of the message passage to be detected is equal, the message passage to be detected is emptied Reset.
In the present embodiment, will be described to be detected it is determined that after the cumulative amount of the message passage to be detected The message of the message cumulative amount of message passage and the message passage to be detected in a upper prefixed time interval Cumulative amount is compared, if comparison result is identical, illustrates that detection messages are in institute in this prefixed time interval State no in passage to be detected transmit successfully, you can represent that the message passage to be detected blocks completely , just cause detection messages to send failure, now, the message passage to be detected carried out emptying reset, Problem is solved equivalent to by resetting related bottom module.
Specifically, when the sending method for constructing message is different, the detection of message passage cumulative amount to be detected Mode also includes following two situations:
1) in the case of sending detection messages for periodicity, then regularly read in message passage to be detected and examine Observe and predict the quantity of text, and by quantity and the message passage last time to be detected of the detection messages of this reading Whether the quantity of the detection messages of reading is compared, to judge the message passage to be detected in effective Working condition;Illustrate that the message channels operation to be detected is normal if statistical counting has cumulative change, Self- recoverage processing need not be carried out, it is notable that in above-mentioned Timing Processing, timing cycle is big In the transmission cycle of detection messages, the number for obtaining detection messages statistics under normal circumstances so just can guarantee that After value is accumulated counts;If statistical counting does not change, illustrate that the message passage to be detected is in mistake Effect state, i.e., described message channel block to be detected is then now carried out to the message passage to be detected Reset is emptied to recover the message passage to be detected.
2) when sending detection messages on demand, if the cumulative meter of front and rear twi-read detection messages Number is unchanged, it is necessary to which further discriminating between current network device is in idle condition or message passage occur Failure fails to detection messages, under detected status on demand, the transmission of detection trigger message, and is sending After the completion of re-read counting messages counting;If global statistics, which are counted, cumulative change, illustrate described treat Detection messages channels operation is normal, without self- recoverage processing;If passing through message under detected status on demand The statistical counting of passage is judged to produce failure, equally the message passage to be detected is carried out emptying reset To recover the message passage to be detected.
In the present embodiment, if it is 1 second that detection messages, which send the cycle, then determined in fault detect self- recoverage In plan processing, if can not receive detection messages or detection messages in 3 seconds, to count cumulative statistics constant, recognizes Failure is produced for the message passage to be detected, the message passage to be detected can be carried out emptying reset, To ensure that the message passage to be detected does not produce prolonged detection messages loss situation;Either pass through Switching message passage simultaneously recovers original message passage using bottom hardware modular manner is resetted.
Further, it is real based on first, second or third in order to improve the detection flexibility of message passage Apply the fourth embodiment that example proposes the detection method of message passage of the present invention, reference picture 4, in the present embodiment, After the step S40, the detection method of the message passage also includes:
Step S90, the average delay of the message passage to be detected is compared with default time delay;
Step S100, is delayed higher than when presetting in the average delay of the message passage to be detected, improves institute State the priority of message passage to be detected.
In the present embodiment, the average delay of the message passage to be detected is obtained first;Then will be described Average delay is compared with default time delay;It is if being currently able to meet protocol requirement, i.e., described to be detected The average delay of message passage is delayed less than or equal to when presetting, and illustrates the message of message channel transfer Speed, reaches and require that, is not in larger delay, does not process now;If described treat The average delay of detection messages passage is higher than default time delay, illustrates that the when ductility of message passage is larger, Be probably passage message transmissions speed it is slower, it is undesirable, then now improve the message to be detected The priority of passage, should during in order to next transmission protocol message to strengthen the performance of the message passage The when ductility of message passage can be reduced.
Further, more excellent message passage can also be searched according to different policy requirements, specifically, can To be to extract the stage in agreement to specify the message passage for needing to change, to complete the adaptive excellent of message passage Change, during in order to network equipment transmission protocol message where the message passage, first using the network The high message passage of priority is used as protocol massages message passage to be sent in equipment.
Further, it is when presetting using average delay and protocol requirement highest time delay thresholding in the present embodiment Prolong and be compared.If the average delay of current message passage>Protocol requirement time delay highest time delay thresholding, then Higher priority message passage is begun look in current scheduling node, if finding high prior message passage Delay performance<Protocol requirement time delay highest thresholding, the detection messages for further reading current message passage add up The detection messages cumulative amount of preferred message passage is measured and treated, message passage to be selected is estimated in cumulative amount ratio Prediction delay performance.If this prediction delay performance is more than current transmission protocol requirement time delay, successive Higher priority message passage is searched until limit priority message passage.If highest priority packet Passage, which remains unchanged, to be met, then does not do adaptive optimization action.
In the present embodiment, because application scenarios are that the network equipment possesses multiple message passages, and each Message passage carries out self-adapting detecting and the process of processing according to detection messages, and arrives CPU protocol stacks Message passage has 48 cpu queues, therefore, and queue scheduling is scheduled using 4 grades of scheduling modes.
In the present invention, self-adapting detecting and the adaptive decision-making processing of message passage are realized, is improved The redundancy protecting of detection messages treatment efficiency in the network device and detection messages treatment channel, is improved Network robustness and fault-tolerant ability.Particularly under high traffic, complex network scene, efficiently solve Optimization processing of the procotol message in device interior, has ensured the normal operation of network.
The present invention further provides a kind of detection means of message passage.
Reference picture 5, Fig. 5 illustrates for the functional module of the detection means first embodiment of message passage of the present invention Figure.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram is only shown in Fig. 5 The exemplary plot of one preferred embodiment, inspection of the those skilled in the art around the message passage shown in Fig. 5 The functional module of device is surveyed, the supplement of new functional module can be carried out easily;The title of each functional module is Self-defined title, is only used for aiding in each program function block of detection means for understanding the message passage, no For limiting technical scheme, the core of technical solution of the present invention is, the work(of each self-defined title Can the function to be reached of module.
The present embodiment proposes a kind of detection means of message passage, and the detection means of the message passage includes:
Acquisition module 10, for obtaining detection messages in the outlet of message passage to be detected;
In the present embodiment, before the acquisition of acquisition module 10 detection messages, the inspection of the message passage Surveying device includes presetting module, described for constructing detection messages and transmission detection messages to message passage Presetting module includes constructing module, delivery module and logging modle, specifically:
Constructing module, for constructing the detection messages according to default message format;
In the present embodiment, the constructing module is first according to pre-defined message format construction detection report Text, in order to reduce the load pressure that detection messages are produced to message passage, the message format is preferably included The message lengths of detection messages, type of message, message time stamp mark etc..Specifically, by the message Length, which sets to arrive, is less than preset length, such as 8 bytes;And because the construction of detection messages will have uniquely Property, particularity, it is impossible to mutually obscure with real protocol massages, thus by set detection messages each The characteristic value of field domain makes a distinction with well-known agreement, is set to equivalent to by the type of message of detection messages Different from the type of message of protocol massages.It is worth noting that, the life cycle of detection messages is in message passage In the range of handling process, after message channel performance statistical disposition is completed, the detection messages just terminate.
Specifically, each field detailed annotation that the message format of the detection messages includes is as follows:
DstMac (destination address) -00:d0:d0:ff:ff:ff;
EherType (ethernet type) -0x8875 and well-known ehertype makes a distinction;
The channel number of ChannelNo-the mark detection messages message passage to be detected, also referred to as Gap marker;
Time stamp mark when RxTimeStamp-detection messages are received;
Time stamp mark when TxTimeStamp-detection messages are sent.
Further, the message format may also include the gap marker of message passage, i.e., described construction mould When block constructs detection messages, also detection messages can be carried out using the gap marker of message passage as message parameter Construction, after subsequent detection message construction complete, the message passage that can be included according to detection messages it is logical Road is identified, and detection messages are sent in the corresponding message passage of gap marker, rather than random transmission is extremely In message passage, the intelligent of message Air conduct measurement is improved.
Delivery module, described in the detection messages of construction are sent to according to default sending method In message passage to be detected, wherein, the detection messages are being sent to the message passage to be detected During entrance, current time is recorded as the initial time stamp of the detection messages;
In the present embodiment, after the completion of constructing module construction detection messages, the delivery module can The detection messages of construction are sent in message passage to be detected according to the default transmission cycle, the transmission mould Detection messages can be also sent in message passage to be detected by block according to on-demand, the transmission periodic table Show how long interval sends a detection messages, the specific time can according to circumstances be configured, such as every 0.1 Second sends a detection messages, and the on-demand can be sent according to user configuring within the cycle of specifying In certain amount of detection messages, the present embodiment, the message passage to be detected may include in the network equipment Each message passage or one or more message passages for specifying, and sent according to default When the detection messages of construction are sent in the message passage to be detected by mode, if during construction detection messages Do not constructed according to the gap marker of message passage, then the delivery module is sending detection messages When, circulate and enter line entry to each message passage of the network equipment and give out a contract for a project, i.e., now described message to be detected Passage is each message passage in the network equipment, and the cycle of giving out a contract for a project herein will be with minimum as defined in Current protocol Cycle of giving out a contract for a project matches, and the too small cycle of giving out a contract for a project can be produced than larger channel load, influence detection messages Propagation delay time, the excessive cycle of giving out a contract for a project can reduce the accuracy of detection;If being root when constructing detection messages Constructed according to the gap marker of message passage, then the delivery module is when sending detection messages, first The gap marker carried in recognition detection message, and be sent to detection messages according to default sending method In the message passage of identification, i.e., now described message passage to be detected is the message passage specified.
When being sent to the detection messages of construction in the message passage to be detected, for message passage Processing delay makes accurate detection, by the way of time stamp is beaten in detection messages, specific time stamp processing It is individually positioned in the entry position of the message passage to be detected and the outlet of the message passage to be detected Position, so can more accurately test assess detection messages pass through in the message passage to be detected when Between, so that calculate the message passage current performance situation to be detected, and time stamp processing is by hard in bottom Part is realized, current time stamp is stamped for the detection messages field that directly specified Offsets inside message.And inciting somebody to action When detection messages are sent to the entrance of the message passage to be detected, logging modle record current time conduct The initial time stamp of the detection messages.
Logging modle, detection messages are obtained for the acquisition module in the outlet of message passage to be detected Meanwhile, current time is recorded as the termination timestamp of the detection messages.
When i.e. described acquisition module 10 obtains detection messages in the outlet of message passage to be detected, the record Module records current time as the termination timestamp of the detection messages, and finally, the detection messages are just It is to be carried along into the start time point of the message passage to be detected and come out from the message passage to be detected Termination time point detection messages.
In the present embodiment, the acquisition module 10 obtains detection messages in the outlet of message passage to be detected Mode include:A detection messages are obtained in the outlet of each message passage to be detected simultaneously, or simultaneously Multiple detection messages are obtained successively in the outlet of each message passage to be detected;Or it is to be checked at each successively The outlet for observing and predicting literary passage obtains a detection messages, or successively in the outlet of each message passage to be detected Multiple detection messages are obtained successively.
Parsing module 20, for parsing starting of the detection messages in the message passage to be detected Timestamp and termination timestamp;
In the present embodiment, after getting detection messages in the outlet from message passage to be detected, the solution Analysis module 20 enters in protocol stack to be parsed to the detection messages of acquisition, described to be checked in the present embodiment Observe and predict literary passage and can be expressed as CPU (Central Processing Unit, central processing unit) and line up, Channel queue can be referred to as, and the protocol stack can represent CPU protocol stacks, wherein, the CPU associations The message passage of view stack just has 48 message passages, equivalent to there is 48 cpu queues.
In the present embodiment, the acquisition module 10 gets detection report in the message passage to be detected Wen Shi, you can determine the gap marker of message passage to be detected, i.e., which message passage in detection messages In out, then the message passage is message passage to be detected, and obtains the message passage to be detected Gap marker;Or when in the message passage to be detected getting detection messages, analysis detection report The gap marker that text is carried, to determine message passage to be detected.And get detection messages it Afterwards, the detection messages of 20 pairs of acquisitions of parsing module are parsed, to parse the time of detection messages Stamp, when the timestamp is initial time stamp of the detection messages in corresponding message passage and termination Between stab.Specifically passing through DMA ((Direct Memory Access, direct memory access) modes Detection messages extracted from message passage in CPU protocol stacks (also referred to as CPU internal memories) so as to In carrying out analytical Calculation, there are detection messages in the fooled cpu queue caching of bottom layer realization, then pass through DMA Detection messages are copied into CPU region of memorys from message passage and interrupt signal is triggered, in order to parse The initial time stamp and termination timestamp of the detection messages.
Computing module 30, during for based on starting of the detection messages in the message passage to be detected Between stamp and terminate timestamp, calculate the time delay of the detection messages in the message passage to be detected;
It is determined that after the initial time stamp or termination timestamp of detection messages, the computing module 30 is based on Initial time stamp of the detection messages in the message passage to be detected and termination timestamp, you can meter Calculate time delay of the detection messages in the message passage to be detected, that is, by terminate timestamp when Between subtract time point of initial time stamp, you can obtain the time difference, the time difference is the detection messages Time delay in the message passage to be detected.Specifically, from detection after detection messages content is got Message specified location reads RxTimeStamp and TxTimeStamp time stamps.Both pass through delay Time=TxTimeStamp-RxTimeStamp formula can complete time-delay calculation.And message passage is logical Road mark is then directly drawn by the parsing of channelNo fields.Alternatively, it is also possible to pass through bottom DMA machines System carries the gap marker of message passage into CPU internal memories, to be read by software module.In this implementation Example is obtained only with analytic message mode.
Processing module 40, for using the time delay of calculating as the message passage to be detected mean time Prolong.
Detection messages are calculated after the time delay of the message passage to be detected in the computing module 30, institute State processing module 40 using the time delay of calculating as the message passage to be detected average delay, specifically Ground, the detection messages got in the outlet of message passage to be detected be one when, by calculating it is described when Prolong the average delay as the message passage to be detected;And got in the outlet of message passage to be detected Detection messages for it is multiple when, by the message passage to be detected each detection messages time delay carry out phase Adduction is averaged, and using the average value as the message passage to be detected average delay, according to This mode is the average delay that can obtain each message passage to be detected.And message passage to be detected is flat The calculation of equal time delay can also be calculated with different cycles:For example using the cycle as 5 seconds, 15 seconds, 3 Carry out time delay mean value computation within 0 second, calculation formula is as follows:Avg=(T1+T2+Tn)/period, wherein, Tn is the time delay value of n-th of detection messages in a detection cycle, can be calculated according to this calculation The average delay of each message passage to be detected.
To be best understood from this programme, citing application scenarios are as follows:
First, detection messages are constructed, the form of detection messages is:
Dstmac:
Data:0x00d0d0ffffff
Mask:0xffffffffffff
Ethertype:
Data:0x8875
Mask:0xffff
Channel No:
Data:xx
Mask:0xff
After detection messages construction complete, specify Action actions as follows:
Copytocpu
CosqCpuNew
Drop
Wherein, Copytocpu actions are responsible for detection messages to copy to entering for the i.e. message passage of cpu port Mouthful;CosqCpuNew acts the cpu port queue i.e. message entered for specifying detection messages to need and led to The channel number of road queue;Drop actions represent discarding detection messages, and the action is in message Air conduct measurement After the completion of.
The detection means of message passage proposed by the present invention, first obtains inspection in the outlet of message passage to be detected Observe and predict text, then parse initial time stamp of the detection messages in the message passage to be detected and Terminate timestamp, then initial time stamp based on the detection messages in the message passage to be detected and Timestamp is terminated, time delay of the detection messages in the message passage to be detected is calculated, finally will meter Calculate the time delay as the message passage to be detected average delay, rather than detection the network equipment Message passage when, can only to the various functions of the network equipment, test analysis is to investigate failure one by one, most End just can determine that ductility goes wrong when being, the present invention is by analyzing detection messages, to determine report The time delay of literary passage, improves the efficiency to message Air conduct measurement.
Further, in order to improve the detection flexibility of message passage, this hair is proposed based on first embodiment The second embodiment of the detection means of contract quotation text passage, in the present embodiment, reference picture 6, the message passage Detection means also include:
Statistical module 50, if in prefixed time interval, being obtained in the outlet of the message passage to be detected Multiple detection messages are got, then count the number of the detection messages got;
Determining module 60, it is described to be detected in the prefixed time interval for being determined according to the number of statistics The message cumulative amount of message passage.
In the present embodiment, if in prefixed time interval, being obtained in the outlet of the message passage to be detected To the number of multiple detection messages, the then detection messages that the statistics of statistical module 50 is got, Ran Housuo State determining module 60 and the message to be detected in the prefixed time interval can determine that according to the number of statistics The message cumulative amount of passage.Wherein, the prefixed time interval is configured according to the specific time, can be with It is set to 30 seconds, 1 minute, 10 minutes or 30 minutes etc., finally, the message to be detected is led to The message cumulative amount in road as the message passage to be detected testing result.Specifically, calculation is such as Under:Avg=Count/period, wherein, count is message channel transfer to be detected in a measurement period Detection messages cumulative number.
Further, the statistical module 50 can also be according to message passage to be detected described in periodic statistics Detection messages number, i.e., count the detection messages of message passage to be detected every prefixed time interval.
In the present embodiment, not only using testing result of the time delay as message passage, also by cumulative amount As the testing result of message passage, the flexibility of message Air conduct measurement is improved.
Further, in order to improve the detection flexibility of message passage, this hair is proposed based on second embodiment The 3rd embodiment of the detection means of contract quotation text passage, in the present embodiment, reference picture 7, when the acquisition mould When block timing obtains detection messages in the outlet of message passage to be detected, the detection means of the message passage Also include:
First comparing module 70, for the message cumulative amount of the message passage to be detected is pre- with upper one If the message cumulative amount of the message passage to be detected is compared in time interval;
Reseting module 80, for the message cumulative amount in the message passage to be detected with upper one it is default when Between be spaced in the message passage to be detected message cumulative amount it is equal when, to the message passage to be detected Progress empties reset.
In the present embodiment, it is determined that after the cumulative amount of the message passage to be detected, described first compares Module 70 treats the message cumulative amount of the message passage to be detected with described in a upper prefixed time interval The message cumulative amount of detection messages passage is compared, if comparison result is identical, illustrates this preset time In interval detection messages in the passage to be detected transmit successfully, you can expression is described to be checked to observe and predict Literary passage is blocked completely, just causes detection messages to send failure, now, the reseting module 80 The message passage to be detected is carried out emptying reset, solved equivalent to by resetting related bottom module Certainly problem.
Specifically, when the sending method for constructing message is different, the detection of message passage cumulative amount to be detected Mode also includes following two situations:
1) in the case of sending detection messages for periodicity, then regularly read in message passage to be detected and examine The quantity of text is observed and predicted, and first comparing module 70 is by the quantity of this detection messages read and institute The quantity for stating the detection messages of message passage last time reading to be detected is compared, described to be detected to judge Whether message passage is in effective working condition;Illustrate described to be checked if statistical counting has cumulative change Literary channels operation is observed and predicted normal, without carrying out self- recoverage processing, it is notable that in above-mentioned timing In processing, timing cycle is greater than the transmission cycle of detection messages, so just can guarantee that under normal circumstances After obtaining the numerical value of detection messages statistics and being accumulated counts;If statistical counting does not change, illustrate described Message passage to be detected is in failure state, i.e., described message channel block to be detected is then now described 80 pairs of the reseting module message passage to be detected empty resetting to be led to recovering the message to be detected Road.
2) when sending detection messages on demand, if the cumulative meter of front and rear twi-read detection messages Number is unchanged, it is necessary to which further discriminating between current network device is in idle condition or message passage occur Failure fails to detection messages, under detected status on demand, the transmission of detection trigger message, and is sending After the completion of re-read counting messages counting;If global statistics, which are counted, cumulative change, illustrate described treat Detection messages channels operation is normal, without self- recoverage processing;If passing through message under detected status on demand The statistical counting of passage judges generation failure, and the reseting module 80 is same logical to the message to be detected Road carries out emptying reset recovering the message passage to be detected.
In the present embodiment, if it is 1 second that detection messages, which send the cycle, then determined in fault detect self- recoverage In plan processing, if can not receive detection messages or detection messages in 3 seconds, to count cumulative statistics constant, recognizes Failure is produced for the message passage to be detected, the message passage to be detected can be carried out emptying reset, To ensure that the message passage to be detected does not produce prolonged detection messages loss situation;Either pass through Switching message passage simultaneously recovers original message passage using bottom hardware modular manner is resetted.
Further, it is real based on first, second or third in order to improve the detection flexibility of message passage The fourth embodiment that example proposes the detection means of message passage of the present invention is applied, in the present embodiment, reference picture 8, The detection means of the message passage also includes:
Second comparing module 90, for the average delay of the message passage to be detected to be entered with default time delay Row is compared;
Module 100 is improved, is delayed for the average delay in the message passage to be detected higher than when presetting, Improve the priority of the message passage to be detected.
In the present embodiment, the average delay of the message passage to be detected is obtained first;Then described The average delay is compared by two comparing modules 90 with default time delay;If being currently able to meet agreement It is required that, i.e., the average delay of described message passage to be detected is delayed less than or equal to when presetting, explanation The message speed of message channel transfer, reaches and require that, is not in larger delay, now not Process;If the average delay of the message passage to be detected is higher than default time delay, illustrate message The when ductility of passage is larger, it may be possible to which the message transmissions speed of passage is slower, undesirable, then now It is described to improve the priority that module 100 improves the message passage to be detected, to strengthen the message passage Performance, the when ductility of the message passage can be reduced during in order to next transmission protocol message.
Further, more excellent message passage can also be searched according to different policy requirements, specifically, can To be to extract the stage in agreement to specify the message passage for needing to change, to complete the adaptive excellent of message passage Change, during in order to network equipment transmission protocol message where the message passage, first using the network The high message passage of priority is used as protocol massages message passage to be sent in equipment.
Further, it is when presetting using average delay and protocol requirement highest time delay thresholding in the present embodiment Prolong and be compared.If the average delay of current message passage>Protocol requirement time delay highest time delay thresholding, then Higher priority message passage is begun look in current scheduling node, if finding high prior message passage Delay performance<Protocol requirement time delay highest thresholding, the detection messages for further reading current message passage add up The detection messages cumulative amount of preferred message passage is measured and treated, message passage to be selected is estimated in cumulative amount ratio Prediction delay performance.If this prediction delay performance is more than current transmission protocol requirement time delay, successive Higher priority message passage is searched until limit priority message passage.If highest priority packet Passage, which remains unchanged, to be met, then does not do adaptive optimization action.
In the present embodiment, because application scenarios are that the network equipment possesses multiple message passages, and each Message passage carries out self-adapting detecting and the process of processing according to detection messages, and arrives CPU protocol stacks Message passage has 48 cpu queues, therefore, and queue scheduling is scheduled using 4 grades of scheduling modes.
In the present invention, self-adapting detecting and the adaptive decision-making processing of message passage are realized, is improved The redundancy protecting of detection messages treatment efficiency in the network device and detection messages treatment channel, is improved Network robustness and fault-tolerant ability.Particularly under high traffic, complex network scene, efficiently solve Optimization processing of the procotol message in device interior, has ensured the normal operation of network.
It should be noted that herein, term " comprising ", "comprising" or its any other variant Be intended to including for nonexcludability so that process, method, article including a series of key elements or Person's system not only includes those key elements, but also other key elements including being not expressly set out, or also Including for this process, method, article or the intrinsic key element of system.In the feelings of not more limitations Under condition, the key element limited by sentence "including a ...", it is not excluded that the process including the key element, Also there is other identical element in method, article or system.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware, but the former is more preferably embodiment in many cases.Understood based on such, it is of the invention The part that technical scheme substantially contributes to prior art in other words can in the form of software product body Reveal and, the computer software product is stored in storage medium (such as ROM/RAM, magnetic disc, a light Disk) in, including some instructions are to cause a station terminal equipment (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every The equivalent structure or equivalent flow conversion made using description of the invention and accompanying drawing content, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (10)

1. a kind of detection method of message passage, it is characterised in that the detection method bag of the message passage Include following steps:
Detection messages are obtained in the outlet of message passage to be detected;
Parse initial time stamp and termination time of the detection messages in the message passage to be detected Stamp;
Initial time stamp and termination time based on the detection messages in the message passage to be detected Stamp, calculates time delay of the detection messages in the message passage to be detected;
Using the time delay of calculating as the message passage to be detected average delay.
2. the detection method of message passage as claimed in claim 1, it is characterised in that described to be checked Before the step of outlet for observing and predicting literary passage obtains detection messages, the detection method of the message passage includes:
The detection messages are constructed according to default message format;
The detection messages of construction are sent to by the message passage to be detected according to default sending method In, wherein, when the detection messages to be sent to the entrance of the message passage to be detected, record is worked as The preceding moment as the detection messages initial time stamp;
While exporting the step for obtaining detection messages, performed in message passage to be detected performing described Following steps:
Current time is recorded as the termination timestamp of the detection messages.
3. the detection method of message passage as claimed in claim 1, it is characterised in that described to be checked After the step of outlet for observing and predicting literary passage obtains detection messages, the detection method of the message passage is also wrapped Include:
If in prefixed time interval, multiple detection messages are got in the outlet of the message passage to be detected, Then count the number of the detection messages got;
The message for determining the message passage to be detected in the prefixed time interval according to the number of statistics tires out Metering.
4. the detection method of message passage as claimed in claim 3, it is characterised in that when timing is performed It is described message passage to be detected outlet obtain detection messages step when, the number according to statistics After the step of determining the message cumulative amount of the message passage to be detected in the prefixed time interval, institute Stating the detection method of message passage also includes:
By the message cumulative amount of the message passage to be detected with it is described to be checked in a upper prefixed time interval The message cumulative amount for observing and predicting literary passage is compared;
The message passage to be detected message cumulative amount with it is described to be checked in a upper prefixed time interval Observe and predict literary passage message cumulative amount it is equal when, the message passage to be detected is carried out to empty reset.
5. the detection method of the message passage as described in claim any one of 1-4, it is characterised in that institute State using the time delay of calculating as after the step of the average delay of the message passage to be detected, it is described The detection method of message passage also includes:
The average delay of the message passage to be detected is compared with default time delay;
The message passage to be detected average delay higher than it is default when be delayed, improve described to be checked observe and predict The priority of literary passage.
6. a kind of detection means of message passage, it is characterised in that the detection means bag of the message passage Include:
Acquisition module, for obtaining detection messages in the outlet of message passage to be detected;
Parsing module, for parsing during starting of the detection messages in the message passage to be detected Between stamp and terminate timestamp;
Computing module, for the initial time based on the detection messages in the message passage to be detected Stamp and termination timestamp, calculate time delay of the detection messages in the message passage to be detected;
Processing module, for using the time delay of calculating as the message passage to be detected average delay.
7. the detection means of message passage as claimed in claim 6, it is characterised in that the message leads to The detection means in road also includes:
Constructing module, for constructing the detection messages according to default message format;
Delivery module, described in the detection messages of construction are sent to according to default sending method In message passage to be detected, wherein, the detection messages are being sent to the message passage to be detected During entrance, current time is recorded as the initial time stamp of the detection messages;
Logging modle, detection messages are obtained for the acquisition module in the outlet of message passage to be detected Meanwhile, current time is recorded as the termination timestamp of the detection messages.
8. the detection means of message passage as claimed in claim 6, it is characterised in that the message leads to The detection means in road also includes:
Statistical module, if in prefixed time interval, being obtained in the outlet of the message passage to be detected To multiple detection messages, then the number of the detection messages got is counted;
Determining module, for determining described in the prefixed time interval to be checked observe and predict according to the number of statistics The message cumulative amount of literary passage.
9. the detection means of message passage as claimed in claim 8, it is characterised in that obtained when described When module timing obtains detection messages in the outlet of message passage to be detected, the detection dress of the message passage Putting also includes:
First comparing module, for the message cumulative amount of the message passage to be detected to be preset with upper one The message cumulative amount of the message passage to be detected is compared in time interval;
Reseting module, for the message cumulative amount in the message passage to be detected and a upper preset time When the message cumulative amount of the message passage to be detected is equal in interval, the message passage to be detected is entered Row empties reset.
10. the detection means of the message passage as described in claim any one of 6-9, it is characterised in that The detection means of the message passage also includes:
Second comparing module, for the average delay of the message passage to be detected and default time delay to be carried out Compare;
Module is improved, is delayed, carries higher than when presetting for the average delay in the message passage to be detected The priority of the high message passage to be detected.
CN201610173868.0A 2016-03-24 2016-03-24 The detection method and device of message passage Pending CN107231266A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610173868.0A CN107231266A (en) 2016-03-24 2016-03-24 The detection method and device of message passage
PCT/CN2017/074598 WO2017161997A1 (en) 2016-03-24 2017-02-23 Packet channel detection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610173868.0A CN107231266A (en) 2016-03-24 2016-03-24 The detection method and device of message passage

Publications (1)

Publication Number Publication Date
CN107231266A true CN107231266A (en) 2017-10-03

Family

ID=59899205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610173868.0A Pending CN107231266A (en) 2016-03-24 2016-03-24 The detection method and device of message passage

Country Status (2)

Country Link
CN (1) CN107231266A (en)
WO (1) WO2017161997A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995694A (en) * 2019-11-28 2020-04-10 新华三半导体技术有限公司 Network message detection method, device, network security equipment and storage medium
WO2020135429A1 (en) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 Traffic analysis method and apparatus, and traffic detection method and apparatus
CN112787975A (en) * 2019-11-05 2021-05-11 华为技术有限公司 Method, device and system for determining type of access device
CN113644998A (en) * 2021-08-23 2021-11-12 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887173B (en) * 2021-02-19 2023-05-23 山东英信计算机技术有限公司 Storage network detection method, device, equipment and readable storage medium
CN115001896B (en) * 2022-06-28 2024-01-19 中国人民解放军海军工程大学 Self-adaptive switching method for redundant channels
CN115834436B (en) * 2022-11-24 2024-05-03 中国联合网络通信集团有限公司 Network connectivity detection method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705392A (en) * 2004-05-31 2005-12-07 华为技术有限公司 Device and method for measuring time delay of cell RF transmission channel
CN101030925A (en) * 2006-03-03 2007-09-05 中兴通讯股份有限公司 Method for scheduling Internet telephone protocol service
CN101656596A (en) * 2009-09-17 2010-02-24 中兴通讯股份有限公司 Media flow time delay detecting method and device
CN101841461A (en) * 2010-02-11 2010-09-22 北京星网锐捷网络技术有限公司 Method and device for controlling update of token bucket
CN102158371A (en) * 2011-04-12 2011-08-17 杭州华三通信技术有限公司 Link performance detection method and device based on BFD (Bidirectional Forwarding Detection)
WO2014101185A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, apparatus and system for detecting performance of multicast channel

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056217B (en) * 2006-04-14 2011-01-19 华为技术有限公司 A network performance measurement method and system
GB2476116A (en) * 2009-12-14 2011-06-15 Dublin Inst Of Technology Real-time VoIP transmission quality predictor and quality-driven de jitter buffer
CN102546286A (en) * 2011-09-26 2012-07-04 中国人民解放军理工大学 Method for on-line detection of shared network congestion paths
CN104852828B (en) * 2015-04-30 2018-06-15 华为技术有限公司 A kind of network delay detection method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705392A (en) * 2004-05-31 2005-12-07 华为技术有限公司 Device and method for measuring time delay of cell RF transmission channel
CN101030925A (en) * 2006-03-03 2007-09-05 中兴通讯股份有限公司 Method for scheduling Internet telephone protocol service
CN101656596A (en) * 2009-09-17 2010-02-24 中兴通讯股份有限公司 Media flow time delay detecting method and device
CN101841461A (en) * 2010-02-11 2010-09-22 北京星网锐捷网络技术有限公司 Method and device for controlling update of token bucket
CN102158371A (en) * 2011-04-12 2011-08-17 杭州华三通信技术有限公司 Link performance detection method and device based on BFD (Bidirectional Forwarding Detection)
WO2014101185A1 (en) * 2012-12-31 2014-07-03 华为技术有限公司 Method, apparatus and system for detecting performance of multicast channel

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020135429A1 (en) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 Traffic analysis method and apparatus, and traffic detection method and apparatus
CN112787975A (en) * 2019-11-05 2021-05-11 华为技术有限公司 Method, device and system for determining type of access device
CN112787975B (en) * 2019-11-05 2022-06-10 华为技术有限公司 Method, device and system for determining type of access device
CN110995694A (en) * 2019-11-28 2020-04-10 新华三半导体技术有限公司 Network message detection method, device, network security equipment and storage medium
CN110995694B (en) * 2019-11-28 2021-10-12 新华三半导体技术有限公司 Network message detection method, device, network security equipment and storage medium
CN113644998A (en) * 2021-08-23 2021-11-12 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network
CN113644998B (en) * 2021-08-23 2023-06-09 烽火通信科技股份有限公司 IOAM time delay measuring method and device for 5G network

Also Published As

Publication number Publication date
WO2017161997A1 (en) 2017-09-28

Similar Documents

Publication Publication Date Title
CN107231266A (en) The detection method and device of message passage
CN104584483B (en) Method and apparatus for automatically determining the reason for service quality degrades
CN103532940B (en) network security detection method and device
CN105429977B (en) Deep packet inspection device abnormal flow monitoring method based on comentropy measurement
JP4761077B2 (en) Communication quality measuring apparatus, communication quality measuring method, and program thereof
US7881221B2 (en) Hardware implementation of network testing and performance monitoring in a network device
CN109194551B (en) Method, device and system for testing performance of real-time Ethernet equipment
CN102045222B (en) Real-time overall test method of network system
WO2011130957A1 (en) Method and apparatus for online distinguishing transmission control protocol traffic by using data flow head characteristics
JPH04263536A (en) Apparatus and system for monitoring of network
CN103081403A (en) Method and apparatus for analysis of the operation of a communication system using events
CN111585837B (en) Internet of things data link monitoring method and device, computer equipment and storage medium
CN109714266A (en) A kind of data processing method and the network equipment
CN105791008A (en) Method and device for determining packet loss location and reason
CN106713074A (en) Data network quality piecewise detection method and system based on service content
CN109889512A (en) A kind of method for detecting abnormality and device of charging pile CAN message
CN104038382B (en) Network monitoring system
CN105527564A (en) Self-diagnosis method and system for internal functions of FPGA (Field Programmable Gate Array)
CN109831462A (en) A kind of method for detecting virus and device
CN110266726A (en) A kind of method and device identifying DDOS attack data flow
CN106302001A (en) Traffic failure detection method, relevant apparatus and system in data communication network
CN110503297B (en) Service scene acquisition method and device, electronic equipment and medium
CN108234227A (en) Time-delay measuring method, device and the apparatus for network node of apparatus for network node
CN110289992A (en) A kind of message processing method and device
CN108024222B (en) Traffic ticket generating 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200619

Address after: 518057 Zhongxing building, A3-01, A3-02, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Applicant after: Shenzhen ZTE Technical Service Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corp.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171003