CN103974295B - Linkage status detection device and its method of work - Google Patents
Linkage status detection device and its method of work Download PDFInfo
- Publication number
- CN103974295B CN103974295B CN201310036158.XA CN201310036158A CN103974295B CN 103974295 B CN103974295 B CN 103974295B CN 201310036158 A CN201310036158 A CN 201310036158A CN 103974295 B CN103974295 B CN 103974295B
- Authority
- CN
- China
- Prior art keywords
- link
- sampling
- link state
- sampling period
- data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Abstract
The embodiment of the present invention provides a kind of linkage status detection device and its method of work, is related to communication technique field, is invented effectively to be assessed the link communication quality of mobile broadband.Described device includes:Communication module, for being interacted with core network gateway;Processor, it is used for:Detect to start by the communication module transmission link and ask to arrive the core network gateway, the link detecting starts request and carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern includes access network detection pattern or core net detection pattern;Link state parameter from the core network gateway is received by the communication module, the link state parameter is included in data transmission delay and message transmission rate in each sampling period of the link detected under the access network detection pattern or the core net detection pattern;Determine whether Link State is bad according to the link state parameter.The present invention can be used in wireless network detection.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of linkage status detection device and its method of work.
Background technology
In the mobile Internet epoch, the rapid growth of intelligent terminal makes to move flow is doubled every year.However, have with traditional
Gauze network is compared, and the stability of mobile broadband network is relatively poor, and some data services of user may be due to network stabilization
The problem of and can not be smoothed out, have impact on Consumer's Experience to a certain extent.
Accordingly, determine whether the link transmission state of the mobile broadband of mobile terminal application is good using certain means,
So as to take further measures the mobile broadband of link transmission out of order is optimized and improved be lifting Consumer's Experience
Effective way.Relatively lack the effective way of detection Link State at present.
The content of the invention
Embodiments of the invention provide a kind of linkage status detection device and its method of work, for the link to mobile broadband
Communication quality is effectively assessed and invented.
To reach above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
According to the first aspect of the invention, there is provided one kind detection network element, including:
Communication module, for being interacted with core network gateway;
Processor, it is used for:
Detect to start by the communication module transmission link and ask to arrive the core network gateway, the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern includes access network detection pattern or core
Heart net detection pattern;
Link state parameter from the core network gateway, the link state parameter are received by the communication module
The number being included in each sampling period of the link detected under the access network detection pattern or the core net detection pattern
According to propagation delay time and message transmission rate;
Determine whether Link State is bad according to the link state parameter.
In the first possible implementation of first aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
In second of possible implementation of first aspect, the processor is used for according to the link state parameter
Determine whether Link State is bad, specifically includes:
The processor is used for:If data transmission delay in a sampling period is more than regulation time delay and described
Message transmission rate in one sampling period is less than schedule speed, determines that one sampling period is bad for Link State
Sampling period;If ratio of the Link State bad sampling period occupied by sampling period sum is more than regulation ratio
Value, it is determined that detected Link State is bad.
With reference to second of possible implementation of first aspect, in the third possible implementation, the regulation
Ratio is 30% to 80%.
In the 4th kind of possible implementation of first aspect, the processor is additionally operable to:
Detected by the communication module transmission link and stop asking to arrive the core network gateway.
According to the second aspect of the invention, there is provided a kind of core network gateway, including:
Communication module, for being interacted with detection network element;
Processor, it is used for:
Link detecting from the detection network element is received by the communication module and starts request, the link detecting opens
Dynamic request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is core net detection pattern;
Start request according to the link detecting to sample the data transmitted on link;
First computing is carried out to know link state parameter to the data of sampling, the link state parameter is included in described
Data transmission delay and message transmission rate in each sampling period of the link detected under core net detection pattern;
The link state parameter is sent to the detection network element by the communication module.
In the first possible implementation of second aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
With reference to the first possible implementation of second aspect, in second of possible implementation, the processing
Device, which is used to be started according to the link detecting, asks to sample the data transmitted on link, specifically includes:
The processor is used for:
The link of detection is determined according to the customer equipment identification and the carrying mark;In each sampling period
The sampling window in the data transmitted on the link are sampled, each sampling period includes adopting described in one
Sample window.
With reference to second of possible implementation of second aspect, in the third possible implementation, the processing
Device is used to carry out the first computing to the data of sampling to know link state parameter, specifically includes:
The processor is used for:
By the data volume flowed through in the sampling window in each sampling period divided by the sampling window, to obtain
State the message transmission rate in each sampling period;
In sampling window in each sampling period, the time delay phase for all data flows that the link is included
In addition the number of the data flow after divided by the link, to obtain the data transmission delay in each sampling period, its
In, the time delay of the data flow receives from internet a transmission control for the data flow for the core network gateway
Agreement TCP data bag is received from user equipment return to the transmission control protocol TCP number to the core network gateway
According to the time between the response message of bag.
With reference to the first possible implementation of second aspect, in the 4th kind of possible implementation, the processing
Device is used to send the link state parameter to the detection network element by the communication module, specifically includes:
The processor is used for, and sending the Link State according to report cycle timing by the communication module joins
Count to the detection network element.
According to the third aspect of the invention we, there is provided a kind of core network gateway, including:
Communication module, for being interacted with detection network element or access network;
Processor, it is used for:
Link detecting from the detection network element is received by the communication module and starts request, the link detecting opens
Dynamic request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
The link detecting is started into request by the communication module to forward to the access network;
Link state parameter from the access network is received by the communication module, the link state parameter includes
Data transmission delay and message transmission rate in each sampling period of the link detected under the access network detection pattern;
The link state parameter is forwarded to the detection network element by the communication module.
In the first possible implementation of the third aspect, the processor is used for institute by the communication module
State link detecting and start request to access network forwarding, specifically include:
The processor is used for, and the general packet radio service GPRS in downlink data packet is used by the communication module
The link detecting is started request and forwarded to the access network by the extension header of Tunneling Protocol-User face part.
In second of possible implementation of the third aspect, the processor is used to connect by the communication module
The link state parameter from the access network is received, is specifically included:
The processor is used for, and the general packet radio service GPRS in upstream data bag is used by the communication module
The extension header of Tunneling Protocol-User face part receives the link state parameter from the access network.
According to the fourth aspect of the invention, there is provided a kind of access network elements, including:
Communication module, for being interacted with core network gateway;
Processor, it is used for:
Link detecting from the core network gateway is received by the communication module and starts request, the link detecting
Start request and carry start-up parameter, the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
Start request according to the link detecting to sample the data transmitted on link;
Second computing is carried out to know link state parameter to the data of sampling, the link state parameter is included in described
Data transmission delay and message transmission rate in each sampling period of the link detected under access network detection pattern;
The link state parameter is sent to the core network gateway by the communication module.
In the first possible implementation of fourth aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
With reference to the first possible implementation of fourth aspect, in second of possible implementation, the processing
Device, which is used to be started according to the link detecting, asks to sample the data transmitted on link, specifically includes:
The processor is used for:
The link of detection is determined according to the customer equipment identification and the carrying mark;
The data transmitted on the link are sampled in the sampling window in each sampling period, often
The individual sampling period includes a sampling window.
With reference to second of possible implementation of fourth aspect, in the third possible implementation, the processing
Device is used to carry out the second computing to the data of sampling to know link state parameter, specifically includes:
The processor, is used for:
By the data volume flowed through in the sampling window in each sampling period divided by the sampling window, to obtain
State the message transmission rate in each sampling period;
All packets flowed through in sampling window in each sampling period are passed through into the wireless of air protocol stack
After the time of link control rlc layer is added divided by the packet number, to obtain the data in each sampling period
Propagation delay time.
According to the fifth aspect of the invention, there is provided a kind of link state detection method, including:
The transmission link detection of detection network element starts request and arrives core network gateway, and the link detecting startup request, which carries, to be started
Parameter, the start-up parameter include detection pattern, and the detection pattern includes access network detection pattern or core net detection pattern,
The detection network element is the network element being connected with the core network gateway;
The detection network element receives the link state parameter from the core network gateway, and the link state parameter includes
Data in each sampling period of the link detected under the access network detection pattern or the core net detection pattern pass
Defeated time delay and message transmission rate;
The detection network element determines whether Link State is bad according to the link state parameter.
In the first possible implementation of the 5th aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
In second of possible implementation of the 5th aspect, the detection network element is true according to the link state parameter
Determine the whether bad step of Link State to specifically include:
If the data transmission delay in a sampling period was more than regulation time delay and in one sampling period
Message transmission rate be less than schedule speed, determine one sampling period for Link State bad sampling period;
If ratio of the Link State bad sampling period occupied by sampling period sum is more than regulation ratio
Value, it is determined that detected Link State is bad.
With reference to second of possible implementation of the 5th aspect, in the third possible implementation, the regulation
Ratio is 30% to 80%.
In the 4th kind of possible implementation of the 5th aspect, the detection network element is true according to the link state parameter
After determining the whether bad step of Link State, methods described also includes:
The detection network element transmission link detection stops request and arrives the core network gateway.
According to the sixth aspect of the invention, there is provided a kind of link state detection method, including:
Core network gateway receives the link detecting startup request for carrying out Autonomous test network element, and the link detecting starts request and carried
Start-up parameter, the start-up parameter include detection pattern, and the detection pattern is core net detection pattern, and the detection network element is
The network element being connected with the core network gateway;
The core network gateway starts request according to the link detecting and the data transmitted on link is sampled;
The core network gateway carries out the first computing to know link state parameter, the Link State to the data of sampling
Parameter is included in data transmission delay and data in each sampling period of the link detected under the core net detection pattern
Transmission rate;
The core network gateway sends the link state parameter to the detection network element.
In the first possible implementation of the 6th aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
With reference to the first possible implementation of the 6th aspect, in second of possible implementation, the core
Net gateway starts the step of request samples to the data transmitted on link according to the link detecting and specifically included:
The core network gateway determines the link of detection according to the customer equipment identification and the carrying mark;
The core network gateway is in the sampling window in each sampling period to being transmitted on the link
Data are sampled, and each sampling period includes a sampling window.
With reference to second of possible implementation of the 6th aspect, in the third possible implementation, the core
Net gateway carries out the step of the first computing is to know link state parameter to the data of sampling and specifically included:
The core network gateway is by the data volume flowed through in the sampling window in each sampling period divided by described adopts
Sample window, to obtain the message transmission rate in each sampling period;
The core network gateway includes the link all in the sampling window in each sampling period
The number of data flow after the time delay of data flow is added divided by the link, to obtain the number in each sampling period
According to propagation delay time, wherein, the time delay of the data flow comes from internet for what the core network gateway received the data flow
A transmission control protocol TCP packet to the core network gateway receive from user equipment return to the transmission
Time between the response message of control protocol TCP data bag.
With reference to the first possible implementation of the 6th aspect, in the 4th kind of possible implementation, the core
Net gateway sends the link state parameter and specifically included to described the step of detecting network element:
The core network gateway sends the link state parameter to the detection network element according to report cycle timing.
According to the seventh aspect of the invention, there is provided a kind of link state detection method, including:
Core network gateway receives the link detecting startup request for carrying out Autonomous test network element, and the link detecting starts request and carried
Start-up parameter, the start-up parameter include detection pattern, and the detection pattern is access network detection pattern, and the detection network element is
The network element being connected with the core network gateway;
The link detecting is started request and forwarded to the access network by the core network gateway;
The core network gateway receives the link state parameter from the access network, and the link state parameter is included in
Data transmission delay and message transmission rate in each sampling period of the link detected under the access network detection pattern;
The core network gateway forwards the link state parameter to the detection network element.
In the first possible implementation of the 7th aspect, the core network gateway starts the link detecting please
The step of being forwarded to the access network is asked to specifically include:
The core network gateway passes through the general packet radio service GPRS Tunnel Protocol user's face in downlink data packet
The link detecting is started request and forwarded to the access network by the extension header divided.
In second of possible implementation of the 7th aspect, the core network gateway is received from the access network
The step of link state parameter, specifically includes:
The core network gateway passes through the general packet radio service GPRS Tunnel Protocol user's face in upstream data bag
The extension header divided receives the link state parameter from the access network.
According to the eighth aspect of the invention, there is provided a kind of link state detection method, including:
Access network receives the link detecting from core network gateway and starts request, and the link detecting starts request carrying and opened
Dynamic parameter, the start-up parameter include detection pattern, and the detection pattern is access network detection pattern;
The access network starts request according to the link detecting and the data transmitted on link is sampled;
The access network carries out the second computing to know link state parameter, the link state parameter to the data of sampling
The data transmission delay and data transfer being included in each sampling period of the link detected under the access network detection pattern
Speed;
The access network sends the link state parameter to the core network gateway.
In the first possible implementation of eighth aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
With reference to the first possible implementation of eighth aspect, in second of possible implementation, the access
Net starts the step of request samples to the data transmitted on link according to the link detecting and specifically included:
The access network determines the link of detection according to the customer equipment identification and the carrying mark;
Data of the access network in the sampling window in each sampling period to being transmitted on the link
Sampled, each sampling period includes a sampling window.
With reference to second of possible implementation of eighth aspect, in the third possible implementation, the access
Net carries out the step of the second computing is to know link state parameter to the data of sampling and specifically included:
The access network is by the data volume flowed through in the sampling window in each sampling period divided by the sample window
Mouthful, to obtain the message transmission rate in each sampling period;
The access network assists all packets flowed through in the sampling window in each sampling period by eating dishes without rice or wine
Discuss the wireless spread-spectrum technology rlc layer of stack time be added after divided by the packet number, to obtain each sampling week
Data transmission delay in phase.
According to the ninth aspect of the invention, there is provided one kind detection network element, including:
First transmitting element, detect to start for transmission link and ask to arrive core network gateway, the link detecting starts please
Carrying start-up parameter is sought, the start-up parameter includes detection pattern, and the detection pattern includes access network detection pattern or core
Net detection pattern, the detection network element is the network element being connected with the core network gateway;
First receiving unit, for receiving the link state parameter from the core network gateway, the Link State ginseng
Number was included in each sampling period of the link detected under the access network detection pattern or the core net detection pattern
Data transmission delay and message transmission rate;
Determining unit, for determining whether Link State is bad according to the link state parameter.
In the first possible implementation of the 9th aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
In second of possible implementation of the 9th aspect, the determining unit is specifically used for:
If the data transmission delay in a sampling period was more than regulation time delay and in one sampling period
Message transmission rate be less than schedule speed, determine one sampling period for Link State bad sampling period;
If ratio of the Link State bad sampling period occupied by sampling period sum is more than regulation ratio
Value, it is determined that detected Link State is bad.
In the third possible implementation of the 9th aspect, first transmitting element is additionally operable to:
Transmission link detection stops request and arrives the core network gateway.
According to the tenth aspect of the invention, there is provided a kind of core network gateway, including:
Second receiving unit, the link detecting that Autonomous test network element is carried out for receiving start request, and the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is core net detection pattern, the inspection
Survey grid member is the network element being connected with the core network gateway;
First sampling unit, the data transmitted on link are sampled for starting request according to the link detecting;
First computing unit, for carrying out the first computing to the data of sampling to know link state parameter, the link
State parameter be included in data transmission delay in each sampling period of the link detected under the core net detection pattern and
Message transmission rate;
Second transmitting element, for sending the link state parameter to the detection network element.
In the first possible implementation of the tenth aspect, the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
With reference to the first possible implementation of the tenth aspect, in second of possible implementation, described first
Sampling unit is specifically used for:
The link of detection is determined according to the customer equipment identification and the carrying mark;
The data transmitted on the link are sampled in the sampling window in each sampling period, often
The individual sampling period includes a sampling window.
With reference to second of possible implementation of the tenth aspect, in the third possible implementation, described first
Computing unit is specifically used for:
By the data volume flowed through in the sampling window in each sampling period divided by the sampling window, to obtain
State the message transmission rate in each sampling period;
In sampling window in each sampling period, the time delay phase for all data flows that the link is included
In addition the number of the data flow after divided by the link, to obtain the data transmission delay in each sampling period, its
In, the time delay of the data flow receives from internet a transmission control for the data flow for the core network gateway
Agreement TCP data bag is received from user equipment return to the transmission control protocol TCP number to the core network gateway
According to the time between the response message of bag.
With reference to the third possible implementation of the tenth aspect, in the 4th kind of possible implementation, described second
Transmitting element is specifically used for:
The link state parameter is sent to the detection network element according to report cycle timing.
According to the eleventh aspect of the invention, there is provided a kind of core network gateway, including:
3rd receiving unit, the link detecting that Autonomous test network element is carried out for receiving start request, and the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern, the inspection
Survey grid member is the network element being connected with the core network gateway;
Retransmission unit, forwarded for the link detecting to be started into request to the access network;
3rd receiving unit, it is additionally operable to receive the link state parameter from the access network, the Link State
Parameter is included in data transmission delay and data in each sampling period of the link detected under the access network detection pattern
Transmission rate;
The retransmission unit, it is additionally operable to forward the link state parameter to the detection network element.
In the first possible implementation of the tenth one side, the retransmission unit is specifically used for:
Being started the link detecting by the extension header of the GPRS Tunneling Protocol-User plane in downlink data packet please
Ask and forwarded to the access network.
With reference to the first possible implementation of the tenth one side, in second of possible implementation, described
Three receiving units are specifically used for:
Received by the extension header of the GPRS Tunneling Protocol-User plane in upstream data bag from the access network
Link state parameter.
According to the twelfth aspect of the invention, there is provided a kind of access network, including:
4th receiving unit, start request for receiving the link detecting from core network gateway, the link detecting opens
Dynamic request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
Second sampling unit, the data transmitted on link are sampled for starting request according to the link detecting;
Second computing unit, for carrying out the second computing to the data of sampling to know link state parameter, the link
State parameter be included in data transmission delay in each sampling period of the link detected under the access network detection pattern and
Message transmission rate;
4th transmitting element, for sending the link state parameter to the core network gateway.
In the first possible implementation of the 12nd aspect, the start-up parameter also includes:Customer equipment identification,
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is to enter line number in the sampling period
According to the one continuous time of sampling.
With reference to the first possible implementation of the 12nd aspect, in second of possible implementation, described the
Two sampling units are specifically used for:
The link of detection is determined according to the customer equipment identification and the carrying mark;
The data transmitted on the link are sampled in the sampling window in each sampling period, often
The individual sampling period includes a sampling window.
With reference to second of possible implementation of the 12nd aspect, in the third possible implementation, described the
Two computing units are specifically used for:
By the data volume flowed through in the sampling window in each sampling period divided by the sampling window, to obtain
State the message transmission rate in each sampling period;
All packets flowed through in sampling window in each sampling period are passed through into the wireless of air protocol stack
After the time of link control rlc layer is added divided by the packet number, to obtain the data in each sampling period
Propagation delay time.
After adopting the above technical scheme, linkage status detection device and its method of work that the present embodiment provides, Neng Goutong
Cross at core network gateway set detection network element to core network gateway transmission link detect start request so that core network gateway or
Access network is sampled so as to obtain link state parameter to the data transmitted on link, when core network gateway is by the Link State
When parameter is transferred to detection network element, detection network element can determine whether Link State is bad according to the link state parameter, this
Sample, just can effectively be assessed the link communication quality of mobile broadband, and condition is provided for the optimization and improvement of link.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation for the linkage status detection device that embodiments of the invention provide;
Fig. 2 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Fig. 3 is a kind of data sampling schematic diagram for the linkage status detection device that embodiments of the invention provide;
Fig. 4 is a kind of latency measurement schematic diagram for the linkage status detection device that embodiments of the invention provide;
Fig. 5 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Fig. 6 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Fig. 7 is another latency measurement schematic diagram for the linkage status detection device that embodiments of the invention provide;
Fig. 8 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Fig. 9 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Figure 10 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Figure 11 is another structural representation for the linkage status detection device that embodiments of the invention provide;
Figure 12 is a kind of flow chart for the link state detection method that embodiments of the invention provide;
Figure 13 is another flow chart for the link state detection method that embodiments of the invention provide;
Figure 14 is another flow chart for the link state detection method that embodiments of the invention provide;
Figure 15 is another flow chart for the link state detection method that embodiments of the invention provide;
Figure 16 is a kind of particular flow sheet for the link state detection method that embodiments of the invention provide;
Figure 17 is another particular flow sheet for the link state detection method that embodiments of the invention provide.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme of the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only the part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art obtained on the premise of creative work is not made it is all its
Its embodiment, belongs to the scope of protection of the invention.
Embodiments of the invention provide a kind of detection network element 1, as shown in figure 1, including:
Communication module 11, for being interacted with core network gateway;
Processor 12, is used for:
Detect to start by the transmission link of communication module 11 and ask to arrive the core network gateway, the link detecting starts please
Carrying start-up parameter is sought, the start-up parameter includes detection pattern, and the detection pattern includes access network detection pattern or core
Net detection pattern;
Link state parameter from the core network gateway, the link state parameter bag are received by communication module 11
Include the data in each sampling period of the link detected under the access network detection pattern or the core net detection pattern
Propagation delay time and message transmission rate;
Determine whether Link State is bad according to the link state parameter.
After adopting the above technical scheme, the detection network element 1 that the present embodiment provides, can be by core network gateway send chain
Road detection starts request, and receives the link state parameter from core network gateway, true further according to the link state parameter
Whether bad determine Link State, so, just the link communication quality of mobile broadband can effectively be assessed, be the optimization of link
Condition is provided with improvement.
Optionally, the link detecting that processor 12 is sent by communication module 11 starts in request, the inspection in start-up parameter
Survey pattern can be that access network detection pattern can also be core net detection pattern.When the detection pattern is access network detection pattern
When, detection network element indicates that core network gateway continues to start link detecting by this start-up parameter asks to forward to access network,
To be detected in access net side to Link State;When the detection pattern is core net detection pattern, detection network element passes through
This start-up parameter instruction core network gateway detects Link State at the core network gateway.
It should be noted that in the present embodiment, detection network element 1 is connected with core network gateway but independently of core network gateway
A single device, but the invention is not restricted to this, in other embodiments of the invention, detection network element 1 can also conduct
One module is integrated among core network gateway device, or is presented in other manners, as long as its corresponding work(can be completed
Energy.
Specifically, detection network element 1 receives the link state parameter from the core network gateway, wherein, the Link State
Parameter can include the data of diversified forms and different characteristic, as long as the data that the data can be characterized in detected link pass
Defeated effect.For example, in one embodiment of the invention, the link state parameter can include detected link
Data transmission delay and message transmission rate in each sampling period.
So, detecting the processor 12 of network element 1 can pass according to the data transmission delay in each sampling period and data
Defeated speed determines whether Link State is bad, and processor 12 is specifically used for:If the data transfer in a sampling period
Time delay is more than regulation time delay and the message transmission rate in one sampling period is less than schedule speed, it is determined that this sampling
Cycle is the Link State bad sampling period;If the Link State bad sampling period is occupied in sampling period sum
Ratio be more than regulation ratio, it is determined that detected Link State is bad.Optionally, this regulation ratio can be according to chain
The difference of line state is required and adjusted, for example, can be 30% to 80%.In one embodiment of the invention, to link shape
State requires higher, and it is 30% to determine this regulation ratio, that is to say, that when the Link State bad sampling period is in the sampling period
When occupied ratio is more than regulation ratio 30% in sum, you can determine that Link State is bad.And in another embodiment,
Relatively low is required to Link State, then can determine that this regulation ratio for example can be 60%.
In above-described embodiment, start-up parameter includes detection pattern, but embodiments of the invention not limited to this.The present invention's
In other embodiment, start-up parameter can also include other, for example, it is also possible to including customer equipment identification, carrying mark, sampling
One or more of cycle, sampling window and report cycle.Wherein described sampling window is to be carried out in the sampling period
The one continuous time of data sampling.When start-up parameter includes customer equipment identification and carrying mark, processor 12 can be with
The particular location of the link detected according to customer equipment identification and carrying mark to indicate core network gateway to need.So, favorably
In the specific situation for more accurately determining each of the links.When start-up parameter includes sampling period, sampling window and report cycle
When, detection network element can indicate core network gateway how long to the data sampling that is transmitted on link once (sampling period), often
Sampling time (sampling window) in the individual sampling period, how long to detection reported by network elements once (report cycle).So as to right
The data transmission state of link is timed measurement and timing reports, in order to stabilize the data transmission state of link is known on ground.
After the sampling by several sampling periods, processor 12 can be according to the link in these sampling periods
State parameter determines whether Link State is bad, and further, processor 12 is additionally operable to examine by the transmission link of communication module 11
Survey and stop asking to arrive the core network gateway, so that Link State detection stops.
It should be noted that in mobile broadband network, each user equipment can establish one or more and hold in the communications
Carry.Because each carrying is different to the quality requirement of mobile broadband network, therefore embodiments of the invention are only analyzed and are based on holding
Carry the network quality situation of granularity.As for which specific carrying and clearly carrying and the corresponding relation of business needed to measure,
This is not within the scope of the discussion of this case.
Accordingly, embodiments of the invention also provide a kind of core network gateway 2, including:
Communication module 21, for being interacted with detection network element;
Processor 22, is used for:
Link detecting from the detection network element is received by communication module 21 and starts request, the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is core net detection pattern;
Start request according to the link detecting to sample the data transmitted on link;
First computing is carried out to know link state parameter to the data of sampling, the link state parameter is included in described
Data transmission delay and message transmission rate in each sampling period of the link detected under core net detection pattern;
The link state parameter is sent to the detection network element by communication module 21.
After adopting the above technical scheme, the core network gateway 2 that the present embodiment provides, can receive the chain for carrying out Autonomous test network element
Road detection starts request, and start request according to the link detecting is sampled and to the number of sampling to the data transmitted on link
According to the first computing is carried out so as to obtain link state parameter, the link state parameter is then sent to detection network element again, so that
Detection network element determines whether Link State is bad, is link so as to effectively be assessed the link communication quality of mobile broadband
Optimization and improvement provide condition.
Wherein, core network gateway 2 can be PGW (Packet data network Gateway, packet data gateway) or
Person GGSN (Gateway GPRS Support Node, gateway GPRS supporting node), or other kinds of core net
Gateway, embodiments of the invention are not restricted to this.
Optionally, after core network gateway 2 receives link detecting by communication module 21 starts request, can first pass through
Communication module 21 sends the response message of a link detecting startup request to detection network element, then reprocesses the link detecting and opens
Dynamic request.By starting the parsing of request to the link detecting, the processor 22 of core network gateway 2 would know that in start-up parameter
Detection pattern is core net detection pattern, also just knows that Link State Detection task will be performed by core network gateway 2 itself.
In the other embodiment of the present invention, start-up parameter can also include other, such as customer equipment identification, carrying mark, sampling week
Phase, sampling window and report cycle etc., when sampling window is that one section of progress data sampling in the sampling period is continuous
Between.Wherein, when start-up parameter includes customer equipment identification and carrying mark, processor 22 can according to customer equipment identification and
Carrying identifies the particular location of the link to determine to need to detect, so as to be advantageous to more accurately determine the specific shape of each of the links
Condition.When start-up parameter includes sampling period, sampling window, processor 22 can be in the sampling window in each sampling period
The data transmitted on link are sampled, wherein, each sampling period includes a sampling window.As shown in figure 3, sampling week
Phase T_sample interludes between double sampling, sampling window T_window are in each sampling period T_sample
The a period of time sampled to link transmission data.
Specifically, the processor 22 of core network gateway 2 carries out the first computing to know that Link State is joined to the data of sampling
Number, the link state parameter can include the data of diversified forms and different characteristic, if the data can characterize it is detected
Data transfer effect in link.For example, in one embodiment of the invention, the link state parameter includes tested
Data transmission delay and message transmission rate in each sampling period of the link of survey.
It should be noted that for the data transmission delay of the side of core network gateway 2, the link of a mobile broadband
Carrying can include one or more data flows, for example, in one embodiment of the invention, a link carrying includes five numbers
According to stream, i.e. 5 tuples (source IP (Internet Protocol, internetworking agreement) and purpose IP, source port and destination interface, association
View number).
Under normal circumstances, when user carries out data service, the data transfer on link is to continue to carry out, and is located
Reason device 22 samples to the data transmitted on link according to the cycle, and it is sample window that each sampling period, which only carries out the time,
The sampling of mouth.For a sampling period, the data transmission delay in the sampling period is in this sampling period
In sampling window, the average value of the time delay of all data flows of link carrying.
The data transmission delay in a variety of method estimating sampling cycles can be used, it is of the invention without limitation.But it is
The timer expense of data transfer time delay is reduced, in one embodiment of the invention, TCP data bag can be utilized
Data transmission delay in transmission characteristic estimation outgoing link.Specifically, can be in the sampling window in each sampling period
It is interior, the data after the time delay addition for all data flows that core network gateway includes measured link divided by the link
The number of stream, to obtain respective data transmission delay in each sampling period, wherein, the time delay of data flow is the core net
From internet the TCP data bag that gateway receives the data flow is received from user to the core network gateway
Time between the response message to the TCP data bag that equipment returns.That is, during the data transfer that core network gateway side measures
Prolong the data transmission delay to the link between core network gateway PGW/GGSN for user equipment.
For example, as shown in figure 4, in one embodiment of the invention, in sampling window T_Window, a data
Stream, such as source IP, when receiving a descending TCP data bag for the first time, record the sequence number m of the TCP data bag and reach core
T1 at the time of net gateway PGW/GGSN, then TCP response messages to the packet to be received from user equipment such as again.
If core network gateway receives the response message of the TCP data bag at the t2 moment, corresponding to the response message of the TCP packets
Serial No. n.If n is more than m, then it is assumed that the descending TCP data bag is properly received by user equipment, the packet
Descending RTT (Round-Trip Time, round-trip delay) be t2-t1.
If for example, a link carried k TCP data stream, during data transfer in a sampling period
Prolong tdeFor tde=∑ (t2i-t1i)/k, i=1,2 ... k.Because each sampling period is only once sampled, each adopt
The current sampling in sample cycle is also referred to as sampled point.
During sampling window, if not having data transfer on detected link, core network gateway is also without number
According to the sampling of transmission.That is, the data transfer sampling that core network gateway is carried out is by data-triggered, so as to make core
Heart net gateway avoids the sampling and processing to invalid data, improves the data sampling efficiency of core network gateway.At the same time, it is
Repeated sampling is avoided, during a sampling window, each data flow at most can be sampled only once.
It should be noted that in Transmission Control Protocol, TCP response messages can both be set as a single message by user
It is standby to be sent to core network gateway, it is also possible to it is merged together to core network gateway and transmits with up True Data, both biographies
Defeated mode is all that the effective means of core network gateway will be transferred to the response message of TCP data bag, and it is delivered to core net net
The time of pass can serve as calculating the foundation of data transmission delay.
And for message transmission rate, core network gateway will can flow through in the sampling window in each sampling period
Data volume divided by sampling window, to obtain the message transmission rate in each sampling period.Wherein, the sampling in the sampling period
The data volume flowed through in window, it can be dispersed in multiple packets (such as TCP data bag) of multiple data flows, one of number
According to a packet of stream, the TCP data bag that can be recorded by foregoing data transfer time delay.For example, in the present invention
One embodiment in, the sampling period is the T_Sample seconds, and sampling window is the T_Window seconds, in first sampling period (
One sampled point) sampling window in, sample S packet altogether, the message transmission rate in sampling window is:V=∑s Xi*8/
T_Window bits, wherein, Xi be the 1st to the S packet size, i=1,2...... S.It is pointed out that this is adopted
Message transmission rate in sample window represents the message transmission rate in the sampling period where the sampling window.
, can after the processor 22 of core network gateway 2 carries out the first computing to know link state parameter to the data of sampling
To send the link state parameter to detection network element according to report cycle T_Report timings by communication module 21.Wherein, on
Report cycle T _ Report may be embodied in start-up parameter.Report cycle be core network gateway 2 to detection reported by network elements link shape
The cycle of state parameter.Generally, report cycle T_Report is more than sampling period T_Sample, reports the number of detection network element every time
According to the link state parameter that can be a sampling period or several sampling periods.
Accordingly, as shown in figure 5, embodiments of the invention also provide a kind of core network gateway 3, including:
Communication module 31, for being interacted with detection network element or access network;
Processor 32, is used for:
Link detecting from the detection network element is received by communication module 31 and starts request, the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
The link detecting is started into request by communication module 31 to forward to the access network;
Link state parameter from the access network is received by communication module 31, the link state parameter is included in
Data transmission delay and message transmission rate in each sampling period of the link detected under the access network detection pattern;
The link state parameter is forwarded to the detection network element by communication module 31.
After adopting the above technical scheme, the core network gateway 3 that the present embodiment provides, can receive the chain for carrying out Autonomous test network element
Road detection starts request, and link detecting startup request is transmitted into access network so that access network opens according to the link detecting
Dynamic request obtains the link state parameter for being detected link, while also receives the link state parameter from access network, and by institute
Link state parameter is stated to the detection network element forwarding, so that detection network element determines whether Link State is bad, so as to movement
The link communication quality in broadband is effectively assessed, and condition is provided for the optimization and improvement of link.
Optionally, can be first to detection network element after the processor 32 of core network gateway 3 receives link detecting startup request
The response message that a link detecting starts request is sent, the link detecting is then reprocessed and starts request.By to the link
Detection starts the parsing of request, and core network gateway would know that the detection pattern in start-up parameter is access network detection pattern, also
Know that Link State Detection task will be performed by access gateway.In other embodiments of the invention, start-up parameter can also wrap
Other are included, such as customer equipment identification, carrying mark, sampling period, sampling window and report cycle etc..
Optionally, the processor 32 of core network gateway 3 can pass through the GTP- in downlink data packet using communication module 31
U (GPRS Tunneling Protocol-User plane, GPRS Tunneling Protocol-User plane) extension header is by the chain
Road detection starts request and forwarded to access network.Same optional, the processor 32 of core network gateway 3 can utilize communication module 31
Link state parameter from access network is received by the extension header of the GPRS Tunneling Protocol-User plane in upstream data bag.
Certainly, core network gateway can also be detected by other message or data structure to access network conversion link starts request, or
Person receives the link state parameter from access network, and the present invention is without limitation.
Accordingly, as shown in fig. 6, embodiments of the invention also provide a kind of access network elements 4, including:
Communication module 41, for being interacted with core network gateway;
Processor 42, is used for:
Link detecting from the core network gateway is received by communication module 41 and starts request, the link detecting opens
Dynamic request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
Start request according to the link detecting to sample the data transmitted on link;
Second computing is carried out to know link state parameter to the data of sampling, the link state parameter is included in described
Data transmission delay and message transmission rate in each sampling period of the link detected under access network detection pattern;
The link state parameter is sent to the core network gateway by communication module 41.
After adopting the above technical scheme, the access network elements 4 that the present embodiment provides can be received from core network gateway
Link detecting starts request, and start request according to the link detecting is sampled and to sampling to the data transmitted on link
Data carry out the second computing so as to obtain link state parameter, and the link state parameter then is sent into core network gateway again,
So that the link state parameter is sent to detection network element by core network gateway, so that not whether detection network element determine Link State
It is good, the link communication quality of mobile broadband is effectively assessed, the optimization and improvement for link provide condition.
Optionally, can be first to core net after the processor 42 of access network elements 4, which receives link detecting, starts request
Gateway sends the response message that a link detecting starts request, then reprocesses the link detecting and starts request.Specifically, connect
The processor 42 of network element 4 can utilize communication module 41, be used by the GPRS Tunnel Protocol in the downlink data packet of reception
The extension header of family face part receives the link detecting and starts request, is started by the link detecting in request in start-up parameter
Detection pattern knows that Link State detection will be performed by access network.
Certainly, optionally, start-up parameter can also include other, such as customer equipment identification, carrying mark, sampling week
Phase, sampling window and report cycle etc., the sampling window are one section of progress data sampling in the sampling period continuous
Time.Wherein, when start-up parameter includes customer equipment identification and carrying mark, the processors 42 of access network elements 4 can be with
The particular location of the link to determine to need to detect is identified according to customer equipment identification and carrying, it is more accurately true so as to be advantageous to
Determine the specific situation of each of the links.When start-up parameter includes sampling period, sampling window, the processor 42 of access network elements 4
The data transmitted on link can be sampled in the sampling window in each sampling period, wherein, each sampling period
Including a sampling window.As shown in figure 3, sampling period T_sample interludes between double sampling, sampling window
T_window is a period of time sampled in each sampling period T_sample to link transmission data.
Specifically, the processor 42 of access network elements 4 carries out the second computing to know that Link State is joined to the data of sampling
Number, the link state parameter can include the data of diversified forms and different characteristic, if the data can characterize it is detected
Data transfer effect in link.For example, in one embodiment of the invention, the link state parameter includes tested
Data transmission delay and message transmission rate in each sampling period of the link of survey.
Now, processor 42 can be specifically used for:
The data volume divided by sampling window that will be flowed through in sampling window in each sampling period, described each adopted with obtaining
Message transmission rate in the sample cycle;
RLC (the radio that all packets flowed through in sampling window in each sampling period are passed through into air protocol stack
Link control, wireless spread-spectrum technology) layer time be added after divided by the number of packet that flows through, it is each described to obtain
Data transmission delay in sampling period.
It should be noted that in the present embodiment, detection pattern is access network detection pattern, and accordingly, access network elements 4 are examined
The data transmission delay measured is the time delay of the data transfer between access network to user equipment, that is, data are by eating dishes without rice or wine
Time delay.
Fig. 7 show UMTS (Universal Mobile Telecommunication System, universal mobile communications
System)/LTE (Long Term Evolution, Long Term Evolution) mobile broadband network in RAN (Radio Access
Network, wireless access network) side user face protocol stack of eating dishes without rice or wine structural representation.As shown in fig. 7, under user equipment receives
Row packet is APP (Application, using)-> PDCP (Packet Data by protocol stack order in eating dishes without rice or wine
Convergence Protocol, PDCP)-> RLC- > MAC (Media Access Control, media
Access control)-> L1 (layer 1).During packet is by eating dishes without rice or wine, packet has certain time delay by each layer.
Embodiments of the invention mainly calculate data transmission delay by detecting the data transfer of rlc layer.When the network is congested, MAC
Layer scheduling is slow, and packet will be cached in RLC, and packet will be extended by the time of rlc layer, so, by measuring number
According to bag by the estimation of the time delay can of rlc protocol stack eat dishes without rice or wine whether congestion.In the present embodiment, if size is X packet
Transmitted successfully in rlc layer, then time delay of this packet in RLC is Δ t=tc-tb。
It should be noted that in above-described embodiment, although Uplink State detection can be entered in core network gateway side
Link State detection can be carried out in access net side, but both link ranges for detecting reflected Link State are different
's.What Uplink State detection reflection was entered in core network gateway side is user equipment to the link between core network gateway PGW/GGSN
State, link range is larger;And access net side detection for Link State between access network to user equipment, that is,
Data are smaller by the state eated dishes without rice or wine, link range.The scope for the link that can be determined as needed exists to select specific needs
Any detected side.
Accordingly, as shown in figure 8, embodiments of the invention also provide a kind of detection network element 10, including:
First transmitting element 101, detect to start for transmission link and ask to arrive core network gateway, the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern includes access network detection pattern or core
Heart net detection pattern, the detection network element is the network element being connected with the core network gateway;
First receiving unit 102, for receiving the link state parameter from the core network gateway, the Link State
Parameter was included in each sampling period of the link detected under the access network detection pattern or the core net detection pattern
Data transmission delay and message transmission rate;
Determining unit 103, for determining whether Link State is bad according to the link state parameter.
After adopting the above technical scheme, the detection network element 10 that the present embodiment provides, its first transmitting element 101 can be to core
The detection of heart net gateway transmission link starts request, and its first receiving unit 102 receives the Link State ginseng from core network gateway
Number, determining unit 103 determine whether Link State is bad further according to the link state parameter, so, just can be to mobile broadband
Link communication quality effectively assessed, provide condition for the optimization and improvement of link.
It should be noted that, although in the present embodiment, detection network element 10 is connected with core network element but independently of core
One single device of net gateway, but the invention is not restricted to this, in other embodiments of the invention, detection network element 10 also may be used
Among being integrated in core network gateway device as a module, or present in other manners, as long as its phase can be completed
The function of answering.
Optionally, the start-up parameter may also include customer equipment identification, carrying mark, the sampling period, sampling window with
And the one or more in report cycle, wherein the sampling window is one section of company that data sampling is carried out in the sampling period
The continuous time.
Specifically, detection network element 10 receives the link state parameter from the core network gateway, wherein, the Link State
Parameter can include the data of diversified forms and different characteristic, as long as the data that the data can be characterized in detected link pass
Defeated effect.
Now, determining unit 103 can be specifically used for:If the data transmission delay in a sampling period is more than
Provide time delay and the message transmission rate in one sampling period is less than schedule speed, determine that one sampling period is
The Link State bad sampling period;If the Link State bad sampling period is occupied in sampling period sum
Ratio is more than regulation ratio, it is determined that detected Link State is bad.
After the sampling by several sampling periods, determining unit 103 can be according in these sampling periods
Link state parameter determines whether Link State is bad, and further, the first transmitting element 101 is additionally operable to:Transmission link detects
Stop request and arrive the core network gateway.
Accordingly, as shown in figure 9, embodiments of the invention also provide a kind of core network gateway 20, including:
Second receiving unit 201, the link detecting that Autonomous test network element is carried out for receiving start request, and the link detecting opens
Dynamic request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is core net detection pattern, described
Detection network element is the network element being connected with the core network gateway;
First sampling unit 202, the data transmitted on link are adopted for starting request according to the link detecting
Sample;
First computing unit 203, for carrying out the first computing to the data of sampling to know link state parameter, the chain
Line state parameter is included in the data transmission delay in each sampling period of the link detected under the core net detection pattern
And message transmission rate;
Second transmitting element 204, for sending the link state parameter to the detection network element.
After adopting the above technical scheme, the core network gateway 20 that the present embodiment provides, its second receiving unit 201 can connect
The link detecting startup request for carrying out Autonomous test network element is received, the first sampling unit 202 can start according to the link detecting asks
The data transmitted on link are sampled, the first computing unit 203 carries out the first computing so as to obtain chain to the data of sampling
Line state parameter, then the link state parameter is sent to detection network element by the second transmitting element 204, so that detection network element determines
Whether Link State is bad, is the optimization and improvement of link so as to effectively be assessed the link communication quality of mobile broadband
Provide condition.
Wherein, core network gateway 20 can be PGW or GGSN, or other kinds of core network gateway, this hair
Bright embodiment is not restricted to this.
Optionally, after the second receiving unit 201, which receives link detecting, starts request, the second transmission list can be first passed through
First 204 send the response message of a link detecting startup request to detection network element, and then reprocessing link detecting startup please
Ask.It specifically, the second receiving unit 201 parses by starting request to the link detecting, can obtain core network gateway 20
Know that the detection pattern in start-up parameter is core net detection pattern, also just know that Link State Detection task will be by core network gateway
20 itself perform.
Certainly, in other embodiments of the invention, the start-up parameter may also include customer equipment identification, carrying mark
At least one of knowledge, sampling period, sampling window and report cycle.Wherein described sampling window is in the sampling period
Carry out the one continuous time of data sampling.Wherein, when start-up parameter includes customer equipment identification and carrying mark, first
Sampling unit 202 can identify the particular location of the link to determine to need to detect according to customer equipment identification and carrying, so as to
Be advantageous to more accurately determine the specific situation of each of the links.When start-up parameter includes sampling period, sampling window, first adopts
Sample unit 202 can sample in the sampling window in each sampling period to the data transmitted on link, wherein, each
Sampling period includes a sampling window.
Specifically, the first computing unit 203 carries out the first computing to know link state parameter to the data of sampling, the chain
Line state parameter can include the data of diversified forms and different characteristic, as long as the data can be characterized in detected link
Data transfer effect.For example, in one embodiment of the invention, specifically, the first computing unit 203 can be used for:Will
The data volume flowed through in sampling window in each sampling period divided by the sampling window, to obtain each sampling
Message transmission rate in cycle;In sampling window in each sampling period, the link is included all
The number of data flow after the time delay of data flow is added divided by the link, to obtain the number in each sampling period
According to propagation delay time, wherein, the time delay of the data flow comes from internet for what the core network gateway received the data flow
A transmission control protocol TCP packet to the core network gateway receive from user equipment return to the transmission
Time between the response message of control protocol TCP data bag.
It should be noted that in Transmission Control Protocol, TCP response messages can both be set as a single message by user
It is standby to be sent to core network gateway, it is also possible to it is merged together to core network gateway and transmits with up True Data, both biographies
Defeated mode is all that the effective means of core network gateway will be transferred to the response message of TCP data bag, and it is delivered to core net net
The time of pass can serve as calculating the foundation of data transmission delay.
It should also be noted that, under normal circumstances, when user carries out data service, the data transfer on link is
Persistently carry out, and the first sampling unit 202 samples to the data transmitted on link according to the cycle, and each sampling
Cycle only carries out the sampling that the time is sampling window.For a sampling period, during data transfer in the sampling period
Prolong as in the sampling window in this sampling period, the average value of the time delay of all data flows of link carrying.
Specifically, the second transmitting element 204 can be used for sending the link state parameter according to report cycle timing
To the detection network element.Wherein, report cycle may be embodied in start-up parameter.Report cycle is core network gateway 20 to detection
The cycle of reported by network elements link state parameter.Generally, report cycle is more than the sampling period, reports the data of detection network element every time
It can be the link state parameter in a sampling period or several sampling periods.
Accordingly, as shown in Figure 10, embodiments of the invention also provide a kind of core network gateway 30, including:
3rd receiving unit 301, the link detecting that Autonomous test network element is carried out for receiving start request, and the link detecting opens
Dynamic request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern, described
Detection network element is the network element being connected with the core network gateway;
Retransmission unit 302, forwarded for the link detecting to be started into request to the access network;
3rd receiving unit 301, it is additionally operable to receive the link state parameter from the access network, the Link State ginseng
Number is included in data transmission delay and data biography in each sampling period of the link detected under the access network detection pattern
Defeated speed;
Retransmission unit 302, it is additionally operable to forward the link state parameter to the detection network element.
After adopting the above technical scheme, the core network gateway 30 that the present embodiment provides, on the one hand, its 3rd receiving unit
301 can receive the link detecting startup request for carrying out Autonomous test network element, and retransmission unit 302, which can start the link detecting, asks
Access network is transmitted to so that access network starts the link state parameter of the detected link of request acquisition according to the link detecting, separately
On the one hand, the 3rd receiving unit 301 also receives the link state parameter from access network, and retransmission unit 302 is additionally operable to will be described
Link state parameter is to the detection network element forwarding, so that detection network element determines whether Link State is bad, so as to mobile wide
The link communication quality of band is effectively assessed, and condition is provided for the optimization and improvement of link.
Optionally, after core network gateway 30 receives link detecting startup request, one first can be sent to detection network element
Link detecting starts the response message of request, then reprocesses the link detecting and starts request.By starting to the link detecting
The parsing of request, core network gateway would know that the detection pattern in start-up parameter is access network detection pattern, also just know link
State-detection task will be performed by access gateway.
Optionally, the retransmission unit 302 can be specifically used for passing through the GPRS Tunneling Protocol-Users face in downlink data packet
The link detecting is started request and forwarded to the access network by partial extension header.Or the retransmission unit 302 can also have
Body is used to link detecting is started into request to access network forwarding by a special instruction or message.The implementation of the present invention
Example is without limitation.
Optionally, the 3rd receiving unit 301 is specifically used for:Used by the GPRS Tunnel Protocol in upstream data bag
The extension header of family face part receives the link state parameter from the access network.
Accordingly, as shown in figure 11, embodiments of the invention also provide a kind of access network elements 40, including:
4th receiving unit 401, start request, the link detecting for receiving the link detecting from core network gateway
Start request and carry start-up parameter, the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
Second sampling unit 402, the data transmitted on link are adopted for starting request according to the link detecting
Sample;
Second computing unit 403, for carrying out the second computing to the data of sampling to know link state parameter, the chain
Line state parameter is included in the data transmission delay in each sampling period of the link detected under the access network detection pattern
And message transmission rate;
4th transmitting element 404, for sending the link state parameter to the core network gateway.
After adopting the above technical scheme, the access network elements 40 that the present embodiment provides, its 4th receiving unit 401 can connect
Receive the link detecting from core network gateway and start request, the second sampling unit 402 can start according to the link detecting please
Ask and the data transmitted on link sampled, the second computing unit 403 data of sampling can be carried out the second computing so as to
Link state parameter is obtained, the link state parameter is sent to core network gateway by the 4th transmitting element 404 again, so that core net
The link state parameter is sent to detection network element by gateway, so that detection network element determines whether Link State is bad, to movement
The link communication quality in broadband is effectively assessed, and the optimization and improvement for link provide condition.
Optionally, the start-up parameter also includes:Customer equipment identification, carrying mark, the sampling period, sampling window and
One or more in report cycle.Wherein described sampling window is one section of progress data sampling in the sampling period continuous
Time.
Wherein, when start-up parameter includes customer equipment identification and carrying mark, second sampling unit 402 can root
The particular location of the link to determine to need to detect is identified according to customer equipment identification and carrying, so as to be advantageous to more accurately determine
The specific situation of each of the links.When start-up parameter includes sampling period, sampling window, the second sampling unit 402 can be each
The data transmitted on link are sampled in sampling window in the individual sampling period, wherein, each sampling period includes one
Sampling window.
Specifically, the second sampling unit 402 carries out the second computing to know link state parameter to the data of sampling, the chain
Line state parameter can include the data of diversified forms and different characteristic, as long as the data can be characterized in detected link
Data transfer effect.For example, in one embodiment of the invention, the link state parameter includes detected link
Each sampling period in data transmission delay and message transmission rate.
In this case, the second computing unit 403 can be specifically used for:By in the sampling window in each sampling period
The data volume flowed through divided by the sampling window, to obtain the message transmission rate in each sampling period;Will be every
The wireless spread-spectrum technology rlc layer that all packets flowed through in sampling window in the individual sampling period pass through air protocol stack
Time be added after divided by the packet number, to obtain the data transmission delay in each sampling period.
It should be noted that in the present embodiment, detection pattern is access network detection pattern, accordingly, access network elements 40
The data transmission delay detected is the time delay of data transfer between access network to user equipment, that is, data pass through sky
The time delay of mouth.
Accordingly, embodiments of the invention provide a kind of link state detection method, as shown in figure 12, including:
S11, the transmission link detection of detection network element start request and arrive core network gateway, and the link detecting starts request and carried
Start-up parameter, the start-up parameter include detection pattern, and the detection pattern includes access network detection pattern or core net detects
Pattern, the detection network element is the network element being connected with the core network gateway;
S12, the detection network element receive the link state parameter from the core network gateway;
S13, the detection network element determine whether Link State is bad according to the link state parameter.
After adopting the above technical scheme, the link state detection method that the present embodiment provides, can pass through core network gateway
The detection network element for locating to set detects to core network gateway transmission link starts request, and receives the link from core network gateway
State parameter, determine whether Link State is bad further according to the link state parameter, so, just can be to the link of mobile broadband
Communication quality is effectively assessed, and condition is provided for the optimization and improvement of link.
Optionally, in step S11, the detection pattern in start-up parameter can be that access network detection pattern can also be core
Net detection pattern.When the detection pattern is access network detection pattern, detection network element indicates core net by this start-up parameter
Gateway continues link detecting starting request to access network forwarding, to be detected in access net side to Link State;When this
When detection pattern is core net detection pattern, detection network element indicates core network gateway in the core net net by this start-up parameter
Link State is detected at pass.
It should be noted that, although in the present embodiment, detection network element is independently of a single dress of core network gateway
Put, but the invention is not restricted to this, in other embodiments of the invention, detection network element can also be integrated in core as a module
Among heart net gateway apparatus, or present in other manners, as long as its corresponding function can be completed.
Specifically, in step s 12, detection network element receives the link state parameter from the core network gateway, wherein,
The link state parameter can include the data of diversified forms and different characteristic, as long as the data can characterize detected link
In data transfer effect.For example, in one embodiment of the invention, the link state parameter can include tested
Data transmission delay and message transmission rate in each sampling period of the link of survey.
Then, in step s 13, detecting network element can pass according to the data transmission delay in each sampling period and data
Defeated speed determines whether Link State is bad:If data transmission delay in a sampling period be more than regulation time delay and
Message transmission rate in one sampling period is less than schedule speed, it is determined that this sampling period is that Link State is bad
Sampling period;If ratio of the Link State bad sampling period occupied by sampling period sum is more than regulation ratio
Value, it is determined that detected Link State is bad.Optionally, this regulation ratio can require according to the difference to Link State
And adjust, for example, can be 30% to 80%.In one embodiment of the invention, higher is required to Link State, determines this
One regulation ratio is 30%, that is to say, that when the ratio that the Link State bad sampling period is occupied in sampling period sum
When example is more than regulation ratio 30%, you can determine that Link State is bad.And in another embodiment, to Link State requirement compared with
Low, then can determine that this regulation ratio for example can be 60%.
In above-described embodiment, start-up parameter includes detection pattern, but embodiments of the invention not limited to this.The present invention's
In other embodiment, start-up parameter can also include other, for example, it is also possible to including customer equipment identification, carrying mark, sampling
One or more of cycle, sampling window and report cycle.Wherein described sampling window is to be carried out in the sampling period
The one continuous time of data sampling.When start-up parameter includes customer equipment identification and carrying mark, detection network element can be with
The particular location of the link detected according to customer equipment identification and carrying mark to indicate core network gateway to need.So, favorably
In the specific situation for more accurately determining each of the links.When start-up parameter includes sampling period, sampling window and report cycle
When, detection network element can indicate core network gateway how long to the data sampling that is transmitted on link once (sampling period), often
Sampling time (sampling window) in the individual sampling period, how long to detection reported by network elements once (report cycle).So as to right
The data transmission state of link is timed measurement and timing reports, in order to stabilize the data transmission state of link is known on ground.
After the sampling by several sampling periods, detection network element can be according to the link in these sampling periods
State parameter determines whether Link State is bad, and further, after step s 13, this method also includes:The detection net
First transmission link detection stops request and arrives the core network gateway, so that Link State detection stops.
Accordingly, embodiments of the invention also provide a kind of link state detection method, as shown in Figure 13, including:
S21, core network gateway receive the link detecting startup request for carrying out Autonomous test network element, and the link detecting starts request
Start-up parameter is carried, the start-up parameter includes detection pattern, and the detection pattern is core net detection pattern, the detection net
Member is the network element being connected with the core network gateway;
S22, the core network gateway start request according to the link detecting and the data transmitted on link are sampled;
S23, the core network gateway carry out the first computing to know link state parameter to the data of sampling;
S24, the core network gateway send the link state parameter to the detection network element.
After adopting the above technical scheme, in the link state detection method that the present embodiment provides, core network gateway can connect
The link detecting startup request for carrying out Autonomous test network element is received, request is started according to the link detecting data transmitted on link is entered
Row samples and carries out the first computing to the data of sampling so as to obtain link state parameter, then again sends out the link state parameter
Detection network element is sent to, so that detection network element determines whether Link State is bad, so as to enter to the link communication quality of mobile broadband
Row is effectively assessed, and condition is provided for the optimization and improvement of link.
Optionally, after core network gateway, which receives link detecting, starts request, one first can be sent to detection network element
Link detecting starts the response message of request, then reprocesses the link detecting and starts request.By starting to the link detecting
The parsing of request, core network gateway would know that the detection pattern in start-up parameter is core net detection pattern, also just know link
State-detection task will be performed by core network gateway itself.In other embodiments of the invention, start-up parameter can also include
Other, such as customer equipment identification, carrying mark, sampling period, sampling window and report cycle etc..Wherein, when startup is joined
Number include customer equipment identification and carrying mark when, in step S22, core network gateway can according to customer equipment identification with hold
The particular location for identifying the link to determine to need to detect is carried, so as to be advantageous to more accurately determine the specific shape of each of the links
Condition.When start-up parameter includes sampling period, sampling window, in step S22, core network gateway can be in each sampling period
In sampling window in the data transmitted on link are sampled, wherein, each sampling period includes a sampling window.
Specifically, in step S23, core network gateway carries out the first computing to know that Link State is joined to the data of sampling
Number, the link state parameter can include the data of diversified forms and different characteristic, if the data can characterize it is detected
Data transfer effect in link.For example, in one embodiment of the invention, the link state parameter includes tested
Data transmission delay and message transmission rate in each sampling period of the link of survey.
It should be noted that for the data transmission delay of core network gateway side, the link of a mobile broadband
Carrying can include one or more data flows, for example, in one embodiment of the invention, a link carrying includes five numbers
According to stream, i.e. 5 tuples (source IP and purpose IP, source port and destination interface, protocol number).
Under normal circumstances, when user carries out data service, the data transfer on link is to continue to carry out, and is walked
The data transmitted on link are sampled according to the cycle in rapid S22, and each sampling period only carries out the time as sampling
The sampling of window.For a sampling period, the data transmission delay in the sampling period is in this sampling period
Sampling window in, the link carrying all data flows time delay average value.
The data transmission delay in a variety of method estimating sampling cycles can be used, it is of the invention without limitation.But it is
The timer expense of data transfer time delay is reduced, in one embodiment of the invention, TCP data bag can be utilized
Data transmission delay in transmission characteristic estimation outgoing link.Specifically, can be in the sampling window in each sampling period
It is interior, the data after the time delay addition for all data flows that core network gateway includes measured link divided by the link
The number of stream, to obtain respective data transmission delay in each sampling period, wherein, the time delay of data flow is the core net
From internet the TCP data bag that gateway receives the data flow is received from user to the core network gateway
Time between the response message to the TCP data bag that equipment returns.That is, during the data transfer that core network gateway side measures
Prolong the data transmission delay to the link between core network gateway PGW/GGSN for user equipment.
During sampling window, if not having data transfer on detected link, core network gateway is also without number
According to the sampling of transmission.That is, the data transfer sampling that core network gateway is carried out is by data-triggered, so as to make core
Heart net gateway avoids the sampling and processing to invalid data, improves the data sampling efficiency of core network gateway.At the same time, it is
Repeated sampling is avoided, during a sampling window, each data flow at most only samples once.
It should be noted that in Transmission Control Protocol, TCP response messages can both be set as a single message by user
It is standby to be sent to core network gateway, it is also possible to it is merged together to core network gateway and transmits with up True Data, both biographies
Defeated mode is all that the effective means of core network gateway will be transferred to the response message of TCP data bag, and it is delivered to core net net
The time of pass can serve as calculating the foundation of data transmission delay.
And for message transmission rate, core network gateway will can flow through in the sampling window in each sampling period
Data volume divided by sampling window, to obtain the message transmission rate in each sampling period.Wherein, the sampling in the sampling period
The data volume flowed through in window, it can be dispersed in multiple packets (such as TCP data bag) of multiple data flows, one of number
According to a packet of stream, the TCP data bag that can be recorded by foregoing data transfer time delay.For example, in the present invention
One embodiment in, the sampling period is the T_Sample seconds, and sampling window is the T_Window seconds, in first sampling period (
One sampled point) sampling window in, sample S packet altogether, the message transmission rate in sampling window is:V=∑s Xi*8/
T_Window bits, wherein, Xi be the 1st to the S packet size, i=1,2...... S.It is pointed out that this is adopted
Message transmission rate in sample window represents the message transmission rate in the sampling period where the sampling window.
When in step S23, after core network gateway carries out the first computing to know link state parameter to the data of sampling,
In step s 24, core network gateway send the link state parameter to it is described detection network element the step of be specifically as follows core net
Gateway sends the link state parameter to detection network element according to report cycle timing.Wherein, report cycle may be embodied in startup
In parameter.Generally, report cycle is more than the sampling period, report every time detection network element data can be a sampling period or
The link state parameter in several sampling periods.
Accordingly, embodiments of the invention also provide a kind of link state detection method, as shown in Figure 14, including it is following
Step:
S31, core network gateway receive the link detecting startup request for carrying out Autonomous test network element, and the link detecting starts request
Start-up parameter is carried, the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern, the detection net
Member is the network element being connected with the core network gateway;
The link detecting is started request and forwarded to the access network by S32, the core network gateway;
S33, the core network gateway receive the link state parameter from the access network;
S34, the core network gateway forward the link state parameter to the detection network element.
After adopting the above technical scheme, in the link state detection method that the present embodiment provides, core network gateway, which receives, to be come
The link detecting of Autonomous test network element starts request, and link detecting startup request is transmitted to access network so that access network according to
The link detecting starts request and obtains the link state parameter for being detected link, while also receives the link shape from access network
State parameter, and by the link state parameter to the detection network element forwarding, so that not whether detection network element determine Link State
It is good, so as to effectively be assessed the link communication quality of mobile broadband, condition is provided for the optimization and improvement of link.
Optionally,, can be first to detection after core network gateway, which receives link detecting, starts request in step S31
Network element sends the response message that a link detecting starts request, then reprocesses the link detecting and starts request.By to this
Link detecting starts the parsing of request, and core network gateway would know that the detection pattern in start-up parameter is access network detection pattern,
Also just know that Link State Detection task will be performed by access gateway.In other embodiments of the invention, start-up parameter may be used also
With including other, such as customer equipment identification, carrying mark, sampling period, sampling window and report cycle etc..
Optionally, in step S32, core network gateway can be by the extension header of the GTP-U in downlink data packet by described in
Link detecting starts request and forwarded to access network.Same optional, in step S33, core network gateway can pass through upper line number
The link state parameter from access network is received according to the extension header of the GPRS Tunneling Protocol-User plane in bag.Certainly, core
Net gateway can also be detected by other message or data structure to access network conversion link starts request, or receives and come from
The link state parameter of access network, the present invention are without limitation.
Accordingly, as shown in figure 15, embodiments of the invention also provide a kind of link state detection method, including following step
Suddenly:
S41, access network receive the link detecting from core network gateway and start request, and the link detecting starts request and taken
Tape starting parameter, the start-up parameter include detection pattern, and the detection pattern is access network detection pattern, the detection network element
For the network element being connected with the core network gateway;
S42, the access network start request according to the link detecting and the data transmitted on link are sampled;
S43, the access network carry out the second computing to know link state parameter, the Link State to the data of sampling
Parameter includes data transmission delay and message transmission rate in each sampling period of detected link;
S44, the access network send the link state parameter to the core network gateway.
After adopting the above technical scheme, in the link state detection method that the present embodiment provides, access network receives and comes from core
The link detecting of heart net gateway starts request, and start request according to the link detecting samples to the data transmitted on link
And the second computing is carried out so as to obtain link state parameter to the data of sampling, the link state parameter is then sent to core again
Heart net gateway, so that the link state parameter is sent to detection network element by core network gateway, so that detection network element determines link
Whether state is bad, and the link communication quality of mobile broadband is effectively assessed, and the optimization and improvement for link provide condition.
Optionally, after access network, which receives link detecting, starts request, a chain first can be sent to core network gateway
Road detection starts the response message of request, then reprocesses the link detecting and starts request.Specifically, access network can be by connecing
The extension header of GPRS Tunneling Protocol-User plane in the downlink data packet of receipts receives the link detecting and starts request, passes through
The detection pattern that the link detecting starts in request in start-up parameter knows that Link State detection will be performed by access network.
Certainly, optionally, start-up parameter can also include other, such as customer equipment identification, carrying mark, sampling week
Phase, sampling window and report cycle etc., wherein the sampling window is one section that data sampling is carried out in the sampling period
The continuous time.When start-up parameter includes customer equipment identification and carrying mark, in step S42, access network can basis
Customer equipment identification and carrying identify the particular location of the link to determine to need to detect, every so as to be advantageous to more accurately determine
The specific situation of bar link.When start-up parameter includes sampling period, sampling window, in step S42, access network can be each
The data transmitted on link are sampled in sampling window in the individual sampling period, wherein, each sampling period includes one
Sampling window.
Specifically, in step S43, access network carries out the second computing to know link state parameter to the data of sampling,
The link state parameter can include the data of diversified forms and different characteristic, as long as the data can characterize detected link
In data transfer effect.For example, in one embodiment of the invention, the link state parameter includes what is be detected
Data transmission delay and message transmission rate in each sampling period of link.
Now, step S43 can specifically comprise the following steps:
The data volume divided by sampling window that will be flowed through in sampling window in each sampling period, described each adopted with obtaining
Message transmission rate in the sample cycle;
The rlc layer that all packets flowed through in sampling window in each sampling period are passed through into air protocol stack when
Between be added after divided by the number of packet that flows through, to obtain the data transmission delay in each sampling period.
It should be noted that in the present embodiment, detection pattern is access network detection pattern, and accordingly, access network detects
Data transmission delay for data transfer between access network to user equipment time delay, that is, data by eat dishes without rice or wine when
Prolong.
Below using PGW/GGSN as core network gateway, embodiments of the invention are provided by specific embodiment link shape
State detection method is described in detail.
Figure 16 is the detail flowchart for the link state detection method that detection pattern is core network gateway detection pattern.
As shown in figure 16, when needing to detect into Uplink State, then 81, detection network element sends to core network gateway first
Link detecting starts request, to notify core network gateway PGW/GGSN to start Link State testing process.Wherein, the link
Detection starts request and carries start-up parameter, and the start-up parameter includes detection pattern, customer equipment identification, carrying mark, sampling
Cycle, sampling window and report cycle, the detection pattern are core net detection pattern.
When core network gateway PGW/GGSN receive link detecting start request after, 82, first to detection network element send ring
Message is answered, then starts detection process:Core network gateway starts the data asked to being transmitted on link according to the link detecting
Sampled;Core network gateway carries out the first computing to know link state parameter to the data of sampling.Detailed process can join
See previous embodiment, here is omitted.
After core network gateway PGW/GGSN knows link state parameter, 83, core network gateway PGW/GGSN can be to inspection
The survey reported by network elements link state parameter, optionally, it can be sent out according to the report cycle timing in start-up parameter to detection network element
Give the link state parameter.In one-time detection, it can report repeatedly.84th, can after detection network element receives link state parameter
Returned and responded to PGW/GGSN with elder generation, acknowledge receipt of the link state parameter.Then detection network element starts according to the Link State
Parameter determines whether Link State is bad.Specific determination method is described in detail in embodiment above,
Here is omitted.
Can be true when detecting network element and have received the link state parameter in enough sampling periods by multiple report cycles
Whether bad determine Link State, then, in step 8n, detection network element can detect to core network gateway transmission link to be stopped asking
Ask, to terminate Link State detection;
Core network gateway PGW/GGSN, which receives the link detecting, to be stopped after asking, in step 8n+1, to detection network element
Return to response message and stop Link State detection.
In the present embodiment, detected by the Link State of core net detection pattern, can effectively assess user equipment to core
Whether the Link State between heart net gateway PGW/GGSN meet to require, condition is provided for the optimization and improvement of link.
Figure 17 is the detail flowchart for the link state detection method that detection pattern is access network detection pattern.
As shown in figure 17, when needing to detect into Uplink State, then 91, detection network element is first to core network gateway send chain
Road detection starts request, to notify PGW/GGSN to start Link State testing process.Wherein, the link detecting starts request and taken
Tape starting parameter, the start-up parameter include detection pattern, customer equipment identification, carrying mark, the sampling period, sampling window with
And report cycle, the detection pattern are access network detection pattern.
92a, when core network gateway PGW/GGSN receive link detecting start request after, first to detection network element send ring
Answer message, 92b and then in descending packet, carry link detecting using GTP-U extension header and start request and arrive access network
Side.
Access network is received after the link detecting starts request, starts request to transmitting on link according to the link detecting
Data are sampled, and before carrying out the second computing to the data of sampling to know that link state parameter, detailed process may refer to
Embodiment is stated, here is omitted.
After access network knows link state parameter, 93, the link state parameter used into GTP-U in up packet
Extension header reporting links state parameter, optionally, it can be sent out according to the report cycle timing in start-up parameter to core network gateway
Give the link state parameter;
94th, core network gateway PGW/GGSN receives link state parameter and is directly reported to detection network element processing every time.
95th, detection network element receives link state parameter every time, and first returning to response confirmation to PGW/GGSN receives parameter, then
Start to determine whether Link State is bad according to the link state parameter.It is specific to determine method in embodiment above
It is described in detail, here is omitted.
Can be true when detecting network element and have received the link state parameter in enough sampling periods by multiple report cycles
Whether bad determine Link State, then, in step 9m, detection network element can detect to core network gateway transmission link to be stopped asking
Ask, to terminate Link State detection;
Core network gateway PGW/GGSN, which receives the link detecting, to be stopped after asking, in step 9m+1, to detection network element
Return to response message and in step 9m+2, notify RAN sides to stop network matter using GTP-U expansion interfaces by downlink data packet
Measurement.
In the present embodiment, detected by the Link State of core net detection pattern, can effectively assess eat dishes without rice or wine whether congestion,
Condition is provided for the optimization and improvement of link.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is
The hardware of correlation is instructed to complete by program, described program can be stored in a kind of computer-readable recording medium, institute
It can be read-only storage, disk or CD etc. to state storage medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (32)
1. one kind detection network element, it is characterised in that including:
Communication module, for being interacted with core network gateway;
Processor, it is used for:
Detect to start by the communication module transmission link and ask to arrive the core network gateway, the link detecting starts request
Start-up parameter is carried, the start-up parameter includes detection pattern, and the detection pattern includes access network detection pattern or core net
Detection pattern;
Link state parameter from the core network gateway is received by the communication module, the link state parameter includes
Data in each sampling period of the link detected under the access network detection pattern or the core net detection pattern pass
Defeated time delay and message transmission rate;
Determine whether Link State is bad according to the link state parameter;
The processor is used to determine whether Link State is bad, specifically includes according to the link state parameter:
The processor is used for:If data transmission delay in a sampling period is more than regulation time delay and one
Message transmission rate in sampling period is less than schedule speed, determines one sampling period for the bad sampling of Link State
Cycle;If ratio of the Link State bad sampling period occupied by sampling period sum is more than regulation ratio,
It is determined that detected Link State is bad.
2. detection network element according to claim 1, it is characterised in that the start-up parameter also includes:Customer equipment identification,
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is to enter line number in the sampling period
According to the one continuous time of sampling.
3. detection network element according to claim 1, it is characterised in that the regulation ratio is 30% to 80%.
4. detection network element according to claim 1, it is characterised in that the processor is additionally operable to:
Detected by the communication module transmission link and stop asking to arrive the core network gateway.
A kind of 5. core network gateway, it is characterised in that including:
Communication module, for being interacted with detection network element;
Processor, it is used for:
Link detecting from the detection network element is received by the communication module and starts request, the link detecting starts please
Carrying start-up parameter is sought, the start-up parameter includes detection pattern, and the detection pattern is core net detection pattern;
Start request according to the link detecting to sample the data transmitted on link;
First computing is carried out to know link state parameter to the data of sampling, the link state parameter is included in the core
Data transmission delay and message transmission rate in each sampling period of the link detected under net detection pattern;
The link state parameter is sent by the communication module and arrives the detection network element, with cause it is described detect network element according to
The link state parameter determines whether Link State is bad;
It is described detection network element according to the link state parameter determine Link State it is whether bad including:An if sampling
Data transmission delay in cycle is more than regulation time delay and the message transmission rate in one sampling period is less than regulation speed
Rate, determine one sampling period for the Link State bad sampling period;If the Link State bad sampling week
Ratio of the phase occupied by sampling period sum is more than regulation ratio, it is determined that detected Link State is bad.
6. core network gateway according to claim 5, it is characterised in that the start-up parameter also includes:User equipment mark
Know, carry mark, sampling period, sampling window and report cycle, wherein the sampling window is to enter in the sampling period
The one continuous time of row data sampling.
7. core network gateway according to claim 6, it is characterised in that the processor is used for according to the link detecting
Start request to sample the data transmitted on link, specifically include:
The processor is used for:
The link of detection is determined according to the customer equipment identification and the carrying mark;Institute in each sampling period
State the interior data to transmitting on the link of sampling window to sample, each sampling period includes a sample window
Mouthful.
8. core network gateway according to claim 7, it is characterised in that the processor is used to carry out the data of sampling
First computing is specifically included with knowing link state parameter:
The processor is used for:
It is described every to obtain by the data volume flowed through in the sampling window in each sampling period divided by the sampling window
Message transmission rate in the individual sampling period;
In sampling window in each sampling period, the time delay phase for all data flows that the link is included is in addition
The number of data flow afterwards divided by the link, to obtain the data transmission delay in each sampling period, wherein, institute
The time delay for stating data flow receives from internet a transmission control protocol for the data flow for the core network gateway
TCP data bag is received from user equipment return to the transmission control protocol TCP packet to the core network gateway
Response message between time.
9. core network gateway according to claim 6, it is characterised in that the processor is used to pass through the communication module
The link state parameter is sent to the detection network element, is specifically included:
The processor is used for, by the communication module according to the report cycle timing send the link state parameter to
The detection network element.
A kind of 10. core network gateway, it is characterised in that including:
Communication module, for being interacted with detection network element or access network;
Processor, it is used for:
Link detecting from the detection network element is received by the communication module and starts request, the link detecting starts please
Carrying start-up parameter is sought, the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
The link detecting is started into request by the communication module to forward to the access network;
Link state parameter from the access network is received by the communication module, the link state parameter is included in institute
State the data transmission delay and message transmission rate in each sampling period of the link detected under access network detection pattern;
The link state parameter is forwarded to the detection network element by the communication module, to cause the detection network element root
Determine whether Link State is bad according to the link state parameter;
It is described detection network element according to the link state parameter determine Link State it is whether bad including:An if sampling
Data transmission delay in cycle is more than regulation time delay and the message transmission rate in one sampling period is less than regulation speed
Rate, determine one sampling period for the Link State bad sampling period;If the Link State bad sampling week
Ratio of the phase occupied by sampling period sum is more than regulation ratio, it is determined that detected Link State is bad.
11. core network gateway according to claim 10, it is characterised in that the processor is used to pass through the communication mould
The link detecting is started request and forwarded to the access network by block, is specifically included:
The processor is used for, and the general packet radio service GPRS tunnels in downlink data packet are used by the communication module
The link detecting is started request and forwarded to the access network by the extension header of protocols User face part.
12. core network gateway according to claim 10, it is characterised in that the processor is used to pass through the communication mould
Block receives the link state parameter from the access network, specifically includes:
The processor is used for, and the general packet radio service GPRS tunnels in upstream data bag are used by the communication module
The extension header of protocols User face part receives the link state parameter from the access network.
A kind of 13. access network elements, it is characterised in that including:
Communication module, for being interacted with core network gateway;
Processor, it is used for:
Link detecting from the core network gateway is received by the communication module and starts request, the link detecting starts
Request carries start-up parameter, and the start-up parameter includes detection pattern, and the detection pattern is access network detection pattern;
Start request according to the link detecting to sample the data transmitted on link;
Second computing is carried out to know link state parameter to the data of sampling, the link state parameter is included in the access
Data transmission delay and message transmission rate in each sampling period of the link detected under net detection pattern;
The link state parameter is sent to the core network gateway by the communication module.
14. access network elements according to claim 13, it is characterised in that the start-up parameter also includes:User equipment
Mark, carrying mark, sampling period, sampling window and report cycle, wherein the sampling window is in the sampling period
Carry out the one continuous time of data sampling.
15. access network elements according to claim 14, it is characterised in that the processor is used to be examined according to the link
Survey to start and ask to sample the data transmitted on link, specifically include:
The processor is used for:
The link of detection is determined according to the customer equipment identification and the carrying mark;
The data transmitted on the link are sampled in the sampling window in each sampling period, Mei Gesuo
Stating the sampling period includes a sampling window.
16. access network elements according to claim 15, it is characterised in that the processor is used to enter the data of sampling
The computing of row second is specifically included with knowing link state parameter:
The processor, is used for:
It is described every to obtain by the data volume flowed through in the sampling window in each sampling period divided by the sampling window
Message transmission rate in the individual sampling period;
The Radio Link that all packets flowed through in sampling window in each sampling period are passed through into air protocol stack
Control the time of rlc layer be added after divided by the packet number, to obtain the data transfer in each sampling period
Time delay.
A kind of 17. link state detection method, it is characterised in that including:
The transmission link detection of detection network element starts request and arrives core network gateway, and the link detecting startup request, which carries, starts ginseng
Number, the start-up parameter include detection pattern, and the detection pattern includes access network detection pattern or core net detection pattern, institute
It is the network element being connected with the core network gateway to state detection network element;
The detection network element receives the link state parameter from the core network gateway, and the link state parameter is included in institute
When stating the data transfer in each sampling period of the link detected under access network detection pattern or the core net detection pattern
Prolong and message transmission rate;
The detection network element determines whether Link State is bad according to the link state parameter;
The detection network element determines that the whether bad step of Link State specifically includes according to the link state parameter:If one
Data transmission delay in the individual sampling period is more than regulation time delay and the message transmission rate in one sampling period
Less than schedule speed, determine one sampling period for the Link State bad sampling period;If the Link State is not
Ratio of the good sampling period occupied by sampling period sum is more than regulation ratio, it is determined that detected Link State is not
It is good.
18. according to the method for claim 17, it is characterised in that the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
19. according to the method for claim 17, it is characterised in that the regulation ratio is 30% to 80%.
20. according to the method for claim 17, it is characterised in that the detection network element is true according to the link state parameter
After determining the whether bad step of Link State, methods described also includes:
The detection network element transmission link detection stops request and arrives the core network gateway.
A kind of 21. link state detection method, it is characterised in that including:
Core network gateway receives the link detecting startup request for carrying out Autonomous test network element, and the link detecting starts request and carries startup
Parameter, the start-up parameter include detection pattern, and the detection pattern is core net detection pattern, it is described detection network element for institute
State the connected network element of core network gateway;
The core network gateway starts request according to the link detecting and the data transmitted on link is sampled;
The core network gateway carries out the first computing to know link state parameter, the link state parameter to the data of sampling
The data transmission delay and data transfer being included in each sampling period of the link detected under the core net detection pattern
Speed;
The core network gateway sends the link state parameter to the detection network element, to cause the detection network element according to institute
State link state parameter and determine whether Link State is bad;
It is described detection network element according to the link state parameter determine Link State it is whether bad including:An if sampling
Data transmission delay in cycle is more than regulation time delay and the message transmission rate in one sampling period is less than regulation speed
Rate, determine one sampling period for the Link State bad sampling period;If the Link State bad sampling week
Ratio of the phase occupied by sampling period sum is more than regulation ratio, it is determined that detected Link State is bad.
22. according to the method for claim 21, it is characterised in that the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
23. according to the method for claim 22, it is characterised in that the core network gateway starts according to the link detecting
Ask to specifically include the step of sampling the data transmitted on link:
The core network gateway determines the link of detection according to the customer equipment identification and the carrying mark;
Data of the core network gateway in the sampling window in each sampling period to being transmitted on the link
Sampled, each sampling period includes a sampling window.
24. according to the method for claim 23, it is characterised in that
The core network gateway carries out the step of the first computing is to know link state parameter to the data of sampling and specifically included:
The core network gateway is by the data volume flowed through in the sampling window in each sampling period divided by the sample window
Mouthful, to obtain the message transmission rate in each sampling period;
The core network gateway is in the sampling window in each sampling period, all data that the link is included
The number of data flow after the time delay of stream is added divided by the link, passed with obtaining the data in each sampling period
Defeated time delay, wherein, the time delay of the data flow receives one from internet of the data flow for the core network gateway
Individual transmission control protocol TCP packet receives to the core network gateway and the transmission is controlled from what user equipment returned
Time between the response message of agreement TCP data bag.
25. according to the method for claim 22, it is characterised in that the core network gateway sends the link state parameter
Specifically included to the step of detection network element:
The core network gateway sends the link state parameter to the detection network element according to report cycle timing.
A kind of 26. link state detection method, it is characterised in that including:
Core network gateway receives the link detecting startup request for carrying out Autonomous test network element, and the link detecting starts request and carries startup
Parameter, the start-up parameter include detection pattern, and the detection pattern is access network detection pattern, it is described detection network element for institute
State the connected network element of core network gateway;
The link detecting is started request and forwarded to the access network by the core network gateway;
The core network gateway receives the link state parameter from the access network, and the link state parameter is included in described
Data transmission delay and message transmission rate in each sampling period of the link detected under access network detection pattern;
The core network gateway by the link state parameter to it is described detection network element forwarding, with cause it is described detection network element according to
The link state parameter determines whether Link State is bad;
It is described detection network element according to the link state parameter determine Link State it is whether bad including:An if sampling
Data transmission delay in cycle is more than regulation time delay and the message transmission rate in one sampling period is less than regulation speed
Rate, determine one sampling period for the Link State bad sampling period;If the Link State bad sampling week
Ratio of the phase occupied by sampling period sum is more than regulation ratio, it is determined that detected Link State is bad.
27. according to the method for claim 26, it is characterised in that the core network gateway starts the link detecting please
The step of being forwarded to the access network is asked to specifically include:
The core network gateway passes through the general packet radio service GPRS Tunneling Protocol-User plane in downlink data packet
The link detecting is started request and forwarded to the access network by extension header.
28. according to the method for claim 26, it is characterised in that the core network gateway is received from the access network
The step of link state parameter, specifically includes:
The core network gateway passes through the general packet radio service GPRS Tunneling Protocol-User plane in upstream data bag
Extension header receives the link state parameter from the access network.
A kind of 29. link state detection method, it is characterised in that including:
Access network receives the link detecting from core network gateway and starts request, and the link detecting, which starts to ask to carry, starts ginseng
Number, the start-up parameter include detection pattern, and the detection pattern is access network detection pattern;
The access network starts request according to the link detecting and the data transmitted on link is sampled;
The access network carries out the second computing to know link state parameter to the data of sampling, and the link state parameter includes
Data transmission delay and message transmission rate in each sampling period of the link detected under the access network detection pattern;
The access network sends the link state parameter to the core network gateway.
30. according to the method for claim 29, it is characterised in that the start-up parameter also includes:Customer equipment identification, hold
Mark, sampling period, sampling window and report cycle are carried, wherein the sampling window is that data are carried out in the sampling period
The one continuous time of sampling.
31. according to the method for claim 30, it is characterised in that the access network starts according to the link detecting asks
The step of being sampled to the data transmitted on link specifically includes:
The access network determines the link of detection according to the customer equipment identification and the carrying mark;
Data progress of the access network in the sampling window in each sampling period to being transmitted on the link
Sampling, each sampling period include a sampling window.
32. according to the method for claim 31, it is characterised in that
The access network carries out the step of the second computing is to know link state parameter to the data of sampling and specifically included:
The access network by the data volume flowed through in the sampling window in each sampling period divided by the sampling window, with
Obtain the message transmission rate in each sampling period;
All packets flowed through in sampling window in each sampling period are passed through air protocol stack by the access network
Wireless spread-spectrum technology rlc layer time be added after divided by the packet number, to obtain in each sampling period
Data transmission delay.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310036158.XA CN103974295B (en) | 2013-01-30 | 2013-01-30 | Linkage status detection device and its method of work |
PCT/CN2014/071019 WO2014117665A1 (en) | 2013-01-30 | 2014-01-21 | Link state detection apparatus and working method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310036158.XA CN103974295B (en) | 2013-01-30 | 2013-01-30 | Linkage status detection device and its method of work |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103974295A CN103974295A (en) | 2014-08-06 |
CN103974295B true CN103974295B (en) | 2017-11-28 |
Family
ID=51243227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310036158.XA Active CN103974295B (en) | 2013-01-30 | 2013-01-30 | Linkage status detection device and its method of work |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103974295B (en) |
WO (1) | WO2014117665A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3281361B1 (en) * | 2015-07-01 | 2019-06-12 | Hewlett-Packard Enterprise Development LP | Latency measurer |
CN108243177B (en) * | 2016-12-27 | 2021-01-15 | 中国移动通信有限公司研究院 | Data transmission method and device |
CN110169134A (en) * | 2017-03-09 | 2019-08-23 | 华为技术有限公司 | The detection method and device of wireless quality support video tastes |
CN109392002B (en) | 2017-08-11 | 2022-07-12 | 华为技术有限公司 | Method and equipment for reporting network performance parameters |
CN107749820B (en) * | 2017-09-14 | 2021-05-28 | 深圳市盛路物联通讯技术有限公司 | Communication state detection method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667941A (en) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | Method for detecting link performance and device therefor |
WO2011127021A1 (en) * | 2010-04-05 | 2011-10-13 | Qualcomm Incorporated | Method and apparatus to facilitate support for multi-radio coexistence |
CN102340802A (en) * | 2010-07-14 | 2012-02-01 | 中国联合网络通信集团有限公司 | Service quality monitoring method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100495988C (en) * | 2006-02-09 | 2009-06-03 | 华为技术有限公司 | The method for detecting the signaling bearer availability |
CN101119314B (en) * | 2007-09-14 | 2010-06-23 | 中国科学院计算技术研究所 | Multimode terminal service stream control system and device and method |
CN102014030B (en) * | 2010-12-31 | 2012-10-31 | 湖南神州祥网科技有限公司 | Network performance measurement diagnostic method and system based on transmission control protocol (TCP) |
-
2013
- 2013-01-30 CN CN201310036158.XA patent/CN103974295B/en active Active
-
2014
- 2014-01-21 WO PCT/CN2014/071019 patent/WO2014117665A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667941A (en) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | Method for detecting link performance and device therefor |
WO2011127021A1 (en) * | 2010-04-05 | 2011-10-13 | Qualcomm Incorporated | Method and apparatus to facilitate support for multi-radio coexistence |
CN102340802A (en) * | 2010-07-14 | 2012-02-01 | 中国联合网络通信集团有限公司 | Service quality monitoring method and system |
Also Published As
Publication number | Publication date |
---|---|
WO2014117665A1 (en) | 2014-08-07 |
CN103974295A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103974295B (en) | Linkage status detection device and its method of work | |
CN101272290B (en) | Measuring method, measuring apparatus for route congestion state in IP network | |
EP2961102B1 (en) | Method and device for monitoring network performance | |
CN100442730C (en) | Detecting method for network link band width based on hop-by-hop time stamp label | |
CN102035692B (en) | Method and device for detecting quality of link | |
US8614956B2 (en) | Placement of wireless repeaters in a wireless communication network | |
US20020169880A1 (en) | Method and device for robust real-time estimation of the bottleneck bandwidth in the internet | |
US20070217343A1 (en) | Estimation of time-varying latency based on network trace information | |
Zayani et al. | A joint model for IEEE 802.15. 4 physical and medium access control layers | |
US8817632B2 (en) | Method of measuring packet loss rate, packet loss rate measuring device and storage medium | |
EP3398296B1 (en) | Performance measurement in a packet-switched communication network | |
CN107579869B (en) | Network performance detection method and network equipment | |
US8879403B2 (en) | Link microbenchmarking with idle link correction | |
CN106487605A (en) | packet loss detection method and device | |
CN101409651A (en) | Method, system and equipment for monitoring soft exchange load-bearing network quality | |
CN103746875A (en) | Dichotomy-based multi-hop wireless network available bandwidth self-adaptive detection method | |
CN104717108A (en) | Network bottleneck bandwidth measurement method based on active measurement and packet gap model | |
CN101656653B (en) | Method and device for configuring receive buffer applied to multi-path transmission | |
CN115242292B (en) | Application framework of software defined edge gateway and transmission control method | |
Curtis et al. | Review of bandwidth estimation techniques | |
CN110169134A (en) | The detection method and device of wireless quality support video tastes | |
CN105792261A (en) | Packet loss position assistant positioning method and device | |
WO2023016367A1 (en) | Measurement method and device | |
CN108092840B (en) | Network rate segmentation processing method and device | |
US20230065207A1 (en) | User quality of experience assessment in radio access networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |