Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for merging image files

An image file and image technology, applied in the field of image file merging methods and systems, can solve problems such as inconvenience in use, high requirements for file identification, and inability to perform an inverse transformation process, thereby reducing transmission time and storage volume. , Improve the effect of user experience

Active Publication Date: 2021-03-30
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing technology for differential file transfer is realized by making a diff file to identify and record the differences between the two files, and then merging the old image file and diff to generate a new image file. File identification has high requirements, and the corresponding inverse transformation process cannot be performed. It is inconvenient to use in cloud computing mirror update and rollback scenarios

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 and system for merging image files
  • Method and system for merging image files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] This implementation discloses a method for merging image files, such as figure 1 shown, including the following steps:

[0037] Step S0, mirroring the stored data on the first storage device to obtain a first mirror image file, and sending the first mirror image file to the second storage device for storage;

[0038] Step S1, after a period of time, mirroring the stored data on the first storage device to obtain a second mirroring file;

[0039] Specifically, since the first storage device continuously receives new data and stores the data, a certain period of time is set to back up the front and back image files, where the second image file and the first image file should change Yes, unless the first storage device stops updating data or the first storage device does not receive any data sent from the outside world, in this case the second image file will remain consistent with the first image file; as for the above-mentioned period of time, its specific The time val...

Embodiment 2

[0061] This embodiment discloses a system for merging mirror image files on the basis of the merging method in Embodiment 1, such as figure 2 As shown, it includes a first storage device and a second storage device. The first storage device includes a mirroring execution module, a first XOR operation execution module, a data segment generation module, a random identifier generation module, and a combined data module. The second storage device includes an inverse transformation module and a second XOR operation execution module;

[0062] The mirror image execution module is used to mirror the storage data on the first storage device to obtain the first mirror image file, and send the first mirror image file to the second storage device for storage;

[0063] The image execution module is also used for: after the image execution module performs image operation to obtain the first image file and after a period of time, the image execution module performs image operation on the st...

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 discloses a mirror image file merging method and a system thereof. The steps of the merging method include: performing an XOR operation on a first mirror image file and a second mirror image file to obtain a third mirror image file, and the third mirror image file includes all zero data; according to The length of the all-zero data forms a data segment; generates a random identifier; combines the random identifier and the data segment to obtain combined data, and replaces the all-zero data of the third image file with the combined data, and the third image file forms the first Four image files; the second storage device carries out inverse transformation to the fourth image file, and the fourth image file forms the third image file; the first image file stored in the second storage device and the third image file are XORed to obtain the second image file mirror file. The invention enables the volume of the updated image data to be greatly reduced in the transmission process, speeds up the data transmission to reduce the data transmission time, and does not occupy a large amount of bandwidth resources.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method for merging image files and a system thereof. Background technique [0002] In the cloud computing scenario, the problem of updating the image file is often encountered. For processing the new version of the image file, the traditional method is to directly transfer the new version of the image file to the target device to replace the old image file; and this method There is a disadvantage: the size of image files is generally relatively large, and transferring image files requires a lot of bandwidth and time, and both bandwidth and time are relatively precious in actual cloud computing scenarios. [0003] In fact, the difference data before and after the image file updated in cloud computing is relatively small compared with the image itself, so there should be a method for differential transmission in this case. [0004] The existing technology for differential f...

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): H04L29/08G06F3/06
CPCG06F3/0608G06F3/0611G06F3/0643G06F3/065G06F3/0655H04L67/06H04L67/1095H04L67/146
Inventor 刘杰史伟闵宇
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More