Method and apparatus for displaying and adjusting subtitles of multiple languages between human-machine interfaces

Information

  • Patent Grant
  • 6757023
  • Patent Number
    6,757,023
  • Date Filed
    Wednesday, July 11, 2001
    23 years ago
  • Date Issued
    Tuesday, June 29, 2004
    20 years ago
Abstract
The present invention relates to a method and apparatus for displaying subtitles by a multination language human-machine interface that having small memory space occupation and conveniently for program maintenance. First of all, a character database is been edited, and in accordance with the character size to edit the bitmap file for each individual character. The bitmap file is then transferred to 80c51xa assembly language and stored in the character database. Then, the “string code”, the “string combination code and position shifting code”, and the “string combination code of multination language and position shifting code” of the controlling program are established, and the content of the character database is been called. During a practical usage, the desired string is been called by the controlling program, then carried out the language judgement of the exercising nation. Next, in accordance with the characters included in the desired string, extracting from the character database, drawing the string and showing on the screen eventually.
Description




BACKGROUND OF THE INVENTION




1. Field of the Invention




The present invention relates to an improved method and apparatus for displaying and adjusting subtitles by a multination language human-machine interface, and more particularly, to an improved method and apparatus for displaying and adjusting subtitles by a multination language human-machine interface that having small memory space occupation and conveniently for program maintenance.




2. Description of the Prior Art





FIG. 1

shows the technological flowchart for displaying the subtitle of multination language human-machine interface by the conventional monitors. First of all, the basic concept would be gradually setting up the string (step


110


) and the location of the string list (step


120


) for every different country, and then forming as a bitmap file (step


130


). Finally, the above bitmap file is transferred to 80c51xa assembly language, where the assembly language used by chips will be programmed (step


140


) and also provide the use of controlling program for the screen displaying control. Wherein the string been displayed on monitors is handled by the method of uniformly lining up to the left of the list.




Three sorts of different language subtitle, such as English, French and Germany, been displayed on monitors are shown in

FIGS. 2

,


3


and


4


respectively. The conventional method for displaying the synonymous string of the same list in those three figures, such as “Main Menu” in English, “Menu Principal” in French, and “Hauptmenu” in German, is firstly to edit the character strings of those three languages individually. Each character string will be uniformly lined up to the left of the list and drawn to its bitmap file, as well as transferred to its 80c51xa assembly language relatively. Therefore, there is a need to draw a relative bitmap file for every different country and for every different string list. Hence, at least two drawbacks have been introduced by the conventional method: (1) A huge bitmap file database for the strings consumes a large amount of the programmed memory; and (2) any addition or correction of a string in the list would result in a redraw of the relative bitmap file, hence making a hassle to the program maintenance.




Thus, because of solving two drawbacks which have been introduced, an improved method and apparatus for displaying subtitles of multination language human-machine interface that substantially occupies smaller memory space and easy for program maintenance is provided.

FIG. 5

shows the flowchart of establishing the information structure of conventional invention. Procedure 1 is to edit a character database, and in accordance with the character's size and symbol to edit the bitmap file for each individual character (Step


510


). The bitmap file is then transferred to 80c51xa assembly language format (Step


520


) and stored in the character database (Step


530


) for providing repeats in calling usage of the controlling program. Procedure 2 is to establish the “string code” (Step


540


) and the “string combination code” (Step


550


) of the controlling program. Next, Procedure 3 is to establish the “string combination code of multination language” (Step


560


) within the “string combination code”. The last procedure is to call and exercise the character database contents (Step


570


) in accordance with “string combination code of multination language”.

FIG. 6

shows the technological flowchart of a method for displaying subtitles by a multination language human-machine interface of the conventional invention. First of all, the desired string is been called by the controlling program (Step


610


), and handled by the method of uniformly lining up to the left (Step


620


). Next, in accordance with the characters included in the desired string, extracting from the character database (Step


630


), drawing the string and showing on the screen eventually (Step


640


).




Although the said method can reach the purposes which can occupies smaller memory space and easy for program maintenance, the string is handled by the method of uniformly lining up to the left and displaying the subtitle of multination language shows the different length will make display screen not clean and beautiful. Hence, for solving this drawback, an improved method and apparatus for displaying and adjusting subtitles of multination language human-machine interface that can adjust the right position of different strings of multination characters is provided.




SUMMARY OF THE INVENTION




An objective of the present invention is to transfer the requiring characters, figures, and symbols to a character database, that is provided to be called by a controlling program and been used in a combination in achieving the target of saving memory space. In another objective of the present invention, as referring to a same meaning of multination language strings in different lengths, and in accordance with the character number of the “string combination code of multination language”, the combination of the relative string length and the calling usage for the character database can be adjusted elastically.




In a further objective of the present invention, a fixed information structure of strings makes maintenance and adjustment easier. In a last objective of the present invention, the controlling program and the information structure are easy to be adjusted while the microprocessor is been replaced.




The principle technological thoughts of the present invention are: (1) A country selection program is designed within the human-machine interface system, which is capable in transferring the subtitle into the relative different nation's language. (2) Characters used by many different nations' language, such as English, French, German, etc., are repeated in a great amount, this characteristic can be specified as to provide repeats in calling usage for the controlling program while building up the character database. (3) Adjusting the different position of the multination language in accordance with different strings, which would make screen more beautiful and simplify the method that adjust the position of string less complicated.




The present invention relates to a method and apparatus for displaying subtitles by a multination language human-machine interface. First of all, a character database is been edited, and in accordance with the character size to edit the bitmap file for each individual character. The bitmap file is then transferred to 80c51xa assembly language and stored in the character database. Then, the “string code”, the “string combination code and position shifting code”, and the “string combination code of multination language and position shifting code” of the controlling program are established, and the content of the character database is been called. During a practical usage, the desired string is been called by the controlling program, then carried out the language judgement of the exercising nation. Next, in accordance with the characters included in the desired string, extracting from the character database, drawing the string and showing on the screen eventually.











BRIEF DESCRIPTION OF THE DRAWINGS




The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:





FIG. 1

shows the conventional technological flowchart for displaying the subtitle by a multination language human-machine interface;





FIG. 2

indicates conventional English subtitle displaying screen by a multination language human-machine interface;





FIG. 3

indicates conventional French subtitle displaying screen by a multination language human-machine interface;





FIG. 4

indicates conventional German subtitle displaying screen by a multination language human-machine interface;





FIG. 5

shows the flowchart of establishing the information structure of the conventional invention;





FIG. 6

shows the technological flowchart of a method for displaying subtitles by a multination language human-machine interface of the conventional invention.





FIG. 7

shows the flowchart of establishing the information structure of the present invention;





FIG. 8

shows the technological flowchart of an improved method and apparatus for displaying and adjusting subtitles by a multination language human-machine interface of the present invention.





FIG. 9

indicates present English subtitle displaying screen by a multination language human-machine interface;





FIG. 10

indicates present French subtitle displaying screen by a multination language human-machine interface;





FIG. 11

indicates present German subtitle displaying screen by a multination language human-machine interface;











DESCRIPTION OF THE PREFERRED EMBODIMENT




First of all, the information structure been used by the present invention is been illustrated, where

FIG. 7

shows the flowchart of establishing the information structure of the present invention. Procedure 1 is to edit a character database, and in accordance with the character's size and symbol to edit the bitmap file for each individual character (Step


710


). The bitmap file is then transferred to 80c51xa assembly language format (Step


720


) and stored in the character database (Step


730


) for providing repeats in calling usage of the controlling program. Procedure 2 is to establish the “string code” (Step


740


) and the “string combination code and position shifting code” (Step


750


) of the controlling program. Next, Procedure 3 is to establish the “string combination code of multination language and position shifting code” (Step


760


) within the “string combination code and position shifting code”. The last procedure is to call and exercise the character database contents (Step


770


) in accordance with “string combination code of multination language and position shifting code”. Adjusting the different position of the multination language in accordance with the quantity of position shifting along X and Y coordinate of “string combination code of multination language and position shifting code”, which would make screen more beautiful and simplify the method that adjust the position of string less complicated.




The following program exemplification is based on three commonly used international languages, that are, English, French and German, where the program for different nations' language selection and the character bitmap file of the calling character database for the present invention is shown. The first step of program model is to define the string code and character combination code. Normally the character combination code of multiple language is defined after the combination code of character defined. And then the necessary character number and the character database for substantially calling are all defined. Therefore the whole program is written as the following:

















Setup_str:













DW STRING, X pos, Y pos, S_Setup;







DW 80H











S_Setup:













DW ENG_Setup, FRE_Setup, Deu_Setup;











ENG_Setup:













DB 5, 0, 0, 00H;







DW C_B_S, C_B_E, C_B_T, C_B_U, C_B_P;











FRE_Setup:













DB 7, −3, 1, 00H;







DW C_B_C, C_B_O, C_B_N, C_B_F, C_B_I, C_B_G, C_B_Dot;











Deu_Setup:













DB 9, −10, 0, 00H;







DW C_B_E, C_B_I, C_B_N, C_B_R, C_B_I, C_B_C, C_B_H, C_B_T, C_B_Dot;















Wherein:




“Setup-str”: String code is announced;




“DW STRING, X pos, Y pos, S_Setup”: Call string combination code and position shifting code program and process the selection of nation's language for inputting string;




“DW 80H”: ending;




“S_Setup”: Announce the string combination code of multination language;




“DW ENG_Setup, FRE_Setup, Deu_Setup”: Calling to input string that relates to the character combination program of the nation's language;




“ENG_Setup”: English character section announces;




“FRE_Setup”: French character section announces;




“Deu_Setup”: Germany character section announces;




“DB 5, 0, 0, 00H”: Providing the number of English character and the quantity of position shifting along X and Y coordinate, wherein, “5” is the number of English character, “0, 0” is the quantity of position shifting along X and Y coordinate;




“DW C_B_S, C_B_E, C_B_T, C_B_U, C_B_P”: Calling S_E_T_U_P characters from the character database, wherein, C_is the calling of character database, B_ s the calling of capital form for every letter, L_ is the calling of lower case letter;




“DB 7, −3, 1, 00H”: Providing the number of French character and the quantity of position shifting along X and Y coordinate, wherein, “7” is the number of French character, “−3, 1” is the quantity of position shifting along X and Y coordinate;




“DW C_B_C, C_B_O, C_B_N, C_B_F, C_B_I, C_B_G, C_B_Dot”: Calling C_O_N_F_I_G_. characters from the character database;




“DB 9, −10, 0, 00H”: Providing the number of Germany character and the quantity of position shifting along X and Y coordinate, wherein, “9” is the number of Germany character, “−10, 0” is the quantity of position shifting along X and Y coordinate;




“DW C_B_E, C_B_I, C_B_N, C_B_R, C_B_I, C_B_C, C_B_H, C_B_T, C_B_Dot”: Calling E_I_N_R_I_C_H_T_. characters from the character database.





FIG. 8

shows the technological flowchart of an improved method and apparatus for displaying and adjusting subtitles by a multination language human-machine interface of the present invention. First of all, the desired string is been called by the controlling program (Step


810


), then carried out the language judgement of the exercising nation (Step


820


). Next, in accordance with the characters included in the desired string, extracting from the character database and providing the quantity of position shifting along X and Y coordinate (Step


830


), drawing the string and showing on the screen eventually (Step


840


). Moreover, the present invention can take the advantage of application specific integrated circuit (ASIC) and micro-controller to use for any sort of the screen of audio facility such as TV, projector, DVD player and Audio/Video System.

FIGS. 9

,


10


,


11


show the result of indicating present English, French, Germeny subtitles displaying screen by a multination language human-machine interface respectively.




While the invention has been described by way of examples and in terms of one preferred embodiment, it is to be understood that the invention need not be limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims, the scope of which showed be accorded the broadest interpretation so as to encompass all such modifications and similar structures.



Claims
  • 1. A method for displaying a subtitle of multilingual human-machine interface, comprising the steps of:determining a string; selecting a language for the string for establishing a character information structure, wherein said step of establishing comprises the steps of: editing a bitmap file for each individual character in accordance with the character's size and symbol; transforming the bitmap file to an assembly language format; storing the assembly language within said bitmap file; establishing a string code; establishing a string combination code and a position shifting code; establishing a multilingual string combination code and a multilingual position shifting code in accordance with the string combination code and the position shifting code; developing the character information structure via a character database in accordance with the multilingual string combination code and the multilingual position shifting code; extracting a character information from the character database in accordance with a character of said string of the selected language; and adjusting and displaying the string to a displaying device.
  • 2. The method according to claim 1, wherein said displaying device comprises a micro-controller.
  • 3. The method according to claim 1, wherein said displaying device comprises an application specific integrated circuit (ASIC).
  • 4. The method according to claim 1, wherein said displaying device is a DVD player.
Parent Case Info

This application is a continuation-in-part (CIP) application of U.S. patent application Ser. No. 09/418,039, filed Oct. 14, 1999.

US Referenced Citations (9)
Number Name Date Kind
4122533 Kubinak Oct 1978 A
4980829 Okajima et al. Dec 1990 A
5148541 Lee et al. Sep 1992 A
5307265 Winans Apr 1994 A
5818935 Maa Oct 1998 A
5847699 Kitahara et al. Dec 1998 A
5890103 Carus Mar 1999 A
6446081 Preston Sep 2002 B1
6631500 Kumhyr Oct 2003 B1
Continuation in Parts (1)
Number Date Country
Parent 09/418039 Oct 1999 US
Child 09/901691 US