CN105812861B - A kind of infrared transmitting method and system of module TV - Google Patents

A kind of infrared transmitting method and system of module TV Download PDF

Info

Publication number
CN105812861B
CN105812861B CN201410839359.8A CN201410839359A CN105812861B CN 105812861 B CN105812861 B CN 105812861B CN 201410839359 A CN201410839359 A CN 201410839359A CN 105812861 B CN105812861 B CN 105812861B
Authority
CN
China
Prior art keywords
code value
remote controler
factory
remote
user
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.)
Active
Application number
CN201410839359.8A
Other languages
Chinese (zh)
Other versions
CN105812861A (en
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.)
TCL Research America Inc
Original Assignee
TCL Research America Inc
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 TCL Research America Inc filed Critical TCL Research America Inc
Priority to CN201410839359.8A priority Critical patent/CN105812861B/en
Publication of CN105812861A publication Critical patent/CN105812861A/en
Application granted granted Critical
Publication of CN105812861B publication Critical patent/CN105812861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Details Of Television Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a kind of infrared transmitting methods and system of module TV, are user remote controller or factory's remote controler by shielding the judgement of end main flow module, mapping processing is not done then if factory's remote controler;It is that corresponding Android system code value is sent to smart card end by serial ports if user remote controller Quadratic Map, smart card end can then identify Android system code value, to respond the operation of user in OSD, and factory's remote controler does not do mapping processing then, it is sent to card end correspondence and carries out the corresponding operation of mapping response, under the premise of not changing the original infrared processing logic in card end, greatly improve the card end of module TV can range of fit, bring to user and greatly facilitate.

Description

A kind of infrared transmitting method and system of module TV
Technical field
The present invention relates to module TV infrared control technical field more particularly to a kind of infrared forwardings of module TV Method and system.
Background technology
With the appearance of module tv product, occur two boards on TV, it is closely related with shielding in order to distinguish, What will not be changed cries screen end, and can plug replacement cries card end.The expense that user buys TV is greatly saved in the appearance of module TV With by replacing card end, user can enjoy the newest content of industry, newest technology production on the basis of being changed without screen Product, screen, which is changed without, means that user only need to spend seldom money that can accomplish this point.
Since module TV is supplied to the manipulable UI of user(User Interface, user interface)And it is corresponding Function, so card end needs infrared processing module, thus brings a problem using all being realized at card end:Each factory The code of the infrared remote control hair of family is all different, and the standard of parsing is underground again, so the infrared processing module of each producer It is all different, the card end of this egf block TV can only replace oneself producer, cannot use other producers, module TV Modularization is exactly that but can only replace the card end of oneself producer because card end can be replaced, and greatly reduce module TV can Range of fit is also unfavorable for the standardization of module TV, and it is greatly inconvenient to be brought to user.
Therefore, the existing technology needs to be improved and developed.
Invention content
The technical problem to be solved in the present invention is, provides a kind of infrared transmitting method and system of module TV, it is intended to Solving the problems, such as that module TV arbitrarily replaces card end in the prior art causes to influence function of infrared remote control.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of infrared transmitting method of module TV, wherein include the following steps:
A, the screen end infrared receiver remote controler code value of module TV, and judge the remote controler code value for user remote controller code Value or factory's remote controler code value;If user remote controller code value, then the remote controler code value is mapped as corresponding screen end and applied It is workable macro;It is if factory's remote controler code value, then constant;
B, judge that current OSD states handle state for screen end OSD or card end OSD handles state, shape is handled if screen end OSD State then shields end application and responds the described macro or corresponding operation of factory's remote controler code value;State is handled if card end OSD, then is judged The remote controler code value is user remote controller code value or factory's remote controler code value;
If C, the remote controler code value is user remote controller code value, macro corresponding Android system code is mapped as by described Value, and it is sent to card end;If the remote controler code value is factory's remote controler code value, factory's remote controler code value is sent to Card end;
D, card end judges the remote controler code value for user remote controller code value or factory's remote controler code value, is remotely controlled if user Device code value then responds the corresponding operation of the Android system code value;If factory's remote controler code value, then to factory's remote controler Code value is mapped, and responds the corresponding operation of factory's remote controler code value.
The infrared transmitting method of the module TV, wherein the step A is specifically included:
A1, screen end receive binary remote controler code value of remote controler infrared emission;
A2, binary remote controler code value is converted into corresponding hexadecimal remote controler code value;
A3, judge the hexadecimal remote controler code value for user remote controller code value or factory's remote controler code value;
If A4, the hexadecimal remote controler code value are user remote controller code value, by the user remote controller code value Corresponding screen end is mapped as using workable macro;If the hexadecimal remote controler code value is factory's remote controler code value, Factory's remote controler code value is not changed.
The infrared transmitting method of the module TV, wherein in the step A, most according to the remote controler code value The systematic code of 1 byte of front come identify the remote controler code value be user remote controller code value or factory's remote controler code value.
The infrared transmitting method of the module TV, wherein the step D is specifically included:
D1, card end judge the remote controler code value for user remote controller code value or factory's remote controler code value, distant if user Device code value is controlled, D2 is thened follow the steps;If factory's remote controler code value, D3 is thened follow the steps;
D2, the Android system code value is registered in Android input subsystem, and is sent to the application of card end, the application of card end It is corresponding to respond the corresponding operation of the Android system code value;
D3, factory's remote controler code value is mapped, and factory's remote controler code value after mapping is registered to Android In input subsystem, and it is sent to the application of card end, the application of card end responds the corresponding operation of factory's remote controler code value.
A kind of infrared forwarding system of module TV, wherein including screen end and card end;
The screen end includes:
Infrared processing module for receiving remote controler code value, and judges the remote controler code value for user remote controller code value Or factory's remote controler code value;If the remote controler code value is user remote controller code value, the remote controler code value is mapped as pair The screen end answered is sent to main flow module using workable macro;If the remote controler code value is factory's remote controler code value, Factory's remote controler code value is sent to main flow module;
Main flow module, for judging that current OSD states handle state for screen end OSD or card end OSD handles state, if working as Preceding OSD states are that screen end OSD handles state, then shield end application and respond the described macro or corresponding operation of factory's remote controler code value;If Current OSD states are that card end OSD handles state, then judge the remote controler code value for user remote controller code value or factory's remote controler Code value;If the remote controler code value is user remote controller code value, by it is described it is macro be mapped as corresponding Android system code value, and lead to It crosses screen end serial communication modular and is sent to card end;If the remote controler code value is factory's remote controler code value, and the factory is distant Control device code value is sent to card end by shielding end serial communication modular;
Shield end serial communication modular, for the Android system code value or factory's remote controler code value to be sent to card end;
The card end includes:
Card end serial communication modular, for receiving the Android system code value or factory's remote controler code value;
Serial ports processing module, for judging the remote controler code value for user remote controller code value or factory's remote controler code value, If the remote controler code value is user remote controller code value, the corresponding operation of the Android system code value is responded;If the remote control Device code value is factory's remote controler code value, then maps factory's remote controler code value, and respond factory's remote controller code It is worth corresponding operation.
The infrared forwarding system of the module TV, wherein the infrared processing module includes:
Code value receiving unit, binary remote controler code value for receiving remote controler infrared emission;
Converting unit, for binary remote controler code value to be converted to corresponding hexadecimal remote controller code Value;
First code value judging unit, for judging the hexadecimal remote controler code value for user remote controller code value or work Factory's remote controler code value;
First code value map unit is used for when the hexadecimal remote controler code value is user remote controller code value, then The user remote controller code value is mapped as corresponding screen end using workable macro;When for the hexadecimal remote controller code When being worth factory's remote controler code value, then factory's remote controler code value is not changed.
The infrared forwarding system of the module TV, wherein the main flow module includes:
OSD condition adjudgement units, for judging that current OSD states handle state for screen end OSD or card end OSD handles shape State;State is handled if screen end OSD, then shields end application and responds the described macro or corresponding operation of factory's remote controler code value;
Second code value judging unit judges the remote control when for judging that current OSD states handle state for card end OSD Device code value is user remote controller code value or factory's remote controler code value;
Second code value map unit when for judging the remote controler code value for user remote controller code value, macro is reflected described It penetrates as corresponding Android system code value, and card end is sent to by shielding end serial communication modular;If the remote controler code value is work When factory's remote controler code value, then factory's remote controler code value is sent to card end by shielding end serial communication modular.
The infrared forwarding system of the module TV, wherein the serial ports processing module includes:
Third code value judging unit, for judging the remote controler code value for user remote controller code value or factory's remote controller code Value;
Android input subsystem unit is used for when the remote controler code value is user remote controller code value, by the Android System code value is registered in Android input subsystem, and is sent to the application of card end, and the application of card end is corresponding to respond the Android system The corresponding operation of code value;When the remote controler code value is factory's remote controler code value, factory's remote controler code value is reflected It penetrates, and factory's remote controler code value after mapping is registered in Android input subsystem, and be sent to the application of card end, the application of card end Respond the corresponding operation of factory's remote controler code value.
The infrared transmitting method and system of a kind of module TV provided by the present invention, efficiently solve in the prior art Module TV arbitrarily replaces the problem of card end causes to influence function of infrared remote control, passes through the screen end infrared receiver remote control of module TV Device code value, and judge the remote controler code value for user remote controller code value or factory's remote controler code value;If user remote controller code The remote controler code value is then mapped as corresponding screen end using workable macro by value;If factory's remote controler code value, then not Become;Judge that current OSD states handle state for screen end OSD or card end OSD handles state, handles state if screen end OSD, then shield End application responds the described macro or corresponding operation of factory's remote controler code value;State is handled if card end OSD, then judges the remote control Device code value is user remote controller code value or factory's remote controler code value;It, will if the remote controler code value is user remote controller code value It is described it is macro be mapped as corresponding Android system code value, and be sent to card end;If the remote controler code value is factory's remote controler code value, Factory's remote controler code value is then sent to card end;Card end judges the remote controler code value for user remote controller code value or factory Remote controler code value then responds the corresponding operation of the Android system code value if user remote controller code value;If factory's remote controler Code value then maps factory's remote controler code value, and responds the corresponding operation of factory's remote controler code value;To real Show module TV in the case where replacing card end, infrared processing module is merely placed at screen end, it is original infrared not changing card end Handle logic under the premise of, greatly improve module TV card end can range of fit, be pushed further into the mark of module TV Quasi-ization process brings to user and greatly facilitates.
Description of the drawings
Fig. 1 is the flow chart of the infrared transmitting method preferred embodiment of module TV provided by the invention.
Fig. 2 is the structure diagram of the infrared forwarding system preferred embodiment of module TV provided by the invention.
Specific implementation mode
The present invention provides a kind of infrared transmitting method and system of module TV, to make the purpose of the present invention, technical solution And advantage is clearer, clear, the present invention is described in more detail for the embodiment that develops simultaneously referring to the drawings.It should be appreciated that this The described specific embodiment in place is only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the flow chart of the infrared transmitting method preferred embodiment of module TV provided by the invention, As shown, the described method comprises the following steps:
Step S100, the screen end infrared receiver remote controler code value of module TV, and judge the remote controler code value for user Remote controler code value or factory's remote controler code value;If user remote controller code value, then the remote controler code value is mapped as corresponding Shield end using workable macro;It is if factory's remote controler code value, then constant;
Step S200, judge that current OSD states handle state for screen end OSD or card end OSD handles state, if screen end OSD handles state, then shields end application and respond the described macro or corresponding operation of factory's remote controler code value;Shape is handled if card end OSD State then judges the remote controler code value for user remote controller code value or factory's remote controler code value;
If step S300, the described remote controler code value is user remote controller code value, macro corresponding Android is mapped as by described System code value, and it is sent to card end;If the remote controler code value is factory's remote controler code value, by factory's remote controler code value It is sent to card end;
Step S400, card end judges the remote controler code value for user remote controller code value or factory's remote controler code value, if User remote controller code value then responds the corresponding operation of the Android system code value;If factory's remote controler code value, then to the work Factory's remote controler code value is mapped, and responds the corresponding operation of factory's remote controler code value.
Above-mentioned steps are described in detail with reference to specific embodiment.
In the step s 100, the screen end infrared receiver remote controler code value of module TV, and judge that the remote controler code value is User remote controller code value or factory's remote controler code value;If user remote controller code value, then the remote controler code value is mapped as pair The screen end answered is using workable macro;It is if factory's remote controler code value, then constant.Specifically, the step S100 is specifically wrapped It includes:S110, screen end receive binary remote controler code value of remote controler infrared emission;S120, by binary remote controler Code value is converted to corresponding hexadecimal remote controler code value;S130, judge the hexadecimal remote controler code value for user Remote controler code value or factory's remote controler code value;If S140, the hexadecimal remote controler code value are user remote controller code value, The user remote controller code value is mapped as corresponding screen end using workable macro;If the hexadecimal remote controler code value For factory's remote controler code value, then factory's remote controler code value is not changed.
In practical application, an infrared processing module is arranged at screen end in the present invention, the infrared processing module processing in screen end is red The outer remote controler code value for receiving remote controler and sending, the remote controler code value before processing is a binary number, treated remote controler Code value is hexadecimal number, for example corresponding code value is 0xf0d5 to power keys at this time.
The infrared processing module at screen end judges that the remote controler code value being currently received is user remote controller code value or factory Remote controler code value.It should be noted that there are two types of remote controlers, one kind is user remote controller, and one kind is factory's remote controler.The two Difference lies in 1 byte system code of remote controler code value foremost can distinguish user remote controller and factory's remote controler, and the two is only There is the systematic code of the byte of foremost 1 different, factory's remote controler has the shortcut key that some factories use.That is judge distant It is user remote controller code value or factory's remote controler code value to control device code value, that is, judges remote controler for user remote controller or factory Remote controler.It can identify that the remote controler code value is user according to the systematic code of 1 byte of remote controler code value foremost Remote controler code value or factory's remote controller code.Value is mapped to screen end if it is user remote controller code value, original remote control code value The macro code value that can use of application, for example the factory menu module at screen end takes the code value and can be carried out operating, such as will The 0xf0d5 of power keys is mapped to macro KEY_POWER;It is without any processing if it is factory's remote controler, retain original code value.So Afterwards screen end infrared processing module by remote controler code value issue screen end main flow module be uniformly processed.
It should be noted that user remote controller code value is mapped as corresponding macro by the present invention, substantially it is exactly to allow using energy It is enough better understood from and is used the code value, such as a hexadecimal number, does not know border meaning in fact using getting up, such as As soon as it is macro that fruit is mapped to a KEY_POWER, then be readily appreciated that and use, mapping is redefining for character, is not had There are oneself a set of Mapping specifications in service logic, each TV producer.
In step s 200, judge that current OSD states handle state for screen end OSD or card end OSD handles state, if screen It holds OSD to handle state, then shields end application and respond the described macro or corresponding operation of factory's remote controler code value;If the OSD processing of card end State then judges the remote controler code value for user remote controller code value or factory's remote controler code value.
Specifically, in module TV, there is OSD at screen end(On-screen display, on-screen menu), card end also has OSD, this is exactly to judge that current OSD is screen end or card end.Screen end main flow module judges after receiving remote control code value Current OSD states are to handle state in screen end processing state or card end, state are handled if it is screen end, by described macro or factory Remote controler code value is issued factory menu module and is directly handled, for example factory menu takes the macro carry out phases of KEY_POWER of power keys Operation is closed, flow terminates;State is handled if it is card end, screen end main flow will further judge remote unit type, that is, again Judge remote controler code value for user remote controller code value or factory's remote controler code value.Namely judge remote controler for user remote controller or Factory's remote controler.
In step S300, if the remote controler code value be user remote controller code value, by it is described it is macro be mapped as it is corresponding Android system code value, and it is sent to card end;If the remote controler code value is factory's remote controler code value, by factory's remote controler Code value is sent to card end.
Specifically, screen end main flow module judges remote controler if it is user remote controller, original in order not to change card end Infrared processing logic, need will to shield end and be mapped to the original infrared processing module in card end treated code using available code value Value, if it is power keys, need by KEY_POWER it is macro be mapped to 116 number, this scale end can be direct after taking the code value To Android Input subsystem registers since the original processing mode in card end in the prior art is exactly at infrared processing module Code value after reason thus maintains original infrared processing logic to the Input subsystem registers of Android;If it is work Factory's remote controler, it is without any processing.Then the main flow module at screen end transmits the code value handled well by serial communication modular To the serial communication modular at card end.
In step S400, card end judges the remote controler code value for user remote controller code value or factory's remote controler code value, If user remote controller code value, then the corresponding operation of the Android system code value is responded;If factory's remote controler code value, then to institute It states factory's remote controler code value to be mapped, and responds the corresponding operation of factory's remote controler code value.
Specifically, the step S400 includes:S410, card end judge the remote controler code value for user remote controller code value Or factory's remote controler code value thens follow the steps S420 if the remote controler code value is user remote controller code value;If the remote controler Code value is factory's remote controler code value, thens follow the steps S430;S420, the Android system code value is registered to Android input subsystem In system, and it is sent to the application of card end, the application of card end is corresponding to respond the corresponding operation of the Android system code value;S430, to described Factory's remote controler code value is mapped, and factory's remote controler code value after mapping is registered in Android input subsystem, concurrently The application of card end is given, the application of card end responds the corresponding operation of factory's remote controler code value.
In practical application, the serial ports processing module at card end judges that the code value received is user remote controller code value or factory Remote controler code value reflects factory's remote controler code value according to card end system mapping ruler if it is factory's remote controler code value It penetrates, if it is user remote controller code value, because mapping to have obtained corresponding peace according to card end system mapping ruler at screen end Tall and erect system code value, so need not be handled, for example the code value that power keys are taken is exactly 116, this is the definition of each producer Specification.About Android system code value, in module TV, the standard Linux that each card end system is on layer is being driven System, such as 116 numbers are that each card end system standard is supported and Android standards are supported, the difference is that every factory The infrared driving of quotient is different, and it is different to decode rule, so screen end is transmitted through, to carry out the Android system code value at card end be all Android system branch The standard code value held.
Then, by treated, code value is registered in Android input subsystem serial ports processing module(Input subsystems)In, Input subsystem modules are android system standard modules, main to handle external input event.The input subsystem roots at card end Rule is reported to be sent to card and rectify in the application on foreground according to code value, using receiving the response various operations of user after various code values, Such as the movement of focus up and down etc. at interface, flow terminates.
The infrared transmitting method of module TV provided by the invention, the card end for realizing module TV can arbitrarily replace and The function of not influencing infrared remote control is user remote controller or factory's remote controler by shielding the judgement of end main flow module, if work Factory's remote controler does not do mapping processing then;It is that corresponding Android system code value is sent to by serial ports if user remote controller Quadratic Map Smart card end, smart card end can then identify Android system code value, and to respond the operation of user in OSD, and factory is remotely controlled Device does not do mapping processing then, is sent to card end correspondence and carries out the corresponding operation of mapping response, is not changing the original infrared place in card end Under the premise of managing logic, greatly improve the card end of module TV can range of fit, advance the standardization of module TV into Journey.
Based on the infrared transmitting method of above-mentioned module TV, the embodiment of the present invention additionally provides a kind of the infrared of module TV Repeater system, as shown in Fig. 2, the infrared forwarding system of the module TV includes:Shield end 100 and card end 200;
The screen end 100 includes:
Infrared processing module 110 for receiving remote controler code value, and judges the remote controler code value for user remote controller code Value or factory's remote controler code value;If the remote controler code value is user remote controller code value, the remote controler code value is mapped as Corresponding screen end is sent to main flow module using workable macro;If the remote controler code value is factory's remote controler code value, Factory's remote controler code value is then sent to main flow module;
Main flow module 120, for judging that current OSD states handle state for screen end OSD or card end OSD handles state, If current OSD states, which are screen end OSD, handles state, shields end application and respond the described macro or corresponding behaviour of factory's remote controler code value Make;If current OSD states are that card end OSD handles state, judge the remote controler code value for user remote controller code value or factory Remote controler code value;If the remote controler code value is user remote controller code value, macro corresponding Android system code is mapped as by described Value, and it is sent to card end by shielding end serial communication modular;It, will be described if the remote controler code value is factory's remote controler code value Factory's remote controler code value is sent to card end by shielding end serial communication modular;
Shield end serial communication modular 130, for the Android system code value or factory's remote controler code value to be sent to card end;
The card end 200 includes:
Card end serial communication modular 210, for receiving the Android system code value or factory's remote controler code value;
Serial ports processing module 220, for judging the remote controler code value for user remote controller code value or factory's remote controller code Value responds the corresponding operation of the Android system code value if the remote controler code value is user remote controller code value;If described distant Control device code value is factory's remote controler code value, then maps factory's remote controler code value, and respond factory's remote controler The corresponding operation of code value.
It includes infrared code that screen end serial communication modular 130 is substantially carried out corresponding with card end serial communication modular 210 The data such as value send and receive.
Further, the infrared processing module 110 includes:
Code value receiving unit, binary remote controler code value for receiving remote controler infrared emission;
Converting unit, for binary remote controler code value to be converted to corresponding hexadecimal remote controller code Value;
First code value judging unit, for judging the hexadecimal remote controler code value for user remote controller code value or work Factory's remote controler code value;
First code value map unit is used for when the hexadecimal remote controler code value is user remote controller code value, then The user remote controller code value is mapped as corresponding screen end using workable macro;When the hexadecimal remote controler code value For factory's remote controler code value when, then do not change factory's remote controler code value.
Further, the main flow module 120 includes:
OSD condition adjudgement units, for judging that current OSD states handle state for screen end OSD or card end OSD handles shape State;State is handled if screen end OSD, then shields end application and responds the described macro or corresponding operation of factory's remote controler code value;
Second code value judging unit judges the remote control when for judging that current OSD states handle state for card end OSD Device code value is user remote controller code value or factory's remote controler code value;
Second code value map unit when for judging the remote controler code value for user remote controller code value, macro is reflected described It penetrates as corresponding Android system code value, and card end is sent to by shielding end serial communication modular;If the remote controler code value is work When factory's remote controler code value, then factory's remote controler code value is sent to card end by shielding end serial communication modular.
Further, the serial ports processing module 220 includes:
Third code value judging unit, for judging the remote controler code value for user remote controller code value or factory's remote controller code Value;
Android input subsystem unit is used for when the remote controler code value is user remote controller code value, by the Android System code value is registered in Android input subsystem, and is sent to the application of card end, and the application of card end is corresponding to respond the Android system The corresponding operation of code value;When the remote controler code value is factory's remote controler code value, factory's remote controler code value is reflected It penetrates, and factory's remote controler code value after mapping is registered in Android input subsystem, and be sent to the application of card end, the application of card end Respond the corresponding operation of factory's remote controler code value.
In conclusion the infrared transmitting method and system of a kind of module TV provided by the invention, pass through module TV Shield end infrared receiver remote controler code value, and judges the remote controler code value for user remote controller code value or factory's remote controler code value; If the remote controler code value is user remote controller code value, the remote controler code value is mapped as corresponding screen end application and can be used It is macro;If the remote controler code value is factory's remote controler code value, constant;Judge that current OSD states handle state for screen end OSD Or card end OSD handles state, if currently OSD states are that screen end OSD handles state, it is distant to shield the end described macro or factory of application response Control the corresponding operation of device code value;If current OSD states are that card end OSD handles state, judge the remote controler code value for user Remote controler code value or factory's remote controler code value;If the remote controler code value is user remote controller code value, macro it is mapped as described Corresponding Android system code value, and it is sent to card end;If the remote controler code value is factory's remote controler code value, by the factory Remote controler code value is sent to card end;Card end judges the remote controler code value for user remote controller code value or factory's remote controler code value, If the remote controler code value is user remote controller code value, the corresponding operation of the Android system code value is responded;If the remote control Device code value is factory's remote controler code value, then maps factory's remote controler code value, and respond factory's remote controller code It is worth corresponding operation;To realize module TV in the case where replacing card end, infrared processing module is merely placed at screen end, Under the premise of not changing the original infrared processing logic in card end, greatly improve module TV card end can range of fit, further The standardized process for advancing module TV brings to user and greatly facilitates.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect range.

Claims (8)

1. a kind of infrared transmitting method of module TV, which is characterized in that include the following steps:
A, the screen end infrared receiver remote controler code value of module TV, and judge the remote controler code value for user remote controller code value or Factory's remote controler code value;If user remote controller code value, then the remote controler code value being mapped as corresponding screen end application can make It is macro;It is if factory's remote controler code value, then constant;
B, judge that current OSD states handle state for screen end OSD or card end OSD handles state, state handled if screen end OSD, Then shield end application and responds the described macro or corresponding operation of factory's remote controler code value;State is handled if card end OSD, then described in judgement Remote controler code value is user remote controller code value or factory's remote controler code value;
If C, the remote controler code value is user remote controller code value, by it is described it is macro be mapped as corresponding Android system code value, and It is sent to card end;If the remote controler code value is factory's remote controler code value, factory's remote controler code value is sent to card end;
D, card end judges received code value as user remote controller code value or factory's remote controler code value, if user remote controller code Value, then respond the corresponding operation of the Android system code value;If factory's remote controler code value, then to factory's remote controler code value It is mapped, and responds the corresponding operation of factory's remote controler code value.
2. the infrared transmitting method of module TV according to claim 1, which is characterized in that the step A is specifically included:
A1, screen end receive binary remote controler code value of remote controler infrared emission;
A2, binary remote controler code value is converted into corresponding hexadecimal remote controler code value;
A3, judge the hexadecimal remote controler code value for user remote controller code value or factory's remote controler code value;
If A4, the hexadecimal remote controler code value are user remote controller code value, the user remote controller code value is mapped It is corresponding screen end using workable macro;If the hexadecimal remote controler code value is factory's remote controler code value, do not change Become factory's remote controler code value.
3. the infrared transmitting method of module TV according to claim 1, which is characterized in that in the step A, according to The systematic code of 1 byte of remote controler code value foremost come identify the remote controler code value be user remote controller code value or work Factory's remote controler code value.
4. the infrared transmitting method of module TV according to claim 1, which is characterized in that the step D is specifically included:
D1, card end judge the remote controler code value for user remote controller code value or factory's remote controler code value, if user remote controller Code value thens follow the steps D2;If factory's remote controler code value, D3 is thened follow the steps;
D2, the Android system code value is registered in Android input subsystem, and is sent to the application of card end, the application of card end corresponds to Respond the corresponding operation of the Android system code value;
D3, factory's remote controler code value is mapped, and factory's remote controler code value after mapping is registered to Android input In subsystem, and it is sent to the application of card end, the application of card end responds the corresponding operation of factory's remote controler code value.
5. a kind of infrared forwarding system of module TV, which is characterized in that including screen end and card end;
The screen end includes:
Infrared processing module for receiving remote controler code value, and judges the remote controler code value for user remote controller code value or work Factory's remote controler code value;If the remote controler code value is user remote controller code value, the remote controler code value is mapped as corresponding Shield end using workable macro, and is sent to main flow module;If the remote controler code value is factory's remote controler code value, by institute It states factory's remote controler code value and is sent to main flow module;
Main flow module, for judging that current OSD states handle state for screen end OSD or card end OSD handles state, if currently OSD states are that screen end OSD handles state, then shield end application and respond the described macro or corresponding operation of factory's remote controler code value;If working as Preceding OSD states are that card end OSD handles state, then judge the remote controler code value for user remote controller code value or factory's remote controller code Value;If the remote controler code value is user remote controller code value, by it is described it is macro be mapped as corresponding Android system code value, and pass through Screen end serial communication modular is sent to card end;If the remote controler code value is factory's remote controler code value, the factory is remotely controlled Device code value is sent to card end by shielding end serial communication modular;
Shield end serial communication modular, for the Android system code value or factory's remote controler code value to be sent to card end;
The card end includes:
Card end serial communication modular, for receiving the Android system code value or factory's remote controler code value;
Serial ports processing module, for judging received code value as user remote controller code value or factory's remote controler code value, if described Remote controler code value is user remote controller code value, then responds the corresponding operation of the Android system code value;If the remote controler code value For factory's remote controler code value, then factory's remote controler code value is mapped, and responds factory's remote controler code value and correspond to Operation.
6. the infrared forwarding system of module TV according to claim 5, which is characterized in that the infrared processing module packet It includes:
Code value receiving unit, binary remote controler code value for receiving remote controler infrared emission;
Converting unit, for binary remote controler code value to be converted to corresponding hexadecimal remote controler code value;
First code value judging unit, for judging that the hexadecimal remote controler code value is distant for user remote controller code value or factory Control device code value;
First code value map unit is used for when the hexadecimal remote controler code value is user remote controller code value, then by institute It states user remote controller code value and is mapped as corresponding screen end using workable macro;When for the hexadecimal remote controler code value work When factory's remote controler code value, then factory's remote controler code value is not changed.
7. the infrared forwarding system of module TV according to claim 5, which is characterized in that the main flow module packet It includes:
OSD condition adjudgement units, for judging that current OSD states handle state for screen end OSD or card end OSD handles state;If State is handled for screen end OSD, then shields end application and responds the described macro or corresponding operation of factory's remote controler code value;
Second code value judging unit judges the remote controller code when for judging that current OSD states handle state for card end OSD Value is user remote controller code value or factory's remote controler code value;
Second code value map unit when for judging the remote controler code value for user remote controller code value, macro is mapped as described Corresponding Android system code value, and it is sent to card end by shielding end serial communication modular;If the remote controler code value is that factory is distant When controlling device code value, then factory's remote controler code value is sent to card end by shielding end serial communication modular.
8. the infrared forwarding system of module TV according to claim 5, which is characterized in that the serial ports processing module packet It includes:
Third code value judging unit, for judging the remote controler code value for user remote controller code value or factory's remote controler code value;
Android input subsystem unit is used for when the remote controler code value is user remote controller code value, by the Android system Code value is registered in Android input subsystem, and is sent to the application of card end, and the application of card end is corresponding to respond the Android system code value Corresponding operation;When the remote controler code value is factory's remote controler code value, factory's remote controler code value is mapped, and Factory's remote controler code value after mapping is registered in Android input subsystem, and is sent to the application of card end, the application response of card end The corresponding operation of factory's remote controler code value.
CN201410839359.8A 2014-12-30 2014-12-30 A kind of infrared transmitting method and system of module TV Active CN105812861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410839359.8A CN105812861B (en) 2014-12-30 2014-12-30 A kind of infrared transmitting method and system of module TV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410839359.8A CN105812861B (en) 2014-12-30 2014-12-30 A kind of infrared transmitting method and system of module TV

Publications (2)

Publication Number Publication Date
CN105812861A CN105812861A (en) 2016-07-27
CN105812861B true CN105812861B (en) 2018-08-14

Family

ID=56980815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410839359.8A Active CN105812861B (en) 2014-12-30 2014-12-30 A kind of infrared transmitting method and system of module TV

Country Status (1)

Country Link
CN (1) CN105812861B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489057A (en) * 2009-01-03 2009-07-22 海尔集团公司 Television function expansion component using golden finger connector
CN102025939A (en) * 2010-12-20 2011-04-20 四川长虹电器股份有限公司 Method of digital television set top box for supporting various types of remote controllers
CN103369389A (en) * 2012-03-29 2013-10-23 Lg电子株式会社 A multimedia device connected to at least one electronic device and controlling method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8776106B2 (en) * 2009-10-22 2014-07-08 At&T Intellectual Property I, Lp System and method for a household mosaic viewer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489057A (en) * 2009-01-03 2009-07-22 海尔集团公司 Television function expansion component using golden finger connector
CN102025939A (en) * 2010-12-20 2011-04-20 四川长虹电器股份有限公司 Method of digital television set top box for supporting various types of remote controllers
CN103369389A (en) * 2012-03-29 2013-10-23 Lg电子株式会社 A multimedia device connected to at least one electronic device and controlling method thereof

Also Published As

Publication number Publication date
CN105812861A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
EP3703315B1 (en) Communication system, control device, setting device, setting method and program
CN102932695B (en) A kind of remote control thereof, intelligent terminal and intelligent remote control system
CN105068854B (en) A kind of method that the control to different product is realized using same rule
CN104065993A (en) Remote control method and remote control system
CN107071551A (en) Applied to the multi-screen interactive screen response method in intelligent television system
US20150017913A1 (en) Communication method, program storage medium, mobile terminal, home electric appliance, and home electric appliance operation setting system
CN104898654A (en) Unmanned plane remote control system and method
US9418539B2 (en) Remote control apparatus and electronic device remotely controlled by the same
US20150019033A1 (en) Providing user interface of a frequency converter over a wireless connection
CN103312814A (en) Method for establishing VNC (virtual network computing) covert channel between cloud management platform and virtual machine terminal user
CN104320683A (en) Key value extracting method and terminal television
CN106020868B (en) A kind of smart card firmware update and system
CN108695973A (en) Computer implemented method for configuring electronic relay
CN110703616A (en) Intelligent interaction method, cloud server, intelligent interaction system and storage medium
CN105578313B (en) Long-range control method, system are remote to control execution method, system and mobile terminal
CN105451077B (en) A kind of button processing method and system based on module TV
CN114727032A (en) Signal source calling and controlling method and system
CN105812861B (en) A kind of infrared transmitting method and system of module TV
CN108257377A (en) A kind of method and system that remote controler is configured
EP3182384B1 (en) Improved physical access control system
CN114726838B (en) System and method for remote secure interaction of multiple signal sources
CN105207747A (en) Data transmission method based on HID protocol
CN106254118B (en) WiFi equipment rapid control method
CN109698974A (en) A kind of method, apparatus, electronic equipment and the medium of display progress
CN114726904A (en) System and method for remote secure interaction of signal sources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant