KR101294542B1 - Apparatus and Method for Changing Data - Google Patents

Apparatus and Method for Changing Data Download PDF

Info

Publication number
KR101294542B1
KR101294542B1 KR1020100125562A KR20100125562A KR101294542B1 KR 101294542 B1 KR101294542 B1 KR 101294542B1 KR 1020100125562 A KR1020100125562 A KR 1020100125562A KR 20100125562 A KR20100125562 A KR 20100125562A KR 101294542 B1 KR101294542 B1 KR 101294542B1
Authority
KR
South Korea
Prior art keywords
offset
chunk
data
file
default
Prior art date
Application number
KR1020100125562A
Other languages
Korean (ko)
Other versions
KR20120064365A (en
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 KR1020100125562A priority Critical patent/KR101294542B1/en
Publication of KR20120064365A publication Critical patent/KR20120064365A/en
Application granted granted Critical
Publication of KR101294542B1 publication Critical patent/KR101294542B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

데이터 변경 장치 및 방법이 개시된다. 본 발명의 실시예들에 따르면, 청크 오프셋 박스에 기본 오프셋을 설정하여, 데이터 추가/삭제 등의 변경이 있는 경우, 기본 오프셋을 변경함으로써, 청크 오프셋 박스 내의 모든 오프셋을 수정하지 않을 수 있고, 따라서 연산의 복잡도를 감소시킬 수 있으며, CPU 자원을 적게 소모할 수 있다.A data change device and method are disclosed. According to embodiments of the present invention, if a base offset is set in the chunk offset box, and there is a change such as data addition / deletion, changing the base offset may not modify all offsets in the chunk offset box, and thus It can reduce the complexity of the operation and consume less CPU resources.

Description

데이터 변경 장치 및 방법{Apparatus and Method for Changing Data}Apparatus and Method for Changing Data

본 발명의 실시예들은 데이터 변경 장치 및 방법에 관한 것으로서, 보다 구체적으로는 ISO 기반 파일 포맷을 갖는 파일에 대한 데이터 변경을 수행하는 장치 및 방법에 관한 것이다.Embodiments of the present invention relate to an apparatus and method for changing data, and more particularly, to an apparatus and method for performing data alteration on a file having an ISO based file format.

최근 ISO 기반 파일 포맷(Format)을 갖는 파일 내에 새로운 데이터를 추가하거나 기존 데이터를 삭제하는 등의 데이터 변경을 수행할 때, 효율적으로 수행하기 위한 방법에 대한 연구가 활발하다. Recently, there is an active research on a method for efficiently performing data change such as adding new data or deleting existing data in a file having an ISO-based file format.

ISO 기반 파일 포맷을 갖는 파일의 모든 파일 헤더 정보와 미디어 데이터는 '박스(Box)'라는 객체들로 구성되어 있다. 또한, 각각의 미디어는 트랙으로 구성되며, 트랙은 미디어 정보와 실제 미디어 데이터로 분리된다. All file header information and media data of a file having an ISO-based file format are composed of objects called boxes. In addition, each media is composed of tracks, and the tracks are separated into media information and actual media data.

이 때, 미디어 정보는 트랙 헤더(Track Header)와 해당 미디어에 대한 디코더 세팅(Decoder Setting) 정보 등으로 구성 되어 있으며, 이러한 정보는 각각의 박스로 분리된다. 즉 다수의 박스가 모여, 트랙을 이룬다. In this case, the media information is composed of a track header and decoder setting information for the media, and the information is separated into respective boxes. In other words, a number of boxes gather to form a track.

이처럼 ISO 기반 파일 포맷의 파일은 정보의 기능 및 역할에 따라 박스라는 객체로 분리되어 있으며, 미디어 정보와 실제 데이터 간의 독립성을 보장하고, 자유로운 파일 구성이 가능하다.
As such, files in ISO-based file format are divided into objects called boxes according to the function and role of information, ensuring independence between media information and actual data, and free file organization.

한편, ISO 기반 파일 포맷을 갖는 파일에는 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)가 존재한다. On the other hand, in a file having an ISO-based file format, there is a chunk offset box that records the location of the chunk.

종래의 데이터 변경 방법에서는 청크 오프셋 박스 내의 청크 위치에 대한 정보를 이용하여, ISO 기반 파일 내에서 실제 데이터의 정확한 위치를 찾을 수 있다.In the conventional data change method, the exact position of the actual data in the ISO base file can be found by using the information about the chunk position in the chunk offset box.

도 1은 종래의 청크 오프셋 박스의 의사 코드를 나타내는 도면이다. 1 is a diagram illustrating a pseudo code of a conventional chunk offset box.

도 1을 참조하면, 종래의 청크 오프셋 박스(Chunk Offset Box)는 'entry_count' 변수의 값인 청크의 개수에 비례하여 4바이트의 오프셋 정보가 필요하다.Referring to FIG. 1, a conventional chunk offset box requires 4 bytes of offset information in proportion to the number of chunks that are values of the 'entry_count' variable.

또한, 도 2는 종래의 ISO 기반 파일 포맷을 갖는 파일에 대한 바이너리 스트림의 일부를 나타내는 도면이다. 2 is a diagram illustrating a part of a binary stream for a file having a conventional ISO based file format.

도 2의 ISO 기반 파일 포맷을 갖는 파일에 대한 바이너리 스트림의 일부분은 약 6메가 바이트 용랑의 비디오와 오디오로 구성될 수 있다. 또한, ISO 기반 파일 포맷을 갖는 파일에 대한 바이너리 스트림의 일부분은 비디오의 부분일 수 있으며, 1796(16진수로 704)개의 청크로 구성될 수 있다. 1796개라는 개수는 오디오는 제외된 개수이며, 오디오를 포함하면, 더욱 많아질 수 있다. 또한, ISO 기반 파일 포맷을 갖는 파일의 용량에 비례하여 청크의 개수도 증가할 수 있다.The portion of the binary stream for the file with the ISO based file format of FIG. 2 may consist of about 6 megabytes of video and audio. In addition, the portion of the binary stream for the file with the ISO base file format may be part of the video and may consist of 1796 (704 hexadecimal) chunks. The number 1796 is the number without audio, and may be increased if the audio is included. In addition, the number of chunks may increase in proportion to the capacity of a file having an ISO-based file format.

ISO 기반 파일 포맷을 갖는 파일의 경우, 파일이 생성된 후 미디어 데이터나 부가 데이터 등이 수시로 추가되고 삭제될 수 있다. 일반적으로 데이터가 추가/삭제될 경우, 파일의 크기가 변화하기 때문에, 청크의 오프셋, 즉, 청크의 파일 내 위치가 변화될 수 있다. 이 경우, 복수 개의(일반적으로, 수천, 수만 개) 청크 오프셋 값이 일괄적으로 변경되어야 한다. In the case of a file having an ISO-based file format, after the file is created, media data or additional data may be added and deleted from time to time. In general, when data is added / deleted, since the size of the file changes, the offset of the chunk, that is, the position in the file of the chunk, may change. In this case, a plurality of (typically thousands, tens of thousands) chunk offset values must be changed in batches.

아울러, 파일에서 데이터 추가/삭제 등의 변경 회수가 증가할수록, 청크 오프셋의 변경 회수 역시 증가되기 때문에, 저성능의 모바일 단말기에서는 서비스를 제공하는데 차질이 빚어질 수 있다.In addition, as the number of changes such as data addition / deletion in a file increases, the number of changes in the chunk offset also increases, so that a low-performance mobile terminal may have a problem in providing a service.

본 발명의 실시예들은, 청크 오프셋 박스에 기본 오프셋을 설정하여, 데이터 추가/삭제 등의 변경이 있는 경우, 기본 오프셋을 변경함으로써, 청크 오프셋 박스 내의 모든 오프셋을 수정하지 않을 수 있고, 따라서 연산의 복잡도를 감소시킬 수 있으며, CPU 자원을 적게 소모할 수 있는데 그 목적이 있다.Embodiments of the present invention may not modify all offsets in the chunk offset box by setting the default offset in the chunk offset box and changing the default offset when there is a change, such as data addition / deletion, and thus Its purpose is to reduce complexity and consume less CPU resources.

본 발명의 일실시예에 따른 ISO 기반 파일 포맷을 갖는 파일의 데이터를 변경하는 데이터 변경 장치는, 상기 파일 내에서 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정하는 설정부 및 상기 데이터의 변경이 있는 경우, 상기 기본 오프셋을 변경하는 변경부를 포함한다.According to an embodiment of the present invention, a data change device for changing data of a file having an ISO-based file format includes a default offset in a chunk offset box that records a location of a chunk in the file. A setting unit for setting a default offset) and a change unit for changing the default offset when there is a change in the data.

본 발명의 일측에 따르면, 상기 청크는 상기 파일에 포함되는 복수 개의 미디어 정보 중 적어도 하나의 데이터 유닛(Data Unit)의 그룹(Group)일 수 있다.According to an aspect of the present invention, the chunk may be a group of at least one data unit of a plurality of media information included in the file.

본 발명의 또 다른 일측에 따르면, 상기 기본 오프셋은 64 바이트(Byte)의 크기를 가질 수 있다.According to another aspect of the present invention, the default offset may have a size of 64 bytes.

본 발명의 또 다른 일측에 따른 데이터 변경 장치는, 상기 기본 오프셋의 설정 여부를 결정하는 상기 청크 오프셋 박스의 버전(Version)을 결정하는 결정부를 더 포함할 수 있다.The apparatus for changing data according to yet another aspect of the present invention may further include a determining unit configured to determine a version of the chunk offset box that determines whether to set the default offset.

본 발명의 일실시예에 따른 ISO 기반 파일 포맷을 갖는 파일의 데이터를 변경하는 데이터 변경 방법은, 상기 파일 내에서 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정하는 단계 및 상기 데이터의 변경이 있는 경우, 상기 기본 오프셋을 변경하는 단계를 포함한다.According to an embodiment of the present invention, a data change method for changing data of a file having an ISO-based file format includes a basic offset in a chunk offset box that records a position of a chunk in the file. Default Offset), and if there is a change in the data, changing the default offset.

본 발명의 일측에 따르면, 상기 청크는 상기 파일에 포함되는 복수 개의 미디어 정보 중 적어도 하나의 데이터 유닛(Data Unit)의 그룹(Group)일 수 있다.According to an aspect of the present invention, the chunk may be a group of at least one data unit of a plurality of media information included in the file.

본 발명의 또 다른 일측에 따르면, 상기 기본 오프셋은 64 바이트(Byte)의 크기를 가질 수 있다.According to another aspect of the present invention, the default offset may have a size of 64 bytes.

본 발명의 또 다른 일측에 따른 데이터 변경 방법은, 상기 기본 오프셋의 설정 여부를 결정하는 상기 청크 오프셋 박스의 버전(Version)을 결정하는 단계를 더 포함할 수 있다.The data changing method according to another aspect of the present invention may further include determining a version of the chunk offset box that determines whether to set the default offset.

청크 오프셋 박스에 기본 오프셋을 설정하여, 데이터 추가/삭제 등의 변경이 있는 경우, 기본 오프셋을 변경함으로써, 청크 오프셋 박스 내의 모든 오프셋을 수정하지 않을 수 있고, 따라서 연산의 복잡도를 감소시킬 수 있으며, CPU 자원을 적게 소모할 수 있다.By setting the base offset in the chunk offset box, if there is a change such as adding / deleting data, changing the base offset may not modify all offsets in the chunk offset box, thus reducing the complexity of the operation, It can consume less CPU resources.

도 1은 종래의 청크 오프셋 박스의 의사 코드를 나타내는 도면이다.
도 2는 종래의 ISO 기반 파일 포맷을 갖는 파일에 대한 바이너리 스트림의 일부를 나타내는 도면이다.
도 3은 본 발명의 일실시예에 따른 데이터 변경 장치의 구성을 나타내는 도면이다.
도 4는 본 발명의 일실시예에 따른 청크 오프셋 박스의 의사 코드를 나타내는 도면이다.
도 5는 종래의 청크 라지 오프셋 박스의 의사 코드를 나타내는 도면이다.
도 6은 본 발명의 일실시예에 따른 데이터 변경 방법을 나타내는 흐름도이다.
1 is a diagram illustrating a pseudo code of a conventional chunk offset box.
2 is a diagram illustrating a part of a binary stream for a file having a conventional ISO based file format.
3 is a diagram illustrating a configuration of a data change device according to an embodiment of the present invention.
4 illustrates a pseudo code of a chunk offset box according to an embodiment of the present invention.
5 is a diagram illustrating a pseudo code of a conventional chunk large offset box.
6 is a flowchart illustrating a data change method according to an embodiment of the present invention.

이하에서, 본 발명에 따른 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. 그러나, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to or limited by the embodiments. Like reference symbols in the drawings denote like elements.

도 3은 본 발명의 일실시예에 따른 데이터 변경 장치의 구성을 나타내는 도면이다. 3 is a diagram illustrating a configuration of a data change device according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 일실시예에 따른 데이터 변경 장치(300)는 설정부(310) 및 변경부(320)를 포함한다.Referring to FIG. 3, the data change device 300 according to an embodiment of the present invention includes a setting unit 310 and a changing unit 320.

데이터 변경 장치(300)는 ISO 기반 파일 포맷을 갖는 파일의 데이터를 변경하는 장치일 수 있다.The data change device 300 may be a device for changing data of a file having an ISO-based file format.

설정부(310)는 ISO 기반 파일 포맷을 갖는 파일 내에서 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정한다.The setting unit 310 sets a default offset to a chunk offset box that records the location of the chunk in the file having the ISO base file format.

본 발명의 일측에 따르면, 청크(Chunk)는 ISO 기반 파일 포맷을 갖는 파일에 포함되는 복수 개의 미디어 정보 중 적어도 하나의 데이터 유닛(Data Unit)의 그룹(Group)일 수 있다. According to one aspect of the present invention, a chunk may be a group of at least one data unit of a plurality of media information included in a file having an ISO based file format.

본 발명의 일측에 따르면, 설정부(310)는 64 바이트(Byte)의 크기를 갖도록 기본 오프셋을 설정할 수 있다.
According to one side of the present invention, the setting unit 310 may set a basic offset to have a size of 64 bytes.

또한, 변경부(320)는 ISO 기반 파일 포맷을 갖는 파일의 데이터 변경이 있는 경우, 기본 오프셋을 변경한다. 따라서, 데이터의 추가/삭제 등의 변경이 있어 청크의 위치가 변경되는 경우, 데이터 변경 장치(300)는 개개의 청크 오프셋 값을 변경할 필요 없이, 기본 오프셋 값만을 변경함으로써, 개개의 청크 오프셋 값을 변경하는 것과 같은 효과를 낼 수 있다.
In addition, the change unit 320 changes the default offset when there is a data change of a file having an ISO-based file format. Therefore, when the location of the chunk is changed due to a change in data addition / deletion or the like, the data change device 300 does not need to change the individual chunk offset values, thereby changing only the basic offset value, thereby changing the individual chunk offset values. This can have the same effect as changing.

본 발명의 일측에 따르면, 데이터 변경 장치(300)는 결정부(330)를 더 포함할 수 있다.According to one side of the present invention, the data change device 300 may further include a determination unit 330.

결정부(330)는 기본 오프셋의 설정 여부를 결정하는 청크 오프셋 박스의 버전(Version)을 결정할 수 있다.The determiner 330 may determine a version of the chunk offset box that determines whether to set the default offset.

즉, 청크 오프셋 박스는 기본 오프셋을 설정하는 버전 및 기본 오프셋을 설정하지 않는 버전을 포함할 수 있고, 결정부(330)는 청크 오프셋 박스의 버전을 결정할 수 있다. 따라서, 결정부(330)가 기본 오프셋의 사용 여부를 결정함으로써, 일실시예에 따른 데이터 변경 장치(300)는 하위 호환성을 가질 수 있다.
That is, the chunk offset box may include a version for setting the default offset and a version for not setting the default offset, and the determination unit 330 may determine the version of the chunk offset box. Therefore, the determination unit 330 determines whether or not to use the default offset, the data change device 300 according to an embodiment may have backward compatibility.

도 4는 본 발명의 일실시예에 따른 청크 오프셋 박스의 의사 코드를 나타내는 도면이다. 4 illustrates a pseudo code of a chunk offset box according to an embodiment of the present invention.

도 4를 참조하면, 본 발명의 일측에 따른 데이터 변경 장치(300)의 설정부(310)는 도 4에 표시된 청크 오프셋 박스의 의사 코드와 같이, 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정할 수 있다.Referring to FIG. 4, the setting unit 310 of the data changer 300 according to an embodiment of the present invention, as shown in FIG. 4, the pseudo code of the chunk offset box, may include a basic offset () in the chunk offset box. Default Offset) can be set.

실시예에 따라서는, 청크 오프셋은 수식 1과 같이 연산될 수 있다.According to an embodiment, the chunk offset may be calculated as in Equation 1.

수식 1Equation 1

청크 오프셋(Chunk Offset) = 기본 오프셋 + 오프셋Chunk Offset = Base Offset + Offset

따라서, 변경부(320)는 ISO 기반 파일 포맷을 갖는 파일의 데이터가 변경되는 경우, 기본 오프셋만 변경시킴으로써, 연산의 복잡도를 낮출 수 있다.
Accordingly, when the data of the file having the ISO base file format is changed, the changer 320 may reduce the complexity of the operation by changing only the basic offset.

도 4를 참조하면, 본 발명의 일측에 따른 데이터 결정 장치(300)의 결정부(330)는 도 4에 표시된 것과 같이, 버전값(Version Value)이 1인 경우, 기본 오프셋을 설정하는 것으로 결정할 수 있다.
Referring to FIG. 4, the determination unit 330 of the data determination apparatus 300 according to an embodiment of the present invention determines that the default offset is set when the version value is 1, as shown in FIG. 4. Can be.

또한, 도 4를 참조하면, 본 발명의 일측에 따른 설정부(310)는 도 4에 표시된 것과 같이, 64 바이트(Byte)의 크기를 갖도록 기본 오프셋을 설정할 수 있다.
In addition, referring to FIG. 4, the setting unit 310 according to an embodiment of the present invention may set a basic offset to have a size of 64 bytes as shown in FIG. 4.

도 5는 종래의 청크 라지 오프셋 박스의 의사 코드를 나타내는 도면이다. 5 is a diagram illustrating a pseudo code of a conventional chunk large offset box.

도 5를 참조하면, 종래의 ISO 기반 파일 포맷 표준은 도 5에 표시된 것과 같은 대용량 파일을 위해 64 바이트 기반의 청크 라지 오프셋 박스(Chunk Large Offset Box)를 포함한다. Referring to FIG. 5, the conventional ISO based file format standard includes a 64 byte based Chunk Large Offset Box for a large file as shown in FIG. 5.

종래의 청크 라지 오프셋 박스의 경우, 64 바이트를 복수 번(예를 들어, 수만 번) 반복하여 수행하게 되므로, 용량 낭비가 발생할 수 있었다.In the case of the conventional chunk large offset box, since 64 bytes are repeatedly performed a plurality of times (for example, tens of thousands of times), capacity waste may occur.

그러나, 상술한 것과 같이 본 발명의 일실시예에 따른 데이터 변경 장치(300)의 설정부(310)는 도 4에 표시된 것과 같이, 64 바이트(Byte)의 크기를 갖도록 기본 오프셋을 설정할 수 있다. 따라서, 본 발명의 일실시예에 따른 데이터 변경 장치(300)는 종래의 ISO 기반 파일 포맷에서 2 가지 종류로 기술된 클래스(종래의 청크 오프셋 박스, 종래의 청크 라지 오프셋 박스)의 기능을 하나의 클래스(도 4에 표시된 본 발명의 일실시예에 따른 청크 오프셋 박스)를 이용하여 기술할 수 있다.
However, as described above, the setting unit 310 of the data changer 300 according to the exemplary embodiment of the present invention may set a basic offset to have a size of 64 bytes as shown in FIG. 4. Accordingly, the data changer 300 according to an exemplary embodiment of the present invention has one function of a class (a conventional chunk offset box and a conventional chunk large offset box) described in two types in a conventional ISO based file format. It can be described using a class (a chunk offset box according to one embodiment of the invention shown in FIG. 4).

도 6은 본 발명의 일실시예에 따른 데이터 변경 방법을 나타내는 흐름도이다. 6 is a flowchart illustrating a data change method according to an embodiment of the present invention.

도 6을 참조하면, 본 발명의 일실시예에 따른 ISO 기반 파일 포맷을 갖는 파일의 데이터를 변경하는 데이터 변경 방법은 ISO 기반 파일 포맷을 갖는 파일 내에서 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정한다(610).Referring to FIG. 6, a data change method for changing data of a file having an ISO based file format according to an embodiment of the present invention includes a chunk offset for recording a position of a chunk in a file having an ISO based file format. A default offset is set in a box (Chunk Offset Box) (610).

본 발명의 일측에 따르면, 청크(Chunk)는 ISO 기반 파일 포맷을 갖는 파일에 포함되는 복수 개의 미디어 정보 중 적어도 하나의 데이터 유닛(Data Unit)의 그룹(Group)일 수 있다. According to one aspect of the present invention, a chunk may be a group of at least one data unit of a plurality of media information included in a file having an ISO based file format.

본 발명의 일측에 따르면, 데이터 변경 방법은 64 바이트(Byte)의 크기를 갖도록 기본 오프셋을 설정할 수 있다.
According to one aspect of the present invention, the data change method may set a default offset to have a size of 64 bytes.

또한, 데이터 변경 방법은 ISO 기반 파일 포맷을 갖는 파일의 데이터 변경이 있는 경우, 기본 오프셋을 변경한다(620). 따라서, 데이터의 추가/삭제 등의 변경이 있어 청크의 위치가 변경되는 경우, 데이터 변경 방법은 개개의 청크 오프셋 값을 변경할 필요 없이, 기본 오프셋 값만을 변경함으로써, 개개의 청크 오프셋 값을 변경하는 것과 같은 효과를 낼 수 있다.
In addition, when there is a data change of a file having an ISO-based file format, the data change method changes the default offset (620). Therefore, when there is a change in the location of the chunk due to a change in the addition / deletion of data, the data change method is required to change the individual chunk offset value by changing only the basic offset value, without changing the individual chunk offset value. The same effect can be achieved.

본 발명의 일측에 따르면, 데이터 변경 방법은 기본 오프셋의 설정 여부를 결정하는 청크 오프셋 박스의 버전(Version)을 결정하는 단계를 더 포함할 수 있다.According to an aspect of the present invention, the data change method may further include determining a version of a chunk offset box that determines whether to set a default offset.

즉, 청크 오프셋 박스는 기본 오프셋을 설정하는 버전 및 기본 오프셋을 설정하지 않는 버전을 포함할 수 있고, 데이터 변경 방법은 청크 오프셋 박스의 버전을 결정할 수 있다. 따라서, 데이터 변경 방법이 기본 오프셋의 사용 여부를 결정함으로써, 하위 호환성을 가질 수 있다.
That is, the chunk offset box may include a version for setting the base offset and a version for not setting the base offset, and the data change method may determine the version of the chunk offset box. Therefore, the data change method may have backward compatibility by determining whether to use the default offset.

본 발명에 따른 실시예들은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(Floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Embodiments according to the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as a hard disk, a floppy disk, and a magnetic tape; optical media such as CD-ROM and DVD; magnetic recording media such as a floppy disk; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the equivalents of the claims, as well as the claims.

300: 데이터 변경 장치
310: 설정부
320: 변경부
330: 결정부
300: data changer
310: setting unit
320: change unit
330: decision

Claims (8)

ISO 기반 파일 포맷을 갖는 파일의 데이터를 변경하는 데이터 변경 장치에 있어서,
상기 파일 내에서 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정하는 설정부; 및
상기 데이터의 변경이 있는 경우, 상기 기본 오프셋을 변경하는 변경부
를 포함하는 데이터 변경 장치.
A data change device for changing data of a file having an ISO base file format,
A setting unit for setting a default offset in a chunk offset box that records a location of a chunk in the file; And
A change unit for changing the default offset when there is a change in the data
Data change device comprising a.
제1항에 있어서,
상기 청크는
상기 파일에 포함되는 복수 개의 미디어 정보 중 적어도 하나의 데이터 유닛(Data Unit)의 그룹(Group)인 데이터 변경 장치.
The method of claim 1,
The chunk is
And a group of at least one data unit among a plurality of media information included in the file.
제1항에 있어서,
상기 기본 오프셋은
64 바이트(Byte)의 크기를 가지는 데이터 변경 장치.
The method of claim 1,
The default offset is
Data change device having a size of 64 bytes.
제1항에 있어서,
상기 기본 오프셋의 설정 여부를 결정하는 상기 청크 오프셋 박스의 버전(Version)을 결정하는 결정부
를 더 포함하는 데이터 변경 장치.
The method of claim 1,
Determining unit for determining the version (Version) of the chunk offset box for determining whether to set the default offset
Data change device further comprising.
제1항에 있어서,
상기 설정부는
상기 기본 오프셋과 오프셋을 합산하여 청크 오프셋을 연산하는 데이터 변경 장치.
The method of claim 1,
The setting unit
And a chunk offset by adding the base offset and the offset.
ISO 기반 파일 포맷을 갖는 파일의 데이터를 변경하는 데이터 변경 방법에 있어서,
상기 파일 내에서 청크(Chunk)의 위치를 기록하는 청크 오프셋 박스(Chunk Offset Box)에 기본 오프셋(Default Offset)을 설정하는 단계; 및
상기 데이터의 변경이 있는 경우, 상기 기본 오프셋을 변경하는 단계
를 포함하는 데이터 변경 방법.
In the data change method for changing the data of a file having an ISO-based file format,
Setting a default offset to a chunk offset box that records a location of a chunk in the file; And
Changing the default offset if there is a change in the data
Data change method comprising a.
제6항에 있어서,
상기 기본 오프셋의 설정 여부를 결정하는 상기 청크 오프셋 박스의 버전(Version)을 결정하는 단계
를 더 포함하는 데이터 변경 방법.
The method according to claim 6,
Determining a version of the chunk offset box that determines whether to set the default offset;
Data change method further comprising.
제6항에 있어서,
상기 기본 오프셋(Default Offset)을 설정하는 단계는
상기 기본 오프셋과 오프셋을 합산하여 청크 오프셋을 연산하는 데이터 변경 방법.
The method according to claim 6,
The setting of the default offset (Default Offset)
And a chunk offset by adding the base offset and the offset.
KR1020100125562A 2010-12-09 2010-12-09 Apparatus and Method for Changing Data KR101294542B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100125562A KR101294542B1 (en) 2010-12-09 2010-12-09 Apparatus and Method for Changing Data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100125562A KR101294542B1 (en) 2010-12-09 2010-12-09 Apparatus and Method for Changing Data

Publications (2)

Publication Number Publication Date
KR20120064365A KR20120064365A (en) 2012-06-19
KR101294542B1 true KR101294542B1 (en) 2013-08-07

Family

ID=46684492

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100125562A KR101294542B1 (en) 2010-12-09 2010-12-09 Apparatus and Method for Changing Data

Country Status (1)

Country Link
KR (1) KR101294542B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968549B (en) * 2019-11-18 2024-03-29 Oppo(重庆)智能科技有限公司 File storage method, device, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294691A1 (en) 2007-05-22 2008-11-27 Sunplus Technology Co., Ltd. Methods for generating and playing multimedia file and recording medium storing multimedia file
KR20100025018A (en) * 2007-07-02 2010-03-08 프라운호퍼-게젤샤프트 추르 푀르데룽 데어 안제반텐 포르슝 에 파우 Apparatus and method for storing and reading a file having a media data container and a metadata container

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294691A1 (en) 2007-05-22 2008-11-27 Sunplus Technology Co., Ltd. Methods for generating and playing multimedia file and recording medium storing multimedia file
KR20100025018A (en) * 2007-07-02 2010-03-08 프라운호퍼-게젤샤프트 추르 푀르데룽 데어 안제반텐 포르슝 에 파우 Apparatus and method for storing and reading a file having a media data container and a metadata container

Also Published As

Publication number Publication date
KR20120064365A (en) 2012-06-19

Similar Documents

Publication Publication Date Title
EP3361409B1 (en) Data deduplication method and apparatus
US20180143878A1 (en) De-duplicated virtual machine image transfer
JP6443173B2 (en) Video data processing apparatus, video data processing system, video data processing method, and video data processing program
KR101766790B1 (en) Method and computing apparatus for maniging main memory database
CN103577762B (en) Channel marking system and method in Android application distribution system
US10804930B2 (en) Compressed data layout with variable group size
US9672145B2 (en) Service associated with persistent storage
US9183837B2 (en) Apparatus and method for determining bit rate for audio content
CN111095187A (en) Tape drive memory deduplication
KR101294542B1 (en) Apparatus and Method for Changing Data
CN113138723B (en) Data soft destroying method, system, device and medium
KR102122956B1 (en) Apparatus and method for installing program
JP6899972B2 (en) Information processing equipment, information processing methods and information processing programs
JP5494817B2 (en) Storage system, data management apparatus, method and program
WO2018014801A1 (en) Image file processing
US10248335B2 (en) Reducing a size of backup data in storage
US10013419B2 (en) File storage method and apparatus, and storage medium
CN108733548A (en) One kind burying a setting method, device, equipment and computer readable storage medium
US20130229292A1 (en) Apparatus and method for decoding
CN109947978B (en) Audio storage and playing method and device
US20150356011A1 (en) Electronic device and data writing method
WO2016186602A1 (en) Deletion prioritization
CN104618644A (en) Method and terminal for writing image data into file
KR101608623B1 (en) Apparatus and method for memory recovery to effective data recovery after power loss
US8655929B2 (en) Modification of data within a file

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160726

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20170727

Year of fee payment: 5