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

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

Info

Publication number
CN112291317A
CN112291317A CN202011118379.8A CN202011118379A CN112291317A CN 112291317 A CN112291317 A CN 112291317A CN 202011118379 A CN202011118379 A CN 202011118379A CN 112291317 A CN112291317 A CN 112291317A
Authority
CN
China
Prior art keywords
data
downloaded
byte length
file
downloading
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.)
Granted
Application number
CN202011118379.8A
Other languages
Chinese (zh)
Other versions
CN112291317B (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

Images

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

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 acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists; comparing the actual byte length of the downloaded data according to the preset fixed byte length and the number of the nodes to obtain a comparison result; determining a data node to be downloaded according to the comparison result and the downloaded data; and downloading data according to the data node to be downloaded. By adopting the method, the data processing resource in the data downloading process can be saved.

Description

Data downloading method and 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 and apparatus, a computer device, and a storage medium.
Background
At present, with the rapid development of internet technology, data downloading technology based on network transmission protocol is increasingly developed, and when network transmission is in a problem, a data downloading scheme technology of breakpoint continuous transmission is realized for subsequent data transmission recovery.
In the breakpoint resume data downloading scheme technology, a scheme is provided for resuming downloading data at a breakpoint when network transmission is faulty or network is disconnected.
However, when a power failure occurs, the breakpoint resume data downloading scheme cannot provide for resuming downloading data, and since the power failure may occur at any time and cannot be predicted, once the power failure occurs, the inevitable problem that the data cannot be continuously downloaded on the basis of downloading before the power failure occurs, so that data downloading needs to be performed again, and data processing resources are wasted.
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 acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists;
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 the data download request, when there is synchronous data corresponding to the data download request, the acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data includes:
responding to the data downloading request, and extracting a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data;
and acquiring the downloaded data from the first file, and acquiring the number of nodes corresponding to the downloaded data from the second file.
In one embodiment, after responding to the data download request, the method further includes:
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.
In one embodiment, after responding to the data download request, the method further includes:
when synchronous data corresponding to the data downloading request does not exist, 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;
and synchronously storing the downloaded data to a first file according to a fixed byte length, and storing the node number corresponding to the synchronously stored downloaded data to a second file.
In one embodiment, the step of synchronously storing the downloaded data into the first file according to the fixed byte length, and the step of storing the node number corresponding to the synchronously stored downloaded data into the second file includes:
counting 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 to a first file;
when the synchronous storage of the downloaded data with the fixed byte length is finished, recording the number of nodes corresponding to the downloaded data in a second file;
clearing the data in the file buffer area and clearing the counting result, and returning to the step of counting the byte length of the data downloaded to the file buffer area until the downloading is finished or the power is cut off.
In one embodiment, comparing the actual byte length of the downloaded data according to the preset fixed byte length and the node number, and obtaining a comparison result includes:
carrying out data multiplication on the fixed byte length and the node number to obtain a recorded byte length;
and comparing the recorded byte length with 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, comparing the recording byte length with the actual byte length to obtain a comparison result, where the comparison result includes that the recording byte length is consistent with the actual byte length or the recording byte length is inconsistent with the actual byte length:
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;
and when the comparison result shows 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 download apparatus, the apparatus comprising:
the data response acquisition module is used for responding to the data downloading request, and acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded 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 and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to the data downloading request, and acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists;
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, on which a computer program is stored which, when executed by a processor, carries out the steps of:
responding to the data downloading request, and acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists;
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.
The data downloading method, the device, the computer equipment and the storage medium judge whether the downloaded data and the node number are backed up in advance by responding to the data downloading request and taking the existence of the synchronous data corresponding to the data downloading request as a condition, when the synchronous data exists, the synchronous downloaded data and the node number corresponding to the downloaded data are obtained, the downloaded data are stored synchronously, the loss of the downloaded data 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 compared according to the preset fixed byte length and the node number, the byte length of the downloaded data is processed by the fixed byte length and the node number, thereby simplifying the complex processing process of all the downloaded data, and obtaining a comparison result to verify whether the recorded byte length is consistent with the byte length of the downloaded data, determining a data node to be downloaded according to the comparison result and the downloaded data, and downloading the data by taking the data node to be downloaded as a starting point without downloading all data again, so that the data processing resources in the data downloading process are saved.
Drawings
FIG. 1 is a diagram of an application environment of a data download method in one embodiment;
FIG. 2 is a flow diagram illustrating a data download method according to one embodiment;
FIG. 3 is a flowchart illustrating a data downloading method according to another embodiment;
FIG. 4 is a flowchart illustrating a data downloading method according to another embodiment;
FIG. 5 is a flowchart illustrating a data downloading method according to still another embodiment;
FIG. 6 is a flow chart illustrating the absence of synchronization data in the data downloading method according to an embodiment;
FIG. 7 is a flowchart illustrating a data downloading method according to another embodiment;
FIG. 8 is a flowchart illustrating a data downloading method according to another embodiment;
FIG. 9 is a diagram illustrating an exemplary data download method;
FIG. 10 is a block diagram showing the structure of a data download apparatus according to an embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data downloading method provided by the application can be applied to the application environment shown in fig. 1. The terminal 102 responds to the data downloading request, when synchronous data corresponding to the data downloading request exists, the terminal 102 first obtains downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data, then according to the preset fixed byte length and the number of nodes, the terminal 102 compares the actual byte length of the downloaded data to obtain a comparison result, then the terminal 102 determines a 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, laptops, smartphones, tablets, and portable wearable devices.
In an embodiment, as shown in fig. 2, a data downloading method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, responding to the data downloading request.
Wherein the data downloading includes a case when there is synchronous data corresponding to the data downloading request and a case when there is no synchronous data corresponding to the data downloading request.
Specifically, the terminal firstly performs network injection, that is, network registration, and ensures that a network can be activated, the network is activated to allocate an IP (Internet Protocol) address, and it is ensured that the IP address is a premise that downloading can be performed. When the terminal receives the data downloading request, the terminal responds to the data downloading request, preferably, the response end of the data downloading request may be a user operation, or an automatic response downloading process after power-off restart, and may be, but is not limited to, the above response sending method. After the terminal responds to the data downloading request and before the data downloading, detection processing is also carried out to detect whether corresponding synchronous data exists.
And step 204, 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.
The synchronous data corresponding to the data downloading request comprises downloaded data and the number of nodes corresponding to the downloaded data.
Specifically, when synchronous data corresponding to the data downloading request exists in the permanent storage space of the terminal, the downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data are obtained from the permanent storage space. Preferably, the permanent storage space may be a hard disk storage such as a Flash memory, which is a non-volatile memory and does not lose data due to power failure during the downloading process. When data is stored in the storage space, the data may exist permanently, or other permanent storage spaces may be used, such as, but not limited to, various storage spaces for providing stored data, and the storage space is associated with a terminal.
And step 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, it can be set to 10000 bytes or 20000 bytes, when it is not limited to the above byte length, only one fixed byte length needs 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 node number corresponding to downloaded data in the synchronous data is read, the node number corresponding to the downloaded data and the fixed byte length are multiplied according to the preset fixed byte length and the node number corresponding to the downloaded data to obtain the recorded byte length, then the downloaded data in the synchronous data is read, the corresponding actual byte length is obtained according to the downloaded data, the recorded byte length and the actual byte length are compared to obtain a comparison result, 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, in this embodiment, for example, when the fixed byte length is 10000 bytes and the node number corresponding to the downloaded data is 5, it can be known that the terminal has downloaded at least the byte number downloaded data corresponding to the recorded byte length of 5 × 10000 ═ 50000, at the moment, the downloaded data is subjected to byte length comparison processing, the comparison processing only has two results, 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 a data node to be downloaded according to the comparison result and the downloaded data.
The comparison result comprises a first comparison result with the recording byte length consistent with the actual byte length and a second comparison result with the recording byte length 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 a first comparison result and 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 a 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 greater 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 step 210, downloading data according to the data node to be downloaded.
The data nodes to be downloaded comprise data nodes to be downloaded corresponding to downloaded data associated according to the first comparison result and data nodes to be downloaded corresponding to updated downloaded data associated according to the 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 processing and 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 processing and the second comparison result.
In the data downloading method, whether the downloaded data and the number of nodes are backed up in advance is judged by responding to the data downloading request and taking the existence of the synchronous data corresponding to the data downloading request as a condition, when the synchronous data exists, the synchronous downloaded data and the number of nodes corresponding to the downloaded data are obtained, the downloaded data are synchronously stored, the loss of the downloaded data is prevented, the synchronous record of the byte length of the downloaded data is realized based on the number of nodes 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 number of nodes, the byte length of the downloaded data is processed through the fixed byte length and the number of nodes, thereby simplifying the complex processing process of all the downloaded data and obtaining a comparison result, and determining a data node to be downloaded according to the comparison result and the downloaded data by verifying whether the recorded byte length is consistent with the byte length of the downloaded data, and downloading the data by taking the data node to be downloaded as a starting point without downloading all data again, so that the data processing resources in the data downloading process are 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 a node number corresponding to the downloaded data, that is, step 204, includes:
step 302, extracting a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data.
Specifically, the terminal detects the downloaded data in the first file and the node number corresponding to the downloaded data in the second file, detects whether the downloaded data in the first file and the node number corresponding to the downloaded data in the second file exist, and when the downloaded data in the first file and the node number corresponding to the downloaded data in the second file exist, it indicates that a part of data has been downloaded before, and backups the data, and extracts the first file for storing the downloaded data and the second file for storing the node number corresponding to the downloaded data.
And 304, acquiring the downloaded data from the first file, and acquiring the number of nodes corresponding to the downloaded data 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 indicates that a part of data has been downloaded before, and the data is backed up, at this time, the terminal may perform a continuous downloading process after power-off restart, and the terminal may obtain 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, it is determined whether or not the downloaded data and the number of nodes are backed up in advance on the condition that the synchronous data corresponding to the data download request exists, and when the synchronous data exists, the synchronous 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, after responding to the data download request, step 202 further includes:
and 402, 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.
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, it is indicated that data is not downloaded before, the terminal at this time starts a downloading process, the terminal downloads the data, and synchronizes and stores the obtained downloaded data and the number of nodes corresponding to the downloaded data in a file buffer area to a Flash memory or a hard disk.
In this embodiment, the obtained downloaded data and the node number corresponding to the downloaded data are synchronously stored, so that data loss can be prevented for subsequent data backup.
In one embodiment, as shown in fig. 5, after responding to the data download request, step 202 further includes:
step 502, when there is no synchronous data corresponding to the data downloading request, downloading 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 downloading request, detection processing is performed, when synchronous data corresponding to the data downloading request does not exist, it is indicated that data is not downloaded before, the terminal at this time performs a downloading starting process, the terminal starts data downloading, and a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data are created in the 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, and according to 10000 bytes each time, firstly, when downloading to 10000 bytes, the downloaded data corresponding to the fixed byte length of 10000 bytes is downloaded, a Faync function is called, the downloaded data corresponding to the fixed byte length is synchronously stored into the first file from a file cache region, and when the downloaded data corresponding to the fixed byte length is synchronously completed, the number of nodes corresponding to the downloaded data is synchronously stored into the second file, and the first file and the second file after the synchronous storage is completed are both in a permanent storage space associated with the terminal, and can be written into a Flash memory or other hard disk storage.
In this embodiment, when there is no synchronous data corresponding to the data download request, the downloaded data can be backed up by creating a first file for storing the 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 storing the number of nodes corresponding to the synchronously stored downloaded data to the second file.
In one embodiment, as shown in fig. 6, the step 502 of 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 includes:
step 602, counting the byte length of the data downloaded to the file buffer.
Specifically, the data downloaded into the file buffer is counted in 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.
Step 604, when the counting 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.
Step 606, when the synchronous storage of the downloaded data with 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 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, downloading is performed according to 10000 bytes of the fixed byte length, when the fixed byte length of 10000 bytes is reached, the downloaded data corresponding to 10000 bytes is synchronously stored until the first file is completed, at this time, the number of nodes corresponding to the downloaded data in the second file is 1, and if the byte length of the downloaded data in the first file is 20000 bytes, at this time, the number of nodes corresponding to the downloaded data in the second file is 2.
Step 608, clear the data in the file buffer and clear the counting result, and return to the step of counting the byte length of the data downloaded to the file buffer 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 is cut off, and it is noted that the subsequent downloaded data are continuously counted and synchronously stored, and the previously downloaded data are not repeatedly downloaded. In addition, if the synchronous downloaded data is not equal to the fixed byte length in the downloading process, returning to the step of counting the byte length
In this embodiment, by synchronously storing the downloaded data, the loss of the previously downloaded data can be prevented, and based on the number of nodes corresponding to the synchronously downloaded data and the preset fixed byte length, the synchronous recording of the byte length of the downloaded data is realized.
In one embodiment, as shown in fig. 7, 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, that is, step 206, includes:
step 702, multiplying the fixed byte length by the node number to obtain the record byte length.
Specifically, the preset fixed byte length is multiplied by the number of nodes corresponding to downloaded data in the second file, and the result of the data multiplication is the record byte length. For example, if the preset fixed byte length is 10000 bytes, and the number of nodes corresponding to the downloaded data in the second file is 5, the data multiplication is 5 × 10000 — 50000, and a value with the recording byte length of 50000 is obtained.
Step 704, comparing the recorded byte length with 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.
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, and 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.
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 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 a node of the data to be downloaded according to the comparison result and the downloaded data, i.e. step 208, includes:
and step 802, determining a data node to be downloaded according to the downloaded data when the comparison result shows that the recorded byte length is consistent with the actual byte length.
Specifically, when the comparison result is that the recorded byte length is consistent with the actual byte length, the terminal determines the node to be downloaded corresponding to the downloaded data according to the downloaded data corresponding to the actual byte length and through the downloaded data.
And 804, when the comparison result shows 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 deletes the downloaded data with the byte length greater than the recorded byte length to obtain updated downloaded data, and determines the 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 data downloading is performed using the data node to be downloaded as a starting point, 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 data downloading method is applied to the application scene as follows:
in one embodiment, a terminal firstly registers a network to ensure that the network can be activated, the network is activated to allocate an IP address, the terminal responds to a data downloading request, at this time, an FTP downloading mode or an HTTP downloading mode can be selected to be used, after the terminal receives the data downloading request, detection processing is firstly carried out, and whether a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data exist or not is detected.
In one embodiment, when the detection result is that the first file and the second file exist, a power-off continuous transmission downloading process is performed, downloaded data is obtained from the first file, the node number corresponding to the downloaded data is obtained from the second file, data multiplication is performed on the fixed byte length and the node number to obtain a recorded byte length, byte length comparison processing is performed on the recorded byte length and an actual byte length to obtain a comparison result, a data node to be downloaded is determined according to the comparison result and the downloaded data, and data downloading is performed according to the data node to be downloaded. For example, if the fixed byte length is 10000 bytes and the number of nodes corresponding to the downloaded data is 5, it can be known that the terminal has downloaded at least the byte number downloaded data corresponding to the recording byte length of 5 × 10000 bytes to 50000 bytes, the actual byte length of the downloaded data is 50000 bytes or more, when the byte number is 50000 bytes, it indicates that the contents in the first file and the second file are all synchronized at the time of power failure, at this time, the data node to be downloaded is determined according to the downloaded data corresponding to 50000 bytes, and the subsequent data downloading can be directly performed. When the number of the nodes is larger than 50000 bytes, the power failure situation occurs when the number of the nodes in the second file is not recorded in time when the data in the first file is synchronized and completed when the power failure occurs. At this time, it is necessary to ensure the consistency between the downloaded data in the first file and the number of nodes corresponding to the downloaded data in the second file, delete the data larger than 50000 bytes, and continue downloading according to the data subsequent to 50000 bytes.
In one embodiment, when the detection result is that the first file and the second file do not exist, a downloading starting process is performed, the first file used for storing downloaded data and the second file used for storing the number of nodes corresponding to the downloaded data are created, byte length counting is performed on the data downloaded into the file buffer area, 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 are recorded in the second file, the data in the file buffer area are cleared, the counting result is cleared, the step of counting the byte length of the data downloaded into the file buffer area is returned until the downloading is completed or the power is cut off. . For example, the fixed byte is set to 10000 bytes, downloading is performed according to the 10000 bytes, when the data downloaded to the file cache region reaches 10000 bytes, an Fsync function is called, the downloaded data corresponding to the 10000 bytes is synchronously stored in a first file in the Flash memory, when the synchronous storage is completed, the number of the nodes is 1, the number of the nodes is recorded in a second file in the Flash memory, and so on. It should be noted that during the downloading process, the downloading must be counted according to a fixed byte length. Two files can be created in the file buffer area to store the data downloaded to the file buffer area, and when the data is written into the file in the file buffer area according to the fixed bytes, the Fsync synchronization function must be called to write the data in the file buffer area into the file in the Flash memory instantly.
In the embodiment, whether a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data exist or not is detected by responding to a data downloading request, whether the downloaded data and the number of nodes are backed up in advance or not is judged, when synchronous data exist, the downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data are obtained, the downloaded data are prevented from being lost before by synchronously storing the downloaded data, synchronous recording of the byte length of the downloaded data is realized based on the number of nodes corresponding to the synchronous downloaded data and a preset fixed byte length, the byte length of the downloaded data is compared according to the preset fixed byte length and the number of nodes, and the byte length of the downloaded data is processed through the fixed byte length and the number of nodes, so that the complex processing process of all the downloaded data is simplified, and obtaining a comparison result, verifying whether the recorded byte length is consistent with the byte length of the downloaded data, determining a data node to be downloaded according to the comparison result and the downloaded data, and downloading the data by taking the data node to be downloaded as a starting point. When the synchronous data does not exist, the data is synchronously stored in real time by starting a downloading process, so that the backup processing of the data is realized. The power-off continuous transmission downloading process of the embodiment can also carry out continuous transmission after power-off restart, the existing breakpoint continuous transmission needs to be downloaded again because no data backup exists after power-off and the cached data disappears due to an unexpected power-off condition, and the scheme carries out backup processing on the first file and the second file by starting the downloading process.
It should be understood that, although the steps in the flowcharts in the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps of each flowchart may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, as shown in fig. 10, there is provided a data downloading apparatus including: 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 the data downloading request, and obtain, when there is synchronous data corresponding to the data downloading request, downloaded data in the synchronous data and a node number corresponding to the downloaded data;
the data comparison module 1004 is configured to compare actual byte lengths of the downloaded data according to a preset fixed byte length and a preset node number to obtain a comparison result;
the data processing module 1006 is configured to determine a data node to be downloaded according to the comparison result and the downloaded data;
and the data downloading module 1008 downloads data according to the data node to be downloaded.
In one embodiment, the data response obtaining module further comprises: responding to the data downloading request, and extracting a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data; and acquiring the downloaded data from the first file, and acquiring the number of nodes corresponding to the downloaded data from the second file.
In one embodiment, after responding to the data downloading 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 downloading request.
In one embodiment, 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. Further comprising: and synchronously storing the downloaded data to a first file according to a 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 acquiring module is used for counting 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 to a first file; when the downloaded data with the fixed byte length is synchronously stored, recording the number of nodes corresponding to the downloaded data in a second file; clearing the data in the file buffer area and clearing the counting result, and returning to the step of counting the byte length of the data downloaded to the file buffer area until the downloading is finished or the power is cut off.
In one embodiment, the data comparison module is used for multiplying the fixed byte length by the node number to obtain the record byte length; and comparing the recorded byte length with 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 downloaded data when the comparison result indicates that the recorded byte length is consistent with the actual byte length; and when the comparison result shows 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 limitations of the method of the data downloading device, and details are not repeated here. The modules in the data downloading device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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 download 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain 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 a computer program stored therein, the processor implementing the following steps when executing the computer program:
responding to the data downloading request, and acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists;
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 the data downloading request, and extracting a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data; and acquiring the downloaded data from the first file, and acquiring the number of nodes corresponding to the downloaded data from the second file.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
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.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the synchronous data corresponding to the data downloading request does not exist, 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. And synchronously storing the downloaded data to a first file according to a 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:
counting 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 to a first file; when the downloaded data with the fixed byte length is synchronously stored, recording the number of nodes corresponding to the downloaded data in a second file; clearing the data in the file buffer area and clearing the counting result, and returning to the step of counting the byte length of the data downloaded to the file buffer area until the downloading is finished or the power is cut off.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
carrying out data multiplication on the fixed byte length and the node number to obtain a recorded byte length; and comparing the recorded byte length with 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 recorded byte length is consistent with the actual byte length, determining a data node to be downloaded according to the downloaded data; and when the comparison result shows 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 acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists;
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 the data downloading request, and extracting a first file for storing downloaded data and a second file for storing the number of nodes corresponding to the downloaded data; and acquiring the downloaded data from the first file, and acquiring the number of nodes 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:
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.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the synchronous data corresponding to the data downloading request does not exist, 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. And synchronously storing the downloaded data to a first file according to a 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:
counting 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 to a first file; when the downloaded data with the fixed byte length is synchronously stored, recording the number of nodes corresponding to the downloaded data in a second file; clearing the data in the file buffer area and clearing the counting result, and returning to the step of counting the byte length of the data downloaded to the file buffer area until the downloading is finished or the power is cut off.
In one embodiment, the computer program when executed by the processor further performs the steps of:
carrying out data multiplication on the fixed byte length and the node number to obtain a recorded byte length; and comparing the recorded byte length with 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 recorded byte length is consistent with the actual byte length, determining a data node to be downloaded according to the downloaded data; and when the comparison result shows 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.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile memory may include Read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, or the like. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for downloading data, the method comprising:
responding to a data downloading request, and acquiring downloaded data in the synchronous data and the number of nodes corresponding to the downloaded data when the synchronous data corresponding to the data downloading request exists;
comparing the actual byte length of the downloaded data according to the preset fixed byte length and the number of the nodes to obtain a comparison result;
determining a data node to be downloaded according to the comparison result and the downloaded data;
and downloading data according to the data node to be downloaded.
2. The method of claim 1, wherein the responding to the data download request, and when there is synchronization data corresponding to the data download request, the obtaining of the downloaded data in the synchronization data and the number of nodes corresponding to the downloaded data comprises:
responding to a data downloading request, and extracting a first file for storing the downloaded data and a second file for storing the number of nodes corresponding to the downloaded data;
and acquiring downloaded data from the first file, and acquiring the number of nodes corresponding to the downloaded data from the second file.
3. The method of claim 1, wherein after responding to the data download request, further comprising:
and when 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 synchronous data corresponding to the data downloading request does not exist, 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;
and 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 step of synchronously storing the downloaded data into the first file according to a fixed byte length, and the step of storing the node number corresponding to the synchronously stored downloaded data into the second file comprises:
counting 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 to the first file;
when the synchronous storage of the downloaded data with the fixed byte length is finished, recording the number of nodes corresponding to the downloaded data in the second file;
clearing the data in the file buffer area and clearing the counting result, and returning to the step of counting the byte length of the data downloaded to the file buffer area until the downloading is finished or the power is cut off.
6. The method according to claim 1, wherein the comparing the actual byte length of the downloaded data according to the preset fixed byte length and the number of nodes to obtain a comparison result comprises:
carrying out data multiplication on the fixed byte length and the node number to obtain a record byte length;
comparing the recorded byte length with 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.
7. The method of claim 6, wherein the determining a node of data to be downloaded according to the comparison result and the downloaded data comprises:
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;
and when the comparison result shows 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.
8. A data download apparatus, characterized in that the apparatus comprises:
the data response acquisition module is used for responding to a data downloading request, and acquiring downloaded data in the synchronous data and the node number corresponding to the downloaded 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.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one 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 true CN112291317A (en) 2021-01-29
CN112291317B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022083190A1 (en) * 2020-10-19 2022-04-28 深圳市广和通无线股份有限公司 Data downloading method and apparatus, computer device, 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

Cited By (1)

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

Also Published As

Publication number Publication date
CN112291317B (en) 2023-11-24
WO2022083190A1 (en) 2022-04-28

Similar Documents

Publication Publication Date Title
CN107832100B (en) APK plug-in loading method and terminal thereof
US11397648B2 (en) Virtual machine recovery method and virtual machine management device
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
EP3816783B1 (en) Method and device for data migration
CN104881299A (en) Application program freezing method and apparatus
US20110093437A1 (en) Method and system for generating a space-efficient snapshot or snapclone of logical disks
CN105138376A (en) Mixed model application, webpage resource upgrading method thereof, mobile terminal and system
WO2022222438A1 (en) Profile state synchronization method and apparatus, terminal, server, and storage medium
CN109697140B (en) Data backup method and device, data recovery method and device and storage medium
CN113094076A (en) Version iteration method, device, equipment and medium based on version control
CN109814980A (en) Image file acquisition methods and device
CN112291317B (en) Data downloading method, device, computer equipment and storage medium
CN114328097A (en) File monitoring method and device, electronic equipment and storage medium
CN115221156A (en) Database cluster capacity expansion method and device, computer equipment and storage medium
WO2020107469A1 (en) Application processing method and apparatus and storage medium
CN108491160B (en) Data writing method and device
CN108121514B (en) Meta information updating method and device, computing equipment and computer storage medium
CN113704027B (en) File aggregation compatible method and device, computer equipment and storage medium
CN113641640B (en) Data processing method, device, equipment and medium for stream type computing system
CN106547485B (en) Data migration method and device
CN111625500B (en) File snapshot method and device, electronic equipment and storage medium
CN114238399A (en) Cache refreshing system, method and device, computer equipment 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
CN109324931B (en) Method for realizing vmware mount recovery in data de-duplication system
CN111625302A (en) Function time consumption tracking method, device and 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
GR01 Patent grant
GR01 Patent grant