CN112291317B - Data downloading method, device, computer equipment and storage medium - Google Patents

Data downloading method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112291317B
CN112291317B CN202011118379.8A CN202011118379A CN112291317B CN 112291317 B CN112291317 B CN 112291317B CN 202011118379 A CN202011118379 A CN 202011118379A CN 112291317 B CN112291317 B CN 112291317B
Authority
CN
China
Prior art keywords
data
downloaded
byte length
file
downloaded data
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
CN202011118379.8A
Other languages
Chinese (zh)
Other versions
CN112291317A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202011118379.8A priority Critical patent/CN112291317B/en
Publication of CN112291317A publication Critical patent/CN112291317A/en
Priority to PCT/CN2021/107049 priority patent/WO2022083190A1/en
Application granted granted Critical
Publication of CN112291317B publication Critical patent/CN112291317B/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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

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

Abstract

The application relates to a data downloading method, a data downloading device, computer equipment and a storage medium. The method comprises the following steps: responding to a data downloading request, and when synchronous data corresponding to the data downloading request exists, acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data; comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result; determining a data node to be downloaded according to the comparison result and the downloaded data; and downloading the data according to the data node to be downloaded. By adopting the method, the data processing resources in the data downloading process can be saved.

Description

Data downloading method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data downloading method, apparatus, computer device, and storage medium.
Background
At present, with the rapid development of internet technology, a data downloading technology based on a network transmission protocol is developed increasingly, and when network transmission is problematic, a data downloading scheme technology of breakpoint continuous transmission is realized for subsequent recovery of data transmission.
In the breakpoint continuous transmission data downloading scheme, a scheme for continuously downloading data at a breakpoint again is provided under the condition that network transmission is wrong or the network is disconnected.
However, when a power-off situation occurs, such a breakpoint continuous data downloading scheme technology cannot provide for resuming the data to continue to be downloaded, since the power-off can occur at any time and cannot be predicted, once the power-off occurs, an unavoidable problem that the operation cannot be continued on the basis of the downloading before the power-off occurs, which results in the need to re-download the data and the waste of data processing resources.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data downloading method, apparatus, computer device, and storage medium capable of saving data processing resources.
A method of data download, the method comprising:
responding to the data downloading request, and when synchronous data corresponding to the data downloading request exists, acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded data;
comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result;
Determining a data node to be downloaded according to the comparison result and the downloaded data;
and downloading the data according to the data node to be downloaded.
In one embodiment, in response to a data download request, when there is synchronization data corresponding to the data download request, acquiring downloaded data in the synchronization data and the number of nodes corresponding to the downloaded data includes:
responding to a data downloading request, and extracting a first file for storing downloaded data and a second file for storing the node number corresponding to the downloaded data;
and acquiring the downloaded data from the first file, and acquiring the node number corresponding to the downloaded data from the second file.
In one embodiment, after responding to the data download request, the method further comprises:
when the synchronous data corresponding to the data downloading request does not exist, data downloading is carried out, and the obtained downloaded data and the node number corresponding to the downloaded data are synchronously stored.
In one embodiment, after responding to the data download request, the method further comprises:
when the synchronous data corresponding to the data downloading request does not exist, data downloading is carried out, and a first file for synchronously storing the downloaded data and a second file for synchronously storing the node number corresponding to the downloaded data are created;
And synchronously storing the downloaded data to a first file according to the fixed byte length, and storing the node number corresponding to the synchronously stored downloaded data to a second file.
In one embodiment, storing downloaded data synchronously to a first file according to a fixed byte length, and storing the number of nodes corresponding to the synchronously stored downloaded data to a second file includes:
performing byte length counting on the data downloaded into the file buffer;
when the counting result reaches the fixed byte length, synchronously storing the downloaded data with the fixed byte length into a first file;
when the synchronous storage of the downloaded data with the fixed byte length is completed, recording the node number corresponding to the downloaded data in a second file;
and clearing the data in the file buffer area, clearing the counting result, and returning to the step of counting the byte length of the data downloaded into the file buffer area until the downloading is completed or the power is off.
In one embodiment, according to a preset fixed byte length and a node number, comparing the actual byte length of the downloaded data to obtain a comparison result includes:
multiplying the fixed byte length and the node number to obtain the recorded byte length;
And performing byte length comparison processing on the recorded byte length and the actual byte length to obtain a comparison result, wherein the comparison result comprises that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length.
In one embodiment, performing byte length comparison processing on the recorded byte length and the actual byte length to obtain a comparison result, where the comparison result includes that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length, including:
when the comparison result is that the length of the recorded bytes is consistent with the length of the actual bytes, determining a data node to be downloaded according to the downloaded data;
and when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data.
A data downloading apparatus, the apparatus comprising:
the data response acquisition module is used for responding to the data downloading request, and acquiring downloaded data and the node number corresponding to the downloaded data in the synchronous data when the synchronous data corresponding to the data downloading request exists;
The data comparison module is used for comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result;
the data processing module is used for determining a data node to be downloaded according to the comparison result and the downloaded data;
and the data downloading module is used for downloading data according to the data node to be downloaded.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
responding to the data downloading request, and when synchronous data corresponding to the data downloading request exists, acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded data;
comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result;
determining a data node to be downloaded according to the comparison result and the downloaded data;
and downloading the data according to the data node to be downloaded.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Responding to the data downloading request, and when synchronous data corresponding to the data downloading request exists, acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded data;
comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result;
determining a data node to be downloaded according to the comparison result and the downloaded data;
and downloading the data according to the data node to be downloaded.
According to the data downloading method, the device, the computer equipment and the storage medium, whether the downloaded data and the node number are backed up in advance is judged by responding to the data downloading request on the condition that synchronous data corresponding to the data downloading request exists, when the synchronous data exists, the synchronous downloaded data and the node number corresponding to the downloaded data are obtained, the node of the data to be downloaded is determined according to the synchronous stored downloaded data, the previous loss of the data to be downloaded is prevented, the synchronous record of the byte length of the downloaded data is realized based on the node number corresponding to the synchronous downloaded data and the preset fixed byte length, the byte length of the downloaded data is processed according to the preset fixed byte length and the node number, the complex processing process of all the downloaded data is simplified by processing the byte length of the fixed byte length and the node number, the node to be downloaded is confirmed to be the byte length of the record is consistent with the byte length of the downloaded data, the node to be downloaded is determined to be the starting point of the downloaded data to be used as the starting point, the data to be downloaded is processed, and the whole data is not needed to be downloaded, and the resource is saved.
Drawings
FIG. 1 is an application environment diagram of a data download method in one embodiment;
FIG. 2 is a flow chart of a method of downloading data in one embodiment;
FIG. 3 is a flow chart of a method of downloading data in another embodiment;
FIG. 4 is a flow chart of a method of downloading data in yet another embodiment;
FIG. 5 is a flow chart of a method of downloading data in yet another embodiment;
FIG. 6 is a flow chart of an embodiment in which no synchronization data exists in the data download method;
FIG. 7 is a flow chart of a method of downloading data in another embodiment;
FIG. 8 is a flow chart of a data downloading method in another embodiment;
FIG. 9 is an application scenario diagram of a data download method in one embodiment;
FIG. 10 is a block diagram of a data download device in one embodiment;
FIG. 11 is an internal block diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The data downloading method provided by the application can be applied to an application environment shown in figure 1. When there is a synchronization data corresponding to the data download request, the terminal 102 will first obtain the downloaded data and the number of nodes corresponding to the downloaded data in the synchronization data, then compare the actual byte length of the downloaded data according to the preset fixed byte length and the number of nodes, obtain a comparison result, then the terminal 102 determines the data node to be downloaded according to the comparison result and the downloaded data, and finally the terminal 102 downloads the data according to the data node to be downloaded. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In one embodiment, as shown in fig. 2, a data downloading method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
step 202, responding to a data download request.
Wherein the data download includes a case when there is synchronous data corresponding to the data download request and a case when there is no synchronous data corresponding to the data download request.
Specifically, the terminal first performs network registration, that is, network registration, and ensures that the network can be activated, where the network is activated to allocate an IP (Internet Protocol ) address, and ensure that the IP address is a premise of being capable of downloading, in this embodiment, a preferred downloading manner may use an FTP (File Transfer Protocol ) downloading manner or an HTTP (Hyper Text Transfer Protocol ) downloading manner, and in other embodiments, other downloading manners may be used, which may, but are not limited to, various downloading manners for providing downloading, and this scheme is irrelevant to the downloading manner. When the terminal receives the data downloading request, it responds to the data downloading request, preferably, the responding end of the data downloading request may be user operation, or may be an automatic response downloading procedure after power-off restarting, which may be, but is not limited to, the above response sending mode. After the terminal responds to the data downloading request, detection processing is further performed before the data downloading, and whether corresponding synchronous data exist or not is detected.
Step 204, when there is synchronous data corresponding to the data download request, acquiring downloaded data and the number of nodes corresponding to the downloaded data in the synchronous data.
The synchronous data corresponding to the data downloading request comprises downloaded data and the node number corresponding to the downloaded data.
Specifically, when synchronization data corresponding to a data download request exists in a persistent storage space of a terminal, downloaded data and the number of nodes corresponding to the downloaded data in the synchronization data are acquired from the persistent storage space. Preferably, the permanent storage space can be a hard disk storage such as a Flash memory, and the like, and the storage space cannot lose data due to power failure in the downloading process, wherein the Flash memory belongs to one of memory devices and is a nonvolatile memory. Other persistent storage spaces may be used when data is stored in the storage space, but are not limited to various storage spaces for storing data, and the storage space is associated with a terminal, and it should be noted that once the data is written, the Fsync function must be called to be immediately synchronized from the file buffer to the file written in the Flash memory or other hard disk storage, wherein the Fsync function belongs to a synchronization function in the operating system of the computer.
And 206, comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result.
Wherein the fixed byte length is preset in advance, for example, 10000 bytes or 20000 bytes can be set, and when the fixed byte length is not limited to the above byte length, only one fixed byte length is needed to be set in the downloading process, the node number is the node number corresponding to the downloaded data, the downloaded data has the corresponding actual byte length,
specifically, the number of nodes corresponding to the downloaded data in the synchronous data is read, the fixed byte length and the number of nodes corresponding to the downloaded data are multiplied according to the preset fixed byte length and the number of nodes corresponding to the downloaded data to obtain a recorded byte length, then the downloaded data in the synchronous data are read, the corresponding actual byte length is obtained according to the downloaded data, the recorded byte length is compared with the actual byte length to obtain a comparison result, the comparison result comprises that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length, in this embodiment, for example, when the fixed byte length is 10000 bytes, the number of nodes corresponding to the downloaded data is 5, it can be known that the terminal has downloaded at least the number of bytes corresponding to the recorded byte length of 5×10000=50000, at this time, the comparison processing is only performed on the downloaded data, the first comparison result is that the recorded byte length is consistent with the actual byte length, and the second comparison result is that the recorded byte length is inconsistent with the actual byte length.
And step 208, determining the data node to be downloaded according to the comparison result and the downloaded data.
The comparison result comprises a first comparison result of which the recorded byte length is consistent with the actual byte length and a second comparison result of which the recorded byte length is inconsistent with the actual byte length. And determining different data nodes to be downloaded according to different comparison results, wherein the data nodes to be downloaded correspond to the downloaded data.
Specifically, according to the first comparison result and the downloaded data in the synchronous data, when the comparison result is that the recorded byte length is consistent with the actual byte length, determining a data node to be downloaded according to the downloaded data, according to the second comparison result and the downloaded data in the synchronous data, when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length, obtaining updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data.
Step 210, according to the data node to be downloaded, downloading the data.
The data node to be downloaded comprises a data node to be downloaded corresponding to downloaded data associated with a first comparison result and a data node to be downloaded corresponding to updated downloaded data associated with a second comparison result.
Specifically, the terminal continues to start the data downloading process after the data node to be downloaded according to the data node to be downloaded determined by the downloaded data through the first comparison result, or continues to start the data downloading process after the data node to be downloaded according to the data node to be downloaded determined by the downloaded data updated after the deletion process through the second comparison result.
In the data downloading method, whether the downloaded data and the node number are backed up in advance is judged by responding to the data downloading request on the condition that the synchronous data corresponding to the data downloading request exists, when the synchronous data exists, the synchronous downloaded data and the node number corresponding to the downloaded data are obtained, the data to be downloaded is prevented from being lost by synchronously storing the downloaded data, the synchronous record of the byte length of the downloaded data is realized on the basis of the node number corresponding to the synchronous downloaded data and the preset fixed byte length, the byte length of the downloaded data is compared according to the preset fixed byte length and the node number, the byte length of the downloaded data is processed through the fixed byte length and the node number, so that the complex processing process of all the downloaded data is simplified, the compared result is obtained, whether the byte length of the record is consistent with the byte length of the downloaded data is verified, the node of the data to be downloaded is determined according to the compared with the downloaded data, the node of the data to be downloaded is used as a starting point, the data downloading process is not needed, and the whole data downloading process is saved.
In one embodiment, as shown in fig. 3, when there is synchronous data corresponding to a data download request, acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data, that is, step 204, includes:
step 302, a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data are extracted.
Specifically, the terminal detects the number of nodes corresponding to the downloaded data in the first file and the downloaded data in the second file, detects whether the number of nodes corresponding to the downloaded data in the first file and the downloaded data in the second file exists, and when the number of nodes corresponding to the downloaded data in the first file and the downloaded data in the second file exists, it indicates that a part of data has been downloaded before the number of nodes corresponding to the downloaded data in the first file exists, and performs backup on the data, and extracts the first file for storing the downloaded data and the second file for storing the number of nodes corresponding to the downloaded data.
Step 304, the downloaded data is obtained from the first file, and the number of nodes corresponding to the downloaded data is obtained from the second file.
Specifically, when the number of nodes corresponding to the downloaded data in the first file and the downloaded data in the second file exists, it is indicated that a part of data has been downloaded before the data is backed up, at this time, the terminal may perform a continuous downloading process after power-off restarting, and the terminal may acquire the number of nodes corresponding to the downloaded data in the first file and the downloaded data in the second file that have been backed up.
In this embodiment, whether or not to pre-backup the downloaded data and the number of nodes is determined on the condition that the synchronization data corresponding to the data download request exists, and when the synchronization data exists, the synchronized downloaded data and the number of nodes corresponding to the downloaded data are acquired, and the downloaded data is stored in synchronization, so that the loss of the previously downloaded data can be prevented.
In one embodiment, as shown in fig. 4, step 202, after responding to the data download request, further includes:
in step 402, when there is no synchronization data corresponding to the data download request, data download is performed, and the obtained downloaded data and the number of nodes corresponding to the downloaded data are stored in synchronization.
Specifically, after the terminal responds to the data downloading request, detection processing is performed, when synchronous data corresponding to the data downloading request does not exist, the terminal is used for describing that the data is not downloaded before, at this time, the terminal starts a downloading flow, the terminal downloads the data, the obtained downloaded data and the node number corresponding to the downloaded data are synchronously stored in a Flash memory or a hard disk in a file buffer, and preferably, the terminal creates a first file for storing the downloaded data and a second file for storing the node number corresponding to the downloaded data in a permanent storage space.
In this embodiment, the obtained downloaded data and the number of nodes corresponding to the downloaded data are synchronously stored, so that the data can be prevented from being lost by using the subsequent data backup.
In one embodiment, as shown in fig. 5, step 202, after responding to the data download request, further includes:
step 502, when there is no synchronous data corresponding to the data downloading request, downloading the data, and creating a first file for synchronously storing the downloaded data and a second file for synchronously storing the number of nodes corresponding to the downloaded data;
specifically, after the terminal responds to the data download request, detection processing is performed, when synchronous data corresponding to the data download request does not exist, the terminal at the moment performs a start downloading flow, the terminal starts data downloading, and a first file for storing downloaded data and a second file for storing the node number corresponding to the downloaded data are created in a permanent storage space.
Step 504, the downloaded data is synchronously stored to the first file according to the fixed byte length, and the node number corresponding to the synchronously stored downloaded data is stored to the second file.
Specifically, after the first file and the second file are created, downloading is performed according to a fixed byte length, for example, a fixed byte length of 10000 bytes is set, according to 10000 bytes each time, firstly when downloading to 10000 bytes, downloaded data corresponding to 10000 fixed byte lengths is called a Faync function, the downloaded data corresponding to the fixed byte lengths is synchronously stored from a file cache area into the first file, when the downloaded data corresponding to the fixed byte lengths is synchronously completed, the node number corresponding to the downloaded data is synchronously stored into the second file, and the first file and the second file after synchronous storage are both in a permanent storage space associated with a terminal, which can be written into a Flash memory or other hard disk storage.
In this embodiment, when there is no synchronization data corresponding to the data download request, by creating a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data, synchronously storing the downloaded data to the first file according to a fixed byte length, and synchronously storing the number of nodes corresponding to the downloaded data to the second file, backup of the downloaded data can be achieved.
In one embodiment, as shown in fig. 6, the downloaded data is synchronously stored in a first file according to a fixed byte length, and the number of nodes corresponding to the synchronously stored downloaded data is stored in a second file, that is, step 502 includes:
step 602, performing byte length counting on the data downloaded into the file buffer.
Specifically, the data downloaded into the file buffer is counted in terms of byte length, and it should be noted that the count here does not exceed a preset fixed byte length, for example, the fixed byte length is 10000 bytes, and is from 0 to 10000 bytes.
In step 604, when the count result reaches the fixed byte length, the downloaded data with the fixed byte length is synchronously stored in the first file.
Specifically, when the counting result reaches the fixed byte length, at this time, the Fsync function is called, and the terminal synchronously stores the downloaded data corresponding to the fixed byte length from the file buffer into the first file.
In step 606, when the synchronous storage of the downloaded data with the fixed byte length is completed, the number of nodes corresponding to the downloaded data is recorded in the second file.
Specifically, when the terminal completes the synchronous storage of the downloaded data with a fixed byte length from the file buffer, at this time, the number of nodes corresponding to the downloaded data is recorded in the second file, for example, the downloaded data is downloaded according to 10000 bytes with a fixed byte length, when the downloaded data with a fixed byte length of 10000 bytes is reached, and when the downloaded data with a fixed byte length of 10000 bytes is synchronously stored in the first file, the number of nodes corresponding to the downloaded data in the second file is 1, if the number of nodes is 1, and if the byte length of the downloaded data in the first file is 20000 bytes, the number of nodes corresponding to the downloaded data in the second file is 2.
Step 608, the data in the file buffer is cleared and the counting result is cleared, and the step of counting the byte length of the data downloaded into the file buffer is returned until the downloading is completed or the power is off.
Specifically, when the byte length of the downloaded data in the file buffer reaches a fixed byte length and after synchronous storage is completed, the data in the file buffer is cleared, the counting result is cleared, the step of counting the byte length of the data downloaded into the file buffer is returned, the terminal repeats the above processes until the downloading is completed or power failure occurs, and it is noted that the counting and synchronous storage processing of the data downloaded later is continued, and the downloaded data is not downloaded repeatedly. In addition, the step of counting byte length is returned to if the synchronized downloaded data is not equal to the fixed byte length during the download process
In this embodiment, by synchronously storing the downloaded data, it is possible to prevent the previous downloaded data from being lost, and based on the number of nodes corresponding to the synchronized downloaded data and the preset fixed byte length, realize synchronous recording of the byte length of the downloaded data.
In one embodiment, as shown in fig. 7, according to a preset fixed byte length and the number of nodes, the comparison processing is performed on the actual byte length of the downloaded data to obtain a comparison result, that is, step 206 includes:
step 702, data multiplication is performed on the fixed byte length and the node number to obtain a record byte length.
Specifically, the preset fixed byte length is multiplied by the number of nodes corresponding to the downloaded data in the second file, so that the result of data multiplication is the recorded byte length. For example, the preset fixed byte length is 10000 bytes, and the number of nodes corresponding to the downloaded data in the second file is 5, and the data is multiplied by 5×10000=50000, so as to obtain a value with the record byte length of 50000.
And step 704, performing byte length comparison processing on the recorded byte length and the actual byte length to obtain a comparison result, wherein the comparison result comprises that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length.
Specifically, the terminal performs byte length comparison processing on the record byte length obtained by multiplying the data and the actual byte length corresponding to the downloaded data in the first file, wherein the comparison result includes that the record byte length is consistent with the actual byte length or the record byte length is inconsistent with the actual byte length, and when the record byte length is inconsistent with the actual byte length, the actual byte length is not smaller than the record byte length, because the downloaded data is ensured to be synchronously finished in the first file in the beginning of the downloading process, and after the synchronous storage in the first file is finished, the node number is synchronously stored into the second file, so that the actual byte length is ensured not to be smaller than the record byte length.
In this embodiment, the byte length of the downloaded data is processed by fixing the byte length and the node number, so that the complex processing process of all the downloaded data can be simplified, and a comparison result is obtained, so as to verify whether the recorded byte length is consistent with the byte length of the downloaded data.
In one embodiment, as shown in fig. 8, determining the data node to be downloaded according to the comparison result and the downloaded data, i.e. step 208 includes:
and step 802, when the comparison result is that the recorded byte length is consistent with the actual byte length, determining the data node to be downloaded according to the downloaded data.
Specifically, when the comparison result is that the record byte length is consistent with the actual byte length, the terminal determines a node to be downloaded corresponding to the downloaded data according to the downloaded data corresponding to the actual byte length.
And step 804, when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data.
Specifically, when the comparison result is that the recorded byte length is inconsistent with the actual byte length, the terminal performs deletion processing, and performs deletion processing on the downloaded data with the byte length greater than the recorded byte length to obtain updated downloaded data, and determining a data node to be downloaded corresponding to the updated byte length according to the updated downloaded data at the moment
In this embodiment, the data node to be downloaded is determined according to the comparison result and the downloaded data, and the data node to be downloaded is used as a starting point to perform data downloading processing, so that all data does not need to be downloaded again, and data processing resources in the data downloading process are saved.
In an application example, as shown in fig. 9, the present application further provides an application scenario, where the application scenario applies the data downloading method described above. Specifically, the application of the data downloading method in the application scene is as follows:
in one embodiment, the terminal first registers the network to ensure that the network can be activated, the network is activated to allocate an IP address, the terminal responds to the data download request, at this time, the FTP download mode or the HTTP download mode can be selected to be used, and after the terminal receives the data download request, the terminal first performs a detection process to detect whether a first file for storing the downloaded data and a second file for storing the number of nodes corresponding to the downloaded data exist.
In one embodiment, when the detection result is that the first file and the second file exist, a power-off continuous downloading flow is performed, downloaded data is obtained from the first file, the node number corresponding to the downloaded data is obtained from the second file, the fixed byte length and the node number are multiplied by each other to obtain a record byte length, the record byte length and the actual byte length are compared to obtain a comparison result, a data node to be downloaded is determined according to the comparison result and the downloaded data, and data is downloaded according to the data node to be downloaded. For example, the fixed byte length is set to 10000 bytes, the number of nodes corresponding to the downloaded data is set to 5, it can be known that the terminal has downloaded at least the data with the number of bytes corresponding to the record byte length of 5×10000=50000 bytes, the actual byte length of the downloaded data is equal to 50000 bytes or greater than 50000 bytes, when the actual byte length is equal to 50000 bytes, it indicates that the contents in the first file and the second file are all completed synchronously at the moment of power failure, at this time, the data node to be downloaded is determined according to the downloaded data corresponding to the 50000 bytes, and the subsequent data download is directly performed. When the data is more than 50000 bytes, the data synchronization in the first file is completed when the power failure occurs, and the power failure condition occurs when the corresponding node number in the second file is not recorded yet. At this time, it is necessary to ensure consistency of the number of nodes corresponding to the downloaded data in the first file and the downloaded data in the second file, delete data greater than 50000 bytes, and continue downloading according to data after 50000 bytes.
In one embodiment, when the detection result is that the first file and the second file are not present, a downloading process is started, a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data are created, byte length counting is performed on data downloaded into a file buffer, when the counting result reaches a fixed byte length, the downloaded data with the fixed byte length are synchronously stored into the first file, when the synchronous storage of the downloaded data with the fixed byte length is completed, the number of nodes corresponding to the downloaded data is recorded in the second file, the data in the file buffer is cleared, the counting result is cleared, and the step of byte length counting is returned to on the data downloaded into the file buffer until the downloading is completed or power is off. . For example, a fixed byte is set to 10000 bytes, downloading is performed according to 10000 bytes, when the data downloaded into the file buffer reaches 10000 bytes, an Fsync function is called, downloaded data corresponding to 10000 bytes is synchronously stored into a first file in a Flash memory, when synchronous storage is completed, the node number is 1, the node number is recorded into a second file in the Flash memory, and the like. It should be noted that the downloading process must be counted in fixed byte lengths. Two files can be created in the file buffer as well to store the data downloaded to the file buffer, and the data must be written into the file in the file buffer according to fixed bytes, and the Fsync synchronization function must be called to write the file buffer data into the file in the Flash memory.
In this embodiment, whether the first file for storing the downloaded data and the second file for storing the node number corresponding to the downloaded data exist or not is detected by responding to the data downloading request, whether the downloaded data and the node number are backed up in advance is determined, when the synchronous data exist, the downloaded data in the synchronous data and the node number corresponding to the downloaded data are obtained, the previous loss of the downloaded data is prevented by synchronously storing the downloaded data, the synchronous recording of the byte length of the downloaded data is realized based on the node number corresponding to the synchronous downloaded data and the preset fixed byte length, the byte length of the downloaded data is processed according to the preset fixed byte length and the node number, the complex processing procedure of all the downloaded data is simplified by processing the byte length of the fixed byte length and the node number, the node of the data to be downloaded is determined according to the synchronous storing of the downloaded data, and the node of the data to be downloaded is used as a starting point for processing the downloaded data. When the synchronous data does not exist, the data is synchronously stored in real time by starting a downloading flow, so that the backup processing of the data is achieved. The power-off continuous transmission downloading process of the embodiment can further carry out continuous transmission after restarting the power off, the cached data disappear due to no data backup after the power off, and the data needs to be downloaded again due to sudden power-off condition.
It should be understood that, although the steps in the flowcharts are shown in order as indicated by the arrows in the above-described embodiments, the steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps of each flowchart may include a plurality of steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 10, there is provided a data downloading apparatus, comprising: a data response acquisition module 1002, a data comparison module 1004, a data processing module 1006, and a data download module 1008, wherein:
a data response obtaining module 1002, configured to respond to a data download request, and when there is synchronous data corresponding to the data download request, obtain downloaded data in the synchronous data and a node number corresponding to the downloaded data;
The data comparison module 1004 is configured to compare the actual byte length of the downloaded data according to a preset fixed byte length and a node number, so as to obtain a comparison result;
a data processing module 1006, configured to determine a data node to be downloaded according to the comparison result and the downloaded data;
the data download module 1008 downloads data according to the data node to be downloaded.
In one embodiment, the data response acquisition module further comprises: responding to a data downloading request, and extracting a first file for storing downloaded data and a second file for storing the node number corresponding to the downloaded data; and acquiring the downloaded data from the first file, and acquiring the node number corresponding to the downloaded data from the second file.
In one embodiment, after responding to the data download request, the data response obtaining module is further configured to create a first file for storing the downloaded data and a second file for storing the number of nodes corresponding to the downloaded data when there is no synchronization data corresponding to the data download request.
In one embodiment, the data response obtaining module is further configured to create, when there is no synchronization data corresponding to the data download request, a first file for storing the downloaded data and a second file for storing the number of nodes corresponding to the downloaded data. Further comprises: and synchronously storing the downloaded data to a first file according to the fixed byte length, and storing the node number corresponding to the synchronously stored downloaded data to a second file.
In one embodiment, the data response acquisition module is configured to count the byte length of the data downloaded into the file buffer; when the counting result reaches the fixed byte length, synchronously storing the downloaded data with the fixed byte length into a first file; when the synchronous storage of the downloaded data with the fixed byte length is completed, recording the node number corresponding to the downloaded data in a second file; and clearing the data in the file buffer area, clearing the counting result, and returning to the step of counting the byte length of the data downloaded into the file buffer area until the downloading is completed or the power is off.
In one embodiment, the data comparison module is used for multiplying the fixed byte length and the node number to obtain the recorded byte length; and performing byte length comparison processing on the recorded byte length and the actual byte length to obtain a comparison result, wherein the comparison result comprises that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length.
In one embodiment, the data processing module is configured to determine a data node to be downloaded according to the downloaded data when the comparison result indicates that the record byte length is consistent with the actual byte length; and when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data.
For specific limitations of the data downloading device, reference may be made to the above limitation of the method of the data downloading device, and no further description is given here. The respective modules in the above-described data downloading apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data downloading method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 11 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
responding to the data downloading request, and when synchronous data corresponding to the data downloading request exists, acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded data;
comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result;
determining a data node to be downloaded according to the comparison result and the downloaded data;
and downloading the data according to the data node to be downloaded.
In one embodiment, the processor when executing the computer program further performs the steps of:
responding to a data downloading request, and extracting a first file for storing downloaded data and a second file for storing the node number corresponding to the downloaded data; and acquiring the downloaded data from the first file, and acquiring the node number corresponding to the downloaded data from the second file.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the synchronous data corresponding to the data downloading request does not exist, data downloading is carried out, and the obtained downloaded data and the node number corresponding to the downloaded data are synchronously stored.
In one embodiment, the processor when executing the computer program further performs the steps of:
when there is no synchronous data corresponding to the data download request, data download is performed, and a first file for synchronously storing the downloaded data and a second file for synchronously storing the number of nodes corresponding to the downloaded data are created. And synchronously storing the downloaded data to a first file according to the fixed byte length, and storing the node number corresponding to the synchronously stored downloaded data to a second file.
In one embodiment, the processor when executing the computer program further performs the steps of:
performing byte length counting on the data downloaded into the file buffer; when the counting result reaches the fixed byte length, synchronously storing the downloaded data with the fixed byte length into a first file; when the synchronous storage of the downloaded data with the fixed byte length is completed, recording the node number corresponding to the downloaded data in a second file; and clearing the data in the file buffer area, clearing the counting result, and returning to the step of counting the byte length of the data downloaded into the file buffer area until the downloading is completed or the power is off.
In one embodiment, the processor when executing the computer program further performs the steps of:
multiplying the fixed byte length and the node number to obtain the recorded byte length; and performing byte length comparison processing on the recorded byte length and the actual byte length to obtain a comparison result, wherein the comparison result comprises that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the comparison result is that the length of the recorded bytes is consistent with the length of the actual bytes, determining a data node to be downloaded according to the downloaded data; and when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
responding to the data downloading request, and when synchronous data corresponding to the data downloading request exists, acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded data;
Comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number to obtain a comparison result;
determining a data node to be downloaded according to the comparison result and the downloaded data;
and downloading the data according to the data node to be downloaded.
In one embodiment, the computer program when executed by the processor further performs the steps of:
responding to a data downloading request, and extracting a first file for storing downloaded data and a second file for storing the node number corresponding to the downloaded data; and acquiring the downloaded data from the first file, and acquiring the node number corresponding to the downloaded data from the second file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the synchronous data corresponding to the data downloading request does not exist, data downloading is carried out, and the obtained downloaded data and the node number corresponding to the downloaded data are synchronously stored.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when there is no synchronous data corresponding to the data download request, data download is performed, and a first file for synchronously storing the downloaded data and a second file for synchronously storing the number of nodes corresponding to the downloaded data are created. And synchronously storing the downloaded data to a first file according to the fixed byte length, and storing the node number corresponding to the synchronously stored downloaded data to a second file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
performing byte length counting on the data downloaded into the file buffer; when the counting result reaches the fixed byte length, synchronously storing the downloaded data with the fixed byte length into a first file; when the synchronous storage of the downloaded data with the fixed byte length is completed, recording the node number corresponding to the downloaded data in a second file; and clearing the data in the file buffer area, clearing the counting result, and returning to the step of counting the byte length of the data downloaded into the file buffer area until the downloading is completed or the power is off.
In one embodiment, the computer program when executed by the processor further performs the steps of:
multiplying the fixed byte length and the node number to obtain the recorded byte length; and performing byte length comparison processing on the recorded byte length and the actual byte length to obtain a comparison result, wherein the comparison result comprises that the recorded byte length is consistent with the actual byte length or the recorded byte length is inconsistent with the actual byte length.
In one embodiment, the computer program when executed by the processor further performs the steps of:
When the comparison result is that the length of the recorded bytes is consistent with the length of the actual bytes, determining a data node to be downloaded according to the downloaded data; and when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile memory may include Read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, or the like. Volatile memory can include random access memory (RandomAccessMemory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can take many forms, such as static random access memory (StaticRandomAccessMemory, SRAM) or dynamic random access memory (DynamicRandomAccessMemory, DRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method of data download, the method comprising:
responding to a data downloading request, when synchronous data corresponding to the data downloading request exists, acquiring downloaded data which is downloaded in a unit of bytes with fixed byte length in the synchronous data and the node number corresponding to the downloaded data, wherein the method comprises the following steps of: detecting whether the downloaded data which is downloaded in a unit of bytes with fixed byte length in the synchronous data exists in a first file or not and whether the node number corresponding to the downloaded data exists in a second file or not, and judging that the continuous downloading flow after power-off restarting is carried out when the node number corresponding to the downloaded data in the first file and the node number corresponding to the downloaded data in the second file exist so as to extract the first file for storing the downloaded data and the second file for storing the node number corresponding to the downloaded data; acquiring downloaded data from the first file, and acquiring the node number corresponding to the downloaded data from the second file; the node number is used for representing the number of bytes containing the fixed byte length in the downloaded data;
Performing byte length comparison processing on the recorded byte length obtained by multiplying the fixed byte length and the node number by the actual byte length of the downloaded data to obtain a comparison result;
when the comparison result is that the length of the recorded byte is consistent with the length of the actual byte, determining a data node to be downloaded according to the downloaded data;
when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data;
and downloading the data according to the data node to be downloaded.
2. The method of claim 1, wherein the first file and the second file are created in a persistent storage space.
3. The method of claim 1, wherein after responding to the data download request, further comprising:
and when the synchronous data corresponding to the data downloading request does not exist, downloading the data, and synchronously storing the obtained downloaded data and the node number corresponding to the downloaded data.
4. The method of claim 1, wherein after responding to the data download request, further comprising:
when the synchronous data corresponding to the data downloading request does not exist, data downloading is carried out, and a first file for synchronously storing the downloaded data and a second file for synchronously storing the node number corresponding to the downloaded data are created;
synchronously storing the downloaded data to the first file according to the fixed byte length, and storing the node number corresponding to the synchronously stored downloaded data to the second file.
5. The method of claim 4, wherein the storing the downloaded data synchronously to the first file with a fixed byte length, and storing the number of nodes corresponding to the synchronously stored downloaded data to the second file comprises:
performing byte length counting on the data downloaded into the file buffer;
when the counting result reaches the fixed byte length, synchronously storing the downloaded data with the fixed byte length into the first file;
when the synchronous storage of the downloaded data with the fixed byte length is completed, recording the node number corresponding to the downloaded data in the second file;
And clearing the data in the file buffer area, clearing the counting result, and returning to the step of counting the byte length of the data downloaded into the file buffer area until the downloading is completed or the power is off.
6. The method according to claim 1, wherein the responding to the data download request, when there is synchronous data corresponding to the data download request, obtaining downloaded data downloaded in units of bytes of a fixed byte length in the synchronous data and the number of nodes corresponding to the downloaded data includes:
responding to a data downloading request, and if synchronous data corresponding to the data downloading request exists in a permanent storage space of the terminal, acquiring downloaded data which is downloaded by taking a byte with a fixed byte length as a unit in the synchronous data and the number of nodes corresponding to the downloaded data.
7. The method of claim 1, wherein the data download mode includes a file transfer protocol based mode and a hypertext transfer protocol based mode.
8. A data downloading apparatus, the apparatus comprising:
a data response obtaining module, configured to respond to a data download request, and when there is synchronous data corresponding to the data download request, obtain downloaded data that is downloaded in a unit of bytes with a fixed byte length in the synchronous data and a node number corresponding to the downloaded data, where the node number includes: detecting whether the downloaded data which is downloaded in a unit of bytes with fixed byte length in the synchronous data exists in a first file or not and whether the node number corresponding to the downloaded data exists in a second file or not, and judging that the continuous downloading flow after power-off restarting is carried out when the node number corresponding to the downloaded data in the first file and the node number corresponding to the downloaded data in the second file exist so as to extract the first file for storing the downloaded data and the second file for storing the node number corresponding to the downloaded data; acquiring downloaded data from the first file, and acquiring the node number corresponding to the downloaded data from the second file; the node number is used for representing the number of bytes containing the fixed byte length in the downloaded data;
The data comparison module is used for performing byte length comparison processing on the recorded byte length obtained by multiplying the fixed byte length and the node number by the actual byte length of the downloaded data to obtain a comparison result;
the data processing module is used for determining a data node to be downloaded according to the downloaded data when the comparison result is that the length of the recorded byte is consistent with the length of the actual byte; when the comparison result is that the recorded byte length is inconsistent with the actual byte length, deleting the downloaded data with the byte length larger than the recorded byte length to obtain updated downloaded data, and determining the data node to be downloaded according to the updated downloaded data;
and the data downloading module is used for downloading data according to the data node to be downloaded.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202011118379.8A 2020-10-19 2020-10-19 Data downloading method, device, computer equipment and storage medium Active CN112291317B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011118379.8A CN112291317B (en) 2020-10-19 2020-10-19 Data downloading method, device, computer equipment and storage medium
PCT/CN2021/107049 WO2022083190A1 (en) 2020-10-19 2021-07-19 Data downloading method and apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011118379.8A CN112291317B (en) 2020-10-19 2020-10-19 Data downloading method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112291317A CN112291317A (en) 2021-01-29
CN112291317B true CN112291317B (en) 2023-11-24

Family

ID=74496451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011118379.8A Active CN112291317B (en) 2020-10-19 2020-10-19 Data downloading method, device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112291317B (en)
WO (1) WO2022083190A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291317B (en) * 2020-10-19 2023-11-24 深圳市广和通无线股份有限公司 Data downloading method, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291195A (en) * 2008-05-23 2008-10-22 中兴通讯股份有限公司 File downloading method, system and terminal realizing breaker point continuous transmission
CN101771494A (en) * 2008-12-29 2010-07-07 深圳市维信联合科技有限公司 Data transmission method and data transmission device
CN104166567A (en) * 2014-08-12 2014-11-26 广州金山网络科技有限公司 Method and device for downloading network stream data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582924A (en) * 2009-06-19 2009-11-18 深圳市五巨科技有限公司 Data transmission method of mobile terminal and device thereof
CN103227812B (en) * 2013-03-19 2016-08-03 青岛海信宽带多媒体技术有限公司 Smart machine is supported method for down loading and the device of breakpoint transmission
CN104363271B (en) * 2014-10-28 2018-01-16 广东欧珀移动通信有限公司 Document breakpoint transmission method and device
US10666707B2 (en) * 2017-01-11 2020-05-26 Microsoft Technology Licensing, Llc Nonconsecutive file downloading
CN110336871A (en) * 2019-07-01 2019-10-15 江苏满运软件科技有限公司 A kind of document handling method, device, storage medium and electronic equipment
CN112291317B (en) * 2020-10-19 2023-11-24 深圳市广和通无线股份有限公司 Data downloading method, device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291195A (en) * 2008-05-23 2008-10-22 中兴通讯股份有限公司 File downloading method, system and terminal realizing breaker point continuous transmission
CN101771494A (en) * 2008-12-29 2010-07-07 深圳市维信联合科技有限公司 Data transmission method and data transmission device
CN104166567A (en) * 2014-08-12 2014-11-26 广州金山网络科技有限公司 Method and device for downloading network stream data

Also Published As

Publication number Publication date
WO2022083190A1 (en) 2022-04-28
CN112291317A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
JP6144748B2 (en) File safe deletion function providing apparatus, method thereof, computer-readable recording medium on which program for executing the method is recorded, and application distribution system
CN107832100B (en) APK plug-in loading method and terminal thereof
US20110093437A1 (en) Method and system for generating a space-efficient snapshot or snapclone of logical disks
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN109831351B (en) Link tracking method, device, terminal and storage medium
CN109697140B (en) Data backup method and device, data recovery method and device and storage medium
CN106886422A (en) Method for upgrading software and device, electronic equipment
CN109726039B (en) Method and apparatus for managing virtual machines
CN112291317B (en) Data downloading method, device, computer equipment and storage medium
EP3289455A1 (en) Automatic task tracking
US10503430B2 (en) Method and device for clearing data and electronic device
CN108446144B (en) Application program starting method and device, terminal and storage medium
CN108804258B (en) Data recovery method and device, mobile terminal and storage medium
CN115495020A (en) File processing method and device, electronic equipment and readable storage medium
CN106547485B (en) Data migration method and device
CN110321321A (en) Network control techology snapshot reading/writing method, device, equipment and storage medium
CN113840313B (en) Network mode control method and device of mobile terminal and computer equipment
CN108491160A (en) A kind of method for writing data and device
CN114048404A (en) Display method and device and electronic equipment
CN111625302A (en) Function time consumption tracking method, device and storage medium
CN109669810B (en) Information storage method, information storage card recovery method, information storage device, information storage card recovery device, electronic equipment and storage medium
CN113467698A (en) Writing method and device based on file system, computer equipment and storage medium
US10095589B2 (en) System and method for optimization of operating system restore
CN114690988B (en) Test method and device and electronic equipment
US20180007152A1 (en) Asynchronous custom exit points

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
GR01 Patent grant
GR01 Patent grant