The method of locking telecontroller
Technical field
The present invention relates to the audio-visual equipment field, more particularly, relate to a kind of method that realizes the locking television set remote-controller.
Background technology
In daily life, we know, child is delithted with to take and is similar to telepilot, and the article of the band button of mobile phone and so on are used as toy and are played, and so just understand unavoidablely and carry out certain operations to TV, have influenced the head of a family and the old man watches TV programme.If the mandatory requirement child mustn't play, run counter to desire possibly, cause child's resentment, even can destroy happy, harmonious family atmosphere.So if we can make the operation of telepilot inoperative to TV by corresponding button with locking remote controller, child that telepilot is given that just can be relieved goes to play, and also can not cause any contradiction.
On the other hand, when showing, when all being the television identical of a lot of similar or multiclass, show great majority in the market.With client's talk and when introducing function, just must do corresponding demonstration, and allow the client try operation, with regard to probably causing TV is on every side carried out maloperation like this, after the client left, the staff also needed to adjust one by one, reset, and has increased workload.At this moment, if we import corresponding locking remote controller button to other machine except that showing model machine, make the operation of telepilot inoperative to them, only leave and show that model machine uses for demonstration, just the maloperation phenomenon thoroughly can be stopped, significantly reduced workload.
Summary of the invention
Technical matters to be solved by this invention is, overcomes the deficiencies in the prior art, and a kind of method of locking telecontroller is provided, and makes TV remote controller have lock function.
The method of locking telecontroller of the present invention, be achieved by following technical proposals, 1. under normally use pattern of user, the remote controller displays button is if send trigger pip, the locking remote controller timer was set at for 3 seconds, and the variable that order storage enters the locking remote controller mode phases is 1, promptly enters the phase one; And then normally carry out the display button function corresponding;
2. when mute button is sent trigger pip, can at first judge whether to entering the phase one of above-mentioned remote controller press key locking pattern, and the locking remote controller timer is non-vanishing; Under the situation about satisfying, the variable that storage can be entered the locking remote controller mode phases is made as 2, promptly enters subordinate phase, and then carries out mute function; If do not satisfy, the variable zero clearing of timer and locking remote controller mode phases will be carried out mute function then;
3. last, when confirming that button sends trigger pip, judge whether earlier to entering the subordinate phase of above-mentioned remote controller press key locking pattern, and the locking remote controller timer is non-vanishing; If satisfy, will enter or remove the remote controller press key locking pattern, do not carry out function corresponding; If do not satisfy, the variable zero clearing of timer and locking remote controller mode phases will be carried out the function of confirming button then.
The present invention shows in input successively, quiet, confirm button in, if the middle operation that other button input is arranged, the capital is with the variable zero clearing of timer and locking remote controller mode phases, and it is invalid then this time to store the specification of variables that enters the locking remote controller mode phases.
The present invention increases judgement when televisor is handled new remote controller signal program, when promptly televisor has new remote controller signal input at every turn, judge whether earlier to be the remote controller press key locking pattern, if then do not carry out function, if not then carrying out regular event.
We can make the operation of telepilot inoperative to TV by corresponding button with locking remote controller to utilize method of the present invention, and child that telepilot is given that just can be relieved goes to play, and also can not cause any contradiction; And in commodity displaying, we import corresponding telepilot to other machine except that showing model machine and lock, and make the operation of telepilot inoperative to them, only leave and show that model machine uses for demonstration, just the maloperation phenomenon thoroughly can be stopped, significantly reduced workload.
Description of drawings
Fig. 1 is a process flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is described further.
Under normally use pattern of user, the remote controller displays button was set at for 3 seconds with the locking remote controller timer if send trigger pip, and the variable that the order storage enters the locking remote controller mode phases is 1, promptly entered the phase one.And then normally carry out the display button function corresponding.
When mute button is sent trigger pip, can at first judge whether phase one (locking remote controller mode phases variable is 1) for entering the remote controller press key locking pattern, and locking remote controller timer non-vanishing (guaranteeing that the time interval was not more than for 3 seconds between twice button).Under the situation about satisfying, the variable that storage can be entered the locking remote controller mode phases is made as 2, promptly enters subordinate phase, and then carries out mute function.If do not satisfy, timer and state variable zero clearing will be carried out mute function then.
At last, when confirming that button sends trigger pip, judge whether subordinate phase (locking remote controller mode phases variable is 2) earlier for entering the remote controller press key locking pattern, and locking remote controller timer non-vanishing (guaranteeing that the time interval was not more than for 3 seconds between twice button).If satisfy, will enter or remove the remote controller press key locking pattern, do not carry out function corresponding.Do not satisfy, timer and state variable zero clearing will be carried out the function of confirming button then.
In input demonstration+quiet+affirmation button, if there is other button input the centre, all can be with timer and state variable zero clearing, this sets invalid.
When new remote controller signal input, increase determining step, when televisor has new remote controller signal input, judge whether earlier to be the remote controller press key locking pattern, at every turn if then do not carry out function, regular event when no.