This non-provisional application claims priority under 35 U.S.C. §119(a) on Patent Application No(s). 099124367 filed in Taiwan, R.O.C. on 23 Jul., 2010, the entire contents of which are hereby incorporated by reference.
The present invention relates to a complementary network quality testing method, and more particularly, to a complementary network quality testing method for conducting a test, in a differentiated service framework composed of a plurality of conditioners of Quality Of Service (QoS conditioners), on complementary data transmission network quality without any additional self-contained system.
Conventional data network provides an assurance of quality of service. Due to the ever-increasing reach of telecommunication services, the assurance of quality of service is made available to the telecommunication network services nowadays. In general, a telecommunication network provider is also known as a network service provider, and is supposed to ensure the quality of service with regard to data transmission taking place in a telecommunication network accessible to network service users, including ensuring upstream/downstream bandwidth, for example. The service referred to above is judged according to the characteristics, such as throughput, delay, jitter, or loss, of data transmission taking place in a telecommunication network. By judging the quality of data transmission, the network service provider can formulate service level agreements and the service rates corresponding thereto.
Techniques most widely used to provide assurance of quality of service are namely: differentiated service, and policy framework. The techniques for assuring quality of service are used in edge routers or interior routers for the Internet protocols or used in network frameworks that serve the purposes described above, such as routers or switches for use in Carrier-grade Ethernet Networks or Gigabit Passive Optical Networks (GPON).
Differentiated service is effectuated by a plurality of conditioners of Quality Of Service (QoS conditioners). Referring to
Furthermore, to provide an assurance of quality of service with regard to data transmission taking place in a telecommunication network accessible to network service users, network service providers have to verify the assurance of quality of service by testing the outcome of network data transmission. In this regard, network service providers put an appropriate amount of test protocol data units in a network so as to judge the quality of service of data transmission. As disclosed in the prior art, the time to put the test protocol data units in a network depends on the testing time, namely out-of-service and in-service. The out-of-service test refers to sending out a test protocol data units for use in a simple test when the bandwidth is not occupied by any user. The in-service test is conducted at a scenario where a test protocol data unit is sent out while a network service user is conveying a normal protocol data unit. To conduct the in-service test, considerations have to be given to the need to enable a network service user to maintain a normal flow rate of data transmission in the course of the test. The in-service test, which is also known as a complementary network service test, is effective in making good use of redundant and unoccupied bandwidth.
Nonetheless, as disclosed in the prior art, an additional self-contained system is required for testing network data transmission service by conducting the complementary network service test. The additional self-contained system inevitably requires extra equipment and incurs testing costs. Hence, it is imperative to provide a method for conducting the complementary network service test without an additional self-contained system.
It is an objective of the present invention to provide a complementary network quality testing method for testing the quality of service with regard to data transmission taking place in a telecommunication network and testing the quality of service with regard to a complementary network operating under the original monitor framework without any additional self-contained system.
In an embodiment of the present invention, the complementary network quality testing method is configured for use in testing the quality of service with regard to data transmission taking place in a telecommunication network. The method comprises the steps of: setting up a committed bucket configured to receive tokens and characterized by a committed burst size, wherein the tokens are introduced into the committed bucket at a committed information rate; receiving normal protocol data units and/or test protocol data units so as for the normal protocol data units thus received to be stored in a data queue and/or the test protocol data units thus received to be stored in a test queue; and determining whether the protocol data units are present in the data queue, retrieving the normal protocol data units from the data queue in sequence upon affirmative determination, and retrieving selectively the test protocol data units from the test queue or determining, selectively and again, whether any said normal protocol data units are present in the data queue, depending on whether any said tokens are present in the committed bucket, upon negative determination. In other words, the method involves retrieving the test protocol data units from the test queue upon determination of the presence of tokens in the committed bucket and determining, again, whether the normal protocol data units are present in the data queue upon determination of the absence of tokens from the committed bucket.
In another embodiment, the complementary network quality testing method is configured for conducting a test on the quality of service with regard to data transmission taking place in a telecommunication network. The method comprises the steps of: setting up a committed bucket configured to receive tokens and characterized by a committed burst size, wherein the tokens are each introduced into the committed bucket at a committed information rate; setting up an excess bucket configured to receive the tokens and characterized by an excess burst size, wherein the tokens are each introduced into the excess bucket at an excess information rate; receiving normal protocol data units and/or test protocol data units so as for the normal protocol data units thus received to be stored in a data queue and/or the test protocol data units thus received to be stored in a test queue; and determining whether the normal protocol data units are present in the data queue, retrieving the normal protocol data units from the data queue in sequence upon affirmative determination, and retrieving selectively the test protocol data units from the test queue or determining, selectively and again, whether any said normal protocol data units are present in the data queue, depending on whether any said tokens are present in the committed bucket and/or the excess bucket, upon negative determination.
Compared with conventional technology, the complementary network quality testing method of the present invention solves a known problem, that is, an additional self-contained system is required for a differentiated service framework in order for test protocol data units to be sent out to conduct a test. The present invention has another advantage over the prior art, as the method of the present invention involves using one or a plurality of buckets for providing a basis of judgment as to whether to send a normal protocol data units and a test protocol data units to a queuing units of conditioners of quality of service (QoS conditioners). In another preferred embodiment of the present invention, test protocol data units are sent out to conduct a test on the quality of service with regard to network-based data transmission on condition that: no normal protocol data units has been sent out; and one and/or a plurality of bucket still has a token.
A detailed description of further features and advantages of the present invention is given below so that a person skilled in the art can understand and implement the technical contents of the present invention and readily comprehend the objectives, features, and advantages thereof by reviewing the disclosure of the present specification and the appended claims in conjunction with the accompanying drawings, in which:
Referring to
Referring to
Referring to
Referring to
If it is confirmed that the normal protocol data units NPDU are present in the data queue DQ, the normal protocol data units NPDU will be retrieved from the data queue DQ in sequence, and the algorithm A will compare the number of the tokens ct in the committed bucket CB with the number of the normal protocol data units NPDU. For example, the algorithm A is a single-rate Three-Color Meter/Marker. Furthermore, a flag for use with the normal protocol data units NPDU is created according to the result of the comparison. If the number of the tokens ct in the committed bucket CB is larger than or equal to the number of the normal protocol data units NPDU, a flag that bears the first mark will be created. The first mark is denoted in green. The first mark suggests retrieving the tokens ct from the committed bucket CB and conveying the normal protocol data units NPDU having the first mark. If the number of the tokens ct in the committed bucket CB is less than the number of the normal protocol data units NPDU, a flag that bears the second mark will be created. The second mark is denoted in red. The second mark suggests discarding the normal protocol data units NPDU having the second mark.
If it is determined that none of the normal protocol data units is present in the data queue DQ, it will be necessary to determine whether one of the tokens ct is present in the committed bucket CB. Upon determination that one of the tokens ct is present in the committed bucket CB, it is necessary to retrieve the test protocol data units TPDU from the test queue TQ and further compare the number of the tokens ct in the committed bucket CB with the number of the test protocol data units TPDU so as to create a corresponding flag in the test protocol data units TPDU. Upon determination that the number of the tokens ct in the committed bucket CB is larger than or equal to the number of the test protocol data units TPDU, it is necessary to create a flag that bears a first mark. The first mark is denoted in green. The first mark suggests retrieving the tokens ct from the committed bucket CB and conveying the test protocol data units TPDU having the first mark. Upon determination that the number of the tokens ct in the committed bucket CB is less than the number of the test protocol data units TPDU, it is necessary to create a flag that bears a second mark. The second mark is denoted in red. The second mark suggests discarding the test protocol data units TPDU having the second mark. Upon determination that none of the tokens ct is present in the committed bucket CB, it is necessary to determine, again, whether the normal protocol data units NPDU are present in the data queue DQ, until and unless the normal protocol data units NPDU are absent from the data queue DQ. Alternating between the aforesaid judgment processes takes place by means of a loop.
Referring to
Referring to
Referring to
Referring to
Upon determination that the normal protocol data units NPDU are present in the data queue DQ, it is necessary to retrieve the normal protocol data units NPDU from the data queue DQ in sequence and compare, using the algorithm A′, the number of the tokens ct in the committed bucket CB and the number of the tokens et in the excess bucket EB with the number of the normal protocol data units NPDU. Furthermore, a corresponding flag is created in the normal protocol data units NPDU according to the result of the comparison. Upon determination that the number of the normal protocol data units NPDU is less than or equal to the number of the tokens ct in the committed bucket CB but larger than the number of the tokens et in the excess bucket EB, the flag that bears the third mark is created. The third mark is denoted in green. The third mark suggests retrieving the tokens ct, et from the committed bucket CB and/or the excess bucket EB and conveying the normal protocol data units having the third mark. Upon determination that the number of the tokens et in the excess bucket EB is larger than or equal to the number of the normal protocol data units NPDU, the flag that bears the fourth mark is created. The fourth mark is denoted in yellow. The fourth mark suggests retrieving the tokens ct, et from the committed bucket CB and/or the excess bucket EB and conveying the normal protocol data units having the fourth mark. Upon determination that both the number of the tokens et in the excess bucket EB and the number of the tokens ct in the committed bucket CB are less than the number of the normal protocol data units NPDU, the flag that bears the fifth mark is created. The fifth mark is denoted in red. The fifth mark suggests discarding the normal protocol data units having the fifth mark.
Upon determination that the normal protocol data units NPDU are absent from the data queue DQ, it is necessary to retrieve the test protocol data units TPDU from the test queue TQ in sequence, compare, by the algorithm A′, the number of the tokens ct in the committed bucket CB and the number of the tokens et in the excess bucket EB with the number of the test protocol data units TPDU, and create the aforesaid marks.
In the above embodiments, the tokens are introduced into the committed bucket and the excess bucket without exceeding the committed burst size and the excess burst size, respectively. However, in another embodiment, once the committed tokens being introduced into the committed bucket at a committed information rate are about to overflow the committed bucket (that is, when the number of the tokens in the committed bucket exceeds the committed burst size), the tokens will be persistently introduced into the excess bucket at a committed information rate.
Compared with the prior art, the present invention provides a complementary network quality testing method that overcomes a drawback of the prior art, that is, an additional self-contained system is required for sending test protocol data units to conduct a test in a conventional differentiated service framework. Also, the present invention provides one or a plurality of buckets that serve as a determinant basis as to whether to send the normal protocol data units and the test protocol data units to a queuing unit of conditioners of quality of service (QoS conditioners). Preferably, the present invention teaches sending test protocol data units on condition that no normal protocol data unit has been sent but one and/or a plurality of buckets still have tokens, so as to conduct a test on quality of service regarding network-based data transmission.
The present invention is disclosed above by preferred embodiments. Persons skilled in the art understand that the preferred embodiments of the present invention are intended to illustrate the present invention, but are not intended to be restrictive of the scope of the present invention. Hence, all equivalent modifications and replacements made to the foregoing embodiments without departing from the spirit embodied in the disclosure of the present invention should fall within the scope of the present invention as set forth in the appended claims. Hence, the scope of the protection for the present invention shall be defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
099124367 | Jul 2010 | TW | national |