{'fraction_non_alphanumeric': 0.027497708524289642, 'fraction_numerical': 0.0018331805682859762, 'mean_word_length': 5.134831460674158, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
An upload bandwidth allocation algorithm in data scheduling of P2P VoD system

In peer-to-peer video-on-demand (P2P VoD) streaming system, bandwidth is one of the most important resources. Making full use of peers' bandwidth is critical to enhance the quality of service (QoS). Thus, it is essential to design a reasonable bandwidth allocation scheme in data scheduling process. However, many data scheduling schemes do not consider bandwidth allocation in detail and have no specific bandwidth allocation schemes, which leads to the serious polarization of bandwidth allocation and unfair allocation problem. Focusing on the problem, we first present a bandwidth demand model (BDM). Based on the BDM, we apply the video dividing method to divide the video data, and according to the prefetched data and the BDM, at last we design an upload bandwidth allocation algorithm (UBAA). Simulations demonstrate that compared with LRF and RS scheme, our proposed UBAA has higher bandwidth utilization of peers, and can significantly reduce the server bandwidth costs and shorten the startup latency.