CN102096998A - Remote control information receiving and processing method and system as well as digital television receiving device - Google Patents

Remote control information receiving and processing method and system as well as digital television receiving device Download PDF

Info

Publication number
CN102096998A
CN102096998A CN2009102418406A CN200910241840A CN102096998A CN 102096998 A CN102096998 A CN 102096998A CN 2009102418406 A CN2009102418406 A CN 2009102418406A CN 200910241840 A CN200910241840 A CN 200910241840A CN 102096998 A CN102096998 A CN 102096998A
Authority
CN
China
Prior art keywords
key assignments
button
duplication code
physics
formation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009102418406A
Other languages
Chinese (zh)
Inventor
姜琳
仇剑书
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN2009102418406A priority Critical patent/CN102096998A/en
Publication of CN102096998A publication Critical patent/CN102096998A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a remote control information receiving and processing method and system as well as a digital television receiving device. The method comprises the following steps of: after receiving a physical key value being sent by a remote control device and corresponding to a target key, continuously receiving a plurality of key duplication codes sent by the remote control device when the target key is in a long pressed state; if the number of the received key duplication codes reaches a threshold value, adding a virtual key value corresponding to the physical key value to a key value queue for waiting for processing; and enabling the virtual key value to correspond to a callback function called when the target key is in the long pressed state. In the remote control information receiving and processing method provided by the embodiment of the invention, a virtual threshold value is set for the key, and different program starting functions are realized by a user shortly pressing or long pressing the same functional key through works such as key value acquisition, long pressing judgment, program starting and the like, thereby expanding the functions of a one key type starting program, not only simplifying the operation flow, but also flexibly and effectively expanding the control function of a remote controller.

Description

Remote information receiving handling method and system and digital television receiving apparatus
Technical field
The present invention relates to the IPTV technical field, relate in particular to a kind of remote information receiving handling method and system and digital television receiving apparatus.
Background technology
Along with Web TV (Internet Protocol Television; Hereinafter to be referred as IPTV) the continuous development of technology, the enriching constantly of class of business, the continuous enhancing of function, how convenient, flexible application remoting device controller top box is enjoyed the IPTV business service seems more and more important.
Set-top box technique can support multiwindow to use, and usually needs the quick switching of many scenes, for example works as the user and need check mail, weather information etc. under the prerequisite that does not influence video-see.In the prior art, the user mainly is the selection of finishing business or function by function buttons such as the directionkeys of telepilot and definite keys, reaches mutual purpose.Under this kind technology prerequisite, the user usually needs five, six times by telepilot switching machine top box business even actuation of keys more frequently, and operating process is loaded down with trivial details, brings great inconvenience to the user.
For simple, fast operating experience, prior art are provided for the user is to increase the shortcut with specific function on telepilot, can realize the startup at any time of specific program when the user presses this shortcut.But because the physical button limited amount of telepilot, and also can improve the hardware development cost, also lose the dirigibility of set-top box functionality and remote controller key independent assortment simultaneously by independent increase special function keys.
Summary of the invention
The invention provides a kind of remote information receiving handling method and system and digital television receiving apparatus, but user's application remoting device is by the long function that realizes one-touch start-up routine by mode.
The embodiment of the invention provides a kind of remote information receiving handling method, comprising:
After receiving that telechiric device sends, target button corresponding physical key assignments, receive continuously that several are long during by state because of described target button is in, the button duplication code that described telechiric device sends;
If the quantity of the described button duplication code that receives reaches threshold value, it is medium pending then described physics key assignments corresponding virtual key assignments to be joined the key assignments formation; Described virtual key assignments is in long corresponding by the following call back function that will call of state with described target button.
The embodiment of the invention provides a kind of digital television receiving apparatus, comprising:
Receiver module, be used to receive that telechiric device sends, target button corresponding physical key assignments after, receive continuously that several are long during by state because of described target button is in, the button duplication code that described telechiric device sends;
Processing module is used for if the quantity of the described button duplication code that receives reaches threshold value, and it is medium pending then described physics key assignments corresponding virtual key assignments to be joined the key assignments formation; Described virtual key assignments is in long corresponding by the following call back function that will call of state with described target button.
The embodiment of the invention provides a kind of remote information receiving processing system, comprises a telechiric device, and above-mentioned digital television receiving apparatus.
The remote information receiving handling method that the embodiment of the invention provides and system and digital television receiving apparatus, for button is provided with virtual threshold value, and by key assignments obtain, long by judgement, and work such as program start, realize that the user presses by weak point or length realizes different program open functions by same function button, enriched the function of one-touch start-up routine, not only simplified operating process, and the control of remote controller function has been carried out flexibly, effectively expanded.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is remote information receiving handling method embodiment one process flow diagram of the present invention;
Fig. 2 is remote information receiving handling method embodiment two process flow diagrams of the present invention;
Fig. 3 is for being in idle-detection state schematic flow sheet after the startup of button trace routine among Fig. 2;
Fig. 4 be among Fig. 2 twice individual palpation key and twice individual palpation key interval greater than 1 schematic flow sheet that sends the cycle;
Fig. 5 equals 1 schematic flow sheet that sends the cycle for the time interval of double individual palpation key among Fig. 2 and double individual palpation key;
Fig. 6 is for long button among Fig. 2 and reach long by the threshold value schematic flow sheet;
Fig. 7 is for long button among Fig. 2 but do not reach and grow by the threshold value schematic flow sheet;
Fig. 8 is for long button among Fig. 2 but do not reach to grow and and then press the physical button schematic flow sheet again once more by threshold value;
Fig. 9 for long button among Fig. 2 but first physics key assignments lose and only receive the duplication code schematic flow sheet;
Figure 10 is a digital television receiving apparatus example structure synoptic diagram of the present invention;
Figure 11 is a digital television receiving apparatus example structure synoptic diagram of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Along with the develop rapidly of IPTV technology, for the user adopt telechiric device for example telepilot to digital television receiving apparatus for example set-top box carry out Long-distance Control technical support be provided, become the gordian technique of IPTV.Yet, the contradiction of the remote controller key quantity that the IPTV form of service is increasing and limited progressively manifests, the defective that can not adapt to increasing business service at remote controller key quantity limited in the prior art, various embodiments of the present invention provide a kind of settling mode promptly under the prerequisite that does not influence original set-top box remote controller keypress function, obtain, grow by judgement, program start work by key assignments, realize the function of one-touch start-up routine, not only simplified operating process greatly, simultaneously the control of remote controller function has been carried out flexibly, effectively expanded.
The solution that the embodiment of the invention provides is based on the principle of telepilot remote control set-top box, and is specific as follows: the set-top box end has the DLL (dynamic link library) of obtaining the remote controller key key assignments, and starts the DLL (dynamic link library) of other application programs.Telepilot adopts infrared technology more, infrared remote controller does not have unified coding standard at present, in televisor and set-top box infrared remote controller product scope, most infrared ray control chips all adopt have on the coded format of NEC or the sequential nuance class NEC coded format.Therefore various embodiments of the present invention are that prerequisite describes with the modal coded format of this kind also, are not limited thereto certainly.
Such telepilot coded format has following characteristics: each physical button of telepilot has all that unique to press key assignments corresponding with it; The action of telepilot single keys presses can be accompanied by the once physics key assignments of this key of transmission, the in esse physical button key assignments that the described physics key assignments telepilot end that to be the set-top box end read from infrared signal receiver spare sends; Remote controller key is by under the long situation of pressing, telepilot at first sends a physics key assignments, send the button duplication code with the fixed cycle continuously to receiving end subsequently, the duplication code that the described button duplication code telepilot that to be the set-top box end read from infrared signal receiver sends, the not corresponding any physical button of this duplication code only represents that a certain button is in down state always; Remote controller key is upspring and is not accompanied by the transmission of the key assignments of upspringing.
Fig. 1 is remote information receiving handling method embodiment one process flow diagram of the present invention, and as shown in Figure 1, this method comprises:
Step 100 receives telechiric device sends, target button corresponding physical key assignments;
When the user presses function button on the telepilot set-top box is carried out business operation, process chip is at first sensed the target button and is pressed in the telepilot, because actuation of keys can be accompanied by the once physics key assignments of this key of transmission, so telepilot sends the physics key assignments of this target button to set-top box by wireless communication interface.Set-top box receives the target button corresponding physical key assignments that telepilot sends by corresponding wireless communication interface.
Step 101 receives continuously that several are long during by state because of described target button is in, the button duplication code that described telechiric device sends;
When telepilot after set-top box sends target button corresponding physical key assignments, because this target button is in long by state always, that is to say after the user presses this target button and do not unclamp immediately, but continu to press remains on this target button long by state.Because remote controller key is by under the long situation of pressing, telepilot at first sends a physics key assignments, send the button duplication code with the fixed cycle continuously to receiving end subsequently, so telepilot also to periodically send the button duplication code to set-top box after sending target button corresponding physical key assignments.As long as this target button is in long by state always, then telepilot just periodically sends the button duplication code always.
Therefore, after the wireless communication interface of set-top box by correspondence receives the target button corresponding physical key assignments that telepilot sends, also to receive several button duplication codes continuously.
Step 102, if the quantity of the described button duplication code that receives reaches threshold value, it is medium pending then described physics key assignments corresponding virtual key assignments to be joined the key assignments formation; Described virtual key assignments is in long corresponding by the following call back function that will call of state with described target button.
Set-top box is when receiving the button duplication code continuously, to carry out stored count to the quantity of the button duplication code that receives, promptly after receiving a button duplication code, the quantity of the button duplication code that receives is done to add a processing, come accumulative total to receive total quantity with this.And, in set-top box, also to set a threshold value for the quantity of the button duplication code that receives, with show this target button whether meet long according to condition.
Specifically can be, when the quantity of the button duplication code that receives reaches threshold value, it be long by state to show that then this target button is in the duration in accordance with regulations in the length of regulation always, meet long according to condition, set-top box should carry out target by the bond distance by the corresponding down operation of state; The quantity of the button duplication code that receives when set-top box does not reach threshold value, shows then that this target button is in longly not reach long duration in accordance with regulations as yet by the duration state under, and this target button does not meet to be grown according to condition; And if follow-uply do not continue to receive the button duplication code, then set-top box should be carried out the target button and is in the corresponding down operation of general state (being that single is clicked).Above-mentioned described threshold value can be in advance according to described length duration in accordance with regulations, and the transmission cycle that telepilot sends physics key assignments and button duplication code be provided with.
When the quantity of the button duplication code that receives when set-top box reaches threshold value, then illustrate the target button meet long according to condition, it is medium pending that set-top box joins the key assignments formation with the pairing virtual key assignments of this target button corresponding physical key assignments.Described virtual key assignments is that the embodiment of the invention is provided with by operation and single keys presses operation by the bond distance for realizing difference, what the long button trace routine of set-top box end defined and stored is used for virtual length by the numerical value that moves, and this numerical value will be returned the application program that is used on the starter motor top box after satisfied length is by Rule of judgment.Set-top box all is provided with a virtual key assignments for each function button, and will safeguard the corresponding relation between each physics key assignments and each the virtual key assignments in set-top box inside, for example can safeguard by a mapping table etc.When set-top box detects user's single and presses button, the physics key assignments of this button is joined in the key assignments formation, wait for that the system event handling procedure of set-top box calls processing.When detecting with head of a household's button, the virtual key assignments of this button is joined in the key assignments formation, wait for that the system event handling procedure of set-top box calls processing.
Further, in order to realize carrying out the operation that needs with set-top box behind head of a household's button, therefore the call back function that joins the program that the virtual key assignments in the key assignments formation should will call with the user is corresponding, that is to say, after the system event handling procedure of set-top box calls virtual key assignments, can go to carry out corresponding call back function according to this virtual key assignments, open corresponding program.Therefore, the user can carry out the registration binding of virtual key assignments and call back function in advance in set-top box, to realize that the different length of each button is by start-up routine.
In the present embodiment,, then this target button corresponding virtual key assignments is joined in the key assignments formation if the quantity of the button duplication code that set-top box receives continuously reaches threshold value.The follow-up system button.onrelease calls virtual key assignments and carries out the call back function that calls correspondence, and opening program is realized the purpose with head of a household's button.
In the remote information receiving handling method that present embodiment provides, for button is provided with virtual threshold value, and by key assignments obtain, long by judgement, and work such as program start realize the user by short by or longly realize different program open functions by same function button, enriched the function of one-touch start-up routine, not only simplified operating process, and the control of remote controller function has been carried out flexibly, effectively expanded.
Fig. 2 is remote information receiving handling method embodiment two process flow diagrams of the present invention, in order to describe various situations related in the whole flow process as shown in Figure 2 in detail, contingent various situations are unit during below respectively with user's remote controller, entire flow is as shown in Figure 2 decomposed, and be described below one by one.The key assignments that reads described in the present embodiment reads from infrared signal receiver for long button trace routine, comprises two kinds of key assignments of physics key assignments and button duplication code.The described key assignments that returns returns key assignments to the key assignments formation for long button trace routine, comprises physics key assignments and virtual key assignments, does not comprise the button duplication code.Described historical physics key assignments is only to preserve the physics key assignments, does not write down the button duplication code.The described historical key assignments time is not distinguished physics key assignments and button duplication code for preserving the time that reads key assignments.
Fig. 3 is for being in idle-detection state schematic flow sheet after the startup of button trace routine among Fig. 2, and as shown in Figure 3, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if do not read, then execution in step 219;
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if surpass, then execution in step 220;
Because the historical key assignments time is cleared, therefore current time apart from historical button time this moment is necessarily greater than 1 transmission cycle.
Step 220 judges whether historical physics key assignments is zero, if then execution in step 222;
Step 222 with the zero clearing of historical key assignments time, is returned and is continued execution in step 202.
Fig. 4 be among Fig. 2 twice individual palpation key and twice individual palpation key interval greater than 1 schematic flow sheet that sends the cycle, as shown in Figure 4, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if read key assignments, then execution in step 204; If do not read key assignments, then execution in step 219;
Whether step 204 judges current time apart from the historical button time above 1 transmission cycle, if surpass, then execution in step 213;
Step 213 will save as the historical key assignments time current time;
Step 214 judges whether historical physics key assignments is zero, if zero, then execution in step 211;
Step 211 judges whether the key assignments that reads is duplication code, if not then execution in step 212;
Step 212, preserving current physics key assignments is historical physics key assignments, and returns and continue execution in step 202;
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if surpass, then execution in step 220; If do not surpass, and return and continue execution in step 202;
Step 220 judges whether historical physics key assignments is zero, if not then execution in step 221;
Step 221 is returned historical physics key assignments, and returns and continue execution in step 201.
Fig. 5 equals 1 schematic flow sheet that sends the cycle for the time interval of double individual palpation key among Fig. 2 and double individual palpation key, and as shown in Figure 5, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if read key assignments, then execution in step 204; If do not read key assignments, then execution in step 219;
Whether step 204 judges current time apart from the historical button time above 1 transmission cycle, if be no more than, then execution in step 205;
Current time described in the embodiment of the invention apart from the historical button time is no more than 1 transmission cycle and is meant and equals 1 transmission cycle.
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if do not surpass, and returns and continues execution in step 202;
Step 205 will save as the historical key assignments time current time;
Step 206 judges whether historical physics key assignments is zero, if non-vanishing, then execution in step 207;
Step 207 judges whether the key assignments that reads is duplication code, if not then execution in step 217;
Step 217 with the zero clearing of button duplication code cumulative number, and is returned historical physics key assignments;
Step 218, preserving current physics key assignments is historical physics key assignments, and returns and continue execution in step 202.
Fig. 6 is for long button among Fig. 2 and reach long by the threshold value schematic flow sheet, and as shown in Figure 6, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if read key assignments, then execution in step 204; If do not read key assignments, then execution in step 219;
Whether step 204 judges current time apart from the historical button time above 1 transmission cycle, if be no more than, then execution in step 205;
Current time described in the embodiment of the invention apart from the historical button time is no more than 1 transmission cycle and is meant and equals 1 transmission cycle.
Step 205 will save as the historical key assignments time current time;
Step 206 judges whether historical physics key assignments is zero, if non-vanishing, then execution in step 207;
Step 207 judges whether the key assignments that reads is duplication code, if then execution in step 208;
Step 208 adds 1 with button duplication code cumulative number;
Step 209 judges whether button duplication code cumulative number reaches threshold value, if reach, then execution in step 210;
Step 210 is returned virtual key assignments, and returns and continue execution in step 201;
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if do not surpass, and returns and continues execution in step 202.
Fig. 7 is for long button among Fig. 2 but do not reach and grow by the threshold value schematic flow sheet, and as shown in Figure 7, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if read key assignments, then execution in step 204; If do not read key assignments, then execution in step 219;
Whether step 204 judges current time apart from the historical button time above 1 transmission cycle, if be no more than, then execution in step 205;
Current time described in the embodiment of the invention apart from the historical button time is no more than 1 transmission cycle and is meant and equals 1 transmission cycle.
Step 205 will save as the historical key assignments time current time;
Step 206 judges whether historical physics key assignments is zero, if non-vanishing, then execution in step 207;
Step 207 judges whether the key assignments that reads is duplication code, if then execution in step 208;
Step 208 adds 1 with button duplication code cumulative number;
Step 209 judges whether button duplication code cumulative number reaches threshold value, if do not reach, then returns and continues execution in step 202;
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if do not surpass, and returns and continues execution in step 202.
Fig. 8 is for long button among Fig. 2 but do not reach to grow and and then press the physical button schematic flow sheet again once more by threshold value, this physical button that is pressed once more may be same button, also may be another button, but last duplication code and the button time interval second time equal 1 transmission cycle, as shown in Figure 8, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if read key assignments, then execution in step 204; If do not read key assignments, then execution in step 219;
Whether step 204 judges current time apart from the historical button time above 1 transmission cycle, if be no more than, then execution in step 205;
Current time described in the embodiment of the invention apart from the historical button time is no more than 1 transmission cycle and is meant and equals 1 transmission cycle.
Step 205 will save as the historical key assignments time current time;
Step 206 judges whether historical physics key assignments is zero, if non-vanishing, then execution in step 207;
Step 207 judges whether the key assignments that reads is duplication code, if then execution in step 208; If not then execution in step 217;
Step 208 adds 1 with button duplication code cumulative number;
Step 209 judges whether button duplication code cumulative number reaches threshold value, if do not reach, then returns and continues execution in step 202;
Step 217 with the zero clearing of button duplication code cumulative number, and is returned historical physics key assignments;
Step 218, preserving current physics key assignments is historical physics key assignments, and returns and continue execution in step 202;
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if do not surpass, and returns and continues execution in step 202.
Fig. 9 for long button among Fig. 2 but first physics key assignments lose and only receive the duplication code schematic flow sheet, as shown in Figure 9, this flow process comprises:
Step 200, set-top box starts the button handling procedure;
Step 201 is with the zero clearing of historical physics key assignments, the zero clearing of duplication code cumulative number, the zero clearing of historical key assignments time;
Step 202 is carried out the operation of reading key assignments;
Set-top box is constantly carried out the read operation of key assignments.
Step 203 judges whether to read key assignments, if read key assignments, then execution in step 204; If do not read key assignments, then execution in step 219;
Whether step 204 judges current time apart from the historical button time above 1 transmission cycle, if be no more than, then execution in step 205;
Current time described in the embodiment of the invention apart from the historical button time is no more than 1 transmission cycle and is meant and equals 1 transmission cycle.
Step 205 will save as the historical key assignments time current time;
Step 206 judges whether historical physics key assignments is zero, if then execution in step 211;
Step 211 judges whether the key assignments that reads is duplication code, if then return and continue execution in step 202;
Whether step 219 judges current time apart from the historical button time above 1 transmission cycle, if do not surpass, then returns and continues execution in step 202.
In addition, comprise that also a kind of situation is exactly long button, reach threshold value and return length, still press ﹠ hold and do not put, continue to receive the situation of duplication code by behind the virtual key assignments.This kind situation is consistent with the described flow process of above-mentioned Fig. 9, repeats no more herein.Below to start " meteorology is checked program " by " redness " button be example with long, illustrate and grow the method and the step of pressing set-top box remote controller key start-up routine.For reaching clear purpose of description, present embodiment is done following hypothesis to the variable that needs numeric indicia: the physics key assignments that " redness " button is pressed is " 0x0007 "; " redness " is " 0x2007 " by the virtual key assignments that the bond distance presses; The button duplication code is " 0x1111 "; The transmission cycle of telepilot single keys presses physics key assignments and remote controller key length are 108ms (millisecond) by the transmission cycle of back button duplication code, program judge with the head of a household by length in accordance with regulations duration be 2S (2 seconds), receive that promptly a physics key assignments adds the button duplication code 18 times.
Long button testing process is, after set-top-box system starts, at first carries out " redness " long registration by virtual key assignments " 0x2007 " call back function, and this call back function major function is to finish the startup work of " meteorology is checked program ".Press " redness " button on the telepilot with the head of a household, at first telepilot sends the physics key assignments " 0x0007 " that " redness " key is pressed, and with 108ms is subsequently the cycle to send the button duplication code to set-top box.Set-top box end remote controller key handling procedure is finished the reception of physics key assignments, and judge whether to long by action, particularly, if reach long by condition receive promptly that once " 0x0007 " and 18 duplication codes " 0x1111 " join " redness " in the telepilot key assignments formation of system event handling procedure by virtual key assignments " x2007 " by the bond distance.
Present embodiment is described in detail as follows to long various situations and the decision logic of judging by action:
The judgement that button is upspring: after the button handling procedure received key assignments at every turn, the time point that recorder is arrived when being 108ms through 1 button transmission cycle, was not received new key assignments or duplication code yet, thought that then button upsprings.Telepilot can send a physics key assignments " 0x0007 " of pressing, and sends cycle 108ms.Set-top box normally sends physics key assignments " 0x0007 " in the formation of system event handling procedure key assignments.
Press with the head of a household, but do not reach the judgement of 2S: the button handling procedure is received a physics key assignments " 0x0007 ", receives the button duplication code subsequently, but receives that the number of times of button duplication code does not reach 18 times, so non-length by action, only joins physics key assignments " 0x0007 " in the key assignments formation.
Press with the head of a household, surpass the judgement of 2S: the button handling procedure is received a physics key assignments " 0x0007 ", and receive the button duplication code subsequently continuously 18 times, reach 18 times, so for long pressing moved, virtual key assignments " 0x2007 " is joined in the formation of system event handling procedure key assignments, simultaneously the multiplicity that adds up is carried out zero clearing, enter cumulative process next time.
Abnormal conditions are handled: because the telepilot light signal may be subjected to factor affecting such as transmission range, transmission environment.So need consider the processing of these abnormal conditions.
Situation 1: key value is lost, and only receives duplication code.
Processing mode: ignore duplication code, up to receiving next physical button value.
Situation 2: key value normally receives, but the part duplication code is lost.
Processing mode: meet or exceed 2 times when losing the duplication code number of times, promptly reach the button Rule of judgment of upspringing, then by the processing of upspringing.
The set-top-box system button.onrelease gets access to the virtual key assignments " 0x2007 " of " redness " button from the formation of telepilot key assignments.Call call back function to start corresponding application program according to virtual key assignments, promptly by before the call back function of registration start " meteorology is checked program ", and input focus is switched to " meteorology is checked program " of new startup, carry out function corresponding and operate.
What deserves to be explained is, above-mentioned described " remote controller key handling procedure " and " system event handling procedure " just need and two logic modules of name in order to explain, can two detached processes during specific implementation, also can be two parallel function modules in the process, also can be other implementations, decide on concrete program run environment.
The remote information receiving handling method that the embodiment of the invention provides for function button is provided with corresponding length by the virtual key assignments under the state, and calls the call back function of registration in satisfied long following time according to condition by virtual key assignments, starts corresponding application program.Enrich the function of one-touch start-up routine, reached the purpose that realizes two kinds of different operating functions by a physical button, the physical button quantity of not only saving telepilot, save cost, and realize that simply flexible operation has carried out flexibly, effectively expanded the control of remote controller function.
Figure 10 is a digital television receiving apparatus example structure synoptic diagram of the present invention, as shown in figure 10, this digital television receiving apparatus for example set-top box comprises receiver module 11 and processing module 12, wherein, that receiver module 11 is used to receive is that telechiric device sends, behind the target button corresponding physical key assignments, receive continuously that several are long during by state because of the target button is in, the button duplication code that telechiric device sends; Processing module 12 is used for if the quantity of the button duplication code that receives reaches threshold value, and it is medium pending then physics key assignments corresponding virtual key assignments to be joined the key assignments formation; Virtual key assignments is in long corresponding by the following call back function that will call of state with the target button.
Particularly, when the user presses function button on the telepilot set-top box is carried out business operation, process chip is at first sensed the target button and is pressed in the telepilot, because actuation of keys can be accompanied by the once physics key assignments of this key of transmission, so telepilot sends the physics key assignments of this target button to set-top box by wireless communication interface.The receiver module 11 of set-top box receives the target button corresponding physical key assignments that telepilot sends by corresponding wireless communication interface.
When telepilot after set-top box sends target button corresponding physical key assignments, because this target button is in long by state always, that is to say after the user presses this target button and do not unclamp immediately, but continu to press remains on this target button long by state.Because remote controller key is by under the long situation of pressing, telepilot at first sends a physics key assignments, send the button duplication code with the fixed cycle continuously to receiving end subsequently, so telepilot also to periodically send the button duplication code to set-top box after sending target button corresponding physical key assignments.As long as this target button is in long by state always, then telepilot just periodically sends the button duplication code always.Therefore, after the wireless communication interface of receiver module 11 by correspondence receives the target button corresponding physical key assignments that telepilot sends, also to receive several button duplication codes continuously.
The quantity of the button duplication code that receives when receiver module 11 reaches threshold value, show that then this target button is in length by state in the duration in accordance with regulations in the length of regulation always, meet long according to condition, set-top box should be carried out target and be about to physics key assignments corresponding virtual key assignments by the bond distance by the corresponding down operation of state to join the key assignments formation medium pending.After the system event handling procedure of set-top box calls virtual key assignments, can go to carry out corresponding call back function according to this virtual key assignments, open corresponding program.And input focus switched to " meteorology is checked program " of new startup, carry out the function corresponding operation.
In the digital television receiving apparatus that present embodiment provides, for button is provided with virtual threshold value, and by key assignments obtain, long by judgement, and work such as program start realize the user by short by or longly realize different program open functions by same function button, enriched the function of one-touch start-up routine, not only simplified operating process, and the control of remote controller function has been carried out flexibly, effectively expanded.
Figure 11 is a digital television receiving apparatus example structure synoptic diagram of the present invention, as shown in figure 11, this digital television receiving apparatus for example set-top box comprises receiver module 11 and processing module 12, also comprises the Registering modules 13 of the registration binding that is used to carry out virtual key assignments and call back function.And be used for according to long duration in accordance with regulations, and telechiric device sends the transmission cycle of physics key assignments and button duplication code, and what threshold value was set is provided with module 14, and the threshold value of setting can be kept in the memory module of set-top box.
Further, processing module 12 also is used for being no more than a transmission cycle if received another physics key assignments and the current time time interval during with another physics key assignments of reception before receiving the physics key assignments, and it is medium pending then another physics key assignments to be joined the key assignments formation; Or
If before receiving the physics key assignments, received because of another button is in the long button duplication code that sends by state and the current time time interval during with reception button duplication code and be no more than a transmission cycle, it is medium pending then another button corresponding physical key assignments to be joined the key assignments formation, and with the quantity zero clearing of button duplication code of accumulative total; Or
If the quantity of the button duplication code that receives does not continuously reach threshold value and is receiving last button duplication code and experience after the time interval above a transmission cycle, it is medium pending that the physics key assignments is joined the key assignments formation, and with the quantity zero clearing of the button duplication code of accumulative total; Or
After receiving the physics key assignments, if experience does not receive the button duplication code after surpassing a time interval that sends the cycle, it is medium pending then the physics key assignments to be joined the key assignments formation; Or
With physics key assignments corresponding virtual key assignments join the key assignments formation medium pending after, with the quantity zero clearing of button duplication code of accumulative total.
The concrete function of processing module 12 can repeat no more referring to said method embodiment herein.
The digital television receiving apparatus that the embodiment of the invention provides for function button is provided with corresponding length by the virtual key assignments under the state, and calls the call back function of registration in satisfied long following time according to condition by virtual key assignments, starts corresponding application program.Enriched the function of one-touch start-up routine, reached the purpose that realizes two kinds of different operating functions by a physical button, the physical button quantity of the telepilot of Jie Yueing not only, save cost, and realize simple, flexible operation has carried out flexibly, has effectively expanded the control of remote controller function.
A kind of remote information receiving processing system that the embodiment of the invention also provides, comprise set-top box and digital television receiving apparatus, wherein the set-top box that provides in the said apparatus enforcement can be provided digital television receiving apparatus, and concrete structure and function repeat no more referring to foregoing description herein.The user can by telechiric device for example set-top box remote controller to set-top box type Long-distance Control, and by short by or longly realize the purpose that a key is used more by certain function button, the QoS of IPTV is provided.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. a remote information receiving handling method is characterized in that, comprising:
After receiving that telechiric device sends, target button corresponding physical key assignments, receive continuously that several are long during by state because of described target button is in, the button duplication code that described telechiric device sends;
If the quantity of the described button duplication code that receives reaches threshold value, it is medium pending then described physics key assignments corresponding virtual key assignments to be joined the key assignments formation; Described virtual key assignments is in long corresponding by the following call back function that will call of state with described target button.
2. remote information receiving handling method according to claim 1 is characterized in that, described method also comprises:
Carry out the registration binding of described virtual key assignments and described call back function in advance.
3. remote information receiving handling method according to claim 1 and 2 is characterized in that, described method also comprises:
In advance according to long duration in accordance with regulations, and described telechiric device sends the transmission cycle of described physics key assignments and described button duplication code, and described threshold value is set.
4. remote information receiving handling method according to claim 3, it is characterized in that, behind that described reception telechiric device sends, the target button corresponding physical key assignments, receive continuously that several are long during by state because of described target button is in, the button duplication code that described telechiric device sends comprises:
After receiving described physics key assignments, experience a described transmission cycle to receive first button duplication code;
And after receiving described first button duplication code, mode with a button duplication code of a described transmission cycle reception of every experience, receive follow-up button duplication code, and the quantity to described button duplication code totally does to add a processing behind button duplication code of every reception.
5. remote information receiving handling method according to claim 3 is characterized in that, described method also comprises:
If the time interval when receiving described another physics key assignments of another physics key assignments and current time and reception before receiving described physics key assignments equals a described transmission cycle, it is medium pending then described another physics key assignments to be joined described key assignments formation; Or
If the time interval that received before receiving described physics key assignments when being in the described button duplication code of the long button duplication code that sends by state and current time and reception because of another button equals a described transmission cycle, it is medium pending then described another button corresponding physical key assignments to be joined described key assignments formation, and the quantity zero clearing of the described button duplication code that will add up.
6. according to claim 3 or 4 described remote information receiving handling methods, it is characterized in that described method also comprises:
If the quantity of the described button duplication code that receives does not continuously reach described threshold value and is receiving last button duplication code and experience above after the time interval in a described transmission cycle, it is medium pending that described physics key assignments is joined described key assignments formation, and the quantity zero clearing of the described button duplication code that will add up.
7. according to claim 3 or 4 described remote information receiving handling methods, it is characterized in that described method also comprises:
After receiving described physics key assignments, if experience does not receive described button duplication code after surpassing the time interval in a described transmission cycle, it is medium pending then described physics key assignments to be joined described key assignments formation.
8. remote information receiving handling method according to claim 1 is characterized in that, describedly described physics key assignments corresponding virtual key assignments is joined the key assignments formation is medium also to be comprised after pending:
Quantity zero clearing with described button duplication code totally.
9. remote information receiving handling method according to claim 1 and 2 is characterized in that, describedly described physics key assignments corresponding virtual key assignments is joined the key assignments formation is medium also to be comprised after pending:
The system event handling procedure obtains described virtual key assignments from described key assignments formation, call described call back function with the startup corresponding application program according to described virtual key assignments, and input focus is switched on the described application program.
10. a digital television receiving apparatus is characterized in that, comprising:
Receiver module, be used to receive that telechiric device sends, target button corresponding physical key assignments after, receive continuously that several are long during by state because of described target button is in, the button duplication code that described telechiric device sends;
Processing module is used for if the quantity of the described button duplication code that receives reaches threshold value, and it is medium pending then described physics key assignments corresponding virtual key assignments to be joined the key assignments formation; Described virtual key assignments is in long corresponding by the following call back function that will call of state with described target button.
11. digital television receiving apparatus according to claim 10 is characterized in that, also comprises:
Registering modules is used to carry out the registration binding of described virtual key assignments and described call back function.
12. according to claim 10 or 11 described digital television receiving apparatus, it is characterized in that, also comprise:
Module is set, is used for, and described telechiric device sends the transmission cycle of described physics key assignments and described button duplication code, described threshold value is set according to long duration in accordance with regulations.
13. digital television receiving apparatus according to claim 12 is characterized in that, described processing module also is used for:
If the time interval when receiving described another physics key assignments of another physics key assignments and current time and reception before receiving described physics key assignments equals a described transmission cycle, it is medium pending then described another physics key assignments to be joined described key assignments formation; Or
If the time interval that received before receiving described physics key assignments when being in the described button duplication code of the long button duplication code that sends by state and current time and reception because of another button equals a described transmission cycle, it is medium pending then described another button corresponding physical key assignments to be joined described key assignments formation, and the quantity zero clearing of the described button duplication code that will add up; Or
If the quantity of the described button duplication code that receives does not continuously reach described threshold value and is receiving last button duplication code and experience above after the time interval in a described transmission cycle, it is medium pending that described physics key assignments is joined described key assignments formation, and the quantity zero clearing of the described button duplication code that will add up; Or
After receiving described physics key assignments, if experience does not receive described button duplication code after surpassing the time interval in a described transmission cycle, it is medium pending then described physics key assignments to be joined described key assignments formation; Or
With described physics key assignments corresponding virtual key assignments join the key assignments formation medium pending after, with the quantity zero clearing of described button duplication code of accumulative total.
14. a remote information receiving processing system comprises a telechiric device, and as the arbitrary described digital television receiving apparatus of claim 10 to 13.
CN2009102418406A 2009-12-10 2009-12-10 Remote control information receiving and processing method and system as well as digital television receiving device Pending CN102096998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102418406A CN102096998A (en) 2009-12-10 2009-12-10 Remote control information receiving and processing method and system as well as digital television receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102418406A CN102096998A (en) 2009-12-10 2009-12-10 Remote control information receiving and processing method and system as well as digital television receiving device

Publications (1)

Publication Number Publication Date
CN102096998A true CN102096998A (en) 2011-06-15

Family

ID=44130071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102418406A Pending CN102096998A (en) 2009-12-10 2009-12-10 Remote control information receiving and processing method and system as well as digital television receiving device

Country Status (1)

Country Link
CN (1) CN102096998A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051943A (en) * 2012-11-19 2013-04-17 厦门华侨电子股份有限公司 Method capable of enabling user to customize shortcut functions of television
CN104991732A (en) * 2015-06-24 2015-10-21 广州创显光电科技有限公司 Method for realizing second function of key and system of integrative machine
CN105451049A (en) * 2016-01-08 2016-03-30 浪潮软件集团有限公司 Multi-key interaction method and set top box
CN105516772A (en) * 2016-01-19 2016-04-20 浪潮软件集团有限公司 Data processing method and set top box
CN105812925A (en) * 2014-12-29 2016-07-27 深圳Tcl数字技术有限公司 Remote controller key up detecting method, remote controller and television
CN105915991A (en) * 2016-06-02 2016-08-31 深圳创维-Rgb电子有限公司 Television button combined processing method and system
CN106101790A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Signal processing method and device
CN107197344A (en) * 2017-05-16 2017-09-22 福建捷联电子有限公司 A kind of method for realizing user's self-defining remote control shortcut function
CN107301765A (en) * 2016-04-15 2017-10-27 零度智控(北京)智能科技有限公司 Remote control thereof, device and terminal
CN108600842A (en) * 2018-05-04 2018-09-28 康佳集团股份有限公司 A kind of video source switch method and TV
CN108712668A (en) * 2018-05-31 2018-10-26 深圳市茁壮网络股份有限公司 A kind of method and system for accelerating live streaming to cut platform
CN109116780A (en) * 2018-08-31 2019-01-01 重庆柚瓣家科技有限公司 Long-acting response control mehtod based on momentary pulse signal
CN110275623A (en) * 2018-03-15 2019-09-24 龙芯中科技术有限公司 The triggering method and equipment of button value
CN110376917A (en) * 2019-08-20 2019-10-25 吉林大学 A kind of intelligent home control system and control method based on virtual panel
CN110753253A (en) * 2019-10-18 2020-02-04 深圳市芯智科技有限公司 Method for realizing NEC remote control automatic matching on display platform
CN111820710A (en) * 2019-04-22 2020-10-27 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance and function state setting method thereof
CN111968361A (en) * 2020-08-31 2020-11-20 成都埃克思智创科技有限公司 Infrared repeated code learning method and infrared remote control system applied to Internet of things
CN112530149A (en) * 2019-09-17 2021-03-19 青岛海信宽带多媒体技术有限公司 Remote control method and device
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN112927491A (en) * 2021-03-05 2021-06-08 北京小米移动软件有限公司 Infrared decoding method and device, storage medium and terminal
CN113556596A (en) * 2021-07-01 2021-10-26 深圳创维-Rgb电子有限公司 Shortcut key control method, device, equipment and storage medium

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051943A (en) * 2012-11-19 2013-04-17 厦门华侨电子股份有限公司 Method capable of enabling user to customize shortcut functions of television
CN105812925A (en) * 2014-12-29 2016-07-27 深圳Tcl数字技术有限公司 Remote controller key up detecting method, remote controller and television
CN104991732A (en) * 2015-06-24 2015-10-21 广州创显光电科技有限公司 Method for realizing second function of key and system of integrative machine
CN105451049A (en) * 2016-01-08 2016-03-30 浪潮软件集团有限公司 Multi-key interaction method and set top box
CN105516772A (en) * 2016-01-19 2016-04-20 浪潮软件集团有限公司 Data processing method and set top box
CN107301765A (en) * 2016-04-15 2017-10-27 零度智控(北京)智能科技有限公司 Remote control thereof, device and terminal
CN105915991A (en) * 2016-06-02 2016-08-31 深圳创维-Rgb电子有限公司 Television button combined processing method and system
CN106101790A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Signal processing method and device
CN107197344A (en) * 2017-05-16 2017-09-22 福建捷联电子有限公司 A kind of method for realizing user's self-defining remote control shortcut function
CN107197344B (en) * 2017-05-16 2019-12-10 福建捷联电子有限公司 Method for realizing user self-defined remote controller shortcut function
CN110275623A (en) * 2018-03-15 2019-09-24 龙芯中科技术有限公司 The triggering method and equipment of button value
CN110275623B (en) * 2018-03-15 2023-08-08 龙芯中科技术股份有限公司 Method and device for triggering key values of keys
CN108600842A (en) * 2018-05-04 2018-09-28 康佳集团股份有限公司 A kind of video source switch method and TV
CN108712668A (en) * 2018-05-31 2018-10-26 深圳市茁壮网络股份有限公司 A kind of method and system for accelerating live streaming to cut platform
CN109116780A (en) * 2018-08-31 2019-01-01 重庆柚瓣家科技有限公司 Long-acting response control mehtod based on momentary pulse signal
CN111820710A (en) * 2019-04-22 2020-10-27 浙江绍兴苏泊尔生活电器有限公司 Cooking appliance and function state setting method thereof
CN110376917A (en) * 2019-08-20 2019-10-25 吉林大学 A kind of intelligent home control system and control method based on virtual panel
CN110376917B (en) * 2019-08-20 2022-05-31 吉林大学 Intelligent home control system and method based on virtual panel
CN112530149B (en) * 2019-09-17 2023-09-22 青岛海信宽带多媒体技术有限公司 Remote control method and device
CN112530149A (en) * 2019-09-17 2021-03-19 青岛海信宽带多媒体技术有限公司 Remote control method and device
CN110753253B (en) * 2019-10-18 2021-11-05 深圳市芯智科技有限公司 Method for realizing NEC remote control automatic matching on display platform
CN110753253A (en) * 2019-10-18 2020-02-04 深圳市芯智科技有限公司 Method for realizing NEC remote control automatic matching on display platform
CN111968361B (en) * 2020-08-31 2022-04-19 成都埃克思智创科技有限公司 Infrared repeated code learning method and infrared remote control system applied to Internet of things
CN111968361A (en) * 2020-08-31 2020-11-20 成都埃克思智创科技有限公司 Infrared repeated code learning method and infrared remote control system applied to Internet of things
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN112927491A (en) * 2021-03-05 2021-06-08 北京小米移动软件有限公司 Infrared decoding method and device, storage medium and terminal
CN113556596A (en) * 2021-07-01 2021-10-26 深圳创维-Rgb电子有限公司 Shortcut key control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102096998A (en) Remote control information receiving and processing method and system as well as digital television receiving device
CN100556092C (en) A kind of method and system of self-defining press-key function of remote controller
CN101097651B (en) Remote controller press keys setup method and system
CN1905721B (en) Wireless communication device and system startup method for the same
CN1897759B (en) Remote transmitter device
CN104185054A (en) Rapid remote control method and device
CN103227946A (en) Method for television scene switching and television
CN103905872A (en) Method and device for controlling multi-device system
CN105100915A (en) Method and television for switching audio video application
CN101150694B (en) Prompt method, device and system for scheduling TV programs
CN101505363B (en) Method of setting mapping between channel number and program number
CN103313130A (en) Television and system and method for rapidly accessing applications in television
CN101998158A (en) Method for implementing intelligent downloading by network television and network television
CN101472097A (en) Digital television receiver and method for searching program automatically in empty status
CN103019546B (en) A kind of slideshow method, system and apparatus for demonstrating
CN101272199A (en) Broadcasting program speed-changing broadcast processing method and terminal
CN103648047A (en) Resource searching method and system of intelligent television
CN101150715A (en) TV program search method and device and digital TV terminal
CN103237249B (en) Control method for playing back in digital living network alliance system, Apparatus and system
CN102137299B (en) Multimedia business realizing method and digital television receiving terminal
CN100393112C (en) TV program channel control method
CN101022512B (en) Video device, remote control device and channel switching method
CN103546311A (en) Intelligent household control system and method thereof for setting and controlling externally-arranged equipment to start
CN202524470U (en) News studio control system
CN101937314B (en) High-efficiency switching method of set top box interfaces

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110615