hottub.patents
US 12,335,337 B2#3517635 Most CitedActiveUnited States (USPTO)Utility

Peer-to-peer network scheduling method and system

0Forward Citations (#3517635 Global)
0.0/yrCitation Velocity (#3517635 Global)
0.00Citation PageRank (#3517635 Global)
26Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Embodiments of this application provide a peer-to-peer network scheduling method. The method includes: obtaining a fragment file list, where the fragment file list includes information about a plurality of fragment files, each fragment file includes one or more segments, and each segment corresponds to one segment number; downloading a missing segment in a target fragment file from another client device based on a downloading progress of downloading each segment of the target fragment file by each client device; and when a player requests the target fragment file, stopping downloading the missing segment in the target fragment file from the another client device, and downloading the missing segment in the target fragment file from a CDN server. According to the embodiments of this application, a computation amount and resource consumption of a Tracker server can be reduced, and data transmission efficiency of a P2P network can be improved.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A peer-to-peer network scheduling method, applied to a client device in a peer-to-peer (P2P) network, comprising: obtaining a fragment file list, wherein the fragment file list comprises information about a plurality of fragment files, each of the plurality of fragment files comprises one or more segments, and each of the one or more segments corresponds to a segment number; determining at least one other client device in the P2P network from which a segment of a target fragment file is to be downloaded based on a downloading progress of downloading each segment of the target fragment file by each of a plurality of client devices in the P2P network, wherein the determining at least one other client device in the P2P network further comprises: obtaining a first downloading progress of downloading each segment by the client device, requesting a second downloading progress of downloading each segment of the target fragment file by the at least one other client devices in the P2P network,

  2. Claim 2Depends on #1

    The peer-to-peer network scheduling method according to claim 1, further comprising: playing the target fragment file by using the player when the target fragment file is completely downloaded.

  3. Claim 3Depends on #1

    The peer-to-peer network scheduling method according to claim 1, comprising: splitting the target fragment file at a predetermined time frequency to obtain a plurality of partial fragments, wherein the plurality of partial fragments comprise a first partial fragment and a second partial fragment; and playing the first partial fragment by using the player when the first partial fragment is completely downloaded.

  4. Claim 4Depends on #1

    The peer-to-peer network scheduling method according to claim 1, wherein the determining at least one other client device in the P2P network from which a segment of a target fragment file is to be downloaded based on a downloading progress of downloading each segment of the target fragment file by each of a plurality of client devices in the P2P network further comprises: determining the at least one other client device based on the first downloading progress and the second downloading progress.

  5. Claim 5Depends on #1

    The peer-to-peer network scheduling method according to claim 1, wherein the requesting a second downloading progress of downloading each segment of the target fragment file by the at least one other client devices in the P2P network comprises: requesting the second downloading progress of downloading each segment of the target fragment file from the at least one other client device based on a request parameter, wherein the request parameter comprises a file name of the target fragment file; and receiving response data from the at least one other client device, wherein the response data indicate the second downloading progress of downloading each segment of the target fragment file by the at least one other client device.

  6. Claim 6Depends on #1

    The peer-to-peer network scheduling method according to claim 1, further comprising: responding to a request from the at least one other client device, and sending a corresponding segment to the at least one other client device; and in response to determining that a quantity of bytes sent to the at least one other client device is greater than a preset threshold, refusing to respond to a data request from the at least one other client device.

  7. Claim 7Depends on #1

    The peer-to-peer network scheduling method according to claim 1, further comprising: obtaining first information, second information, and a quantity of bytes of each segment, wherein the first information indicates a quantity of bytes that are obtained from the at least one other client device, and the second information indicates a quantity of bytes that are sent to the at least one other client device; calculating a first ratio associated with each segment based on the first information and the quantity of bytes of each segment; calculating a second ratio associated with each segment based on the second information and the quantity of bytes of each segment; adjusting a target segment list based on at least one of the first ratio or the second ratio to obtain an adjusted target segment list, wherein the target segment list is configured to comprise at least one target segment number, and at least one target segment corresponding to the at least one target segment number is to be downl

  8. Claim 8Depends on #7

    The peer-to-peer network scheduling method according to claim 7, wherein the adjusting a target segment list based on at least one of the first ratio or the second ratio to obtain an adjusted target segment list comprises: in response to determining that a first ratio of a particular segment is less than a first preset ratio and that a segment number corresponding to the particular segment is not a target segment number in the target segment list, adding the segment number corresponding to the particular segment to the target segment list; and in response to determining that a second ratio of another particular segment is less than a second preset ratio and that a segment number corresponding to the another particular segment is a target segment number in the target segment list, removing the target segment number corresponding to the another particular segment from the target segment list.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION This application is the U.S. National Stage of International Application No. PCT/CN2022/072815, filed on Jan. 19, 2022, which claims priority to Chinese Patent Application No. 202110164671.1, filed on Feb. 5, 2021, and entitled “ PEER-TO-PEER NETWORK SCHEDULING METHOD AND SYSTEM ” , both of which are incorporated herein by reference in their entireties. TECHNICAL FIELD Embodiments of this application relate to the data transmission field, and in particular, to a peer-to-peer network scheduling method and system, a device, and a computer-readable storage medium. BACKGROUND An existing live streaming media P2P distribution system includes a Tracker service, a CDN server, and a client device. In this system, client devices download different segments based on an instruction of the Tracker server, and exchange data with each other to obtain complete content. The Tracker server may learn of a specific segment for which a large quantity of client devices are responsible and a specific segment for which a small quantity of client devices are responsible; when an insufficient quantity of client devices are responsible for a segment, may further add some client devices responsible for the segment; and notifies each client device of a segment for which the client device is responsible currently. However, the Tracker server has a large computing amount and high resource consumption. In addition, the Tracker server cannot learn of a connection status between two client devices and a network status after a connection, which may lead to the following situations: (1) If a client device with a slow uplink speed is responsible for a segment, most client devices may need to download the segment from the CDN server to obtain complete data, resulting in a poor effect of reducing traffic. (2) Because whether a connection is successfully established between two client devices cannot be learned of, scheduling may fail, resulting in a poor effect of r

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (26)

Non-Patent Literature (1)

  • International Patent Application No. PCT/CN2022/072815; Int'l Search Report; dated Apr. 24, 2022; 3 pages.