Abstract:
A receiving method for multi-cast packets includes the steps of creating a plurality of buffer partitions in a memory; for writing the received multi-cast packets that belong to a same data block into the same buffer partition in sequence; decompressing and combining all the multi-cast packets in the completely received buffer partition into the data block that the multi-cast packets belong to, writing the combined data block into a storage device, and emptying the completely received buffer partition, when the multi-cast packets that belong to the data block in any buffer partition are received completely; and transmitting a retransmission request to a transmitting end for any buffer partition that is not empty and in which the multi-cast packets that belong to the data block are not received completely.
Abstract:
A transmission speed controlling method for multi-cast packets includes the steps of calculating a standard time, and recording an accumulated error time; transmitting one of the multi-cast packets, and calculating a transmission time of the transmitted multi-cast packet; calculating a difference between the standard time and the transmission time, recording the difference as a current error time, adding the accumulated error time and the current error time, and recording the add result as a preset sleep time; and performing the following steps when the preset sleep time is greater than an error threshold value, wherein the following steps are sleeping for the preset sleep time; being awaked from sleep, and calculating a practical sleep time; calculating a new accumulated error time by subtracting the practical sleep time from the preset sleep time; and returning to the first step to transmit the next one of the multi-cast packets.
Abstract:
A receiving method for multi-cast packets includes the steps of creating a plurality of buffer partitions in a memory; for writing the received multi-cast packets that belong to a same data block into the same buffer partition in sequence; decompressing and combining all the multi-cast packets in the completely received buffer partition into the data block that the multi-cast packets belong to, writing the combined data block into a storage device, and emptying the completely received buffer partition, when the multi-cast packets that belong to the data block in any buffer partition are received completely; and transmitting a retransmission request to a transmitting end for any buffer partition that is not empty and in which the multi-cast packets that belong to the data block are not received completely.
Abstract:
A transmission speed controlling method for multi-cast packets includes the steps of calculating a standard time, and recording an accumulated error time; transmitting one of the multi-cast packets, and calculating a transmission time of the transmitted multi-cast packet; calculating a difference between the standard time and the transmission time, recording the difference as a current error time, adding the accumulated error time and the current error time, and recording the add result as a preset sleep time; and performing the following steps when the preset sleep time is greater than an error threshold value, wherein the following steps are sleeping for the preset sleep time; being awaked from sleep, and calculating a practical sleep time; calculating a new accumulated error time by subtracting the practical sleep time from the preset sleep time; and returning to the first step to transmit the next one of the multi-cast packets.
Abstract:
An installing method for an image file is capable of more effectively installing the image file in a computer. The installing method includes the following steps that a wire network connection between the computer and an image file server is made; the image file is downloaded from the image file server to the computer by using the wire network connection; the wire network connection is closed, and the image file is decompressed and installed to the computer; a wireless network connection between the computer and the image file server is made; and an installation result and an install log of the computer are returned by using the wireless network connection.
Abstract:
A multi-cast download method for downloading an image file is applicable to downloading the image file from an image file server to a computer. The multi-cast download method includes the steps of establishing a wire network connection and a wireless network connection in the computer, in which the wire network connection connects the computer and the image file server; and simultaneously performing a retransmitted packet receiving process and the following steps. The image file is downloaded from the image file server to the computer in a multicast manner by using the wire network connection. When a lost packet is detected, a packet retransmitting request corresponding to the lost packet is sent by using the wireless network connection and Transmission Control Protocol (TIC).