KR100814079B1 - Method for converting html file to flash image - Google Patents

Method for converting html file to flash image Download PDF

Info

Publication number
KR100814079B1
KR100814079B1 KR1020070051590A KR20070051590A KR100814079B1 KR 100814079 B1 KR100814079 B1 KR 100814079B1 KR 1020070051590 A KR1020070051590 A KR 1020070051590A KR 20070051590 A KR20070051590 A KR 20070051590A KR 100814079 B1 KR100814079 B1 KR 100814079B1
Authority
KR
South Korea
Prior art keywords
image
flash
page
background
information
Prior art date
Application number
KR1020070051590A
Other languages
Korean (ko)
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 KR1020070051590A priority Critical patent/KR100814079B1/en
Priority to JP2007179235A priority patent/JP4606439B2/en
Application granted granted Critical
Publication of KR100814079B1 publication Critical patent/KR100814079B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Information Transfer Between Computers (AREA)
  • Digital Computer Display Output (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A device and a method for converting an HTML(HyperText Markup Language) file into a Flash image are provided to manage file simply and generate various kinds of Flash images for a mobile terminal by converting the HTML file including multimedia data into one Flash image and transmitting the Flash image to the mobile terminal. A background extractor(20) extracts background information from an HTML file by using HTML tags. A contents extractor(30) extracts contents information from the HTML file through the HTML tags and generates structure information of the contents by using the extracted contents information. A page maker(40) divides the contents into a predetermined page unit when whole size of an area occupied by the contents according to the structure information in a screen of a mobile terminal is bigger than a predetermined size, and makes Flash pages by using the contents and background information included in each page. A Flash image generator(50) generates the Flash image by inserting the Flash pages into a frame of the Flash image. The page maker makes the Flash page by forming a character, image, background color/image/sound layer with characters, images, and background color/image/sound included in the page, and combining the layers.

Description

HTML 파일을 플래시 이미지로 변환하는 파일 변환 장치 및 그 변환 방법{Method for converting html file to flash image} File converting apparatus for converting HTMML file to flash image and converting method

도 1은 본 발명의 파일 변환 장치의 구성을 나타내는 구성도.BRIEF DESCRIPTION OF THE DRAWINGS The block diagram which shows the structure of the file conversion apparatus of this invention.

도 2a는 컨텐츠를 글자와 이미지로 구분한 모습을 보여주는 도면.Figure 2a is a view showing a state in which the content is divided into letters and images.

도 2b는 도 2a를 블럭화한 모습을 보여주는 도면.FIG. 2B is a view showing a block diagram of FIG. 2A; FIG.

도 2c는 도 2b의 블럭들을 페이지 단위로 구분한 모습을 보여주는 도면.FIG. 2C is a diagram illustrating a state in which the blocks of FIG. 2B are divided into pages. FIG.

도 3은 페이지별 레이어들의 모습을 전체적으로 보여주는 도면.3 is a view showing an overall view of the layers of each page.

도 4는 본 발명에 따른 파일 변환 방법을 설명하기 위한 순서도.4 is a flowchart illustrating a file conversion method according to the present invention.

도 5는 레이어들이 삽입되는 모습 및 순서를 보여주는 도면.5 is a view showing the appearance and order in which layers are inserted.

도 6은 완성된 플래시 페이지들의 모습을 보여주는 도면.6 shows the appearance of completed flash pages.

도 7은 이미지 레이어를 생성하는 과정을 보다 상세하게 설명하기 위한 순서도.7 is a flowchart illustrating a process of generating an image layer in more detail.

도 8은 애니메이션 GIF 이미지를 SWF 이미지로 변환하는 과정을 보여주는 도면.8 is a diagram illustrating a process of converting an animated GIF image into a SWF image.

도 9는 SWF 이미지의 위치를 지정하는 모습을 보여주는 도면.9 is a view showing a position of a SWF image.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

10 : 메모리 20 : 배경 추출부10: memory 20: background extraction unit

30 : 컨텐츠 추출부 40 : 페이지 작성부30: content extraction unit 40: page creation unit

50 : 플래시 이미지 생성부50: flash image generator

본 발명은 파일 변환에 관한 것으로서, 보다 상세하게는 멀티미디어 데이터가 포함된 HTML(Hypertext Markup Language) 파일을 플래시(flash) 이미지로 변환하는 장치 및 방법에 관한 것이다.The present invention relates to file conversion, and more particularly, to an apparatus and method for converting a Hypertext Markup Language (HTML) file containing multimedia data into a flash image.

최근의 이동통신 단말기는 다양한 멀티미디어 기능이 접목되고 있으며, 그에 따라 기존의 단문 메시지 서비스에 그림이나 음악 파일들을 첨부하여 전송할 수 있는 멀티미디어 메시지 서비스(MMS:Multimedia Message Service)가 점차 보편화되고 있는 상황이다.Recently, a variety of multimedia functions are used in a mobile communication terminal, and accordingly, a multimedia message service (MMS) for attaching pictures or music files to an existing short message service and transmitting them is gradually becoming common.

이러한, 멀티미디어 메시지 서비스는 여러 가지 그림과 멜로디, 음성을 전달하는 향상된 단문 메시지 서비스 기능으로서, 기존의 SMS(Short Message Service)를 기반으로 하는 이동통신 단말기의 사용자 인터페이스(UI)를 그대로 활용하여 각 콘텐츠가 저장된 미디어 보관함에서 전송하고자 하는 콘텐츠를 선택하여 첨부하는 방식을 사용한다.The multimedia message service is an enhanced short message service function that delivers various pictures, melodies, and voices, and utilizes a user interface (UI) of a mobile communication terminal based on an existing short message service (SMS). Selects the content you want to transfer from the stored media library and attaches it.

그런데, 멀티미디어 서비스를 이용하기 위해 기존의 HTML로 작성된 파일에 다양한 멀티미디어 데이터를 삽입하게 되면, HTML 파일과 멀티미디어 데이터를 함께 관리하고 이를 송수신해야 하는 불편함이 따른다. 즉, HTML 파일에 다른 멀티 미디어 데이터가 삽입된 경우 멀티미디어 데이터와 이것을 연결하는 링크를 포함하는 HTML 파일은 별개의 파일로 존재하기 때문에 HTML 파일과 멀티미디어 데이터를 별개 파일로 따로 관리하고 송수신해야 한다.However, when a variety of multimedia data is inserted into a file made of HTML in order to use a multimedia service, it is inconvenient to manage and transmit HTML files and multimedia data together. That is, when other multimedia data is inserted into the HTML file, since the HTML file including the multimedia data and the link connecting the same exists as a separate file, the HTML file and the multimedia data must be managed and transmitted separately as separate files.

더욱이, 사용자의 단말기(이동통신단말기)에 해당 멀티미디어 서비스를 재생시킬 수 있는 어플리케이션이 설치되지 않은 경우 단말기는 해당 멀티미디어 데이터를 처리할 수 없어 화면에서 해당 멀티미디어가 삽입된 영역이 빈박스로 보여지거나 대체 글자로만 보여지는 문제가 발생하게 된다.In addition, if an application for reproducing the multimedia service is not installed in the user's terminal (mobile communication terminal), the terminal cannot process the multimedia data, and thus the area where the multimedia is inserted is displayed or replaced with a blank box on the screen. Problems that only appear in letters occur.

따라서, 상술한 문제를 해결하기 위한 본 발명의 목적은 다양한 멀티미디어 데이터를 포함하는 HTML 파일을 하나의 플래시 이미지로 변환하여 그 플래시 이미지를 송수신함으로써 파일 관리를 간소화하고 보다 다양한 플래시 이미지를 생성할 수 있도록 하는데 있다.Accordingly, an object of the present invention for solving the above problems is to convert an HTML file containing various multimedia data into a single flash image and to transmit and receive the flash image to simplify file management and to generate more various flash images. It is.

위와 같은 목적을 달성하기 위한 본 발명의 파일 변환 장치는 HTML 태그를 이용하여 HTML 파일에서 배경 정보를 추출하는 배경 추출부; HTML 태그를 이용하여 상기 HTML 파일에서 컨텐츠 정보를 추출하고, 추출된 상기 컨텐츠 정보를 이용하여 상기 컨텐츠들에 대한 구조 정보를 생성하는 컨텐츠 추출부; 상기 구조 정보에 따라 컨텐츠의 전체 사이즈가 기 설정된 사이즈보다 큰 경우 상기 컨텐츠를 상기 기 설정된 사이즈의 페이지 단위로 구분하고, 각 페이지별로 해당 페이지에 포함된 상기 컨텐츠 및 상기 배경 정보를 이용하여 플래시 페이지들을 작성하는 페이지 작성부; 및 상기 플래시 페이지들을 플래시 이미지의 프레임에 삽입하여 플래시 이미지를 생성하는 플래시 이미지 생성부를 구비한다.File conversion apparatus of the present invention for achieving the above object is a background extraction unit for extracting the background information from the HTML file using the HTML tag; A content extraction unit which extracts content information from the HTML file by using an HTML tag and generates structure information about the content by using the extracted content information; When the total size of the content is larger than the preset size according to the structure information, the content is divided into page units of the preset size, and flash pages are stored using the contents and the background information included in the corresponding page for each page. A page creation unit to create; And a flash image generator for inserting the flash pages into a frame of the flash image to generate a flash image.

본 발명에 따른 HTML 파일을 플래시 이미지로 변환하는 방법은 HTML 파일에서 배경 정보를 추출하는 제 1 단계; 상기 HTML 파일에서 컨텐츠 정보를 추출하여 컨텐츠의 전체 사이즈가 기 설정된 사이즈보다 큰 경우 상기 컨텐츠를 상기 기 설정된 사이즈의 페이지 단위로 구분하는 제 2 단계; 상기 구분된 각 페이지별로 해당 페이지에 포함된 상기 컨텐츠 및 상기 배경 정보를 이용하여 플래시 페이지들을 작성하는 제 3 단계; 및 상기 플래시 페이지들을 결합시켜 플래시 이미지를 생성하는 제 4 단계를 포함한다.A method for converting an HTML file into a flash image according to the present invention includes a first step of extracting background information from an HTML file; Extracting content information from the HTML file and dividing the content into page units of the preset size when the total size of the content is larger than a preset size; Creating flash pages using the contents and the background information included in the corresponding page for each divided page; And a fourth step of combining the flash pages to generate a flash image.

이하, 첨부된 도면들을 참조하여 본 발명의 바람직한 실시예를 보다 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

도 1은 본 발명의 파일 변환 장치의 구성을 나타내는 구성도이다.1 is a configuration diagram showing the configuration of the file conversion apparatus of the present invention.

도 1의 파일 변환 장치는 메모리(10), 배경 추출부(20), 컨텐츠 추출부(30), 페이지 작성부(40) 및 플래시 이미지 생성부(50)를 구비한다.The file conversion apparatus of FIG. 1 includes a memory 10, a background extractor 20, a content extractor 30, a page creator 40, and a flash image generator 50.

메모리(10)는 멀티미디어 데이터가 포함된 HTML 파일, 본 발명에 따른 파일 변환 과정에서 임시로 생성되는 각종 데이터, 및 HTML 파일이 변환된 플래시 이미지를 저장한다. 이때, 상술한 데이터는 그 특성에 따라 물리적으로 분리시켜 각기 서로 다른 메모리에 저장되도록 할 수도 있으나 본 발명에서는 설명의 편의를 위해 하나의 메모리(10)에 저장되는 것으로 한다.The memory 10 stores HTML files including multimedia data, various data temporarily generated during the file conversion process according to the present invention, and flash images in which the HTML files are converted. In this case, the above-described data may be physically separated according to its characteristics so that the data may be stored in different memories, but in the present invention, the data is stored in one memory 10 for convenience of description.

배경 추출부(20)는 메모리(10)에 저장된 변환 대상이 되는 HTML 파일에서 배경 정보(배경색, 배경 이미지 및 배경 사운드에 대한 정보)를 추출하여 메모리(10)에 임시 저장한다. 즉, 배경 추출부(20)는 HTML 파일에서 배경색과 관련된 태크(bgcolor=" "), 배경 이미지와 관련된 태그(background=" ") 및 배경 사운드와 관련된 태그(bgsound src=" ")를 찾아낸 후 각 태크에서 " " 안에 있는 정보를 추출하여 이들을 각각 배경색 정보, 배경 이미지 정보 및 배경 사운드 정보로 하여 메모리(10)에 임시 저장한다.The background extractor 20 extracts background information (background color, background image and background sound) from the HTML file to be converted in the memory 10 and temporarily stores it in the memory 10. That is, the background extractor 20 finds a tag related to the background color (bgcolor = ""), a tag related to the background image (background = ""), and a tag related to the background sound (bgsound src = "") in the HTML file. The information contained in each tag is extracted from the tags and stored in the memory 10 as the background color information, the background image information and the background sound information, respectively.

컨텐츠 추출부(30)는 메모리(10)에 저장된 변환 대상이 되는 HTML 파일에 포함된 컨텐츠들(예컨대, 표시 글자와 이미지)에 대한 정보를 추출하여 그 컨텐츠들이 HTML 형식에 의해 화면에 실제 표시되는 구조(형태)를 알려주는 구조 정보를 생성한다. 즉, 컨텐츠 추출부(30)는 HTML 파일의 본문(<body>, </body>)에 쓰여진 표시 글자들(실제 화면에 표시되는 글자들), 그 표시 글자들과 관련된 태그들(예컨대, <p> </p>, <div> </div>, <br>, <big> </big>, <small> </small>, <i> </i>, <strong> </strong> 등) 및 이미지에 대한 태그(<img=" ">)를 이용해 해당 HTML 파일에서 실제 화면에 표시되는 글자들과 이미지들에 대한 정보를 추출하여 메모리(10)에 임시 저장한다. 그리고, 컨텐츠 추출부(30)는 추출된 표시 글자들(이하, 그냥 글자라 하면 표시 글자를 의미함)과 이미지들을 도 2a에서와 같이 각 라인별로 구분하고 만약 동일한 라인에 글자와 이미지가 모두 포함되어 있는 경우에는 해당 라인을 글자 부분과 이미지 부분으로 다시 구분하여 도 2b와 같이 글자 부분과 이미지 부분을 블럭화한다. 도 2b에서 T1 ∼ T14는 추출된 표시 글자들의 위치 및 크기를 나타내는 블럭(텍스트 블럭)들이며, I1 ∼ I5는 추출된 이미지들의 위치 및 크기를 나타내는 블럭(이미지 블럭)들이다. 이러한 작성된 구조 정보는 페이지 작성부(40)로 전송된다.The content extraction unit 30 extracts information about contents (eg, display text and images) included in an HTML file to be converted in the memory 10, and the contents are actually displayed on the screen by the HTML format. Generates structure information indicating the structure (type). That is, the content extraction unit 30 may display display characters (characters displayed on the actual screen) written in the body (<body>, </ body>) of the HTML file, tags associated with the display characters (eg, < p> </ p>, <div> </ div>, <br>, <big> </ big>, <small> </ small>, <i> </ i>, <strong> </ strong> Etc.) and the tag (<img = "">) for the image to extract information about the characters and images displayed on the actual screen from the corresponding HTML file and temporarily store the information in the memory 10. The content extraction unit 30 divides the extracted display letters (hereinafter, simply referred to as display letters) and images by lines as shown in FIG. 2A, and includes both letters and images on the same line. If so, the line is divided into a letter part and an image part to block the letter part and the image part as shown in FIG. 2B. In FIG. 2B, T1 to T14 are blocks (text blocks) indicating the positions and sizes of the extracted display letters, and I1 to I5 are blocks (image blocks) indicating the positions and sizes of the extracted images. The created structure information is transmitted to the page creation unit 40.

페이지 작성부(40)는 컨텐츠 추출부(30)로부터 구조 정보에 근거하여 컨텐츠들을 기 설정된 사이즈의 페이지 단위로 구분하고 구분된 페이지별로 각 페이지에 포함된 글자와 이미지 및 배경 추출부(20)에서 추출된 배경 정보들을 이용해 도 3과 같이 페이지별로 레이어들을 구성한 후 그 레이어들을 결합(삽입)시켜 각 플래시 페이지들을 작성한다. 즉, HTML 방식에 따라 컨텐츠의 내용들이 화면에 표시될 때는 HTML 파일에 포함된 컨텐츠의 양과 상관없이 모두 하나의 페이지로 표시되기 때문에 화면의 우측에 스크롤바가 구비되어 사용자가 해당 페이지를 스크롤할 수 있도록 구성된다. 그러나, 본 발명에서와 같이 컨텐츠의 내용들을 플래시 이미지로 표시하는 경우에는 플래시 이미지는 한 화면 내에 표시되어야 하기 때문에 그 플래시 이미지의 사이즈(가로, 세로의 길이)는 화면의 사이즈보다 작아야 한다. 따라서, HTML 파일에 포함된 컨텐츠의 양이 많아서 그 내용을 하나의 화면에 모두 표시하지 못하는 경우 즉, 도 2b의 글자와 이미지 구조의 전체 사이즈가 기 설정된 페이지 사이즈(예컨대, 화면 사이즈의 절반)보다 큰 경우 페이지 작성부(40)는 도 2b의 구조를 도 2c와 같이 기 설정된 페이지 단위로 구분한다. 그리고, 페이지 작성부(40)는 구분된 각 페이지별로 해당 페이지에 포함된 글자와 이미지 및 배경 추출부(20)에서 추출된 배경색, 배경 이미지, 배경 사운드로 각기 서로 다른 레이어들을 구성한 후 이들을 삽입시켜 플래시 페이지를 작성한다. 이러한 플래시 페이지 작성 방법은 보다 상세하게 후술된다.The page creating unit 40 divides the contents into page units having a predetermined size based on the structure information from the content extracting unit 30, and in the divided pages, the text, image, and background extracting unit 20 included in each page may be used. Using the extracted background information, layers are formed for each page as shown in FIG. 3, and the respective layers are created by combining (inserting) the layers. In other words, when the contents of the content are displayed on the screen according to the HTML method, the content is displayed as one page regardless of the amount of content included in the HTML file. Thus, a scroll bar is provided on the right side of the screen so that the user can scroll the page. It is composed. However, when displaying the contents of the content as a flash image as in the present invention, the size of the flash image (horizontal length) should be smaller than the size of the screen because the flash image should be displayed within one screen. Therefore, when the amount of content included in the HTML file is too large to display the content on one screen, that is, the total size of the text and image structure of FIG. 2B is larger than the preset page size (eg, half of the screen size). If large, the page creation unit 40 divides the structure of FIG. 2B into preset page units as shown in FIG. 2C. Then, the page creation unit 40 configures different layers with the background color, the background image, and the background sound extracted from the letters and images and the background extracting unit 20 included in the corresponding page for each divided page, and inserts them. Create a flash page. This flash page creation method is described in more detail below.

플래시 이미지 생성부(50)는 페이지 작성부(40)에 의해 작성된 플래시 페이지들을 플래시 이미지의 프레임에 순서대로 삽입함으로써 플래시 이미지를 생성한다. 즉, 플래시 이미지 생성부(50)는 각각의 페이지의 정보를 이용하여 대응되는 헤더(header)를 만든 후 해당 페이지를 대응되는 헤더 다음에 저장함으로써 플래시 이미지를 생성한다.The flash image generating unit 50 generates a flash image by inserting the flash pages created by the page creating unit 40 in the frames of the flash image in order. That is, the flash image generating unit 50 generates a flash image by creating a corresponding header using the information of each page and then storing the corresponding page after the corresponding header.

도 4는 본 발명에 따른 파일 변환 방법을 설명하기 위한 순서도이다.4 is a flowchart illustrating a file conversion method according to the present invention.

배경 추출부(20)는 메모리(10)에 저장된 HTML 파일을 불러온 후 HTML 파일의 태그들 중에서 해당 HTML 파일의 배경색, 배경 이미지 및 배경 사운드와 관련된 태그들(bgcolor, background, bgsound)을 찾아내어 배경 정보(배경색, 배경 이미지, 배경 사운드에 대한 정보)를 추출해 내고 그 정보를 메모리(10)에 임시 저장한다(단계 410).The background extractor 20 loads an HTML file stored in the memory 10 and finds tags (bgcolor, background, bgsound) related to a background color, a background image, and a background sound of the HTML file among the tags of the HTML file. Background information (background color, background image, background sound information) is extracted and the information is temporarily stored in the memory 10 (step 410).

예컨대, 메모리(10)에서 불러온 HTML 파일의 본문에 <body bgcolor="#ffffff" background="image/bgimg.png"> <bgsound src="BGM.mp3" loop="-1">의 태그가 포함되어 있는 경우, 배경 추출부(20)는 #ffffff를 배경색 정보로, bgimg.png를 배경 이미지 정보로 그리고 BGM.mp3를 배경 사운드 정보로서 각각 추출하여 메모리(10)에 임시 저장한다.For example, a tag of <body bgcolor = "# ffffff" background = "image / bgimg.png"> <bgsound src = "BGM.mp3" loop = "-1"> in the body of the HTML file loaded from the memory 10. Is included, the background extractor 20 extracts #ffffff as background color information, bgimg.png as background image information, and BGM.mp3 as background sound information, and temporarily stores them in the memory 10.

다음에, 컨텐츠 추출부(30)는 HTML 파일의 본문에서 다시 태그들을 검색하여 실제 화면에 표시되는 컨텐츠들에 대한 정보들 즉 글자 정보와 이미지 정보들을 추출한 후 해당 글자 정보와 이미지 정보들을 메모리(10)에 임시 저장한다(단계 420).Next, the content extraction unit 30 retrieves the tags from the body of the HTML file again, extracts information about the contents displayed on the actual screen, that is, the character information and the image information, and then stores the corresponding character information and the image information in the memory 10. (Step 420).

즉, 컨텐츠 추출부(30)는 HTML 파일의 본문(<body>, </body>)에 쓰여진 글자들(표시 글자들), 그 글자들과 관련된 태그들(예컨대, <p> </p>, <div> </div>, <br>, <big> </big>, <small> </small>, <i> </i>, <strong> </strong> 등) 및 이미지에 대한 태그(<img=" ">)를 찾아내어 해당 HTML 파일에 의해 실제 화면에 표시되는 글자들 및 이미지들에 대한 정보를 추출한다. 이때, 컨텐츠 추출부(30)는 추출된 글자 정보와 이미지 정보들을 이용하여 도 2a에서와 같이 글자들과 이미지들을 라인별로 구분하며 만약 동일한 라인에 글자와 이미지가 모두 포함되어 있는 경우에는 해당 라인을 글자 부분과 이미지 부분으로 다시 구분한다. 이처럼 글자와 이미지들을 구분하는 것은 줄바꿈, 이미지 삽입 등의 HTML 태그를 이용하여 용이하게 실시할 수 있다.That is, the content extraction unit 30 may include characters (display characters) written in the body (<body>, </ body>) of the HTML file, tags associated with the characters (eg, <p> </ p> , <div> </ div>, <br>, <big> </ big>, <small> </ small>, <i> </ i>, <strong> </ strong>, etc.) Finds a tag (<img = "">) and extracts information about the characters and images displayed on the actual screen by the corresponding HTML file. At this time, the content extraction unit 30 separates the characters and images by lines using the extracted character information and the image information, as shown in FIG. 2A. It is divided into a letter part and an image part again. In this way, it is easy to distinguish between text and images by using HTML tags such as line breaks and image insertion.

그리고, 컨텐츠 추출부(30)는 글자와 이미지에 대한 구분이 완료되면 구분된 글자와 이미지를 도 2b와 같이 블럭화(T1 ∼ T14, I1 ∼ I5)한 후 그 블럭들의 구조를 알려주는 구조 정보를 페이지 작성부(40)로 전송해준다.When the classification of the letters and images is completed, the content extraction unit 30 blocks the divided letters and images as shown in FIG. 2B (T1 to T14, I1 to I5), and then provides structure information indicating the structure of the blocks. The page generator 40 transmits the data.

컨텐츠 추출부(30)로부터 구조 정보를 제공받은 페이지 작성부(40)는 블럭들의 전체 사이즈(도 2b)를 기 설정된 사이즈(플래시 이미지를 구성하는 플래시 페이지의 사이즈)와 비교하여 전체 사이즈가 기 설정된 사이즈보다 큰 경우 도 2b의 블럭들(컨텐츠들)을 도 2c와 같이 기 설정된 사이즈의 페이지 단위로 구분한다(단계 430).The page creation unit 40 provided with the structure information from the content extraction unit 30 compares the total size of the blocks (FIG. 2B) with a preset size (the size of the flash page constituting the flash image). If larger than the size, the blocks (contents) of FIG. 2B are divided into page units having a predetermined size as shown in FIG. 2C (step 430).

즉, 하나의 HTML 파일에 포함된 글자와 이미지들이 HTML 방식에 의해 화면에 표시되는 경우에는 그 컨텐츠의 내용이 많고 적음과 상관없이 모두 하나의 페이지 로 표시되며, 그 내용이 한 화면에 모두 표시되지 못하는 경우에는 화면의 우측에 스크롤바를 생성하여 사용자가 그 스크롤바를 이용하여 해당 페이지를 상하로 스크롤함으로써 자신이 원하는 내용을 찾아볼 수 있도록 하고 있다. 그러나, 본 발명에서와 같이 컨텐츠들을 플래시 이미지로 표시하고자 하는 경우에는 그 플래시 이미지가 한 화면 내에 표시되어야 하기 때문에 플래시 이미지의 사이즈는 화면의 사이즈보다 작아야 한다. 따라서, 페이지 작성부(40)는 HTML에 포함된 글자와 이미지들이 많아서 도 2b의 전체 블럭들의 사이즈가 기 설정된 사이즈보다 큰 경우에는 도 2b의 블럭들을 도 2c와 같이 기 설정된 사이즈 단위로 구분하여 복수개의 페이지로 분할한다. 본 실시예에서는 페이지의 사이즈를 화면의 절반 사이즈로 하며, 도 2c는 도 2b의 블럭들이 2개의 페이지로 구분된 모습을 보여주고 있다.That is, when the characters and images included in one HTML file are displayed on the screen by the HTML method, the contents are all displayed as one page regardless of the content of the content is small or small, and the contents are not displayed on one screen. If it does not, a scroll bar is created on the right side of the screen so that the user can scroll up and down the page using the scroll bar to find the content he / she wants. However, when the contents are to be displayed as a flash image as in the present invention, the size of the flash image must be smaller than the size of the screen because the flash image must be displayed in one screen. Therefore, when the size of the entire blocks of FIG. 2B is larger than the preset size because the number of characters and images included in the HTML are many, the page creating unit 40 divides the blocks of FIG. 2B into preset size units as shown in FIG. 2C. Split into pages In the present embodiment, the size of the page is half the size of the screen, and FIG. 2C shows the blocks of FIG. 2B divided into two pages.

그러나, HTML 파일에 포함된 컨텐츠의 전체 사이즈가 기 설정된 사이즈보다 크지 않은 경우에는 단계 430에서와 같은 페이지 구분 과정은 필요치 않게 된다.However, if the total size of the content included in the HTML file is not larger than the preset size, the page division process as in step 430 is not necessary.

다음에, 페이지 작성부(40)는 구분된 페이지별로 해당 페이지의 글자와 이미지 및 단계 410에서 추출된 배경 정보를 이용하여 플래시 페이지들을 작성한다(단계 440).Next, the page preparing unit 40 generates flash pages using the letters and images of the corresponding page and the background information extracted in step 410 for each divided page (step 440).

이를 위해, 페이지 작성부(40)는 도 3에서와 같이 배경색 정보를 이용하여 배경색 레이어를, 배경 이미지 정보를 이용하여 배경 이미지 레이어를, 해당 페이지에 포함된 글자들을 이용하여 글자 레이어를, 해당 페이지에 포함된 이미지들을 이용하여 이미지 레이어를, 그리고 배경 사운드 정보를 이용하여 배경 사운드 레이어를 생성한다. 이때 만약 단계 430에서 구분된 페이지의 수가 복수인 경우에는 페이지 간을 이동하기 위한 페이지 버튼 레이어를 추가로 생성한다. 도 3a는 도 2c에서 페이지-1에 대응되는 레이어들을 보여주고 있으며, 도 3b는 도 2c에서 페이지-2에 대응되는 레이어들을 보여주고 있다. 여기에서, 배경 정보를 이용하여 생성된 레이어들은 모든 페이지들에서 동일함을 알 수 있다.To this end, the page creation unit 40 uses the background color information as shown in FIG. 3, the background color layer using the background image information, the background image layer using the letters included in the page, the letter layer, and the corresponding page. An image layer is created using the images included in the image, and a background sound layer is created using the background sound information. In this case, if the number of pages divided in step 430 is plural, a page button layer for moving between pages is additionally generated. FIG. 3A illustrates layers corresponding to page-1 in FIG. 2C, and FIG. 3B illustrates layers corresponding to page-2 in FIG. 2C. Here, it can be seen that the layers generated using the background information are the same in all pages.

그리고, 페이지 작성부(40)는 생성된 각 페이지의 레이어들을 도 5와 같이 배경색 레이어, 배경 이미지 레이어, 글자 레이어, 배경 이미지 레이어, 배경 사운들 레이어 및 페이지 버튼 레이어 순으로 삽입하여 플래시 페이지를 작성한다. 도 6은 도 3a 및 도 3b의 레이어들을 도 5와 같이 삽입하여 작성한 플래시 페이지들의 모습을 보여준다.The page creation unit 40 creates a flash page by inserting the generated layers of each page in the order of a background color layer, a background image layer, a text layer, a background image layer, a background sound layer, and a page button layer as shown in FIG. 5. do. FIG. 6 shows the appearance of flash pages created by inserting the layers of FIGS. 3A and 3B as shown in FIG. 5.

플래시 페이지들이 작성되면, 플래시 이미지 생성부(50)는 작성된 플래시 페이지들을 플래시 이미지의 프레임에 삽입함으로써 플래시 이미지를 생성한다(단계 450).When the flash pages are created, the flash image generator 50 generates a flash image by inserting the created flash pages into a frame of the flash image (step 450).

즉, 플래시 이미지 생성부(50)는 단계 440에서 생성된 각 페이지의 정보를 이용하여 대응되는 헤더(header)를 만든 후 해당 페이지를 헤더 다음에 저장함으로써 플래시 이미지를 생성한다.That is, the flash image generating unit 50 generates a flash image by creating a corresponding header using the information of each page generated in step 440 and storing the corresponding page after the header.

생성된 플래시 이미지는 메모리(10)에 저장된 후 미도시된 송/수신 장치에 의해 유/무선 통신을 통해 수신측 단말기로 전송된다.The generated flash image is stored in the memory 10 and then transmitted to the receiving terminal through wired / wireless communication by a transmission / reception device (not shown).

도 7은 단계 440에서 생성되는 레이어들 중 이미지 레이어를 생성하는 과정을 보다 상세하게 설명하기 위한 순서도이다. 각 플래시 페이지에 삽입된 이미지 레이어의 생성 방법은 동일하므로 본 실시예에서는 설명의 편의를 위해 페이지-1에 포함된 이미지들을 이용하여 이미지 레이어를 형성하는 과정만을 설명한다. 또한, HTML 파일에 포함된 원래의 이미지와 그 이미지가 SWF 형식으로 변환된 이미지를 구분하기 위해 이하에서는 HTML 파일에 포함된 원래의 이미지를 소스 이미지로 칭하고 SWF 형식으로 변환된 이미지를 SWF 이미지로 칭한다.7 is a flowchart illustrating a process of generating an image layer among the layers generated in operation 440 in more detail. Since the method of generating the image layer inserted in each flash page is the same, in the present embodiment, only the process of forming the image layer using the images included in page-1 will be described for convenience of description. In addition, in order to distinguish between the original image included in the HTML file and the image converted to SWF format, the original image included in the HTML file is referred to as a source image, and the image converted to SWF format is referred to as a SWF image. .

페이지 작성부(40)는 페이지-1에 포함된 소스 이미지가 복수개인 경우 이들 중 어느 한 소스 이미지(예컨대, 가장 사이즈가 큰 소스 이미지 I2)를 먼저 선택한 후 선택된 소스 이미지가 어떤 종류의 이미지인지를 확인한다(단계 710).If there are a plurality of source images included in page-1, the page creator 40 first selects one of the source images (for example, the largest source image I2), and then selects what kind of image the selected source image is. Confirm (step 710).

즉, 페이지 작성부(40)는 선택된 소스 이미지가 BMP 이미지, GIF 이미지, JPG 이미지, PNG 이미지 중 어떤 종류의 이미지에 해당하는지를 확인한다.That is, the page creation unit 40 checks which kind of image is selected from the source image BMP image, GIF image, JPG image, PNG image.

이미지의 종류가 확인되면, 페이지 작성부(40)는 해당 소스 이미지를 SWF 형식의 이미지로 변환한다(단계 720).If the type of the image is confirmed, the page creator 40 converts the source image into the SWF format image (step 720).

즉, 해당 소스 이미지가 BMP 이미지인 경우, 페이지 작성부(40)는 BMP 이미지의 이미지 데이터를 사용해서 DefineBits 태그를 만들어 추가하고 PlaceObject2 태그와 ShowFrame 태그를 더 추가함으로써 해당 BMP 이미지를 SWF 이미지로 변환한다.In other words, if the source image is a BMP image, the page creator 40 creates and adds a DefineBits tag using image data of the BMP image, and converts the corresponding BMP image into a SWF image by further adding a PlaceObject2 tag and a ShowFrame tag. .

만약 해당 소스 이미지가 JPG 이미지인 경우, 페이지 작성부(40)는 JPG 이미지의 이미지 데이터를 사용해서 DefineBitsJPEG2 태그를 만들어 추가하고 PlaceObject2 태그와 ShowFrame 태그를 더 추가함으로써 해당 JPG 이미지를 SWF 이미지로 변환한다.If the corresponding source image is a JPG image, the page creation unit 40 converts the JPG image into a SWF image by creating and adding a DefineBitsJPEG2 tag by using the image data of the JPG image and adding a PlaceObject2 tag and a ShowFrame tag.

만약 해당 소스 이미지가 PNG 이미지인 경우, 페이지 작성부(40)는 PNG 이미 지의 이미지 데이터를 사용해서 DefineLossless2 태그를 만들어 추가하고 PlaceObject2 태그와 ShowFrame 태그를 더 추가함으로써 해당 PNG 이미지를 SWF 이미지로 변환한다.If the source image is a PNG image, the page creation unit 40 converts the PNG image to a SWF image by creating and adding a DefineLossless2 tag by using the image data of the PNG image and adding a PlaceObject2 tag and a ShowFrame tag.

만약 해당 소스 이미지가 GIF 이미지인 경우, 페이지 작성부(40)는 GIF 이미지의 이미지 데이터를 사용해서 DefineLossless2 태그를 만들어 추가하고 PlaceObject2 태그와 ShowFrame 태그를 더 추가함으로써 해당 GIF 이미지를 SWF 이미지로 변환한다.If the corresponding source image is a GIF image, the page creation unit 40 converts the GIF image into a SWF image by creating and adding a DefineLossless2 tag by using the image data of the GIF image and adding a PlaceObject2 tag and a ShowFrame tag.

마지막으로, 해당 소스 이미지가 상술한 BMP, JPG, GIF 이미지와 같은 정지 이미지가 아니라 여러개의 이미지들이 연속적으로 결합된 애니메이션 GIF 이미지인 경우, 페이지 작성부(40)는 이미지 데이터를 사용해서 DefineLossless2 태그를 만들어 추가하고 PlaceObject2 태그와 ShowFrame 태그를 더 추가한 후 애니메이션 GIF 이미지를 구성하는 이미지들 간의 시간 정보에 따라 추가적으로 PlaceObject2 태그와 ShowFrame 태그를 추가함으로써 해당 애니메이션 GIF 이미지를 SWF 이미지로 변환한다. 즉, 페이지 작성부(40)는 도 8a에서와 같이 애니메이션 GIF 이미지를 구성하는 이미지들 및 그 이미지들 간의 시간 정보(도 8에서는 500ms, 700ms, 800ms)를 추출한다. 다음에, 페이지 작성부(40)는 추출된 각 이미지들을 플래시 생성을 위한 프레임들에 저장한 후 저장된 프레임들을 도 8b와 같이 애니메이션 GIF 이미지에서의 시간 정보에 따라 다음 프레임에서 표시되도록 함으로써 애니메이션 GIF 이미지를 SWF 이미지로 변환한다.Finally, if the source image is not a still image such as the above-described BMP, JPG, or GIF image, but the animated GIF image in which several images are continuously combined, the page creator 40 uses the image data to define the DefineLossless2 tag. Create and add, add more PlaceObject2 tags and ShowFrame tags, and convert the animated GIF images into SWF images by adding additional PlaceObject2 and ShowFrame tags based on the time information between the images that make up the animated GIF images. That is, the page creating unit 40 extracts images constituting the animated GIF image and time information (500 ms, 700 ms, 800 ms in FIG. 8) between the images as shown in FIG. 8A. Next, the page creator 40 stores each extracted image in frames for flash generation, and then displays the stored frames in the next frame according to time information in the animated GIF image as shown in FIG. 8B. To a SWF image.

이미지 변환이 완료되면, 페이지 작성부(40)는 도 9와 같이 이미지 레이어 상에서의 SWF 이미지 위치가 페이지-1 상에서의 소스 이미지(I2) 위치와 같아지도록 SWF 이미지를 이미지 레이어 상에 위치시킨다(단계 630).When the image conversion is completed, the page creator 40 positions the SWF image on the image layer such that the SWF image position on the image layer is the same as the source image I2 position on page-1 as shown in FIG. 630).

소스 이미지(I2)에 대한 변환이 완료되면, 페이지 작성부(40)는 나머지 다른 소스 이미지(I1)에 대해서도 상술한 단계 710 내지 단계 730의 과정을 반복 수행함으로써 페이지-1에 대한 이미지 레이어 생성을 완료한다(단계 740).When the conversion to the source image I2 is completed, the page creator 40 repeats the above steps 710 to 730 for the other source images I1 to generate the image layer for the page-1. Complete (step 740).

상술된 실시예에서는 설명의 편의를 위해 HTML 파일의 컨텐츠들이 단일 프레임으로만 표시되는 경우에 대해서만 설명하였다.In the above-described embodiment, only the case where the contents of the HTML file are displayed in a single frame for convenience of description.

그러나 만약에 HTML 파일이 각각 서로 다른 배경색과 배경 이미지 및 컨텐츠(글자와 이미지)를 갖는 복수의 프레임들로 표시되는 경우에는, 먼저 각 프레임에 대해 상술한 파일 변환 방법을 적용하여 각각의 프레임들을 플래시 이미지로 변환한다. 다음에, 변환된 각 플래시 이미지들을 서로 다른 레이어로 구성한 후 그 레이어들을 일정 순서로 결합시킴으로써 이들을 하나의 플래시 이미지로 만들 수 있다.However, if the HTML file is displayed with a plurality of frames each having a different background color, background image, and content (letters and images), the frames are first flashed by applying the above-described file conversion method for each frame. Convert to an image. Next, each converted flash image may be composed of different layers, and then the layers may be combined in a predetermined order to make them into a single flash image.

상술한 파일 변환 장치는 바람직하게는 이동통신단말기에서 SMS(Short Message Service), MMS(Multimedia Message Service), 및 이메일 서비스 등을 이용하는데 적용되어 해당 서비스의 컨텐츠를 플래시 이미지 형태로 송수신하게 된다.The above-described file conversion apparatus is preferably used to use a short message service (SMS), a multimedia message service (MMS), an e-mail service, etc. in a mobile communication terminal to transmit and receive contents of the corresponding service in the form of a flash image.

또한, 본 발명은 주로 이동통신단말기에 적용되므로 상술한 바와 같이 생성된 플래시 이미지를 이동통신단말기에서 많이 사용되고 있는 VIS(Vector Image Solution) 또는 DMF(Digital Mobile Frash) 포맷 이미지로 변환하는 것도 가능하다. 이러한 플래시 이미지를 VIS 또는 DMF 포맷으로 변환하는 것은 기존의 통상적 인 제작 도구를 이용하여 제작이 가능하므로 이에 대한 상세한 설명은 생략한다.In addition, since the present invention is mainly applied to a mobile communication terminal, it is also possible to convert the flash image generated as described above into a VIS (Vector Image Solution) or DMF (Digital Mobile Frash) format image which is widely used in a mobile communication terminal. The conversion of the flash image to the VIS or DMF format can be made using a conventional production tool, and thus a detailed description thereof will be omitted.

상술한 바와 같이, 본 발명의 파일 변환 장치는 멀티미디어 데이터가 포함된 HTML 파일을 단일한 형식의 플래시 이미지로 변환하여 송신함으로써 기존에 멀티미디어 데이터가 포함된 HTML 파일을 송수신시 멀티미디어 데이터가 처리되지 못하여 그 내용이 정확히 전달되지 못하는 문제를 해결할 수 있게 된다.As described above, the file conversion apparatus of the present invention converts an HTML file containing multimedia data into a single format flash image and transmits the multimedia file so that the multimedia data cannot be processed when the HTML file including the multimedia data is transmitted and received. It can solve the problem of the content not being delivered correctly.

Claims (18)

HTML 태그를 이용하여 HTML 파일에서 배경 정보를 추출하는 배경 추출부;A background extracting unit extracting background information from an HTML file using an HTML tag; HTML 태그를 이용하여 상기 HTML 파일에서 컨텐츠 정보를 추출하고, 추출된 상기 컨텐츠 정보를 이용하여 상기 컨텐츠들에 대한 구조 정보를 생성하는 컨텐츠 추출부;A content extraction unit which extracts content information from the HTML file by using an HTML tag and generates structure information about the content by using the extracted content information; 상기 구조 정보에 따라 상기 컨텐츠가 화면에 표시될 때 차지하는 영역의 전체 사이즈가 기 설정된 사이즈보다 큰 경우 상기 컨텐츠를 상기 기 설정된 사이즈의 페이지 단위로 구분하고, 각 페이지별로 해당 페이지에 포함된 상기 컨텐츠 및 상기 배경 정보를 이용하여 플래시 페이지들을 작성하는 페이지 작성부; 및If the total size of the area occupied when the content is displayed on the screen is larger than a preset size according to the structure information, the content is divided into page units of the preset size, and the content included in the corresponding page for each page and A page creating unit which creates flash pages using the background information; And 상기 플래시 페이지들을 플래시 이미지의 프레임에 삽입하여 플래시 이미지를 생성하는 플래시 이미지 생성부를 구비하는 파일 변환 장치.And a flash image generator which inserts the flash pages into a frame of a flash image to generate a flash image. 제 1항에 있어서, 상기 배경 추출부는The method of claim 1, wherein the background extracting unit 상기 HTML 파일에서 배경색, 배경 이미지 및 배경 사운드에 대한 정보를 추출하는 것을 특징으로 하는 파일 변환 장치.And extracting information on a background color, a background image, and a background sound from the HTML file. 제 1항에 있어서, 상기 컨텐츠 추출부는The method of claim 1, wherein the content extraction unit 상기 HTML 파일에서 글자 정보와 이미지 정보를 추출하여 표시 글자와 이미지가 화면에 실제 표시되는 구조에 대한 구조 정보를 생성하는 것을 특징으로 하는 파일 변환 장치.And extracting text information and image information from the HTML file to generate structure information on a structure in which display text and an image are actually displayed on a screen. 제 3항에 있어서, 상기 컨텐츠 추출부는The method of claim 3, wherein the content extraction unit 상기 표시 글자와 이미지를 라인별로 구분하며 동일한 라인에 글자와 이미지가 모두 포함된 경우 해당 라인을 다시 글자 부분과 이미지 부분으로 구분하여 각 부분들을 블럭화하는 것을 특징으로 하는 파일 변환 장치.And dividing the display text and the image by line, and if the same line includes both the text and the image, dividing the corresponding line into a character portion and an image portion to block each portion. 제 4항에 있어서, 상기 페이지 작성부는The apparatus of claim 4, wherein the page creating unit 상기 블럭화된 부분들이 화면에 표시될 때 차지하는 영역의 전체 사이즈가 상기 기 설정된 사이즈보다 큰 경우 상기 블럭화된 부분들을 상기 기 설정된 사이즈의 페이지 단위로 구분하는 것을 특징으로 하는 파일 변환 장치.And when the total size of the area occupied when the blocked portions are displayed on the screen is larger than the preset size, dividing the blocked portions into page units of the preset size. 제 1항에 있어서, 상기 페이지 작성부는The method of claim 1, wherein the page creation unit 상기 페이지에 포함된 표시 글자와 이미지 및 상기 배경 정보로 추출된 배경색, 배경 이미지, 배경 사운드로 각각 글자 레이어, 이미지 레이어, 배경색 레이어, 배경 이미지 레이어 및 배경 사운드 레이어를 구성한 후 그 레이어들을 결합시켜 상기 플래시 페이지를 작성하는 것을 특징으로 하는 파일 변환 장치.The text layer, the image layer, the background color layer, the background image layer, and the background sound layer are respectively composed of the display text and the image included in the page and the background color, the background image, and the background sound extracted from the background information. A file conversion apparatus, comprising creating a flash page. 제 6항에 있어서, 상기 페이지 작성부는The method of claim 6, wherein the page creation unit 상기 페이지의 수가 복수인 경우 페이지 간 이동을 위한 페이지 버튼 레이어 를 추가로 생성하여 각 플래시 페이지에 삽입시키는 것을 특징으로 하는 파일 변환 장치.And a plurality of page button layers for moving between pages when the number of pages is plural and inserting them into each flash page. 제 6항에 있어서, 상기 페이지 작성부는The method of claim 6, wherein the page creation unit 상기 이미지 레이어 작성시, 상기 페이지에 포함된 소스 이미지를 플래시 형식의 SWF 이미지로 변환한 후 변환된 SWF 이미지의 위치가 상기 페이지 상에서의 상기 소스 이미지 위치와 같아지도록 상기 SWF 이미지를 상기 이미지 레이어 상에 위치시키는 것을 특징으로 하는 파일 변환 장치.When creating the image layer, convert the source image included in the page into a SWF file in Flash format, and then place the SWF image on the image layer so that the position of the converted SWF image is the same as the source image position on the page. And converting the file. 제 8항에 있어서, 상기 페이지 작성부는The method of claim 8, wherein the page creation unit 상기 소스 이미지가 애니메이션 GIF 이미지인 경우, 상기 애니메이션 GIF 이미지를 구성하는 이미지들 및 그 이미지들 간의 시간 정보를 추출하고 추출된 각 이미지들을 플래시 생성을 위한 프레임들에 저장한 후 저장된 프레임들이 상기 시간 정보에 따라 표시되도록 하는 것을 특징으로 하는 파일 변환 장치.When the source image is an animated GIF image, the images constituting the animated GIF image and time information between the images are extracted, and the extracted frames are stored in frames for flash generation, and the stored frames are stored in the time information. File conversion apparatus characterized in that to be displayed according to. HTML 파일에서 배경 정보를 추출하는 제 1 단계;A first step of extracting background information from an HTML file; 상기 HTML 파일에서 컨텐츠 정보를 추출하여 컨텐츠가 화면에 표시될 때 차지하는 영역의 전체 사이즈가 기 설정된 사이즈보다 큰 경우 상기 컨텐츠를 상기 기 설정된 사이즈의 페이지 단위로 구분하는 제 2 단계;A second step of dividing the content information from the HTML file and dividing the content into page units of the preset size if the total size of the area occupied when the contents are displayed on the screen is larger than the preset size; 상기 구분된 각 페이지별로 해당 페이지에 포함된 상기 컨텐츠 및 상기 배경 정보를 이용하여 플래시 페이지들을 작성하는 제 3 단계; 및Creating flash pages using the contents and the background information included in the corresponding page for each divided page; And 상기 플래시 페이지들을 결합시켜 플래시 이미지를 생성하는 제 4 단계를 포함하는 HTML 파일을 플래시 이미지로 변환하는 방법.And a fourth step of combining the flash pages to generate a flash image. 제 10항에 있어서, 상기 제 1 단계는The method of claim 10, wherein the first step HTML 파일에서 배경색, 배경 이미지 및 배경 사운드 정보를 추출하는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.A method of converting an HTML file into a flash image, comprising extracting background color, background image, and background sound information from the HTML file. 제 10항에 있어서, 상기 제 2 단계는The method of claim 10, wherein the second step 상기 컨텐츠를 글자 부분과 이미지 부분으로 구분하여 블럭화한 후 블럭화된 글자 부분과 이미지 부분이 화면에 표시될 때 차지하는 영역의 전체 사이즈를 상기 기 설정된 사이즈와 비교하여 그 크기를 판단하는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.HTML is characterized in that the content is divided into a character part and an image part and then blocked, and then the size of the area occupied when the blocked character part and the image part is displayed on the screen is compared with the preset size to determine the size. How to convert a file to a flash image. 제 12항에 있어서, 상기 제 2 단계는13. The method of claim 12, wherein the second step is 상기 컨텐츠의 글자와 이미지를 라인별로 구분하며 동일한 라인에 글자와 이미지가 모두 포함된 경우 해당 라인을 다시 글자 부분과 이미지 부분으로 구분하여 각 부분들을 블럭화하는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.If the text and image of the content are separated by lines, and if both the letters and images are included in the same line, the HTML file is converted into a flash image. How to. 제 10항에 있어서, 상기 제 3 단계는The method of claim 10, wherein the third step 상기 컨텐츠의 글자와 이미지 및 상기 배경 정보로 추출된 배경색, 배경 이미지, 배경 사운드로 각각 글자 레이어, 이미지 레이어, 배경색 레이어, 배경 이미지 레이어 및 배경 사운드 레이어를 구성한 후 그 레이어들을 결합시켜 상기 플래시 페이지를 작성하는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.The flash page is formed by combining a text layer, an image layer, a background color layer, a background image layer, and a background sound layer with the background color, the background image, and the background sound extracted from the text and image of the content and the background information, respectively. A method of converting an HTML file into a flash image, characterized by writing. 제 14항에 있어서, 상기 이미지 레이어 구성은15. The method of claim 14, wherein the image layer configuration 상기 페이지에 포함된 소스 이미지를 플래시 형식의 SWF 이미지로 변환한 후 변환된 SWF 이미지의 위치가 상기 페이지 상에서의 상기 소스 이미지 위치와 같아지도록 상기 SWF 이미지를 상기 이미지 레이어 상에 위치시키는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.Converting the source image included in the page into a SWF file in Flash format, and then positioning the SWF image on the image layer such that the position of the converted SWF image is the same as the position of the source image on the page. How to convert HTML file to Flash image. 제 15항에 있어서, 상기 이미지의 변환은The method of claim 15, wherein the transformation of the image 상기 컨텐츠의 이미지가 애니메이션 GIF 이미지인 경우, 상기 애니메이션 GIF 이미지를 구성하는 이미지들 및 그 이미지들 간의 시간 정보를 추출하고 추출된 각 이미지들을 플래시 생성을 위한 프레임들에 저장한 후 저장된 프레임들이 상기 시간 정보에 따라 표시되도록 SWF 이미지로 변환하여 상기 컨텐츠의 이미지와 같은 위치가 되도록 상기 이미지 레이어에 위치시키는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.When the image of the content is an animated GIF image, the images constituting the animated GIF image and time information between the images are extracted, and the extracted frames are stored in frames for flash generation, and the stored frames are stored in the time. Converting an HTML file into a flash image, converting the image into a SWF image so that the image is displayed according to the information, and placing the same image on the image layer to be in the same position as the image of the content. 제 10항에 있어서,The method of claim 10, 상기 플래시 이미지를 VIS(Vector Image Solution) 포맷 이미지로 변환하는 제 5 단계를 더 포함하는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.And converting the flash image into a Vector Image Solution (VIS) format image. 제 10항에 있어서,The method of claim 10, 상기 플래시 이미지를 DMF(Digital Mobile Frash) 포맷 이미지로 변환하는 제 5 단계를 더 포함하는 것을 특징으로 하는 HTML 파일을 플래시 이미지로 변환하는 방법.And converting the flash image into a digital mobile crash (DMF) format image.
KR1020070051590A 2007-05-28 2007-05-28 Method for converting html file to flash image KR100814079B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020070051590A KR100814079B1 (en) 2007-05-28 2007-05-28 Method for converting html file to flash image
JP2007179235A JP4606439B2 (en) 2007-05-28 2007-07-09 File conversion apparatus and method for converting HTML file into flash image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070051590A KR100814079B1 (en) 2007-05-28 2007-05-28 Method for converting html file to flash image

Publications (1)

Publication Number Publication Date
KR100814079B1 true KR100814079B1 (en) 2008-03-14

Family

ID=39398879

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070051590A KR100814079B1 (en) 2007-05-28 2007-05-28 Method for converting html file to flash image

Country Status (2)

Country Link
JP (1) JP4606439B2 (en)
KR (1) KR100814079B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2459200A (en) * 2008-04-18 2009-10-21 Boeing Co Converting documents and identifying structure for automatically extracting data
KR101051639B1 (en) 2009-08-21 2011-07-26 조광현 How to Implement Animation with Text on the Web
CN103176986A (en) * 2011-12-20 2013-06-26 上海博泰悦臻电子设备制造有限公司 Method for converting flash animation data into hypertext markup language (HTML) 5 data
KR101621530B1 (en) 2008-12-08 2016-05-17 주식회사 엘지유플러스 Method and System for Providing Flash Contents via Mobile Network and Method and Apparatus for Converting Flash Contents
KR20190092354A (en) * 2019-07-29 2019-08-07 에스케이텔레콤 주식회사 Method for communicating using image in messenger, apparatus and system for the same

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011243146A (en) * 2010-05-21 2011-12-01 Fujifilm Corp Relay server and its program, web site browsing system, web site browsing method, and application program
JP5311315B2 (en) * 2011-10-14 2013-10-09 ネオス株式会社 Mail system and equipment and program used therefor
CN104598577B (en) * 2015-01-14 2017-09-15 晶赞广告(上海)有限公司 A kind of extracting method of Web page text
CN107767838B (en) 2016-08-16 2020-06-02 北京小米移动软件有限公司 Color gamut mapping method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205432B1 (en) * 1998-06-05 2001-03-20 Creative Internet Concepts, Llc Background advertising system
US20010056460A1 (en) * 2000-04-24 2001-12-27 Ranjit Sahota Method and system for transforming content for execution on multiple platforms
KR20020088962A (en) * 2001-05-22 2002-11-29 주식회사 사이컴 System and method for remote lecture using motion pictures on the internet
KR20030025768A (en) * 2001-09-22 2003-03-29 (주)리얼미디어코리아 A SYSTEM AND METHOD FOR PROVIDING A WIRE and WIRELESS INTERNET CREATIVE SERVICE
KR20030025771A (en) * 2001-09-21 2003-03-29 주식회사 자이닉스 System for providing educational contents on Internet and method thereof
JP2003108106A (en) * 2001-09-28 2003-04-11 Victor Co Of Japan Ltd Multimedia presentation system
US20040010753A1 (en) * 2002-07-11 2004-01-15 International Business Machines Corporation Converting markup language files
KR20040006882A (en) * 2002-07-16 2004-01-24 벨록스소프트(주) User interface system for supporting multi-theme of mobile phone
KR20060013336A (en) * 2005-03-30 2006-02-09 주식회사 위피아 System and method for servicing multi-page message in web to phone type

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3851110B2 (en) * 2001-05-18 2006-11-29 株式会社Ksk Content provision method
JP2003271508A (en) * 2002-03-14 2003-09-26 Ntt Comware Corp Contents conversion system for portable terminal and contents conversion method
JPWO2006103830A1 (en) * 2005-03-29 2008-09-04 松下電器産業株式会社 Display processing apparatus and display processing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205432B1 (en) * 1998-06-05 2001-03-20 Creative Internet Concepts, Llc Background advertising system
US20010056460A1 (en) * 2000-04-24 2001-12-27 Ranjit Sahota Method and system for transforming content for execution on multiple platforms
KR20020088962A (en) * 2001-05-22 2002-11-29 주식회사 사이컴 System and method for remote lecture using motion pictures on the internet
KR20030025771A (en) * 2001-09-21 2003-03-29 주식회사 자이닉스 System for providing educational contents on Internet and method thereof
KR20030025768A (en) * 2001-09-22 2003-03-29 (주)리얼미디어코리아 A SYSTEM AND METHOD FOR PROVIDING A WIRE and WIRELESS INTERNET CREATIVE SERVICE
JP2003108106A (en) * 2001-09-28 2003-04-11 Victor Co Of Japan Ltd Multimedia presentation system
US20040010753A1 (en) * 2002-07-11 2004-01-15 International Business Machines Corporation Converting markup language files
KR20040006882A (en) * 2002-07-16 2004-01-24 벨록스소프트(주) User interface system for supporting multi-theme of mobile phone
KR20060013336A (en) * 2005-03-30 2006-02-09 주식회사 위피아 System and method for servicing multi-page message in web to phone type

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2459200A (en) * 2008-04-18 2009-10-21 Boeing Co Converting documents and identifying structure for automatically extracting data
US8041695B2 (en) 2008-04-18 2011-10-18 The Boeing Company Automatically extracting data from semi-structured documents
US8180753B1 (en) 2008-04-18 2012-05-15 The Boeing Company Automatically extracting data from semi-structured documents
KR101621530B1 (en) 2008-12-08 2016-05-17 주식회사 엘지유플러스 Method and System for Providing Flash Contents via Mobile Network and Method and Apparatus for Converting Flash Contents
KR101051639B1 (en) 2009-08-21 2011-07-26 조광현 How to Implement Animation with Text on the Web
CN103176986A (en) * 2011-12-20 2013-06-26 上海博泰悦臻电子设备制造有限公司 Method for converting flash animation data into hypertext markup language (HTML) 5 data
CN103176986B (en) * 2011-12-20 2017-05-24 上海博泰悦臻电子设备制造有限公司 Method for converting flash animation data into hypertext markup language (HTML) 5 data
KR20190092354A (en) * 2019-07-29 2019-08-07 에스케이텔레콤 주식회사 Method for communicating using image in messenger, apparatus and system for the same
KR102136793B1 (en) * 2019-07-29 2020-07-22 에스케이텔레콤 주식회사 Method for communicating using image in messenger, apparatus and system for the same

Also Published As

Publication number Publication date
JP4606439B2 (en) 2011-01-05
JP2008293462A (en) 2008-12-04

Similar Documents

Publication Publication Date Title
KR100814079B1 (en) Method for converting html file to flash image
KR100714700B1 (en) Mobile communication terminal and method for outputting a short message thereof
AU2007346312B2 (en) A communication network and devices for text to speech and text to facial animation conversion
US7308479B2 (en) Mail server, program and mobile terminal synthesizing animation images of selected animation character and feeling expression information
JP5180230B2 (en) Mobile communication terminal, message service server, system, and service providing method for providing message service including font data
CN108270926B (en) Apparatus and method for transmitting and receiving handwriting animation message
US7702996B2 (en) Apparatus and method for converting multimedia contents
CN107832038A (en) The implementation method and device of Component Gallery
US7162197B2 (en) Picture book production system, server for producing picture book, and recording medium
US20160328389A1 (en) System for supporting multiple languages in webtoons
KR101010490B1 (en) Data processing device
CN105956133B (en) Method and device for displaying file on intelligent terminal
KR101176694B1 (en) Document processor and re-aggregator
CN114390220A (en) Animation video generation method and related device
KR100698324B1 (en) Device and method for forwarding WAP contents using MMS message
CN117235019B (en) Method for generating new readable file by multi-file extraction combination
JP2005182735A (en) Document data display device, cellular phone device, document data display method, document data display program, computer-readable recording medium with it recorded, document data printer, document data output device, document data output method, document data output program, and computer-readable recording medium with it recorded
CN105897552A (en) Method for generating an electronic message on an electronic mail client system and communication device
US20010015731A1 (en) Portable radio communication terminal and expression style processing method therefor
JP2008523759A (en) Method and system for synthesizing video messages
CN104866251A (en) Apparatus and method for information providing
CN113382086A (en) Document transmission method and device, electronic equipment and computer program product
KR101151579B1 (en) Method for Multi-Media Signature in Mobile Communication Terminal
KR100658055B1 (en) Method for service flash message in mobile phone
KR100705165B1 (en) Mobile communication terminal and method for generating multimedia message using the same

Legal Events

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

Payment date: 20110310

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee