Abstract

With the rapid development of Internet, not only all kinds of the entertainmentinformation resources increase with exponential order, but also people’s needs are notjust content with text formatting, but to pick up the multimedia contains videos,animations, audios and images, streaming media technology is a kind of multimediatransmission technology which develops in order to adapt to this trend. TraditionalC/S model has been unable to cope with the situation, peer-to-peer (Peer-to-Peer, P2P)technology applies to the multimedia transmission field because of its strongadaptability. However, P2P technology also faces shortcomings of long delay, serveroverloads and unreliable. Facing the challenge, in the knowledge of the existingsystem based on the operation law finds new breakthrough and thus keeps the balanceamong robustness, reliability and delay to achieve low delay, extensible and strongreliability.Ant colony algorithm is a kind of new intelligent optimization methods and canbe used to calculate the combination optimal generation or function optimization andso on. The algorithm itself has advantages of systematic, reliability, strongadaptability and self-organization which make it be widely used in many fields andachieve good optimization effect. In view of the current existing disadvantages ofredundancy news, poor reliability and long delay in the P2P networks, this paperintroduces the optimization idea of the ant colony algorithm to solve the problem.Onthe basis of stating ant colony algorithm principle, characteristics in detail, this paperanalyze that basic ant colony algorithm easily falls into the shortages of localoptimum and search for a long time and improve the two shortages above. The improvement measurewill help to enhance the optimization effect of ant colonyalgorithmand is tested and verified through MATLAB simulation experiment whichshows that the optimized ant colony algorithm in P2P streaming system achieves idealeffect.Aiming at the ant colony algorithm used in P2P streaming media field, in orderto realize the different needs of customers, this paper considersusing different codingstrategies and their related different degrees of delay and transmission rate underdifferent users’ needs, fix the global pheromone of the optimized ant colony algorithmonce more, so that it can be more adaptable to the special field of P2P streamingmedia. This paper proposes a new P2P real-time streaming media system. The systemuses "tree-mesh" hybrid topology structure and achieves good balance mechanism ofusing and adaptingthe optimized ant colony algorithm to realize SPANC in this field.Finally, this paper applies this method to remote communication system.