CN111835801B - File downloading method, device, server, edge equipment, terminal and medium - Google Patents

File downloading method, device, server, edge equipment, terminal and medium Download PDF

Info

Publication number
CN111835801B
CN111835801B CN201910311935.4A CN201910311935A CN111835801B CN 111835801 B CN111835801 B CN 111835801B CN 201910311935 A CN201910311935 A CN 201910311935A CN 111835801 B CN111835801 B CN 111835801B
Authority
CN
China
Prior art keywords
information
edge
segmentation
data
segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910311935.4A
Other languages
Chinese (zh)
Other versions
CN111835801A (en
Inventor
黄松柏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Duyou Information Technology Co ltd
Original Assignee
Beijing Duyou Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Duyou Information Technology Co ltd filed Critical Beijing Duyou Information Technology Co ltd
Priority to CN201910311935.4A priority Critical patent/CN111835801B/en
Publication of CN111835801A publication Critical patent/CN111835801A/en
Application granted granted Critical
Publication of CN111835801B publication Critical patent/CN111835801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/17Interaction among intermediate nodes, e.g. hop by hop

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a file downloading method, a device, a server, edge equipment, a terminal and a medium. The method comprises the following steps: pushing the plurality of segmented data of the target file to a plurality of edge devices; receiving information of the downloaded segmented data uploaded by each edge device; summarizing the information of the downloaded segment data uploaded by each edge device, and generating a segment data storage list, wherein the segment data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; and responding to a target file downloading request of the terminal, transmitting the segmented data storage list to the terminal, so that the terminal downloads segmented data from the edge equipment according to the segmented data storage list and synthesizes the segmented data into the target file. The embodiment of the invention is convenient for maintaining the storage condition of the edge equipment, saves network resources, and improves the file downloading efficiency and the reliability of file downloading.

Description

File downloading method, device, server, edge equipment, terminal and medium
Technical Field
The embodiment of the invention relates to an internet storage technology, in particular to a file downloading method, a device, a server, edge equipment, a terminal and a medium.
Background
The edge device mainly refers to a switch, a router, a routing switch, an IAD and various MAN/WAN devices which are arranged on an edge network, the edge device has a certain storage space, the cost is lower than that of CDN nodes, and the edge device is an important mode of internet storage at present.
Along with the application of the edge device to internet storage, the files stored by the edge device are more and the content is more and more disordered, and how to provide a reliable and efficient file downloading mode for the terminal becomes a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a file downloading method, a device, a server, edge equipment, a terminal and a medium, so as to provide a reliable and efficient file downloading scheme.
In a first aspect, an embodiment of the present invention provides a file downloading method, applied to a server, including:
pushing the plurality of segmented data of the target file to a plurality of edge devices;
receiving information of the downloaded segmented data uploaded by each edge device;
summarizing the information of the downloaded segment data uploaded by each edge device, and generating a segment data storage list, wherein the segment data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored;
And responding to a target file downloading request of the terminal, transmitting the segmented data storage list to the terminal, so that the terminal downloads segmented data from the edge equipment according to the segmented data storage list and synthesizes the segmented data into the target file.
In a second aspect, an embodiment of the present invention further provides a file downloading method, which is applied to an edge device, and includes:
downloading at least one piece of segment data of the target file from the server;
uploading the information of the downloaded segmented data to the server so that the server can summarize the information of the downloaded segmented data uploaded by each edge device to generate a segmented data storage list;
responding to a segmented data downloading request of a terminal, pushing corresponding segmented data to the terminal so that the terminal can synthesize the segmented data into the target file;
the segmented data downloading request is sent by the terminal according to a segmented data storage list to the edge device, and the segmented data storage list comprises: and storing the edge equipment information of each piece of sectional data of the target file.
In a third aspect, an embodiment of the present invention further provides a file downloading method, which is applied to a terminal, and includes:
Sending a target file downloading request to a server, and receiving a segmented data storage list returned by the server, wherein the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored;
according to the segmented data storage list, respectively sending segmented data downloading requests to each edge device corresponding to each edge device information;
and receiving the segment data returned by each edge device and synthesizing the segment data into the target file.
In a fourth aspect, an embodiment of the present invention further provides a file downloading device, which is applied to a server, and includes:
the pushing module is used for pushing the plurality of segmented data of the target file to a plurality of edge devices;
the receiving module is used for receiving the information of the downloaded segmented data uploaded by each edge device;
the generating module is used for summarizing the information of the downloaded segmented data uploaded by each edge device to generate a segmented data storage list, and the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored;
and the sending module is used for responding to a target file downloading request of the terminal, sending the segmented data storage list to the terminal, and enabling the terminal to download segmented data from the edge equipment according to the segmented data storage list and synthesize the segmented data into the target file.
In a fifth aspect, an embodiment of the present invention further provides a file downloading device, which is applied to an edge device, including:
a downloading module for downloading at least one piece of segment data of the target file from the server;
the uploading module is used for uploading the information of the downloaded segmented data to the server so that the server can summarize the information of the downloaded segmented data uploaded by each edge device and generate a segmented data storage list;
the pushing module is used for responding to a segmented data downloading request of the terminal and pushing the corresponding segmented data to the terminal so that the terminal can synthesize the segmented data into the target file;
the segmented data downloading request is sent by the terminal according to a segmented data storage list to the edge device, and the segmented data storage list comprises: and storing the edge equipment information of each piece of sectional data of the target file.
In a sixth aspect, an embodiment of the present invention further provides a file downloading device, which is applied to a terminal, including:
the sending and receiving module is used for sending a target file downloading request to the server and receiving a segmented data storage list returned by the server, wherein the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored;
The sending module is used for respectively sending a segmented data downloading request to each edge device corresponding to each edge device information according to the segmented data storage list;
and the synthesis module is used for receiving the segmented data returned by each edge device and synthesizing the segmented data into the target file.
In a seventh aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the file download method as described in any of the embodiments.
In an eighth aspect, an embodiment of the present invention further provides an edge device, including:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the file download method as described in any of the embodiments.
In a ninth aspect, an embodiment of the present invention further provides a terminal, including:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the file download method as described in any of the embodiments.
In a tenth aspect, an embodiment of the present invention further provides a computer readable storage medium having a computer program stored thereon, wherein the program when executed by a processor implements any of the file downloading methods.
In the embodiment of the invention, the server pushes the plurality of segmented data of the target file to the plurality of edge devices, and the segmented storage mode can improve the safety of the file; the number of the pushed files is increased, so that the coverage rate of the files is increased by times; if the number of the edge devices is increased, the pushing speed policy can be doubled; the server receives the information of the downloaded segmented data uploaded by each edge device, gathers the information of the downloaded segmented data uploaded by each edge device, and generates a segmented data storage list, so that the information of the edge device in which each segmented data of the target file is stored is obtained, and the storage condition of the edge device is convenient to maintain; when the terminal downloads the target file, the segmented data storage list can be provided for the terminal, so that the terminal can download the target file purposefully according to the list, network resources are saved, and file downloading efficiency and file downloading reliability are improved.
Drawings
FIG. 1a is a schematic diagram of a file downloading system according to an embodiment of the present invention;
FIG. 1b is a flowchart of a method for downloading a file according to an embodiment of the present invention;
FIG. 2 is a flowchart of a file downloading method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a file downloading method according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a file downloading method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a file downloading device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a file downloading device according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a file downloading device according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an eighth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1a is a schematic diagram of a file downloading system according to an embodiment of the present invention. The file downloading system shown in fig. 1a includes a server, a plurality of edge devices and a terminal. The server stores a target file to be downloaded by the terminal, and the target file can be any format file, such as a database logic file, a database physical file, a video file, a music file, and the like. The server is communicatively coupled to a plurality of edge devices including, but not limited to, intelligent routers, intelligent speakers, network attached storage (Network Attached Storage, NAS), webcams, and cloud-like storable network devices. The edge device may store the target file segments in a different edge device for the terminal to download from the edge device than the server is closer to the terminal.
Fig. 1b is a flowchart of a file downloading method according to an embodiment of the present invention, where the embodiment may be applicable to a case where a server pushes segmented data to an edge device and provides a downloading manner for a terminal. The method may be performed by a file downloading device, which may be constituted by hardware and/or software and is generally integrated in a server, comprising in particular the following operations:
S110, pushing the segmented data of the target file to a plurality of edge devices.
In this embodiment, the server stores a plurality of files to be downloaded, obtains the heat of each file, and sequentially pushes the segment data of each file to a plurality of edge devices according to the order of the heat from high to low. For convenience of description and distinction, one of the files to be downloaded is taken as a target file, and the file pushing method provided by the embodiment is described in detail.
Firstly, a server segments a target file into a plurality of segment data according to a segment rule, wherein the segment rule comprises a size rule and a quantity rule of the segment data. The size rule and the number rule of the segment data may be determined according to the size of the object file and the number of edge devices. For example, the larger the size of the object file, the larger the size of the segment data may be to ensure that the number of segments is unchanged. And the number of segments may be equal to or greater than the number of edge devices to fully utilize the storage space of each edge device.
The plurality of segmented data is then pushed into a plurality of edge devices. Optionally, the same piece of data is pushed to more than two edge devices for backup storage.
S120, receiving the information of the downloaded segmented data uploaded by each edge device.
Each edge device downloads at least one piece of segment data of the target file from the server and uploads information of the downloaded piece of segment data to the server. The information of the segment data includes the number of the segment data, the hash value of the segment data, and the like. The server receives the information of the downloaded segment data uploaded by each edge device.
And S130, summarizing the information of the downloaded segmented data uploaded by each edge device to generate a segmented data storage list.
Wherein the segmented data store manifest comprises: the segmented data of the target file is stored in the edge device information, which includes, but is not limited to, the media access control (Media Access Control, MAC) address of the edge device, the name and version number of the edge device. For example, edge device 1 uploads the information of downloaded segment data 1-10, edge device 2 uploads the information of downloaded segment data 5-20, and edge device 3 uploads the information of downloaded segment data 21-100. The server performs the integration and then obtains the segment data 1-4 to store in the edge device 1, the segment data 5-10 to store in the edge device 1 and the edge device 2, the segment data 11-20 to store in the edge device 2, and the segment data 21-100 to store in the edge device 3.
And S140, responding to a target file downloading request of the terminal, and sending the segmented data storage list to the terminal so that the terminal can download the segmented data from the edge equipment according to the segmented data storage list and synthesize the segmented data into the target file.
When a terminal needs to download a target file, firstly, sending a target file downloading request to a server; the server responds to the target file downloading request and sends the segmented data storage list to the terminal. The terminal respectively sends a segmented data downloading request to each edge device corresponding to each edge device information according to the segmented data storage list; and receiving the segmented data returned by each edge device and synthesizing the segmented data into a target file.
Specifically, the terminal acquires, from the segment data storage list, edge device information in which each segment data of the target file is stored, for example, segment data 1 to 4 are stored in the edge device 1, segment data 5 to 10 are stored in the edge device 1 and the edge device 2, segment data 11 to 20 are stored in the edge device 2, and segment data 21 to 100 are stored in the edge device 3. Then, a download request of the segment data 1-4 is sent to the edge device 1, a download request of the segment data 5-10 is sent to the edge device 1 or 2, a download request of the segment data 11-20 is sent to the edge device 2, and a download request of the segment data 21-100 is sent to the edge device 3.
Then, the edge device responds to the segmented data downloading request of the terminal and pushes the corresponding segmented data to the terminal. And the terminal receives the segmented data returned by each edge device and synthesizes the segmented data into a target file.
Optionally, the terminal receives the segmented data returned by each edge device according to the network protocol supported by the edge device, and synthesizes the received segmented data into the target file according to the network protocol. Network protocols include, but are not limited to, peer-to-Peer (P2P) protocols, hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP), and the like. Taking the P2P protocol as an example, the terminal is provided with a file downloading application program supporting the P2P protocol, the file downloading application program is started to download the segmented data from the edge equipment, and the segmented data are synthesized according to the sequence of the segmented data.
In the embodiment of the invention, the server pushes the plurality of segmented data of the target file to the plurality of edge devices, and the segmented storage mode can improve the safety of the file; the number of the pushed files is increased, so that the coverage rate of the files is increased by times; if the number of the edge devices is increased, the pushing speed policy can be doubled; the server receives the information of the downloaded segmented data uploaded by each edge device, gathers the information of the downloaded segmented data uploaded by each edge device, and generates a segmented data storage list, so that the information of the edge device in which each segmented data of the target file is stored is obtained, and the storage condition of the edge device is convenient to maintain; when the terminal downloads the target file, the segmented data storage list can be provided for the terminal, so that the terminal can download the target file purposefully according to the list, network resources are saved, and file downloading efficiency and file downloading reliability are improved.
At present, the cost of the edge equipment is lower than that of a content delivery network (Content Delivery Network, CDN), and in a scene of applying a CDN network storage mode, the edge equipment can be adopted to split CDN nodes so as to reduce CDN traffic and reduce network cost. Based on this, in an alternative embodiment, pushing the plurality of segmented data of the target file to the plurality of edge devices includes: and pushing the plurality of segmented data of the target file to a plurality of edge devices in a bandwidth low peak period or a traffic cost low peak period.
Optionally, the bandwidth and the traffic cost of the network are counted in different periods, and the period of the bandwidth low peak period and the period of the traffic cost low peak period are determined according to the bandwidth and the traffic cost low peak period, so that the plurality of segmented data of the target file are pushed to a plurality of edge devices.
In an alternative embodiment, the sending the segment data storage list to the terminal in response to the target file download request of the terminal includes: responding to a target file downloading request of a terminal, and judging whether the current moment is in a bandwidth peak period or a cost peak period; and if the current moment is in the bandwidth peak period or the cost peak period, transmitting the segmented data storage list to the terminal.
Optionally, the time period in which the bandwidth peak period or the cost peak period is located is determined according to the bandwidth and traffic costs of the network counted by different time periods. And responding to the target file downloading request, judging whether the current moment is in the time range of the bandwidth peak period or the cost peak period, and if so, transmitting the segmented data storage list to the terminal. The terminal requests the segment data of the edge device immediately after receiving the segment data storage list. If not, the segment data storage list can be sent to the terminal, or the target file can be directly sent to the terminal through the CDN node.
In the two alternative embodiments, the segmented data is pushed to the edge device through the bandwidth low-peak period or the cost low-peak period, and the segmented data is downloaded in the bandwidth peak period or the cost high-peak period, so that the data volume pushed to the CDN node is reduced, and the CDN cost and flow are reduced; meanwhile, network congestion is reduced, pushing efficiency is improved, and pushing cost is reduced.
Example two
The present embodiment is further optimized based on the optional implementation manners of the foregoing embodiments. Optionally, pushing the multiple piece of segmented data of the target file to multiple edge devices, and "refining" to send piece of segmented information of the multiple piece of segmented data to the multiple edge devices, so that the edge devices can download and store the corresponding piece of segmented data according to the piece of segmented information; receiving the actually received segmentation information fed back by the edge equipment, and determining unreceived segmentation information according to the actually received segmentation information; and sending the unreceived segment information to other edge devices so that the other edge devices can download and store the corresponding segment data according to the segment information, and improving the success rate and the efficiency of segment data pushing by synchronizing the segment information and reassigning the unreceived segment information.
Fig. 2 is a flowchart of a file downloading method according to a second embodiment of the present invention. As shown in fig. 2, the method provided in this embodiment includes the following operations:
s210, sending the segment information of the segment data to a plurality of edge devices, so that the edge devices can download and store the corresponding segment data according to the segment information.
The segmentation information includes, but is not limited to, an offset, size information, and identification of the segmentation data. The identification is, for example, a number of the segment data, a hash value, or the like, for uniquely identifying the segment data.
Optionally, in order to make full use of the edge device, the server obtains the current performance, the current storage space and the current bandwidth of the edge device; according to the segmentation information of the plurality of segmentation data and the current performance, the current storage space and the current bandwidth of the plurality of edge devices, respectively determining the edge device to which the segmentation information of each segmentation data is sent; and sending the corresponding segmentation information to the determined edge equipment.
S220, receiving the actually received segmentation information fed back by the edge equipment, and determining unreceived segmentation information according to the actually received segmentation information.
After the edge equipment receives the segmentation information, on one hand, according to the segmentation information, corresponding segmentation data are downloaded from a server and stored. On the other hand, the actually received segment information is fed back to the server. This is because the originally issued segment information is not successfully received by the edge device due to network failure or edge device failure. The edge device is required to feed back the actually received segmentation information. The server compares the actually received segment information with the originally issued segment information to determine the segment information which is not received.
And S230, sending the unreceived segmentation information to other edge devices so that the other edge devices can download and store the corresponding segmentation data according to the segmentation information.
The other edge devices refer to devices except the edge device to which the non-received segmentation information is originally issued in the plurality of edge devices. Optionally, according to the non-received segment information and the current performance, the current storage space and the current bandwidth of other edge devices, an appropriate edge device is determined, for example, the current storage space is larger than the segment data corresponding to the non-received segment information, and the current performance is normal, and the current bandwidth is larger than the bandwidth threshold.
S240, receiving the information of the downloaded segmented data uploaded by each edge device.
After the edge device downloads the segment data corresponding to the complete partial segment information, or in the process of downloading the segment data, the edge device uploads the information of the downloaded segment data to the server.
S250, summarizing the information of the downloaded segmented data uploaded by each edge device, and generating a segmented data storage list.
And S260, responding to a target file downloading request of the terminal, and transmitting the segmented data storage list to the terminal so that the terminal can download the segmented data from the edge equipment according to the segmented data storage list and synthesize the segmented data into the target file.
In this embodiment, by receiving the actually received segment information fed back by the edge device, determining the unreceived segment information according to the actually received segment information, and sending the unreceived segment information to other edge devices, synchronization of the segment information is achieved, redistribution of the unreceived segment information is achieved, success rate and efficiency of segment data pushing are improved, and efficiency and reliability of file downloading are further improved.
Example III
Fig. 3 is a flowchart of a file downloading method according to a third embodiment of the present invention, where the present embodiment is applicable to a case where an edge device receives segmented data pushed by a server and provides a request for downloading the segmented data to a terminal. The method may be performed by a file downloading device, which may be constituted by hardware and/or software and is generally integrated in an edge device, comprising in particular the following operations:
s310, at least one piece of segment data of the target file is downloaded from a server.
Optionally, the method comprises the steps of receiving the segment information of at least one segment data sent by the server, and downloading and storing the corresponding segment data according to the segment information.
Optionally, after the edge device receives the segment information of at least one segment data sent by the server, feeding back the segment information actually received to the server, so that the server determines the segment information which is not received according to the segment information actually received, and then sends the segment information which is not received to other edge devices, so that the other edge devices can download and store the corresponding segment data according to the segment information.
S320, uploading the information of the downloaded segment data to the server, so that the server can collect the information of the downloaded segment data uploaded by each edge device, and a segment data storage list is generated.
S330, responding to the segmented data downloading request of the terminal, and pushing the corresponding segmented data to the terminal so that the terminal can synthesize the segmented data into a target file.
The segmented data downloading request is sent by the terminal to the edge equipment according to the segmented data storage list, and the segmented data storage list comprises: the respective pieces of segment data of the target file are stored in the edge device information.
In this embodiment, the edge device downloads at least one piece of segment data of the target file from the server, and the mode of segment storage can improve the security of the file; the number of the pushed files is increased, so that the coverage rate of the files is increased by times; if the number of the edge devices is increased, the pushing speed policy can be doubled; the edge equipment uploads the information of the downloaded segmented data to the server so that the server gathers the information of the downloaded segmented data uploaded by each edge equipment to generate a segmented data storage list, so that corresponding segmented data is pushed to the terminal in response to a segmented data downloading request of the terminal, the terminal synthesizes the segmented data into a target file, the terminal can download the target file purposefully according to the list, network resources are saved, and file downloading efficiency and reliability are improved.
Example IV
Fig. 4 is a flowchart of a file downloading method according to a fourth embodiment of the present invention, where the present embodiment is applicable to a case where a terminal downloads a target file from an edge device. The method may be performed by a file downloading device, which may be constituted by hardware and/or software and is generally integrated in a terminal, comprising in particular the following operations:
s410, sending a target file downloading request to the server, and receiving a segmented data storage list returned by the server.
Wherein the segmented data store manifest comprises: the respective pieces of segment data of the target file are stored in the edge device information.
S420, according to the segmented data storage list, sending segmented data downloading requests to the edge devices corresponding to the edge device information.
S430, receiving the segment data returned by each edge device and synthesizing the segment data into a target file.
In this embodiment, the terminal downloads the corresponding segment data to each edge device corresponding to each edge device information according to the segment data storage list sent by the server, instead of directly downloading the segment data to the edge device, so that the download is purposefully performed according to the segment data storage list, network resources are saved, and file downloading efficiency and reliability are improved.
Example five
Fig. 5 is a schematic structural diagram of a file downloading device according to a fifth embodiment of the present invention, where the embodiment of the present invention is suitable for a case that a server pushes segmented data to an edge device and provides a downloading manner for a terminal. The file downloading device is applied to a server and comprises: a pushing module 51, a receiving module 52, a generating module 53 and a sending module 54.
A pushing module 51, configured to push the plurality of segment data of the target file to a plurality of edge devices;
a receiving module 52, configured to receive the information of the downloaded segment data uploaded by each edge device;
the generating module 53 is configured to aggregate the information of the downloaded segment data uploaded by each edge device, and generate a segment data storage list, where the segment data storage list includes: the edge equipment information of each piece of segmented data of the target file is stored;
and the sending module 54 is configured to send the segment data storage list to the terminal in response to the target file downloading request of the terminal, so that the terminal downloads the segment data from the edge device according to the segment data storage list and synthesizes the segment data into the target file.
In the embodiment of the invention, the server pushes the plurality of segmented data of the target file to the plurality of edge devices, and the segmented storage mode can improve the safety of the file; the number of the pushed files is increased, so that the coverage rate of the files is increased by times; if the number of the edge devices is increased, the pushing speed policy can be doubled; the server receives the information of the downloaded segmented data uploaded by each edge device, gathers the information of the downloaded segmented data uploaded by each edge device, and generates a segmented data storage list, so that the information of the edge device in which each segmented data of the target file is stored is obtained, and the storage condition of the edge device is convenient to maintain; when the terminal downloads the target file, the segmented data storage list can be provided for the terminal, so that the terminal can download the target file purposefully according to the list, network resources are saved, and file downloading efficiency and file downloading reliability are improved.
Optionally, the pushing module 51 is specifically configured to, when pushing the plurality of segment data of the target file to the plurality of edge devices: and pushing the plurality of segmented data of the target file to a plurality of edge devices in a bandwidth low peak period or a traffic cost low peak period. The sending module 54 is specifically configured to, when sending the segment data storage list to the terminal in response to the target file download request of the terminal: responding to a target file downloading request of a terminal, and judging whether the current moment is in a bandwidth peak period or a cost peak period; and if the current moment is in the bandwidth peak period or the cost peak period, transmitting the segmented data storage list to the terminal.
Optionally, the pushing module 51 is specifically configured to, when pushing the plurality of segment data of the target file to the plurality of edge devices: transmitting the segment information of the segment data to a plurality of edge devices, so that the edge devices can download and store the corresponding segment data according to the segment information; receiving the actually received segmentation information fed back by the edge equipment, and determining unreceived segmentation information according to the actually received segmentation information; and sending the unreceived segmentation information to other edge devices so that the other edge devices can download and store the corresponding segmentation data according to the segmentation information.
The file downloading device provided by the embodiment of the invention can execute the file downloading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 6 is a schematic structural diagram of a file downloading device according to a sixth embodiment of the present invention, where the embodiment of the present invention is suitable for a situation that an edge device receives segmented data pushed by a server and provides a request for downloading the segmented data for a terminal. The file downloading device is applied to the edge equipment and comprises the following components: a download module 61, an upload module 62 and a push module 63.
A download module 61 for downloading at least one piece of segment data of the target file from the server;
the uploading module 62 is configured to upload the information of the downloaded segment data to the server, so that the server gathers the information of the downloaded segment data uploaded by each edge device, and generate a segment data storage list;
a pushing module 63, configured to respond to a segmented data downloading request of the terminal, and push corresponding segmented data to the terminal, so that the terminal synthesizes the segmented data into a target file;
the segmented data downloading request is sent by the terminal to the edge equipment according to the segmented data storage list, and the segmented data storage list comprises: the respective pieces of segment data of the target file are stored in the edge device information.
In this embodiment, the edge device downloads at least one piece of segment data of the target file from the server, and the mode of segment storage can improve the security of the file; the number of the pushed files is increased, so that the coverage rate of the files is increased by times; if the number of the edge devices is increased, the pushing speed policy can be doubled; the edge equipment uploads the information of the downloaded segmented data to the server so that the server gathers the information of the downloaded segmented data uploaded by each edge equipment to generate a segmented data storage list, so that corresponding segmented data is pushed to the terminal in response to a segmented data downloading request of the terminal, the terminal synthesizes the segmented data into a target file, the terminal can download the target file purposefully according to the list, network resources are saved, and file downloading efficiency and reliability are improved.
Alternatively, the downloading module 61 is specifically configured to, when downloading at least one piece of segment data of the target file from the server: and receiving the segmentation information of at least one piece of segmentation data sent by the server, and downloading and storing the corresponding piece of segmentation data according to the segmentation information.
Alternatively, the downloading module 61 is specifically configured to, when downloading at least one piece of segment data of the target file from the server: receiving segmentation information of at least one piece of segmentation data sent by a server; and feeding back the actually received segment information to the server so that the server can determine unreceived segment information according to the actually received segment information, and then the unreceived segment information is sent to other edge devices so that the other edge devices can download and store the corresponding segment data according to the segment information.
The file downloading device provided by the embodiment of the invention can execute the file downloading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example seven
Fig. 7 is a schematic structural diagram of a file downloading device according to a seventh embodiment of the present invention, where the embodiment of the present invention is applicable to a case where a terminal downloads a target file from an edge device. The file downloading device is applied to the terminal and comprises: a transmitting-receiving module 71, a transmitting module 72, and a synthesizing module 73.
The sending and receiving module 71 is configured to send a target file downloading request to a server, and receive a segment data storage list returned by the server, where the segment data storage list includes: the edge equipment information of each piece of segmented data of the target file is stored;
a sending module 72, configured to send a segment data download request to each edge device corresponding to each edge device information according to the segment data storage list;
and the synthesizing module 73 is used for receiving the segment data returned by each edge device and synthesizing the segment data into a target file.
In this embodiment, the terminal downloads the corresponding segment data to each edge device corresponding to each edge device information according to the segment data storage list sent by the server, instead of directly downloading the segment data to the edge device, so that the download is purposefully performed according to the segment data storage list, network resources are saved, and file downloading efficiency and reliability are improved.
Optionally, when receiving the segment data returned by each edge device and synthesizing the segment data into the target file, the synthesizing module 73 is specifically configured to receive the segment data returned by each edge device according to the network protocol supported by the edge device, and synthesize the received segment data into the target file according to the network protocol.
The file downloading device provided by the embodiment of the invention can execute the file downloading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example eight
Fig. 8 shows a block diagram of an exemplary server 12 suitable for use in implementing embodiments of the present invention. The server 12 shown in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 8, the server 12 is in the form of a general purpose computing device. The components of server 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Server 12 typically includes a variety of computer system readable media. Such media can be any available media that can be accessed by the server and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard disk drive"). Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The server 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, camera, etc.), one or more devices that enable a user to interact with the server 12, and/or any devices (e.g., network card, modem, etc.) that enable the server 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the server 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via a network adapter 20. As shown, network adapter 20 communicates with the other modules of server 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with server 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a file download method provided by an embodiment of the present invention. For example, pushing a plurality of segmented data of the target file into a plurality of edge devices; receiving information of the downloaded segmented data uploaded by each edge device; summarizing the information of the downloaded segment data uploaded by each edge device to generate a segment data storage list, wherein the segment data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; and responding to the target file downloading request of the terminal, and sending the segmented data storage list to the terminal so that the terminal can download the segmented data from the edge equipment according to the segmented data storage list and synthesize the segmented data into the target file.
The present embodiment also provides an edge device, the structure of which refers to fig. 8, and the above description in the present embodiment, except that the processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, to implement the file downloading method provided by the embodiment of the present invention, for example: downloading at least one piece of segment data of the target file from the server; uploading the information of the downloaded segmented data to a server, so that the server gathers the information of the downloaded segmented data uploaded by each edge device, and a segmented data storage list is generated; responding to a segmented data downloading request of the terminal, pushing corresponding segmented data to the terminal so that the terminal can synthesize the segmented data into a target file; the segmented data downloading request is sent by the terminal to the edge equipment according to the segmented data storage list, and the segmented data storage list comprises: the respective pieces of segment data of the target file are stored in the edge device information.
The present embodiment also provides a terminal having a structure referring to fig. 8, and the above description in the present embodiment, except that the processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, to implement the file downloading method provided by the embodiment of the present invention, for example: sending a target file downloading request to a server, and receiving a segmented data storage list returned by the server, wherein the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; according to the segmented data storage list, respectively sending segmented data downloading requests to the edge devices corresponding to the edge device information; and receiving the segmented data returned by each edge device and synthesizing the segmented data into a target file.
Example nine
The ninth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the file downloading method of any of the embodiments. For example, pushing a plurality of segmented data of the target file into a plurality of edge devices; receiving information of the downloaded segmented data uploaded by each edge device; summarizing the information of the downloaded segment data uploaded by each edge device to generate a segment data storage list, wherein the segment data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; and responding to the target file downloading request of the terminal, and sending the segmented data storage list to the terminal so that the terminal can download the segmented data from the edge equipment according to the segmented data storage list and synthesize the segmented data into the target file. For another example, at least one piece of segment data of the target file is downloaded from the server; uploading the information of the downloaded segmented data to a server, so that the server gathers the information of the downloaded segmented data uploaded by each edge device, and a segmented data storage list is generated; responding to a segmented data downloading request of the terminal, pushing corresponding segmented data to the terminal so that the terminal can synthesize the segmented data into a target file; the segmented data downloading request is sent by the terminal to the edge equipment according to the segmented data storage list, and the segmented data storage list comprises: the respective pieces of segment data of the target file are stored in the edge device information. For another example, a target file download request is sent to a server, and a segment data storage list returned by the server is received, where the segment data storage list includes: the edge equipment information of each piece of segmented data of the target file is stored; according to the segmented data storage list, respectively sending segmented data downloading requests to the edge devices corresponding to the edge device information; and receiving the segmented data returned by each edge device and synthesizing the segmented data into a target file.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (11)

1. A method for downloading a file, applied to a server, comprising:
dividing the target file into a plurality of segment data according to a segment rule; the segmentation rules comprise size rules and quantity rules of the segmentation data, wherein the size rules and the quantity rules of the segmentation data are determined according to the size of the target file and the quantity of the edge devices;
pushing the plurality of segmented data of the target file to a plurality of edge devices, comprising: acquiring the current performance, the current storage space and the current bandwidth of a plurality of edge devices; according to the segmentation information of the plurality of segmentation data, the current performance, the current storage space and the current bandwidth of the plurality of edge devices, respectively determining the edge device to which the segmentation information of each segmentation data is sent; transmitting corresponding segmentation information to the determined edge equipment, so that the plurality of edge equipment can download and store corresponding segmentation data according to the segmentation information; wherein the segmentation information comprises an offset, size information and an identifier;
receiving actually received segmentation information fed back by each edge device, and determining unreceived segmentation information according to the actually received segmentation information;
Transmitting the non-received segment information to other edge devices, so that the other edge devices can download and store corresponding segment data according to the non-received segment information; the other edge devices refer to devices except for the edge device to which the non-received segmentation information is initially sent in the plurality of edge devices;
summarizing the information of the downloaded segment data uploaded by each edge device, and generating a segment data storage list, wherein the segment data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; the edge equipment information comprises a media intervention control layer address of the edge equipment, a name of the edge equipment and a version number of the edge equipment;
and responding to a target file downloading request of a terminal, sending the segmented data storage list to the terminal, so that the terminal downloads segmented data from the edge equipment according to the segmented data storage list and synthesizes the segmented data into the target file according to a network protocol supported by the edge equipment.
2. The method of claim 1, wherein pushing the plurality of segmented data of the target file to the plurality of edge devices comprises:
Pushing a plurality of segmented data of the target file to a plurality of edge devices in a bandwidth low-peak period or a traffic cost low-peak period;
the step of responding to the target file downloading request of the terminal and sending the segmented data storage list to the terminal comprises the following steps:
responding to a target file downloading request of a terminal, and judging whether the current moment is in a bandwidth peak period or a cost peak period;
and if the current moment is in the bandwidth peak period or the cost peak period, transmitting the segmented data storage list to the terminal.
3. A method for downloading a file, applied to an edge device, comprising:
receiving segmentation information of at least one piece of segmentation data sent by a server;
downloading at least one piece of segment data of the target file from the server according to the segment information; the method comprises the steps that the target file is segmented according to segmentation rules, wherein the segmentation rules comprise size rules and quantity rules of the segmentation data, and the size rules and quantity rules of the segmentation data are determined according to the size of the target file and the quantity of edge equipment; the at least one piece of segment data is determined by respectively determining segment information of each piece of segment data according to segment information of a plurality of pieces of segment data and current performances, current storage space and current bandwidth of a plurality of pieces of edge equipment, wherein the segment information comprises offset, size information and identification;
Feeding back the actually received segment information to the server so that the server can determine unreceived segment information according to the actually received segment information, and then sending the unreceived segment information to other edge devices so that the other edge devices can download and store corresponding segment data according to the unreceived segment information; the other edge devices refer to devices except for the edge device to which the non-received segmentation information is initially sent in the plurality of edge devices; uploading the information of the downloaded segmented data to the server so that the server can summarize the information of the downloaded segmented data uploaded by each edge device to generate a segmented data storage list;
responding to a segmented data downloading request of a terminal, pushing corresponding segmented data to the terminal, so that the terminal can synthesize the segmented data into the target file according to a network protocol supported by the edge equipment;
the segmented data downloading request is sent by the terminal according to a segmented data storage list to the edge device, and the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; the edge device information comprises a media intervention control layer address of the edge device, a name of the edge device and a version number of the edge device.
4. The file downloading method is characterized by being applied to a terminal and comprising the following steps of:
sending a target file downloading request to a server, and receiving a segmented data storage list returned by the server; the segment data storage list is generated by the server receiving the actually received segment information fed back by each edge device, determining unreceived segment information according to the actually received segment information, and sending the unreceived segment information to other edge devices so that the other edge devices can download and store corresponding segment data according to the unreceived segment information, and further summarizing the information of the downloaded segment data uploaded by each edge device; the other edge devices refer to devices except the edge device to which the non-received segmentation information is initially sent in the plurality of edge devices; the segment data store inventory includes: the edge equipment information of each piece of segmented data of the target file is stored;
the edge equipment information comprises a media intervention control layer address of the edge equipment, a name of the edge equipment and a version number of the edge equipment; the segmentation data segments the target file according to segmentation rules, wherein the segmentation rules comprise size rules and quantity rules of the segmentation data, and the size rules and quantity rules of the segmentation data are determined according to the size of the target file and the quantity of edge devices; the method comprises the steps that the segmentation data are determined by respectively determining segmentation information of each piece of segmentation data according to segmentation information of a plurality of pieces of segmentation data and current performances, current storage space and current bandwidth of a plurality of pieces of edge equipment, wherein the segmentation information comprises offset, size information and identification;
According to the segmented data storage list, respectively sending segmented data downloading requests to each edge device corresponding to each edge device information;
and receiving the segmented data returned by each edge device, and synthesizing the segmented data into the target file according to the network protocol supported by each edge device.
5. A file downloading apparatus, applied to a server, comprising:
the pushing module is used for dividing the target file into a plurality of segment data according to the segmentation rule; the segmentation rules comprise size rules and quantity rules of the segmentation data, wherein the size rules and the quantity rules of the segmentation data are determined according to the size of the target file and the quantity of the edge devices; pushing the plurality of segmented data of the target file to a plurality of edge devices;
the pushing module is specifically configured to obtain current performances, current storage spaces and current bandwidths of the plurality of edge devices; according to the segmentation information of the plurality of segmentation data, the current performance, the current storage space and the current bandwidth of the plurality of edge devices, respectively determining the edge device to which the segmentation information of each segmentation data is sent; transmitting corresponding segmentation information to the determined edge equipment, so that the plurality of edge equipment can download and store corresponding segmentation data according to the segmentation information; wherein the segmentation information comprises an offset, size information and an identifier;
The receiving module is used for receiving the actually received segmentation information fed back by each edge device and determining unreceived segmentation information according to the actually received segmentation information; transmitting the non-received segment information to other edge devices, so that the other edge devices can download and store corresponding segment data according to the non-received segment information; the other edge devices refer to devices except for the edge device to which the non-received segmentation information is initially sent in the plurality of edge devices;
the generating module is used for summarizing the information of the downloaded segmented data uploaded by each edge device to generate a segmented data storage list, and the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; the edge equipment information comprises a media intervention control layer address of the edge equipment, a name of the edge equipment and a version number of the edge equipment;
and the sending module is used for responding to a target file downloading request of the terminal, sending the segmented data storage list to the terminal, so that the terminal can download segmented data from the edge equipment according to the segmented data storage list and synthesize the segmented data into the target file according to a network protocol supported by the edge equipment.
6. A file downloading apparatus, for use with an edge device, comprising:
the segment information receiving module is used for receiving segment information of at least one segment data sent by the server;
a downloading module, configured to download at least one piece of segment data of a target file from the server according to the segment information; the method comprises the steps that the target file is segmented according to segmentation rules, wherein the segmentation rules comprise size rules and quantity rules of the segmentation data, and the size rules and quantity rules of the segmentation data are determined according to the size of the target file and the quantity of edge equipment; the at least one piece of segment data is determined by respectively determining segment information of each piece of segment data according to segment information of a plurality of pieces of segment data and current performances, current storage space and current bandwidth of a plurality of pieces of edge equipment, wherein the segment information comprises offset, size information and identification;
the distribution module is used for feeding back the actually received segmentation information to the server so that the server can determine unreceived segmentation information according to the actually received segmentation information, and then the unreceived segmentation information is sent to other edge devices so that the other edge devices can download and store corresponding segmentation data according to the unreceived segmentation information; the other edge devices refer to devices except for the edge device to which the non-received segmentation information is initially sent in the plurality of edge devices;
The uploading module is used for uploading the information of the downloaded segmented data to the server so that the server can summarize the information of the downloaded segmented data uploaded by each edge device and generate a segmented data storage list;
the pushing module is used for responding to a segmented data downloading request of the terminal and pushing corresponding segmented data to the terminal so that the terminal can synthesize the segmented data into the target file according to a network protocol supported by the edge equipment;
the segmented data downloading request is sent by the terminal according to a segmented data storage list to the edge device, and the segmented data storage list comprises: the edge equipment information of each piece of segmented data of the target file is stored; the edge device information comprises a media intervention control layer address of the edge device, a name of the edge device and a version number of the edge device.
7. A file downloading apparatus, applied to a terminal, comprising:
the sending and receiving module is used for sending a target file downloading request to the server and receiving a segmented data storage list returned by the server; the segment data storage list is generated by the server receiving the actually received segment information fed back by each edge device, determining unreceived segment information according to the actually received segment information, and sending the unreceived segment information to other edge devices so that the other edge devices can download and store corresponding segment data according to the unreceived segment information, and further summarizing the information of the downloaded segment data uploaded by each edge device; the other edge devices refer to devices except the edge device to which the non-received segmentation information is initially sent in the plurality of edge devices; the segment data store inventory includes: the edge equipment information of each piece of segmented data of the target file is stored;
The edge equipment information comprises a media intervention control layer address of the edge equipment, a name of the edge equipment and a version number of the edge equipment; the segmentation data segments the target file according to segmentation rules, wherein the segmentation rules comprise size rules and quantity rules of the segmentation data, and the size rules and quantity rules of the segmentation data are determined according to the size of the target file and the quantity of edge devices; the method comprises the steps that the segmentation data are determined by respectively determining segmentation information of each piece of segmentation data according to segmentation information of a plurality of pieces of segmentation data and current performances, current storage space and current bandwidth of a plurality of pieces of edge equipment, wherein the segmentation information comprises offset, size information and identification;
the sending module is used for respectively sending a segmented data downloading request to each edge device corresponding to each edge device information according to the segmented data storage list;
and the synthesizing module is used for receiving the segmented data returned by each edge device and synthesizing the segmented data into the target file according to the network protocol supported by each edge device.
8. A server, comprising:
one or more processors;
a memory for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the file downloading method as recited in any of claims 1-2.
9. An edge device, comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the file downloading method as recited in claim 3.
10. A terminal, comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the file downloading method as recited in claim 4.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a file downloading method according to any of claims 1-4.
CN201910311935.4A 2019-04-18 2019-04-18 File downloading method, device, server, edge equipment, terminal and medium Active CN111835801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910311935.4A CN111835801B (en) 2019-04-18 2019-04-18 File downloading method, device, server, edge equipment, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910311935.4A CN111835801B (en) 2019-04-18 2019-04-18 File downloading method, device, server, edge equipment, terminal and medium

Publications (2)

Publication Number Publication Date
CN111835801A CN111835801A (en) 2020-10-27
CN111835801B true CN111835801B (en) 2023-11-14

Family

ID=72915211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910311935.4A Active CN111835801B (en) 2019-04-18 2019-04-18 File downloading method, device, server, edge equipment, terminal and medium

Country Status (1)

Country Link
CN (1) CN111835801B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645288B (en) * 2021-08-02 2023-03-28 北京金山云网络技术有限公司 Data downloading method and device, computer equipment and storage medium
CN114884938A (en) * 2022-07-11 2022-08-09 深圳瑞力网科技有限公司 Method for adaptively processing downloaded file by cloud server and corresponding server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227460A (en) * 2007-01-19 2008-07-23 秦晨 Method for uploading and downloading distributed document and apparatus and system thereof
CN106686083A (en) * 2016-12-29 2017-05-17 北京奇艺世纪科技有限公司 Video file downloading method and device
CN106998367A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of document down loading method and mobile terminal
CN108664223A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of distributed storage method, device, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2273657C (en) * 1999-05-05 2010-09-21 Nortel Networks Corporation Telephony and data network services at a telephone
CN103634361B (en) * 2012-08-28 2018-07-20 腾讯科技(深圳)有限公司 The method and apparatus for downloading file
CN104010015A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 File transmission system, policy server, terminal and file transmission method
US11659057B2 (en) * 2017-04-19 2023-05-23 Comcast Cable Communications, Llc Methods and systems for content delivery using server push

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227460A (en) * 2007-01-19 2008-07-23 秦晨 Method for uploading and downloading distributed document and apparatus and system thereof
CN106686083A (en) * 2016-12-29 2017-05-17 北京奇艺世纪科技有限公司 Video file downloading method and device
CN106998367A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of document down loading method and mobile terminal
CN108664223A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of distributed storage method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111835801A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US10331501B2 (en) USB device redirection for remote systems
US9426244B2 (en) Content delivery in a network
US7539762B2 (en) Method, system and program product for determining an initial number of connections for a multi-source file download
US20170164020A1 (en) Content delivery method for content delivery network platform and scheduling proxy server
CN112714192B (en) Data synchronization method and device, computer readable medium and electronic equipment
US10331613B2 (en) Methods for enabling direct memory access (DMA) capable devices for remote DMA (RDMA) usage and devices therof
CN109521956B (en) Cloud storage method, device, equipment and storage medium based on block chain
US20130232187A1 (en) Systems and methods for managing data in a networked communication system
WO2022111027A1 (en) Video acquisition method, electronic device, and storage medium
CN110557439B (en) Network content management method and block chain content network platform
CN111352889A (en) Equipment management method, equipment, device and medium based on MCTP (Multi-port technology protocol)
CN113115120B (en) Video slicing method and device, electronic equipment and storage medium
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN111835801B (en) File downloading method, device, server, edge equipment, terminal and medium
WO2017095820A1 (en) Methods and devices for acquiring data using virtual machine and host machine
JP2019016042A (en) Data acquisition program, device, and method
CN110545230B (en) Method and device for forwarding VXLAN message
CN109525622B (en) Fragment resource ID generation method, resource sharing method, device and electronic equipment
CN109889922B (en) Method, device, equipment and storage medium for forwarding streaming media data
KR20150131327A (en) Network transmission adjustment based on application-provided transmission metadata
CN112689020B (en) Message transmission method, message middleware, electronic equipment and storage medium
US10049001B1 (en) Dynamic error correction configuration
US20160357875A1 (en) Techniques for promoting and viewing social content written by nearby people
CN113163003A (en) File transmission method, cloud server, client and fog node router
CN110198349B (en) File transmission method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231007

Address after: Room 219, floor 2, building 4, courtyard 1, Shangdi East Road, Haidian District, Beijing 100085

Applicant after: Beijing Duyou Information Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant