CN103648009A - Android system based infrared remote control responding method and device and smart television - Google Patents

Android system based infrared remote control responding method and device and smart television Download PDF

Info

Publication number
CN103648009A
CN103648009A CN201310726759.3A CN201310726759A CN103648009A CN 103648009 A CN103648009 A CN 103648009A CN 201310726759 A CN201310726759 A CN 201310726759A CN 103648009 A CN103648009 A CN 103648009A
Authority
CN
China
Prior art keywords
key assignments
system key
android
infrared remote
remote controller
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
CN201310726759.3A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201310726759.3A priority Critical patent/CN103648009A/en
Publication of CN103648009A publication Critical patent/CN103648009A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an Android system based infrared remote control responding method and device and a smart television. The method comprises that drive programs are created, and decoding and mapping events are created in android user space and are written into an android kernel; the drive programs receive coded impulse signals reported by an infrared receiving circuit, and the coded impulse signals are corresponding to keys of an infrared remote control; the drive programs analyze physical codes out of the coded impulse signals; the drive programs map the physical codes to Linux system key values and report the Linux system key values to an operation system; the operation system maps the Linux system key values to Android system key values and reports the Android system key values to application programs for the application programs to call application modules corresponding to the Android system key values. By means of the method and the device, the smart television with the Android system can support responding to the infrared remote control.

Description

Method, device and the intelligent television of the response Infrared remote controller based on Android system
Technical field
The present invention relates to intelligent television technical field, in particular, relate to a kind of method, device and intelligent television of the response Infrared remote controller based on Android system.
Background technology
Infrared remote controller is a kind of radio transmitting apparatus, and when the button in Infrared remote controller is pressed, Infrared remote controller is transmitting infrared signal outwards.And for different buttons, the wavelength of the infrared signal of Infrared remote controller transmitting is also just different.
Intelligent television is a kind of radio system, after receiving the infrared signal of radio transmitting apparatus transmitting, infrared signal is processed, thereby obtained a key assignments, application program just can be called the application operating submodule of answering with key-value pair and complete specific application operating.And for the infrared signal of different wave length, the key assignments obtaining is also just different, the application operating submodule of application call is also just different, thereby finally realizes the generation that an action is controlled in a button or a plurality of key combination.
In the prior art, majority is all that the intelligent television support by linux system responds Infrared remote controller, that is, the button of Infrared remote controller can trigger the intelligent television of linux system and carry out corresponding action.But for the intelligent television of Android system, it also cannot support Infrared remote controller to respond at present.Therefore, technical problem in the urgent need to address is at present: how to make the intelligent television support of Android system respond Infrared remote controller.
Summary of the invention
In view of this, the invention provides a kind of method, device and intelligent television of the response Infrared remote controller based on Android system, the problem that how to make the intelligent television support of Android system respond Infrared remote controller to overcome in prior art.
For achieving the above object, the invention provides following technical scheme:
A method for response Infrared remote controller based on Android system, comprising:
Create driver, under android kernel source code catalogue, create driver, by the user's space at android, construct decoding, mapping event and be written in android kernel;
Driver receives the coded pulse signal that infrared receiving circuit reports, and described coded pulse signal is corresponding with the button of Infrared remote controller;
Described driver parses physics code from described coded pulse signal;
Described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system;
Described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
Preferably, described driver is mapped as linux system key assignments by described physics code, comprising:
Described driver is transferred the first pre-stored mapping table, according to described the first mapping table, determine the linux system key assignments corresponding with described physics code, in described the first mapping table, store physics code that Infrared remote controller button is corresponding and the corresponding relation of linux system key assignments.
Preferably, described operating system is mapped as Android system key assignments by described linux system key assignments, comprising:
Operating system is transferred the second pre-stored mapping table, according to described the second mapping table, determine the Android system key assignments of answering with described linux system key-value pair, in described the second mapping table, store the corresponding relation of described linux system key assignments and described Android system key assignments.
Preferably, the physics code that described Infrared remote controller button is corresponding comprises:
The physics code that the physics code of the general button of Infrared remote controller and Infrared remote controller dedicated button are corresponding.
Preferably, described Android system key assignments comprises:
The Android system key assignments that the Android system key assignments that the general button of Infrared remote controller is corresponding and Infrared remote controller dedicated button are corresponding.
A device for response Infrared remote controller based on Android system, comprising:
Driver creating unit for creating driver, creates driver under android kernel source code catalogue, by the user's space at android, is constructed decoding, mapping event and is written in android kernel;
Receiving element, receives for driver the coded pulse signal that infrared receiving circuit reports, and described coded pulse signal is corresponding with the button of Infrared remote controller;
Resolution unit, parses physics code for described driver from described coded pulse signal;
The first map unit, is mapped as linux system key assignments for described driver by described physics code, and described linux system key assignments is reported to operating system;
The second map unit, for described operating system, described linux system key assignments is mapped as to Android system key assignments, and described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
Preferably, described the first map unit comprises:
First transfers subelement, for described driver, transfer the first pre-stored mapping table, according to described the first mapping table, determine the linux system key assignments corresponding with described physics code, in described the first mapping table, store physics code that Infrared remote controller button is corresponding and the corresponding relation of linux system key assignments.
Preferably, described the second map unit comprises:
Second transfers subelement, for operating system, transfer the second pre-stored mapping table, according to described the second mapping table, determine the Android system key assignments of answering with described linux system key-value pair, in described the second mapping table, store the corresponding relation of described linux system key assignments and described Android system key assignments.
Preferably, the physics code that described Infrared remote controller button is corresponding comprises:
The physics code that the physics code of the general button of Infrared remote controller and Infrared remote controller dedicated button are corresponding;
Described Android system key assignments comprises:
The Android system key assignments that the Android system key assignments that the general button of Infrared remote controller is corresponding and Infrared remote controller dedicated button are corresponding.
An intelligent television, includes said apparatus.
Known via above-mentioned technical scheme, compared with prior art, the invention discloses a kind of method of the response Infrared remote controller based on Android system, device and intelligent television, create driver, under android kernel source code catalogue, create driver, by the user's space structure decoding at android, mapping event is also written in android kernel, driver receives the coded pulse signal that infrared receiving circuit reports, described coded pulse signal is corresponding with the button of Infrared remote controller, described driver parses physics code from described coded pulse signal, described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system, described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application module that application call is corresponding with described Android system key assignments.By said method and device, can make the intelligent television support of Android system respond Infrared remote controller.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skills, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the idiographic flow schematic diagram of the method for the disclosed a kind of response Infrared remote controller based on Android system of the embodiment of the present invention one;
Fig. 2 is the disclosed a kind of coded pulse schematic diagram of the embodiment of the present invention one;
Fig. 3 is the corresponding relation schematic diagram of the disclosed a kind of coded pulse of the embodiment of the present invention one and binary number;
Fig. 4 is the idiographic flow schematic diagram of the method for the response Infrared remote controller of the disclosed another kind of the embodiment of the present invention two based on Android system;
Fig. 5 is disclosed a kind of the first mapping table schematic diagram in the embodiment of the present invention two;
Fig. 6 is disclosed a kind of remote controller schematic diagram that is applied to the intelligent television of Android system in the embodiment of the present invention two;
Fig. 7 is disclosed a kind of the second mapping table schematic diagram in the embodiment of the present invention two;
Fig. 8 is the concrete structure schematic diagram of the device of disclosed a kind of response Infrared remote controller based on Android system in the embodiment of the present invention three;
Fig. 9 is the concrete structure schematic diagram of the device of the response Infrared remote controller of disclosed another kind based on Android system in the embodiment of the present invention four.
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.
Term " first " in specification of the present invention and claims and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, and needn't be for describing specific order or precedence.The term that should be appreciated that such use suitably can exchange in situation, and this is only to describe the differentiation mode in embodiments of the invention, the object of same alike result being adopted when describing.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, so that the process that comprises a series of unit, method, system, product or equipment are not necessarily limited to those unit, but can comprise clearly do not list or for other intrinsic unit of these processes, method, product or equipment.
From background technology, in the prior art, majority is all that the intelligent television support by linux system responds Infrared remote controller, that is, the button of Infrared remote controller can trigger the intelligent television of linux system and carry out corresponding action.But for the intelligent television of Android system, it also cannot support Infrared remote controller to respond at present.Therefore, technical problem in the urgent need to address is at present: how to make the intelligent television support of Android system respond Infrared remote controller.
For this reason, the invention discloses a kind of method of the response Infrared remote controller based on Android system, device and intelligent television, create driver, under android kernel source code catalogue, create driver, by the user's space structure decoding at android, mapping event is also written in android kernel, after the electric impulse signal reporting at driver reception infrared receiving circuit, described electric impulse signal is resolved to physics code, and described physics code is reported to operating system, operating system resolves to Android system key assignments by described physics code, and described Android system key assignments is reported to application program, so that the application module that application call is corresponding with described Android system key assignments.By said method and device, can make the intelligent television support of Android system respond Infrared remote controller.
Relevant for the idiographic flow of the method for the above-mentioned response Infrared remote controller based on Android system, and the concrete structure of the device of the above-mentioned response Infrared remote controller based on Android system will be elaborated by following examples.
Embodiment mono-
Referring to accompanying drawing 1, is the idiographic flow schematic diagram of the method for the disclosed a kind of response Infrared remote controller based on Android system of the embodiment of the present invention one, and the method comprises the steps:
S100: create driver.
Under android kernel source code catalogue, create driver, by the user's space at android, construct decoding, mapping event and be written in android kernel.
S101: driver receives the coded pulse signal that infrared receiving circuit reports.
Coded pulse signal is corresponding with the button of infrared remote control crowd fighting, concrete, and infrared receiving circuit is positioned at intelligent television, and it can receive the infrared signal of Infrared remote controller transmitting, and this infrared signal is converted to coded pulse signal, reports driver.
S102: described driver parses physics code from described coded pulse signal.
Driver, after receiving coded pulse signal, can parse the corresponding physics code of infrared signal of Infrared remote controller transmitting from this coded pulse signal.
Conventionally, the coded pulse of one-touch action at least carries a guidance code and one and forms physics code (as shown in Figure 2) by 32 Bits Serial binary values.First 16 in physics code is user code, be address code and part corresponding to address code negate in accompanying drawing 2, user code does not change with the difference of button, it is the identification mark arranging in order to represent specific user, to distinguish the infrared remote-controlled signal of dissimilar Infrared remote controller transmitting, thereby prevent misoperation.In physics code rear 16 for command code (also can be called function code) and radix-minus-one complement thereof, i.e. numeric data code in accompanying drawing 2 and part corresponding to numeric data code radix-minus-one complement, wherein, first 8 is command code, rear 8 radix-minus-one complements that are command code, command code changes along with the difference of button, is the identification mark of button.
In addition, in coded pulse, by high level or low level, do not represent " 1 " or " 0 " in binary system, but represent by pulse duration.For example, refer to accompanying drawing 3, for binary value " 0 ", a pulse duration accounts for 1.12ms; For binary value " 1 ", a pulse duration accounts for 2.25ms.Therefore, Infrared remote controller driver need to parse physics code according to the width of each pulse in coded pulse from remote control code pulse.
S103: described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system.
S104: described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
It should be noted that, the files classes of Android system key assignments and file system seemingly, comprise actual disposition information and the data when current intelligent television and application program are carried out, used, and key assignments comprises several data types, to adapt to the user demand of varying environment.In intelligent television, it generally all uses string value.
In sum, the embodiment of the present invention one discloses a kind of method of the response Infrared remote controller based on Android system, create driver, under android kernel source code catalogue, create driver, by the user's space structure decoding at android, mapping event is also written in android kernel, driver receives the coded pulse signal that infrared receiving circuit reports, described coded pulse signal is corresponding with the button of Infrared remote controller, described driver parses physics code from described coded pulse signal, described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system, described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application module that application call is corresponding with described Android system key assignments.By said method, can make the intelligent television support of Android system respond Infrared remote controller.
On the basis of the disclosed embodiment of the invention described above, the invention also discloses the method for the another kind of response Infrared remote controller based on Android system, will be elaborated by following examples below.
Embodiment bis-
Referring to accompanying drawing 4, is the idiographic flow schematic diagram of the method for the response Infrared remote controller of the disclosed another kind of the embodiment of the present invention two based on Android system, and the method comprises the steps:
S200: create driver.
Under android kernel source code catalogue, create driver, by the user's space at android, construct decoding, mapping event and be written in android kernel.
S201: driver receives the coded pulse signal that infrared receiving circuit reports.
S202: described driver parses physics code from described coded pulse signal.
It should be noted that, in the present embodiment, step S201, S202 are similar step to S101, S102 in embodiment mono-, and the present embodiment repeats no more, and specifically refers to the associated description in embodiment mono-.
S203: described driver is transferred the first pre-stored mapping table, determines the linux system key assignments corresponding with described physics code according to described the first mapping table.
It should be noted that, in described the first mapping table, store physics code that Infrared remote controller button is corresponding and the corresponding relation of linux system key assignments.Concrete, refer to accompanying drawing 5, be a kind of concrete example of the first mapping table, with the first behavior example, 0X6501 is the physics code that a certain button of Infrared remote controller is corresponding, KEY_1 is linux system key assignments.
Further it should be noted that, the physics code that in the present embodiment, Infrared remote controller button is corresponding comprises physics code and the physics code corresponding to Infrared remote controller dedicated button of the general button of Infrared remote controller.The general button of Infrared remote controller refers to the button that the mobile terminal of remote controller and other application standards Android system has, such as, numerical key.The mobile terminal that Infrared remote controller dedicated button refers to other application standards Android system does not have, and the key having on remote controller, such as, consult accompanying drawing 6, for being applied to a remote controller of the intelligent television of Android system, with TV, computer, HDM1 and four buttons of video of power key below.
The physics code of the general button of Infrared remote controller is not identical with the physics code of the general button of the mobile terminal of other application standards Android system, in the present embodiment, physics code in the first mapping table had both comprised the physics code that the physics frameshift alteration of the general button of the mobile terminal of other application standards Android system is become to the general button of Infrared remote controller, also comprised the physics code of the Infrared remote controller dedicated button of interpolation.
S204: drive system reports operating system by described linux system key assignments.
For intelligent television, aforesaid operations system is Framework.
S205: operating system is transferred the second pre-stored mapping table, determines the Android system key assignments of answering with described linux system key-value pair according to described the second mapping table.
It should be noted that, in described the second mapping table, store the corresponding relation of described linux system key assignments and described Android system key assignments.Concrete, refer to accompanying drawing 7, be a kind of concrete example of the second mapping table, with the first behavior example, the corresponding linux system key assignments of key116, POWER WAKE is Android system key assignments.It should be noted that, the 116th, the concrete assignment to system program to KEY_1.That is to say, after driver reports operating system by linux system key assignments, operating system need to be carried out other programs to determine the concrete assignment of this linux system key assignments, and then according to this assignment, from the second mapping table, finds out the Android system key assignments of answering with this linux system key-value pair.
The Android system key assignments Android system key assignments corresponding with the general button of the mobile terminal of other application standards Android system that the general button of Infrared remote controller is corresponding might not be identical, in the present embodiment, Android system key assignments in the second mapping table had both comprised the Android system key assignments that the Android system key assignments of the general button of the mobile terminal of other application standards Android system is modified to the general button of Infrared remote controller, also comprised the Android system key assignments of the Infrared remote controller dedicated button of interpolation.
S206: described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
In sum, the embodiment of the present invention two discloses the method for the another kind of response Infrared remote controller based on Android system, create driver, under android kernel source code catalogue, create driver, by the user's space structure decoding at android, mapping event is also written in android kernel, driver receives the coded pulse signal that infrared receiving circuit reports, described coded pulse signal is corresponding with the button of Infrared remote controller, described driver parses physics code from described coded pulse signal, described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system, described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application module that application call is corresponding with described Android system key assignments.By said method, can make the intelligent television support of Android system respond Infrared remote controller.
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 tri-
Referring to accompanying drawing 8, is the device of the disclosed a kind of response Infrared remote controller based on Android system of the embodiment of the present invention three, and this device comprises as lower unit:
Driver creating unit 10 for creating driver, creates driver under android kernel source code catalogue, by the user's space at android, is constructed decoding, mapping event and is written in android kernel.
Receiving element 11, receives for driver the coded pulse signal that infrared receiving circuit reports, and described coded pulse signal is corresponding with the button of Infrared remote controller.
Resolution unit 12, parses physics code for described driver from described coded pulse signal.
The first map unit 13, is mapped as linux system key assignments for described driver by described physics code, and described linux system key assignments is reported to operating system.
The second map unit 14, for described operating system, described linux system key assignments is mapped as to Android system key assignments, and described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
It should be noted that, about the function of above-mentioned unit, 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 tetra-
Referring to accompanying drawing 9, is the device of the disclosed a kind of response Infrared remote controller based on Android system of the embodiment of the present invention four, and this device comprises as lower unit:
Driver creating unit 20 for creating driver, creates driver under android kernel source code catalogue, by the user's space at android, is constructed decoding, mapping event and is written in android kernel.
Receiving element 21, receives for driver the coded pulse signal that infrared receiving circuit reports, and described coded pulse signal is corresponding with the button of Infrared remote controller.
Resolution unit 22, parses physics code for described driver from described coded pulse signal.
First transfers subelement 23, for described driver, transfer the first pre-stored mapping table, according to described the first mapping table, determine the linux system key assignments corresponding with described physics code, in described the first mapping table, store physics code that Infrared remote controller button is corresponding and the corresponding relation of linux system key assignments.
First reports unit 24, for described linux system key assignments is reported to operating system.
Second transfers subelement 25, for operating system, transfer the second pre-stored mapping table, according to described the second mapping table, determine the Android system key assignments of answering with described linux system key-value pair, in described the second mapping table, store the corresponding relation of described linux system key assignments and described Android system key assignments.
Second reports unit 26, for described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
It should be noted that, about the function of above-mentioned unit, 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.
Further it should be noted that, the embodiment of the invention also discloses a kind of intelligent television, this intelligent television comprises the device of the disclosed response Infrared remote controller based on Android system in embodiment tri-or embodiment tetra-.
In sum: a kind of method that the invention discloses response Infrared remote controller based on Android system, device and intelligent television, create driver, under android kernel source code catalogue, create driver, by the user's space structure decoding at android, mapping event is also written in android kernel, driver receives the coded pulse signal that infrared receiving circuit reports, described coded pulse signal is corresponding with the button of Infrared remote controller, described driver parses physics code from described coded pulse signal, described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system, described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application module that application call is corresponding with described Android system key assignments.By said method and device, can make the intelligent television support of Android system respond Infrared remote controller.
In this specification, 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.
It should be noted that in addition, device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or holding wire.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly comprise that application-specific integrated circuit (ASIC), dedicated cpu, private memory, special-purpose components and parts etc. realize by specialized hardware.Generally, all functions being completed by computer program can realize with corresponding hardware at an easy rate, and the particular hardware structure that is used for realizing same function can be also diversified, such as analog circuit, digital circuit or special circuit etc.But software program realization is better execution mode under more susceptible for the purpose of the present invention condition.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) method described in each embodiment of execution the present invention.
In sum, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to above-described embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record the various embodiments described above is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for the response Infrared remote controller based on Android system, is characterized in that, comprising:
Create driver, under android kernel source code catalogue, create driver, by the user's space at android, construct decoding, mapping event and be written in android kernel;
Driver receives the coded pulse signal that infrared receiving circuit reports, and described coded pulse signal is corresponding with the button of Infrared remote controller;
Described driver parses physics code from described coded pulse signal;
Described driver is mapped as linux system key assignments by described physics code, and described linux system key assignments is reported to operating system;
Described operating system is mapped as Android system key assignments by described linux system key assignments, and described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
2. method according to claim 1, is characterized in that, described driver is mapped as linux system key assignments by described physics code, comprising:
Described driver is transferred the first pre-stored mapping table, according to described the first mapping table, determine the linux system key assignments corresponding with described physics code, in described the first mapping table, store physics code that Infrared remote controller button is corresponding and the corresponding relation of linux system key assignments.
3. method according to claim 1, is characterized in that, described operating system is mapped as Android system key assignments by described linux system key assignments, comprising:
Operating system is transferred the second pre-stored mapping table, according to described the second mapping table, determine the Android system key assignments of answering with described linux system key-value pair, in described the second mapping table, store the corresponding relation of described linux system key assignments and described Android system key assignments.
4. method according to claim 2, is characterized in that, the physics code that described Infrared remote controller button is corresponding comprises:
The physics code that the physics code of the general button of Infrared remote controller and Infrared remote controller dedicated button are corresponding.
5. method according to claim 3, is characterized in that, described Android system key assignments comprises:
The Android system key assignments that the Android system key assignments that the general button of Infrared remote controller is corresponding and Infrared remote controller dedicated button are corresponding.
6. a device for the response Infrared remote controller based on Android system, is characterized in that, comprising:
Driver creating unit for creating driver, creates driver under android kernel source code catalogue, by the user's space at android, is constructed decoding, mapping event and is written in android kernel;
Receiving element, receives for driver the coded pulse signal that infrared receiving circuit reports, and described coded pulse signal is corresponding with the button of Infrared remote controller;
Resolution unit, parses physics code for described driver from described coded pulse signal;
The first map unit, is mapped as linux system key assignments for described driver by described physics code, and described linux system key assignments is reported to operating system;
The second map unit, for described operating system, described linux system key assignments is mapped as to Android system key assignments, and described Android system key assignments is reported to application program, so that the application call application module corresponding with described Android system key assignments.
7. device according to claim 6, is characterized in that, described the first map unit comprises:
First transfers subelement, for described driver, transfer the first pre-stored mapping table, according to described the first mapping table, determine the linux system key assignments corresponding with described physics code, in described the first mapping table, store physics code that Infrared remote controller button is corresponding and the corresponding relation of linux system key assignments.
8. device according to claim 6, is characterized in that, described the second map unit comprises:
Second transfers subelement, for operating system, transfer the second pre-stored mapping table, according to described the second mapping table, determine the Android system key assignments of answering with described linux system key-value pair, in described the second mapping table, store the corresponding relation of described linux system key assignments and described Android system key assignments.
9. device according to claim 7, is characterized in that, the physics code that described Infrared remote controller button is corresponding comprises:
The physics code that the physics code of the general button of Infrared remote controller and Infrared remote controller dedicated button are corresponding;
Described Android system key assignments comprises:
The Android system key assignments that the Android system key assignments that the general button of Infrared remote controller is corresponding and Infrared remote controller dedicated button are corresponding.
10. an intelligent television, includes the device as described in claim 6-9 any one.
CN201310726759.3A 2013-12-17 2013-12-17 Android system based infrared remote control responding method and device and smart television Pending CN103648009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310726759.3A CN103648009A (en) 2013-12-17 2013-12-17 Android system based infrared remote control responding method and device and smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310726759.3A CN103648009A (en) 2013-12-17 2013-12-17 Android system based infrared remote control responding method and device and smart television

Publications (1)

Publication Number Publication Date
CN103648009A true CN103648009A (en) 2014-03-19

Family

ID=50253150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310726759.3A Pending CN103648009A (en) 2013-12-17 2013-12-17 Android system based infrared remote control responding method and device and smart television

Country Status (1)

Country Link
CN (1) CN103648009A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202663A (en) * 2014-08-25 2014-12-10 浪潮软件集团有限公司 Method for starting application program through one key of remote controller in android set top box
CN106303639A (en) * 2015-05-14 2017-01-04 Tcl集团股份有限公司 A kind of realization method and system of intelligent television full keyboard function key
CN106920384A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The method and apparatus that intelligent electronic device is adapted to remote control
CN108259958A (en) * 2018-02-07 2018-07-06 深圳创维-Rgb电子有限公司 Remote keying response method, device, equipment and storage medium
CN109698970A (en) * 2018-11-16 2019-04-30 南京熊猫电子股份有限公司 TV multifunctional single key control method and Android TV based on android system
CN110121092A (en) * 2016-05-31 2019-08-13 青岛海信电器股份有限公司 A kind of method and smart television of smart television control remote controler microphone
CN112492366A (en) * 2020-11-16 2021-03-12 未来电视有限公司 Remote controller key customization method and device for smart television, smart television and medium
CN116527974A (en) * 2023-07-03 2023-08-01 深圳市华曦达科技股份有限公司 Bluetooth remote controller connection method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625064A (en) * 2012-03-28 2012-08-01 深圳市茁壮网络股份有限公司 Method and device for receiving and identifying infrared remote control signal
US20120324515A1 (en) * 2011-06-14 2012-12-20 Leonid Dashevskiy Remote Control System for Electronic Devices
CN103106104A (en) * 2013-02-07 2013-05-15 深圳杰科电器制造有限公司 Remote control method and system based on android

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120324515A1 (en) * 2011-06-14 2012-12-20 Leonid Dashevskiy Remote Control System for Electronic Devices
CN102625064A (en) * 2012-03-28 2012-08-01 深圳市茁壮网络股份有限公司 Method and device for receiving and identifying infrared remote control signal
CN103106104A (en) * 2013-02-07 2013-05-15 深圳杰科电器制造有限公司 Remote control method and system based on android

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202663A (en) * 2014-08-25 2014-12-10 浪潮软件集团有限公司 Method for starting application program through one key of remote controller in android set top box
CN106303639A (en) * 2015-05-14 2017-01-04 Tcl集团股份有限公司 A kind of realization method and system of intelligent television full keyboard function key
CN106303639B (en) * 2015-05-14 2020-06-23 Tcl科技集团股份有限公司 Method and system for realizing full keyboard function keys of smart television
CN106920384A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The method and apparatus that intelligent electronic device is adapted to remote control
CN110121092A (en) * 2016-05-31 2019-08-13 青岛海信电器股份有限公司 A kind of method and smart television of smart television control remote controler microphone
CN110121092B (en) * 2016-05-31 2021-04-16 海信视像科技股份有限公司 Method for controlling remote controller microphone by smart television and smart television
CN108259958A (en) * 2018-02-07 2018-07-06 深圳创维-Rgb电子有限公司 Remote keying response method, device, equipment and storage medium
CN108259958B (en) * 2018-02-07 2020-12-22 深圳创维-Rgb电子有限公司 Remote control key response method, device, equipment and storage medium
CN109698970A (en) * 2018-11-16 2019-04-30 南京熊猫电子股份有限公司 TV multifunctional single key control method and Android TV based on android system
CN112492366A (en) * 2020-11-16 2021-03-12 未来电视有限公司 Remote controller key customization method and device for smart television, smart television and medium
CN116527974A (en) * 2023-07-03 2023-08-01 深圳市华曦达科技股份有限公司 Bluetooth remote controller connection method, device and system

Similar Documents

Publication Publication Date Title
CN103648009A (en) Android system based infrared remote control responding method and device and smart television
CN104967997A (en) Wireless network accessing method, Wi-Fi equipment, terminal equipment and system
CN110707982A (en) Control method, device and equipment of electronic equipment and storage medium
CN103702115A (en) Method and device for reporting TV fault information
CN104915306A (en) Data operation control method and device manager
CN104244198A (en) Prompting method and device for on-state of call
CN105391605A (en) Quick network access method, system and equipment for intelligent WIFI equipment
CN105468302A (en) Data processing method, apparatus and system
CN105227760A (en) A kind of alarm clock setting method and terminal
CN104063131A (en) Application display method and device and user terminal
CN105262792A (en) Vehicle abnormality processing method and vehicle-mounted terminal
US9462408B2 (en) Information processing method and electronic device
CN104158720A (en) Chatting record clearing method and system, and mobile terminal
US20190258372A1 (en) Multi-window displaying apparatus and method and mobile electronic equipment
CN111178101B (en) Recording reading method, recording reading device and storage medium
CN111970339A (en) Request control method and device and electronic equipment
CN104601786A (en) Method for controlling information reminder light of terminal, and terminal
CN103581240A (en) Application program downloading method, user equipment and application server
CN105577910A (en) Control method, mobile terminal and control device and system
US20150189501A1 (en) Communication device and contact list displaying method
CN103714690A (en) Method and device for resolving physical codes from remote control coded pulses
CN103064594A (en) Identity authentication method, device and terminal
CN104667473A (en) Fire hydrant monitoring method and device as well as fire hydrant fault prompting method and device
CN105072438A (en) Method for data processing, video matrix, receiving box and system
CN102740248A (en) Synchronizing method and terminal device

Legal Events

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

Application publication date: 20140319

RJ01 Rejection of invention patent application after publication