WO2017156887A1 - Infrared adaptive remote control method and apparatus - Google Patents

Infrared adaptive remote control method and apparatus Download PDF

Info

Publication number
WO2017156887A1
WO2017156887A1 PCT/CN2016/084507 CN2016084507W WO2017156887A1 WO 2017156887 A1 WO2017156887 A1 WO 2017156887A1 CN 2016084507 W CN2016084507 W CN 2016084507W WO 2017156887 A1 WO2017156887 A1 WO 2017156887A1
Authority
WO
WIPO (PCT)
Prior art keywords
pulse signal
infrared
infrared pulse
remote control
preset
Prior art date
Application number
PCT/CN2016/084507
Other languages
French (fr)
Chinese (zh)
Inventor
刘超凡
周刚
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017156887A1 publication Critical patent/WO2017156887A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]

Definitions

  • the present invention relates to the field of remote control technologies, and in particular, to an infrared adaptive remote control method and apparatus.
  • TV sets have a basic attribute - durable goods. Due to this feature, the remote control also needs to be accompanied for a long time.
  • the remote control of the existing different models of TV sets use different infrared transmission coding formats.
  • the remote controllers of various products cannot be compatible with each other. When the problem is not found, it is difficult to replace it with the infrared remote control of other TV sets.
  • the main object of the present invention is to provide a problem in that it is impossible to remotely control using a non-standard remote controller when there is a problem with the standard remote controller.
  • the present invention provides an infrared adaptive remote control method, the infrared adaptive remote control method comprising the steps of:
  • a preset infrared transmission protocol of the remote controller When a preset infrared transmission protocol of the remote controller is preset, a plurality of different conventional infrared transmission protocols are preset;
  • the non-standard remote controller When it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, performing the first infrared pulse signal according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols. Corresponding remote command, wherein
  • the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
  • the present invention provides an infrared adaptive remote control method, the infrared adaptive remote control method comprising the steps of:
  • a preset infrared transmission protocol of the remote controller When a preset infrared transmission protocol of the remote controller is preset, a plurality of different conventional infrared transmission protocols are preset;
  • the non-standard remote controller When it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, performing the first infrared pulse signal according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols. Corresponding remote command.
  • the present invention further provides an infrared adaptive remote control device, the infrared adaptive remote control device comprising:
  • the preset module is configured to preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
  • a processing module configured to receive a first infrared pulse signal sent by the remote controller, and parse the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
  • a first confirmation module configured to confirm, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller
  • An execution module configured to perform, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, when the first infrared pulse signal is sent as a non-standard remote controller The remote control command corresponding to the first infrared pulse signal.
  • the infrared adaptive remote control method and device provided by the invention can preset a plurality of different conventional infrared transmission protocols, and receive the infrared pulse signal emitted by the non-standard remote controller when the standard remote controller cannot be used, and respond to the use of the preset
  • the infrared pulse signal of the conventional infrared transmission protocol performs a remote control instruction corresponding to the infrared pulse signal according to the encoded data of the infrared pulse signal and the plurality of different conventional infrared transmission protocols. It is more convenient to control the TV with a non-standard remote control.
  • FIG. 1 is a schematic flow chart of a first embodiment of an infrared adaptive remote control method according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of an infrared adaptive remote control method according to the present invention.
  • FIG. 3 is a schematic flow chart of preset remote command by waveform feature data and remote control according to a second embodiment of the present invention.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of an infrared adaptive remote control device according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a second embodiment of an infrared adaptive remote control device according to the present invention.
  • FIG. 6 is a schematic diagram of a functional module for presetting a remote control command by using waveform feature data and performing remote control in the second embodiment of the infrared adaptive remote control device of the present invention.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of an infrared adaptive remote control method according to the present invention.
  • the infrared adaptive remote control method includes the following steps:
  • Step S10 preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
  • the infrared transmission protocol includes a mapping table of remote control instructions and infrared transmission signal encoded data.
  • the existing infrared coding protocols mainly include: ITT Protocol, JVC Protocol, NEC Protocol, Nokia NRC17 Protocol, Sharp Protocol, Sony SIRC Protocol, Philips RC-5 Protocol, Philips RC-6 Protocol, Philips RC-MM Protocol, Philips RECS-80 Protocol, RCA Protocol, X-Sat Protocol.
  • Protocol PWM Pulse Width Modulation
  • Philips RC-5 Protocol PPM (Pulse Position Modulation).
  • the button When the NEC transmission protocol sends a waveform, the button sends one frame of data at a time (synchronization code, address code, address inverse code, control code, control inverse code). If the data is sent after the completion of one frame, the button is still pressed, and the transmission is repeated.
  • the code that is, the serial transmission code (9ms high level +2.5ms low level +0.56ms high level composition +97.94ms low level) until the button is released.
  • the RC-5 transmission protocol When transmitting the waveform, the RC-5 transmission protocol sends one frame of data (starting bit, control code, address code, control code) once. If the data is sent after the completion of one frame, the button is still pressed, and then one frame is repeatedly sent. Data until the button is released.
  • Step S20 receiving a first infrared pulse signal sent by the remote controller, and parsing the first infrared pulse signal sent by the received remote controller to obtain encoded data of the first infrared pulse signal;
  • Step S30 confirming, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
  • two remote control modes can be provided in the television system, one is a standard mode, and the first infrared pulse signal is sent according to the remote controller. And encoding, determining whether the first infrared pulse signal is sent by a non-standard remote controller, and if the result is a standard mode, performing a standard mode of the system remote control, and the television transmits the infrared emitted by the standard remote controller.
  • the pulse signal is subjected to standard demodulation processing and a corresponding remote command is executed.
  • the other is an adaptive remote control mode, which demodulates the received infrared pulse signal from the remote controller, obtains the encoded data of the infrared pulse signal, performs matching mapping with the mapping table of the preset command, finds and executes the infrared signal.
  • the preset remote command corresponding to the pulse signal.
  • the received infrared pulse signal sent by the non-standard remote controller is modulated and demodulated, and the encoded data of the infrared pulse signal is analyzed, and then determined according to the encoded data. Whether the television is pre-set with an infrared transmission protocol used by the infrared pulse signal.
  • the television stores various conventional infrared transmission protocols, such as: ITT Protocol, JVC. Protocol, NEC Protocol, Nokia NRC17 Protocol, Sharp Protocol, Sony SIRC Protocol, Philips RC-5 Protocol, Philips RC-6 Protocol, Philips RC-MM Protocol, Philips RECS-80 Protocol, RCA Protocol, X-Sat Protocol, etc.
  • Step S40 when it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, performing the first Remote control command corresponding to the infrared pulse signal.
  • the television when it is confirmed that the television pre-stores the infrared pulse signal, searching for a remote control instruction associated with the infrared pulse signal by using the encoded data of the infrared pulse signal, and then executing the remote control instruction, such as : Menu, volume plus volume minus.
  • the infrared adaptive remote control method proposed in this embodiment presets a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller, and can use a preset routine for the non-standard remote controller.
  • the infrared pulse signal of the infrared transmission protocol responds, and the user can use the non-standard remote controller to temporarily replace the remote control when the standard remote controller of the television is not available, which is convenient for the user to use.
  • the step S10 further includes the following steps:
  • Step S50 receiving the selected remote control instruction
  • a remote control virtual interface can be displayed on the television display, and a remote control command capable of selecting and adapting, such as a menu, a volume plus, a volume reduction, and the like, can be provided, after receiving the preset remote control command selected by the user,
  • a prompt box may be displayed on the screen of the television to remind the user to press a button of the remote controller to facilitate the television to receive the second infrared pulse signal corresponding to the button issued by the non-standard remote controller.
  • Step S60 receiving the second remote pulse signal when receiving the preset remote control command, and receiving the third infrared pulse signal when receiving the second infrared pulse signal;
  • a prompt box may be popped up on the display screen of the television to remind the user to press the same button again, so that the television can receive the location of the non-standard remote controller.
  • the third infrared pulse signal corresponding to the button.
  • Step S70 confirming whether the received third infrared pulse signal is consistent with the second infrared pulse signal
  • the second infrared pulse signal and the third infrared pulse signal are received by the signal receiving end, the second infrared pulse signal and the third infrared pulse signal are demodulated and acquired.
  • the waveform characteristic data data of the second and third infrared pulse signals compares the waveform characteristic data of the two, and confirms whether the waveform characteristic data of the two are consistent.
  • the step S70 includes: analyzing the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal; analyzing the third infrared pulse signal to obtain waveform characteristic data of the third infrared pulse signal; The comparison confirms whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
  • Step S80 when the third infrared pulse signal is consistent with the second infrared pulse signal, the consistent infrared pulse signal is recorded as a preset signal and the preset remote control instruction.
  • the third infrared pulse signal when the third infrared pulse signal is consistent with the waveform characteristic data of the second infrared pulse signal, the third infrared pulse signal is considered to be consistent with the second infrared pulse signal.
  • the method further includes:
  • Step S90 when the first infrared pulse signal is sent by the non-standard remote controller, confirm whether the first infrared pulse signal has been recorded;
  • the step S90 includes: calculating waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal; and confirming whether the first infrared pulse signal has been recorded according to the waveform characteristic data.
  • the user can use the non-standard remote controller to learn the mapping relationship between the control command and the infrared pulse signal in the television.
  • the user can pass the corresponding button. Perform preset remote operation.
  • the infrared remote control transmits data in a modulated manner, that is, the data is "ANDed" with a carrier of a certain frequency, which can improve the transmission efficiency and reduce the power consumption of the power supply.
  • the modulation carrier frequency is generally between 30khz and 60khz, and most use a 38kHz, square wave with a duty cycle of 1/3.
  • the infrared receiving circuit is usually integrated into one component by the manufacturer to become an integrated infrared receiving head.
  • Internal circuits include infrared monitoring diodes, amplifiers, limiters, bandpass filters, integrating circuits, comparators, and more.
  • the infrared monitoring diode monitors the infrared signal and then sends the signal to the amplifier and limiter.
  • the limiter controls the pulse amplitude to a certain level regardless of the distance between the infrared transmitter and the receiver.
  • the AC signal enters the bandpass filter.
  • the bandpass filter can pass the load wave from 30khz to 60khz, enter the comparator through the demodulation circuit and the integration circuit, and the comparator outputs high and low levels to restore the signal waveform of the transmitter.
  • Step S100 When it is confirmed that the first infrared pulse signal has been recorded, the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
  • the television may parse the received infrared pulse signal sent by the non-standard remote controller to obtain waveform characteristic data of the infrared pulse signal, and match the pre-stored remote control instruction according to the waveform characteristic data.
  • the infrared adaptive remote control method proposed in this embodiment can learn to record the infrared pulse signal emitted by the non-standard remote controller, and associate the remote control instruction, and the user can use the non-standard when the remote control cannot be used to remotely control the television.
  • the remote control is associated with the remote command of the TV, which in turn allows the user to remotely control the TV using a non-standard remote control.
  • the invention further provides an infrared adaptive remote control device.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of an infrared adaptive remote control device according to the present invention.
  • the functional block diagram shown in FIG. 4 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art will surround the functional modules of the infrared adaptive remote control device shown in FIG. 4.
  • the function module can be easily supplemented by a new function module; the name of each function module is a custom name, which is only used to assist in understanding various program function blocks of the infrared adaptive remote control device, and is not used to limit the technical solution of the present invention.
  • the function that each functional module of the defined name has to achieve.
  • the infrared adaptive remote control device includes:
  • the preset module 10 is configured to preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
  • the infrared transmission protocol includes a mapping table of remote control instructions and infrared transmission signal encoded data.
  • the existing infrared coding protocols mainly include: ITT Protocol, JVC Protocol, NEC Protocol, Nokia NRC17 Protocol, Sharp Protocol, Sony SIRC Protocol, Philips RC-5 Protocol, Philips RC-6 Protocol, Philips RC-MM Protocol, Philips RECS-80 Protocol, RCA Protocol, X-Sat Protocol.
  • Protocol PWM Pulse Width Modulation
  • Philips RC-5 Protocol PPM (Pulse Position Modulation).
  • the button When the NEC transmission protocol sends a waveform, the button sends one frame of data at a time (synchronization code, address code, address inverse code, control code, control inverse code). If the data is sent after the completion of one frame, the button is still pressed, and the transmission is repeated.
  • the code that is, the serial transmission code (9ms high level +2.5ms low level +0.56ms high level composition +97.94ms low level) until the button is released.
  • the RC-5 transmission protocol When transmitting the waveform, the RC-5 transmission protocol sends one frame of data (starting bit, control code, address code, control code) once. If the data is sent after the completion of one frame, the button is still pressed, and then one frame is repeatedly sent. Data until the button is released.
  • the processing module 20 is configured to receive a first infrared pulse signal sent by the remote controller, and parse the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
  • the first confirmation module 30 is configured to confirm, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
  • two remote control modes can be provided in the television system, one is a standard mode, and the first infrared pulse signal is sent according to the remote controller. And encoding, determining whether the first infrared pulse signal is sent by a non-standard remote controller, and if the result is a standard mode, performing a standard mode of the system remote control, and the television transmits the infrared emitted by the standard remote controller.
  • the pulse signal is subjected to standard demodulation processing and a corresponding remote command is executed.
  • the other is an adaptive remote control mode, which demodulates the received infrared pulse signal from the remote controller, obtains the encoded data of the infrared pulse signal, performs matching mapping with the mapping table of the preset command, finds and executes the infrared signal.
  • the preset remote command corresponding to the pulse signal.
  • the received infrared pulse signal sent by the non-standard remote controller is modulated and demodulated, and the encoded data of the infrared pulse signal is analyzed, and then determined according to the encoded data. Whether the television is pre-set with an infrared transmission protocol used by the infrared pulse signal.
  • the executing module 40 is configured to execute, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, when the first infrared pulse signal is sent to the non-standard remote controller, The remote control command corresponding to the first infrared pulse signal is described.
  • the remote control instruction corresponding to the first infrared pulse signal is specifically referred to the first embodiment of the infrared adaptive remote control of the present invention.
  • the infrared adaptive remote control device proposed in this embodiment presets a plurality of different conventional infrared transmission protocols when the infrared transmission protocol of the remote controller is preset, and can respond to the infrared pulse signal emitted by the non-standard remote controller.
  • the user can use the non-standard remote control to temporarily replace the remote control when the standard remote control of the TV is not available, which is convenient for the user.
  • the infrared adaptive remote control device further includes:
  • the first receiving module 50 is configured to receive the selected preset remote control instruction
  • a remote control virtual interface can be displayed on the television display, and a remote control command capable of selecting and adapting, such as a menu, a volume plus, a volume reduction, and the like, can be provided, after receiving the preset remote control command selected by the user,
  • a prompt box may be displayed on the screen of the television to remind the user to press a button of the non-standard remote controller to facilitate the television to receive the second infrared pulse signal corresponding to the button issued by the non-standard remote controller.
  • the second receiving module 60 is configured to receive a second infrared pulse signal when receiving the preset remote control command, and receive a third infrared pulse signal when receiving the second infrared pulse signal;
  • a prompt box may be popped up on the display screen of the television to remind the user to press the same button again, so that the television can receive the location of the non-standard remote controller.
  • the third infrared pulse signal corresponding to the button.
  • a second confirmation module 70 configured to confirm whether the received third infrared pulse signal is consistent with the second infrared pulse signal
  • the second verification module 70 includes: a first parsing unit, configured to parse the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal; and a second parsing unit, configured to parse the third The infrared pulse signal is used to obtain waveform characteristic data of the third infrared pulse signal; and the comparing unit is configured to compare whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
  • the recording module 80 is configured to record the consistent infrared pulse signal as a preset signal and the preset remote control command when the third infrared pulse signal is consistent with the second infrared pulse signal.
  • the infrared adaptive remote control device further includes:
  • a third confirmation module 90 configured to confirm whether the first infrared pulse signal has been recorded when the first infrared pulse signal is sent by a non-standard remote controller
  • the third confirmation module 90 includes: a calculation unit, configured to calculate waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal; and a confirming unit, configured to use the waveform characteristic data according to the waveform It is confirmed whether the first infrared pulse signal has been recorded.
  • the user can use the non-standard remote controller to learn the mapping relationship between the control command and the infrared pulse signal in the television.
  • the user can perform the corresponding button.
  • the infrared remote control transmits data in a modulated manner, that is, the data is "ANDed" with a carrier of a certain frequency, which can improve the transmission efficiency and reduce the power consumption of the power supply.
  • the modulation carrier frequency is generally between 30khz and 60khz, and most use a 38kHz, square wave with a duty cycle of 1/3.
  • the infrared receiving circuit is usually integrated into one component by the manufacturer to become an integrated infrared receiving head.
  • Internal circuits include infrared monitoring diodes, amplifiers, limiters, bandpass filters, integrating circuits, comparators, and more.
  • the infrared monitoring diode monitors the infrared signal and then sends the signal to the amplifier and limiter.
  • the limiter controls the pulse amplitude to a certain level regardless of the distance between the infrared transmitter and the receiver.
  • the AC signal enters the bandpass filter.
  • the bandpass filter can pass the load wave from 30khz to 60khz, enter the comparator through the demodulation circuit and the integration circuit, and the comparator outputs high and low levels to restore the signal waveform of the transmitter.
  • the execution module 40 is further configured to: when confirming that the first infrared pulse signal has been recorded, executing a remote control instruction corresponding to the first infrared pulse signal according to the preset signal of the associated record and the preset remote control instruction .
  • the television may parse the received infrared pulse signal sent by the non-standard remote controller to obtain waveform characteristic data of the infrared pulse signal, and match the pre-stored remote control instruction according to the waveform characteristic data.
  • the infrared adaptive remote control device proposed in this embodiment can learn to record the infrared pulse signal emitted by the non-standard remote controller, and associate the remote control command, and the user can use the non-standard when the remote control cannot be used to remotely control the television.
  • the remote control is associated with the remote command of the TV, which in turn allows the user to remotely control the TV using a non-standard remote control.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

Discloses in the present invention is an infrared adaptive remote control method, comprising: presetting a plurality of different conventional infrared transmission protocols, when presetting infrared transmission protocols for a standard matching remote controller; receiving a first infrared pulse signal sent by a remote controller, and parsing the received first infrared pulse signal sent by the remote controller, so as to obtain encoded data of the first infrared pulse signal; on the basis of the encoded data of the first infrared pulse signal, determining whether the first infrared pulse signal is sent by a non-standard matching remote controller; if it is determined that the first infrared pulse signal is sent by a non-standard matching remote controller, on the basis of the encoded data of the first infrared pulse signal and said plurality of different conventional infrared transmission protocols, executing a remote control command corresponding to the first infrared pulse signal. Also disclosed in the present invention is an infrared adaptive remote control apparatus. By presetting a variety of infrared transmission protocols or recording infrared signals of a non-standard matching remote controller, a non-standard matching remote controller may be employed for remote control.

Description

红外自适应遥控方法和装置  Infrared adaptive remote control method and device
技术领域Technical field
本发明涉及遥控技术领域,尤其涉及一种红外自适应遥控方法和装置。The present invention relates to the field of remote control technologies, and in particular, to an infrared adaptive remote control method and apparatus.
背景技术Background technique
随着科技发展,电视机的更新换代也越来越快,从电视遥控的诞生,到现在遥控器是电视的必备且不可替代的配件。蓝牙遥控器,空鼠等新一代遥控器不断涌现,但是红外遥控器凭借稳定可靠的性能,和低廉的成本依然占据着市场。With the development of technology, the replacement of TV sets is getting faster and faster. From the birth of TV remote control, the remote control is an essential and irreplaceable accessory for TV. New generation remote controllers such as Bluetooth remote control and air mouse are constantly emerging, but the infrared remote control still occupies the market with stable and reliable performance and low cost.
电视机有一个基本属性--耐用品。由于这个特性,遥控器也需一直相伴,长时间使用,现有的不同型号的电视机的遥控器使用了不同的红外传输编码格式,各种产品的遥控器不能相互兼容,在出现遥控器老化或找不到的问题时,难以使用其他电视机的红外遥控器进行替代。TV sets have a basic attribute - durable goods. Due to this feature, the remote control also needs to be accompanied for a long time. The remote control of the existing different models of TV sets use different infrared transmission coding formats. The remote controllers of various products cannot be compatible with each other. When the problem is not found, it is difficult to replace it with the infrared remote control of other TV sets.
发明内容Summary of the invention
本发明的主要目的在于提供,旨在解决标配遥控器出现问题时,无法使用非标配遥控器进行遥控的问题。The main object of the present invention is to provide a problem in that it is impossible to remotely control using a non-standard remote controller when there is a problem with the standard remote controller.
为实现上述目的,本发明提供一种红外自适应遥控方法,所述红外自适应遥控方法包括步骤:To achieve the above object, the present invention provides an infrared adaptive remote control method, the infrared adaptive remote control method comprising the steps of:
在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;When a preset infrared transmission protocol of the remote controller is preset, a plurality of different conventional infrared transmission protocols are preset;
接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;Receiving a first infrared pulse signal sent by the remote controller, and parsing the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;Determining, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令,其中,When it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, performing the first infrared pulse signal according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols. Corresponding remote command, wherein
在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;When the first infrared pulse signal is sent by the non-standard remote controller, confirm whether the first infrared pulse signal has been recorded;
在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。When it is confirmed that the first infrared pulse signal has been recorded, the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
为实现上述目的,本发明提供还一种红外自适应遥控方法,所述红外自适应遥控方法包括步骤:To achieve the above object, the present invention provides an infrared adaptive remote control method, the infrared adaptive remote control method comprising the steps of:
在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;When a preset infrared transmission protocol of the remote controller is preset, a plurality of different conventional infrared transmission protocols are preset;
接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;Receiving a first infrared pulse signal sent by the remote controller, and parsing the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;Determining, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令。When it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, performing the first infrared pulse signal according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols. Corresponding remote command.
本发明进一步提供一种红外自适应遥控装置,所述红外自适应遥控装置包括:The present invention further provides an infrared adaptive remote control device, the infrared adaptive remote control device comprising:
预设模块,用于在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;The preset module is configured to preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
处理模块,用于接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;a processing module, configured to receive a first infrared pulse signal sent by the remote controller, and parse the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
第一确认模块,用于根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;a first confirmation module, configured to confirm, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
执行模块,用于在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令。An execution module, configured to perform, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, when the first infrared pulse signal is sent as a non-standard remote controller The remote control command corresponding to the first infrared pulse signal.
本发明提出的红外自适应遥控方法和装置,可以预设多种不同的常规红外传输协议,在无法使用标配遥控器时,接收非标配遥控器发射的红外脉冲信号,响应使用了预设的常规红外传输协议的红外脉冲信号,根据所述红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述红外脉冲信号对应的遥控指令。采用非标配的遥控器对电视进行控制,更加方便。The infrared adaptive remote control method and device provided by the invention can preset a plurality of different conventional infrared transmission protocols, and receive the infrared pulse signal emitted by the non-standard remote controller when the standard remote controller cannot be used, and respond to the use of the preset The infrared pulse signal of the conventional infrared transmission protocol performs a remote control instruction corresponding to the infrared pulse signal according to the encoded data of the infrared pulse signal and the plurality of different conventional infrared transmission protocols. It is more convenient to control the TV with a non-standard remote control.
附图说明DRAWINGS
图1为本发明红外自适应遥控方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of an infrared adaptive remote control method according to the present invention;
图2为本发明红外自适应遥控方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of an infrared adaptive remote control method according to the present invention;
图3为本发明第二实施例中通过波形特征数据预设遥控指令并进行遥控的流程示意图;3 is a schematic flow chart of preset remote command by waveform feature data and remote control according to a second embodiment of the present invention;
图4为本发明红外自适应遥控装置第一实施例的功能模块示意图;4 is a schematic diagram of functional modules of a first embodiment of an infrared adaptive remote control device according to the present invention;
图5为本发明红外自适应遥控装置第二实施例的功能模块示意图;5 is a schematic diagram of functional modules of a second embodiment of an infrared adaptive remote control device according to the present invention;
图6为本发明红外自适应遥控装置第二实施例中通过波形特征数据预设遥控指令并进行遥控的功能模块示意图。FIG. 6 is a schematic diagram of a functional module for presetting a remote control command by using waveform feature data and performing remote control in the second embodiment of the infrared adaptive remote control device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种红外自适应遥控方法,参照图1,图1为本发明红外自适应遥控方法的第一实施例的流程示意图,所述红外自适应遥控方法包括步骤:The present invention provides an infrared adaptive remote control method. Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of an infrared adaptive remote control method according to the present invention. The infrared adaptive remote control method includes the following steps:
步骤S10,在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;Step S10, preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
其中所述红外传输协议包括遥控指令和红外传输信号编码数据的映射表。The infrared transmission protocol includes a mapping table of remote control instructions and infrared transmission signal encoded data.
现有的红外编码协议主要包括:ITT Protocol、JVC Protocol、NEC Protocol、Nokia NRC17 Protocol、Sharp Protocol、Sony SIRC Protocol、Philips RC-5 Protocol、Philips RC-6 Protocol、Philips RC-MM Protocol、Philips RECS-80 Protocol、RCA Protocol、X-Sat Protocol。The existing infrared coding protocols mainly include: ITT Protocol, JVC Protocol, NEC Protocol, Nokia NRC17 Protocol, Sharp Protocol, Sony SIRC Protocol, Philips RC-5 Protocol, Philips RC-6 Protocol, Philips RC-MM Protocol, Philips RECS-80 Protocol, RCA Protocol, X-Sat Protocol.
而当前应用最为广泛的为:NEC Protocol 的PWM(脉冲宽度调制)和Philips RC-5 Protocol的PPM(脉冲位置调制) 。The most widely used ones are: NEC Protocol's PWM (Pulse Width Modulation) and Philips RC-5. Protocol PPM (Pulse Position Modulation).
NEC传输协议在发送波形时,按键一次发送一帧数据(同步码、地址码、地址反码、控制码、控制反码),如果一帧数据发送完毕,按键仍然处于按下状态,则发射重复码,即连发码(9ms高电平+2.5ms低电平+0.56ms高电平组成+97.94ms低电平),直到按键松开为止。When the NEC transmission protocol sends a waveform, the button sends one frame of data at a time (synchronization code, address code, address inverse code, control code, control inverse code). If the data is sent after the completion of one frame, the button is still pressed, and the transmission is repeated. The code, that is, the serial transmission code (9ms high level +2.5ms low level +0.56ms high level composition +97.94ms low level) until the button is released.
RC-5传输协议在发送波形时,按键一次发送一帧数据(起始位、控制码、地址码、控制码),如果一帧数据发送完毕,按键仍然处于按下状态,则重复发送一帧数据,直到按键松开为止。When transmitting the waveform, the RC-5 transmission protocol sends one frame of data (starting bit, control code, address code, control code) once. If the data is sent after the completion of one frame, the button is still pressed, and then one frame is repeatedly sent. Data until the button is released.
步骤S20,接收遥控器发送的第一红外脉冲信号,对接收到的遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;Step S20, receiving a first infrared pulse signal sent by the remote controller, and parsing the first infrared pulse signal sent by the received remote controller to obtain encoded data of the first infrared pulse signal;
步骤S30,根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;Step S30, confirming, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
在本实例中,以在电视端使用所述红外自适应遥控方法为例,可在电视的系统提供两种遥控模式,一种为标配模式,根据遥控器发出的第一红外脉冲信号的解析及编码中,得出所述第一红外脉冲信号是否为非标配遥控器发出,若结果是标配模式,则执行系统遥控的标配模式,电视对接收到的标配遥控器发射的红外脉冲信号进行标配解调处理,并执行相应的遥控指令。另一种为自适应遥控模式,解调接收到的遥控器发出的红外脉冲信号,得到所述红外脉冲信号的的编码数据,与预设命令的映射表进行匹配映射,找到并执行所述红外脉冲信号对应的预设遥控指令。In this example, taking the infrared adaptive remote control method on the television end as an example, two remote control modes can be provided in the television system, one is a standard mode, and the first infrared pulse signal is sent according to the remote controller. And encoding, determining whether the first infrared pulse signal is sent by a non-standard remote controller, and if the result is a standard mode, performing a standard mode of the system remote control, and the television transmits the infrared emitted by the standard remote controller. The pulse signal is subjected to standard demodulation processing and a corresponding remote command is executed. The other is an adaptive remote control mode, which demodulates the received infrared pulse signal from the remote controller, obtains the encoded data of the infrared pulse signal, performs matching mapping with the mapping table of the preset command, finds and executes the infrared signal. The preset remote command corresponding to the pulse signal.
在本实施例中,在自适应模式时,对接收到的非标配的遥控器发送的红外脉冲信号进行调制解调,分析出所述红外脉冲信号的编码数据,进而根据所述编码数据确定所述电视是否预设有该红外脉冲信号使用的红外传输协议。In this embodiment, in the adaptive mode, the received infrared pulse signal sent by the non-standard remote controller is modulated and demodulated, and the encoded data of the infrared pulse signal is analyzed, and then determined according to the encoded data. Whether the television is pre-set with an infrared transmission protocol used by the infrared pulse signal.
在本实施例中,所述电视存储有多种常规的红外传输协议,如:ITT Protocol、JVC Protocol、NEC Protocol、Nokia NRC17 Protocol、Sharp Protocol、Sony SIRC Protocol、Philips RC-5 Protocol、Philips RC-6 Protocol、Philips RC-MM Protocol、Philips RECS-80 Protocol、RCA Protocol、X-Sat Protocol等等。In this embodiment, the television stores various conventional infrared transmission protocols, such as: ITT Protocol, JVC. Protocol, NEC Protocol, Nokia NRC17 Protocol, Sharp Protocol, Sony SIRC Protocol, Philips RC-5 Protocol, Philips RC-6 Protocol, Philips RC-MM Protocol, Philips RECS-80 Protocol, RCA Protocol, X-Sat Protocol, etc.
步骤S40,在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令。Step S40, when it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, performing the first Remote control command corresponding to the infrared pulse signal.
在本实施例中,在确认所述电视预存有所述红外脉冲信号时,通过所述红外脉冲信号的编码数据,查找与所述红外脉冲信号关联的遥控指令,进而执行所述遥控指令,如:菜单、音量加和音量减。In this embodiment, when it is confirmed that the television pre-stores the infrared pulse signal, searching for a remote control instruction associated with the infrared pulse signal by using the encoded data of the infrared pulse signal, and then executing the remote control instruction, such as : Menu, volume plus volume minus.
本实施例提出的红外自适应遥控方法,在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议,可以对非标配遥控器发出的使用了预设的常规红外传输协议的红外脉冲信号进行响应,用户可以在电视的标配遥控器无法使用时,采用非标配的遥控器进行临时替代遥控,方便用户的使用。The infrared adaptive remote control method proposed in this embodiment presets a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller, and can use a preset routine for the non-standard remote controller. The infrared pulse signal of the infrared transmission protocol responds, and the user can use the non-standard remote controller to temporarily replace the remote control when the standard remote controller of the television is not available, which is convenient for the user to use.
进一步地,基于本发明红外自适应遥控方法的第一实施例,提出本发明红外自适应遥控方法的第二实施例,参照图2,所述步骤S10之前还包括步骤:Further, based on the first embodiment of the infrared adaptive remote control method of the present invention, a second embodiment of the infrared adaptive remote control method of the present invention is proposed. Referring to FIG. 2, the step S10 further includes the following steps:
步骤S50,接收选定的遥控指令;Step S50, receiving the selected remote control instruction;
在本实施例中,可在电视显示遥控器虚拟界面,提供可以进行选择自适应的遥控指令,如菜单、音量加、音量减等遥控指令,在接收到用户选定的预设遥控指令后,可在所述电视的屏幕弹出提示框,提醒用户按下遥控器的按键,方便电视接收所述非标配遥控器发出的所述按键对应的第二红外脉冲信号。In this embodiment, a remote control virtual interface can be displayed on the television display, and a remote control command capable of selecting and adapting, such as a menu, a volume plus, a volume reduction, and the like, can be provided, after receiving the preset remote control command selected by the user, A prompt box may be displayed on the screen of the television to remind the user to press a button of the remote controller to facilitate the television to receive the second infrared pulse signal corresponding to the button issued by the non-standard remote controller.
步骤S60,在接收到所述预设遥控指令时,接收第二红外脉冲信号,在接收到所述第二红外脉冲信号时,接收第三红外脉冲信号;Step S60, receiving the second remote pulse signal when receiving the preset remote control command, and receiving the third infrared pulse signal when receiving the second infrared pulse signal;
在本实施例中,在接收到第二红外脉冲信号之后,可在所述电视的显示屏幕弹出提示框,提醒用户再次按下相同的按键,方便电视接收所述非标配遥控器发出的所述按键对应的第三红外脉冲信号。In this embodiment, after receiving the second infrared pulse signal, a prompt box may be popped up on the display screen of the television to remind the user to press the same button again, so that the television can receive the location of the non-standard remote controller. The third infrared pulse signal corresponding to the button.
步骤S70,确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致;Step S70, confirming whether the received third infrared pulse signal is consistent with the second infrared pulse signal;
在本实施例中,在信号接收端接收到所述第二红外脉冲信号和所述第三红外脉冲信号时,将所述第二红外脉冲信号和所述第三红外脉冲信号进行解调,获取所述第二和第三红外脉冲信号的波形特征数据数据,将二者的波形特征数据进行对比,确认二者的波形特征数据是否一致。In this embodiment, when the second infrared pulse signal and the third infrared pulse signal are received by the signal receiving end, the second infrared pulse signal and the third infrared pulse signal are demodulated and acquired. The waveform characteristic data data of the second and third infrared pulse signals compares the waveform characteristic data of the two, and confirms whether the waveform characteristic data of the two are consistent.
所述步骤S70包括:解析所述第二红外脉冲信号,得到所述第二红外脉冲信号的波形特征数据;解析所述第三红外脉冲信号,得到所述第三红外脉冲信号的波形特征数据;对比确认所述第二红外脉冲信号的波形特征数据和所述第三红外脉冲信号的波形特征数据是否一致。The step S70 includes: analyzing the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal; analyzing the third infrared pulse signal to obtain waveform characteristic data of the third infrared pulse signal; The comparison confirms whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
步骤S80,在所述第三红外脉冲信号与所述第二红外脉冲信号一致时,将所述一致的红外脉冲信号作为预设信号和所述预设遥控指令关联记录。Step S80, when the third infrared pulse signal is consistent with the second infrared pulse signal, the consistent infrared pulse signal is recorded as a preset signal and the preset remote control instruction.
在本实施例中,当所述第三红外脉冲信号与所述第二红外脉冲信号的波形特征数据对比结果一致时,认为所述第三红外脉冲信号与所述第二红外脉冲信号一致In this embodiment, when the third infrared pulse signal is consistent with the waveform characteristic data of the second infrared pulse signal, the third infrared pulse signal is considered to be consistent with the second infrared pulse signal.
进一步地,参照图3,所述步骤S30之后还包括:Further, referring to FIG. 3, after the step S30, the method further includes:
步骤S90,在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;Step S90, when the first infrared pulse signal is sent by the non-standard remote controller, confirm whether the first infrared pulse signal has been recorded;
所述步骤S90包括:根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;根据所述波形特征数据确认是否已记录所述第一红外脉冲信号。The step S90 includes: calculating waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal; and confirming whether the first infrared pulse signal has been recorded according to the waveform characteristic data.
在本实施例中,用户可以使用非标配遥控器通过学习,在所述电视建立控制指令与红外脉冲信号的映射关系,用户再次使用所述非标配遥控器时,就可以通过相应的按键进行预设的遥控操作。In this embodiment, the user can use the non-standard remote controller to learn the mapping relationship between the control command and the infrared pulse signal in the television. When the user uses the non-standard remote controller again, the user can pass the corresponding button. Perform preset remote operation.
红外遥控是以调制的方式发射数据,就是把数据和一定频率的载波进行“与”操作,这样既可以提高发射效率又可以降低电源功耗。 调制载波频率一般在30khz到60khz之间,大多数使用的是38kHz,占空比1/3的方波。The infrared remote control transmits data in a modulated manner, that is, the data is "ANDed" with a carrier of a certain frequency, which can improve the transmission efficiency and reduce the power consumption of the power supply. The modulation carrier frequency is generally between 30khz and 60khz, and most use a 38kHz, square wave with a duty cycle of 1/3.
红外接收电路通常被厂家集成在一个元件中,成为一体化红外接收头。内部电路包括红外监测二极管,放大器,限幅器,带通滤波器,积分电路,比较器等。红外监测二极管监测到红外信号,然后把信号送到放大器和限幅器,限幅器把脉冲幅度控制在一定的水平,而不论红外发射器和接收器的距离远近。交流信号进入带通滤波器,带通滤波器可以通过30khz到60khz的负载波,通过解调电路和积分电路进入比较器,比较器输出高低电平,还原出发射端的信号波形。The infrared receiving circuit is usually integrated into one component by the manufacturer to become an integrated infrared receiving head. Internal circuits include infrared monitoring diodes, amplifiers, limiters, bandpass filters, integrating circuits, comparators, and more. The infrared monitoring diode monitors the infrared signal and then sends the signal to the amplifier and limiter. The limiter controls the pulse amplitude to a certain level regardless of the distance between the infrared transmitter and the receiver. The AC signal enters the bandpass filter. The bandpass filter can pass the load wave from 30khz to 60khz, enter the comparator through the demodulation circuit and the integration circuit, and the comparator outputs high and low levels to restore the signal waveform of the transmitter.
步骤S100,在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。Step S100: When it is confirmed that the first infrared pulse signal has been recorded, the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
在本实施例中,所述电视可以解析接收到的非标配遥控器发送的红外脉冲信号,得到所述红外脉冲信号的波形特征数据,根据所述波形特征数据匹配预存的遥控指令。In this embodiment, the television may parse the received infrared pulse signal sent by the non-standard remote controller to obtain waveform characteristic data of the infrared pulse signal, and match the pre-stored remote control instruction according to the waveform characteristic data.
本实施例提出的红外自适应遥控方法,可以学习记录非标配遥控器发出的红外脉冲信号,并关联设置遥控指令,用户在无法使用标配遥控器对电视进行遥控时,可以使用非标配遥控器与电视的遥控指令进行关联,进而方便用户使用非标配遥控器遥控电视。The infrared adaptive remote control method proposed in this embodiment can learn to record the infrared pulse signal emitted by the non-standard remote controller, and associate the remote control instruction, and the user can use the non-standard when the remote control cannot be used to remotely control the television. The remote control is associated with the remote command of the TV, which in turn allows the user to remotely control the TV using a non-standard remote control.
本发明进一步提供一种红外自适应遥控装置。The invention further provides an infrared adaptive remote control device.
参照图4,图4为本发明红外自适应遥控装置第一实施例的功能模块示意图。Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of a first embodiment of an infrared adaptive remote control device according to the present invention.
需要强调的是,对本领域的技术人员来说,图4所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图4所示的红外自适应遥控装置的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解红外自适应遥控装置的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。It should be emphasized that, for those skilled in the art, the functional block diagram shown in FIG. 4 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art will surround the functional modules of the infrared adaptive remote control device shown in FIG. 4. The function module can be easily supplemented by a new function module; the name of each function module is a custom name, which is only used to assist in understanding various program function blocks of the infrared adaptive remote control device, and is not used to limit the technical solution of the present invention. At the heart of it is the function that each functional module of the defined name has to achieve.
本实施例提出的红外自适应遥控装置,所述红外自适应遥控装置包括:The infrared adaptive remote control device provided in this embodiment, the infrared adaptive remote control device includes:
预设模块10,用于在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;The preset module 10 is configured to preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
其中所述红外传输协议包括遥控指令和红外传输信号编码数据的映射表。The infrared transmission protocol includes a mapping table of remote control instructions and infrared transmission signal encoded data.
现有的红外编码协议主要包括:ITT Protocol、JVC Protocol、NEC Protocol、Nokia NRC17 Protocol、Sharp Protocol、Sony SIRC Protocol、Philips RC-5 Protocol、Philips RC-6 Protocol、Philips RC-MM Protocol、Philips RECS-80 Protocol、RCA Protocol、X-Sat Protocol。The existing infrared coding protocols mainly include: ITT Protocol, JVC Protocol, NEC Protocol, Nokia NRC17 Protocol, Sharp Protocol, Sony SIRC Protocol, Philips RC-5 Protocol, Philips RC-6 Protocol, Philips RC-MM Protocol, Philips RECS-80 Protocol, RCA Protocol, X-Sat Protocol.
而当前应用最为广泛的为:NEC Protocol 的PWM(脉冲宽度调制)和Philips RC-5 Protocol的PPM(脉冲位置调制) 。The most widely used ones are: NEC Protocol's PWM (Pulse Width Modulation) and Philips RC-5. Protocol PPM (Pulse Position Modulation).
NEC传输协议在发送波形时,按键一次发送一帧数据(同步码、地址码、地址反码、控制码、控制反码),如果一帧数据发送完毕,按键仍然处于按下状态,则发射重复码,即连发码(9ms高电平+2.5ms低电平+0.56ms高电平组成+97.94ms低电平),直到按键松开为止。When the NEC transmission protocol sends a waveform, the button sends one frame of data at a time (synchronization code, address code, address inverse code, control code, control inverse code). If the data is sent after the completion of one frame, the button is still pressed, and the transmission is repeated. The code, that is, the serial transmission code (9ms high level +2.5ms low level +0.56ms high level composition +97.94ms low level) until the button is released.
RC-5传输协议在发送波形时,按键一次发送一帧数据(起始位、控制码、地址码、控制码),如果一帧数据发送完毕,按键仍然处于按下状态,则重复发送一帧数据,直到按键松开为止。When transmitting the waveform, the RC-5 transmission protocol sends one frame of data (starting bit, control code, address code, control code) once. If the data is sent after the completion of one frame, the button is still pressed, and then one frame is repeatedly sent. Data until the button is released.
处理模块20,用于接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;The processing module 20 is configured to receive a first infrared pulse signal sent by the remote controller, and parse the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
第一确认模块30,用于根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;The first confirmation module 30 is configured to confirm, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
在本实例中,以在电视端使用所述红外自适应遥控方法为例,可在电视的系统提供两种遥控模式,一种为标配模式,根据遥控器发出的第一红外脉冲信号的解析及编码中,得出所述第一红外脉冲信号是否为非标配遥控器发出,若结果是标配模式,则执行系统遥控的标配模式,电视对接收到的标配遥控器发射的红外脉冲信号进行标配解调处理,并执行相应的遥控指令。另一种为自适应遥控模式,解调接收到的遥控器发出的红外脉冲信号,得到所述红外脉冲信号的的编码数据,与预设命令的映射表进行匹配映射,找到并执行所述红外脉冲信号对应的预设遥控指令。In this example, taking the infrared adaptive remote control method on the television end as an example, two remote control modes can be provided in the television system, one is a standard mode, and the first infrared pulse signal is sent according to the remote controller. And encoding, determining whether the first infrared pulse signal is sent by a non-standard remote controller, and if the result is a standard mode, performing a standard mode of the system remote control, and the television transmits the infrared emitted by the standard remote controller. The pulse signal is subjected to standard demodulation processing and a corresponding remote command is executed. The other is an adaptive remote control mode, which demodulates the received infrared pulse signal from the remote controller, obtains the encoded data of the infrared pulse signal, performs matching mapping with the mapping table of the preset command, finds and executes the infrared signal. The preset remote command corresponding to the pulse signal.
在本实施例中,在自适应模式时,对接收到的非标配的遥控器发送的红外脉冲信号进行调制解调,分析出所述红外脉冲信号的编码数据,进而根据所述编码数据确定所述电视是否预设有该红外脉冲信号使用的红外传输协议。In this embodiment, in the adaptive mode, the received infrared pulse signal sent by the non-standard remote controller is modulated and demodulated, and the encoded data of the infrared pulse signal is analyzed, and then determined according to the encoded data. Whether the television is pre-set with an infrared transmission protocol used by the infrared pulse signal.
执行模块40,用于在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令。The executing module 40 is configured to execute, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, when the first infrared pulse signal is sent to the non-standard remote controller, The remote control command corresponding to the first infrared pulse signal is described.
在本实施例中,执行与所述第一红外脉冲信号对应的遥控指令具体参见本发明红外自适应遥控第一实施例。In this embodiment, the remote control instruction corresponding to the first infrared pulse signal is specifically referred to the first embodiment of the infrared adaptive remote control of the present invention.
本实施例提出的红外自适应遥控装置,在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议,可以对非标配遥控器发出的红外脉冲信号进行响应,用户可以在电视的标配遥控器无法使用时,采用非标配的遥控器进行临时替代遥控,方便用户的使用。The infrared adaptive remote control device proposed in this embodiment presets a plurality of different conventional infrared transmission protocols when the infrared transmission protocol of the remote controller is preset, and can respond to the infrared pulse signal emitted by the non-standard remote controller. The user can use the non-standard remote control to temporarily replace the remote control when the standard remote control of the TV is not available, which is convenient for the user.
进一步地,基于本发明红外自适应遥控装置的第一实施例,提出本发明红外自适应遥控装置的第二实施例,参照图5,所述红外自适应遥控装置还包括:Further, based on the first embodiment of the infrared adaptive remote control device of the present invention, a second embodiment of the infrared adaptive remote control device of the present invention is provided. Referring to FIG. 5, the infrared adaptive remote control device further includes:
第一接收模块50,用于接收选定的预设遥控指令;The first receiving module 50 is configured to receive the selected preset remote control instruction;
在本实施例中,可在电视显示遥控器虚拟界面,提供可以进行选择自适应的遥控指令,如菜单、音量加、音量减等遥控指令,在接收到用户选定的预设遥控指令后,可在所述电视的屏幕弹出提示框,提醒用户按下非标配遥控器的按键,方便电视接收所述非标配遥控器发出的所述按键对应的第二红外脉冲信号。In this embodiment, a remote control virtual interface can be displayed on the television display, and a remote control command capable of selecting and adapting, such as a menu, a volume plus, a volume reduction, and the like, can be provided, after receiving the preset remote control command selected by the user, A prompt box may be displayed on the screen of the television to remind the user to press a button of the non-standard remote controller to facilitate the television to receive the second infrared pulse signal corresponding to the button issued by the non-standard remote controller.
第二接收模块60,用于在接收到所述预设遥控指令时,接收第二红外脉冲信号,在接收到所述第二红外脉冲信号时,接收第三红外脉冲信号;The second receiving module 60 is configured to receive a second infrared pulse signal when receiving the preset remote control command, and receive a third infrared pulse signal when receiving the second infrared pulse signal;
在本实施例中,在接收到第二红外脉冲信号之后,可在所述电视的显示屏幕弹出提示框,提醒用户再次按下相同的按键,方便电视接收所述非标配遥控器发出的所述按键对应的第三红外脉冲信号。In this embodiment, after receiving the second infrared pulse signal, a prompt box may be popped up on the display screen of the television to remind the user to press the same button again, so that the television can receive the location of the non-standard remote controller. The third infrared pulse signal corresponding to the button.
第二确认模块70,用于确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致;a second confirmation module 70, configured to confirm whether the received third infrared pulse signal is consistent with the second infrared pulse signal;
确认第三红外脉冲信号与所述第二红外脉冲信号的波形特征数据是否一致具体参照红外自适应遥控方法第二实施例。It is confirmed whether the third infrared pulse signal and the waveform characteristic data of the second infrared pulse signal are consistent with reference to the second embodiment of the infrared adaptive remote control method.
所述第二确认模块70包括:第一解析单元,用于解析所述第二红外脉冲信号,得到所述第二红外脉冲信号的波形特征数据;第二解析单元,用于解析所述第三红外脉冲信号,得到所述第三红外脉冲信号的波形特征数据;对比单元,用于对比确认所述第二红外脉冲信号的波形特征数据和所述第三红外脉冲信号的波形特征数据是否一致。The second verification module 70 includes: a first parsing unit, configured to parse the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal; and a second parsing unit, configured to parse the third The infrared pulse signal is used to obtain waveform characteristic data of the third infrared pulse signal; and the comparing unit is configured to compare whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
记录模块80,用于在所述第三红外脉冲信号与所述第二红外脉冲信号一致时,将所述一致的红外脉冲信号作为预设信号和所述预设遥控指令关联记录。The recording module 80 is configured to record the consistent infrared pulse signal as a preset signal and the preset remote control command when the third infrared pulse signal is consistent with the second infrared pulse signal.
进一步地,参照图6,所述红外自适应遥控装置还包括:Further, referring to FIG. 6, the infrared adaptive remote control device further includes:
第三确认模块90,用于在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;a third confirmation module 90, configured to confirm whether the first infrared pulse signal has been recorded when the first infrared pulse signal is sent by a non-standard remote controller;
所述第三确认模块90包括:计算单元,用于根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;确认单元,用于根据所述波形特征数据确认是否已记录所述第一红外脉冲信号。The third confirmation module 90 includes: a calculation unit, configured to calculate waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal; and a confirming unit, configured to use the waveform characteristic data according to the waveform It is confirmed whether the first infrared pulse signal has been recorded.
在本实施中,用户可以使用非标配遥控器通过学习,在所述电视建立控制指令与红外脉冲信号的映射关系,用户再次使用所述非标配遥控器时,就可以通过相应的按键进行预设的遥控操作。红外遥控是以调制的方式发射数据,就是把数据和一定频率的载波进行“与”操作,这样既可以提高发射效率又可以降低电源功耗。 调制载波频率一般在30khz到60khz之间,大多数使用的是38kHz,占空比1/3的方波。In this implementation, the user can use the non-standard remote controller to learn the mapping relationship between the control command and the infrared pulse signal in the television. When the user uses the non-standard remote controller again, the user can perform the corresponding button. Preset remote operation. The infrared remote control transmits data in a modulated manner, that is, the data is "ANDed" with a carrier of a certain frequency, which can improve the transmission efficiency and reduce the power consumption of the power supply. The modulation carrier frequency is generally between 30khz and 60khz, and most use a 38kHz, square wave with a duty cycle of 1/3.
红外接收电路通常被厂家集成在一个元件中,成为一体化红外接收头。内部电路包括红外监测二极管,放大器,限幅器,带通滤波器,积分电路,比较器等。红外监测二极管监测到红外信号,然后把信号送到放大器和限幅器,限幅器把脉冲幅度控制在一定的水平,而不论红外发射器和接收器的距离远近。交流信号进入带通滤波器,带通滤波器可以通过30khz到60khz的负载波,通过解调电路和积分电路进入比较器,比较器输出高低电平,还原出发射端的信号波形。The infrared receiving circuit is usually integrated into one component by the manufacturer to become an integrated infrared receiving head. Internal circuits include infrared monitoring diodes, amplifiers, limiters, bandpass filters, integrating circuits, comparators, and more. The infrared monitoring diode monitors the infrared signal and then sends the signal to the amplifier and limiter. The limiter controls the pulse amplitude to a certain level regardless of the distance between the infrared transmitter and the receiver. The AC signal enters the bandpass filter. The bandpass filter can pass the load wave from 30khz to 60khz, enter the comparator through the demodulation circuit and the integration circuit, and the comparator outputs high and low levels to restore the signal waveform of the transmitter.
所述执行模块40还用于在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。The execution module 40 is further configured to: when confirming that the first infrared pulse signal has been recorded, executing a remote control instruction corresponding to the first infrared pulse signal according to the preset signal of the associated record and the preset remote control instruction .
在本实施例中,所述电视可以解析接收到的非标配遥控器发送的红外脉冲信号,得到所述红外脉冲信号的波形特征数据,根据所述波形特征数据匹配预存的遥控指令。In this embodiment, the television may parse the received infrared pulse signal sent by the non-standard remote controller to obtain waveform characteristic data of the infrared pulse signal, and match the pre-stored remote control instruction according to the waveform characteristic data.
本实施例提出的红外自适应遥控装置,可以学习记录非标配遥控器发出的红外脉冲信号,并关联设置遥控指令,用户在无法使用标配遥控器对电视进行遥控时,可以使用非标配遥控器与电视的遥控指令进行关联,进而方便用户使用非标配遥控器遥控电视。The infrared adaptive remote control device proposed in this embodiment can learn to record the infrared pulse signal emitted by the non-standard remote controller, and associate the remote control command, and the user can use the non-standard when the remote control cannot be used to remotely control the television. The remote control is associated with the remote command of the TV, which in turn allows the user to remotely control the TV using a non-standard remote control.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种红外自适应遥控方法,其特征在于,所述红外自适应遥控方法包括步骤:An infrared adaptive remote control method, characterized in that the infrared adaptive remote control method comprises the steps of:
    在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;When a preset infrared transmission protocol of the remote controller is preset, a plurality of different conventional infrared transmission protocols are preset;
    接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;Receiving a first infrared pulse signal sent by the remote controller, and parsing the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
    根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;Determining, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
    在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令,其中,When it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, performing the first infrared pulse signal according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols. Corresponding remote command, wherein
    在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;When the first infrared pulse signal is sent by the non-standard remote controller, confirm whether the first infrared pulse signal has been recorded;
    在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。When it is confirmed that the first infrared pulse signal has been recorded, the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
  2. 如权利要求1所述的红外自适应遥控方法,其特征在于,所述确认所述第一红外脉冲信号是否已记录的步骤包括:The infrared adaptive remote control method according to claim 1, wherein the step of confirming whether the first infrared pulse signal has been recorded comprises:
    根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;Calculating waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal;
    根据所述波形特征数据确认所述第一红外脉冲信号是否已记录。Whether the first infrared pulse signal has been recorded is confirmed based on the waveform characteristic data.
  3. 如权利要求1所述的红外自适应遥控方法,其特征在于,所述红外自适应遥控方法还包括步骤:The infrared adaptive remote control method according to claim 1, wherein the infrared adaptive remote control method further comprises the steps of:
    接收选定的预设遥控指令;Receiving the selected preset remote command;
    在接收到所述预设遥控指令时,接收第二红外脉冲信号,在接收到所述第二红外脉冲信号时,接收第三红外脉冲信号;Receiving the preset remote control command, receiving a second infrared pulse signal, and receiving the third infrared pulse signal when receiving the second infrared pulse signal;
    确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致;Confirming whether the received third infrared pulse signal is consistent with the second infrared pulse signal;
    在所述第三红外脉冲信号与所述第二红外脉冲信号一致时,将所述一致的红外脉冲信号作为预设信号和所述预设遥控指令关联记录。And when the third infrared pulse signal is consistent with the second infrared pulse signal, the consistent infrared pulse signal is recorded as a preset signal and the preset remote control instruction.
  4. 如权利要求3所述的红外自适应遥控方法,其特征在于,所述确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致的步骤包括:The infrared adaptive remote control method according to claim 3, wherein the step of confirming whether the received third infrared pulse signal is consistent with the second infrared pulse signal comprises:
    解析所述第二红外脉冲信号,得到所述第二红外脉冲信号的波形特征数据;Parsing the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal;
    解析所述第三红外脉冲信号,得到所述第三红外脉冲信号的波形特征数据;Parsing the third infrared pulse signal to obtain waveform characteristic data of the third infrared pulse signal;
    对比确认所述第二红外脉冲信号的波形特征数据和所述第三红外脉冲信号的波形特征数据是否一致。The comparison confirms whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
  5. 如权利要求1所述的红外自适应遥控方法,其特征在于,所述根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出的步骤之后,所述红外自适应遥控方法还包括:The infrared adaptive remote control method according to claim 1, wherein the step of confirming whether the first infrared pulse signal is a non-standard remote controller according to the encoded data of the first infrared pulse is The infrared adaptive remote control method further includes:
    在确认所述第一红外脉冲信号为标配遥控器发出时,对接收到的标配遥控器发射的红外脉冲信号进行标配解调处理,并执行相应的遥控指令。When it is confirmed that the first infrared pulse signal is issued by the standard remote controller, the received infrared pulse signal transmitted by the standard remote controller is subjected to standard demodulation processing, and the corresponding remote control instruction is executed.
  6. 一种红外自适应遥控方法,其特征在于,所述红外自适应遥控方法包括步骤:An infrared adaptive remote control method, characterized in that the infrared adaptive remote control method comprises the steps of:
    在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;When a preset infrared transmission protocol of the remote controller is preset, a plurality of different conventional infrared transmission protocols are preset;
    接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;Receiving a first infrared pulse signal sent by the remote controller, and parsing the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
    根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;Determining, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
    在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令。When it is confirmed that the first infrared pulse signal is sent by the non-standard remote controller, performing the first infrared pulse signal according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols. Corresponding remote command.
  7. 如权利要求6所述的红外自适应遥控方法,其特征在于,所述红外自适应遥控方法还包括步骤:The infrared adaptive remote control method according to claim 6, wherein the infrared adaptive remote control method further comprises the steps of:
    接收选定的预设遥控指令;Receiving the selected preset remote command;
    在接收到所述预设遥控指令时,接收第二红外脉冲信号,在接收到所述第二红外脉冲信号时,接收第三红外脉冲信号;Receiving the preset remote control command, receiving a second infrared pulse signal, and receiving the third infrared pulse signal when receiving the second infrared pulse signal;
    确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致;Confirming whether the received third infrared pulse signal is consistent with the second infrared pulse signal;
    在所述第三红外脉冲信号与所述第二红外脉冲信号一致时,将所述一致的红外脉冲信号作为预设信号和所述预设遥控指令关联记录。And when the third infrared pulse signal is consistent with the second infrared pulse signal, the consistent infrared pulse signal is recorded as a preset signal and the preset remote control instruction.
  8. 如权利要求7所述的红外自适应遥控方法,其特征在于,所述根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出的步骤之后还包括步骤:The infrared adaptive remote control method according to claim 7, wherein the step of confirming whether the first infrared pulse signal is a non-standard remote controller according to the encoded data of the first infrared pulse further comprises step:
    在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;When the first infrared pulse signal is sent by the non-standard remote controller, confirm whether the first infrared pulse signal has been recorded;
    在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。When it is confirmed that the first infrared pulse signal has been recorded, the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
  9. 如权利要求8所述的红外自适应遥控方法,其特征在于,所述确认所述第一红外脉冲信号是否已记录的步骤包括:The infrared adaptive remote control method according to claim 8, wherein the step of confirming whether the first infrared pulse signal has been recorded comprises:
    根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;Calculating waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal;
    根据所述波形特征数据确认所述第一红外脉冲信号是否已记录。Whether the first infrared pulse signal has been recorded is confirmed based on the waveform characteristic data.
  10. 如权利要求7所述的红外自适应遥控方法,其特征在于,所述确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致的步骤包括:The infrared adaptive remote control method according to claim 7, wherein the step of confirming whether the received third infrared pulse signal is consistent with the second infrared pulse signal comprises:
    解析所述第二红外脉冲信号,得到所述第二红外脉冲信号的波形特征数据;Parsing the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal;
    解析所述第三红外脉冲信号,得到所述第三红外脉冲信号的波形特征数据;Parsing the third infrared pulse signal to obtain waveform characteristic data of the third infrared pulse signal;
    对比确认所述第二红外脉冲信号的波形特征数据和所述第三红外脉冲信号的波形特征数据是否一致。The comparison confirms whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
  11. 如权利要求10所述的红外自适应遥控方法,其特征在于,所述根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出的步骤之后还包括步骤:The infrared adaptive remote control method according to claim 10, wherein the step of confirming whether the first infrared pulse signal is a non-standard remote controller according to the encoded data of the first infrared pulse further comprises step:
    在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;When the first infrared pulse signal is sent by the non-standard remote controller, confirm whether the first infrared pulse signal has been recorded;
    在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。When it is confirmed that the first infrared pulse signal has been recorded, the remote control instruction corresponding to the first infrared pulse signal is executed according to the preset signal of the associated record and the preset remote control instruction.
  12. 如权利要求11所述的红外自适应遥控方法,其特征在于,所述确认所述第一红外脉冲信号是否已记录的步骤包括:The infrared adaptive remote control method according to claim 11, wherein the step of confirming whether the first infrared pulse signal has been recorded comprises:
    根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;Calculating waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal;
    根据所述波形特征数据确认所述第一红外脉冲信号是否已记录。Whether the first infrared pulse signal has been recorded is confirmed based on the waveform characteristic data.
  13. 如权利要求6所述的红外自适应遥控方法,其特征在于,所述根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出的步骤之后,所述红外自适应遥控方法还包括:The infrared adaptive remote control method according to claim 6, wherein the step of confirming whether the first infrared pulse signal is a non-standard remote controller according to the encoded data of the first infrared pulse is The infrared adaptive remote control method further includes:
    在确认所述第一红外脉冲信号为标配遥控器发出时,对接收到的标配遥控器发射的红外脉冲信号进行标配解调处理,并执行相应的遥控指令。When it is confirmed that the first infrared pulse signal is issued by the standard remote controller, the received infrared pulse signal transmitted by the standard remote controller is subjected to standard demodulation processing, and the corresponding remote control instruction is executed.
  14. 一种红外自适应遥控装置,其特征在于,所述红外自适应遥控装置包括:An infrared adaptive remote control device, wherein the infrared adaptive remote control device comprises:
    预设模块,用于在预设标配遥控器的红外传输协议时,预设多种不同的常规红外传输协议;The preset module is configured to preset a plurality of different conventional infrared transmission protocols when preset the infrared transmission protocol of the remote controller;
    处理模块,用于接收遥控器发送的第一红外脉冲信号,对接收到遥控器发送的所述第一红外脉冲信号进行解析,得到所述第一红外脉冲信号的编码数据;a processing module, configured to receive a first infrared pulse signal sent by the remote controller, and parse the first infrared pulse signal sent by the remote controller to obtain encoded data of the first infrared pulse signal;
    第一确认模块,用于根据所述第一红外脉冲的编码数据确认所述第一红外脉冲信号是否为非标配遥控器发出;a first confirmation module, configured to confirm, according to the encoded data of the first infrared pulse, whether the first infrared pulse signal is sent by a non-standard remote controller;
    执行模块,用于在确认所述第一红外脉冲信号为非标配遥控器发出时,根据所述第一红外脉冲信号的编码数据及所述多种不同的常规红外传输协议,执行与所述第一红外脉冲信号对应的遥控指令。An execution module, configured to perform, according to the encoded data of the first infrared pulse signal and the plurality of different conventional infrared transmission protocols, when the first infrared pulse signal is sent as a non-standard remote controller The remote control command corresponding to the first infrared pulse signal.
  15. 如权利要求14所述的红外自适应遥控装置,其特征在于,所述红外自适应遥控装置还包括:The infrared adaptive remote control device of claim 14, wherein the infrared adaptive remote control device further comprises:
    第一接收模块,用于接收选定的预设遥控指令;a first receiving module, configured to receive the selected preset remote control instruction;
    第二接收模块,用于在接收到所述预设遥控指令时,接收第二红外脉冲信号,在接收到所述第二红外脉冲信号时,接收第三红外脉冲信号;a second receiving module, configured to receive a second infrared pulse signal when receiving the preset remote control command, and receive a third infrared pulse signal when receiving the second infrared pulse signal;
    第二确认模块,用于确认接收到的所述第三红外脉冲信号与所述第二红外脉冲信号是否一致;a second confirmation module, configured to confirm whether the received third infrared pulse signal is consistent with the second infrared pulse signal;
    记录模块,用于在所述第三红外脉冲信号与所述第二红外脉冲信号一致时,将所述一致的红外脉冲信号作为预设信号和所述预设遥控指令关联记录。a recording module, configured to record the consistent infrared pulse signal as a preset signal and the preset remote control instruction when the third infrared pulse signal is consistent with the second infrared pulse signal.
  16. 如权利要求15所述的红外自适应遥控装置,其特征在于,所述红外自适应遥控装置还包括:The infrared adaptive remote control device according to claim 15, wherein the infrared adaptive remote control device further comprises:
    第三确认模块,用于在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;a third confirmation module, configured to confirm whether the first infrared pulse signal has been recorded when the first infrared pulse signal is sent by a non-standard remote controller;
    所述执行模块还用于在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。The execution module is further configured to: when confirming that the first infrared pulse signal has been recorded, execute a remote control instruction corresponding to the first infrared pulse signal according to the preset signal of the associated record and the preset remote control instruction.
  17. 如权利要求16所述的红外自适应遥控装置,其特征在于,所述第三确认模块包括:The infrared adaptive remote control device according to claim 16, wherein the third confirmation module comprises:
    计算单元,用于根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;a calculating unit, configured to calculate waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal;
    确认单元,用于根据所述波形特征数据确认是否已记录所述第一红外脉冲信号。And a confirming unit, configured to confirm, according to the waveform characteristic data, whether the first infrared pulse signal has been recorded.
  18. 如权利要求15所述的红外自适应遥控方法,其特征在于,所述第二确认模块包括:The infrared adaptive remote control method according to claim 15, wherein the second confirmation module comprises:
    第一解析单元,用于解析所述第二红外脉冲信号,得到所述第二红外脉冲信号的波形特征数据;a first parsing unit, configured to parse the second infrared pulse signal to obtain waveform characteristic data of the second infrared pulse signal;
    第二解析单元,用于解析所述第三红外脉冲信号,得到所述第三红外脉冲信号的波形特征数据;a second parsing unit, configured to parse the third infrared pulse signal to obtain waveform characteristic data of the third infrared pulse signal;
    对比单元,用于对比确认所述第二红外脉冲信号的波形特征数据和所述第三红外脉冲信号的波形特征数据是否一致。And a comparison unit, configured to compare whether the waveform characteristic data of the second infrared pulse signal and the waveform characteristic data of the third infrared pulse signal are consistent.
  19. 如权利要求18所述的红外自适应遥控装置,其特征在于,所述红外自适应遥控装置还包括:The infrared adaptive remote control device of claim 18, wherein the infrared adaptive remote control device further comprises:
    第三确认模块,用于在所述第一红外脉冲信号为非标配遥控器发出时,确认所述第一红外脉冲信号是否已记录;a third confirmation module, configured to confirm whether the first infrared pulse signal has been recorded when the first infrared pulse signal is sent by a non-standard remote controller;
    所述执行模块还用于在确认已记录所述第一红外脉冲信号时,根据关联记录的所述预设信号和所述预设遥控指令执行与所述第一红外脉冲信号对应的遥控指令。The execution module is further configured to: when confirming that the first infrared pulse signal has been recorded, execute a remote control instruction corresponding to the first infrared pulse signal according to the preset signal of the associated record and the preset remote control instruction.
  20. 如权利要求19所述的红外自适应遥控装置,其特征在于,所述第三确认模块包括:The infrared adaptive remote control device according to claim 19, wherein the third confirmation module comprises:
    计算单元,用于根据所述第一红外脉冲信号的编码数据,计算所述第一红外脉冲信号的波形特征数据;a calculating unit, configured to calculate waveform characteristic data of the first infrared pulse signal according to the encoded data of the first infrared pulse signal;
    确认单元,用于根据所述波形特征数据确认是否已记录所述第一红外脉冲信号。And a confirming unit, configured to confirm, according to the waveform characteristic data, whether the first infrared pulse signal has been recorded.
PCT/CN2016/084507 2016-03-18 2016-06-02 Infrared adaptive remote control method and apparatus WO2017156887A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610156244.8 2016-03-18
CN201610156244.8A CN105812875A (en) 2016-03-18 2016-03-18 Infrared self-adaptive remote control method and device

Publications (1)

Publication Number Publication Date
WO2017156887A1 true WO2017156887A1 (en) 2017-09-21

Family

ID=56453342

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084507 WO2017156887A1 (en) 2016-03-18 2016-06-02 Infrared adaptive remote control method and apparatus

Country Status (2)

Country Link
CN (1) CN105812875A (en)
WO (1) WO2017156887A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757157A (en) * 2020-06-30 2020-10-09 深圳Tcl新技术有限公司 Infrared code processing method, television and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106228796B (en) * 2016-08-30 2019-07-05 深圳市友连电子科技有限公司 The learning method and device of infrared remote control
CN108230661A (en) * 2018-02-09 2018-06-29 广州视源电子科技股份有限公司 Infrared remote control system, method, infrared electronic white board and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040008287A1 (en) * 2002-07-10 2004-01-15 Shane Johnston Combination handheld remote control unit and television receiver-transmitter
CN101799972A (en) * 2010-04-16 2010-08-11 四川长虹电器股份有限公司 Multi-remote-controller input-driven adaptation device and method
CN102256075A (en) * 2011-07-12 2011-11-23 冠捷显示科技(厦门)有限公司 Television capable of learning and recognizing remote controllers and control method
CN103632530A (en) * 2013-12-03 2014-03-12 乐视致新电子科技(天津)有限公司 Method and device for realizing simultaneous support of various models of infrared remote controllers
CN103686288A (en) * 2013-12-20 2014-03-26 海信集团有限公司 Television, television and infrared device control signal conversion method and television system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI389064B (en) * 2008-12-09 2013-03-11 Mstar Semiconductor Inc A decoding method and apparatus for infrared remote control commands
CN203118211U (en) * 2013-01-18 2013-08-07 张爱花 Infrared control module
CN104714421A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Remote infrared household control method, server and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040008287A1 (en) * 2002-07-10 2004-01-15 Shane Johnston Combination handheld remote control unit and television receiver-transmitter
CN101799972A (en) * 2010-04-16 2010-08-11 四川长虹电器股份有限公司 Multi-remote-controller input-driven adaptation device and method
CN102256075A (en) * 2011-07-12 2011-11-23 冠捷显示科技(厦门)有限公司 Television capable of learning and recognizing remote controllers and control method
CN103632530A (en) * 2013-12-03 2014-03-12 乐视致新电子科技(天津)有限公司 Method and device for realizing simultaneous support of various models of infrared remote controllers
CN103686288A (en) * 2013-12-20 2014-03-26 海信集团有限公司 Television, television and infrared device control signal conversion method and television system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111757157A (en) * 2020-06-30 2020-10-09 深圳Tcl新技术有限公司 Infrared code processing method, television and system

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2013185508A1 (en) Method and wireless communication device for implementing wireless headset feature of television
WO2018068411A1 (en) Remote debugging method for smart television and remote debugging system for smart television
WO2017128877A1 (en) Method and device for monitoring vehicle operation status
WO2017156887A1 (en) Infrared adaptive remote control method and apparatus
WO2017092268A1 (en) Terminal failure processing method, device and system
WO2018076561A1 (en) Method and device for data processing
WO2018032681A1 (en) Bluetooth pairing method and bluetooth device
WO2017028613A1 (en) Terminal control method and apparatus based on remote controller app
WO2017084301A1 (en) Audio data playing method and apparatus, and smart television
WO2017036203A1 (en) Play control method for media application, remote control device and television system
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2015018185A1 (en) Method and device for realizing distributed remote control, and television terminal and mobile terminal thereof
WO2016058258A1 (en) Terminal remote control method and system
WO2019051897A1 (en) Terminal operating parameter adjustment method and device, and computer readable storage medium
WO2018053963A1 (en) Method and apparatus for upgrading system of smart television
WO2017000729A1 (en) Audio/video playing control method and device
WO2019114255A1 (en) Voice acquisition method, remote control and computer readable storage medium
WO2018024012A1 (en) Remote controller, and projection method
WO2017041546A1 (en) Television bluetooth connection method and apparatus
WO2017088428A1 (en) Sound wave-based remote control method and system
WO2018205534A1 (en) Method for controlling somatosensory remote controller, smart terminal, and computer readable storage medium
WO2016206223A1 (en) Screenshooting method and system
WO2017024870A1 (en) Method and apparatus for waking up standby tv
WO2016058471A1 (en) Display device and method for implementing new-connection notification function for mhl signal source
WO2017088429A1 (en) Method and system for controlling touchscreen application program in display terminal by mobile terminal

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16894049

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31.01.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16894049

Country of ref document: EP

Kind code of ref document: A1