WO2011076037A1 - 处理图像文件中扩展信息的装置及方法 - Google Patents

处理图像文件中扩展信息的装置及方法 Download PDF

Info

Publication number
WO2011076037A1
WO2011076037A1 PCT/CN2010/078086 CN2010078086W WO2011076037A1 WO 2011076037 A1 WO2011076037 A1 WO 2011076037A1 CN 2010078086 W CN2010078086 W CN 2010078086W WO 2011076037 A1 WO2011076037 A1 WO 2011076037A1
Authority
WO
WIPO (PCT)
Prior art keywords
extended information
image file
information
encrypted
processing
Prior art date
Application number
PCT/CN2010/078086
Other languages
English (en)
French (fr)
Inventor
吴鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP10838600.4A priority Critical patent/EP2518640A4/en
Priority to US13/257,938 priority patent/US8738928B2/en
Publication of WO2011076037A1 publication Critical patent/WO2011076037A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32128Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title attached to the image data, e.g. file header, transmitted message header, information on the same page or in the same computer file as the image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/328Processing of the additional information
    • H04N2201/3281Encryption; Ciphering

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to an apparatus and method for processing extended information in an image file. Background technique
  • Image processing generally refers to digital image processing.
  • a digital image is a set of two-dimensional arrays that are digitally imaged or digitized by a digital camera, scanner, etc.
  • the elements in the array are called pixels, and the array value is an integer called gray value.
  • Image processing techniques mainly include: image compression, enhancement and restoration, matching and description, and recognition of three parts.
  • the processing method of the image extension information mainly adopts the Exif image file specification used by the JPEG file, wherein the Exif image file header is similar to the dictionary structure, and includes an index portion and a content portion.
  • the index information of the tag type information (specified by the Exif standard) is put together as a first-level dictionary.
  • a secondary dictionary and a supplementary dictionary are added at the end of the first-level dictionary portion, wherein the remaining index information is placed in the supplementary dictionary.
  • Each set of Exif tags has the same structure.
  • the index information part is composed of characters of a specified length, and generally includes the following items: label type, such as vendor name, etc.; label content type, such as ASCII, label length, the label length is generally an integer value; the address of the label content.
  • label type such as vendor name, etc.
  • label content type such as ASCII, label length
  • the label length is generally an integer value
  • address of the label content In addition to image compression data, other extended information, such as device manufacturer information, lens, aperture, and other photographic parameters can be stored in the corresponding tag.
  • the technical problem to be solved by the present invention is to provide an apparatus and method for processing extended information in an image file, which realizes editing information of image files in various formats, realizes flexibility of extended information editing, and ensures security of extended information.
  • the present invention provides an apparatus for processing extended information in an image file, the apparatus comprising: an editing module, an encryption module, and a decryption module;
  • the editing module is configured to perform image editing on the image file, and send the edited extended information to the encryption module;
  • the encryption module is configured to perform encryption processing on the extended information edited by the editing module, and additionally add the encrypted extended information to the image file;
  • the decryption module is configured to extract extended information encrypted by the encryption module from a desired image file, and perform decryption processing on the encrypted extended information.
  • the means for processing the extended information in the image file further comprises a display module configured to decode and display the extended information decrypted by the decryption module.
  • the apparatus for processing extended information in an image file wherein the extended information comprises a set of extended information segments; and the extended information segment comprises an extended information segment header and an extended information segment content.
  • the device for processing the extended information in the image file wherein the encryption module is further configured to add the segment header information of the extended information segment to the encrypted extended information.
  • the device for processing extended information in an image file wherein the decrypting module is configured to: extract extended information encrypted by the encryption module from a desired image file, and according to the segment header The information extracts the encrypted extended information segment from the image file, and decrypts the encrypted extended information segment.
  • the device for processing the extended information in the image file wherein the display module is further configured to decode and display the extended information edited by the editing module.
  • the present invention also provides an extended information in processing an image file.
  • the method includes:
  • the encrypted extended information is extracted from the desired image file, and the encrypted extended information is decrypted.
  • the method for processing the extended information in the image file further includes: after the step of performing the decryption processing on the encrypted extended information:
  • the decrypted extended information is decoded and displayed.
  • the expansion information comprises a set of extended information segments
  • the extended information segment comprises an extended information segment header and an extended information segment content.
  • the method for processing extended information in an image file wherein, after the step of performing encryption processing on the edited extended information, before the step of adding the encrypted extended information to an image file , also includes:
  • the segment header information of the extended information segment is added to the encrypted extension information.
  • the method for processing extended information in an image file wherein the extracting the encrypted extended information from the required image file comprises: according to the encrypted extension extracted from the required image file And the segment header information in the information, extracting the encrypted extended information segment from the required image file; the step of performing decryption processing on the encrypted extended information includes: the encrypted extended information segment Decryption processing.
  • the method for processing the extended information in the image file further includes: decoding and displaying the edited extended information.
  • the apparatus and method for processing extended information in an image file according to the present invention wherein the apparatus is provided with an editing module for performing extended information editing on the image file, an encryption module for decrypting and decrypting the edited extended information, and a decryption module, thereby realizing each
  • the image file of the format is edited by the extended information to ensure the security of the extended information.
  • the method for expanding the information in the image file of the present invention uses the extended information editing of the image file, and encrypts and decrypts the edited extended information. The way, The purpose of editing image extension information in various formats is realized, and the security of the extended information can also be guaranteed.
  • FIG. 1 is a schematic structural diagram of an apparatus for processing extended information in an image file according to the present invention
  • FIG. 2 is a flowchart of Embodiment 1 of a method for processing extended information in an image file of the present invention
  • FIG. 3 is an extension of a processed image file of the present invention
  • FIG. 4 is a flowchart of Embodiment 3 of a method for processing extended information in an image file according to the present invention
  • FIG. 5 is a flowchart of Embodiment 4 of a method for processing extended information in an image file according to the present invention
  • Figure 6 is a schematic diagram showing the format of an extended information segment in an image file of the present invention
  • FIG. 7 is a schematic diagram of a combined format of extended information segments in an image file of the present invention.
  • Figure 8 is a diagram showing the format of an extended information segment header added to an encrypted extended information segment in the image file of the present invention.
  • the present invention provides an apparatus for processing an image in order to edit extended information in an image file of all formats, in which an editing module for editing extended information is provided; an encryption module for encrypting extended information; a decryption module for decrypting the encrypted extended information; and a display module for decoding and displaying the extended information.
  • the structure of the apparatus for processing the extended information in the image file of the present invention specifically includes: an editing module 10, an encryption module 20, a decryption module 30, and a display module 40, wherein the editing module 10 is used to edit an image file.
  • Extended information including adding, deleting, and modifying extended information, the extended information including one or more extended information segments, each extended information segment including an extended information segment header and extended information segment content; and an encryption module 20 for each extended information
  • the segment is encrypted, the segment header information is added to the encrypted extended information segment, and then the encrypted extended information segment is additionally written into the original In the corresponding image file
  • the encryption method of the encryption module 20 may use DES (Data Encryption Standard) and MD5 (Message-Digest Algorithm 5) encryption methods, but is not limited to the two encryption algorithms;
  • the module 30 is configured to extract the encrypted extended information segment from the original image file, and find the segment header information of the extended information, and then read the encrypted extended information segment according to the segment header information, and use the corresponding decryption algorithm.
  • the extended information segment is decrypted to obtain each extended information segment, and then each of the decrypted extended information segments is sent to the display module 40.
  • the display module 40 is configured to analyze each of the decrypted extended information segments. And decoding the display; the display module 40 can also directly decode and display the edited extended information.
  • the decryption module 30 extracts the encrypted extended information segment from the received original image file required by the user.
  • the apparatus for processing extended information in an image file of the present invention can be widely applied to various terminal devices, such as various types of mobile phone terminals, image browsing devices, and the like.
  • the device of the present invention is disposed at a device terminal, and the device terminal provides an extended information editing interface, and the editing interface may be a window interface, and the user edits the extended information in the image file by using the editing module 10 in the device of the present invention.
  • the extended information includes one or more sets of extended information segments, and the user can input an extended information segment of the image file on the editing interface by using the editing module 10, and each set of extended information segments includes: an extended information segment header and an extended information segment content.
  • the apparatus for processing extended information in an image file wherein the encryption module 20 additionally writes the encrypted extended information to the original image file without affecting decoding of the image in the original image file, and the user can browse the image normally, and Affected by extended information;
  • the device of the present invention reads the encrypted extended information in the original image file through the decryption module 30 under the instruction of the user, decrypts and restores each extended information segment, and analyzes and decodes through the display module 40 to perform friendly interaction.
  • the mode is displayed, and each set of extended information segments includes an extended information segment header and an extended information segment content.
  • the flowchart of the first embodiment of the method for processing the extended information in the image file of the present invention includes the process of editing, adding/decrypting, and displaying the extended information, which specifically includes the following steps: Step 201: Selecting needs to be performed Extend the image file for information editing and extend it Edit
  • the editing of the extended information includes: adding extended information of the image file, deleting the extended information in the image file, and modifying the extended information in the image file;
  • Step 202 Encrypt each extended information after editing, and add segment header information of the extended information segment to the encrypted extended information, and then additionally add the encrypted extended information to the corresponding original image file. ;
  • the DES and MD5 encryption algorithms are used to encrypt the extended information, but are not limited to the two encryption algorithms;
  • the segment header information of the extended information segment includes: identifier (ZtelmageExTag), number of information segments, encryption mode indication segment (DES, MD5 or other encryption algorithm), total length of all original extended information segments, total length of extended information encryption, etc.
  • identifier ZtelmageExTag
  • number of information segments number of information segments
  • encryption mode indication segment DES, MD5 or other encryption algorithm
  • total length of all original extended information segments total length of extended information encryption, etc.
  • Step 203 extract the encrypted extended information from the original image file, and find the segment header information of the extended information, and then, according to the segment header information, read the encrypted extended information segment, and decrypt the extended information, and then Revert to the extended information before encryption;
  • Step 204 Decode and display the decrypted extended information.
  • FIG. 3 A flowchart of Embodiment 2 of the method for processing extended information in an image file of the present invention, referring to FIG. 3, adding image extension information by user editing, and saving the added extended information to the original image file, and expanding the extension if necessary
  • the information is displayed as an example.
  • the method for processing an image file of the present invention is described.
  • the user before the user edits and adds the image extension information, the user should also provide an extended information editing interface, which specifically includes the following steps:
  • Step 301 The user edits the extended information section title and the extended information section content of the added image file in the editing interface.
  • Step 302 Encrypt the extended information segment header and the extended information segment content added by the editing;
  • Step 303 additionally add the encrypted extended information segment header and the extended information segment content to the original image file;
  • Step 304 Decrypt the encrypted extended information segment under the instruction of the user, and restore to the extended information segment before encryption;
  • Step 305 Decode and display the decrypted extended information segment.
  • the flowchart of the third embodiment of the method for processing the extended information in the image file of the present invention is as follows. Referring to FIG. 4, the method of the present invention is described by taking the process of adding the edited extended information segment to the original image file by the user as an example, and the method includes the following: The following steps:
  • Step 401 The user selects an image file that needs to be edited by the extended information.
  • Step 402 The user performs extended information editing on the image file.
  • the editing process includes: adding an extended information segment, inputting a corresponding extended information segment header and an extended information segment content in each extended information segment, and performing editing and ending confirmation after editing, wherein there are multiple extended information segments.
  • Step 403 Acquire extended information edited by the user, add segment header information to each extended information segment in the extended information, and combine all extended information segments; wherein the extended information includes one or more sets of extended information segments, each group
  • the extended information segment includes: an extended information header and an extended information content; in this embodiment, the extended information segment format is described by taking two extended information segments of time and place as an example, and the extended information segment combined format diagram of the image file of the present invention is shown in the figure. 7 , which includes the following information: segment length information, title length information, time information, title content information;
  • Step 404 Encrypt the extended information segment combination, where the step uses DES, MD5 or other encryption method to encrypt the combined extended information.
  • Step 405 Add a total extended information segment header to the encrypted extended information segment combination, where the total extended information segment header includes: an identifier (ZtelmageExTag;), an information segment number, and an encryption mode indication segment (DES, MD5, or other encryption algorithm). And the total length of all the original extended information segments, the total length of the extended information encryption; obtaining the encrypted extended information of the total extended information segment header, and then additionally adding the encrypted extended information binary manner to the original image file;
  • the format of the extended information segment header added to the encrypted extended information segment in the image file see Figure 8, including the following information: Number of segments, encryption method, original content length, encrypted content length, plus password stream.
  • the method for encrypting the extended information in step 405 may adopt any currently available security algorithm with higher security, and is not limited to the DES and MD5 encryption algorithms; and the identifier is used to identify the origin of the extended information.
  • Step 501 The user selects an image file whose extended information needs to be displayed;
  • Step 502 Search for the selected image file content, and search for the segment header information of each extended information segment in the extended information of the image file in the content;
  • Step 503 Search and read the length of the corresponding encrypted extended information content according to the segment header information, and then read the corresponding encrypted extended information content.
  • Step 504 Read the encryption mode information, and decrypt the encrypted extension information according to the encryption mode information by using a corresponding decryption method
  • Step 505 Read the number information of the extended information segment, and add the extended segment header information to the encrypted extended information segment according to the format in the image file according to the present invention. Reading each extended information segment, and parsing the extended information segment header and the extended information segment content of each extended information segment;
  • Step 506 Decode and display the extended information segment header and the extended information segment content of each extended information segment obtained by the parsing.
  • the encryption algorithm used in step 504 may be any currently available security algorithm with higher security, and is not limited to the DES and MD5 encryption algorithms.
  • the apparatus and method for processing extended information in an image file wherein the apparatus is provided with an editing module for performing extended information editing on the image file, an encryption module and a decryption module for encrypting and decrypting the edited extended information, and extended information.
  • Display module for display realized for various grids
  • the image file is edited by the extended information to ensure the security of the extended information. Even if the image information in the image file is leaked, there is no need to worry that the extended information in the image file is leaked, and the user can view the extended information content at any time according to the need.
  • the application field is wide, and it can be applied to various terminal devices, such as applications to mobile phone terminals, image browsing devices, and the like.
  • the apparatus and method for processing extended information in an image file wherein the apparatus is provided with an editing module for performing extended information editing on the image file, an encryption module and a decryption module for encrypting and decrypting the edited extended information, and extended information.
  • the display module for displaying realizes the method of performing extended information editing on image files of various formats; ensuring the security of the extended information, even if the image information in the image file is leaked, there is no need to worry that the extended information in the image file is leaked. , and users can view the extended information content at any time according to their needs, and the application fields are wide.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)
  • Facsimile Transmission Control (AREA)

Description

处理图像文件中扩展信息的装置及方法
技术领域
本发明涉及图像处理技术领域, 尤其涉及一种处理图像文件中扩展信息 的装置及方法。 背景技术
图像处理一般指数字图像处理。 数字图像是一种用数字摄像机、 扫描仪 等设备经过釆样或数字化得到的一组二维数组, 该数组中的元素称为像素, 其数组值为一整数, 称为灰度值。 图像处理技术主要包括: 图像压缩、 增强 和复原、 匹配和描述以及识别三个部分。
现有的图像处理技术中, 对图像扩展信息的处理方法主要采用 JPEG文 件使用的 Exif图像文件规范, 其中 Exif图像文件头类似于字典结构, 包含索 引部分和内容部分。 一般情况下, 把标签类型信息中 (Exif 标准规定)相对 重要的索引信息放在一起, 作为一级词典。 在该一级词典部分的结尾处再添 加二级词典和补充词典, 其中, 剩余的索引信息放在该补充词典中。 每一组 Exif 标签都具有同样的结构。 索引信息部分由指定长度的字符组成, 一般包 括以下几项内容: 标签类型, 如厂商名称等; 标签内容类型, 如 ASCII等, 标签长度, 该标签长度一般为整数值; 标签内容所在地址。 除图像压缩数据 外, 其它一些扩展信息, 如设备厂商信息、 镜头、 光圈等摄影参数都可以存 储在相应的标签中。
现有技术中的这种方法虽然可以存储图像文件的扩展信息, 但其还存在 以下缺点: 首先, 不能解决为所有图像格式增加扩展信息的问题, 其它的图 像格式, 如 BMP、 GIF, WBMP等不支持 Exif格式; 其次, 当用户需要编辑 图像扩展信息, 必须使用支持编辑 Exif信息的专业图像软件才能实现扩展信 息段的编辑, 并需在支持解码相应 Exif扩展信息段的终端上才可以看到扩展 信息的内容, 使用起来不方便; 再者, 其不能支持用户自行增加扩展信息段, 限制了用户编辑扩展信息的灵活性。 发明内容
本发明所要解决的技术问题是提供一种处理图像文件中扩展信息的装置 及方法, 实现对各种格式的图像文件进行 展信息编辑, 实现扩展信息编辑 的灵活性并确保扩展信息的安全性。
为了解决上述技术问题, 本发明提供了一种处理图像文件中扩展信息的 装置, 该装置包括: 编辑模块、 加密模块以及解密模块; 其中,
所述编辑模块设置为对图像文件进行 ·Τ展信息编辑, 将编辑后的扩展信 息发送至所述加密模块;
所述加密模块设置为对所述编辑模块编辑后的扩展信息进行加密处理, 将加密后的扩展信息追加写入图像文件中; 以及
所述解密模块设置为从所需的图像文件中提取被所述加密模块加密后的 扩展信息, 并对加密后的扩展信息进行解密处理。
优选地, 所述的处理图像文件中扩展信息的装置还包括显示模块, 其设 置为对被所述解密模块解密后的扩展信息进行解码并显示。
优选地, 所述的处理图像文件中扩展信息的装置, 其中, 所述扩展信息 包括一组扩展信息段; 所述扩展信息段包括扩展信息段标题和扩展信息段内 容。
优选地, 所述的处理图像文件中扩展信息的装置, 其中, 所述加密模块 还设置为在加密后的扩展信息中加入所述扩展信息段的段头信息。
优选地, 所述的处理图像文件中扩展信息的装置, 其中, 所述解密模块 是设置为: 从所需的图像文件中提取被所述加密模块加密后的扩展信息, 并 根据所述段头信息从图像文件中提取加密后的扩展信息段, 对所述加密后的 扩展信息段进行解密处理。
优选地, 所述的处理图像文件中扩展信息的装置, 其中, 所述显示模块 还设置为对被所述编辑模块编辑后的扩展信息进行解码并显示。
为了解决上述技术问题, 本发明还提供了一种处理图像文件中扩展信息 的方法, 该方法包括:
对图像文件进行扩展信息编辑;
对编辑后的扩展信息进行加密处理, 并将加密后的扩展信息追加写入图 像文件中;
从所需的图像文件中提取加密后的扩展信息, 并对加密后的扩展信息进 行解密处理。
优选地, 所述的处理图像文件中扩展信息的方法, 在所述对加密后的扩 展信息进行解密处理的步骤之后还包括:
对解密后的扩展信息进行解码并显示。
优选地, 所述的处理图像文件中扩展信息的方法, 所述 ·Τ展信息包括一 组扩展信息段, 所述扩展信息段包括扩展信息段标题和扩展信息段内容。
优选地, 所述的处理图像文件中扩展信息的方法, 其中, 在所述对编辑 后的扩展信息进行加密处理的步骤之后, 所述将加密后的扩展信息追加写入 图像文件中的步骤之前, 还包括:
在加密后的扩展信息中加入所述扩展信息段的段头信息。
优选地, 所述的处理图像文件中扩展信息的方法, 其中, 所述从所需的 图像文件中提取加密后的扩展信息的步骤包括: 根据从所需的图像文件中提 取的加密后的扩展信息中的所述段头信息, 从所述所需的图像文件中提取加 密后的扩展信息段; 所述对加密后的扩展信息进行解密处理的步骤包括: 对 所述加密后的扩展信息段进行解密处理。
优选地, 所述的处理图像文件中扩展信息的方法, 还包括: 对所述编辑 后的扩展信息进行解码并显示。
本发明的处理图像文件中扩展信息的装置及方法, 其装置设置用于对图 像文件进行扩展信息编辑的编辑模块、 对编辑后的扩展信息进行加解密的加 密模块和解密模块, 实现了对各种格式的图像文件进行扩展信息编辑, 保证 了扩展信息的安全性; 同时本发明的处理图像文件中扩展信息的方法, 采用 对图像文件进行扩展信息编辑, 并对编辑后的扩展信息进行加解密的方式, 实现了对各种格式的图像扩展信息编辑的目的, 并且还可以保证扩展信息的 安全性。 附图概述
图 1是本发明的处理图像文件中扩展信息的装置的结构示意图; 图 2是本发明的处理图像文件中扩展信息的方法实施例一的流程图; 图 3是本发明的处理图像文件中扩展信息的方法实施例二的流程图; 图 4是本发明的处理图像文件中扩展信息的方法实施例三的流程图; 图 5是本发明的处理图像文件中扩展信息的方法实施例四的流程图; 图 6是本发明的图像文件中扩展信息段格式示意图;
图 7是本发明的图像文件中扩展信息段组合格式示意图;
图 8是本发明的图像文件中对加密后的扩展信息段添加扩展信息段头后 的格式示意图。 本发明的较佳实施方式
本发明目的的实现, 功能特点及优点将结合实施例, 参照上述附图做进 一步的说明。
本发明为了实现对所有的格式的图像文件中的扩展信息进行编辑, 提供 一种处理图像的装置, 在该装置中设置用于编辑扩展信息的编辑模块; 对扩 展信息进行加密的加密模块; 对加密后的扩展信息进行解密的解密模块; 以 及对扩展信息进行解码显示的显示模块。
本发明的处理图像文件中扩展信息的装置的结构示意图, 参见图 1 , 其 具体包括: 编辑模块 10、 加密模块 20、 解密模块 30以及显示模块 40 , 其中, 编辑模块 10用于编辑图像文件的扩展信息,包括增加、删除和修改扩展信息, 扩展信息包括一个或多个扩展信息段, 每个扩展信息段又包括扩展信息段标 题和扩展信息段内容; 加密模块 20用于对每个扩展信息段进行加密, 对加密 后的扩展信息段加入段头信息, 然后再将该加密后的扩展信息段追加写入原 始对应的图像文件中, 其中加密模块 20 对扩展信息段的加密方法可以采用 DES ( Data Encryption Standard )和 MD5 ( Message-Digest Algorithm 5 ) 两种 加密算法, 但不限于这两种加密算法; 解密模块 30 , 用于从原始图像文件中 提取加密后的扩展信息段, 并查找扩展信息的段头信息, 然后根据该段头信 息, 读取加密后的扩展信息段, 并釆用相应的解密算法对该扩展信息段进行 解密, 得出每个扩展信息段, 然后将该解密后的每个扩展信息段发送至显示 模块 40;显示模块 40 ,用于对解密后的每个扩展信息段进行分析并解码显示; 显示模块 40 也可以直接对编辑后的扩展信息进行解码显示。 其中解密模块 30是从接收到的用户所需要的原始图像文件中提取加密后的扩展信息段。
本发明的处理图像文件中扩展信息的装置可以广泛的应用于各种终端设 备中, 如可应用到各种类型的移动电话终端、 图像浏览装置等。
将本发明的装置设置在设备终端, 该设备终端提供一个扩展信息编辑界 面, 该编辑界面可以是一个窗口界面, 用户利用本发明的装置中的编辑模块 10对图像文件中的扩展信息进行编辑,扩展信息包括一组或多组扩展信息段, 用户可以利用编辑模块 10在该编辑界面上输入图像文件的扩展信息段,每组 扩展信息段包括: 扩展信息段标题和扩展信息段内容。
本发明的处理图像文件中的扩展信息的装置, 其中, 加密模块 20将加密 后的扩展信息追加写入原始图像文件,不影响对原始图像文件中图像的解码, 用户可以正常浏览图像, 并不受扩展信息的影响;
本发明的装置, 在用户的指令下, 通过解密模块 30读取原始图像文件中 的已加密的扩展信息, 将其解密还原出各个扩展信息段, 并通过显示模块 40 分析解码, 以友好的交互方式显示出来, 每组扩展信息段包括扩展信息段标 题和扩展信息段内容。
本发明的处理图像文件中扩展信息的方法实施例一的流程图, 参见图 2, 包括对扩展信息的编辑、 加 /解密、 以及显示的过程, 其具体包括以下步骤: 步骤 201、 选择需要进行扩展信息编辑的图像文件, 并对其进行扩展信 息编辑;
其中, 对扩展信息的编辑包括: 增加图像文件的扩展信息、 删除图像文 件中的扩展信息, 以及修改图像文件中的扩展信息;
步骤 202、 对编辑后的每个扩展信息进行加密, 并在该加密后的扩展信 息中加入扩展信息段的段头信息, 然后再将该加密后的扩展信息追加写入对 应的原始图像文件中;
本步骤中对扩展信息加密采用 DES和 MD5两种加密算法, 但不限于这 两种加密算法;
扩展信息段的段头信息包括: 标识符 (ZtelmageExTag)、 信息段个数, 加 密方式指示段(DES, MD5或其它加密算法) 、 原始所有扩展信息段的总长 度, 扩展信息加密后总长度等信息;
步骤 203、 从原始图像文件中提取加密后的扩展信息, 并查找扩展信息 的段头信息, 然后根据该段头信息, 读取加密后的扩展信息段, 并对该扩展 信息进行解密, 将其还原为加密前的扩展信息;
步骤 204、 将解密后扩展信息进行解码显示。
本发明的处理图像文件中扩展信息的方法实施例二的流程图, 参见图 3, 以用户编辑增加图像扩展信息, 并将该增加的扩展信息保存到原始图像文件 中, 并在需要时对扩展信息进行显示过程为例, 对本发明的处理图像文件的 方法进行描述, 本实施例中, 在用户编辑增加图像扩展信息之前, 还应为用 户提供一个扩展信息编辑界面, 其具体包括以下步骤:
步骤 301、 用户在编辑界面中编辑增加图像文件的扩展信息段标题和扩 展信息段内容;
步骤 302、 对编辑增加的扩展信息段标题和扩展信息段内容进行加密; 步骤 303、 将加密后的扩展信息段标题和扩展信息段内容追加写入原始 的图像文件中;
其中, 在追加写入过程中确保不得破坏原始图像文件中图像信息结构; 步骤 304、 在用户指示下对加密后的扩展信息段进行解密, 还原为加密 前的扩展信息段;
步骤 305、 对该解密后的扩展信息段进行解码显示。
本发明的处理图像文件中扩展信息的方法实施例三的流程图, 参见图 4, 以用户增加编辑扩展信息段后加密保存到原始图像文件的过程为例, 对本发 明的方法进行描述, 其包括以下步骤:
步骤 401、 用户选择需要进行扩展信息编辑的图像文件;
步骤 402、 用户对该图像文件进行扩展信息编辑;
编辑过程包括: 增加扩展信息段、 在各个扩展信息段输入相应的扩展信 息段标题和扩展信息段内容, 编辑完毕后进行编辑结束确认, 其中, 扩展信 息段有多个。 本发明的图像文件中扩展信息段格式示意图, 参见图 6 , 扩展 信息包括有: 时间扩展信息段、 地点扩展信息段、 人物扩展信息段、 心情扩 展信息段, 其分别包括各自扩展信息段的标题信息和内容信息。
步骤 403、 获取用户编辑的扩展信息, 对扩展信息中每个扩展信息段增 加段头信息, 并将所有扩展信息段进行组合; 其中, 扩展信息包括一组或多 组扩展信息段, 每一组扩展信息段包括: 扩展信息标题和扩展信息内容; 本 实施例以时间和地点两个扩展信息段为例对扩展信息段格式进行说明, 本发 明的图像文件中扩展信息段组合格式示意图, 参见图 7 , 其包括以下信息: 段长度信息、 标题长度信息、 时间信息、 标题内容信息;
步骤 404、 对扩展信息段组合进行加密, 其中, 本步骤采用 DES, MD5 或其它加密方法对该组合后的扩展信息进行加密;
步骤 405、 对加密后的扩展信息段组合添加总扩展信息段头, 该总扩展 信息段头包括:标识符 (ZtelmageExTag;)、信息段个数,加密方式指示段(DES, MD5或其它加密算法) 、 原始所有扩展信息段的总长度, 扩展信息加密后总 长度; 得到添加总扩展信息段头的加密的扩展信息, 然后将该加密扩展信息 二进制方式追加写入原始图像文件中; 本发明的图像文件中对加密后的扩展 信息段添加的扩展信息段头的格式示意图, 参见图 8, 包括以下信息: 信息 段个数、 加密方式、 原始内容长度、 加密内容长度、 加密码流。
其中 , 步骤 405对扩展信息的加密方法可采用任意当前可用的安全度较 高的加密算法, 不限于 DES、 MD5加密算法; 标识符, 用于标识扩展信息起 点。
本发明的处理图像文件中扩展信息的方法实施例四的流程图, 参见图 5 , 以在用户指示下从图像文件中读取扩展信息, 对该扩展信息进行解密, 并将 解密后的扩展信息进行显示的过程为例, 对本发明的方法进行描述, 其具体 步骤如下:
步骤 501、 用户选择需要显示其扩展信息的图像文件;
步骤 502、 搜索该所选的图像文件内容, 在该内容中查找图像文件的扩 展信息中各扩展信息段的段头信息;
步骤 503、 根据段头信息, 查找并读取对应的加密的扩展信息内容长度, 然后读取对应的加密的扩展信息内容;
步骤 504、 读取加密方式信息, 并根据该加密方式信息采用相应的解密 方式对加密扩展信息进行解密;
步骤 505、 读取扩展信息段的个数信息, 对解密后扩展信息中的内容按 照本发明的图像文件中对加密后的扩展信息段添加扩展段头信息的格式示意 图图 8所示的格式逐个读取各个扩展信息段, 并解析出每个扩展信息段的扩 展信息段标题和扩展信息段内容;
步骤 506、 将解析得到的各个扩展信息段的扩展信息段标题和扩展信息 段内容进行解码显示。
其中, 步骤 504中采用的加密算法可以是任意当前可用的安全度较高的 加密算法, 不限于 DES和 MD5加密算法。
本发明的处理图像文件中扩展信息的装置及方法, 其装置设置用于对图 像文件进行扩展信息编辑的编辑模块、 对编辑后的扩展信息进行加解密的加 密模块和解密模块、 以及对扩展信息进行显示的显示模块, 实现了对各种格 式的图像文件进行扩展信息编辑, 保证了扩展信息的安全性, 即使图像文件 中的图像信息泄露, 也不必担心该图像文件中的扩展信息被泄露, 且用户根 据需要可以随时查看扩展信息内容, 同时应用领域广泛, 其可以应用到应用 于各种终端设备中, 如应用到移动电话终端、 图像浏览装置等。
以上公开的仅为本发明的具体实施例, 但本发明并非局限于此, 任何本 领域的技术人员能思之的变化均应落在本发明的保护范围内。
工业实用性
本发明的处理图像文件中扩展信息的装置及方法, 其装置设置用于对图 像文件进行扩展信息编辑的编辑模块、 对编辑后的扩展信息进行加解密的加 密模块和解密模块、 以及对扩展信息进行显示的显示模块, 实现了对各种格 式的图像文件进行扩展信息编辑的方法; 保证扩展信息的安全性, 即使图像 文件中的图像信息泄露, 也不必担心该图像文件中的扩展信息被泄露, 且用 户根据需要可以随时查看扩展信息内容, 同时应用领域广泛。

Claims

权 利 要 求 书
1、 一种处理图像文件中扩展信息的装置, 包括: 编辑模块、 加密模块以 及解密模块; 其中,
所述编辑模块设置为对图像文件进行扩展信息编辑, 将编辑后的扩展信 息发送至所述加密模块;
所述加密模块设置为对所述编辑模块编辑后的扩展信息进行加密处理, 将加密后的扩展信息追加写入图像文件中; 以及
所述解密模块设置为从所需的图像文件中提取被所述加密模块加密后的 扩展信息, 并对加密后的扩展信息进行解密处理。
2、 根据权利要求 1所述的处理图像文件中扩展信息的装置, 还包括显示 模块, 其设置为对被所述解密模块解密后的扩展信息进行解码并显示。
3、 根据权利要求 1或 2所述的处理图像文件中扩展信息的装置, 其中, 所述扩展信息包括一组扩展信息段; 所述扩展信息段包括扩展信息段标题和 扩展信息段内容。
4、 根据权利要求 3所述的处理图像文件中扩展信息的装置, 其中, 所述 加密模块还设置为在加密后的扩展信息中加入所述扩展信息段的段头信息。
5、 根据权利要求 4所述的处理图像文件中扩展信息的装置, 其中, 所述 解密模块是设置为: 从所需的图像文件中提取被所述加密模块加密后的扩展 信息, 并根据所述段头信息从图像文件中提取加密后的扩展信息段, 对所述 加密后的扩展信息段进行解密处理。
6、 根据权利要求 1所述的处理图像文件中扩展信息的装置, 其中, 所述 显示模块还设置为对被所述编辑模块编辑后的扩展信息进行解码并显示。
7、 一种处理图像文件中扩展信息的方法, 包括:
对图像文件进行扩展信息编辑;
对编辑后的扩展信息进行加密处理, 并将加密后的扩展信息追加写入图 像文件中;
从所需的图像文件中提取加密后的扩展信息, 并对加密后的扩展信息进 行解密处理。
8、 根据权利要求 7所述的处理图像文件中扩展信息的方法, 其中, 在所 述对加密后的扩展信息进行解密处理的步骤之后还包括:
对解密后的扩展信息进行解码并显示。
9、 根据权利要求 7或 8所述的处理图像文件中扩展信息的方法, 其中, 所述扩展信息包括一组扩展信息段, 所述扩展信息段包括扩展信息段标题和 扩展信息段内容。
10、 根据权利要求 9所述的处理图像文件中扩展信息的方法, 其中, 在 所述对编辑后的扩展信息进行加密处理的步骤之后, 所述将加密后的扩展信 息追加写入图像文件中的步骤之前, 还包括:
在加密后的扩展信息中加入所述扩展信息段的段头信息。
11、 根据权利要求 10所述的处理图像文件中扩展信息的方法, 其中, 所述从所需的图像文件中提取加密后的扩展信息的步骤包括: 根据从所 需的图像文件中提取的加密后的扩展信息中的所述段头信息 , 从所述所需的 图像文件中提取加密后的扩展信息段;
所述对加密后的扩展信息进行解密处理的步骤包括: 对所述加密后的扩 展信息段进行解密处理。
12、 根据权利要求 7所述的处理图像文件中扩展信息的方法, 还包括: 对所述编辑后的扩展信息进行解码并显示。
PCT/CN2010/078086 2009-12-23 2010-10-25 处理图像文件中扩展信息的装置及方法 WO2011076037A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP10838600.4A EP2518640A4 (en) 2009-12-23 2010-10-25 APPARATUS AND METHOD FOR PROCESSING EXTENSION INFORMATION IN IMAGE FILES
US13/257,938 US8738928B2 (en) 2009-12-23 2010-10-25 Apparatus and method for processing extension information in image files

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910189321XA CN101763397B (zh) 2009-12-23 2009-12-23 处理图像文件中扩展信息的装置及方法
CN200910189321.X 2009-12-23

Publications (1)

Publication Number Publication Date
WO2011076037A1 true WO2011076037A1 (zh) 2011-06-30

Family

ID=42494561

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078086 WO2011076037A1 (zh) 2009-12-23 2010-10-25 处理图像文件中扩展信息的装置及方法

Country Status (4)

Country Link
US (1) US8738928B2 (zh)
EP (1) EP2518640A4 (zh)
CN (1) CN101763397B (zh)
WO (1) WO2011076037A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775823B2 (en) 2006-12-29 2014-07-08 Commvault Systems, Inc. System and method for encrypting secondary copies of data
CN101763397B (zh) * 2009-12-23 2013-05-08 中兴通讯股份有限公司 处理图像文件中扩展信息的装置及方法
CN102073830B (zh) * 2011-01-12 2014-05-14 深圳昂楷科技有限公司 一种动态扩展透明加密文件附加信息的方法
US20140281515A1 (en) 2013-03-12 2014-09-18 Commvault Systems, Inc. Encrypted file presentation
KR102081347B1 (ko) * 2013-03-21 2020-02-26 삼성전자주식회사 라이브 픽쳐 파일 생성 및 재생 장치, 방법 및 컴퓨터 판독 가능한 기록 매체
US9405928B2 (en) 2014-09-17 2016-08-02 Commvault Systems, Inc. Deriving encryption rules based on file content
US9146942B1 (en) * 2014-11-26 2015-09-29 Visual Supply Company Embedded edit decision list
CN104680078B (zh) * 2015-01-20 2021-09-03 中兴通讯股份有限公司 一种拍摄照片的方法、查看图片的方法、系统和终端
US11461988B2 (en) * 2020-07-23 2022-10-04 Suresh Babu Revoled Konti Method of transferring data between unconnected computing devices

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652113A (zh) * 2002-04-10 2005-08-10 密码软件有限会社 数据管理系统
CN101202641A (zh) * 2007-10-26 2008-06-18 北京同方瑞博数字技术有限公司 基于无线移动平台的多媒体传播系统
CN101763397A (zh) * 2009-12-23 2010-06-30 中兴通讯股份有限公司 处理图像文件中扩展信息的装置及方法

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7095854B1 (en) * 1995-02-13 2006-08-22 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection
US6493028B1 (en) * 1997-11-26 2002-12-10 Flashpoint Technology, Inc. Method and system for extending the available image file formats in an image capture device
EP1785890B1 (en) 2000-07-20 2019-12-11 Digmarc Corporation Using embedded data with file sharing
CN101165647B (zh) * 2006-10-17 2010-12-15 北京书生国际信息技术有限公司 一种文档库系统和文档库系统功能的扩展方法
US7546334B2 (en) * 2000-11-13 2009-06-09 Digital Doors, Inc. Data security system and method with adaptive filter
US20050108540A1 (en) * 2003-09-26 2005-05-19 Budi Kusnoto Digital image validations system (DIVA)
CN1655502B (zh) * 2004-02-11 2010-09-29 联想(北京)有限公司 一种保证电子文件安全的方法
JP2006260242A (ja) 2005-03-17 2006-09-28 Ricoh Co Ltd 文書管理装置,プログラム,および記録媒体
JP4883342B2 (ja) 2005-09-06 2012-02-22 ソニー株式会社 情報処理装置および方法、並びにプログラム
JP4818033B2 (ja) * 2006-09-14 2011-11-16 キヤノン株式会社 画像再生装置、その制御方法、プログラム
JP2008219702A (ja) * 2007-03-07 2008-09-18 Murata Mach Ltd 画像処理装置
CN101296349A (zh) 2007-04-29 2008-10-29 鸿富锦精密工业(深圳)有限公司 影音文件的加密/解密系统及方法
US20090103789A1 (en) * 2007-10-23 2009-04-23 Proscan Imaging, Llc Delivering and receiving medical images
CN101488214B (zh) * 2008-01-15 2011-07-27 中国科学院软件研究所 一种扩展防伪数字水印和电子印章信息量的方法
JP5192039B2 (ja) * 2008-05-29 2013-05-08 株式会社Pfu 電子ドキュメント処理システム、方法およびプログラム
US8516366B2 (en) * 2008-06-20 2013-08-20 Wetpaint.Com, Inc. Extensible content service for attributing user-generated content to authored content providers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652113A (zh) * 2002-04-10 2005-08-10 密码软件有限会社 数据管理系统
CN101202641A (zh) * 2007-10-26 2008-06-18 北京同方瑞博数字技术有限公司 基于无线移动平台的多媒体传播系统
CN101763397A (zh) * 2009-12-23 2010-06-30 中兴通讯股份有限公司 处理图像文件中扩展信息的装置及方法

Also Published As

Publication number Publication date
CN101763397A (zh) 2010-06-30
US20120218275A1 (en) 2012-08-30
EP2518640A4 (en) 2014-01-15
CN101763397B (zh) 2013-05-08
EP2518640A1 (en) 2012-10-31
US8738928B2 (en) 2014-05-27

Similar Documents

Publication Publication Date Title
WO2011076037A1 (zh) 处理图像文件中扩展信息的装置及方法
EP1249002B1 (en) Authenticating metadata and embedding metadata in watermarks of media signals
US10922435B2 (en) Image encryption method, image viewing method, system, and terminal
US20060069925A1 (en) Content processing device, content accumulation medium, content processing method and content processing program
WO2014194828A1 (zh) 一种文件加/解密方法以及文件加/解密装置
CN102970307B (zh) 密码安全系统和密码安全方法
WO2016115887A1 (zh) 一种伪装图片的方法、查看图片的方法、系统和终端
JP2007288747A (ja) 画像処理システムおよび画像処理システムの制御方法および画像形成装置および画像再生装置
US7751556B2 (en) Apparatus and method of generating falsification detecting data of encrypted data in the course of process
CN104517045A (zh) 数字文档保护方法及系统
US9197609B2 (en) Method, device and system for protecting multimedia data of multimedia message
JP2009252153A (ja) 情報処理装置、および情報処理方法、並びにコンピュータ・プログラム
WO2020044095A1 (zh) 文件加密方法、装置、设备/终端/服务器及计算机可读存储介质
US20090268056A1 (en) Digital camera with portrait image protecting function and portrait image protecting method thereof
JP6910824B2 (ja) 情報提供システム及び情報提供方法
JP5328078B2 (ja) 医用画像情報処理装置
CN104102504B (zh) 一种客户端皮肤图片绘制方法及绘制装置
CN110544199A (zh) 一种图像处理方法、装置、存储介质和电子设备
JP2005210536A (ja) 情報処理システム、変換処理システム、逆変換処理システム、変換方法、変換プログラム、及び記録媒体
JP2000216772A (ja) 端末装置、デ―タ処理システム、デ―タ保存方法、及び記憶媒体
JP2002175205A (ja) 情報カプセルの構成方法及び情報カプセルを記録した記録媒体
JP2002229858A (ja) コンピュータ、及びプログラム
JP2001036518A (ja) 暗号通信装置
JP2007242053A (ja) 表示装置
JP2008085900A (ja) 情報処理装置および情報処理方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10838600

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2010838600

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010838600

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13257938

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE