Summary of the invention
In view of this, the invention provides a kind of method and device of realizing the Infrared remote controller of simultaneously supporting Multiple Type, to overcome in prior art because the operating function of two different buttons in the Infrared remote controller of Multiple Type is different, may cause the Infrared remote controller of Multiple Type to the interactive problem of the control of intelligent television.
For achieving the above object, the invention provides following technical scheme:
A method that realizes the Infrared remote controller of simultaneously supporting Multiple Type, comprising:
The selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller;
After the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, judge whether described Infrared remote controller is described conductively-closed Infrared remote controller;
If not, described physics code is resolved to corresponding key assignments;
If so, described physics code is not resolved to corresponding key assignments.
Preferably, the selection operation in response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller after, also comprise:
Transfer pre-stored mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code in described mapping table, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller;
From described mapping table, find manufacturer's code of the conductively-closed Infrared remote controller corresponding with the type identification of conductively-closed Infrared remote controller;
Manufacturer's code to described conductively-closed Infrared remote controller carries out mark.
Preferably, describedly judge that whether described Infrared remote controller is described conductively-closed Infrared remote controller, comprising:
Extract the manufacturer's code in described physics code, and, from described mapping table, read manufacturer's code of the conductively-closed Infrared remote controller being labeled;
Whether the described manufacturer code that judgement is extracted is identical with the manufacturer's code reading;
If identical, determine that described Infrared remote controller is described conductively-closed Infrared remote controller;
If different, determine that described Infrared remote controller is not described conductively-closed Infrared remote controller.
Preferably, in the selection operation in response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller after, also comprise:
Transfer pre-stored mapping table, store the corresponding relation between the type identification language manufacturer code of Infrared remote controller of Multiple Type in described mapping table, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller;
From described mapping table, find manufacturer's code of the conductively-closed Infrared remote controller corresponding with the type identification of conductively-closed Infrared remote controller;
Manufacturer's code of described conductively-closed Infrared remote controller is carried out to buffer memory.
Preferably, describedly judge that whether described Infrared remote controller is described conductively-closed Infrared remote controller, comprising:
Extract the manufacturer's code in described physics code;
Whether described manufacturer code is extracted in judgement identical with manufacturer's code of buffer memory;
If identical, determine that described Infrared remote controller is described conductively-closed Infrared remote controller;
If different, determine that described Infrared remote controller is not described conductively-closed Infrared remote controller.
A device of realizing the Infrared remote controller of simultaneously supporting Multiple Type, comprising:
Conductively-closed Infrared remote controller determining unit, for responding the selection operation to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller;
Judging unit, after being treated to physics code, and before described physics code is resolved to corresponding key assignments, judges whether described Infrared remote controller is described conductively-closed Infrared remote controller for the infrared signal Infrared remote controller is sent;
Resolution unit, for when described Infrared remote controller is not described conductively-closed Infrared remote controller, described physics code is resolved to corresponding key assignments, and when described Infrared remote controller is described conductively-closed Infrared remote controller, described physics code is not resolved to corresponding key assignments.
Preferably, also comprise:
First transfers unit, for the selection operation to conductively-closed Infrared remote controller in response, determine described selection operation for conductively-closed Infrared remote controller after, transfer pre-stored mapping table, in described mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller;
First searches unit, for find manufacturer's code of the conductively-closed Infrared remote controller corresponding with conductively-closed Infrared remote controller type identification from described mapping table;
Indexing unit, carries out mark for the manufacturer's code to described conductively-closed Infrared remote controller.
Preferably, described judging unit comprises:
First extracts subelement, for extracting manufacturer's code of described physics code;
Read subelement, for read manufacturer's code of the conductively-closed Infrared remote controller being labeled from described mapping table;
Whether the first judgment sub-unit is identical with the manufacturer's code reading for judging the described manufacturer code of extraction;
First determines subelement, when identical with the manufacturer's code reading for the described manufacturer code when extracting, determine that described Infrared remote controller is described conductively-closed Infrared remote controller, and, when the described manufacturer code extracting is different from the manufacturer's code reading, determine that described Infrared remote controller is not described conductively-closed Infrared remote controller.
Preferably, also comprise:
Second transfers unit, for the selection operation to conductively-closed Infrared remote controller in response, determine described selection operation for conductively-closed Infrared remote controller after, transfer pre-stored mapping table, in described mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller;
Second searches unit, for find manufacturer's code of the conductively-closed Infrared remote controller corresponding with conductively-closed Infrared remote controller type identification from described mapping table;
Buffer unit, for carrying out buffer memory by manufacturer's code of described conductively-closed Infrared remote controller.
Preferably, described judging unit comprises:
Second extracts subelement, for extracting manufacturer's code of described physics code;
Whether the second judgment sub-unit is identical with manufacturer's code of buffer memory for judging the described manufacturer code of extraction;
Second determines subelement, be used for when the described manufacturer code of extraction is identical with manufacturer's code of buffer memory, determine that described Infrared remote controller is described conductively-closed Infrared remote controller, and, when the described manufacturer code of extraction is different with manufacturer's code of buffer memory, determine that described Infrared remote controller is not described conductively-closed Infrared remote controller.
Known via above-mentioned technical scheme, compared with prior art, the invention discloses a kind of method and device of realizing the Infrared remote controller of simultaneously supporting Multiple Type, the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller, after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, described physics code is resolved to corresponding key assignments, if, described physics code is not resolved to corresponding key assignments.Based on said method and device, the Infrared remote controller of Multiple Type is carried out to the differentiation of not conductively-closed and conductively-closed, after conductively-closed telepilot sends infrared signal, do not resolve its key assignments, thereby the Infrared remote controller that effectively solves Multiple Type is to the interactive problem of the control of intelligent television.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
From background technology, because the operating function of two different buttons in the Infrared remote controller of Multiple Type is different, may cause the Infrared remote controller of Multiple Type to the interactive problem of the control of intelligent television.
For this reason, the invention discloses a kind of method and device of realizing the Infrared remote controller of simultaneously supporting Multiple Type, the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller, after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, described physics code is resolved to corresponding key assignments, if so, described physics code is not resolved to corresponding key assignments.Based on said method and device, the Infrared remote controller of Multiple Type is carried out to the differentiation of not conductively-closed and conductively-closed, after conductively-closed telepilot sends infrared signal, do not resolve its key assignments, thereby the Infrared remote controller that effectively solves Multiple Type is to the interactive problem of the control of intelligent television.
About above-mentioned realization, support the idiographic flow of method of Infrared remote controller and the concrete structure of the device of the Infrared remote controller that Multiple Type is supported in above-mentioned realization simultaneously of Multiple Type to be elaborated by following examples simultaneously.
Embodiment mono-
Referring to accompanying drawing 1, is the disclosed a kind of idiographic flow schematic diagram of realizing the method for the Infrared remote controller of simultaneously supporting Multiple Type of the embodiment of the present invention one, and the method specifically comprises the steps:
S101: the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller.
After opening intelligent television, there will be an application interface, on this application interface, show the telepilot of the Multiple Type that has this intelligent television support, user can select by above-mentioned any one telepilot the telepilot of which kind of model in shield interface.Concrete, refer to accompanying drawing 2, for a kind of telepilot is selected application interface, if user wants to shield Infrared remote controller A, C, D, user can pass through any one telepilot transmission selection instruction in telepilot A, B, C, D, and making Infrared remote controller A, C, D switch is below off state.
S102: after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, perform step S103, if so, perform step S104.
It should be noted that, after receiving the infrared signal of Infrared remote controller transmission, this infrared signal is transformed into electric impulse signal, more above-mentioned electric impulse signal is resolved to physics code.For any telepilot, all there is the key assignments corresponding with its physics code.Four telepilots of take in accompanying drawing 2 are example, only having infrared signal is to be sent by not conductively-closed Infrared remote controller B, just its physics code is resolved to corresponding key assignments, when infrared signal is arbitrary telepilot in conductively-closed Infrared remote controller A, C, D while sending, all its physics code is not resolved to corresponding key assignments.
S103: described physics code is resolved to corresponding key assignments.
S104: described physics code is not resolved to corresponding key assignments.
In sum, the present embodiment discloses a kind of method that realizes the Infrared remote controller of simultaneously supporting Multiple Type, the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller, after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, described physics code is resolved to corresponding key assignments, if so, described physics code is not resolved to corresponding key assignments.Based on said method, the Infrared remote controller of Multiple Type is carried out to the differentiation of not conductively-closed and conductively-closed, after conductively-closed telepilot sends infrared signal, do not resolve its key assignments, thereby the Infrared remote controller that effectively solves Multiple Type is to the interactive problem of the control of intelligent television.
On the basis of the disclosed embodiment of the invention described above, the invention also discloses the another kind of method that realizes the Infrared remote controller of simultaneously supporting Multiple Type, will be elaborated by following examples below.
Embodiment bis-
Referring to accompanying drawing 3, is the disclosed another kind of idiographic flow schematic diagram of realizing the method for the Infrared remote controller of simultaneously supporting Multiple Type of the embodiment of the present invention two, and the method specifically comprises the steps:
S201: the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller.
This step is similar step to S101 in embodiment mono-, and the present embodiment repeats no more, and specifically refers to the associated description in embodiment mono-.
S202: transfer pre-stored mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code in described mapping table, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller.
S203: the manufacturer's code that finds the conductively-closed Infrared remote controller corresponding with the type identification of conductively-closed Infrared remote controller from described mapping table.
S204: the manufacturer's code to described conductively-closed Infrared remote controller carries out mark.
In the present embodiment; can to manufacturer's code of conductively-closed Infrared remote controller, carry out mark by special character; the present embodiment does not illustrate, and the every method that can distinguish manufacturer's code of conductively-closed Infrared remote controller and manufacturer's code of not conductively-closed Infrared remote controller is all in protection domain of the present invention.
S205: after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, extract the manufacturer's code in described physics code, and, from described mapping table, read manufacturer's code of the conductively-closed Infrared remote controller being labeled.
S206: whether the described manufacturer code that judgement is extracted is identical with the manufacturer's code reading, if different, performs step S207, if identical, performs step S208.
S207: determine that described Infrared remote controller is not described conductively-closed Infrared remote controller, resolves to corresponding key assignments by described physics code.
S208: determine that described Infrared remote controller is described conductively-closed Infrared remote controller, does not resolve to corresponding key assignments by described physics code.
In sum, the present embodiment discloses a kind of method that realizes the Infrared remote controller of simultaneously supporting Multiple Type, the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller, after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, whether the manufacturer's code extracting by judgement is identical with the manufacturer's code reading and then judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, described physics code is resolved to corresponding key assignments, if, described physics code is not resolved to corresponding key assignments.Based on said method, the Infrared remote controller of Multiple Type is carried out to the differentiation of not conductively-closed and conductively-closed, after conductively-closed telepilot sends infrared signal, do not resolve its key assignments, thereby the Infrared remote controller that effectively solves Multiple Type is to the interactive problem of the control of intelligent television.
Embodiment tri-
Referring to accompanying drawing 4, is the disclosed another kind of idiographic flow schematic diagram of realizing the method for the Infrared remote controller of simultaneously supporting Multiple Type of the embodiment of the present invention three, and the method specifically comprises the steps:
S301: the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller.
This step is similar step to S101 in embodiment mono-, and the present embodiment repeats no more, and specifically refers to the associated description in embodiment mono-.
S302: transfer pre-stored mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code in described mapping table, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller.
S303: the manufacturer's code that finds the conductively-closed Infrared remote controller corresponding with the type identification of conductively-closed Infrared remote controller from described mapping table.
S304: the manufacturer's code to described conductively-closed Infrared remote controller carries out buffer memory.
It should be noted that, manufacturer's code of described conductively-closed Infrared remote controller can be buffered in the internal memory of intelligent television, also can be cached in other memory storages, and the present embodiment is not done any restriction.In the time of in being buffered in internal memory, in the next one start cycle of this intelligent television, need to reselect conductively-closed Infrared remote controller, and its manufacturer's code of buffer memory.
S305: after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, extract the manufacturer's code in described physics code.
S306: whether the described manufacturer code that judgement is extracted is identical with manufacturer's code of buffer memory, if different, performs step S307, if identical, performs step S308.
S307: determine that described Infrared remote controller is not described conductively-closed Infrared remote controller, resolves to corresponding key assignments by described physics code.
S308: determine that described Infrared remote controller is described conductively-closed Infrared remote controller, does not resolve to corresponding key assignments by described physics code.
In sum, the present embodiment discloses a kind of method that realizes the Infrared remote controller of simultaneously supporting Multiple Type, the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller, after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, whether the manufacturer's code extracting by judgement is identical with manufacturer's code of buffer memory and then judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, described physics code is resolved to corresponding key assignments, if, described physics code is not resolved to corresponding key assignments.Based on said method, the Infrared remote controller of Multiple Type is carried out to the differentiation of not conductively-closed and conductively-closed, after conductively-closed telepilot sends infrared signal, do not resolve its key assignments, thereby the Infrared remote controller that effectively solves Multiple Type is to the interactive problem of the control of intelligent television.
In the disclosed embodiment of the invention described above, describe method in detail, for method of the present invention, can adopt the device of various ways to realize, therefore the invention also discloses a kind of device, provide specific embodiment below and be elaborated.
Embodiment tetra-
Referring to accompanying drawing 5, is the disclosed a kind of concrete structure schematic diagram of realizing the device of the Infrared remote controller of simultaneously supporting Multiple Type of the embodiment of the present invention four, and this device specifically comprises as lower unit:
Conductively-closed Infrared remote controller determining unit 11, for responding the selection operation to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller.
Judging unit 12, after being treated to physics code, and before described physics code is resolved to corresponding key assignments, judges whether described Infrared remote controller is described conductively-closed Infrared remote controller for the infrared signal Infrared remote controller is sent.
Resolution unit 13, for when described Infrared remote controller is not described conductively-closed Infrared remote controller, described physics code is resolved to corresponding key assignments, and when described Infrared remote controller is described conductively-closed Infrared remote controller, described physics code is not resolved to corresponding key assignments.
It should be noted that, about the function of said units, realize and in embodiment of the method, being elaborated, the present embodiment repeats no more, and specifically refers to the associated description in embodiment of the method.
Embodiment five
Referring to accompanying drawing 6, is the disclosed another kind of concrete structure schematic diagram of realizing the device of the Infrared remote controller of simultaneously supporting Multiple Type of the embodiment of the present invention five, and this device specifically comprises as lower unit:
Conductively-closed Infrared remote controller determining unit 21, for responding the selection operation to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller.
First transfers unit 22, for the selection operation to conductively-closed Infrared remote controller in response, determine described selection operation for conductively-closed Infrared remote controller after, transfer pre-stored mapping table, in described mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller;
First searches unit 23, for find manufacturer's code of the conductively-closed Infrared remote controller corresponding with conductively-closed Infrared remote controller type identification from described mapping table;
Indexing unit 24, carries out mark for the manufacturer's code to described conductively-closed Infrared remote controller.
First extracts subelement 25, for extracting manufacturer's code of described physics code;
Read subelement 26, for read manufacturer's code of the conductively-closed Infrared remote controller being labeled from described mapping table;
Whether the first judgment sub-unit 27 is identical with the manufacturer's code reading for judging the described manufacturer code of extraction;
First determines subelement 28, when identical with the manufacturer's code reading for the described manufacturer code when extracting, determine that described Infrared remote controller is described conductively-closed Infrared remote controller, and, when the described manufacturer code extracting is different from the manufacturer's code reading, determine that described Infrared remote controller is not described conductively-closed Infrared remote controller.
Resolution unit 29, for when described Infrared remote controller is not described conductively-closed Infrared remote controller, described physics code is resolved to corresponding key assignments, and when described Infrared remote controller is described conductively-closed Infrared remote controller, described physics code is not resolved to corresponding key assignments.
It should be noted that, about the function of said units, realize and in embodiment of the method, being elaborated, the present embodiment repeats no more, and specifically refers to the associated description in embodiment of the method.
Embodiment six
Referring to accompanying drawing 7, is the disclosed another kind of concrete structure schematic diagram of realizing the device of the Infrared remote controller of simultaneously supporting Multiple Type of the embodiment of the present invention six, and this device specifically comprises as lower unit:
Conductively-closed Infrared remote controller determining unit 31, for responding the selection operation to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller.
Second transfers unit 32, for the selection operation to conductively-closed Infrared remote controller in response, determine described selection operation for conductively-closed Infrared remote controller after, transfer pre-stored mapping table, in described mapping table, store the type identification of Infrared remote controller of Multiple Type and the corresponding relation between manufacturer's code, described manufacturer code is first 16 of physics code that are positioned at Infrared remote controller;
Second searches unit 33, for find manufacturer's code of the conductively-closed Infrared remote controller corresponding with conductively-closed Infrared remote controller type identification from described mapping table;
Buffer unit 34, for carrying out buffer memory by manufacturer's code of described conductively-closed Infrared remote controller.
Second extracts subelement 35, for extracting manufacturer's code of described physics code;
Whether the second judgment sub-unit 36 is identical with manufacturer's code of buffer memory for judging the described manufacturer code of extraction;
Second determines subelement 37, be used for when the described manufacturer code of extraction is identical with manufacturer's code of buffer memory, determine that described Infrared remote controller is described conductively-closed Infrared remote controller, and, when the described manufacturer code of extraction is different with manufacturer's code of buffer memory, determine that described Infrared remote controller is not described conductively-closed Infrared remote controller.
Resolution unit 38, for when described Infrared remote controller is not described conductively-closed Infrared remote controller, described physics code is resolved to corresponding key assignments, and when described Infrared remote controller is described conductively-closed Infrared remote controller, described physics code is not resolved to corresponding key assignments.
It should be noted that, about the function of said units, realize and in embodiment of the method, being elaborated, the present embodiment repeats no more, and specifically refers to the associated description in embodiment of the method.
In sum: the invention discloses a kind of method and device of realizing the Infrared remote controller of simultaneously supporting Multiple Type, the selection operation of response to conductively-closed Infrared remote controller, determine described selection operation for conductively-closed Infrared remote controller, after the infrared signal that Infrared remote controller is sent is treated to physics code, and before described physics code is resolved to corresponding key assignments, judge whether described Infrared remote controller is described conductively-closed Infrared remote controller, if not, described physics code is resolved to corresponding key assignments, if, described physics code is not resolved to corresponding key assignments.Based on said method and device, the Infrared remote controller of Multiple Type is carried out to the differentiation of not conductively-closed and conductively-closed, after conductively-closed telepilot sends infrared signal, do not resolve its key assignments, thereby the Infrared remote controller that effectively solves Multiple Type is to the interactive problem of the control of intelligent television.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.