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

Embedded device and method for rapidly detecting whether JPEG picture files are right or not

An embedded device and file technology, applied in the direction of responding to errors, etc., can solve the problems of incomplete error handling, inability to guarantee, change, etc., and achieve the effect of simple implementation and avoiding errors

Inactive Publication Date: 2015-04-22
WUDI SCI & TECH (XIAN) CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The use of multimedia data on embedded devices often uses JPEG images, and the JPEG format has a few error-tolerant designs because of the various versions defined in the specification, but it does not have an error-proof design like the PNG format. It is so easy to be fault-tolerant (critical chunks in PNG format have CRC (cyclic redundancy check) to judge whether there is an error in the data in the stored data chunk)
However, due to reasons such as storage of embedded devices or network transmission, the data content may be damaged or changed.
For example, after iNand media storage is erased or read for a certain number of times, the stored content may change. Although there is ECC in the Page in NAND to check and correct a certain bit of data error, it still cannot guarantee 100% no change. content
If there is an error in the content of the JPEG picture, you can only rely on the decoding software or hardware to handle JPEG exceptions, and different hardware decoding chips or decoding library software do not handle errors comprehensively, that is, use JPEG pictures with incorrect content. For display, often due to incomplete fault-tolerant processing, decoding exceptions (exception) occur
However, if you want to handle software decoding fault tolerance comprehensively, it often takes a lot of manpower to modify the decoding library, and hardware modification fault tolerance also requires greater hardware development costs.

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
  • Embedded device and method for rapidly detecting whether JPEG picture files are right or not
  • Embedded device and method for rapidly detecting whether JPEG picture files are right or not

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention aims at the JPEG file format, designs a kind of by counting whether the key Marker segment is missing, and judges the Marker segment with the size mark, compares the paragraph size of the Marker segment mark with the paragraph start position and the file size, if the paragraph start+ If the segment size exceeds the file size, it can be judged that the JPEG file is NG; and the internal data of the paragraph is directly skipped, and the first character of the next paragraph is directly read in the way of stream file Seek, and it is judged whether it contains the short start mark 0xFF, if the next short start is not 0xFF mark, it is directly judged as the JPEG file NG. Because most of the data in a JPEG file is a data segment with a segment size, most of the data does not need to be read and parsed, but skipped, so the speed will be very fast. Overall, the added checks don't affect speed much. Because it does not involve the decoding of the image dat...

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 invention provides an embedded device and method for rapidly detecting whether JPEG picture files are right or not. The embedded device comprises an initialization unit for initializing five Marker section counters including SIO / DQT / SOF / DHT / SOS, an obtaining unit for obtaining the size of the JPEG files and reading JPEG streaming files, a scanning unit for scanning Marker sections and a processing unit, wherein the initialization unit, the obtaining unit, the scanning unit and the processing unit are sequentially connected. By means of the embedded device and method for rapidly detecting whether the JPEG picture files are right or not, whether formats of the JPEG files are right or not can be judged at an extremely-high speed, and hardware decoding or a software decoding library do not need to be modified for the JPEG files with wrong contents.

Description

technical field [0001] The invention relates to an embedded device and method for quickly detecting whether a JPEG image file is correct. Background technique [0002] The use of multimedia data on embedded devices often uses JPEG images, and the JPEG format has a few error-tolerant designs because of the various versions defined in the specification, but it does not have an error-proof design like the PNG format. It is so easy to be fault-tolerant (critical chunks in PNG format have CRC (cyclic redundancy check) to judge whether there is an error in the data in the stored data chunks). However, due to storage media storage or network transmission of embedded devices, the data content may be damaged or changed. For example, after iNand media storage is erased or read for a certain number of times, the stored content may change. Although there is ECC in the Page in NAND to check and correct a certain bit of data error, it still cannot guarantee 100% no change. content. If ...

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): G06F11/07
Inventor 陈淮琰钟辉刘刚
Owner WUDI SCI & TECH (XIAN) CO LTD