Summary of the invention
Said method all has certain limitation, in order to address this problem, the utility model proposes a better way.On the OSD of normal domestic use TV (screen display) menu, increase by one exactly and be used to write down the title of each TV station and the dedicated menu of channel, as long as access this menu in switching channels, people just can easily search and switch to selected television channel quickly.
In order to realize above-mentioned task, the utility model is taked following technical solution:
A kind of dedicated menu of searching television channel fast, the MCU processor that comprises the common TV channel, be connected with and be used to accept the infrared receiving tube of remote control on the MCU processor, and osd controller and the image input module and the screen display module that are connected osd controller; It is characterized in that, on the MCU processor, also be connected with the library stores device, between MCU processor and osd controller, also be connected with two menu memories.
The utility model increases by one and is used to write down the title of each TV station and the dedicated menu of channel on the basis of the OSD that does not change the normal domestic use TV (screen display) menu, under the increasing situation of television channel, people can utilize this menu to search and switch to selected television channel easily.
Description of drawings
Fig. 1 is the schematic diagram of channel menu;
Fig. 2 is for realizing the hardware block diagram of channel menu;
Fig. 3 is the remote controller part button figure that has input function, and wherein 2-9 key and " VOL+ ", " VOL-" have complex function.Also increased " ← " and " channel menu " two function keys in addition, the complex function that each key increases is as follows:
" 2-9 " key: under the state of input Chinese character, what they imported respectively is the initial consonant or the simple or compound vowel of a Chinese syllable of the Chinese phonetic alphabet; What import under the situation of inputting English letter is 26 English alphabets; What in like manner import under digital input pattern is Arabic numerals.
" VOL+ ", " VOL-": be used for turning over forward a screen and turn over a screen backward browsing under the state of channel menu them.Upwards turn over one page or turn over one page downwards at the next expression character of input pattern window displaying contents.
" input method ": the complex function of input method is only effective under input state, is the switch key between each input method.Under input state by this key successively between input in Chinese, numeral input and English input circulation switch.
" ← ": the function of this key is only effective under the state of input, and the input operation of previous step is removed in expression.
" channel menu ": this key is that television set normally shows, checks channel menu and sets up switch key between these three kinds of states of channel menu.Under the normal state that shows, press this key, with regard to the indicated channel menu, again by once just entering the menu editing state, again by getting back to normal display state behind this key again.
Fig. 4 is the dialog box of input method.Wherein: 1, Chinese character input dialogue frame; 2, digital input dialogue frame; 3, English alphabet input dialogue frame; 4, input method sign is represented the current input in Chinese that is when showing " á i ", represent the current numeral input that is when showing " 123 ", represents the current English input that is when being shown as " ABC "; 5, the cursor of input indication; 6, channel menu editor; 7, input window; 8, the selection window of input character.
Embodiment
Accompanying drawing 1 is the schematic diagram of channel menu for this reason.In the process of normally watching TV programme, behind " channel menu " key (seeing accompanying drawing 3) of pressing on the remote controller, will show the menu shown in the accompanying drawing one.Its screen can show the title of 24 TV stations and the channel at place.The arrangement of each TV programme is arranged by natural order by channel is ascending.For it can divide two screen or multihead display under the more situation of TV programme.Can see adjacent 24 pairing TV stations of channel at a glance by this menu.The channel that when the program of wanting to watch is wherein arranged, just can utilize "--" key on the remote controller or " channel+" and " channel-" to switch to this program place rapidly and accurately.For example suppose that current TV programme of watching is 10 channels, if want to switch to " xx TV station ", will show the menu shown in the accompanying drawing 1 after pressing " channel menu " key so, 10 channel column are represented current channel position with highlighted demonstration in the menu.Find " xx TV station " to be in 22 channels by this menu 1, just can accurately switch to " xx TV station " fast by "--" and " 2 ", " 2 " like this.Suppose that " xx TV station " be not among the current set of menu shows, 1 just press the channel menu that " VOL+ " or " VOL-" switches to 25 to 48 channels so, if also not then continue to switch, find " xx TV station " to be positioned at 74 channels at last, then just can switch to this TV station by "--" and " 7 ", " 4 ".
The block diagram of realization technical solutions of the utility model as shown in Figure 2.Compare him with general television set and increased by three memories: one is the library stores device, is to be used for storing the dot matrix code of setting up used character in the menu process specially.This is a read only memory ROM, can before television set dispatches from the factory character code be burnt in the middle of this memory.Two is the menu memory in addition, is used for storing the channel menu of being set up.These two that make that the menu memory uses is the EEPROM with power down protection.The content that these two menu memories are deposited is the same, and video processor writes data in the time of work in two menu memories, osd controller then from them sense data send display screen to show.The purpose that adopts two memories is in order to guarantee that in edit menu screen can normally show content edited.When video processor was being write menu memory 1, osd controller just read menu data from menu memory 2, superposeed with view data and sent display screen to show.By the time during next cycle, video processor begins to write the menu memory 2 of the television channel of television channel, and osd controller is attended school menu memory 1.So just can guarantee that real-time edition and real-time display synchronization carry out.
Specific implementation of the present utility model is divided three steps: the one, and the foundation of Chinese character base; The 2nd, the realization of input method; The 3rd, the foundation of menu.
1. the foundation of Chinese character base.
Before setting up channel menu, must set up Chinese character base earlier.Chinese character base is to be solidificated in the middle of the read-only memory of television set inside, and in edit menu, the code that video processor is imported by remote controller is searched the dot matrix code of the input character of wanting, and then this dot matrix code is delivered in the middle of the menu memory.
The treatment system of Chinese character is the system of a complexity.The diversity of font of Chinese character own and font is the bottleneck place that Chinese character is handled always.People handle Chinese character and realize by setting up Chinese character base usually.The standard Chinese character library file generally all is made up of the Chinese character of same font and same size, then the Chinese character base file of these different fonts and size is formed a Chinese character base system.Like this if realize that the Chinese character of all fonts of processing and size will be a very huge system.For the system of simplifying, the unified here employing Song typeface is as display font, and size is 24 * 24 dot matrix.The data capacity of each Chinese character dot matrix is 72 bytes like this.The Chinese character base document character set of standard is made up of graphic symbol, firsts and seconds Chinese character, arranges totally 87 districts, 94 in every district by the position.Wherein, graphic symbol accounts for 01 district to 15 district, totally 682; First-level Chinese characters is that the higher Chinese characters in common use of frequency of utilization account for 16 districts to 55 district, totally 3755, in the spelling order; The Chinese characters of level 2 are that the lower non-common Chinese character of frequency of utilization accounts for 56 districts to 87 district, totally 3008, press radicals by which characters are arranged in traditional Chinese dictionaries and arrange.
According to statistics, Chinese character commonly used has only more than 3,000 in the middle of all Chinese characters, consider that the possibility that occurs rarely used word in the middle of TV station's title is little, even indivedual rarely used words occur, also can replace with its English abbreviation, for simplified system, here with the first-level Chinese characters storehouse of Chinese character as standard.For the graphic symbol district selection part symbol of choice is arranged also, think that the graphic symbol district only needs 26 English capitalizations and 10 Arabic numerals just much of that.Total like this number of characters is 3791.In the middle of the character library of 24 * 24 dot matrix, the western language character is all with 12 * 24 dot matrix, and for the convenience of addressing and storage all is extended to 24 * 24 dot matrix, total like this character library capacity is 267KB, and is just much of that with the memory of a 512KB.
2. the realization of input method.
The input of character adopts the principle of " cellphone inputting method " to realize.According to the requirement of menu, only need to realize three kinds of input modes: the one, the input of Chinese character, the input of Chinese character adopt the mode of spelling input method to realize; The 2nd, the input of numeral; The 3rd, the input of English alphabet.In order to realize these input modes.Need present remote controller be improved, promptly on the basis of original function, increase input function.Accompanying drawing 3 is part button figure of the remote controller after the applicant improves.Compare with the common TV remote controller, have 9 keys to increase complex function, shown on Fig. 3." ← " and " channel menu " two special function keys have also been increased in addition.
The implementation procedure of input method is exactly to look into the process of character library in fact, and just the code of how remote controller being imported converts the coordinate sign indicating number of respective symbols in character library to.This intermediate video controller need be finished two work, and the one, accurately judge the character that will import by the code of accepting the remote controller input; The 2nd, find the first address of its concrete deposit position in Chinese character base according to the code of remote control of input character.Errorless in order to accomplish to import, the first step is very crucial, because exist a large amount of unisonances or the nearly word of sound in the middle of the Chinese character base, wants accurately to judge the character of being imported, and often needs to accept several key codes and can determine the character imported.Comparatively speaking, the input of numeral is the simplest, because under digital input pattern, only needs just can accurately locate this digital remote controller input code by primary key.English alphabet input need can be determined the letter that will import by twice button.
If the first step can be accurate, second step just can be found the first address of this character concrete deposit position in Chinese character base according to the code of remote control that the first step obtains so, the dot matrix code that 72 bytes after beginning from first address are exactly this character, video processor just can show for OSD after these dot matrix codes are delivered to the menu memory.Numeral and English alphabet find the first address of its deposit position to be easy in character library because quantity seldom (is respectively 10 and 26), and searching of Chinese character then also needs some twists and turns of expense.Because first-level Chinese characters has linear corresponding relation not only by the position arrangement but also in the spelling order between the phonetic of a Chinese character and the region-position code in the Chinese character base of standard, nature can expect utilizing this corresponding relation to realize the input of Chinese characters in common use.Be about to the one-level character library under the situation of not considering tone by Chinese phonetic alphabet syllable classification, like this as long as judge at first when accepting key set code whether the key set code of input forms a legal Chinese phonetic alphabet syllable, in case next the legal first address that just jumps to the region-position code of this syllable immediately just selects the Chinese character that will import by " left " or " to the right " key and numerical key.
The Chinese character encoding in standard Chinese character storehouse is a kind of Chinese character encoding of not having repeated code, has only a coding for polyphone, and just the polyphone in the middle of the character library only occurs once.Also must set up the polyphone look-up table when therefore tabling look-up.For example the region-position code of polyphone " length " is 1904, being arranged in inside this hurdle of Chinese phonetic alphabet syllable " chang " in character library, when the input Chinese phonetic alphabet " zhang ", must in this hurdle of " zhang ", add the mapping of " length ", so that in input " zhang ", also can find the dot matrix code first address of " length ".
3. the foundation of menu.
Being based upon of channel menu just can be carried out after TV set to search programmes finishes.Channel menu comprises TV station's title and two information of channel.The channel of general television set is to be arranged in order generation since 1 sequentially in the process of TV set to search programmes, and its channel of back is just fixing in case search finishes.Therefore guarantee when setting up menu that channel is constant, TV station's title of only importing this channel just.For example suppose that for certain television set after searching platform and finishing Chinese Central Television's synthesizer channel (CCTV1) being compiled is 22 channels.Can set up its channel menu according to the following steps like this.
At first television set is switched to 22 channels (being CCTV1), under current state, will on screen, show the channel menu shown in the accompanying drawing 1 by " channel menu " key.At this moment can see TV station's title of 22 channel column the inside, if do not edit then the demonstration blank.When find its title not to or when not having, by showing the input dialogue basket shown in the accompanying drawing 4 in the screen lower left behind " channel menu " key, at this moment just can edit and revise its TV station's title once more.By switching input method, withdraw from by " channel menu " key again after finishing and get back to the normal pictures demonstration successively in blank space input " Chinese Central Television (CCTV) 1 " or " CCTV1 " or other personnalit titles.The TV station's title that shows in 22 channel column when checking channel menu again like this is exactly " Chinese Central Television (CCTV) 1 " or " CCTV1 " or other editors' a title.