A data file detection method and device
A technology of data files and detection methods, applied in the field of data transmission, can solve the problems of file name hopping, large amount of data, lack of hopping checking mechanism, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] An embodiment of the present invention provides a data file detection method, such as figure 1 As shown, the method may include:
[0049] Step 101, storing the data file in a preset array.
[0050] In the process of synchronizing data files, due to various reasons, the synchronizing data files are incomplete, that is, the file serial number of the synchronizing data files skips numbers. For example, when generating synchronous data files, it may Sudden power outages and other accidents caused the synchronization data file to not be successfully generated. Without the synchronization data file, there is no corresponding file name for the data file, but the underlying data storage has already been counted, and the file has been recorded in the array. Since it has not been successfully generated, the content of the file is empty although it has been counted; when receiving the synchronous data file, there may be a transmission failure during the transmission process, resu...
Embodiment 2
[0069] An embodiment of the present invention provides a data file detection method, such as figure 2 As shown, the method may include:
[0070] Step 201, generate a data file.
[0071] It should be noted that the data file detection method provided by the embodiment of the present invention can be applied to the detection of the generated data file when the data file is generated, or can be applied to the detection of the received data file when the data file is received.
[0072] Step 202, if the data file does not contain sub-files, obtain the file serial number of the data file; determine the storage serial number of the data file in the preset array according to the file serial number of the data file; store the data file stored in the location corresponding to the storage sequence number of the preset array.
[0073] Specifically, the data file detection device determines whether the data file contains sub-files, if the data file does not contain sub-files, the data f...
Embodiment 3
[0084] An embodiment of the present invention provides a data file detection method, such as image 3 As shown, the method may include:
[0085] Step 301, generating a data file.
[0086] It should be noted that the data file detection method provided by the embodiment of the present invention can be applied to the detection of the generated data file when the data file is generated, or can be applied to the detection of the received data file when the data file is received.
[0087] Step 302, if the data file contains sub-files, obtain the file serial number and sub-file serial number of the data file; determine the first storage serial number of the data file in the preset array according to the file serial number of the data file ; According to the serial number of the sub-file, determine the second storage serial number of the sub-file in the sub-array of the first storage serial number of the preset array, and store the sub-file in the first storage serial number of the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


