CN108924615A - A kind of method responding different ultra-red orders, storage medium and smart television - Google Patents
A kind of method responding different ultra-red orders, storage medium and smart television Download PDFInfo
- Publication number
- CN108924615A CN108924615A CN201810803849.0A CN201810803849A CN108924615A CN 108924615 A CN108924615 A CN 108924615A CN 201810803849 A CN201810803849 A CN 201810803849A CN 108924615 A CN108924615 A CN 108924615A
- Authority
- CN
- China
- Prior art keywords
- infrared
- driving
- smart television
- file
- protocol
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 238000013507 mapping Methods 0.000 claims description 23
- 238000004891 communication Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 10
- 238000010304 firing Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000005191 phase separation Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Details Of Television Systems (AREA)
Abstract
The invention discloses a kind of method for responding different ultra-red orders, storage medium and smart television, the method includes:A driving document data bank is pre-established, the infrared protocol that the driving file and smart television that the driving document data bank carries are supported corresponds;When smart television starting, the infrared protocol mark configured in its system file is read;Its corresponding driving file is searched in the driving document data bank according to infrared protocol mark;The driving file found is loaded, so that the smart television can respond the ultra-red order of the corresponding infrared protocol of driving file.The present invention is by being pre-configured with multiple driving files, and the infrared protocol responded as needed loads its corresponding driving file, so that smart television can respond different infrared protocols.
Description
Technical field
The present invention relates to ntelligent television technolog field, in particular to a kind of method for responding different ultra-red orders, storage are situated between
Matter and smart television.
Background technique
With the continuous development of science and technology, the type of infrared protocol is also constantly increasing.Smart television is generally only adopted at present
With a kind of infrared protocol, i.e. smart television chooses a kind of infrared protocol as its support in numerous infrared protocols, is only capable of leading to
The ultra-red order for crossing infrared protocol generation controls smart television, still, with the function of smart television is continuously increased,
Change and product iteration, smart television different function need to be adapted to different infrared protocols, this rings smart television
The different a variety of infrared protocols of support are answered, and needs to avoid interfering with each other between different infrared signals and generates invalid key
What smart television caused by the error conditions such as event (key-press event), repeat key (key is repeated several times) crashed extremely asks
Topic.
Summary of the invention
For the prior art, the present invention is intended to provide a kind of method for responding different ultra-red orders, storage medium and intelligence
Energy TV, to realize that smart television can respond different infrared protocols.
The technical solution adopted in the present invention is as follows:
A method of responding different ultra-red orders comprising:
A driving document data bank is pre-established, what the driving file and smart television that the driving document data bank carries were supported
Infrared protocol corresponds;
When smart television starting, the infrared protocol mark configured in its system file is read;
Its corresponding driving file is searched in the driving document data bank according to infrared protocol mark;
The driving file found is loaded, so that the smart television can respond the infrared of the corresponding infrared protocol of driving file
Instruction.
The method for responding different ultra-red orders, wherein described to pre-establish a driving document data bank, the driving
The infrared protocol one-to-one correspondence that the driving file that document data bank carries is supported with smart television specifically includes:
All infrared protocols that smart television is supported are obtained, and create corresponding infrared coding agreement mapping for each infrared protocol
Table;
The corresponding driving file of each infrared protocol is generated according to infrared coding protocol mapping table, to obtain the driving file data
Library.
The method for responding different ultra-red orders, wherein each infrared coding protocol mapping table is infrared data code
With the mapping table of key value, and each infrared coding protocol mapping table carry infrared data code it is different.
The method for responding different ultra-red orders, wherein it is described to load the driving file found, so that the intelligence
Can TV can respond the ultra-red order of the corresponding infrared protocol of driving file after further include:
When smart television receives infrared signal, the guidance code that the ultra-red order carries is extracted, and arrange in default guidance code
The guidance code is searched in table;
If finding the guidance code, the infrared signal is decoded to obtain infrared data code;
If not finding search index code, the infrared signal is abandoned.
The method for responding different ultra-red orders, wherein if described find the guidance code, decode described infrared
Signal is to obtain further including after infrared data code:
The infrared data code infrared protocol corresponding with starting driving file that parsing obtains is matched;
When successful match, is determined by the driving file and search the corresponding key value of infrared data code, and respond the key
It is worth corresponding operation.
The method for responding different ultra-red orders, wherein the guidance code is the first code timing of infrared coding agreement.
The method for responding different ultra-red orders, wherein the method also includes:
When smart television receives infrared protocol switching command, the infrared protocol for obtaining the infrared protocol switching carrying is identified;
Its corresponding driving file is searched in default driving document data bank according to infrared protocol mark;
Starting driving file is set by the driving file found, and loads the starting when smart television is again started up and drives
Dynamic file, so that smart television responds the infrared protocol.
The method for responding different ultra-red orders, wherein described to further include:
If not finding driving file, starting driving file is set by default driving file.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program,
One or more of programs can be executed by one or more processor, to realize as above any response Different Red
Step in the method for external instruction.
A kind of smart television comprising:Processor, memory and communication bus;Being stored on the memory can be by institute
State the computer-readable program of processor execution;
The communication bus realizes the connection communication between processor and memory;
The processor realizes the side of as above any different ultra-red orders of response when executing the computer-readable program
Step in method.
Beneficial effect:Compared with prior art, the present invention provides a kind of method for responding different ultra-red orders, storages to be situated between
Matter and smart television, the method includes:A driving document data bank is pre-established, what the driving document data bank carried
The infrared protocol for driving file and smart television to support corresponds;When smart television starting, reads in its system file and match
The infrared protocol mark set;Its corresponding driving text is searched in the driving document data bank according to infrared protocol mark
Part;The driving file found is loaded, so that the smart television can respond the infrared of the corresponding infrared protocol of driving file
Instruction.The present invention is by being pre-configured with multiple driving files, and the infrared protocol responded as needed loads its corresponding driving
File, so that smart television can respond different infrared protocols.
Detailed description of the invention
Fig. 1 is the flow chart of one embodiment of the method for the different ultra-red orders of response provided by the invention.
Fig. 2 is the flow chart that guidance code confirms process in the method for the different ultra-red orders of response provided by the invention.
Fig. 3 is one embodiment of switching infrared protocol process in the method for the different ultra-red orders of response provided by the invention
Flow chart.
Fig. 4 is a kind of structure principle chart of the control system preferred embodiment using self-starting provided by the invention.
Specific embodiment
The present invention provides a kind of method for responding different ultra-red orders, storage medium and smart television, to make the present invention
Purpose, technical solution and effect it is clearer, clear, as follows in conjunction with drawings and embodiments further specifically to the present invention
It is bright.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the flow chart of the preferred embodiment of the control method provided by the invention using self-starting.
The method includes:
S10, a driving document data bank is pre-established, the driving file and smart television branch that the driving document data bank carries
The infrared protocol held corresponds.
Specifically, the driving document data bank is to pre-establish and be stored in smart television, the driving number of files
The corresponding driving file of all infrared protocols supported according to the smart television is stored in library, and the driving file and institute
State smart television support infrared protocol between there are one-to-one relationships.That is, the corresponding drive of an infrared protocol
Dynamic file, and its corresponding driving file can be found according to the infrared mark of the infrared protocol.The driving file
It is to compile to obtain according to the digital signal of infrared protocol, can be and different infrared coding agreements are parsed by smart television kernel
(Infrared protocol)Remote control device transmitting the modulation through pulse position modulation mode height number signal, and be adapted to and compiled
It translates to obtain, the extension of described driving its corresponding infrared coding agreement of file and the infrared coding agreement.
Further, the driving file can be smart television itself compiling and generate, and can be external equipment compiling and generates
After be synchronized to smart television.That is, technical protocol of the external equipment according to different infrared coding formats, is compiled by adaptation
File is driven correspondingly with each infrared coding agreement, to obtain driving document data bank.Meanwhile it being compiled in android system
When translating will driving file be incorporated into system upgrade firmware file, to smart television carry out firmware updating file so that
Smart television obtains the driving document data bank.For example, the infrared protocol includes that NEC protocol code agreement and TC9012 are assisted
View coding, then corresponding driving text can be generated according to the coding timing and data format of both infrared coding agreements
Part, and the driving file of generation is added in android system Kernel kernel-driven code, Kernel kernel will be according to this
The coding timing and data format that two kinds of infrared protocols encode parse infrared signal, read in kernel compilation process
Agreement describes file and is adapted to current the supported coding protocol type of Kernel kernel, compiles karyogenesis ZImages in Kernel, and
The compiling of ZImage file is integrated into Android firmware packet to and is supplied to smart television upgrading, smart television at this time is
Can parse identification ZImage support it includes TC9012 and NEC protocol code infrared signal.
In addition, the driving file carries the infrared coding protocol mapping table of its corresponding infrared coding protocol configuration, this
Sample just can determine corresponding key value according to ultra-red order carrying infrared data code is received.Correspondingly, described pre-establish one
Document data bank is driven, the infrared protocol one that the driving file and smart television that the driving document data bank carries are supported is a pair of
It should specifically include:
S11, all infrared protocols that smart television is supported are obtained, and creates corresponding infrared coding agreement for each infrared protocol and reflects
Firing table;
S12, the corresponding driving file of each infrared protocol is generated according to infrared coding protocol mapping table, to obtain the driving file
Database.
Specifically, the infrared coding protocol mapping table is infrared data code(Ir code)With key value(Key)Mapping close
System(Map)File stores each data in the infrared coding protocol mapping table in the form of data group, i.e., the described infrared coding association
View mapping table is the Map table being made of { ir, key } set array.Each infrared protocol has its corresponding mapping relations file, i.e.,
Infrared coding protocol mapping table, and each infrared coding protocol mapping table has unique identification, can determine according to the unique identification
Its corresponding infrared protocol, the unique identification can be the infrared protocol mark of its corresponding infrared protocol.For example, NEC is compiled
The corresponding infrared coding mapping table of code agreement can be rc-skyworth-Panasonic-tv.c, and TC9012 coding protocol is corresponding
Infrared coding mapping table can be with rc-skyworth-tv.c.In detail below application drawing detail two kinds of protocol analysis go out it is different
Infrared data code ir, and (x is to KEY_POWER in table, a generation of KEY_1 etc. to infrared data code ir mapped KEY_x
Claim) partial data.In addition, after establishing different infrared coding protocol mapping tables, to infrared in Kernel compilation process
Coding protocol mapping table carries out tissue, and compiles out its corresponding driving (.ko) file.For example, the NEC coding protocol is corresponding
Driving file be rc-skyworth-Panasonic-tv.ko file, the corresponding driving file of the TC9012 coding protocol
For rc-skyworth-tv.ko .ko file after obtaining driving file, then will be applied to the Android that smart television loads
System handles key value by Android framework.
In addition, for the driving .ko file that different infrared coding agreements compile out, it is right its role is to parse its
The infrared signal for the infrared protocol answered, to the infrared data code ir that infrared signal decodes re-map out its correspond to key value with
It is supplied to android system.In this embodiment, the infrared data code ir of different infrared coding agreements uses different data set
It closes, that is to say, that the infrared data code for including in each infrared coding protocol mapping table is different.For example, in middle rc-
KEYCODE_1 defined in skyworth-Panasonic-tv.c:{ 0x1090, KEY_1 } infrared data code 0x1090, with rc-
The KEYCODE_1 that skyworth-tv.c is defined:{ 0x0001, KEY_1 }, infrared data code 0x0001, two different infrared numbers
According to code difference, but the two corresponds to identical KEY_1.That is, the infrared data code ir respectively actually to come into force in driving file
Value is mutex relation, for example, 0x0001 is defined in driving file rc-skyworth-tv.c, then in driving file
Rc-skyworth-Panasonic-tv.c would not be defined again, solve phase separation by loading different infrared data code ir in this way
The driving file answered just responds the driving file and corresponds to infrared coding multi-protocol remote control device, so that between a variety of infrared coding remote devices
It will not generate and interfere with each other.
S20, when smart television starting when, read configured in its system file infrared protocol mark.
Specifically, the infrared protocol is identified as configures in system file, can be true according to infrared protocol mark
Determine smart television driving file to be loaded.That is, its corresponding drive can be found according to infrared protocol mark
Dynamic file.The infrared protocol mark can be user's sets itself, is also possible to smart television manufacturer and is configured by backstage
's.In the present embodiment, the smart television can be pre-configured with a U/I interface, can be configured by the U/I interface to system
Infrared protocol mark in file is configured, to switch infrared protocol used by the smart television.
S30, its corresponding driving file is searched in the driving document data bank according to infrared protocol mark.
Specifically, the driving document data bank includes the corresponding drive of all infrared protocols of the smart television support
Dynamic file, and the infrared protocol mark one configured in the system file is set to the infrared protocol that the smart television is supported
Infrared mark, to can centainly find the driving text of the infrared protocol mark pair in the driving document data bank
Part.It is described to search its corresponding driving file in the driving document data bank according to infrared protocol mark
The infrared protocol, which is read, in driving file data identifies corresponding driving file.
The driving file that S40, load are found, so that the smart television can respond the corresponding infrared association of driving file
The ultra-red order of view.
Specifically, after loading the driving file found, its corresponding infrared association can be responded by the driving file
View, that is to say, that the remote control device using its corresponding infrared protocol can be responded, to pass through the remote control device to intelligent electricity
Depending on being controlled, and smart television can respond the ultra-red order that the remote control device is sent.It thus can be according to wait make
Infrared protocol used by remote control device, it is infrared by being configured in preset U/I interface change intelligent television system file
Protocol-identifier allows smart television to respond Different Red further according to the corresponding driving file of infrared protocol mark load
The remote control device of outer agreement sends ultra-red order.
In one embodiment of the invention, in order to avoid interfering with each other between different infrared signals, in smart television
After receiving ultra-red order, code confirmation can also be guided before responding the ultra-red order, it is true by the guidance code
Recognize process and reduces interference between different infrared signals.Correspondingly, as shown in Fig. 2, guidance code confirmation process specifically can be with
Including:
S40, when smart television receives infrared signal, extract the guidance code that the ultra-red order carries, and in default guidance
The guidance code is searched in code list;
If S50, finding the guidance code, the infrared signal is decoded to obtain infrared data code;
If S60, not finding search index code, the infrared signal is abandoned.
Specifically, the guidance code list is pre-set, for driving all driving files pair in document data bank
The guidance code for the infrared protocol answered.That is, being stored with all infrared associations of smart television support in the guidance code list
The guidance code of view.The guidance code is the first code timing for receiving the infrared coding agreement of infrared signal.Thus red receiving
When external signal, the infrared signal is parsed to obtain the first code timing of its carrying, and by first code timing and smart television
The first code timing for all infrared protocols supported is compared, and is with the corresponding infrared coding agreement of the determination infrared signal
It is no to be supported by smart television, and for the infrared signal that smart television is not supported, infrared signal can be in system Kernel
Core is dropped when parsing infrared signal because that can not parse the user code and numeric data code of infrared signal.It in this way can be to avoid invalid red
Interference of the external signal to smart television.For example, infrared light and body etc. can issue infrared waves, the infrared waves can be with
It is received by the infrared receiving terminal of smart television, and after system kernel receives infrared signal, first according to guidance code rule
Row judges whether this infrared signal meets, if not meeting direct discarding, avoids interference of the invalid infrared waves to smart television.
In the present embodiment simultaneously, in order to reinforce own system anti-interference ability, each agreement supports that repeat key is dynamic
Make, avoid not homologous ray lead to system abnormity because invalid key event, repeat key occur for infrared signal interference.For example,
Guidance code high level 3.488ms ± %3 in NEC infrared coding agreement, low level 1.744ms ± %3 timing, and the infrared volume of TC9012
Code agreement in guidance code high level 4.50ms, low level 4.50ms timing, thus for Kernel provide primary Rule of judgment according to
Timing determines whether to abandon the infrared signal received, guarantees that system analysis goes out the accuracy of infrared data code and anti-in this way
Interference.
Further, when finding the guidance code, illustrate that the corresponding infrared protocol of the infrared signal is the intelligence
What TV was supported.In addition, smart television can determine whether the corresponding infrared protocol of the infrared signal is to match described in smart television
The infrared protocol set responds the infrared signal and corresponds to control instruction when for the infrared protocol of configuration.If correspondingly, described
The guidance code is found, then decodes the infrared signal and is specifically included with obtaining infrared data code:
The infrared protocol progress corresponding with starting driving file of S51, the infrared coding protocol data code for obtaining parsing
Match;
S52, when successful match, determined by the driving file and search the corresponding key value of infrared coding protocol data code, and
Respond the corresponding operation of the key value.
In yet another embodiment of the present invention, in order to enable user can voluntarily change smart television be adapted to it is infrared
Agreement, the smart television are configured with a switching interface(U/I interface), smart television can be switched by the switching interface
The infrared protocol of configuration, and smart television receives the switching command that the switching interface generates, and according to the switching command
The driving file loaded to it is updated.Correspondingly, as shown in figure 3, the method also includes:
S70, when smart television receives infrared protocol switching command, obtain the infrared protocol mark that the infrared protocol switching carries
Know;
S80, its corresponding driving file is searched in default driving document data bank according to infrared protocol mark;
S90, it sets the driving file found to starting driving file, and is opened described in load when smart television is again started up
Dynamic driving file, so that smart television responds the infrared protocol.
Specifically, the switching interface makes switching to the remote controler for supporting different infrared coding agreements to user,
The switching interface shows the infrared protocol mark for all infrared protocols that smart television is supported, user can be red by choosing
Outer protocol-identifier selectes the infrared coding agreement that smart television needs to configure, and root is during the system startup process, and load is selected
The corresponding driving file of fixed infrared coding agreement corresponds to remote control device to respond the infrared coding agreement.
Here NEC infrared coding is supported by smart television and can be illustrated by taking TC901 infrared coding as an example.Such as Fig. 3 institute
Show, the switching interface can be infrared based on changeable support is provided in Android standard SkyFactory.apk, apk
The switch UI of coding protocol, the UI switchgear distribution have NEC and TC9012, when UI switching is to NEC, apk meeting
Property, a persist.ir.config=PANASONIC are set to system, when UI is switched to TC9012, apk can be to
System sets a property, persist.ir.config=TOSHIBA.System by persist.ir.config this
Intelligent television system file is written in property, in/system/build.prop file, if current system does not have
When persist.ir.config or persist.ir.config is empty, system before the starting of Android upper-level system, by
Android bottom module sets the movement of persist.ir.config=TOSHIBA, starts in standard android system and services
When init.rc parses build.prop file persist.ir.config, meeting foundation is PANASONIC or TOSHIBA triggering
Insmod loads rc-skyworth-Panasonic-tv.ko, rc-skyworth-tv.ko file, can ring after system starting
Answer corresponding infrared coding multi-protocol remote control device.Wherein, the NEC infrared coding agreement is default infrared coding agreement.
Based on the method for the different ultra-red orders of above-mentioned response, the present invention provides a kind of computer readable storage medium, institutes
Stating computer-readable recording medium storage has one or more program, and one or more of programs can be by one or more
A processor executes, the step in method to realize the different ultra-red orders of response as described in above-described embodiment.
Based on the method for the different ultra-red orders of above-mentioned response, the present invention also provides a kind of mobile terminals, as shown in figure 4,
It includes at least one processor(processor)20;Display screen 21;And memory(memory)22, it can also include logical
Believe interface(Communications Interface)23 and bus 24.Wherein, processor 20, display screen 21,22 and of memory
Communication interface 23 can complete mutual communication by bus 24.Display screen 21 is set as presetting in display initial setting mode
User guide interface.Communication interface 23 can transmit information.Processor 20 can call the logical order in memory 22, with
Execute the method in above-described embodiment.
In addition, the logical order in above-mentioned memory 22 can be realized and as only by way of SFU software functional unit
Vertical product when selling or using, can store in a computer readable storage medium.
Memory 22 is used as a kind of computer readable storage medium, and it is executable to may be configured as storage software program, computer
Program, such as the corresponding program instruction of method or module in the embodiment of the present disclosure.Processor 20 is stored in memory by operation
Software program, instruction or module in 22, thereby executing functional application and data processing, i.e. side in realization above-described embodiment
Method.
Memory 22 may include storing program area and storage data area, wherein storing program area can storage program area, extremely
Application program needed for a few function;Storage data area, which can be stored, uses created data etc. according to terminal device.This
Outside, memory 22 may include high-speed random access memory, can also include nonvolatile memory.For example, USB flash disk, movement
Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), a variety of media that can store program code such as magnetic or disk, are also possible to transitory memory medium.
In addition, a plurality of instruction processing unit in above-mentioned storage medium and mobile terminal loads and the detailed process executed exists
It has been described in detail in the above method, has just no longer stated one by one herein.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that:It still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of method for responding different ultra-red orders, which is characterized in that it includes:
A driving document data bank is pre-established, what the driving file and smart television that the driving document data bank carries were supported
Infrared protocol corresponds;
When smart television starting, the infrared protocol mark configured in its system file is read;
Its corresponding driving file is searched in the driving document data bank according to infrared protocol mark;
The driving file found is loaded, so that the smart television can respond the infrared of the corresponding infrared protocol of driving file
Instruction.
2. responding the method for different ultra-red orders according to claim 1, which is characterized in that described to pre-establish driving text
Part database, the infrared protocol that the driving file and smart television that the driving document data bank carries are supported correspond specific
Including:
All infrared protocols that smart television is supported are obtained, and create corresponding infrared coding agreement mapping for each infrared protocol
Table;
The corresponding driving file of each infrared protocol is generated according to infrared coding protocol mapping table, to obtain the driving file data
Library.
3. responding the method for different ultra-red orders according to claim 2, which is characterized in that each infrared coding agreement is reflected
Firing table be infrared data code and key value mapping table, and each infrared coding protocol mapping table carrying infrared data code
It is different.
4. responding the method for different ultra-red orders according to claim 1, which is characterized in that described to load the driving found
File, so that the ultra-red order that the smart television can respond the corresponding infrared protocol of driving file further includes later:
When smart television receives infrared signal, the guidance code that the ultra-red order carries is extracted, and arrange in default guidance code
The guidance code is searched in table;
If finding the guidance code, the infrared signal is decoded to obtain infrared data code;
If not finding search index code, the infrared signal is abandoned.
5. responding the method for different ultra-red orders according to claim 4, which is characterized in that if described find the guidance
Code decodes the infrared signal then to obtain further including after infrared data code:
The infrared data code infrared protocol corresponding with starting driving file that parsing obtains is matched;
When successful match, is determined by the driving file and search the corresponding key value of infrared data code, and respond the key
It is worth corresponding operation.
6. responding the method for different ultra-red orders according to claim 4, which is characterized in that the guidance code is infrared coding
The first code timing of agreement.
7. responding the method for different ultra-red orders according to claim 1, which is characterized in that the method also includes:
When smart television receives infrared protocol switching command, the infrared protocol for obtaining the infrared protocol switching carrying is identified;
Its corresponding driving file is searched in default driving document data bank according to infrared protocol mark;
Starting driving file is set by the driving file found, and loads the starting when smart television is again started up and drives
Dynamic file, so that smart television responds the infrared protocol.
8. responding the method for different ultra-red orders according to claim 7, which is characterized in that described to further include:
If not finding driving file, starting driving file is set by default driving file.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1~8
Step in the method for the different ultra-red orders of response described in any one.
10. a kind of smart television, which is characterized in that including:Processor, memory and communication bus;It is stored on the memory
There is the computer-readable program that can be executed by the processor;
The communication bus realizes the connection communication between processor and memory;
The processor realizes that the response as described in claim 1-8 any one is different when executing the computer-readable program
Step in the method for ultra-red order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810803849.0A CN108924615A (en) | 2018-07-20 | 2018-07-20 | A kind of method responding different ultra-red orders, storage medium and smart television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810803849.0A CN108924615A (en) | 2018-07-20 | 2018-07-20 | A kind of method responding different ultra-red orders, storage medium and smart television |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924615A true CN108924615A (en) | 2018-11-30 |
Family
ID=64415481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810803849.0A Pending CN108924615A (en) | 2018-07-20 | 2018-07-20 | A kind of method responding different ultra-red orders, storage medium and smart television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924615A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111381978A (en) * | 2018-12-29 | 2020-07-07 | 深圳Tcl数字技术有限公司 | Method for accessing application program, storage medium and smart television |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030177489A1 (en) * | 2002-03-18 | 2003-09-18 | Nippon Telegraph And Telephone Corp. | Control apparatus of audio-visual display apparatus and the control method |
CN103546791A (en) * | 2013-10-15 | 2014-01-29 | 华为技术有限公司 | Method and equipment for recognizing various remote control units |
CN103745590A (en) * | 2014-01-08 | 2014-04-23 | 无锡讯泰科技有限公司 | Infrared remote coding method |
CN105139634A (en) * | 2015-09-21 | 2015-12-09 | 康佳集团股份有限公司 | Method and system for automatically parsing remote control instructions of different manufacturers at receiving terminal |
CN105809946A (en) * | 2014-12-30 | 2016-07-27 | 阿里巴巴集团控股有限公司 | Method and system for supporting multiple infrared remote controllers by electronic equipment |
CN106572375A (en) * | 2015-10-08 | 2017-04-19 | 深圳市金锐显数码科技有限公司 | TV remote control method and apparatus |
-
2018
- 2018-07-20 CN CN201810803849.0A patent/CN108924615A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030177489A1 (en) * | 2002-03-18 | 2003-09-18 | Nippon Telegraph And Telephone Corp. | Control apparatus of audio-visual display apparatus and the control method |
CN103546791A (en) * | 2013-10-15 | 2014-01-29 | 华为技术有限公司 | Method and equipment for recognizing various remote control units |
CN103745590A (en) * | 2014-01-08 | 2014-04-23 | 无锡讯泰科技有限公司 | Infrared remote coding method |
CN105809946A (en) * | 2014-12-30 | 2016-07-27 | 阿里巴巴集团控股有限公司 | Method and system for supporting multiple infrared remote controllers by electronic equipment |
CN105139634A (en) * | 2015-09-21 | 2015-12-09 | 康佳集团股份有限公司 | Method and system for automatically parsing remote control instructions of different manufacturers at receiving terminal |
CN106572375A (en) * | 2015-10-08 | 2017-04-19 | 深圳市金锐显数码科技有限公司 | TV remote control method and apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111381978A (en) * | 2018-12-29 | 2020-07-07 | 深圳Tcl数字技术有限公司 | Method for accessing application program, storage medium and smart television |
CN111381978B (en) * | 2018-12-29 | 2024-03-12 | 深圳Tcl数字技术有限公司 | Method for accessing application program, storage medium and intelligent television |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200135191A1 (en) | Digital Voice Butler | |
CN110213102B (en) | Device control method, device, electronic device and storage medium | |
EP2840455A1 (en) | Method, apparatus and system for intelligently controlling device, and plug-and-play device | |
CN103399761A (en) | Firmware burn method and firmware burn device | |
KR20160108306A (en) | Method and apparatus for automatic device program generation | |
WO2023134153A1 (en) | Linkage control configuration method, linkage control method and linkage control system | |
KR20140037519A (en) | Control station for remote control of home appliances by recognition of natural language based command and method thereof | |
CN103561315A (en) | Multi-screen interactive method, device and system | |
CN101931603A (en) | Method for realizing remote call on hand-held intelligent terminal | |
CN109561002B (en) | Voice control method and device for household electrical appliance | |
CN105451299A (en) | Method for controlling WiFi connection and electronic equipment thereof | |
CN108924615A (en) | A kind of method responding different ultra-red orders, storage medium and smart television | |
CN114546394B (en) | Unified Internet of things peripheral access and control method | |
CN108804100A (en) | Create method, apparatus, storage medium and the mobile terminal of interface element | |
CN114374602B (en) | Master control equipment configuration method and device, cloud server and storage medium | |
CN115134236A (en) | Intelligent network card management method, device, equipment and readable medium | |
CN104484151A (en) | Voice control system, equipment and method | |
CN108388372A (en) | Method, device and equipment for self-adapting touch data and storage medium | |
CN110362317B (en) | Code conversion method, device and storage medium | |
CN111880806A (en) | Application execution method and application execution system | |
CN108920389B (en) | Method and device for dynamically matching protocol type and application of multi-protocol USB device | |
CN111262099A (en) | Programmable remote control intelligent socket and implementation method thereof | |
KR20140112149A (en) | System for running application on mobiledevices using NFC tag | |
CN111147530A (en) | System architecture, multi-voice platform switching method, intelligent terminal and storage medium | |
US20200293333A1 (en) | Electronic device, application execution system, and control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |