A kind of television set can the User Defined shortcut function method
Technical field
The present invention relates to TV technology, particularly relate to a kind of television set can the User Defined shortcut function method.
Background technology
Development along with TV tech, the application of television set is quite universal, not only every household has at least one television set, and in the hotel, numerous places such as hotel, shop also can be placed with television set usually, can say that TV has become the part of people's life.In the TV of prior art, the function of shortcut is not set usually, it all is that menu is finished that the function of selecting is selected a lot, for example when the user selection program source, because program source is more, need presses the program source key and enter the program source choice menus now, press again the program source that up and down key selection needs, select by finishing program source after determining at last, so loaded down with trivial details operating procedure is to difficult the finishing such as old man or children.Although the part type has fixing shortcut key now, as selecting problem for program source, AV is arranged, the quick functional keys such as HDMI because program source is more and more, are subjected to the restriction of remote controller key sum, can't a shortcut be set for each program source.If each program source defines a shortcut, obviously need a lot of shortcut of definition, the button sum of remote controller will increase greatly like this, and so many shortcuts also are giddy concerning the client, have increased operation easier.
Therefore, under the day by day complexity of present TV functions, although can shortcut of each function setting, will cause sharply increasing of shortcut quantity like this, the not only raising of cost, and because button is too many, so that again greatly decline of ease for use.
Summary of the invention
The object of the invention is to overcome the deficiency of prior art, provide a kind of television set can the User Defined shortcut function method, to plan that at remote controller several buttons are shortcut, allow the user select as required to arrange corresponding function, the user just can become limited several shortcut definition the function selection of frequent use like this, reach the selection of finishing frequent use function with several shortcuts of minority, improved ease for use.
The technical solution adopted for the present invention to solve the technical problems is: a kind of television set can the User Defined shortcut function method, be the key assignments that in the memory of television set, stores first the remote controller that is used as the shortcut function selection that presets, then comprise the steps:
(1) infrared receiving terminal of television set receives the key assignments signal of the corresponding button that is sent by remote controller;
(2) CPU of television set reads this key assignments signal;
(3) CPU of television set judges whether this key assignments signal is consistent with the key assignments of the remote controller that is used as the shortcut function selection that presets; Be judged as is continue next step, otherwise the CPU of television set to carry out conventional keystroke handling program, then end;
(4) CPU of television set judges whether pressing of the corresponding remote controller key of this key assignments signal surpasses a predefined threshold value; Be judged as and be, continue next step, otherwise, change step (6) over to;
(5) CPU of television set stores the quick content that current TV state is this remote controller key, and then end is finished in the prompt facility setting;
(6) CPU of television set judges whether quick content is set, and is judged as to be, continues next step, otherwise, go to end;
(7) CPU of television set carries out and is transformed into corresponding quick content.
Described threshold value was 5 seconds; Certainly, also can be predefined other times value.
A kind of television set of the present invention can the User Defined shortcut function method, comprise that functions of shortcut key is set and functions of shortcut key uses, in the functions of shortcut key assignment procedure, TV is transformed into the state that presets, the long shortcut of pressing, it is the function of shortcut that system stores current state according to key assignments; In the functions of shortcut key use procedure, the short shortcut of pressing, system accesses the function of the correspondence of having stored according to key assignments.Predetermined state (state that namely presets) can be according to different needs definition, can comprise and be not limited to program source, analog quantity state, on-off state etc., as selecting when shortcut will be set to program source, then current be that what program source is as current state.After mainboard (CPU of television set) receives key assignments, judge whether key value is self-defining key, it is long by (long criterion of pressing is determined by Software for Design) if self-defining key determines whether again, then this key assignments and current state are associated when confirming as length on time, and will be related information mail to screen, finish the self-defining key definition procedure.If short in judging then whether this self-defining key has related state, judge that existence then forwards corresponding state to, carries out the corresponding function of self-defining key.Current state is determined by each variable in software and embodies, stores the record that these variablees can be finished current state.
The invention has the beneficial effects as follows, owing to having adopted the first key assignments that in the memory of television set, stores the remote controller that is used as the shortcut function selection that presets, then, received the key assignments signal of the corresponding button that is sent by remote controller by the infrared receiving terminal of television set; The CPU of television set reads this key assignments signal; The CPU of television set judges whether this key assignments signal is consistent with the key assignments of the remote controller that is used as the shortcut function selection that presets; And the CPU of television set judges whether pressing of the corresponding remote controller key of this key assignments signal surpasses a predefined threshold value; The long on time CPU of television set stores current TV state and is the quick content of this remote controller key, and the prompt facility setting is finished; The CPU of short on time television set judges whether to arrange quick content, and the CPU of television set carries out and is transformed into corresponding quick content.The method can be utilized several shortcuts of planning on the remote controller, allow the user select as required to arrange corresponding function, the user just can become limited several shortcut definition the function selection of frequent use like this, reach the selection of finishing frequent use function with several shortcuts of minority, improved ease for use.
Below in conjunction with drawings and Examples the present invention is described in further detail; But a kind of television set of the present invention can the User Defined shortcut function method be not limited to embodiment.
Description of drawings
Fig. 1 is hardware configuration schematic diagram of the present invention;
Fig. 2 is flow chart of the present invention.
Embodiment
Embodiment,
Referring to shown in Figure 1, a kind of television set of the present invention can the User Defined shortcut function method, contained the CPU of television set by hardware configuration remote controller 1, infrared receiving terminal 2, mainboard parts 3(), screen 4 formed;
The effect of remote controller 1 is, the user presses remote controller, and remote controller sends button value;
The effect of infrared receiving terminal 2 is, receives key value, passes to mainboard;
The effect of mainboard parts 3 is, after receiving key assignments, judge whether key value is self-defining key, it is long by (long criterion of pressing is determined by Software for Design) if self-defining key determines whether again, then this key assignments and current state are associated when confirming as length on time, and will be related information mail to screen, finish the self-defining key definition procedure.If short in judging then whether this self-defining key has related state, judge that existence then forwards corresponding state to, carries out the corresponding function of self-defining key;
The effect of screen 4 is to show the information that mainboard sends.
Referring to shown in Figure 2, a kind of television set of the present invention can the User Defined shortcut function method, be in the memory of television set, to store first the key assignments that is used as the remote controller that shortcut function selects that presets, then comprise the steps:
The infrared receiving terminal of step (1) television set receives the key assignments signal of the corresponding button that is sent by remote controller;
The CPU of step (2) television set reads this key assignments signal;
The CPU of step (3) television set judges whether this key assignments signal is consistent with the key assignments of the remote controller that is used as the shortcut function selection that presets; Be judged as is continue next step, otherwise the CPU of television set to carry out conventional keystroke handling program, then end;
The CPU of step (4) television set judges whether pressing of the corresponding remote controller key of this key assignments signal surpasses a predefined threshold value; Be judged as and be, continue next step, otherwise, change step (6) over to;
The CPU of step (5) television set stores current TV state and is the quick content of this remote controller key, and then end is finished in the prompt facility setting;
The CPU of step (6) television set judges whether quick content is set, and is judged as to be, continues next step, otherwise, go to end;
The CPU of step (7) television set carries out and is transformed into corresponding quick content.
The present embodiment was made as for 5 seconds with threshold value.Certainly, threshold value also can arrange according to actual needs and be not limited to for 5 seconds.
A kind of television set of the present invention can the User Defined shortcut function method, comprise that functions of shortcut key is set and functions of shortcut key uses, in the functions of shortcut key assignment procedure, TV is transformed into the state that presets, the long shortcut of pressing, it is the function of shortcut that system stores current state according to key assignments, for example, we will arrange red shortcut is the AV2 shortcut, then can be set to the AV2 state to TV, long by red color keys more than 5 seconds, the system prompt red color keys is set to AV2, after the user confirms both red color keys be set to AV2; In the functions of shortcut key use procedure, the short shortcut of pressing, system accesses the function of the correspondence of having stored according to key assignments, for example, if after red color keys is set to the AV2 key before, by red color keys then TV be directly switch to AV2.Predetermined state (state that namely presets) can be according to different needs definition, can comprise and be not limited to program source, analog quantity state, on-off state etc., as selecting when shortcut will be set to program source, then current be that what program source is as current state.After mainboard (CPU of television set) receives key assignments, judge whether key value is self-defining key, it is long by (long criterion of pressing is determined by Software for Design) if self-defining key determines whether again, then this key assignments and current state are associated when confirming as length on time, and will be related information mail to screen, finish the self-defining key definition procedure.If short in judging then whether this self-defining key has related state, judge that existence then forwards corresponding state to, carries out the corresponding function of self-defining key.Current state is determined by each variable in software and embodies, stores the record that these variablees can be finished current state.
A kind of television set of the present invention can the User Defined shortcut function method, on existing remote controller, usually have several untapped buttons, these buttons can be set as shortcut, this remote controller is as broad as long with normal remote control on the hardware.Whether each button on the remote controller can be defined as shortcut in theory, be that shortcut defines at software, and each button has corresponding key assignments, can finish different actions according to key assignments on the software, thereby realizes the difference in functionality of each button.Such as, selection for program source is selected, can be shortcut at the several buttons of remote controller planning, allow the user select as required to arrange corresponding program source, the user just can become limited several shortcut definition the program source of frequent use like this, reach the selection of finishing frequent use program source with several shortcuts of minority, improved ease for use.
Method of the present invention, after the setting of experienced user with functions of shortcut key, domestic consumer only by remote controller key once by reaching the function that needs, ease for use is greatly improved.
Above-described embodiment only be used for further specifying a kind of television set of the present invention can the User Defined shortcut function method; but the present invention is not limited to embodiment; every foundation technical spirit of the present invention all falls in the protection range of technical solution of the present invention any simple modification, equivalent variations and modification that above embodiment does.