CN117278546A - Large file downloading method and terminal - Google Patents

Large file downloading method and terminal Download PDF

Info

Publication number
CN117278546A
CN117278546A CN202311141113.9A CN202311141113A CN117278546A CN 117278546 A CN117278546 A CN 117278546A CN 202311141113 A CN202311141113 A CN 202311141113A CN 117278546 A CN117278546 A CN 117278546A
Authority
CN
China
Prior art keywords
file
information
fragment
downloading
client
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.)
Pending
Application number
CN202311141113.9A
Other languages
Chinese (zh)
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.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information 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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN202311141113.9A priority Critical patent/CN117278546A/en
Publication of CN117278546A publication Critical patent/CN117278546A/en
Pending legal-status Critical Current

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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/10015Access to distributed or replicated servers, e.g. using brokers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

According to the large file downloading method and the large file downloading terminal, the original file in the file server is subjected to virtual slicing to obtain the slicing information, the index file is generated according to the slicing information and the downloading source information, and the client side can select other client sides of the downloaded slice files to update through the downloading source information, namely the client side can provide downloading service for other client sides after downloading the corresponding slice files. When the multiple clients download the same large file, if the more the clients participate in the downloading, the more target resource ends capable of providing the downloading service are, the faster the downloading speed of the original file is, so that the efficiency of simultaneously downloading the large file by the multiple clients is greatly improved, and the time of batch updating and upgrading of the multiple clients is shortened.

Description

Large file downloading method and terminal
Technical Field
The present invention relates to the field of file downloading technologies, and in particular, to a method and a terminal for downloading a large file.
Background
Currently, the cloud terminal can directly download an original file from a file server through an HTTP/HTTPS download address to update and upgrade. While the size of the relevant original files for upgrading the cloud terminal is usually hundreds of megabytes or even several gigabytes. When a plurality of cloud terminals need to be updated in batches, each cloud terminal takes a quite long time to download an original file from a file server. If the downloading is interrupted due to the network in the original file downloading process, the original file is required to be downloaded again, the file downloading mode brings great difficulty to the upgrading and maintenance of the cloud terminals, the situation that large files need to be transferred exists between the cloud terminals, and similar problems exist in the case that the large files are directly downloaded.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the large file downloading method and the terminal are provided, and the large file is downloaded rapidly, so that the batch updating and upgrading time of the cloud terminal is shortened.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method of large file download, comprising:
the file server receives an original file, virtually fragments the original file to obtain fragment information, and generates an index file according to the fragment information and downloading source information;
the client determines a target resource end according to the downloading source information, and downloads a fragment file corresponding to the fragment information from the target resource end for upgrading; all the fragment files form the original file;
the target resource end comprises the file server or other clients which have downloaded the clip files.
In order to solve the technical problems, the invention adopts another technical scheme that:
a large file downloading terminal comprises a file server and a client; the file server includes a first memory, a first processor, and a first computer program stored on the first memory and running on the first processor; the client comprises a second memory, a second processor and a second computer program stored on the second memory and running on the second processor, and the first processor realizes the following steps when executing the first computer program:
receiving an original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and downloading source information;
the second processor, when executing the second computer program, performs the steps of:
determining a target resource end according to the downloading source information, and downloading a fragment file corresponding to the fragment information from the target resource end for upgrading; all the fragment files form the original file; the target resource end comprises the file server or other clients which have downloaded the clip files.
The invention has the beneficial effects that: the method comprises the steps that the original file in a file server is subjected to virtual slicing to obtain slicing information, an index file is generated according to the slicing information and downloading source information, and a client side selects other client sides of the file server or downloaded slice files to update through the downloading source information, namely the client side can provide downloading services for other client sides after downloading the corresponding slice files. When the multiple clients download the same large file, if the more the clients participate in the downloading, the more target resource ends capable of providing the downloading service are, the faster the downloading speed of the original file is, so that the efficiency of simultaneously downloading the large file by the multiple clients is greatly improved, and the time of batch updating and upgrading of the multiple clients is shortened.
Drawings
FIG. 1 is a flow chart of steps of a method for downloading a large file according to an embodiment of the present invention;
FIG. 2 is a data interaction diagram of a method for downloading a large file according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a large file downloading terminal according to an embodiment of the present invention;
description of the reference numerals:
1. a file server; 2. a client; 101. a first memory; 102. a first processor; 201. a second memory; 202. a second processor.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a method for downloading a large file, including:
the file server receives an original file, virtually fragments the original file to obtain fragment information, and generates an index file according to the fragment information and downloading source information;
the client determines a target resource end according to the downloading source information, and downloads a fragment file corresponding to the fragment information from the target resource end for upgrading; all the fragment files form the original file;
the target resource end comprises the file server or other clients which have downloaded the clip files.
From the above description, the beneficial effects of the invention are as follows: the method comprises the steps that the original file in a file server is subjected to virtual slicing to obtain slicing information, an index file is generated according to the slicing information and downloading source information, and a client side selects other client sides of the file server or downloaded slice files to update through the downloading source information, namely the client side can provide downloading services for other client sides after downloading the corresponding slice files. When the multiple clients download the same large file, if the more the clients participate in the downloading, the more target resource ends capable of providing the downloading service are, the faster the downloading speed of the original file is, so that the efficiency of simultaneously downloading the large file by the multiple clients is greatly improved, and the time of batch updating and upgrading of the multiple clients is shortened.
Further, the download source information comprises first download source information and second download source information;
the file server receiving an original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and downloading source information comprises:
the file server receives the original element and acquires the current bandwidth information;
the file server virtually fragments the original file according to the current bandwidth information to obtain fragment information;
taking the file server address as first download source information, and acquiring a registry address from a registry as second download source information;
and the file server generates an index file according to the fragment information, the first download source information and the second download source information.
From the above description, it can be seen that virtual slicing is performed according to the current bandwidth situation of the file server, where the large bandwidth has a large slicing capacity, and the small bandwidth has a small slicing capacity, so that the downloading speed is ensured while the slicing downloading is realized. And simultaneously acquiring a file server address and a registry address as download source information so as to definitely provide a target resource end of a download service for the current client, and generating an index file according to the fragment information and the download source information so that the current client can find the corresponding target resource end to download the original file.
Further, the determining, by the client, the target resource according to the download source information includes:
the client downloads the index file from the file server and analyzes the index file to obtain the fragment information, the first download source information and the second download source information;
the client determines target fragment information which is not downloaded according to the fragment information;
the client acquires the registration records of the downloaded segment files of other clients in the registration center according to the second download source information;
the client judges that a registration record of a fragment file corresponding to the target fragment information exists in the registration center;
if yes, determining other clients corresponding to the registration record as target resource ends;
otherwise, determining the file server corresponding to the first download source information as a target resource end.
As can be seen from the above description, after analyzing the index file, the client obtains the fragment information to confirm the fragment file to be downloaded, and obtains the download source information at the same time, and obtains the registration record of the registration center through the download source information to determine the target resource end of the download fragment file. The client side inquires other client sides of downloaded segment files through the registry, downloads corresponding segment files from other client sides, and does not download corresponding original files from the file server, so that the downloading pressure of the file server is reduced, an end-to-end distributed downloading network is realized, when the number of client sides participating in file downloading is increased, the downloading speed of the original files is increased, and the time for downloading files in batches by multiple client sides is shortened.
Further, the downloading the clip file corresponding to the clip information from the target resource end for upgrading includes:
the client downloads the fragment files corresponding to the fragment information from the target resource end, and if each fragment file is downloaded, the client performs integrity check according to the fragment information;
if the verification is successful, downloading a next segment file; if the verification fails, discarding the fragment file, and re-downloading the fragment file corresponding to the fragment information;
and the client upgrades after all the fragment files are downloaded.
The above description shows that the client adopts a strategy of downloading and checking at the same time, and checks each fragment file after downloading, and if the checking fails, the client discards the file to be downloaded again, so as to ensure the integrity of the obtained original file.
Further, after the integrity check is performed according to the fragmentation information, the method further includes:
and the client registers the downloading service according to the downloaded fragment information corresponding to the fragment file to obtain a registration record of the downloaded fragment file of the client.
According to the description, the current client downloads the segment file and then registers the download service, and a registration record of the segment file downloaded by the current client is generated, so that other clients can inquire the current client through a registration center when downloading, the current client provides the download service of the segment file for other clients, and the selectable number of the target resource end is dynamically updated to improve the downloading speed of the original file.
Referring to fig. 3, another embodiment of the present invention provides a large file downloading terminal, including a file server and a client; the file server includes a first memory, a first processor, and a first computer program stored on the first memory and running on the first processor; the client comprises a second memory, a second processor and a second computer program stored on the second memory and running on the second processor, and the first processor realizes the following steps when executing the first computer program:
receiving an original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and downloading source information;
the second processor, when executing the second computer program, performs the steps of:
determining a target resource end according to the downloading source information, and downloading a fragment file corresponding to the fragment information from the target resource end for upgrading; all the fragment files form the original file; the target resource end comprises the file server or other clients which have downloaded the clip files.
From the above description, the beneficial effects of the invention are as follows: the method comprises the steps that the original file in a file server is subjected to virtual slicing to obtain slicing information, an index file is generated according to the slicing information and downloading source information, and a client side selects other client sides of the file server or downloaded slice files to update through the downloading source information, namely the client side can provide downloading services for other client sides after downloading the corresponding slice files. When the multiple clients download the same large file, if the more the clients participate in the downloading, the more target resource ends capable of providing the downloading service are, the faster the downloading speed of the original file is, so that the efficiency of simultaneously downloading the large file by the multiple clients is greatly improved, and the time of batch updating and upgrading of the multiple clients is shortened.
Further, the download source information comprises first download source information and second download source information;
the receiving the original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and the downloading source information includes:
receiving an original element and acquiring current bandwidth information;
performing virtual slicing on the original file according to the current bandwidth information to obtain slicing information;
taking the file server address as first download source information, and acquiring a registry address from a registry as second download source information;
and generating an index file according to the fragment information, the first download source information and the second download source information.
From the above description, it can be seen that virtual slicing is performed according to the current bandwidth situation of the file server, where the large bandwidth has a large slicing capacity, and the small bandwidth has a small slicing capacity, so that the downloading speed is ensured while the slicing downloading is realized. And simultaneously acquiring a file server address and a registry address as download source information so as to definitely provide a target resource end of a download service for the current client, and generating an index file according to the fragment information and the download source information so that the current client can find the corresponding target resource end to download the original file.
Further, the determining, by the client, the target resource according to the download source information includes:
downloading the index file from the file server, and analyzing the index file to obtain the fragment information, the first download source information and the second download source information;
determining target fragment information which is not downloaded according to the fragment information;
acquiring registration records of the downloaded segment files of other clients in the registration center according to the second download source information;
judging whether a registration record of a fragment file corresponding to the target fragment information exists in the registration center;
if yes, determining other clients corresponding to the registration record as target resource ends;
otherwise, determining the file server corresponding to the first download source information as a target resource end.
As can be seen from the above description, after analyzing the index file, the client obtains the fragment information to confirm the fragment file to be downloaded, and obtains the download source information at the same time, and obtains the registration record of the registration center through the download source information to determine the target resource end of the download fragment file. The client side inquires other client sides of downloaded segment files through the registry, downloads corresponding segment files from other client sides, and does not download corresponding original files from the file server, so that the downloading pressure of the file server is reduced, an end-to-end distributed downloading network is realized, when the number of client sides participating in file downloading is increased, the downloading speed of the original files is increased, and the time for downloading files in batches by multiple client sides is shortened.
Further, the downloading the clip file corresponding to the clip information from the target resource end for upgrading includes:
downloading the fragment files corresponding to the fragment information from the target resource end, and if each fragment file is downloaded, carrying out integrity check according to the fragment information;
if the verification is successful, downloading a next segment file; if the verification fails, discarding the fragment file, and re-downloading the fragment file corresponding to the fragment information;
and upgrading after all the fragment files are downloaded.
The above description shows that the client adopts a strategy of downloading and checking at the same time, and checks each fragment file after downloading, and if the checking fails, the client discards the file to be downloaded again, so as to ensure the integrity of the obtained original file.
Further, after the integrity check is performed according to the fragmentation information, the method further includes:
and registering the downloading service according to the fragment information corresponding to the downloaded fragment file to obtain a registration record of the downloaded fragment file of the client.
According to the description, the current client downloads the segment file and then registers the download service, and a registration record of the segment file downloaded by the current client is generated, so that other clients can inquire the current client through a registration center when downloading, the current client provides the download service of the segment file for other clients, and the selectable number of the target resource end is dynamically updated to improve the downloading speed of the original file.
The embodiment of the invention provides a large file downloading method and a terminal, which can realize the rapid downloading of large files based on a wide area network environment, effectively shorten the time of downloading large files in batches by a plurality of clients, and ensure the updating efficiency in a batch updating and upgrading scene of the plurality of clients, and are explained by the specific embodiment as follows:
referring to fig. 1 to 2, a first embodiment of the present invention is as follows:
a method of large file download, comprising:
s1, a file server receives an original file, virtually fragments the original file to obtain fragment information, and generates an index file according to the fragment information and downloading source information. The download source information comprises first download source information and second download source information.
Specifically, the S1 includes:
s11, the file server receives the original element and acquires current bandwidth information;
in some embodiments, before S11, the method further includes:
s10, the server receives the original file uploaded by the user, encrypts the original file to obtain an encrypted original file, and sends the encrypted original file to the file server. I.e. the file server receives the encrypted original file.
S12, the file server virtually fragments the original file according to the current bandwidth information to obtain fragment information;
in some embodiments, the shard information includes original file information, shard size, shard data information, and shard check values.
The current bandwidth information is used for representing the network state of the current operation environment, namely, the size value of the virtual fragment is calculated according to the bandwidth information, the virtual fragment is large when the bandwidth is large, and the virtual fragment is small when the bandwidth is small. Here virtual slicing is not performed on the original file with any real cutting process.
S13, taking the address of the file server as first download source information, and acquiring a registry address from a registry as second download source information;
in some embodiments, the registry records a list of clients currently capable of providing download services.
S14, the file server generates an index file according to the fragment information, the first download source information and the second download source information.
Note that, in the index file, only file information is recorded, and no file is stored, so the size of the index file is typically only tens of kilobytes.
In some embodiments, after the file server generates the index file, a download service is registered with a registry so that the client can download the original file from the file server.
In some embodiments, after S14, the method further comprises:
s15, the file server returns the downloading address of the index file to the server.
S2, the client determines a target resource end according to the downloading source information, and downloads a fragment file corresponding to the fragment information from the target resource end for upgrading; all the clip files constitute the original file.
The target resource end comprises the file server or other clients which have downloaded the clip files.
Specifically, in S2: the step of determining the target resource end according to the download source information comprises the following steps:
s21, the client downloads the index file from the file server and analyzes the index file to obtain the fragment information, the first download source information and the second download source information;
in some embodiments, the step S21 includes:
and S20, the client sends an upgrade detection command to the server, and the server returns the download address of the index file. The client downloads the index file from the file server according to the download address of the index file.
S22, the client determines target fragment information which is not downloaded according to the fragment information;
s23, the client acquires a registration record comprising the downloaded segment files of other clients in the registration center according to the second download source information;
in some embodiments, the step S23 is specifically: and the client acquires a client list which can provide the downloading service currently in the registry according to the registry address. Each piece of data in the client list capable of providing the downloading service is the registration record of the downloaded segment file of the client. For example, if the client 1 has downloaded the segment files 1-20, the client 1 can provide a download service with the segment information 1-20; client 2 has downloaded segment files 51-60, client 2 is able to provide a download service with segment information 51-60.
S24, the client judges whether a registration record of a fragment file corresponding to the target fragment information exists in the registration center;
if yes, determining other clients corresponding to the registration record as target resource ends;
otherwise, determining the file server corresponding to the first download source information as a target resource end.
In some embodiments, if the target fragment information determined by the client is 55 and a registration record of a fragment file corresponding to the target fragment information 55 exists in the registry, it is determined that the client 2 corresponding to the registration record is a target resource end, and the client 2 is connected to download the fragment file. If the target fragment information determined by the client is 25, and a registration record of the fragment file corresponding to the target fragment information 25 does not exist in the registration center, determining the file server corresponding to the first download source information as a target resource end, and connecting the file server to download the fragment file.
Specifically, in S2: downloading the fragment file corresponding to the fragment information from the target resource end for upgrading comprises the following steps:
s25, the client downloads the fragment files corresponding to the fragment information from the target resource end, and if each fragment file is downloaded, the integrity check is carried out according to the fragment information;
if the verification is successful, downloading a next segment file;
if the verification fails, discarding the fragment file, and re-downloading the fragment file corresponding to the fragment information;
specifically, after the step S25, the method further includes:
s251, the client registers the downloading service according to the downloaded fragment information corresponding to the fragment file, and a registration record of the downloaded fragment file of the client is obtained.
In some embodiments, the client registers the downloading service with a registry according to the fragment information corresponding to the downloaded fragment file, so as to generate a registration record of the downloaded fragment file of the client in the registry.
S26, the client upgrades after all the fragment files are downloaded.
In some embodiments, since the original file is encrypted, the client performs decryption after downloading all the clip files, to obtain a decrypted original file; the client performs upgrading on the decrypted original file locally; and restarting the original downloading service after the client is upgraded, and providing the downloading service for other clients.
In some embodiments, when the cloud terminal is performing batch update, the cloud terminal is provided with the client, and the server is provided with the file server and the server, so that batch update time of the cloud terminal can be greatly shortened.
Referring to fig. 3, a second embodiment of the present invention is as follows:
a large file downloading terminal comprises a file server 1 and a client 2; the file server comprises a first memory 101, a first processor 102 and a first computer program stored on the first memory 101 and running on the first processor 102; the client 2 includes a second memory 201, a second processor 202, and a second computer program stored in the second memory 201 and running on the second processor 202, where the first processor 102 implements the steps implemented by the file server in the large file downloading method according to the first embodiment when executing the first computer program; the second processor 202 implements the steps implemented by the client in the large file downloading method according to the second embodiment when executing the second computer program.
In summary, according to the large file downloading method and terminal provided by the invention, the original file in the file server is virtually fragmented to obtain the fragmented information, and the downloading service is registered in the registry to obtain the downloading source information, and the index file is generated according to the fragmented information and the downloading source information. The client can acquire the fragment information and the downloading source information only by downloading the index file, the client inquires the registration records of the downloaded fragments of other clients through the downloading source information, and the client selects to update from the file server or other clients according to the registration records, namely, the client can provide downloading service for the other clients after downloading the corresponding fragment file, so that the downloading mode of the client to the client is realized, the downloading pressure is dispersed from the file server to a plurality of clients, and the distributed downloading network is realized. When a plurality of clients download the same large file, if the number of the clients participating in the downloading is larger, the more target resource ends capable of providing the downloading service are, the faster the downloading speed of the original file is, the efficiency of the plurality of clients for simultaneously downloading the large file is greatly improved, and the time of batch updating and upgrading of the plurality of clients is shortened.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.

Claims (10)

1. A method for downloading a large file, comprising:
the file server receives an original file, virtually fragments the original file to obtain fragment information, and generates an index file according to the fragment information and downloading source information;
the client determines a target resource end according to the downloading source information, and downloads a fragment file corresponding to the fragment information from the target resource end for upgrading; all the fragment files form the original file;
the target resource end comprises the file server or other clients which have downloaded the clip files.
2. The method according to claim 1, wherein the download source information includes first download source information and second download source information;
the file server receiving an original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and downloading source information comprises:
the file server receives the original element and acquires the current bandwidth information;
the file server virtually fragments the original file according to the current bandwidth information to obtain fragment information;
taking the file server address as first download source information, and acquiring a registry address from a registry as second download source information;
and the file server generates an index file according to the fragment information, the first download source information and the second download source information.
3. The method of claim 2, wherein the determining, by the client, the target resource according to the download source information includes:
the client downloads the index file from the file server and analyzes the index file to obtain the fragment information, the first download source information and the second download source information;
the client determines target fragment information which is not downloaded according to the fragment information;
the client acquires the registration records of the downloaded segment files of other clients in the registration center according to the second download source information;
the client judges whether a registration record of a fragment file corresponding to the target fragment information exists in the registration center;
if yes, determining other clients corresponding to the registration record as target resource ends;
otherwise, determining the file server corresponding to the first download source information as a target resource end.
4. The method for downloading the large file according to claim 1, wherein the downloading the clip file corresponding to the clip information from the target resource terminal for upgrading comprises:
the client downloads the fragment files corresponding to the fragment information from the target resource end, and if each fragment file is downloaded, the client performs integrity check according to the fragment information;
if the verification is successful, downloading a next segment file; if the verification fails, discarding the fragment file, and re-downloading the fragment file corresponding to the fragment information;
and the client upgrades after all the fragment files are downloaded.
5. The method for downloading large files according to claim 4, wherein after the integrity check is performed according to the fragmentation information, further comprising:
and the client registers the downloading service according to the downloaded fragment information corresponding to the fragment file to obtain a registration record of the downloaded fragment file of the client.
6. A large file downloading terminal comprises a file server and a client; the file server includes a first memory, a first processor, and a first computer program stored on the first memory and running on the first processor; the client comprises a second memory, a second processor and a second computer program stored on the second memory and running on the second processor, and is characterized in that the first processor executes the first computer program to realize the following steps:
receiving an original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and downloading source information;
the second processor, when executing the second computer program, performs the steps of:
determining a target resource end according to the downloading source information, and downloading a fragment file corresponding to the fragment information from the target resource end for upgrading; all the fragment files form the original file; the target resource end comprises the file server or other clients which have downloaded the clip files.
7. The large file download terminal as in claim 6, wherein the download source information comprises a first download source information and a second download source information;
the receiving the original file, virtually slicing the original file to obtain slicing information, and generating an index file according to the slicing information and the downloading source information includes:
receiving an original element and acquiring current bandwidth information;
performing virtual slicing on the original file according to the current bandwidth information to obtain slicing information;
taking the file server address as first download source information, and acquiring a registry address from a registry as second download source information;
and generating an index file according to the fragment information, the first download source information and the second download source information.
8. The large file downloading terminal as claimed in claim 7, wherein the determining, by the client, the target resource according to the download source information includes:
downloading the index file from the file server, and analyzing the index file to obtain the fragment information, the first download source information and the second download source information;
determining target fragment information which is not downloaded according to the fragment information;
acquiring registration records of the downloaded segment files of other clients in the registration center according to the second download source information;
judging whether a registration record of a fragment file corresponding to the target fragment information exists in the registration center;
if yes, determining other clients corresponding to the registration record as target resource ends;
otherwise, determining the file server corresponding to the first download source information as a target resource end.
9. The large file downloading terminal according to claim 6, wherein the downloading the clip file corresponding to the clip information from the target resource terminal for upgrading comprises:
downloading the fragment files corresponding to the fragment information from the target resource end, and if each fragment file is downloaded, carrying out integrity check according to the fragment information;
if the verification is successful, downloading a next segment file; if the verification fails, discarding the fragment file, and re-downloading the fragment file corresponding to the fragment information;
and upgrading after all the fragment files are downloaded.
10. The large file downloading terminal as claimed in claim 9, wherein after the integrity check according to the fragmentation information, further comprises:
and registering the downloading service according to the fragment information corresponding to the downloaded fragment file to obtain a registration record of the downloaded fragment file of the client.
CN202311141113.9A 2023-09-06 2023-09-06 Large file downloading method and terminal Pending CN117278546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311141113.9A CN117278546A (en) 2023-09-06 2023-09-06 Large file downloading method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311141113.9A CN117278546A (en) 2023-09-06 2023-09-06 Large file downloading method and terminal

Publications (1)

Publication Number Publication Date
CN117278546A true CN117278546A (en) 2023-12-22

Family

ID=89213435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311141113.9A Pending CN117278546A (en) 2023-09-06 2023-09-06 Large file downloading method and terminal

Country Status (1)

Country Link
CN (1) CN117278546A (en)

Similar Documents

Publication Publication Date Title
US20220004395A1 (en) Securely and reliably transferring startup script
US7536458B2 (en) Distribution of binary executables and content from peer locations/machines
US8156223B2 (en) Distribution of binary executables and content from peer locations/machines
US20070043874A1 (en) File transfer method and system
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
CN101478446B (en) Network appliance version loading method, apparatus and system
US10051035B2 (en) Method and apparatus for providing secure file transmission
US20210019418A1 (en) Technique for authentication and prerequisite checks for software updates
WO2021051747A1 (en) Data update method, system and device, electronic device, and computer storage medium
US20130111458A1 (en) Method and system for on-demand patch generation and management
US20200145479A1 (en) Managing content downloads
US7584261B1 (en) Distribution of binary executables and content from peer locations/machines
US20230214358A1 (en) Method for Uploading Configuration File, Method for Downloading Configuration File, and Apparatus
US11847219B2 (en) Determining a state of a network
CN113382048A (en) Message pushing method, system, equipment and storage medium
CN115297098B (en) Edge service acquisition method and device, edge computing system, medium and equipment
WO2014176731A1 (en) Method and apparatus for upgrading application
CN117278546A (en) Large file downloading method and terminal
CN108494748B (en) Communication method, device and storage medium
US11778451B2 (en) 5G Network Exposure Function (NEF) capturing processor identity
CN113746851B (en) Proxy system and method supporting real-time analysis of GRPC request
CN112148333B (en) Block chain server firmware updating system
CN110895583A (en) Method, device and system for acquiring data resources
CN116414411A (en) Program upgrading method, system, electronic equipment and storage medium
CN114006955A (en) Data processing method, device and equipment and readable storage medium

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