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

Method, device and system for data file transmission and verification

A data file and equipment technology, applied in the field of data file transmission and verification, can solve the problem of not being able to find data file errors in time

Inactive Publication Date: 2011-12-14
ZTE CORP
View PDF3 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a data file transmission and verification method, device and system to solve the problem in the prior art that errors in the data file transmission process cannot be found in time

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
  • Method, device and system for data file transmission and verification
  • Method, device and system for data file transmission and verification
  • Method, device and system for data file transmission and verification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Such as figure 1 As shown, it is a method for data file transmission provided by Embodiment 1 of the present invention, and the specific steps are:

[0038] Step 101: the source device segments the data file.

[0039] In this step, the source device may segment the data file according to the preset number of data segments and the length of each data segment. Including but not limited to the following two segmentation methods.

[0040] method one:

[0041] Set a segment length, and divide the data file into multiple data segments evenly according to the set segment length. If the data file length cannot be completely evenly divided, the length of the last data segment can be smaller than the set segment length. For example, as shown in Figure 2(a), it is a data file with a length of 0x00012000. Figure 2(a) only shows the 32 bytes at the beginning and the 32 bytes at the end of the data file. Set the segment length to 0x4000, as shown in Figure 2(b), the entire data f...

Embodiment 2

[0068] Embodiment 2 of the present invention provides a data file verification method on the basis of the transmission data file in Embodiment 1, such as image 3 shown, including the following steps:

[0069] Step 201: After receiving the data segment, the target device calculates the crc value of the data segment.

[0070] In this step, the target device and the source device use the same algorithm to calculate the crc value of the data segment.

[0071] Step 202: The target device compares the crc value calculated by itself with the crc value of the data segment sent by the source device; if the comparison result is that the crc value matches, then go to step 203; otherwise, go to step 204.

[0072] Step 203: the target device determines that the verification of the data segment is successful.

[0073] Step 204: the target device determines that the verification of the data segment fails.

[0074] Considering that there are at least three transmission modes in which the ...

Embodiment 3

[0087] Embodiment 3 of the present invention illustrates the schemes of Embodiment 1 and Embodiment 2 through specific examples.

[0088] Still taking the transmission of the data file shown in Figure 2(a) as an example, the method for the source device to send the data file to the target device and the target device to verify the received data file in Embodiment 3 includes:

[0089] The first step is to set the segment length to 0x4000, and segment the data file according to the segment length. Since the total length of the data file is 0x00012000, the data file can be divided into 5 data segments, and each data segment is sequentially numbered as 1, 2...5, the size of the last data segment is less than 0x4000, and the segmentation result is shown in Figure 2(b).

[0090] The second step is to add a parameter segment with a size of 0x4000 at the header of the data file, and the parameter segment number is 0. In this embodiment, the data file with added parameter segments may...

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 present invention discloses a method, device and system for transferring and checking data files. The main content includes: with the present invention, after dividing a data file into multiple data segments and calculating the respective Cyclic Redundancy Check (CRC) value for each data segment, a source device performs transmission for each data segment and the CRC value of the data segment respectively, thus enabling a target device which receives the data segments and CRC values of the data segments to check each data segment, and to promptly discover, before the data file has been transferred completely, errors which occur in the course of the data file transfer.

Description

technical field [0001] The invention relates to information and communication technology, in particular to a method, device and system for data file transmission and verification. Background technique [0002] In order to ensure the normal operation of the communication system, the transmission of data files (including wireless transmission or wired transmission) is often involved between devices in the communication system. Due to the poor state of the network or the instability of the transmission channel during the transmission process, the data file packet loss or Problems such as encoding and decoding errors of data files may cause errors in the content of data files transmitted to the target device. In order to avoid the failure of the target device to use the wrong data file to perform business operations due to errors in the content of the data file, the target device needs to verify the data file after receiving the data file transmitted by the source device. [00...

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
IPC IPC(8): H04L1/00H04L29/08
CPCH04L1/0061H04L1/0041
Inventor 王光辉贾晓强谢大
Owner ZTE CORP