CPC H04L 65/61 (2022.05) [H04L 65/765 (2022.05)] | 20 Claims |
1. A data download method, performed by a computer device, the method comprising:
querying fog node information of a fog node corresponding to target data upon receiving a data download request for the target data, the fog node information comprising a communication protocol type of the fog node;
identifying a target fog node from the fog node based on the fog node information, wherein the computer device supports a bilateral reliable communication protocol, the target fog node comprises a first fog node supporting the bilateral reliable communication protocol and a second fog node supporting a connectionless communication protocol but not the bilateral reliable communication protocol, and the bilateral reliable communication protocol is compatible with the connectionless communication protocol;
slicing the target data to be downloaded according to the communication protocol type of the target fog node to obtain slice information of a data slice to be downloaded, comprising:
selecting the first fog node over the second fog node to determine first slice information of a first data slice to be downloaded corresponding to the first fog node; and
after a single node download concurrency of the first fog node is reached, selecting the second fog node to determine second slice information of a second data slice to be downloaded;
transmitting a slice download request to the target fog node corresponding to the data slice to be downloaded based on the slice information of the data slice to be downloaded; and
obtaining the target data by combining the data slice returned by each target fog node in response to the corresponding slice download request.
|