Performance measurement of packet flow in a packet-switched communication network by a user communication device
It is disclosed a performance measurement application for a user communication device. The device runs at least one user application which exchanges at least one packet flow with a packet-switched communication network. When executed, the performance measurement application receives from an owner of the user communication device a request for performing a performance measurement. In response to such request, the performance measurement application activates a marking functionality comprising marking upstream packets of the packet flow to be measured and inducing the network node originating the downstream packets of the packet flow to be measured to mark them. The performance measurement application then provides performance parameter(s) relating to the marked upstream packets as transmitted and/or the marked downstream packets as received and, based on such parameter(s), provides a performance measurement. The measurement results are then shared with a measurement management server.
1 . A non-transitory computer-readable medium for a user communication device, said user communication device being provided with at least one user application for exchanging at least one packet flow with a packet-switched communication network, said computer-readable medium comprising instructions which, when executed by a processor of said user communication device, cause the processor of said user communication device to carry out a method comprising:
receiving from an owner of said user communication device a request for performing a performance measurement on said packet flow;
in response to said request, activating a marking functionality on said packet flow, said marking functionality comprising marking an upstream marking field of upstream packets of said packet flow transmitted from the user communication device to a network node of the packet-switched communication network, which is configured to originate downstream packets of said packet flow transmitted from the network node to the user communication device, said upstream packets including upstream user data and said upstream marking field, and inducing the network node of said packet-switched communication network configured to originate said downstream packets of said packet flow to mark a downstream marking field of said downstream packets transmitted from the network node to the user communication device, said downstream packets including downstream user data and said downstream marking field;
providing at least one performance parameter relating to said upstream marking field of said marked upstream packets as transmitted by said user communication device or said downstream marking field of said marked downstream packets as received by said user communication device based on detection of marked packets at said user communication device and, based on said at least one performance parameter, providing a performance measurement on said packet flow; and
sharing said performance measurement with a measurement management server.
2 . The non-transitory computer-readable medium according to claim 1 , wherein said marking functionality is embedded in said user application and wherein the activating the marking functionality further comprises instructing said user application to activate said marking functionality.
3 . The non-transitory computer-readable medium according to claim 1 , wherein said marking functionality is implemented by said instructions.
4 . The non-transitory computer-readable medium according to claim 1 , wherein said marking said upstream packets of said packet flow comprises setting a value of at least one measurement-dedicated field in said upstream packets and said inducing a network node of said packet-switched communication network originating downstream packets of said packet flow to mark said downstream packets comprises inducing said network node to set the value of the at least one measurement-dedicated field in said downstream packets.
5 . The non-transitory computer-readable medium according to claim 1 , wherein said upstream packets and said downstream packets comprise at least two measurement-dedicated fields supporting at least two respective types of performance measurements and wherein receiving the request for performing the performance measurement further comprises receiving from said owner of said user communication device a request for performing a type of performance measurement selected amongst said at least two types of performance measurements and the activating the marking functionality and the providing the at least one performance parameter are performed on a measurement-dedicated field supporting the selected type of performance measurement.
6 . The non-transitory computer-readable medium according to claim 1 , wherein said user application is suitable for exchanging a plurality of packet flows and wherein the receiving the request comprises receiving from said owner of said user communication device a request for performing a performance measurement on at least one packet flow selected amongst said plurality of packet flows and the activating the marking functionality and the providing the at least one performance parameter are performed only for said selected at least one packet flow.
7 . The non-transitory computer-readable medium according to claim 1 , wherein the receiving the request further comprises receiving from said owner a request for performing a performance measurement on all the packet flows exchanged by all the user applications run by said user communication device and wherein the activating the marking functionality and the providing the at least one performance parameter are performed on all the packet flows exchanged by all the user applications run by said user communication device.
8 . The non-transitory computer-readable medium according to claim 1 , wherein the activating the marking functionality and the providing the at least one performance parameters are performed on all the packet flows exchanged by all the user applications run by said user communication device, except at least one packet flow complying with a filtering criterion selected by said owner.
9 . The non-transitory computer-readable medium according to claim 1 , wherein the sharing said performance measurement further comprises completing said shared performance measurement with information identifying at least one of said user communication device, said packet flow, and said user application.
10 . The non-transitory computer-readable medium according to claim 1 , comprising further instructions which, when executed by said processor of said user communication device, cause the processor of said user communication device to carry out the method further comprising:
sharing said performance measurement with said owner of said user communication device.
11 . The non-transitory computer-readable medium according to claim 1 , wherein said computer-readable medium is downloadable and installable on said user communication device upon request from said owner.
12 . The non-transitory computer-readable medium according to claim 1 , wherein said computer-readable medium is part of an operating system of said user communication device.
13 . A method for performing a performance measurement on a packet-switched communication network by a user communication device, said user communication device being provided with at least one user application suitable for exchanging at least one packet flow with said packet-switched communication network, said method comprising:
receiving from an owner of said user communication device a request for performing a performance measurement on said packet flow;
in response to said request, activating a marking functionality on said packet flow, said marking functionality comprising marking an upstream marking field of upstream packets of said packet flow transmitted from the user communication device to a network node of the packet-switched communication network, which is configured to originate downstream packets of said packet flow transmitted from the network node to the user communication device, said upstream packets including upstream user data and said upstream marking field, and inducing the network node of said packet-switched communication network configured to originate said downstream packets of said packet flow to mark a downstream marking field of said downstream packets transmitted from the network node to the user communication device, said downstream packets including downstream user data and said downstream marking field;
providing at least one performance parameter relating to said upstream marking field of said marked upstream packets as transmitted by said user communication device or said downstream marking field of said marked downstream packets as received by said user communication device based on detection of marked packets at said user communication device and, based on said at least one performance parameter, providing a performance measurement on said packet flow; and
sharing said performance measurement with a measurement management server.
14 . A system for performing a performance measurement on a packet-switched communication network, said system comprising:
a measurement management server; and
at least one user communication device provided with at least one user application suitable for exchanging at least one packet flow with said packet-switched communication network, said user communication device being further configured to:
receive from an owner of said user communication device a request for performing a performance measurement on said packet flow,
in response to said request, activate a marking functionality on said packet flow, said marking functionality comprising marking an upstream marking field of upstream packets of said packet flow transmitted from the user communication device to a network node of the packet-switched communication network, which is configured to originate downstream packets transmitted from the network node to the user communication device, said upstream packets including upstream user data and said upstream marking field, and inducing the network node of said packet-switched communication network configured to originate said downstream packets of said packet flow to mark a downstream marking field of said downstream packets transmitted from the network node to the user communication device, said downstream packets including downstream user data and said downstream marking field,
provide at least one performance parameter relating to said upstream marking field of said marked upstream packets as transmitted by said user communication device or said downstream marking field of said marked downstream packets as received by said user communication device based on detection of marked packets at said user communication device and, based on said at least one performance parameter, provide a performance measurement on said packet flow, and
share said performance measurement with said measurement management server.
15 . The non-transitory computer-readable medium according to claim 1 , wherein the inducing the network node of said packet-switched communication network includes transmitting an instruction to the network node.
16 . The non-transitory computer-readable medium according to claim 1 , wherein the inducing the network node of said packet-switched communication network includes implementing a reflection function at the network node to reflect an upstream value of a marking field in an upstream packet into a downstream value of a marking field in a downstream packet.