Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2021-05-28
MIGU MUSIC CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many cases, the amount of data to be synchronized is relatively large, and at the same time, the synchronization specification often limits the maximum number of records in a synchronization file, which may result in multiple synchronization files being generated. Therefore, it is necessary to check whether all files are synchronized during the synchronization process. complete without omission
[0003] In the prior art, there is a lack of a corresponding skip number check mechanism when generating FTP synchronization data files, causing some file names to generate skip numbers, for example: 1004_channel_001, 1004_channel_002, 1004_channel_004

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data file detection method and device
  • A data file detection method and device
  • A data file detection method and device

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present invention discloses a data file detection method and device, which store the data file in a preset array; if the data file contains sub-files, determine the length of the data in the sub-file of the data file; if the The data file does not contain sub-files, and the length of the data in the data file is determined; according to the length of the data, it is determined whether there is a number skip in the data file. The data file detection method and device disclosed in the embodiment of the present invention can detect whether the data file is completely synchronized during the data synchronization process, avoid repeated statistics of the data file, and can also find problems such as missing data in time, providing a great deal of data file auditing. convenience.

Description

technical field [0001] The invention relates to data synchronization technology in the field of data transmission, in particular to a data file detection method and device. Background technique [0002] Music companies often use data synchronization between systems. In the process of data synchronization, synchronization or data interaction of large amounts of data is usually required. File transfer protocol (FTP, File Transfer Protocol) is generally used for text data synchronization. In many cases, the amount of data to be synchronized is relatively large, and at the same time, the synchronization specification often limits the maximum number of records in a synchronization file, which may result in multiple synchronization files being generated. Therefore, it is necessary to check whether all files are synchronized during the synchronization process. Done without missing a beat. [0003] In the prior art, there is a lack of a corresponding skip number check mechanism whe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/11
CPCG06F16/11
Inventor 蒲猛周建生廖勤耘张弛
Owner MIGU MUSIC CO LTD