1. Field of the Invention
The present invention relates to a real-time internet error correction, particularly to a correction which adjusts the transmitting speed according to the error rate to reduce packet loss.
2. Description of the Related Art
As the current technology grows rapidly, applications such as 3G mobile phones, real-time net TV and webcams rely on very mature connection technology to work. In order to provide better transmitting quality, the quantity of packet loss must be kept under certain level. As for the prior art, most vendor usually spend lots of effort on improving the hardware quality, however, it is not so effective against real-time connection since internet transmitting error is certainly unavoidable. In addition, not only the cost is high for improving the hardware, it also has the difficulties to implement massively. As no current technology can effectively solve the problem mentioned above, the present invention proposes a simple and cost-effective real-time internet error correction method which can greatly reduce the quantity of packet loss.
The present invention is to provide a real-time internet error correction method, wherein the correction of the present invention reduces the quantity of packet loss by adjusting the transmitting speed during a real-time internet connection according to the error rate detected at receiver side. First, define a periodical time and a past duration. The receiver side will periodically detect the average real-time internet error rate for the past duration and report the result to transmitter side. Then the transmitter side will adjust its transfer speed according to the error rate. The receiver side and transmitter side can exist at same side at same time.
The present invention discloses a real-time internet error correction method, particular to a correction which reduces the quantity of packet loss by adjusting the transmitting speed. As shown in
The following is one of the preferred embodiments for the present invention. Assume within a real-time internet connection, the maximum transmitting speed for the transmitter side is 10 Mb/S and we set the error rate standard not exceeding 10%. When the real-time internet connection starts initially, the transmitter side will transfer its packet with full speed, which is 10 Mb/s. At the same time, the receiver side will start detect and calculate the average real-time internet error rate periodically and report the result to the transmitter side. If the result is greater than 10%, the transmitter side will automatically adjust its transmitting speed to 1 Mb/s. The speed will come back to 10 Mb/s once the transmitter side receives the error rate below 10%. This action will continue until the real-time internet connection terminated. In addition, the user can also set multiple standards. For example, when the error rate exceeds 30%, the transmitter runs at minimum speed, if the error rate is between 10% to 30%, the transmitter will run at medium speed and when the error rate is below 10%, the transmitter will run at full speed respectively.
In order to provide more accurate value for average real-time internet error rate, the present invention further discloses a calculating algorithm called moving average algorithm to calculate the average error rate in which the algorithm defines a periodical time and a past duration. Therefore, the receiver will only calculate the average for the error rate occurred during the past duration periodically instead of calculating the whole average from the beginning of the connection. As shown in
Those embodiments described above are to clarify the present invention to enable the persons skilled in the art to understand, make and use the present invention. However, it is not intended to limit the scope of the present invention, and any equivalent modification and variation according to the spirit of the present invention is to be also included within the scope of the claims of the present invention.