KR20070001765A - Memory saving character display system and display method thereof - Google Patents
Memory saving character display system and display method thereof Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/22—Control 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/222—Control of the character-code memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Abstract
Description
도 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
도 1은 일반적인 HMI 인터페이스 중 HMI 표시부(10)와 해당 HMI 표시부(10)에 표현될 문자 정보를 제공하는 에디터부(20)의 구성을 보인 것이다. FIG. 1 illustrates a configuration of an
HMI 표시부(10)는 간단히, 폰트 데이터를 저장하며 표시할 문자 및 문자열의 코드 정보가 저장되는 메모리(13)와, 상기 메모리(13)에 저장된 폰트의 비트맵 정보를 물리적으로 표시하는 표시창(11)과, 외부에서 제공되는 문자 코드나 바이너리 데이터를 수신하는 통신부(14)와, 상기 통신부(14)를 통해 제공받은 정보를 처리하여 상기 메모리(13)에 저장하거나, 표시할 내용을 메모리(13)에서 획득하여 상기 표시창(11)에 표시하도록 하는 제어부(12)를 포함한다. The
그리고, 상기 HMI 표시부(10)가 표시할 문자 정보들을 편집하여 문자 코드를 생성하고, 각종 제어 정보들이나 구동 정보들을 바이너리 상태로 생성하는 편집부 (21) 및 이 정보들을 상기 HMI 표시부(10)의 통신부(14)에 전송하는 통신부(22)를 포함하는 에디터부(20)가 상기 HMI 표시부(10)에 연결된다. 상기 에디터부(20)는 컴퓨터, 노트북, 개인 정보 단말(PDA), 전용 편집 장치등일 수 있다. 하지만, 범용 폰트 및 문자 코드를 이용하여 문자 편집이 가능한 장비라면 에디터부(20)로 사용될 수 있다는 점에서 사용 가능한 장치들의 종류는 더 확대될 수 있다.The
도 2는 상기 도 1의 HMI 표시부(10)가 소정의 문자를 표시창(11)에 표시하는 구체적인 과정을 설명하기 위한 개념도로서, 도시한 바와 같이 메모리(13)를 폰트가 저장된 폰트 정보 영역과, 표시할 내용이 저장된 텍스트 문자 코드 정보 영역으로 구분하여 설명한다. 이는 실제로도 물리적 메모리 구분이나 논리적 메모리 영역 구별에 의해 서로 구분되어 있다. FIG. 2 is a conceptual diagram illustrating a specific process of displaying predetermined characters on the
도시된 숫자들은 동작 순서를 나타낸 것이다. 먼저, 메모리 영역 중 표시할 정보를 텍스트 문자 코드 정보 영역에서 획득한다. 상기 영역에 저장된 내용은 표시에 관련된 정보와 실제 문자들의 문자 코드들로 이루어져 있으며, 경우에 따라서는 실제 문자 코드들로만 이루어진 문자열 정보들일 수도 있다. 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
즉, 별도의 폰트 데이터베이스를 구축한 후, 문자 코드만을 이용하여 폰트에 귀속된 문자 표현만을 실시하는 것이 아니라 개별 문자별로 다른 폰트를 이용하여 추출한 표시 데이터를 사용하도록 하여 사용하지 않는 문자를 위해 낭비되는 폰트 저장 공간을 줄이고, 다양한 표현이 가능하도록 함과 아울러, 이들을 그림이 아닌 문자로 취급할 수 있도록 하여 문자 연산, 비교, 편집이 가능하도록 한 것이다. 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
일반적으로, 비트맵 폰트 표시 데이터 부분(32)은 단순히 폰트 중 한 문자에 해당하는 원본 그림 데이터이므로, 상기 폰트 속성 부분(31)이 해당 그림 데이터의 헤더 역할을 하여 가로, 세로 크기를 정의해 주어 그에 맞추어 문자를 표시할 수 있도록 하는 것이다. In general, since the bitmap font
상기와 같은 문자 단위 정보(30)를 생성하는 것은 에디터부 및 HMI 표시부에서 실시될 수 있으나, 가장 기본적으로는 에디터부에서 지원해야 하는 기능이다. 이에 대한 설명은 본원 발명과 기본적인 구성이 용이한 도 1의 시스템 구성도를 참조하도록 한다. 비록 전체적인 구성은 동일하지만, 에디터부(20)의 편집부(21)와 HMI 표시부(10)의 제어부(12) 및 메모리 저장 상태가 상이하다는 것에 주의한다.The generation of the
즉, 본원 발명에서 사용되는 편집부(21)는 다양한 폰트와 크기 지정을 통해 문자들을 편집하여 문자 코드를 비롯한 문자 속성과 실제 해당 문자의 비트맵 정보를 하나의 문자 단위로 생성하는 기능을 구비해야 하며, HMI 표시부의 제어부(12)는 상기 편집부(21)에서 생성된 문자 단위 정보들로 이루어진 문자 표시 정보들을 제공 받아 메모리(13)에 저장한 후, 필요한 문자 정보를 표시할 경우 해당 문자 단위 정보에 포함된 문자 속성과 비트맵 정보를 이용하여 표시창(11)에 표시하는 기능을 구비해야 한다. 이때, 메모리(13)에는 별도의 폰트 정보가 저장되어 있지 않고, 상기 제공 받은 문자 단위 정보들만 저장된다.That is, the
상기한 구성을 좀더 상세히 설명하도록 하면, 먼저 사용자가 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
이렇게 저장된 문자 단위 정보들은 개별적으로 문자 속성들만 추출되어 내부적인 문자열 편집, 문자열 비교, 문자열 연산등에 사용될 수 있어 단순히 문자별 그래픽 정보만을 이용하는 단순한 발명이 아니라는 것에 주의한다.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)
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)
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)
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 |
-
2005
- 2005-06-29 KR KR1020050057404A patent/KR20070001765A/en not_active Application Discontinuation
Patent Citations (3)
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)
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 |