KR20070001765A - Memory saving character display system and display method thereof - Google Patents

Memory saving character display system and display method thereof Download PDF

Info

Publication number
KR20070001765A
KR20070001765A KR1020050057404A KR20050057404A KR20070001765A KR 20070001765 A KR20070001765 A KR 20070001765A KR 1020050057404 A KR1020050057404 A KR 1020050057404A KR 20050057404 A KR20050057404 A KR 20050057404A KR 20070001765 A KR20070001765 A KR 20070001765A
Authority
KR
South Korea
Prior art keywords
character
information
unit
display
memory
Prior art date
Application number
KR1020050057404A
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 KR1020050057404A priority Critical patent/KR20070001765A/en
Publication of KR20070001765A publication Critical patent/KR20070001765A/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/222Control of the character-code memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Abstract

A system and a method for display characters in a memory saving type are provided to maximally restrict memory usage and use diverse fonts/character sizes by generating unit character information combining property information and bitmap information of a character, and managing/displaying the character with the property information and the bitmap information after applying the unit character information to an HMI(Human Machine Interface). An editor generates the character property including a character code and the bitmap information of the character as one character unit by editing the characters through diverse font/size settings. A display part receives and stores character display information comprising the generated character unit information to a memory, and display the needed character information to a display unit by using the character property and the bitmap information included in the character unit information in case that the needed character information is displayed. The editor and the display part respectively include a communicator for interchanging data including the character unit information.

Description

메모리 절약형 문자 표시 시스템 및 그 표시 방법{MEMORY SAVING CHARACTER DISPLAY SYSTEM AND DISPLAY METHOD THEREOF}Memory-saving character display system and its display method {MEMORY SAVING CHARACTER DISPLAY SYSTEM AND DISPLAY METHOD THEREOF}

도 1은 일반적인 인간-기계 인터페이스의 문자 표시부 및 이를 위한 에디터부로 이루어진 문자 표시 시스템 구성도.1 is a block diagram of a character display system including a character display unit and an editor unit for a general human-machine interface;

도 2는 일반적인 문자 표시 방식을 설명하는 개념도.2 is a conceptual diagram illustrating a general character display method.

도 3은 본 발명 일 실시예의 문자 단위 데이터 구성도 및 예시도.Figure 3 is a block diagram and an example of the character unit data of an embodiment of the present invention.

도 4는 본 발명 일 실시예의 동작 과정을 보인 순서도.Figure 4 is a flow chart showing the operation of the embodiment of the present invention.

*** 도면의 주요 부분에 대한 부호의 설명 ****** Explanation of symbols for the main parts of the drawing ***

10: HMI 표시부 11: 표시창10: HMI Display 11: Display Window

12: 제어부 13: 메모리12: control unit 13: memory

14: 통신부 20: 에디터부14: communication unit 20: editor unit

21: 편집부 22: 통신부21: editorial unit 22: communication unit

30: 단위 문자 정보 31: 폰트 속성 부분30: unit character information 31: font attribute part

32: 비트맵 데이터 부분32: Bitmap data portion

본 발명은 메모리 절약형 문자 표시 시스템 및 그 표시 방법에 관한 것으로, 특히 별도의 트루타입 폰트 정보를 모두 저장해 두지 않고, 문자 코드를 포함하는 폰트 속성 정보와 상기 코드에 대응하는 소정 폰트의 비트맵 정보 조합으로 새로운 단위 문자 정보를 생성하도록 하여 이 정보를 문자 관련 처리에 그대로 이용하면서도 실제 표시창에 표시할 경우 사용할 문자의 비트맵 정보로도 이용할 수 있게 한 메모리 절약형 문자 표시 시스템 및 그 표시 방법에 관한 것이다.The present invention relates to a memory-saving character display system and a display method thereof. In particular, a combination of font attribute information including a character code and bitmap information of a predetermined font corresponding to the code without storing all of the separate TrueType font information is stored. The present invention relates to a memory-saving character display system and a method of displaying the same, wherein new unit character information is generated so that this information can be used as a character-related processing but also used as bitmap information of a character to be used when the actual display window is displayed.

다양한 전자 장치들이 방대한 영역에 걸쳐 사용됨에 따라 사람과 장치들 사이를 인터페이스 해 줄 수 있는 다양한 인터페이스 장치들 또한 개발되었다. 이러한 장치들에는 사용자가 소정의 지시를 전자 장치들에게 제공하기 위한 입력 장치와 입력 사항이나 장치의 동작 상태를 확인할 수 있는 표시 장치로 크게 구분될 수 있는데, 이러한 장치들 중 표시 장치는 다양한 표시 수단들의 급속한 발전에 힘입어 다양하고 화려하게 변화되어 왔다. As various electronic devices are used over a wide area, various interface devices have been developed that can interface between people and devices. Such devices may be broadly classified into input devices for providing a predetermined instruction to electronic devices and display devices for checking an input item or an operation state of the devices. Thanks to their rapid development, they have been changed in various and splendid ways.

전자 장치들의 동작 상황이나 사용자의 입력 내용을 표시하는 표시부는 간단한 불빛을 제공하는 전구, 발광 소자들을 거쳐 이들을 응용한 그래픽 발광 소자 모듈이 사용되었으며, 최근에는 엘씨디(LCD)나 티에프티(TFT)와 같이 문자 표현이 가능한 표시 수단들도 이용되고 있다. 또한, 고급 장치의 경우 각종 모니터(CRT, LED, TFT 등)가 활용되기도 한다. The display unit for displaying the operation state of the electronic devices or the input contents of the user is a light emitting device that provides a simple light, and a graphic light emitting device module using the light emitting device is used. In recent years, the LCD and the TFT have been used. Similarly, display means capable of representing characters are also used. In the case of high-end devices, various monitors (CRT, LED, TFT, etc.) may be utilized.

그러나, 산업용 장비, 가전 제품들에는 작고 표현 성능이 뛰어난 엘씨디나 소형 TFT 모니터가 적용되는 경우가 많으며, 이러한 표시 수단들은 각종 상황을 사용자가 인식할 수 있도록 문자를 표현할 수 있는 기능을 갖추고 있다. However, small and excellent LCD or small TFT monitors are often applied to industrial equipment and home appliances, and these display means have a function of expressing characters so that users can recognize various situations.

상기 사람과 기계 사이의 인터페이스를 통칭하여 인간-기계 인터페이스(Human-Machine Interface, 이하 HMI라 칭함)라 하는데, 이들의 성능은 실제 전자 장치의 성능에 비견될 만큼 중요한 요소가 된지 오래이다. The interface between the human and the machine is collectively referred to as a human-machine interface (HMI), and their performance has long been an important factor comparable to that of an actual electronic device.

이 중에서 사용자에게 문자를 제공할 수 있는 HMI 표시부는 소정의 문자 표시용 메모리를 사용하여 다양한 문자들을 제공하게 되는데, 일상적으로 사용하고 있는 컴퓨터(PC)와의 호환성 유지를 위해 컴퓨터에서 사용되는 폰트 및 문자 코드를 그대로 활용하고 있다. 하지만, HMI의 적용 대상에 따라서는 대단히 제한적인 메모리를 이용하여 기본 아스키(ASCII) 코드 문자 뿐만 아니라 한글, 일본어, 중국어 등과 같은 2바이트 문자까지도 표현해야 할 경우가 많으며, 실제 HMI의 작동 프로그램이나 운영 프로그램을 설계하고 통신을 이용하여 표시할 문자 정보를 제공해 주는 컴퓨터와의 호환을 위해서 컴퓨터에서 인식할 수 있는 범용 폰트와 문자 코드를 지원해야 한다. 그로인해 메모리가 작은 HMI에서도 컴퓨터용 폰트 데이터를 메모리에 저장해 두고 사용하는 것이 일반적이다. 하지만 이러한 컴퓨터용 폰트 데이터는 그 설계 자체가 비교적 큰 저장 영역(하드 디스크)에서 구동될 수 있도록 한 것이므로 사용 가능한 모든 문자들을 하나의 폰트에 포함시킨 경우가 많아 그 용량이 커질 수 밖에 없다. 예를 들어, 마이크로소프트사의 윈도우즈 운영체제에서 사용되는 트루타입 폰트의 경우, 그 크기가 수메가 바이트 정도로 크기 때문에 비용을 줄이고 크기를 줄여야 하는 장비나 가전용 HMI에는 하나의 폰트만 저장한다 할지라도 상당히 큰 메모리 영역이 필요하게 된다. 즉, 일반적인 HMI 표시부의 경우에는 윈도우즈 폰트를 다운로드 받아 이를 그대로 사용하며, 메모리 한계로 인해 다른 폰트를 사용하고 싶다면 이전에 다운로드한 폰트를 제거하고, 새로운 폰트를 다운로드하여 이용하게 된다.Among them, the HMI display unit that can provide characters to the user provides various characters by using a predetermined character display memory, and fonts and characters used in the computer to maintain compatibility with the computer (PC) used in everyday life. The code is used as is. However, depending on the application of HMI, it is often necessary to express not only basic ASCII code characters but also double-byte characters such as Korean, Japanese, and Chinese using very limited memory. For compatibility with computers that design programs and provide character information to be displayed using communications, they must support universal fonts and character codes recognizable by the computer. As a result, it is common for computer font data to be stored in memory and used in HMIs with small memory. However, since the computer font data is designed to be operated in a relatively large storage area (hard disk), all the available characters are often included in a single font, and thus the capacity thereof becomes large. For example, TrueType fonts used by Microsoft's Windows operating system can be quite large, even if only one font is stored on a device or home appliance HMI that needs to be reduced in cost and size because it is several megabytes in size. A memory area is needed. That is, in case of general HMI display unit, Windows font is downloaded and used as it is. If you want to use other fonts due to memory limitation, the previously downloaded font is removed and new font is downloaded and used.

만일, 표시창(11)의 표시 성능이 트루타입에 의한 클리어 표시가 불가능한 수단(흑백, 낮은 해상도의 그레이 스케일인 경우)인 경우에는 비트맵 정보로 이루어진 트루타입 폰트에서 고정된 크기의 비트맵 정보를 추출한 비트맵 폰트(한글의 경우 완성형 비트맵 폰트)를 저장하기도 한다. 그러나, 이 역시 수천개의 코드에 1:1로 대응하는 비트맵 폰트 정보를 저장해야 하므로 그 크기 역시 메가바이트 단위가 되며, 이러한 비트맵 폰트를 별도로 작성해야만 한다. 이렇게 폰트가 차지하는 메모리 영역이 방대하기 때문에 폰트 저장 기능이 전체 HMI의 비용을 높이는 중요한 요소가 된다.If the display performance of the display window 11 is a means in which clear display by True Type is impossible (when it is black and white or gray scale of a low resolution), bitmap information having a fixed size is used in a TrueType font composed of bitmap information. It also stores extracted bitmap fonts (complete bitmap fonts in Korean). However, this also needs to store bitmap font information corresponding to 1: 1 in thousands of codes, so the size is also in megabytes, and such bitmap fonts must be created separately. Because of the huge memory area occupied by fonts, font storage becomes an important factor that increases the overall HMI cost.

도 1은 일반적인 HMI 인터페이스 중 HMI 표시부(10)와 해당 HMI 표시부(10)에 표현될 문자 정보를 제공하는 에디터부(20)의 구성을 보인 것이다. FIG. 1 illustrates a configuration of an editor unit 20 that provides text information to be displayed on the HMI display unit 10 and the HMI display unit 10 of a general HMI interface.

HMI 표시부(10)는 간단히, 폰트 데이터를 저장하며 표시할 문자 및 문자열의 코드 정보가 저장되는 메모리(13)와, 상기 메모리(13)에 저장된 폰트의 비트맵 정보를 물리적으로 표시하는 표시창(11)과, 외부에서 제공되는 문자 코드나 바이너리 데이터를 수신하는 통신부(14)와, 상기 통신부(14)를 통해 제공받은 정보를 처리하여 상기 메모리(13)에 저장하거나, 표시할 내용을 메모리(13)에서 획득하여 상기 표시창(11)에 표시하도록 하는 제어부(12)를 포함한다. The HMI display unit 10 is simply a memory 13 for storing font data and storing code information of characters and character strings to be displayed, and a display window 11 for physically displaying bitmap information of fonts stored in the memory 13. ), A communication unit 14 for receiving an externally provided character code or binary data, and the information received through the communication unit 14 to process the information stored in the memory 13 or display the contents to be displayed. And a control unit 12 to display the display window 11 on the display window 11.

그리고, 상기 HMI 표시부(10)가 표시할 문자 정보들을 편집하여 문자 코드를 생성하고, 각종 제어 정보들이나 구동 정보들을 바이너리 상태로 생성하는 편집부 (21) 및 이 정보들을 상기 HMI 표시부(10)의 통신부(14)에 전송하는 통신부(22)를 포함하는 에디터부(20)가 상기 HMI 표시부(10)에 연결된다. 상기 에디터부(20)는 컴퓨터, 노트북, 개인 정보 단말(PDA), 전용 편집 장치등일 수 있다. 하지만, 범용 폰트 및 문자 코드를 이용하여 문자 편집이 가능한 장비라면 에디터부(20)로 사용될 수 있다는 점에서 사용 가능한 장치들의 종류는 더 확대될 수 있다.The editing unit 21 generates a character code by editing the character information to be displayed by the HMI display unit 10 and generates various control information or driving information in a binary state, and the communication unit of the HMI display unit 10. An editor unit 20 including a communication unit 22 for transmitting to 14 is connected to the HMI display unit 10. The editor unit 20 may be a computer, a notebook computer, a personal digital assistant (PDA), a dedicated editing device, or the like. However, the type of devices that can be used as the editor 20 can be further expanded if the device is capable of editing characters using a general font and a character code.

도 2는 상기 도 1의 HMI 표시부(10)가 소정의 문자를 표시창(11)에 표시하는 구체적인 과정을 설명하기 위한 개념도로서, 도시한 바와 같이 메모리(13)를 폰트가 저장된 폰트 정보 영역과, 표시할 내용이 저장된 텍스트 문자 코드 정보 영역으로 구분하여 설명한다. 이는 실제로도 물리적 메모리 구분이나 논리적 메모리 영역 구별에 의해 서로 구분되어 있다. FIG. 2 is a conceptual diagram illustrating a specific process of displaying predetermined characters on the display window 11 by the HMI display unit 10 of FIG. 1, as shown in FIG. 2, a font information area in which a font is stored; The text to be displayed is divided and described into text character code information area. In practice, they are separated from each other by physical or logical memory areas.

도시된 숫자들은 동작 순서를 나타낸 것이다. 먼저, 메모리 영역 중 표시할 정보를 텍스트 문자 코드 정보 영역에서 획득한다. 상기 영역에 저장된 내용은 표시에 관련된 정보와 실제 문자들의 문자 코드들로 이루어져 있으며, 경우에 따라서는 실제 문자 코드들로만 이루어진 문자열 정보들일 수도 있다. The figures shown represent the sequence of operations. First, information to be displayed in the memory area is obtained from the text character code information area. The content stored in the area is composed of information related to the display and character codes of actual characters, and in some cases, may be string information composed only of actual character codes.

이렇게 얻어진 정보들 중에서 문자 코드 정보(2바이트 정보)를 실제 표시창에 표시하기 위해서, 해당 문자 코드에 일치하는 폰트 데이터 정보를 상기 폰트 정보 영역에서 검출한다. 윈도우즈 범용 폰트는 문자 코드와 폰트 데이터가 1:1로 대응하고 있으므로, 간단한 메모리 위치 계산만으로 해당 코드의 시작 주소를 얻을 수 있으며, 그 위치에서 폰트 데이터 크기만큼의 데이터를 획득하면 해당 문자 코드를 실제 표현할 폰트 데이터 정보를 얻을 수 있다. In order to display character code information (two-byte information) among the information thus obtained on an actual display window, font data information corresponding to the character code is detected in the font information area. In Windows general-purpose font, character code and font data correspond to 1: 1, so you can get the start address of the code by simple memory location calculation. Get font data information to display.

이렇게 얻어진 폰트 데이터를 상기 표시창에 맞추어 표시하면 사용자가 확인할 수 있는 문자가 표시창에 나타나게 된다. When the font data thus obtained is displayed in accordance with the display window, characters that can be checked by the user are displayed on the display window.

그러나, 이를 위해서는 반드시 상기 폰트 정보 영역에 수천자에 달하는 표현 가능한 모든 폰트 데이터들을 구비하고 있어야 하므로, 비교적 표현할 내용이 작거나 제한된 문자들만 표시하는 HMI에서는 낭비되는 메모리가 많으며, 다양한 폰트의 사용이 어렵고, 비트맵 정보로 구성된 폰트 정보를 가진 경우에는 폰트의 크기나 방향등을 조절하기도 어려운 문제점이 있었다. However, to this end, the font information area must include all the font data that can represent thousands of characters. Therefore, the HMI which displays relatively small or limited characters to be represented has a lot of wasted memory, and it is difficult to use various fonts. In the case of having font information consisting of bitmap information, it is difficult to control the size or direction of the font.

상기한 바와 같이 종래 사람-기계 인터페이스의 표시부에는 제한된 메모리를 사용하여 문자 코드를 실제 문자 표현을 위한 데이터로 변환하기 위해 수천자에 달하는 모든 폰트의 구체적인 표시 데이터 정보를 가지는 전체 폰트를 저장하고, 표시할 문자 코드에 대응하는 표시 데이터 정보를 해당 폰트로부터 검색하여 획득하는 방식을 이용하기 때문에, 제한된 메모리에 의해 저장해 둘 수 있는 폰트의 종류에 한계가 있어 다양한 폰트의 사용이 어렵고, 낭비되는 메모리가 많아 표현력과 비용 면에서 비효율적인 문제점이 있었다. As described above, the display unit of the conventional human-machine interface stores the entire font having specific display data information of all the fonts of several thousand characters in order to convert the character code into data for actual character representation using limited memory. Since the display data information corresponding to the character code to be retrieved is retrieved from the corresponding font, the type of fonts that can be stored by the limited memory is limited, which makes it difficult to use various fonts and causes a lot of wasted memory. There was an inefficient problem in terms of expression and cost.

이와 같은 문제점을 감안한 본 발명은 문자 정보를 문자 코드, 크기를 포함하는 속성 정보와 실제 해당 문자에 대한 비트맵 데이터 정보를 하나의 단위 문자 정보로 정의하여 에디터에서는 편집된 문자를 단위 문자 정보로 생성하며, 이를 인간-기계 인터페이스의 메모리에 적용한 후 속성 정보와 그에 따른 실제 비트맵 정보를 이용하여 문자를 관리하고 표시하도록 함으로써, 메모리 사용을 최대한 억제 하면서도 다양한 폰트의 글씨체와 문자 크기를 이용할 수 있도록 한 메모리 절약형 문자 표시 시스템 및 그 표시 방법을 제공하는데 그 목적이 있다.In consideration of such a problem, the present invention defines character information as attribute information including a character code and size and bitmap data information about the corresponding character as one unit character information, thereby generating an edited character as unit character information in the editor. After applying this to the memory of the human-machine interface, it manages and displays characters using attribute information and actual bitmap information, so that fonts and character sizes of various fonts can be used while minimizing memory usage. It is an object of the present invention to provide a memory-saving character display system and a display method thereof.

상기와 같은 목적을 달성하기위한 본 발명은 다양한 폰트와 크기 지정을 통해 문자들을 편집하여 문자 코드를 비롯한 문자 속성과 실제 해당 문자의 비트맵 정보를 하나의 문자 단위로 생성하는 에디터부와; 상기 에디터부에서 생성된 문자 단위 정보들로 이루어진 문자 표시 정보들을 제공 받아 메모리에 저장한 후, 필요한 문자 정보를 표시할 경우 해당 문자 단위 정보에 포함된 문자 속성과 비트맵 정보를 이용하여 표시 수단에 표시하는 표시부를 포함하는 것을 특징으로 한다.The present invention for achieving the above object is an editor unit for editing the character through a variety of font and size designation to generate a character attribute, including character code and bitmap information of the actual character in one character unit; After receiving the character display information consisting of the character unit information generated by the editor unit in the memory and storing the necessary character information, the display means by using the character attribute and bitmap information included in the character unit information And a display unit for displaying.

상기 문자 단위 정보는 표준화된 문자 코드, 문자가 추출된 원본 폰트 이름, 문자의 크기를 포함하는 문자 속성 정보와, 상기 문자 크기에 의해 가로, 세로 크기가 결정되는 비트맵 바이너리 데이터로 이루어진 구조체로 정의되는 것을 특징으로 한다.The character unit information is defined as a structure consisting of standardized character codes, original font names from which characters are extracted, character attribute information including character sizes, and bitmap binary data whose horizontal and vertical sizes are determined by the character size. It is characterized by.

또한, 본 발명은 다양한 폰트와 크기를 지정할 수 있는 에디터를 통해 표현하고자 하는 문자 정보들을 작성 및 편집한 후 편집 완료된 문자 정보들을 각각 문자 속성과 편집 상태에 따른 비트맵 데이터를 단위로 하는 문자 단위 정보들로 변환 생성하는 단계와; 상기 변환 생성된 문자 단위 정보들을 인간-기계 인터페이스 표시 장치의 메모리에 저장하는 단계와; 상기 인간-기계 인터페이스는 필요시 메모리에 저장된 문자 단위 정보들 중 표시할 문자 단위 정보들을 검색하여 각각의 문자 단위 정보들 각각에 포함된 비트맵 데이터를 획득한 후 각각의 문자 속성을 참 조하여 표시 수단에 개별적 규칙으로 표시하는 단계를 포함하는 것을 특징으로 한다. In addition, the present invention, after creating and editing the character information to be expressed through the editor that can specify a variety of fonts and sizes, and the character information to the edited character information in units of bitmap data according to the character properties and editing status, respectively Generating and converting the data into a module; Storing the converted generated character unit information in a memory of a human-machine interface display device; If necessary, the human-machine interface retrieves character unit information to be displayed among character unit information stored in a memory, obtains bitmap data included in each character unit information, and then displays each character attribute. Marking the individual rules on the means.

상기 에디터 및 인간-기계 인터페이스는 문자 단위 정보에 포함된 문자 코드를 이용하여 문자 인식과 연산 처리 및 편집을 실시하는 단계를 더 포함하는 것을 특징으로 한다.The editor and the human-machine interface may further include character recognition, arithmetic processing, and editing using a character code included in character unit information.

상기와 같은 본 발명을 도면들을 참조하여 설명하도록 한다. The present invention as described above will be described with reference to the drawings.

도 3은 본 발명 일 실시예의 문자 단위 정보(30) 구조를 보이는 개념도로서, 도시한 바와 같이 폰트 속성 부분(31)과 비트맵 폰트 표시 부분(32)으로 구별되는 두가지 상이한 데이터들의 집합으로 하나의 문자 단위 정보(30)를 표현하도록 정의한다. 이는 구조체 형태를 가질 수 있으며, 폰트 속성 부분(31)이 일종의 헤더 역할을 하고 비트맵 폰트 표시 데이터 부분(32)이 실제 표현될 문자 모습의 데이터 역할을 하는 것으로 파악될 수 있다.FIG. 3 is a conceptual diagram showing the structure of character unit information 30 according to an embodiment of the present invention. As shown in FIG. 3, a set of two different data divided into a font attribute part 31 and a bitmap font display part 32 is illustrated. The character unit information 30 is defined to be represented. It may have a structure form, and it may be understood that the font attribute part 31 serves as a kind of header and the bitmap font display data part 32 serves as data of a character form to be actually expressed.

즉, 별도의 폰트 데이터베이스를 구축한 후, 문자 코드만을 이용하여 폰트에 귀속된 문자 표현만을 실시하는 것이 아니라 개별 문자별로 다른 폰트를 이용하여 추출한 표시 데이터를 사용하도록 하여 사용하지 않는 문자를 위해 낭비되는 폰트 저장 공간을 줄이고, 다양한 표현이 가능하도록 함과 아울러, 이들을 그림이 아닌 문자로 취급할 수 있도록 하여 문자 연산, 비교, 편집이 가능하도록 한 것이다. In other words, after constructing a separate font database, not only the character expressions attributed to the fonts are implemented using only the character codes, but also used for display characters extracted using different fonts for each character, which is wasted for unused characters. It reduces font storage space, enables various expressions, and treats them as non-picture characters so that they can be operated, compared, and edited.

우측의 실시예를 보면, 폰트 속성 부분(31)의 예로, 해당 문자의 표준 2바이트 문자 코드, 사용된 폰트 이름, 비트맵으로 추출한 비트맵 폰트 표시 데이터 부분의 폰트 크기를 비롯한 정보가 포함되어 있다. 만일 컬러 표현이 가능하다면, 상 기 폰트 속성이 컬러 색상이 더 포함될 수 있다. 즉, 이 부분을 이용하여 해당 문자 단위 정보(30)를 하나의 문자로 취급할 수 있는 정보를 얻음과 동시에 후속하는 비트맵 폰트 표시 데이터 부분(32)의 가로 및 세로 크기 정보를 제공해 주게 된다. In the embodiment on the right, an example of the font attribute part 31 includes information including the standard double-byte character code of the character, the font name used, and the font size of the bitmap font display data part extracted as a bitmap. . If color representation is possible, the font attribute may further include a color color. That is, the information is used to obtain the information capable of treating the character unit information 30 as one character using this portion, and the horizontal and vertical size information of the subsequent bitmap font display data portion 32 is provided.

일반적으로, 비트맵 폰트 표시 데이터 부분(32)은 단순히 폰트 중 한 문자에 해당하는 원본 그림 데이터이므로, 상기 폰트 속성 부분(31)이 해당 그림 데이터의 헤더 역할을 하여 가로, 세로 크기를 정의해 주어 그에 맞추어 문자를 표시할 수 있도록 하는 것이다. In general, since the bitmap font display data portion 32 is simply original picture data corresponding to one character of the font, the font attribute portion 31 serves as a header of the corresponding picture data, thereby defining horizontal and vertical sizes. It allows you to display characters accordingly.

상기와 같은 문자 단위 정보(30)를 생성하는 것은 에디터부 및 HMI 표시부에서 실시될 수 있으나, 가장 기본적으로는 에디터부에서 지원해야 하는 기능이다. 이에 대한 설명은 본원 발명과 기본적인 구성이 용이한 도 1의 시스템 구성도를 참조하도록 한다. 비록 전체적인 구성은 동일하지만, 에디터부(20)의 편집부(21)와 HMI 표시부(10)의 제어부(12) 및 메모리 저장 상태가 상이하다는 것에 주의한다.The generation of the character unit information 30 as described above may be performed in the editor unit and the HMI display unit, but most basically, the function should be supported by the editor unit. Description of this will refer to the system configuration of FIG. Although the overall configuration is the same, it is noted that the editing section 21 of the editor section 20 and the control section 12 and the memory storage states of the HMI display section 10 are different.

즉, 본원 발명에서 사용되는 편집부(21)는 다양한 폰트와 크기 지정을 통해 문자들을 편집하여 문자 코드를 비롯한 문자 속성과 실제 해당 문자의 비트맵 정보를 하나의 문자 단위로 생성하는 기능을 구비해야 하며, HMI 표시부의 제어부(12)는 상기 편집부(21)에서 생성된 문자 단위 정보들로 이루어진 문자 표시 정보들을 제공 받아 메모리(13)에 저장한 후, 필요한 문자 정보를 표시할 경우 해당 문자 단위 정보에 포함된 문자 속성과 비트맵 정보를 이용하여 표시창(11)에 표시하는 기능을 구비해야 한다. 이때, 메모리(13)에는 별도의 폰트 정보가 저장되어 있지 않고, 상기 제공 받은 문자 단위 정보들만 저장된다.That is, the editing unit 21 used in the present invention should have a function of generating character attributes including character codes and bitmap information of actual corresponding characters by one character unit by editing characters through various fonts and size designations. The control unit 12 of the HMI display unit receives the character display information consisting of the character unit information generated by the editing unit 21 and stores it in the memory 13, and then displays the necessary character information in the character unit information. It should have a function of displaying on the display window 11 by using the included character attributes and bitmap information. In this case, no separate font information is stored in the memory 13, and only the received character unit information is stored.

상기한 구성을 좀더 상세히 설명하도록 하면, 먼저 사용자가 HMI 표시부(10)에서 사용할 문자 단위 정보(30)를 생성하기 위하여, 필요한 문자들을 에디터부(20)의 편집부(21)를 통해 일반 문자로 편집(일반적인 문서 편집 기능과 동일)한 후, 편집이 완료되면 각 문자들에 대한 폰트 속성 정보를 추출하고, 화면에 직접 표시된 문자에서 비트맵 폰트 표시 데이터 정보 추출하여 하나의 문자 단위 정보(30)를 만드는 식으로 모든 정보들을 저장한다. 이 경우, 공백 문자라면 속성 정보만으로 이를 정의할 수도 있다(종래에는 공백 문자의 경우에도 다른 문자와 동일한 저장 공간이 요구되었다). 만일, HMI 표시부(10)에서 문자의 편집 기능을 제공하는 경우에는 위와 같은 기능이 HMI 표시부(10)에도 구현되어야 하지만, 일반적이지는 않다. In order to describe the above configuration in more detail, first, in order for a user to generate character unit information 30 to be used in the HMI display unit 10, necessary characters are edited into general characters through the editing unit 21 of the editor unit 20. After the editing is completed, the font attribute information for each character is extracted, and the bitmap font display data information is extracted from the characters directly displayed on the screen to obtain one character unit information (30). To store all the information. In this case, if it is a space character, it can be defined only by attribute information (in the case of the space character, the same storage space as the other character was required). If the HMI display unit 10 provides a text editing function, the above function should be implemented in the HMI display unit 10, but is not common.

이렇게 저장된 문자 단위 정보들은 개별적으로 문자 속성들만 추출되어 내부적인 문자열 편집, 문자열 비교, 문자열 연산등에 사용될 수 있어 단순히 문자별 그래픽 정보만을 이용하는 단순한 발명이 아니라는 것에 주의한다.Note that the character information stored in this way can be used for internal string editing, string comparison, string operation, etc. by extracting only character attributes individually.

따라서, 비교적 제한된 표현 방식과 내용만을 가지는 HMI 표시부에 본 발명을 적용한다면, 메모리 저장 효과와 함께 다양한 폰트의 활용이 가능하므로 그래픽 데이터처럼 사용되지만 그와 동시에 문자 스트링 관련 기능도 수행할 수 있어 그 활용성이 대단히 뛰어나게 된다. Therefore, if the present invention is applied to an HMI display unit having a relatively limited expression method and contents, it is possible to use various fonts with memory storage effects, so that it is used as graphic data, but at the same time, it can also perform character string related functions. Sex is very good.

도 4는 본 발명 일 실시예의 동작 과정을 보인 순서도로서, 도시한 바와 같이 HMI 표시부에 표시할 문자 정보들을 에디터에서 편집한 후 이를 단위 문자 정보들로 변환하여 HMI 표시부에 전송하는 과정과, 상기 전송된 단위 문자 정보들을 메 모리에 저장한 HMI 표시부가 이를 이용하여 표시창에 원하는 문자를 단위 문자 정보에 저장된 비트맵 폰트 표시 데이터에 맞추어 표시하는 과정으로 크게 구분된다.4 is a flowchart illustrating an operation of an embodiment of the present invention, as shown in FIG. 4, after editing text information to be displayed on the HMI display in an editor, converting the text information into unit text information, and transmitting the unit information to the HMI display; The HMI display unit storing the stored unit character information in the memory is largely divided into a process of displaying a desired character on the display window according to the bitmap font display data stored in the unit character information.

먼저, 에디터로 소정의 문자나 문자열을 작성 및 편집한다. 상기 에디터는 개인용 컴퓨터, 개인 정보 단말, 혹은 휴대 단말기와 전용 에디터를 포괄하여 다양한 폰트 정보를 이용하여 문서 편집이 가능한 다양한 물리적인 장치들이 상기 에디터로 사용될 수 있다. 상기 에디터의 내부적인 편집부, 즉 편집 어플리케이션은 일반 문서 편집기와 유사하게 원하는 문자를 입력 및 편집함과 아울러 원하는 문자의 폰트와 크기등을 별도로 지정할 수 있는 기능을 가지는 것이 바람직하다. 그리고, 이렇게 편집된 문자들을 해당 문자의 폰트 속성 정보와 그때 화면에 표시되는 문자의 비트맵 데이터를 혼합하여 하나의 단위 문자 정보로 생성하여 이들을 하나의 파일이나 일련의 통신 스트림으로 만들어 HMI 표시부에 전달한다. 이는 실제 통신 수단을 통해 실시될 수 있으나, 이렇게 만들어진 정보(파일 형태)를 직접 HMI 표시부의 메모리에 다운로드 하거나, 특정한 라이팅 장치를 이용하여 메모리에 직접 기입할 수도 있다.First, the editor creates and edits a predetermined character or character string. The editor may be a personal computer, a personal information terminal, or a variety of physical devices capable of editing a document using various font information, including a portable terminal and a dedicated editor. The internal editing unit of the editor, that is, the editing application, preferably has a function of inputting and editing desired characters and specifying a font and size of the desired characters separately, similarly to a general text editor. Then, the edited characters are mixed with the font attribute information of the corresponding characters and bitmap data of the characters displayed on the screen to generate one unit character information, and these are converted into a file or a series of communication streams and transferred to the HMI display unit. do. This can be done through actual communication means, but the information (file format) thus created can be downloaded directly into the memory of the HMI display unit or written directly into the memory using a specific writing device.

상기와 같은 방식으로 단위 문자 정보가 메모리에 저장된 HMI 표시부는 필요시 원하는 정보를 상기 메모리에 저장된 단위 문자 정보의 폰트 속성에 포함된 문자 코드를 이용하여 선택한 후 이를 일반 문자처럼 추출, 편집, 연산할 수 있고, 메모리 상에서 검색할 수도 있다. 만일, 이들 중 일부 문자들을 표시창에 표시할 경우에는 단위 문자 정보의 폰트 속성 부분에 포함된 문자 크기 정보(가로 세로 비트 수, 혹은 이를 대표하는 폰트 크기)를 이용하여 해당하는 비트맵 폰트 표시 데 이터를 마치 그림이나 아이콘 처럼 표시창에 표시한다. 물론, 이들에 대한 실제 화면 표시는 비트맵 데이터를 이용하지만, 이들을 문자열로 관리하기 위한 버퍼에서는 문자 코드로 관리될 수 있다. In the same manner as described above, the HMI display unit in which the unit character information is stored in the memory selects the desired information using a character code included in the font attribute of the unit character information stored in the memory and extracts, edits, and operates it as a normal character. You can also search on memory. If some of these characters are displayed on the display window, the corresponding bitmap font display data is displayed using the character size information (the number of vertical bits, or the font size thereof) included in the font attribute portion of the unit character information. Is displayed on the display like a picture or icon. Of course, the actual screen display for these uses bitmap data, but in the buffer for managing them as strings, they can be managed with character codes.

이러한 방식을 통해 제한된 메모리를 이용하더라도 다양한 폰트의 글씨체를 이용할 수 있으며, 개별 문자의 크기, 방향, 색상등을 각각 설정할 수 있을 뿐 아니라 불필요한 메모리 낭비를 억제하여 메모리 효율을 높일 수 도 있으며, 기존의 문자 관리 방식도 그대로 사용될 수 있다. In this way, you can use fonts of various fonts even with limited memory. You can set the size, direction, and color of individual characters individually, and also increase memory efficiency by suppressing unnecessary memory waste. Character management can also be used.

상기한 바와 같이 본 발명 메모리 절약형 문자 표시 시스템 및 그 표시 방법은 문자 정보를 문자 코드, 크기를 포함하는 속성 정보와 실제 해당 문자에 대한 비트맵 데이터 정보를 하나의 단위 문자 정보로 정의하여 에디터에서는 상기 속성 정보를 이용하여 편집을 실시하고, 편집된 문자를 단위 문자 정보로 생성하며, 이를 인간-기계 인터페이스의 메모리에 적용한 후 속성 정보와 그에 따른 실제 비트맵 정보를 이용하여 문자를 관리하고 표시하도록 함으로써, 메모리에 별도의 폰트 전체 정보를 기록하지 않더라도 문자 관리 및 연산 기능은 그대로 이용하면서도 문자 단위로 사용 폰트, 크기 등을 개별 지정할 수 있어 다양한 폰트를 제한된 메모리 영역에서 사용할 수 있으며, 사용하지 않는 폰트 정보를 저장하기 위해 낭비되는 메모리 영역이 없으므로 메모리 사용의 효율을 높일 수 있는 효과가 있다. 특히, 제한된 표시 내용이나 많지 않은 전체 표시 내용들을 가진 경우에는 대단히 뛰어난 표시 품질과 메모리 효율을 제공할 수 있다.As described above, the memory-saving character display system and method for displaying the same of the present invention define character information as attribute information including character code and size and bitmap data information about the corresponding character as one unit character information. Edit by using attribute information, generate edited character into unit character information, apply it to memory of human-machine interface, and manage and display character by using attribute information and actual bitmap information accordingly. Even if you don't record the whole font information in memory, you can use the character management and calculation function as it is, but you can designate the font, size, etc. in units of characters, so you can use various fonts in the limited memory area. There is no memory area wasted to save As it is possible to improve the efficiency of memory use. In particular, in the case of having limited display content or not much display content, a very good display quality and memory efficiency can be provided.

Claims (7)

다양한 폰트와 크기 지정을 통해 문자들을 편집하여 문자 코드를 비롯한 문자 속성과 실제 해당 문자의 비트맵 정보를 하나의 문자 단위로 생성하는 에디터부와; An editor unit for editing characters through various fonts and size designations to generate character attributes including character codes and bitmap information of actual corresponding characters in one character unit; 상기 에디터부에서 생성된 문자 단위 정보들로 이루어진 문자 표시 정보들을 제공 받아 메모리에 저장한 후, 필요한 문자 정보를 표시할 경우 해당 문자 단위 정보에 포함된 문자 속성과 비트맵 정보를 이용하여 표시 수단에 표시하는 표시부를 포함하는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템.After receiving the character display information consisting of the character unit information generated by the editor unit in the memory and storing the necessary character information, the display means by using the character attribute and bitmap information included in the character unit information And a display unit for displaying the memory-saving character display system. 제 1항에 있어서, 상기 에디터부는 상기 문자 속성과 비트맵 정보를 하나의 문자 단위로 생성함과 아울러 이렇게 생성된 문자들을 편집할 경우 내부적으로는 문자 속성만을 이용하여 작업을 실시하고, 작업 완료 후에 작업 내용으로부터 다시 문자 속성과 비트맵 정보로 이루어진 문자 단위를 생성하는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템.The method of claim 1, wherein the editor unit generates the character attribute and the bitmap information as a single character unit, and when editing the generated characters, internally uses only the character attribute to perform a task and after completion of the task. And a character unit consisting of character attributes and bitmap information from the work contents. 제 1항에 있어서, 상기 문자 단위 정보는 표준화된 문자 코드, 문자가 추출된 원본 폰트 이름, 문자의 크기를 포함하는 문자 속성 정보와, 상기 문자 속정 정보에 포함된 문자의 크기 정보에 의해 가로, 세로 크기가 결정되는 비트맵 바이너리 데이터로 이루어진 구조체로 정의되는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템.The character unit information of claim 1, wherein the character unit information is determined by character property information including a standardized character code, an original font name from which the character is extracted, a character size, and size information of a character included in the character property information. A memory-saving character display system defined by a structure consisting of bitmap binary data whose vertical size is determined. 제 1항에 있어서, 상기 에디터부와 표시부는 상호 문자 단위 정보를 포함하는 데이터를 상호 교환하기 위한 통신 수단을 각각 더 포함하는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템.The memory-saving character display system of claim 1, wherein the editor unit and the display unit each further include communication means for exchanging data including mutual character unit information. 다양한 폰트와 크기를 지정할 수 있는 에디터를 통해 표현하고자 하는 문자 정보들을 작성 및 편집한 후 편집 완료된 문자 정보들을 각각 문자 속성과 편집 상태에 따른 비트맵 데이터를 단위로 하는 문자 단위 정보들로 변환 생성하는 단계와; 상기 변환 생성된 문자 단위 정보들을 인간-기계 인터페이스 표시 장치의 메모리에 저장하는 단계와; 상기 인간-기계 인터페이스는 필요시 메모리에 저장된 문자 단위 정보들 중 표시할 문자 단위 정보들을 검색하여 각각의 문자 단위 정보들 각각에 포함된 비트맵 데이터를 획득한 후 각각의 문자 속성을 참조하여 표시 수단에 개별적 규칙으로 표시하는 단계를 포함하는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템의 문자 표시 방법.After creating and editing the character information to be expressed through the editor that can specify various fonts and sizes, converts the edited character information into character unit information based on the character property and bitmap data according to the editing status. Steps; Storing the converted generated character unit information in a memory of a human-machine interface display device; The human-machine interface retrieves the character unit information to be displayed from among the character unit information stored in the memory when necessary, obtains bitmap data included in each of the character unit information, and then displays the display unit by referring to each character attribute. And displaying the individual rules in the character saving method of the memory-saving character display system. 제 5항에 있어서, 상기 문자 단위 정보들 각각에 포함된 문자 속성은 문자 코드, 폰트 이름, 폰트 크기를 포함하며, 상기 비트맵 데이터는 상기 폰트 크기 정보를 통해 가로 길이와 세로 길이가 결정되는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템의 문자 표시 방법.6. The method of claim 5, wherein the character attribute included in each of the character unit information includes a character code, a font name, and a font size, wherein the bitmap data is determined to have a horizontal length and a vertical length determined through the font size information. Character display method of memory-saving character display system characterized by the above-mentioned. 제 5항에 있어서, 상기 에디터 및 인간-기계 인터페이스는 문자 단위 정보에 포함된 문자 코드를 이용하여 문자 인식과 연산 처리 및 편집을 실시하는 단계를 더 포함하는 것을 특징으로 하는 메모리 절약형 문자 표시 시스템의 문자 표시 방법.6. The memory-saving character display system of claim 5, wherein the editor and the human-machine interface further include character recognition, arithmetic processing, and editing using character codes included in character unit information. Character display method.
KR1020050057404A 2005-06-29 2005-06-29 Memory saving character display system and display method thereof KR20070001765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050057404A KR20070001765A (en) 2005-06-29 2005-06-29 Memory saving character display system and display method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050057404A KR20070001765A (en) 2005-06-29 2005-06-29 Memory saving character display system and display method thereof

Publications (1)

Publication Number Publication Date
KR20070001765A true KR20070001765A (en) 2007-01-04

Family

ID=37869101

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050057404A KR20070001765A (en) 2005-06-29 2005-06-29 Memory saving character display system and display method thereof

Country Status (1)

Country Link
KR (1) KR20070001765A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9368857B2 (en) 2009-05-19 2016-06-14 Marvell World Trade Ltd. Combining signal power using magnetic coupling between conductors
KR20210009964A (en) * 2019-07-18 2021-01-27 주식회사 윤디자인그룹 Method and system for minimizing font storage capacity

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175431A (en) * 1997-12-15 1999-07-02 Shigeo Kosuge Information transmission system
KR20000076581A (en) * 1999-02-05 2000-12-26 맥케이 데이비드 니겔 Bitmap font data storage within data processing systems
KR20040100414A (en) * 2003-05-23 2004-12-02 모토로라 인코포레이티드 Reduced character bitmap method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175431A (en) * 1997-12-15 1999-07-02 Shigeo Kosuge Information transmission system
KR20000076581A (en) * 1999-02-05 2000-12-26 맥케이 데이비드 니겔 Bitmap font data storage within data processing systems
KR20040100414A (en) * 2003-05-23 2004-12-02 모토로라 인코포레이티드 Reduced character bitmap method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9368857B2 (en) 2009-05-19 2016-06-14 Marvell World Trade Ltd. Combining signal power using magnetic coupling between conductors
KR20210009964A (en) * 2019-07-18 2021-01-27 주식회사 윤디자인그룹 Method and system for minimizing font storage capacity

Similar Documents

Publication Publication Date Title
CN105094832A (en) WYSIWYG method and system for dynamically generating user interface
JP2000048016A (en) Format and display method for text executable on computer processor, computer device capable of formatting and displaying text and computer readable storage medium storing program capable of formatting and displaying text, and method for adding new style to text editor capable of formatting and displaying text
JPS6165290A (en) Generator for vector character font
JP6157210B2 (en) Document conversion apparatus, document conversion method, and program
JP2006285914A (en) Data retrieval processor and program
GB2423387A (en) Application-Generic Sequence Diagram Generator Driven by a Non-Proprietary Language
AU2015211150B2 (en) Document page identifiers from selected page region content
US11677807B2 (en) System and method to standardize and improve implementation efficiency of user interface content
CN111859053B (en) Data definition method of visual chart and chart library system
JP2006236315A (en) Method and apparatus for enabling foreign language text display when encoding is not available
JP2005501303A (en) Method and system for handling large character sets
ES2266185T3 (en) PROCESSING OF DIGITAL DOCUMENTS.
KR20070001765A (en) Memory saving character display system and display method thereof
US10755034B2 (en) Information processing apparatus
CN113377453A (en) Picture processing method and device and electronic equipment
CN103713864B (en) Book ticket output device and book ticket output method
KR100447633B1 (en) Method and system for authoring of wireless contents/site
JP2000227790A (en) Display device, and recording medium where the program is recorded
JPH1055339A (en) On-line business processing system
CN108132780B (en) Aviation display control method based on custom script
JP4566237B2 (en) Character code input support system, character code input support program
KR20030021345A (en) Method for compression and restoration of data
TW594574B (en) Editing method for supporting multiple languages
JPS5928190A (en) Character pattern generation system
KR100327549B1 (en) Method for transforming compound Hangul wordprocessor file into Integral completion Hangul wordprocessor file and storage medium storing the computer program thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application